~ubuntu-branches/ubuntu/precise/judy/precise

« back to all changes in this revision

Viewing changes to autom4te.cache/output.1

  • Committer: Bazaar Package Importer
  • Author(s): Troy Heber
  • Date: 2007-05-21 15:07:50 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070521150750-khuc7e3iblyvi0a9
Tags: 1.0.5-1
* Fixed alignment issue, (Closes: #401124)
* Update packaging, policy, debhelper, etc.
* Removed old BIT cruft from rules
* Upstream has propper distclean target (Closes: #424425)

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 Judy 1.0.0.
 
3
@%:@ Generated by GNU Autoconf 2.61 for Judy 1.0.5.
4
4
@%:@
5
 
@%:@ Report bugs to <doug@sourcejudy.com>.
 
5
@%:@ Report bugs to <dougbaskins@yahoo.com>.
6
6
@%:@ 
7
 
@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
 
7
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
9
@%:@ This configure script is free software; the Free Software Foundation
9
10
@%:@ gives unlimited permission to copy, distribute and modify it.
10
11
## --------------------- ##
11
12
## M4sh Initialization.  ##
12
13
## --------------------- ##
13
14
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
 
15
# Be more Bourne compatible
24
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
# The user is always right.
 
43
if test "${PATH_SEPARATOR+set}" != set; then
 
44
  echo "#! /bin/sh" >conf$$.sh
 
45
  echo  "exit 0"   >>conf$$.sh
 
46
  chmod +x conf$$.sh
 
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
48
    PATH_SEPARATOR=';'
 
49
  else
 
50
    PATH_SEPARATOR=:
 
51
  fi
 
52
  rm -f conf$$.sh
 
53
fi
25
54
 
26
55
# Support unset when possible.
27
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31
60
fi
32
61
 
33
62
 
 
63
# IFS
 
64
# We need space, tab and new line, in precisely that order.  Quoting is
 
65
# there to prevent editors from complaining about space-tab.
 
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
67
# splitting by setting IFS to empty value.)
 
68
as_nl='
 
69
'
 
70
IFS=" ""        $as_nl"
 
71
 
 
72
# Find who we are.  Look in the path if we contain no directory separator.
 
73
case $0 in
 
74
  *[\\/]* ) as_myself=$0 ;;
 
75
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
76
for as_dir in $PATH
 
77
do
 
78
  IFS=$as_save_IFS
 
79
  test -z "$as_dir" && as_dir=.
 
80
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
81
done
 
82
IFS=$as_save_IFS
 
83
 
 
84
     ;;
 
85
esac
 
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
87
# in which case we are not to be found in the path.
 
88
if test "x$as_myself" = x; then
 
89
  as_myself=$0
 
90
fi
 
91
if test ! -f "$as_myself"; then
 
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
93
  { (exit 1); exit 1; }
 
94
fi
 
95
 
34
96
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
97
for as_var in ENV MAIL MAILPATH
 
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
99
done
36
100
PS1='$ '
37
101
PS2='> '
38
102
PS4='+ '
46
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
111
    eval $as_var=C; export $as_var
48
112
  else
49
 
    $as_unset $as_var
 
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
114
  fi
51
115
done
52
116
 
53
117
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
119
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
120
  as_expr=expr
56
121
else
57
122
  as_expr=false
58
123
fi
59
124
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
126
  as_basename=basename
62
127
else
63
128
  as_basename=false
65
130
 
66
131
 
67
132
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
133
as_me=`$as_basename -- "$0" ||
69
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
135
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
136
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
137
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\/\)$/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          /^X\/\(\/\).*/{
 
147
            s//\1/
 
148
            q
 
149
          }
 
150
          s/.*/./; q'`
 
151
 
 
152
# CDPATH.
 
153
$as_unset CDPATH
 
154
 
 
155
 
 
156
if test "x$CONFIG_SHELL" = x; then
 
157
  if (eval ":") 2>/dev/null; then
 
158
  as_have_required=yes
 
159
else
 
160
  as_have_required=no
 
161
fi
 
162
 
 
163
  if test $as_have_required = yes &&     (eval ":
 
164
(as_func_return () {
 
165
  (exit \$1)
 
166
}
 
167
as_func_success () {
 
168
  as_func_return 0
 
169
}
 
170
as_func_failure () {
 
171
  as_func_return 1
 
172
}
 
173
as_func_ret_success () {
 
174
  return 0
 
175
}
 
176
as_func_ret_failure () {
 
177
  return 1
 
178
}
 
179
 
 
180
exitcode=0
 
181
if as_func_success; then
 
182
  :
 
183
else
 
184
  exitcode=1
 
185
  echo as_func_success failed.
 
186
fi
 
187
 
 
188
if as_func_failure; then
 
189
  exitcode=1
 
190
  echo as_func_failure succeeded.
 
191
fi
 
192
 
 
193
if as_func_ret_success; then
 
194
  :
 
195
else
 
196
  exitcode=1
 
197
  echo as_func_ret_success failed.
 
198
fi
 
199
 
 
200
if as_func_ret_failure; then
 
201
  exitcode=1
 
202
  echo as_func_ret_failure succeeded.
 
203
fi
 
204
 
 
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
206
  :
 
207
else
 
208
  exitcode=1
 
209
  echo positional parameters were not saved.
 
210
fi
 
211
 
 
212
test \$exitcode = 0) || { (exit 1); exit 1; }
 
213
 
 
214
(
 
215
  as_lineno_1=\$LINENO
 
216
  as_lineno_2=\$LINENO
 
217
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
218
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
219
") 2> /dev/null; then
 
220
  :
 
221
else
 
222
  as_candidate_shells=
132
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
225
do
135
226
  IFS=$as_save_IFS
136
227
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
228
  case $as_dir in
139
229
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
 
230
           for as_base in sh bash ksh sh5; do
 
231
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
232
           done;;
 
233
       esac
154
234
done
155
 
;;
156
 
  esac
 
235
IFS=$as_save_IFS
 
236
 
 
237
 
 
238
      for as_shell in $as_candidate_shells $SHELL; do
 
239
         # Try only shells that exist, to save several forks.
 
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
243
  emulate sh
 
244
  NULLCMD=:
 
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
246
  # is contrary to our usage.  Disable this feature.
 
247
  alias -g '${1+"$@"}'='"$@"'
 
248
  setopt NO_GLOB_SUBST
 
249
else
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
 
254
fi
 
255
 
 
256
 
 
257
:
 
258
_ASEOF
 
259
}; then
 
260
  CONFIG_SHELL=$as_shell
 
261
               as_have_required=yes
 
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
264
  emulate sh
 
265
  NULLCMD=:
 
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
267
  # is contrary to our usage.  Disable this feature.
 
268
  alias -g '${1+"$@"}'='"$@"'
 
269
  setopt NO_GLOB_SUBST
 
270
else
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
 
275
fi
 
276
 
 
277
 
 
278
:
 
279
(as_func_return () {
 
280
  (exit $1)
 
281
}
 
282
as_func_success () {
 
283
  as_func_return 0
 
284
}
 
285
as_func_failure () {
 
286
  as_func_return 1
 
287
}
 
288
as_func_ret_success () {
 
289
  return 0
 
290
}
 
291
as_func_ret_failure () {
 
292
  return 1
 
293
}
 
294
 
 
295
exitcode=0
 
296
if as_func_success; then
 
297
  :
 
298
else
 
299
  exitcode=1
 
300
  echo as_func_success failed.
 
301
fi
 
302
 
 
303
if as_func_failure; then
 
304
  exitcode=1
 
305
  echo as_func_failure succeeded.
 
306
fi
 
307
 
 
308
if as_func_ret_success; then
 
309
  :
 
310
else
 
311
  exitcode=1
 
312
  echo as_func_ret_success failed.
 
313
fi
 
314
 
 
315
if as_func_ret_failure; then
 
316
  exitcode=1
 
317
  echo as_func_ret_failure succeeded.
 
318
fi
 
319
 
 
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
321
  :
 
322
else
 
323
  exitcode=1
 
324
  echo positional parameters were not saved.
 
325
fi
 
326
 
 
327
test $exitcode = 0) || { (exit 1); exit 1; }
 
328
 
 
329
(
 
330
  as_lineno_1=$LINENO
 
331
  as_lineno_2=$LINENO
 
332
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
333
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
334
 
 
335
_ASEOF
 
336
}; then
 
337
  break
 
338
fi
 
339
 
 
340
fi
 
341
 
 
342
      done
 
343
 
 
344
      if test "x$CONFIG_SHELL" != x; then
 
345
  for as_var in BASH_ENV ENV
 
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
347
        done
 
348
        export CONFIG_SHELL
 
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
350
fi
 
351
 
 
352
 
 
353
    if test $as_have_required = no; then
 
354
  echo This script requires a shell more modern than all the
 
355
      echo shells that I found on your system.  Please install a
 
356
      echo modern shell, or manually run the script under such a
 
357
      echo shell if you do have one.
 
358
      { (exit 1); exit 1; }
 
359
fi
 
360
 
 
361
    
 
362
fi
 
363
 
 
364
fi
 
365
 
 
366
 
 
367
 
 
368
(eval "as_func_return () {
 
369
  (exit \$1)
 
370
}
 
371
as_func_success () {
 
372
  as_func_return 0
 
373
}
 
374
as_func_failure () {
 
375
  as_func_return 1
 
376
}
 
377
as_func_ret_success () {
 
378
  return 0
 
379
}
 
380
as_func_ret_failure () {
 
381
  return 1
 
382
}
 
383
 
 
384
exitcode=0
 
385
if as_func_success; then
 
386
  :
 
387
else
 
388
  exitcode=1
 
389
  echo as_func_success failed.
 
390
fi
 
391
 
 
392
if as_func_failure; then
 
393
  exitcode=1
 
394
  echo as_func_failure succeeded.
 
395
fi
 
396
 
 
397
if as_func_ret_success; then
 
398
  :
 
399
else
 
400
  exitcode=1
 
401
  echo as_func_ret_success failed.
 
402
fi
 
403
 
 
404
if as_func_ret_failure; then
 
405
  exitcode=1
 
406
  echo as_func_ret_failure succeeded.
 
407
fi
 
408
 
 
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
410
  :
 
411
else
 
412
  exitcode=1
 
413
  echo positional parameters were not saved.
 
414
fi
 
415
 
 
416
test \$exitcode = 0") || {
 
417
  echo No shell found that supports shell functions.
 
418
  echo Please tell autoconf@gnu.org about your system,
 
419
  echo including any error possibly output before this
 
420
  echo message
 
421
}
 
422
 
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO
 
426
  as_lineno_2=$LINENO
 
427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
428
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
429
 
158
430
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
431
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
432
  # line-number line after each line using $LINENO; the second 'sed'
 
433
  # does the real work.  The second script uses 'N' to pair each
 
434
  # line-number line with the line containing $LINENO, and appends
 
435
  # trailing '-' during substitution so that $LINENO is not a special
 
436
  # case at line end.
164
437
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
438
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
439
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
440
  sed -n '
 
441
    p
 
442
    /[$]LINENO/=
 
443
  ' <$as_myself |
167
444
    sed '
 
445
      s/[$]LINENO.*/&-/
 
446
      t lineno
 
447
      b
 
448
      :lineno
168
449
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
450
      :loop
 
451
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
452
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
453
      s/-\n.*//
175
454
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
455
  chmod +x "$as_me.lineno" ||
177
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
457
   { (exit 1); exit 1; }; }
179
458
 
180
459
  # Don't try to exec as it changes $[0], causing all sort of problems
181
460
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
461
  # original and so on.  Autoconf is especially sensitive to this).
 
462
  . "./$as_me.lineno"
184
463
  # Exit status is that of the last command.
185
464
  exit
186
465
}
187
466
 
188
467
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
469
  as_dirname=dirname
 
470
else
 
471
  as_dirname=false
 
472
fi
 
473
 
 
474
ECHO_C= ECHO_N= ECHO_T=
 
475
case `echo -n x` in
 
476
-n*)
 
477
  case `echo 'x\c'` in
 
478
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
479
  *)   ECHO_C='\c';;
 
480
  esac;;
 
481
*)
 
482
  ECHO_N='-n';;
194
483
esac
195
484
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
487
  as_expr=expr
198
488
else
199
489
  as_expr=false
200
490
fi
201
491
 
202
492
rm -f conf$$ conf$$.exe conf$$.file
 
493
if test -d conf$$.dir; then
 
494
  rm -f conf$$.dir/conf$$.file
 
495
else
 
496
  rm -f conf$$.dir
 
497
  mkdir conf$$.dir
 
498
fi
203
499
echo >conf$$.file
204
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
501
  as_ln_s='ln -s'
 
502
  # ... but there are two gotchas:
 
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
505
  # In both cases, we have to default to `cp -p'.
 
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
507
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
508
elif ln conf$$.file conf$$ 2>/dev/null; then
214
509
  as_ln_s=ln
215
510
else
216
511
  as_ln_s='cp -p'
217
512
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
514
rmdir conf$$.dir 2>/dev/null
219
515
 
220
516
if mkdir -p . 2>/dev/null; then
221
517
  as_mkdir_p=:
224
520
  as_mkdir_p=false
225
521
fi
226
522
 
227
 
as_executable_p="test -f"
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
 
525
else
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
 
543
fi
 
544
as_executable_p=$as_test_x
228
545
 
229
546
# Sed expression to map a string onto a valid CPP name.
230
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
551
 
235
552
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
245
553
 
246
554
 
247
555
# Check that we are running under the correct shell.
397
705
 
398
706
tagnames=${tagnames+${tagnames},}F77
399
707
 
 
708
exec 7<&0 </dev/null 6>&1
 
709
 
400
710
# Name of the host.
401
711
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402
712
# so uname gets run too.
403
713
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404
714
 
405
 
exec 6>&1
406
 
 
407
715
#
408
716
# Initializations.
409
717
#
410
718
ac_default_prefix=/usr/local
 
719
ac_clean_files=
411
720
ac_config_libobj_dir=.
 
721
LIB@&t@OBJS=
412
722
cross_compiling=no
413
723
subdirs=
414
724
MFLAGS=
415
725
MAKEFLAGS=
416
726
SHELL=${CONFIG_SHELL-/bin/sh}
417
727
 
418
 
# Maximum number of lines to put in a shell here document.
419
 
# This variable seems obsolete.  It should probably be removed, and
420
 
# only ac_max_sed_lines should be used.
421
 
: ${ac_max_here_lines=38}
422
 
 
423
728
# Identity of this package.
424
729
PACKAGE_NAME='Judy'
425
730
PACKAGE_TARNAME='judy'
426
 
PACKAGE_VERSION='1.0.0'
427
 
PACKAGE_STRING='Judy 1.0.0'
428
 
PACKAGE_BUGREPORT='doug@sourcejudy.com'
 
731
PACKAGE_VERSION='1.0.5'
 
732
PACKAGE_STRING='Judy 1.0.5'
 
733
PACKAGE_BUGREPORT='dougbaskins@yahoo.com'
429
734
 
430
735
# Factoring default headers for most tests.
431
736
ac_includes_default="\
432
737
#include <stdio.h>
433
 
#if HAVE_SYS_TYPES_H
 
738
#ifdef HAVE_SYS_TYPES_H
434
739
# include <sys/types.h>
435
740
#endif
436
 
#if HAVE_SYS_STAT_H
 
741
#ifdef HAVE_SYS_STAT_H
437
742
# include <sys/stat.h>
438
743
#endif
439
 
#if STDC_HEADERS
 
744
#ifdef STDC_HEADERS
440
745
# include <stdlib.h>
441
746
# include <stddef.h>
442
747
#else
443
 
# if HAVE_STDLIB_H
 
748
# ifdef HAVE_STDLIB_H
444
749
#  include <stdlib.h>
445
750
# endif
446
751
#endif
447
 
#if HAVE_STRING_H
448
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
752
#ifdef HAVE_STRING_H
 
753
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
449
754
#  include <memory.h>
450
755
# endif
451
756
# include <string.h>
452
757
#endif
453
 
#if HAVE_STRINGS_H
 
758
#ifdef HAVE_STRINGS_H
454
759
# include <strings.h>
455
760
#endif
456
 
#if HAVE_INTTYPES_H
 
761
#ifdef HAVE_INTTYPES_H
457
762
# include <inttypes.h>
458
 
#else
459
 
# if HAVE_STDINT_H
460
 
#  include <stdint.h>
461
 
# endif
462
 
#endif
463
 
#if HAVE_UNISTD_H
 
763
#endif
 
764
#ifdef HAVE_STDINT_H
 
765
# include <stdint.h>
 
766
#endif
 
767
#ifdef HAVE_UNISTD_H
464
768
# include <unistd.h>
465
769
#endif"
466
770
 
467
 
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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 VERSION_INFO FLAVOR 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 EGREP LIB@&t@OBJS AR ac_ct_AR LD ac_ct_LD RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os ECHO CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL WARN_CFLAGS LTLIBOBJS'
 
771
ac_subst_vars='SHELL
 
772
PATH_SEPARATOR
 
773
PACKAGE_NAME
 
774
PACKAGE_TARNAME
 
775
PACKAGE_VERSION
 
776
PACKAGE_STRING
 
777
PACKAGE_BUGREPORT
 
778
exec_prefix
 
779
prefix
 
780
program_transform_name
 
781
bindir
 
782
sbindir
 
783
libexecdir
 
784
datarootdir
 
785
datadir
 
786
sysconfdir
 
787
sharedstatedir
 
788
localstatedir
 
789
includedir
 
790
oldincludedir
 
791
docdir
 
792
infodir
 
793
htmldir
 
794
dvidir
 
795
pdfdir
 
796
psdir
 
797
libdir
 
798
localedir
 
799
mandir
 
800
DEFS
 
801
ECHO_C
 
802
ECHO_N
 
803
ECHO_T
 
804
LIBS
 
805
build_alias
 
806
host_alias
 
807
target_alias
 
808
MAINTAINER_MODE_TRUE
 
809
MAINTAINER_MODE_FALSE
 
810
MAINT
 
811
INSTALL_PROGRAM
 
812
INSTALL_SCRIPT
 
813
INSTALL_DATA
 
814
CYGPATH_W
 
815
PACKAGE
 
816
VERSION
 
817
ACLOCAL
 
818
AUTOCONF
 
819
AUTOMAKE
 
820
AUTOHEADER
 
821
MAKEINFO
 
822
install_sh
 
823
STRIP
 
824
INSTALL_STRIP_PROGRAM
 
825
mkdir_p
 
826
AWK
 
827
SET_MAKE
 
828
am__leading_dot
 
829
AMTAR
 
830
am__tar
 
831
am__untar
 
832
VERSION_INFO
 
833
FLAVOR
 
834
CC
 
835
CFLAGS
 
836
LDFLAGS
 
837
CPPFLAGS
 
838
ac_ct_CC
 
839
EXEEXT
 
840
OBJEXT
 
841
DEPDIR
 
842
am__include
 
843
am__quote
 
844
AMDEP_TRUE
 
845
AMDEP_FALSE
 
846
AMDEPBACKSLASH
 
847
CCDEPMODE
 
848
am__fastdepCC_TRUE
 
849
am__fastdepCC_FALSE
 
850
CPP
 
851
LN_S
 
852
GREP
 
853
EGREP
 
854
LIB@&t@OBJS
 
855
AR
 
856
LD
 
857
RANLIB
 
858
build
 
859
build_cpu
 
860
build_vendor
 
861
build_os
 
862
host
 
863
host_cpu
 
864
host_vendor
 
865
host_os
 
866
ECHO
 
867
CXX
 
868
CXXFLAGS
 
869
ac_ct_CXX
 
870
CXXDEPMODE
 
871
am__fastdepCXX_TRUE
 
872
am__fastdepCXX_FALSE
 
873
CXXCPP
 
874
F77
 
875
FFLAGS
 
876
ac_ct_F77
 
877
LIBTOOL
 
878
WARN_CFLAGS
 
879
LTLIBOBJS'
468
880
ac_subst_files=''
 
881
      ac_precious_vars='build_alias
 
882
host_alias
 
883
target_alias
 
884
CC
 
885
CFLAGS
 
886
LDFLAGS
 
887
LIBS
 
888
CPPFLAGS
 
889
CPP
 
890
CXX
 
891
CXXFLAGS
 
892
CCC
 
893
CXXCPP
 
894
F77
 
895
FFLAGS'
 
896
 
469
897
 
470
898
# Initialize some variables set by options.
471
899
ac_init_help=
492
920
# and all the variables that are supposed to be based on exec_prefix
493
921
# by default will actually change.
494
922
# Use braces instead of parens because sh, perl, etc. also accept them.
 
923
# (The list follows the same order as the GNU Coding Standards.)
495
924
bindir='${exec_prefix}/bin'
496
925
sbindir='${exec_prefix}/sbin'
497
926
libexecdir='${exec_prefix}/libexec'
498
 
datadir='${prefix}/share'
 
927
datarootdir='${prefix}/share'
 
928
datadir='${datarootdir}'
499
929
sysconfdir='${prefix}/etc'
500
930
sharedstatedir='${prefix}/com'
501
931
localstatedir='${prefix}/var'
502
 
libdir='${exec_prefix}/lib'
503
932
includedir='${prefix}/include'
504
933
oldincludedir='/usr/include'
505
 
infodir='${prefix}/info'
506
 
mandir='${prefix}/man'
 
934
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
935
infodir='${datarootdir}/info'
 
936
htmldir='${docdir}'
 
937
dvidir='${docdir}'
 
938
pdfdir='${docdir}'
 
939
psdir='${docdir}'
 
940
libdir='${exec_prefix}/lib'
 
941
localedir='${datarootdir}/locale'
 
942
mandir='${datarootdir}/man'
507
943
 
508
944
ac_prev=
 
945
ac_dashdash=
509
946
for ac_option
510
947
do
511
948
  # If the previous option needs an argument, assign it.
512
949
  if test -n "$ac_prev"; then
513
 
    eval "$ac_prev=\$ac_option"
 
950
    eval $ac_prev=\$ac_option
514
951
    ac_prev=
515
952
    continue
516
953
  fi
517
954
 
518
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
955
  case $ac_option in
 
956
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
957
  *)    ac_optarg=yes ;;
 
958
  esac
519
959
 
520
960
  # Accept the important Cygnus configure options, so we can diagnose typos.
521
961
 
522
 
  case $ac_option in
 
962
  case $ac_dashdash$ac_option in
 
963
  --)
 
964
    ac_dashdash=yes ;;
523
965
 
524
966
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
525
967
    ac_prev=bindir ;;
541
983
  --config-cache | -C)
542
984
    cache_file=config.cache ;;
543
985
 
544
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
986
  -datadir | --datadir | --datadi | --datad)
545
987
    ac_prev=datadir ;;
546
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547
 
  | --da=*)
 
988
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
548
989
    datadir=$ac_optarg ;;
549
990
 
 
991
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
992
  | --dataroo | --dataro | --datar)
 
993
    ac_prev=datarootdir ;;
 
994
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
995
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
996
    datarootdir=$ac_optarg ;;
 
997
 
550
998
  -disable-* | --disable-*)
551
999
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
1000
    # Reject names that are not valid shell variable names.
553
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1001
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
554
1002
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
1003
   { (exit 1); exit 1; }; }
556
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
 
    eval "enable_$ac_feature=no" ;;
 
1004
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1005
    eval enable_$ac_feature=no ;;
 
1006
 
 
1007
  -docdir | --docdir | --docdi | --doc | --do)
 
1008
    ac_prev=docdir ;;
 
1009
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1010
    docdir=$ac_optarg ;;
 
1011
 
 
1012
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1013
    ac_prev=dvidir ;;
 
1014
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1015
    dvidir=$ac_optarg ;;
558
1016
 
559
1017
  -enable-* | --enable-*)
560
1018
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561
1019
    # Reject names that are not valid shell variable names.
562
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1020
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
563
1021
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
1022
   { (exit 1); exit 1; }; }
565
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
566
 
    case $ac_option in
567
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568
 
      *) ac_optarg=yes ;;
569
 
    esac
570
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1023
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1024
    eval enable_$ac_feature=\$ac_optarg ;;
571
1025
 
572
1026
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
1027
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
594
1048
  -host=* | --host=* | --hos=* | --ho=*)
595
1049
    host_alias=$ac_optarg ;;
596
1050
 
 
1051
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1052
    ac_prev=htmldir ;;
 
1053
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1054
  | --ht=*)
 
1055
    htmldir=$ac_optarg ;;
 
1056
 
597
1057
  -includedir | --includedir | --includedi | --included | --include \
598
1058
  | --includ | --inclu | --incl | --inc)
599
1059
    ac_prev=includedir ;;
618
1078
  | --libexe=* | --libex=* | --libe=*)
619
1079
    libexecdir=$ac_optarg ;;
620
1080
 
 
1081
  -localedir | --localedir | --localedi | --localed | --locale)
 
1082
    ac_prev=localedir ;;
 
1083
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1084
    localedir=$ac_optarg ;;
 
1085
 
621
1086
  -localstatedir | --localstatedir | --localstatedi | --localstated \
622
 
  | --localstate | --localstat | --localsta | --localst \
623
 
  | --locals | --local | --loca | --loc | --lo)
 
1087
  | --localstate | --localstat | --localsta | --localst | --locals)
624
1088
    ac_prev=localstatedir ;;
625
1089
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1090
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
628
1091
    localstatedir=$ac_optarg ;;
629
1092
 
630
1093
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
689
1152
  | --progr-tra=* | --program-tr=* | --program-t=*)
690
1153
    program_transform_name=$ac_optarg ;;
691
1154
 
 
1155
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1156
    ac_prev=pdfdir ;;
 
1157
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1158
    pdfdir=$ac_optarg ;;
 
1159
 
 
1160
  -psdir | --psdir | --psdi | --psd | --ps)
 
1161
    ac_prev=psdir ;;
 
1162
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1163
    psdir=$ac_optarg ;;
 
1164
 
692
1165
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
1166
  | -silent | --silent | --silen | --sile | --sil)
694
1167
    silent=yes ;;
741
1214
  -with-* | --with-*)
742
1215
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743
1216
    # Reject names that are not valid shell variable names.
744
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1217
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
745
1218
      { echo "$as_me: error: invalid package name: $ac_package" >&2
746
1219
   { (exit 1); exit 1; }; }
747
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
748
 
    case $ac_option in
749
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750
 
      *) ac_optarg=yes ;;
751
 
    esac
752
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1220
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1221
    eval with_$ac_package=\$ac_optarg ;;
753
1222
 
754
1223
  -without-* | --without-*)
755
1224
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756
1225
    # Reject names that are not valid shell variable names.
757
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1226
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
758
1227
      { echo "$as_me: error: invalid package name: $ac_package" >&2
759
1228
   { (exit 1); exit 1; }; }
760
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
761
 
    eval "with_$ac_package=no" ;;
 
1229
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1230
    eval with_$ac_package=no ;;
762
1231
 
763
1232
  --x)
764
1233
    # Obsolete; use --with-x.
789
1258
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
1259
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
1260
   { (exit 1); exit 1; }; }
792
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
 
    eval "$ac_envvar='$ac_optarg'"
 
1261
    eval $ac_envvar=\$ac_optarg
794
1262
    export $ac_envvar ;;
795
1263
 
796
1264
  *)
810
1278
   { (exit 1); exit 1; }; }
811
1279
fi
812
1280
 
813
 
# Be sure to have absolute paths.
814
 
for ac_var in exec_prefix prefix
815
 
do
816
 
  eval ac_val=$`echo $ac_var`
817
 
  case $ac_val in
818
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820
 
   { (exit 1); exit 1; }; };;
821
 
  esac
822
 
done
823
 
 
824
 
# Be sure to have absolute paths.
825
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826
 
              localstatedir libdir includedir oldincludedir infodir mandir
827
 
do
828
 
  eval ac_val=$`echo $ac_var`
829
 
  case $ac_val in
830
 
    [\\/$]* | ?:[\\/]* ) ;;
831
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832
 
   { (exit 1); exit 1; }; };;
833
 
  esac
 
1281
# Be sure to have absolute directory names.
 
1282
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1283
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1284
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1285
                libdir localedir mandir
 
1286
do
 
1287
  eval ac_val=\$$ac_var
 
1288
  case $ac_val in
 
1289
    [\\/$]* | ?:[\\/]* )  continue;;
 
1290
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1291
  esac
 
1292
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1293
   { (exit 1); exit 1; }; }
834
1294
done
835
1295
 
836
1296
# There might be people who depend on the old broken behavior: `$host'
857
1317
test "$silent" = yes && exec 6>/dev/null
858
1318
 
859
1319
 
 
1320
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1321
ac_ls_di=`ls -di .` &&
 
1322
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1323
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1324
   { (exit 1); exit 1; }; }
 
1325
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1326
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1327
   { (exit 1); exit 1; }; }
 
1328
 
 
1329
 
860
1330
# Find the source files, if location was not specified.
861
1331
if test -z "$srcdir"; then
862
1332
  ac_srcdir_defaulted=yes
863
 
  # Try the directory containing this script, then its parent.
864
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1333
  # Try the directory containing this script, then the parent directory.
 
1334
  ac_confdir=`$as_dirname -- "$0" ||
865
1335
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
1336
         X"$0" : 'X\(//\)[^/]' \| \
867
1337
         X"$0" : 'X\(//\)$' \| \
868
 
         X"$0" : 'X\(/\)' \| \
869
 
         .     : '\(.\)' 2>/dev/null ||
 
1338
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
870
1339
echo X"$0" |
871
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873
 
          /^X\(\/\/\)$/{ s//\1/; q; }
874
 
          /^X\(\/\).*/{ s//\1/; q; }
875
 
          s/.*/./; q'`
 
1340
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1341
            s//\1/
 
1342
            q
 
1343
          }
 
1344
          /^X\(\/\/\)[^/].*/{
 
1345
            s//\1/
 
1346
            q
 
1347
          }
 
1348
          /^X\(\/\/\)$/{
 
1349
            s//\1/
 
1350
            q
 
1351
          }
 
1352
          /^X\(\/\).*/{
 
1353
            s//\1/
 
1354
            q
 
1355
          }
 
1356
          s/.*/./; q'`
876
1357
  srcdir=$ac_confdir
877
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1358
  if test ! -r "$srcdir/$ac_unique_file"; then
878
1359
    srcdir=..
879
1360
  fi
880
1361
else
881
1362
  ac_srcdir_defaulted=no
882
1363
fi
883
 
if test ! -r $srcdir/$ac_unique_file; then
884
 
  if test "$ac_srcdir_defaulted" = yes; then
885
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886
 
   { (exit 1); exit 1; }; }
887
 
  else
888
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889
 
   { (exit 1); exit 1; }; }
890
 
  fi
891
 
fi
892
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894
 
   { (exit 1); exit 1; }; }
895
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896
 
ac_env_build_alias_set=${build_alias+set}
897
 
ac_env_build_alias_value=$build_alias
898
 
ac_cv_env_build_alias_set=${build_alias+set}
899
 
ac_cv_env_build_alias_value=$build_alias
900
 
ac_env_host_alias_set=${host_alias+set}
901
 
ac_env_host_alias_value=$host_alias
902
 
ac_cv_env_host_alias_set=${host_alias+set}
903
 
ac_cv_env_host_alias_value=$host_alias
904
 
ac_env_target_alias_set=${target_alias+set}
905
 
ac_env_target_alias_value=$target_alias
906
 
ac_cv_env_target_alias_set=${target_alias+set}
907
 
ac_cv_env_target_alias_value=$target_alias
908
 
ac_env_CC_set=${CC+set}
909
 
ac_env_CC_value=$CC
910
 
ac_cv_env_CC_set=${CC+set}
911
 
ac_cv_env_CC_value=$CC
912
 
ac_env_CFLAGS_set=${CFLAGS+set}
913
 
ac_env_CFLAGS_value=$CFLAGS
914
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
915
 
ac_cv_env_CFLAGS_value=$CFLAGS
916
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
917
 
ac_env_LDFLAGS_value=$LDFLAGS
918
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
920
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921
 
ac_env_CPPFLAGS_value=$CPPFLAGS
922
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924
 
ac_env_CPP_set=${CPP+set}
925
 
ac_env_CPP_value=$CPP
926
 
ac_cv_env_CPP_set=${CPP+set}
927
 
ac_cv_env_CPP_value=$CPP
928
 
ac_env_CXX_set=${CXX+set}
929
 
ac_env_CXX_value=$CXX
930
 
ac_cv_env_CXX_set=${CXX+set}
931
 
ac_cv_env_CXX_value=$CXX
932
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933
 
ac_env_CXXFLAGS_value=$CXXFLAGS
934
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936
 
ac_env_CXXCPP_set=${CXXCPP+set}
937
 
ac_env_CXXCPP_value=$CXXCPP
938
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
939
 
ac_cv_env_CXXCPP_value=$CXXCPP
940
 
ac_env_F77_set=${F77+set}
941
 
ac_env_F77_value=$F77
942
 
ac_cv_env_F77_set=${F77+set}
943
 
ac_cv_env_F77_value=$F77
944
 
ac_env_FFLAGS_set=${FFLAGS+set}
945
 
ac_env_FFLAGS_value=$FFLAGS
946
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
947
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1364
if test ! -r "$srcdir/$ac_unique_file"; then
 
1365
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1366
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1367
   { (exit 1); exit 1; }; }
 
1368
fi
 
1369
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1370
ac_abs_confdir=`(
 
1371
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1372
   { (exit 1); exit 1; }; }
 
1373
        pwd)`
 
1374
# When building in place, set srcdir=.
 
1375
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1376
  srcdir=.
 
1377
fi
 
1378
# Remove unnecessary trailing slashes from srcdir.
 
1379
# Double slashes in file names in object file debugging info
 
1380
# mess up M-x gdb in Emacs.
 
1381
case $srcdir in
 
1382
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1383
esac
 
1384
for ac_var in $ac_precious_vars; do
 
1385
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1386
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1387
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1388
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1389
done
948
1390
 
949
1391
#
950
1392
# Report the --help message.
953
1395
  # Omit some internal or obsolete options to make the list less imposing.
954
1396
  # This message is too long to be a string in the A/UX 3.1 sh.
955
1397
  cat <<_ACEOF
956
 
\`configure' configures Judy 1.0.0 to adapt to many kinds of systems.
 
1398
\`configure' configures Judy 1.0.5 to adapt to many kinds of systems.
957
1399
 
958
1400
Usage: $0 [OPTION]... [VAR=VALUE]...
959
1401
 
973
1415
  -n, --no-create         do not create output files
974
1416
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
975
1417
 
976
 
_ACEOF
977
 
 
978
 
  cat <<_ACEOF
979
1418
Installation directories:
980
1419
  --prefix=PREFIX         install architecture-independent files in PREFIX
981
1420
                          [$ac_default_prefix]
993
1432
  --bindir=DIR           user executables [EPREFIX/bin]
994
1433
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
995
1434
  --libexecdir=DIR       program executables [EPREFIX/libexec]
996
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
997
1435
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
998
1436
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
999
1437
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1000
1438
  --libdir=DIR           object code libraries [EPREFIX/lib]
1001
1439
  --includedir=DIR       C header files [PREFIX/include]
1002
1440
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1003
 
  --infodir=DIR          info documentation [PREFIX/info]
1004
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1441
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1442
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1443
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1444
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1445
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1446
  --docdir=DIR           documentation root @<:@DATAROOTDIR/doc/judy@:>@
 
1447
  --htmldir=DIR          html documentation [DOCDIR]
 
1448
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1449
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1450
  --psdir=DIR            ps documentation [DOCDIR]
1005
1451
_ACEOF
1006
1452
 
1007
1453
  cat <<\_ACEOF
1019
1465
 
1020
1466
if test -n "$ac_init_help"; then
1021
1467
  case $ac_init_help in
1022
 
     short | recursive ) echo "Configuration of Judy 1.0.0:";;
 
1468
     short | recursive ) echo "Configuration of Judy 1.0.5:";;
1023
1469
   esac
1024
1470
  cat <<\_ACEOF
1025
1471
 
1032
1478
  --enable-ccover         enable use of ccover code coverage tools
1033
1479
  --disable-dependency-tracking  speeds up one-time build
1034
1480
  --enable-dependency-tracking   do not reject slow dependency extractors
1035
 
  --enable-shared@<:@=PKGS@:>@ 
1036
 
                          build shared libraries @<:@default=yes@:>@
1037
 
  --enable-static@<:@=PKGS@:>@ 
1038
 
                          build static libraries @<:@default=yes@:>@
 
1481
  --enable-32-bit          Generate code for a 32-bit environment
 
1482
  --enable-64-bit          Generate code for a 64-bit environment
 
1483
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
 
1484
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1039
1485
  --enable-fast-install@<:@=PKGS@:>@ 
1040
1486
                          optimize for fast installation @<:@default=yes@:>@
1041
1487
  --disable-libtool-lock  avoid locking (might break parallel builds)
1047
1493
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1048
1494
  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1049
1495
                          both@:>@
1050
 
  --with-tags@<:@=TAGS@:>@ 
1051
 
                          include additional configurations @<:@automatic@:>@
 
1496
  --with-tags@<:@=TAGS@:>@      include additional configurations @<:@automatic@:>@
1052
1497
 
1053
1498
Some influential environment variables:
1054
1499
  CC          C compiler command
1055
1500
  CFLAGS      C compiler flags
1056
1501
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1057
1502
              nonstandard directory <lib dir>
1058
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1059
 
              headers in a nonstandard directory <include dir>
 
1503
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1504
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1505
              you have headers in a nonstandard directory <include dir>
1060
1506
  CPP         C preprocessor
1061
1507
  CXX         C++ compiler command
1062
1508
  CXXFLAGS    C++ compiler flags
1067
1513
Use these variables to override the choices made by `configure' or to help
1068
1514
it to find libraries and programs with nonstandard names/locations.
1069
1515
 
1070
 
Report bugs to <doug@sourcejudy.com>.
 
1516
Report bugs to <dougbaskins@yahoo.com>.
1071
1517
_ACEOF
 
1518
ac_status=$?
1072
1519
fi
1073
1520
 
1074
1521
if test "$ac_init_help" = "recursive"; then
1075
1522
  # If there are subdirs, report their specific --help.
1076
 
  ac_popdir=`pwd`
1077
1523
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1078
 
    test -d $ac_dir || continue
 
1524
    test -d "$ac_dir" || continue
1079
1525
    ac_builddir=.
1080
1526
 
1081
 
if test "$ac_dir" != .; then
 
1527
case "$ac_dir" in
 
1528
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1529
*)
1082
1530
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1083
 
  # A "../" for each directory in $ac_dir_suffix.
1084
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1085
 
else
1086
 
  ac_dir_suffix= ac_top_builddir=
1087
 
fi
 
1531
  # A ".." for each directory in $ac_dir_suffix.
 
1532
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1533
  case $ac_top_builddir_sub in
 
1534
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1535
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1536
  esac ;;
 
1537
esac
 
1538
ac_abs_top_builddir=$ac_pwd
 
1539
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1540
# for backward compatibility:
 
1541
ac_top_builddir=$ac_top_build_prefix
1088
1542
 
1089
1543
case $srcdir in
1090
 
  .)  # No --srcdir option.  We are building in place.
 
1544
  .)  # We are building in place.
1091
1545
    ac_srcdir=.
1092
 
    if test -z "$ac_top_builddir"; then
1093
 
       ac_top_srcdir=.
1094
 
    else
1095
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1096
 
    fi ;;
1097
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1546
    ac_top_srcdir=$ac_top_builddir_sub
 
1547
    ac_abs_top_srcdir=$ac_pwd ;;
 
1548
  [\\/]* | ?:[\\/]* )  # Absolute name.
1098
1549
    ac_srcdir=$srcdir$ac_dir_suffix;
1099
 
    ac_top_srcdir=$srcdir ;;
1100
 
  *) # Relative path.
1101
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1102
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1103
 
esac
1104
 
 
1105
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1106
 
# the directories may not exist.
1107
 
case `pwd` in
1108
 
.) ac_abs_builddir="$ac_dir";;
1109
 
*)
1110
 
  case "$ac_dir" in
1111
 
  .) ac_abs_builddir=`pwd`;;
1112
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1113
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1114
 
  esac;;
1115
 
esac
1116
 
case $ac_abs_builddir in
1117
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1118
 
*)
1119
 
  case ${ac_top_builddir}. in
1120
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1121
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1122
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1123
 
  esac;;
1124
 
esac
1125
 
case $ac_abs_builddir in
1126
 
.) ac_abs_srcdir=$ac_srcdir;;
1127
 
*)
1128
 
  case $ac_srcdir in
1129
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1130
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1131
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1132
 
  esac;;
1133
 
esac
1134
 
case $ac_abs_builddir in
1135
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1136
 
*)
1137
 
  case $ac_top_srcdir in
1138
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1139
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1140
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1141
 
  esac;;
1142
 
esac
1143
 
 
1144
 
    cd $ac_dir
1145
 
    # Check for guested configure; otherwise get Cygnus style configure.
1146
 
    if test -f $ac_srcdir/configure.gnu; then
1147
 
      echo
1148
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1149
 
    elif test -f $ac_srcdir/configure; then
1150
 
      echo
1151
 
      $SHELL $ac_srcdir/configure  --help=recursive
1152
 
    elif test -f $ac_srcdir/configure.ac ||
1153
 
           test -f $ac_srcdir/configure.in; then
1154
 
      echo
1155
 
      $ac_configure --help
 
1550
    ac_top_srcdir=$srcdir
 
1551
    ac_abs_top_srcdir=$srcdir ;;
 
1552
  *) # Relative name.
 
1553
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1554
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1555
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1556
esac
 
1557
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1558
 
 
1559
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1560
    # Check for guested configure.
 
1561
    if test -f "$ac_srcdir/configure.gnu"; then
 
1562
      echo &&
 
1563
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1564
    elif test -f "$ac_srcdir/configure"; then
 
1565
      echo &&
 
1566
      $SHELL "$ac_srcdir/configure" --help=recursive
1156
1567
    else
1157
1568
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1158
 
    fi
1159
 
    cd "$ac_popdir"
 
1569
    fi || ac_status=$?
 
1570
    cd "$ac_pwd" || { ac_status=$?; break; }
1160
1571
  done
1161
1572
fi
1162
1573
 
1163
 
test -n "$ac_init_help" && exit 0
 
1574
test -n "$ac_init_help" && exit $ac_status
1164
1575
if $ac_init_version; then
1165
1576
  cat <<\_ACEOF
1166
 
Judy configure 1.0.0
1167
 
generated by GNU Autoconf 2.59
 
1577
Judy configure 1.0.5
 
1578
generated by GNU Autoconf 2.61
1168
1579
 
1169
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1580
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1581
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1170
1582
This configure script is free software; the Free Software Foundation
1171
1583
gives unlimited permission to copy, distribute and modify it.
1172
1584
_ACEOF
1173
 
  exit 0
 
1585
  exit
1174
1586
fi
1175
 
exec 5>config.log
1176
 
cat >&5 <<_ACEOF
 
1587
cat >config.log <<_ACEOF
1177
1588
This file contains any messages produced by compilers while
1178
1589
running configure, to aid debugging if configure makes a mistake.
1179
1590
 
1180
 
It was created by Judy $as_me 1.0.0, which was
1181
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1591
It was created by Judy $as_me 1.0.5, which was
 
1592
generated by GNU Autoconf 2.61.  Invocation command line was
1182
1593
 
1183
1594
  $ $0 $@
1184
1595
 
1185
1596
_ACEOF
 
1597
exec 5>>config.log
1186
1598
{
1187
1599
cat <<_ASUNAME
1188
1600
@%:@@%:@ --------- @%:@@%:@
1201
1613
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1202
1614
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1203
1615
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1204
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1616
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1205
1617
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1206
1618
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1207
1619
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1215
1627
  test -z "$as_dir" && as_dir=.
1216
1628
  echo "PATH: $as_dir"
1217
1629
done
 
1630
IFS=$as_save_IFS
1218
1631
 
1219
1632
} >&5
1220
1633
 
1236
1649
ac_configure_args=
1237
1650
ac_configure_args0=
1238
1651
ac_configure_args1=
1239
 
ac_sep=
1240
1652
ac_must_keep_next=false
1241
1653
for ac_pass in 1 2
1242
1654
do
1247
1659
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1248
1660
    | -silent | --silent | --silen | --sile | --sil)
1249
1661
      continue ;;
1250
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1662
    *\'*)
1251
1663
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1252
1664
    esac
1253
1665
    case $ac_pass in
1269
1681
          -* ) ac_must_keep_next=true ;;
1270
1682
        esac
1271
1683
      fi
1272
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1273
 
      # Get rid of the leading space.
1274
 
      ac_sep=" "
 
1684
      ac_configure_args="$ac_configure_args '$ac_arg'"
1275
1685
      ;;
1276
1686
    esac
1277
1687
  done
1282
1692
# When interrupted or exit'd, cleanup temporary files, and complete
1283
1693
# config.log.  We remove comments because anyway the quotes in there
1284
1694
# would cause problems or look ugly.
1285
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1286
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1695
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1696
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1287
1697
trap 'exit_status=$?
1288
1698
  # Save into config.log some information that might help in debugging.
1289
1699
  {
1296
1706
_ASBOX
1297
1707
    echo
1298
1708
    # The following way of writing the cache mishandles newlines in values,
1299
 
{
 
1709
(
 
1710
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1711
    eval ac_val=\$$ac_var
 
1712
    case $ac_val in #(
 
1713
    *${as_nl}*)
 
1714
      case $ac_var in #(
 
1715
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1716
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1717
      esac
 
1718
      case $ac_var in #(
 
1719
      _ | IFS | as_nl) ;; #(
 
1720
      *) $as_unset $ac_var ;;
 
1721
      esac ;;
 
1722
    esac
 
1723
  done
1300
1724
  (set) 2>&1 |
1301
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1302
 
    *ac_space=\ *)
 
1725
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1726
    *${as_nl}ac_space=\ *)
1303
1727
      sed -n \
1304
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1305
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1306
 
      ;;
 
1728
        "s/'\''/'\''\\\\'\'''\''/g;
 
1729
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1730
      ;; #(
1307
1731
    *)
1308
 
      sed -n \
1309
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1732
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1310
1733
      ;;
1311
 
    esac;
1312
 
}
 
1734
    esac |
 
1735
    sort
 
1736
)
1313
1737
    echo
1314
1738
 
1315
1739
    cat <<\_ASBOX
1320
1744
    echo
1321
1745
    for ac_var in $ac_subst_vars
1322
1746
    do
1323
 
      eval ac_val=$`echo $ac_var`
1324
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1747
      eval ac_val=\$$ac_var
 
1748
      case $ac_val in
 
1749
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1750
      esac
 
1751
      echo "$ac_var='\''$ac_val'\''"
1325
1752
    done | sort
1326
1753
    echo
1327
1754
 
1328
1755
    if test -n "$ac_subst_files"; then
1329
1756
      cat <<\_ASBOX
1330
 
@%:@@%:@ ------------- @%:@@%:@
1331
 
@%:@@%:@ Output files. @%:@@%:@
1332
 
@%:@@%:@ ------------- @%:@@%:@
 
1757
@%:@@%:@ ------------------- @%:@@%:@
 
1758
@%:@@%:@ File substitutions. @%:@@%:@
 
1759
@%:@@%:@ ------------------- @%:@@%:@
1333
1760
_ASBOX
1334
1761
      echo
1335
1762
      for ac_var in $ac_subst_files
1336
1763
      do
1337
 
        eval ac_val=$`echo $ac_var`
1338
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1764
        eval ac_val=\$$ac_var
 
1765
        case $ac_val in
 
1766
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1767
        esac
 
1768
        echo "$ac_var='\''$ac_val'\''"
1339
1769
      done | sort
1340
1770
      echo
1341
1771
    fi
1347
1777
@%:@@%:@ ----------- @%:@@%:@
1348
1778
_ASBOX
1349
1779
      echo
1350
 
      sed "/^$/d" confdefs.h | sort
 
1780
      cat confdefs.h
1351
1781
      echo
1352
1782
    fi
1353
1783
    test "$ac_signal" != 0 &&
1354
1784
      echo "$as_me: caught signal $ac_signal"
1355
1785
    echo "$as_me: exit $exit_status"
1356
1786
  } >&5
1357
 
  rm -f core *.core &&
1358
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1787
  rm -f core *.core core.conftest.* &&
 
1788
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1359
1789
    exit $exit_status
1360
 
     ' 0
 
1790
' 0
1361
1791
for ac_signal in 1 2 13 15; do
1362
1792
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1363
1793
done
1364
1794
ac_signal=0
1365
1795
 
1366
1796
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1367
 
rm -rf conftest* confdefs.h
1368
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1369
 
echo >confdefs.h
 
1797
rm -f -r conftest* confdefs.h
1370
1798
 
1371
1799
# Predefined preprocessor variables.
1372
1800
 
1397
1825
 
1398
1826
# Let the site file select an alternate cache file if it wants to.
1399
1827
# Prefer explicitly selected file to automatically selected ones.
1400
 
if test -z "$CONFIG_SITE"; then
1401
 
  if test "x$prefix" != xNONE; then
1402
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1403
 
  else
1404
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1405
 
  fi
 
1828
if test -n "$CONFIG_SITE"; then
 
1829
  set x "$CONFIG_SITE"
 
1830
elif test "x$prefix" != xNONE; then
 
1831
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1832
else
 
1833
  set x "$ac_default_prefix/share/config.site" \
 
1834
        "$ac_default_prefix/etc/config.site"
1406
1835
fi
1407
 
for ac_site_file in $CONFIG_SITE; do
 
1836
shift
 
1837
for ac_site_file
 
1838
do
1408
1839
  if test -r "$ac_site_file"; then
1409
1840
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1410
1841
echo "$as_me: loading site script $ac_site_file" >&6;}
1420
1851
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1421
1852
echo "$as_me: loading cache $cache_file" >&6;}
1422
1853
    case $cache_file in
1423
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1424
 
      *)                      . ./$cache_file;;
 
1854
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1855
      *)                      . "./$cache_file";;
1425
1856
    esac
1426
1857
  fi
1427
1858
else
1433
1864
# Check that the precious variables saved in the cache have kept the same
1434
1865
# value.
1435
1866
ac_cache_corrupted=false
1436
 
for ac_var in `(set) 2>&1 |
1437
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1867
for ac_var in $ac_precious_vars; do
1438
1868
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1439
1869
  eval ac_new_set=\$ac_env_${ac_var}_set
1440
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1441
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1870
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1871
  eval ac_new_val=\$ac_env_${ac_var}_value
1442
1872
  case $ac_old_set,$ac_new_set in
1443
1873
    set,)
1444
1874
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1463
1893
  # Pass precious variables to config.status.
1464
1894
  if test "$ac_new_set" = set; then
1465
1895
    case $ac_new_val in
1466
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1467
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1896
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1468
1897
    *) ac_arg=$ac_var=$ac_new_val ;;
1469
1898
    esac
1470
1899
    case " $ac_configure_args " in
1481
1910
   { (exit 1); exit 1; }; }
1482
1911
fi
1483
1912
 
 
1913
 
 
1914
 
 
1915
 
 
1916
 
 
1917
 
 
1918
 
 
1919
 
 
1920
 
 
1921
 
 
1922
 
 
1923
 
 
1924
 
 
1925
 
 
1926
 
 
1927
 
 
1928
 
 
1929
 
 
1930
 
 
1931
 
 
1932
 
 
1933
 
 
1934
 
 
1935
 
 
1936
 
1484
1937
ac_ext=c
1485
1938
ac_cpp='$CPP $CPPFLAGS'
1486
1939
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1489
1942
 
1490
1943
 
1491
1944
 
1492
 
 
1493
 
 
1494
 
 
1495
 
 
1496
 
 
1497
 
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1518
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1519
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
1945
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
1946
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
1947
    # Check whether --enable-maintainer-mode was given.
1520
1948
if test "${enable_maintainer_mode+set}" = set; then
1521
 
  enableval="$enable_maintainer_mode"
1522
 
  USE_MAINTAINER_MODE=$enableval
 
1949
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1523
1950
else
1524
1951
  USE_MAINTAINER_MODE=no
1525
 
fi; 
1526
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1527
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
1952
fi
 
1953
 
 
1954
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
1955
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1528
1956
   
1529
1957
 
1530
1958
if test $USE_MAINTAINER_MODE = yes; then
1541
1969
 
1542
1970
am__api_version="1.9"
1543
1971
ac_aux_dir=
1544
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1545
 
  if test -f $ac_dir/install-sh; then
 
1972
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1973
  if test -f "$ac_dir/install-sh"; then
1546
1974
    ac_aux_dir=$ac_dir
1547
1975
    ac_install_sh="$ac_aux_dir/install-sh -c"
1548
1976
    break
1549
 
  elif test -f $ac_dir/install.sh; then
 
1977
  elif test -f "$ac_dir/install.sh"; then
1550
1978
    ac_aux_dir=$ac_dir
1551
1979
    ac_install_sh="$ac_aux_dir/install.sh -c"
1552
1980
    break
1553
 
  elif test -f $ac_dir/shtool; then
 
1981
  elif test -f "$ac_dir/shtool"; then
1554
1982
    ac_aux_dir=$ac_dir
1555
1983
    ac_install_sh="$ac_aux_dir/shtool install -c"
1556
1984
    break
1557
1985
  fi
1558
1986
done
1559
1987
if test -z "$ac_aux_dir"; then
1560
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1561
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1988
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1989
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1562
1990
   { (exit 1); exit 1; }; }
1563
1991
fi
1564
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1565
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1566
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1992
 
 
1993
# These three variables are undocumented and unsupported,
 
1994
# and are intended to be withdrawn in a future Autoconf release.
 
1995
# They can cause serious problems if a builder's source tree is in a directory
 
1996
# whose full name contains unusual characters.
 
1997
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1998
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1999
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2000
 
1567
2001
 
1568
2002
# Find a good install program.  We prefer a C program (faster),
1569
2003
# so one script is as good as another.  But avoid the broken or
1578
2012
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1579
2013
# OS/2's system install, which has a completely different semantic
1580
2014
# ./install, which can be erroneously created by make from ./install.sh.
1581
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1582
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2015
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2016
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1583
2017
if test -z "$INSTALL"; then
1584
2018
if test "${ac_cv_path_install+set}" = set; then
1585
2019
  echo $ECHO_N "(cached) $ECHO_C" >&6
1601
2035
    # by default.
1602
2036
    for ac_prog in ginstall scoinst install; do
1603
2037
      for ac_exec_ext in '' $ac_executable_extensions; do
1604
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2038
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1605
2039
          if test $ac_prog = install &&
1606
2040
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1607
2041
            # AIX install.  It has an incompatible calling convention.
1620
2054
    ;;
1621
2055
esac
1622
2056
done
 
2057
IFS=$as_save_IFS
1623
2058
 
1624
2059
 
1625
2060
fi
1626
2061
  if test "${ac_cv_path_install+set}" = set; then
1627
2062
    INSTALL=$ac_cv_path_install
1628
2063
  else
1629
 
    # As a last resort, use the slow shell script.  We don't cache a
1630
 
    # path for INSTALL within a source directory, because that will
 
2064
    # As a last resort, use the slow shell script.  Don't cache a
 
2065
    # value for INSTALL within a source directory, because that will
1631
2066
    # break other packages using the cache if that directory is
1632
 
    # removed, or if the path is relative.
 
2067
    # removed, or if the value is a relative name.
1633
2068
    INSTALL=$ac_install_sh
1634
2069
  fi
1635
2070
fi
1636
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1637
 
echo "${ECHO_T}$INSTALL" >&6
 
2071
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2072
echo "${ECHO_T}$INSTALL" >&6; }
1638
2073
 
1639
2074
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1640
2075
# It thinks the first close brace ends the variable substitution.
1644
2079
 
1645
2080
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1646
2081
 
1647
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1648
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2082
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2083
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1649
2084
# Just in case
1650
2085
sleep 1
1651
2086
echo timestamp > conftest.file
1687
2122
Check your system clock" >&2;}
1688
2123
   { (exit 1); exit 1; }; }
1689
2124
fi
1690
 
echo "$as_me:$LINENO: result: yes" >&5
1691
 
echo "${ECHO_T}yes" >&6
 
2125
{ echo "$as_me:$LINENO: result: yes" >&5
 
2126
echo "${ECHO_T}yes" >&6; }
1692
2127
test "$program_prefix" != NONE &&
1693
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2128
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1694
2129
# Use a double $ so make ignores it.
1695
2130
test "$program_suffix" != NONE &&
1696
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2131
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1697
2132
# Double any \ or $.  echo might interpret backslashes.
1698
2133
# By default was `s,x,x', remove it if useless.
1699
2134
cat <<\_ACEOF >conftest.sed
1700
2135
s/[\\$]/&&/g;s/;s,x,x,$//
1701
2136
_ACEOF
1702
2137
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1703
 
rm conftest.sed
 
2138
rm -f conftest.sed
1704
2139
 
1705
2140
# expand $ac_aux_dir to an absolute path
1706
2141
am_aux_dir=`cd $ac_aux_dir && pwd`
1752
2187
do
1753
2188
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1754
2189
set dummy $ac_prog; ac_word=$2
1755
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1756
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2190
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2191
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1757
2192
if test "${ac_cv_prog_AWK+set}" = set; then
1758
2193
  echo $ECHO_N "(cached) $ECHO_C" >&6
1759
2194
else
1766
2201
  IFS=$as_save_IFS
1767
2202
  test -z "$as_dir" && as_dir=.
1768
2203
  for ac_exec_ext in '' $ac_executable_extensions; do
1769
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2204
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1770
2205
    ac_cv_prog_AWK="$ac_prog"
1771
2206
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772
2207
    break 2
1773
2208
  fi
1774
2209
done
1775
2210
done
 
2211
IFS=$as_save_IFS
1776
2212
 
1777
2213
fi
1778
2214
fi
1779
2215
AWK=$ac_cv_prog_AWK
1780
2216
if test -n "$AWK"; then
1781
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1782
 
echo "${ECHO_T}$AWK" >&6
 
2217
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2218
echo "${ECHO_T}$AWK" >&6; }
1783
2219
else
1784
 
  echo "$as_me:$LINENO: result: no" >&5
1785
 
echo "${ECHO_T}no" >&6
 
2220
  { echo "$as_me:$LINENO: result: no" >&5
 
2221
echo "${ECHO_T}no" >&6; }
1786
2222
fi
1787
2223
 
 
2224
 
1788
2225
  test -n "$AWK" && break
1789
2226
done
1790
2227
 
1791
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1792
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1793
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1794
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2228
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2229
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2230
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2231
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1795
2232
  echo $ECHO_N "(cached) $ECHO_C" >&6
1796
2233
else
1797
2234
  cat >conftest.make <<\_ACEOF
 
2235
SHELL = /bin/sh
1798
2236
all:
1799
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2237
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1800
2238
_ACEOF
1801
2239
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1802
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1803
 
if test -n "$ac_maketemp"; then
1804
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1805
 
else
1806
 
  eval ac_cv_prog_make_${ac_make}_set=no
1807
 
fi
 
2240
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2241
  *@@@%%%=?*=@@@%%%*)
 
2242
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2243
  *)
 
2244
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2245
esac
1808
2246
rm -f conftest.make
1809
2247
fi
1810
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1811
 
  echo "$as_me:$LINENO: result: yes" >&5
1812
 
echo "${ECHO_T}yes" >&6
 
2248
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2249
  { echo "$as_me:$LINENO: result: yes" >&5
 
2250
echo "${ECHO_T}yes" >&6; }
1813
2251
  SET_MAKE=
1814
2252
else
1815
 
  echo "$as_me:$LINENO: result: no" >&5
1816
 
echo "${ECHO_T}no" >&6
 
2253
  { echo "$as_me:$LINENO: result: no" >&5
 
2254
echo "${ECHO_T}no" >&6; }
1817
2255
  SET_MAKE="MAKE=${MAKE-make}"
1818
2256
fi
1819
2257
 
1884
2322
  if test -n "$ac_tool_prefix"; then
1885
2323
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1886
2324
set dummy ${ac_tool_prefix}strip; ac_word=$2
1887
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1888
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2325
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2326
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1889
2327
if test "${ac_cv_prog_STRIP+set}" = set; then
1890
2328
  echo $ECHO_N "(cached) $ECHO_C" >&6
1891
2329
else
1898
2336
  IFS=$as_save_IFS
1899
2337
  test -z "$as_dir" && as_dir=.
1900
2338
  for ac_exec_ext in '' $ac_executable_extensions; do
1901
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2339
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1902
2340
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1903
2341
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904
2342
    break 2
1905
2343
  fi
1906
2344
done
1907
2345
done
 
2346
IFS=$as_save_IFS
1908
2347
 
1909
2348
fi
1910
2349
fi
1911
2350
STRIP=$ac_cv_prog_STRIP
1912
2351
if test -n "$STRIP"; then
1913
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1914
 
echo "${ECHO_T}$STRIP" >&6
 
2352
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2353
echo "${ECHO_T}$STRIP" >&6; }
1915
2354
else
1916
 
  echo "$as_me:$LINENO: result: no" >&5
1917
 
echo "${ECHO_T}no" >&6
 
2355
  { echo "$as_me:$LINENO: result: no" >&5
 
2356
echo "${ECHO_T}no" >&6; }
1918
2357
fi
 
2358
 
1919
2359
 
1920
2360
fi
1921
2361
if test -z "$ac_cv_prog_STRIP"; then
1922
2362
  ac_ct_STRIP=$STRIP
1923
2363
  # Extract the first word of "strip", so it can be a program name with args.
1924
2364
set dummy strip; ac_word=$2
1925
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1926
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2365
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2366
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1927
2367
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1928
2368
  echo $ECHO_N "(cached) $ECHO_C" >&6
1929
2369
else
1936
2376
  IFS=$as_save_IFS
1937
2377
  test -z "$as_dir" && as_dir=.
1938
2378
  for ac_exec_ext in '' $ac_executable_extensions; do
1939
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2379
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1940
2380
    ac_cv_prog_ac_ct_STRIP="strip"
1941
2381
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942
2382
    break 2
1943
2383
  fi
1944
2384
done
1945
2385
done
 
2386
IFS=$as_save_IFS
1946
2387
 
1947
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1948
2388
fi
1949
2389
fi
1950
2390
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1951
2391
if test -n "$ac_ct_STRIP"; then
1952
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1953
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2392
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2393
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1954
2394
else
1955
 
  echo "$as_me:$LINENO: result: no" >&5
1956
 
echo "${ECHO_T}no" >&6
 
2395
  { echo "$as_me:$LINENO: result: no" >&5
 
2396
echo "${ECHO_T}no" >&6; }
1957
2397
fi
1958
2398
 
1959
 
  STRIP=$ac_ct_STRIP
 
2399
  if test "x$ac_ct_STRIP" = x; then
 
2400
    STRIP=":"
 
2401
  else
 
2402
    case $cross_compiling:$ac_tool_warned in
 
2403
yes:)
 
2404
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2405
whose name does not start with the host triplet.  If you think this
 
2406
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2407
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2408
whose name does not start with the host triplet.  If you think this
 
2409
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2410
ac_tool_warned=yes ;;
 
2411
esac
 
2412
    STRIP=$ac_ct_STRIP
 
2413
  fi
1960
2414
else
1961
2415
  STRIP="$ac_cv_prog_STRIP"
1962
2416
fi
1977
2431
 
1978
2432
 
1979
2433
 
1980
 
          ac_config_headers="$ac_config_headers config.h"
 
2434
ac_config_headers="$ac_config_headers config.h"
1981
2435
 
1982
2436
 
1983
2437
 
1985
2439
 
1986
2440
 
1987
2441
 
1988
 
echo "$as_me:$LINENO: checking which flavor to build" >&5
1989
 
echo $ECHO_N "checking which flavor to build... $ECHO_C" >&6
 
2442
{ echo "$as_me:$LINENO: checking which flavor to build" >&5
 
2443
echo $ECHO_N "checking which flavor to build... $ECHO_C" >&6; }
1990
2444
 
1991
 
# Check whether --enable-debug or --disable-debug was given.
 
2445
# Check whether --enable-debug was given.
1992
2446
if test "${enable_debug+set}" = set; then
1993
 
  enableval="$enable_debug"
1994
 
  
 
2447
  enableval=$enable_debug; 
1995
2448
else
1996
2449
  enable_debug=no
1997
 
fi; 
 
2450
fi
 
2451
 
1998
2452
if test "x$enable_debug" != xyes -a "x$enable_debug" != xno; then
1999
2453
   { { echo "$as_me:$LINENO: error: You may not pass an argument to --enable-debug" >&5
2000
2454
echo "$as_me: error: You may not pass an argument to --enable-debug" >&2;}
2001
2455
   { (exit 1); exit 1; }; }
2002
2456
fi
2003
2457
 
2004
 
# Check whether --enable-ccover or --disable-ccover was given.
 
2458
# Check whether --enable-ccover was given.
2005
2459
if test "${enable_ccover+set}" = set; then
2006
 
  enableval="$enable_ccover"
2007
 
  
 
2460
  enableval=$enable_ccover; 
2008
2461
else
2009
2462
  enable_ccover=no
2010
 
fi; 
 
2463
fi
 
2464
 
2011
2465
if test "x$enable_ccover" != xyes -a "x$enable_ccover" != xno; then
2012
2466
   { { echo "$as_me:$LINENO: error: You may not pass an argument to --enable-ccover" >&5
2013
2467
echo "$as_me: error: You may not pass an argument to --enable-ccover" >&2;}
2028
2482
 
2029
2483
 
2030
2484
 
2031
 
echo "$as_me:$LINENO: result: $FLAVOR" >&5
2032
 
echo "${ECHO_T}$FLAVOR" >&6
 
2485
{ echo "$as_me:$LINENO: result: $FLAVOR" >&5
 
2486
echo "${ECHO_T}$FLAVOR" >&6; }
2033
2487
 
2034
2488
 
2035
2489
ac_ext=c
2040
2494
if test -n "$ac_tool_prefix"; then
2041
2495
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2042
2496
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2043
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2044
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2497
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2498
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2045
2499
if test "${ac_cv_prog_CC+set}" = set; then
2046
2500
  echo $ECHO_N "(cached) $ECHO_C" >&6
2047
2501
else
2054
2508
  IFS=$as_save_IFS
2055
2509
  test -z "$as_dir" && as_dir=.
2056
2510
  for ac_exec_ext in '' $ac_executable_extensions; do
2057
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2058
2512
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2059
2513
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2060
2514
    break 2
2061
2515
  fi
2062
2516
done
2063
2517
done
 
2518
IFS=$as_save_IFS
2064
2519
 
2065
2520
fi
2066
2521
fi
2067
2522
CC=$ac_cv_prog_CC
2068
2523
if test -n "$CC"; then
2069
 
  echo "$as_me:$LINENO: result: $CC" >&5
2070
 
echo "${ECHO_T}$CC" >&6
 
2524
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2525
echo "${ECHO_T}$CC" >&6; }
2071
2526
else
2072
 
  echo "$as_me:$LINENO: result: no" >&5
2073
 
echo "${ECHO_T}no" >&6
 
2527
  { echo "$as_me:$LINENO: result: no" >&5
 
2528
echo "${ECHO_T}no" >&6; }
2074
2529
fi
 
2530
 
2075
2531
 
2076
2532
fi
2077
2533
if test -z "$ac_cv_prog_CC"; then
2078
2534
  ac_ct_CC=$CC
2079
2535
  # Extract the first word of "gcc", so it can be a program name with args.
2080
2536
set dummy gcc; ac_word=$2
2081
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2082
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2537
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2538
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2083
2539
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2084
2540
  echo $ECHO_N "(cached) $ECHO_C" >&6
2085
2541
else
2092
2548
  IFS=$as_save_IFS
2093
2549
  test -z "$as_dir" && as_dir=.
2094
2550
  for ac_exec_ext in '' $ac_executable_extensions; do
2095
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2551
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2096
2552
    ac_cv_prog_ac_ct_CC="gcc"
2097
2553
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098
2554
    break 2
2099
2555
  fi
2100
2556
done
2101
2557
done
 
2558
IFS=$as_save_IFS
2102
2559
 
2103
2560
fi
2104
2561
fi
2105
2562
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2106
2563
if test -n "$ac_ct_CC"; then
2107
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2108
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2564
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2565
echo "${ECHO_T}$ac_ct_CC" >&6; }
2109
2566
else
2110
 
  echo "$as_me:$LINENO: result: no" >&5
2111
 
echo "${ECHO_T}no" >&6
 
2567
  { echo "$as_me:$LINENO: result: no" >&5
 
2568
echo "${ECHO_T}no" >&6; }
2112
2569
fi
2113
2570
 
2114
 
  CC=$ac_ct_CC
 
2571
  if test "x$ac_ct_CC" = x; then
 
2572
    CC=""
 
2573
  else
 
2574
    case $cross_compiling:$ac_tool_warned in
 
2575
yes:)
 
2576
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2577
whose name does not start with the host triplet.  If you think this
 
2578
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2579
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2580
whose name does not start with the host triplet.  If you think this
 
2581
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2582
ac_tool_warned=yes ;;
 
2583
esac
 
2584
    CC=$ac_ct_CC
 
2585
  fi
2115
2586
else
2116
2587
  CC="$ac_cv_prog_CC"
2117
2588
fi
2118
2589
 
2119
2590
if test -z "$CC"; then
2120
 
  if test -n "$ac_tool_prefix"; then
2121
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2591
          if test -n "$ac_tool_prefix"; then
 
2592
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2122
2593
set dummy ${ac_tool_prefix}cc; ac_word=$2
2123
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2124
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2594
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2595
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2125
2596
if test "${ac_cv_prog_CC+set}" = set; then
2126
2597
  echo $ECHO_N "(cached) $ECHO_C" >&6
2127
2598
else
2134
2605
  IFS=$as_save_IFS
2135
2606
  test -z "$as_dir" && as_dir=.
2136
2607
  for ac_exec_ext in '' $ac_executable_extensions; do
2137
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2608
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2138
2609
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2139
2610
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140
2611
    break 2
2141
2612
  fi
2142
2613
done
2143
2614
done
 
2615
IFS=$as_save_IFS
2144
2616
 
2145
2617
fi
2146
2618
fi
2147
2619
CC=$ac_cv_prog_CC
2148
2620
if test -n "$CC"; then
2149
 
  echo "$as_me:$LINENO: result: $CC" >&5
2150
 
echo "${ECHO_T}$CC" >&6
2151
 
else
2152
 
  echo "$as_me:$LINENO: result: no" >&5
2153
 
echo "${ECHO_T}no" >&6
2154
 
fi
2155
 
 
2156
 
fi
2157
 
if test -z "$ac_cv_prog_CC"; then
2158
 
  ac_ct_CC=$CC
2159
 
  # Extract the first word of "cc", so it can be a program name with args.
2160
 
set dummy cc; ac_word=$2
2161
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2162
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2163
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2164
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2165
 
else
2166
 
  if test -n "$ac_ct_CC"; then
2167
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2168
 
else
2169
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170
 
for as_dir in $PATH
2171
 
do
2172
 
  IFS=$as_save_IFS
2173
 
  test -z "$as_dir" && as_dir=.
2174
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2175
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2176
 
    ac_cv_prog_ac_ct_CC="cc"
2177
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178
 
    break 2
 
2621
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2622
echo "${ECHO_T}$CC" >&6; }
 
2623
else
 
2624
  { echo "$as_me:$LINENO: result: no" >&5
 
2625
echo "${ECHO_T}no" >&6; }
 
2626
fi
 
2627
 
 
2628
 
2179
2629
  fi
2180
 
done
2181
 
done
2182
 
 
2183
 
fi
2184
 
fi
2185
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2186
 
if test -n "$ac_ct_CC"; then
2187
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2188
 
echo "${ECHO_T}$ac_ct_CC" >&6
2189
 
else
2190
 
  echo "$as_me:$LINENO: result: no" >&5
2191
 
echo "${ECHO_T}no" >&6
2192
 
fi
2193
 
 
2194
 
  CC=$ac_ct_CC
2195
 
else
2196
 
  CC="$ac_cv_prog_CC"
2197
 
fi
2198
 
 
2199
2630
fi
2200
2631
if test -z "$CC"; then
2201
2632
  # Extract the first word of "cc", so it can be a program name with args.
2202
2633
set dummy cc; ac_word=$2
2203
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2204
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2634
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2635
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2205
2636
if test "${ac_cv_prog_CC+set}" = set; then
2206
2637
  echo $ECHO_N "(cached) $ECHO_C" >&6
2207
2638
else
2215
2646
  IFS=$as_save_IFS
2216
2647
  test -z "$as_dir" && as_dir=.
2217
2648
  for ac_exec_ext in '' $ac_executable_extensions; do
2218
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2649
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2219
2650
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2220
2651
       ac_prog_rejected=yes
2221
2652
       continue
2226
2657
  fi
2227
2658
done
2228
2659
done
 
2660
IFS=$as_save_IFS
2229
2661
 
2230
2662
if test $ac_prog_rejected = yes; then
2231
2663
  # We found a bogon in the path, so make sure we never use it.
2243
2675
fi
2244
2676
CC=$ac_cv_prog_CC
2245
2677
if test -n "$CC"; then
2246
 
  echo "$as_me:$LINENO: result: $CC" >&5
2247
 
echo "${ECHO_T}$CC" >&6
 
2678
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2679
echo "${ECHO_T}$CC" >&6; }
2248
2680
else
2249
 
  echo "$as_me:$LINENO: result: no" >&5
2250
 
echo "${ECHO_T}no" >&6
 
2681
  { echo "$as_me:$LINENO: result: no" >&5
 
2682
echo "${ECHO_T}no" >&6; }
2251
2683
fi
 
2684
 
2252
2685
 
2253
2686
fi
2254
2687
if test -z "$CC"; then
2255
2688
  if test -n "$ac_tool_prefix"; then
2256
 
  for ac_prog in cl
 
2689
  for ac_prog in cl.exe
2257
2690
  do
2258
2691
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2259
2692
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2260
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2261
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2693
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2694
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2262
2695
if test "${ac_cv_prog_CC+set}" = set; then
2263
2696
  echo $ECHO_N "(cached) $ECHO_C" >&6
2264
2697
else
2271
2704
  IFS=$as_save_IFS
2272
2705
  test -z "$as_dir" && as_dir=.
2273
2706
  for ac_exec_ext in '' $ac_executable_extensions; do
2274
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2707
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2275
2708
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2276
2709
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277
2710
    break 2
2278
2711
  fi
2279
2712
done
2280
2713
done
 
2714
IFS=$as_save_IFS
2281
2715
 
2282
2716
fi
2283
2717
fi
2284
2718
CC=$ac_cv_prog_CC
2285
2719
if test -n "$CC"; then
2286
 
  echo "$as_me:$LINENO: result: $CC" >&5
2287
 
echo "${ECHO_T}$CC" >&6
 
2720
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2721
echo "${ECHO_T}$CC" >&6; }
2288
2722
else
2289
 
  echo "$as_me:$LINENO: result: no" >&5
2290
 
echo "${ECHO_T}no" >&6
 
2723
  { echo "$as_me:$LINENO: result: no" >&5
 
2724
echo "${ECHO_T}no" >&6; }
2291
2725
fi
2292
2726
 
 
2727
 
2293
2728
    test -n "$CC" && break
2294
2729
  done
2295
2730
fi
2296
2731
if test -z "$CC"; then
2297
2732
  ac_ct_CC=$CC
2298
 
  for ac_prog in cl
 
2733
  for ac_prog in cl.exe
2299
2734
do
2300
2735
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2301
2736
set dummy $ac_prog; ac_word=$2
2302
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2303
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2737
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2738
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2304
2739
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2305
2740
  echo $ECHO_N "(cached) $ECHO_C" >&6
2306
2741
else
2313
2748
  IFS=$as_save_IFS
2314
2749
  test -z "$as_dir" && as_dir=.
2315
2750
  for ac_exec_ext in '' $ac_executable_extensions; do
2316
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2751
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2317
2752
    ac_cv_prog_ac_ct_CC="$ac_prog"
2318
2753
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2319
2754
    break 2
2320
2755
  fi
2321
2756
done
2322
2757
done
 
2758
IFS=$as_save_IFS
2323
2759
 
2324
2760
fi
2325
2761
fi
2326
2762
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2327
2763
if test -n "$ac_ct_CC"; then
2328
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2329
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2764
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2765
echo "${ECHO_T}$ac_ct_CC" >&6; }
2330
2766
else
2331
 
  echo "$as_me:$LINENO: result: no" >&5
2332
 
echo "${ECHO_T}no" >&6
 
2767
  { echo "$as_me:$LINENO: result: no" >&5
 
2768
echo "${ECHO_T}no" >&6; }
2333
2769
fi
2334
2770
 
 
2771
 
2335
2772
  test -n "$ac_ct_CC" && break
2336
2773
done
2337
2774
 
2338
 
  CC=$ac_ct_CC
 
2775
  if test "x$ac_ct_CC" = x; then
 
2776
    CC=""
 
2777
  else
 
2778
    case $cross_compiling:$ac_tool_warned in
 
2779
yes:)
 
2780
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2781
whose name does not start with the host triplet.  If you think this
 
2782
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2783
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2784
whose name does not start with the host triplet.  If you think this
 
2785
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2786
ac_tool_warned=yes ;;
 
2787
esac
 
2788
    CC=$ac_ct_CC
 
2789
  fi
2339
2790
fi
2340
2791
 
2341
2792
fi
2348
2799
   { (exit 1); exit 1; }; }
2349
2800
 
2350
2801
# Provide some information about the compiler.
2351
 
echo "$as_me:$LINENO:" \
2352
 
     "checking for C compiler version" >&5
 
2802
echo "$as_me:$LINENO: checking for C compiler version" >&5
2353
2803
ac_compiler=`set X $ac_compile; echo $2`
2354
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2355
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2356
 
  ac_status=$?
2357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358
 
  (exit $ac_status); }
2359
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2360
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2361
 
  ac_status=$?
2362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363
 
  (exit $ac_status); }
2364
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2365
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2804
{ (ac_try="$ac_compiler --version >&5"
 
2805
case "(($ac_try" in
 
2806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2807
  *) ac_try_echo=$ac_try;;
 
2808
esac
 
2809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2810
  (eval "$ac_compiler --version >&5") 2>&5
 
2811
  ac_status=$?
 
2812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2813
  (exit $ac_status); }
 
2814
{ (ac_try="$ac_compiler -v >&5"
 
2815
case "(($ac_try" in
 
2816
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2817
  *) ac_try_echo=$ac_try;;
 
2818
esac
 
2819
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2820
  (eval "$ac_compiler -v >&5") 2>&5
 
2821
  ac_status=$?
 
2822
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2823
  (exit $ac_status); }
 
2824
{ (ac_try="$ac_compiler -V >&5"
 
2825
case "(($ac_try" in
 
2826
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2827
  *) ac_try_echo=$ac_try;;
 
2828
esac
 
2829
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2830
  (eval "$ac_compiler -V >&5") 2>&5
2366
2831
  ac_status=$?
2367
2832
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368
2833
  (exit $ac_status); }
2387
2852
# Try to create an executable without -o first, disregard a.out.
2388
2853
# It will help us diagnose broken compilers, and finding out an intuition
2389
2854
# of exeext.
2390
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2391
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2855
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2856
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2392
2857
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2393
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2394
 
  (eval $ac_link_default) 2>&5
 
2858
#
 
2859
# List of possible output files, starting from the most likely.
 
2860
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2861
# only as a last resort.  b.out is created by i960 compilers.
 
2862
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2863
#
 
2864
# The IRIX 6 linker writes into existing files which may not be
 
2865
# executable, retaining their permissions.  Remove them first so a
 
2866
# subsequent execution test works.
 
2867
ac_rmfiles=
 
2868
for ac_file in $ac_files
 
2869
do
 
2870
  case $ac_file in
 
2871
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2872
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2873
  esac
 
2874
done
 
2875
rm -f $ac_rmfiles
 
2876
 
 
2877
if { (ac_try="$ac_link_default"
 
2878
case "(($ac_try" in
 
2879
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2880
  *) ac_try_echo=$ac_try;;
 
2881
esac
 
2882
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2883
  (eval "$ac_link_default") 2>&5
2395
2884
  ac_status=$?
2396
2885
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397
2886
  (exit $ac_status); }; then
2398
 
  # Find the output, starting from the most likely.  This scheme is
2399
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2400
 
# resort.
2401
 
 
2402
 
# Be careful to initialize this variable, since it used to be cached.
2403
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2404
 
ac_cv_exeext=
2405
 
# b.out is created by i960 compilers.
2406
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2887
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2888
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2889
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2890
# so that the user can short-circuit this test for compilers unknown to
 
2891
# Autoconf.
 
2892
for ac_file in $ac_files ''
2407
2893
do
2408
2894
  test -f "$ac_file" || continue
2409
2895
  case $ac_file in
2410
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2411
 
        ;;
2412
 
    conftest.$ac_ext )
2413
 
        # This is the source file.
 
2896
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2414
2897
        ;;
2415
2898
    [ab].out )
2416
2899
        # We found the default executable, but exeext='' is most
2417
2900
        # certainly right.
2418
2901
        break;;
2419
2902
    *.* )
2420
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2421
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2422
 
        # but it would be cool to find out if it's true.  Does anybody
2423
 
        # maintain Libtool? --akim.
2424
 
        export ac_cv_exeext
 
2903
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2904
        then :; else
 
2905
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2906
        fi
 
2907
        # We set ac_cv_exeext here because the later test for it is not
 
2908
        # safe: cross compilers may not add the suffix if given an `-o'
 
2909
        # argument, so we may need to know it at that point already.
 
2910
        # Even if this section looks crufty: it has the advantage of
 
2911
        # actually working.
2425
2912
        break;;
2426
2913
    * )
2427
2914
        break;;
2428
2915
  esac
2429
2916
done
 
2917
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2918
 
2430
2919
else
 
2920
  ac_file=''
 
2921
fi
 
2922
 
 
2923
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2924
echo "${ECHO_T}$ac_file" >&6; }
 
2925
if test -z "$ac_file"; then
2431
2926
  echo "$as_me: failed program was:" >&5
2432
2927
sed 's/^/| /' conftest.$ac_ext >&5
2433
2928
 
2439
2934
fi
2440
2935
 
2441
2936
ac_exeext=$ac_cv_exeext
2442
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2443
 
echo "${ECHO_T}$ac_file" >&6
2444
2937
 
2445
 
# Check the compiler produces executables we can run.  If not, either
 
2938
# Check that the compiler produces executables we can run.  If not, either
2446
2939
# the compiler is broken, or we cross compile.
2447
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2448
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2940
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2941
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2449
2942
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2450
2943
# If not cross compiling, check that we can run a simple program.
2451
2944
if test "$cross_compiling" != yes; then
2452
2945
  if { ac_try='./$ac_file'
2453
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454
 
  (eval $ac_try) 2>&5
 
2946
  { (case "(($ac_try" in
 
2947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2948
  *) ac_try_echo=$ac_try;;
 
2949
esac
 
2950
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2951
  (eval "$ac_try") 2>&5
2455
2952
  ac_status=$?
2456
2953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457
2954
  (exit $ac_status); }; }; then
2470
2967
    fi
2471
2968
  fi
2472
2969
fi
2473
 
echo "$as_me:$LINENO: result: yes" >&5
2474
 
echo "${ECHO_T}yes" >&6
 
2970
{ echo "$as_me:$LINENO: result: yes" >&5
 
2971
echo "${ECHO_T}yes" >&6; }
2475
2972
 
2476
2973
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2477
2974
ac_clean_files=$ac_clean_files_save
2478
 
# Check the compiler produces executables we can run.  If not, either
 
2975
# Check that the compiler produces executables we can run.  If not, either
2479
2976
# the compiler is broken, or we cross compile.
2480
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2481
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2482
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2483
 
echo "${ECHO_T}$cross_compiling" >&6
 
2977
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2978
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2979
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2980
echo "${ECHO_T}$cross_compiling" >&6; }
2484
2981
 
2485
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2486
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2487
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2488
 
  (eval $ac_link) 2>&5
 
2982
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2983
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2984
if { (ac_try="$ac_link"
 
2985
case "(($ac_try" in
 
2986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2987
  *) ac_try_echo=$ac_try;;
 
2988
esac
 
2989
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2990
  (eval "$ac_link") 2>&5
2489
2991
  ac_status=$?
2490
2992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491
2993
  (exit $ac_status); }; then
2496
2998
for ac_file in conftest.exe conftest conftest.*; do
2497
2999
  test -f "$ac_file" || continue
2498
3000
  case $ac_file in
2499
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3001
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2500
3002
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2501
 
          export ac_cv_exeext
2502
3003
          break;;
2503
3004
    * ) break;;
2504
3005
  esac
2512
3013
fi
2513
3014
 
2514
3015
rm -f conftest$ac_cv_exeext
2515
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2516
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3016
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3017
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2517
3018
 
2518
3019
rm -f conftest.$ac_ext
2519
3020
EXEEXT=$ac_cv_exeext
2520
3021
ac_exeext=$EXEEXT
2521
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2522
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3022
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3023
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2523
3024
if test "${ac_cv_objext+set}" = set; then
2524
3025
  echo $ECHO_N "(cached) $ECHO_C" >&6
2525
3026
else
2539
3040
}
2540
3041
_ACEOF
2541
3042
rm -f conftest.o conftest.obj
2542
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2543
 
  (eval $ac_compile) 2>&5
 
3043
if { (ac_try="$ac_compile"
 
3044
case "(($ac_try" in
 
3045
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3046
  *) ac_try_echo=$ac_try;;
 
3047
esac
 
3048
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3049
  (eval "$ac_compile") 2>&5
2544
3050
  ac_status=$?
2545
3051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546
3052
  (exit $ac_status); }; then
2547
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3053
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3054
  test -f "$ac_file" || continue;
2548
3055
  case $ac_file in
2549
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3056
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2550
3057
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2551
3058
       break;;
2552
3059
  esac
2564
3071
 
2565
3072
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2566
3073
fi
2567
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2568
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3074
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3075
echo "${ECHO_T}$ac_cv_objext" >&6; }
2569
3076
OBJEXT=$ac_cv_objext
2570
3077
ac_objext=$OBJEXT
2571
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2572
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3078
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3079
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2573
3080
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2574
3081
  echo $ECHO_N "(cached) $ECHO_C" >&6
2575
3082
else
2592
3099
}
2593
3100
_ACEOF
2594
3101
rm -f conftest.$ac_objext
2595
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596
 
  (eval $ac_compile) 2>conftest.er1
 
3102
if { (ac_try="$ac_compile"
 
3103
case "(($ac_try" in
 
3104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3105
  *) ac_try_echo=$ac_try;;
 
3106
esac
 
3107
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3108
  (eval "$ac_compile") 2>conftest.er1
2597
3109
  ac_status=$?
2598
3110
  grep -v '^ *+' conftest.er1 >conftest.err
2599
3111
  rm -f conftest.er1
2600
3112
  cat conftest.err >&5
2601
3113
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602
 
  (exit $ac_status); } &&
2603
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2604
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605
 
  (eval $ac_try) 2>&5
2606
 
  ac_status=$?
2607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608
 
  (exit $ac_status); }; } &&
2609
 
         { ac_try='test -s conftest.$ac_objext'
2610
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611
 
  (eval $ac_try) 2>&5
2612
 
  ac_status=$?
2613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614
 
  (exit $ac_status); }; }; then
 
3114
  (exit $ac_status); } && {
 
3115
         test -z "$ac_c_werror_flag" ||
 
3116
         test ! -s conftest.err
 
3117
       } && test -s conftest.$ac_objext; then
2615
3118
  ac_compiler_gnu=yes
2616
3119
else
2617
3120
  echo "$as_me: failed program was:" >&5
2618
3121
sed 's/^/| /' conftest.$ac_ext >&5
2619
3122
 
2620
 
ac_compiler_gnu=no
 
3123
        ac_compiler_gnu=no
2621
3124
fi
2622
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3125
 
 
3126
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2623
3127
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2624
3128
 
2625
3129
fi
2626
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2627
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3130
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3131
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2628
3132
GCC=`test $ac_compiler_gnu = yes && echo yes`
2629
3133
ac_test_CFLAGS=${CFLAGS+set}
2630
3134
ac_save_CFLAGS=$CFLAGS
2631
 
CFLAGS="-g"
2632
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2633
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3135
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3136
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2634
3137
if test "${ac_cv_prog_cc_g+set}" = set; then
2635
3138
  echo $ECHO_N "(cached) $ECHO_C" >&6
2636
3139
else
2637
 
  cat >conftest.$ac_ext <<_ACEOF
2638
 
/* confdefs.h.  */
2639
 
_ACEOF
2640
 
cat confdefs.h >>conftest.$ac_ext
2641
 
cat >>conftest.$ac_ext <<_ACEOF
2642
 
/* end confdefs.h.  */
2643
 
 
2644
 
int
2645
 
main ()
2646
 
{
2647
 
 
2648
 
  ;
2649
 
  return 0;
2650
 
}
2651
 
_ACEOF
2652
 
rm -f conftest.$ac_objext
2653
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2654
 
  (eval $ac_compile) 2>conftest.er1
2655
 
  ac_status=$?
2656
 
  grep -v '^ *+' conftest.er1 >conftest.err
2657
 
  rm -f conftest.er1
2658
 
  cat conftest.err >&5
2659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660
 
  (exit $ac_status); } &&
2661
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2662
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663
 
  (eval $ac_try) 2>&5
2664
 
  ac_status=$?
2665
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666
 
  (exit $ac_status); }; } &&
2667
 
         { ac_try='test -s conftest.$ac_objext'
2668
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669
 
  (eval $ac_try) 2>&5
2670
 
  ac_status=$?
2671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672
 
  (exit $ac_status); }; }; then
2673
 
  ac_cv_prog_cc_g=yes
2674
 
else
2675
 
  echo "$as_me: failed program was:" >&5
2676
 
sed 's/^/| /' conftest.$ac_ext >&5
2677
 
 
2678
 
ac_cv_prog_cc_g=no
2679
 
fi
2680
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2681
 
fi
2682
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2683
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3140
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3141
   ac_c_werror_flag=yes
 
3142
   ac_cv_prog_cc_g=no
 
3143
   CFLAGS="-g"
 
3144
   cat >conftest.$ac_ext <<_ACEOF
 
3145
/* confdefs.h.  */
 
3146
_ACEOF
 
3147
cat confdefs.h >>conftest.$ac_ext
 
3148
cat >>conftest.$ac_ext <<_ACEOF
 
3149
/* end confdefs.h.  */
 
3150
 
 
3151
int
 
3152
main ()
 
3153
{
 
3154
 
 
3155
  ;
 
3156
  return 0;
 
3157
}
 
3158
_ACEOF
 
3159
rm -f conftest.$ac_objext
 
3160
if { (ac_try="$ac_compile"
 
3161
case "(($ac_try" in
 
3162
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3163
  *) ac_try_echo=$ac_try;;
 
3164
esac
 
3165
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3166
  (eval "$ac_compile") 2>conftest.er1
 
3167
  ac_status=$?
 
3168
  grep -v '^ *+' conftest.er1 >conftest.err
 
3169
  rm -f conftest.er1
 
3170
  cat conftest.err >&5
 
3171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3172
  (exit $ac_status); } && {
 
3173
         test -z "$ac_c_werror_flag" ||
 
3174
         test ! -s conftest.err
 
3175
       } && test -s conftest.$ac_objext; then
 
3176
  ac_cv_prog_cc_g=yes
 
3177
else
 
3178
  echo "$as_me: failed program was:" >&5
 
3179
sed 's/^/| /' conftest.$ac_ext >&5
 
3180
 
 
3181
        CFLAGS=""
 
3182
      cat >conftest.$ac_ext <<_ACEOF
 
3183
/* confdefs.h.  */
 
3184
_ACEOF
 
3185
cat confdefs.h >>conftest.$ac_ext
 
3186
cat >>conftest.$ac_ext <<_ACEOF
 
3187
/* end confdefs.h.  */
 
3188
 
 
3189
int
 
3190
main ()
 
3191
{
 
3192
 
 
3193
  ;
 
3194
  return 0;
 
3195
}
 
3196
_ACEOF
 
3197
rm -f conftest.$ac_objext
 
3198
if { (ac_try="$ac_compile"
 
3199
case "(($ac_try" in
 
3200
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3201
  *) ac_try_echo=$ac_try;;
 
3202
esac
 
3203
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3204
  (eval "$ac_compile") 2>conftest.er1
 
3205
  ac_status=$?
 
3206
  grep -v '^ *+' conftest.er1 >conftest.err
 
3207
  rm -f conftest.er1
 
3208
  cat conftest.err >&5
 
3209
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3210
  (exit $ac_status); } && {
 
3211
         test -z "$ac_c_werror_flag" ||
 
3212
         test ! -s conftest.err
 
3213
       } && test -s conftest.$ac_objext; then
 
3214
  :
 
3215
else
 
3216
  echo "$as_me: failed program was:" >&5
 
3217
sed 's/^/| /' conftest.$ac_ext >&5
 
3218
 
 
3219
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3220
         CFLAGS="-g"
 
3221
         cat >conftest.$ac_ext <<_ACEOF
 
3222
/* confdefs.h.  */
 
3223
_ACEOF
 
3224
cat confdefs.h >>conftest.$ac_ext
 
3225
cat >>conftest.$ac_ext <<_ACEOF
 
3226
/* end confdefs.h.  */
 
3227
 
 
3228
int
 
3229
main ()
 
3230
{
 
3231
 
 
3232
  ;
 
3233
  return 0;
 
3234
}
 
3235
_ACEOF
 
3236
rm -f conftest.$ac_objext
 
3237
if { (ac_try="$ac_compile"
 
3238
case "(($ac_try" in
 
3239
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3240
  *) ac_try_echo=$ac_try;;
 
3241
esac
 
3242
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3243
  (eval "$ac_compile") 2>conftest.er1
 
3244
  ac_status=$?
 
3245
  grep -v '^ *+' conftest.er1 >conftest.err
 
3246
  rm -f conftest.er1
 
3247
  cat conftest.err >&5
 
3248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3249
  (exit $ac_status); } && {
 
3250
         test -z "$ac_c_werror_flag" ||
 
3251
         test ! -s conftest.err
 
3252
       } && test -s conftest.$ac_objext; then
 
3253
  ac_cv_prog_cc_g=yes
 
3254
else
 
3255
  echo "$as_me: failed program was:" >&5
 
3256
sed 's/^/| /' conftest.$ac_ext >&5
 
3257
 
 
3258
        
 
3259
fi
 
3260
 
 
3261
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3262
fi
 
3263
 
 
3264
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3265
fi
 
3266
 
 
3267
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3268
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3269
fi
 
3270
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3271
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2684
3272
if test "$ac_test_CFLAGS" = set; then
2685
3273
  CFLAGS=$ac_save_CFLAGS
2686
3274
elif test $ac_cv_prog_cc_g = yes; then
2696
3284
    CFLAGS=
2697
3285
  fi
2698
3286
fi
2699
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2700
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2701
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3287
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3288
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3289
if test "${ac_cv_prog_cc_c89+set}" = set; then
2702
3290
  echo $ECHO_N "(cached) $ECHO_C" >&6
2703
3291
else
2704
 
  ac_cv_prog_cc_stdc=no
 
3292
  ac_cv_prog_cc_c89=no
2705
3293
ac_save_CC=$CC
2706
3294
cat >conftest.$ac_ext <<_ACEOF
2707
3295
/* confdefs.h.  */
2735
3323
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2736
3324
   function prototypes and stuff, but not '\xHH' hex character constants.
2737
3325
   These don't provoke an error unfortunately, instead are silently treated
2738
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3326
   as 'x'.  The following induces an error, until -std is added to get
2739
3327
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2740
3328
   array size at least.  It's necessary to write '\x00'==0 to get something
2741
 
   that's true only with -std1.  */
 
3329
   that's true only with -std.  */
2742
3330
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2743
3331
 
 
3332
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3333
   inside strings and character constants.  */
 
3334
#define FOO(x) 'x'
 
3335
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3336
 
2744
3337
int test (int i, double x);
2745
3338
struct s1 {int (*f) (int a);};
2746
3339
struct s2 {int (*f) (double a);};
2755
3348
  return 0;
2756
3349
}
2757
3350
_ACEOF
2758
 
# Don't try gcc -ansi; that turns off useful extensions and
2759
 
# breaks some systems' header files.
2760
 
# AIX                   -qlanglvl=ansi
2761
 
# Ultrix and OSF/1      -std1
2762
 
# HP-UX 10.20 and later -Ae
2763
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2764
 
# SVR4                  -Xc -D__EXTENSIONS__
2765
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3351
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3352
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2766
3353
do
2767
3354
  CC="$ac_save_CC $ac_arg"
2768
3355
  rm -f conftest.$ac_objext
2769
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770
 
  (eval $ac_compile) 2>conftest.er1
 
3356
if { (ac_try="$ac_compile"
 
3357
case "(($ac_try" in
 
3358
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3359
  *) ac_try_echo=$ac_try;;
 
3360
esac
 
3361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3362
  (eval "$ac_compile") 2>conftest.er1
2771
3363
  ac_status=$?
2772
3364
  grep -v '^ *+' conftest.er1 >conftest.err
2773
3365
  rm -f conftest.er1
2774
3366
  cat conftest.err >&5
2775
3367
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776
 
  (exit $ac_status); } &&
2777
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2778
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779
 
  (eval $ac_try) 2>&5
2780
 
  ac_status=$?
2781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782
 
  (exit $ac_status); }; } &&
2783
 
         { ac_try='test -s conftest.$ac_objext'
2784
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785
 
  (eval $ac_try) 2>&5
2786
 
  ac_status=$?
2787
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788
 
  (exit $ac_status); }; }; then
2789
 
  ac_cv_prog_cc_stdc=$ac_arg
2790
 
break
 
3368
  (exit $ac_status); } && {
 
3369
         test -z "$ac_c_werror_flag" ||
 
3370
         test ! -s conftest.err
 
3371
       } && test -s conftest.$ac_objext; then
 
3372
  ac_cv_prog_cc_c89=$ac_arg
2791
3373
else
2792
3374
  echo "$as_me: failed program was:" >&5
2793
3375
sed 's/^/| /' conftest.$ac_ext >&5
2794
3376
 
 
3377
        
2795
3378
fi
2796
 
rm -f conftest.err conftest.$ac_objext 
 
3379
 
 
3380
rm -f core conftest.err conftest.$ac_objext 
 
3381
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2797
3382
done
2798
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3383
rm -f conftest.$ac_ext
2799
3384
CC=$ac_save_CC
2800
3385
 
2801
3386
fi
2802
 
 
2803
 
case "x$ac_cv_prog_cc_stdc" in
2804
 
  x|xno)
2805
 
    echo "$as_me:$LINENO: result: none needed" >&5
2806
 
echo "${ECHO_T}none needed" >&6 ;;
 
3387
# AC_CACHE_VAL
 
3388
case "x$ac_cv_prog_cc_c89" in
 
3389
  x)
 
3390
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3391
echo "${ECHO_T}none needed" >&6; } ;;
 
3392
  xno)
 
3393
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3394
echo "${ECHO_T}unsupported" >&6; } ;;
2807
3395
  *)
2808
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2809
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2810
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3396
    CC="$CC $ac_cv_prog_cc_c89"
 
3397
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3398
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2811
3399
esac
2812
3400
 
2813
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2814
 
# in C++ we need to declare it.  In case someone uses the same compiler
2815
 
# for both compiling C and C++ we need to have the C++ compiler decide
2816
 
# the declaration of exit, since it's the most demanding environment.
2817
 
cat >conftest.$ac_ext <<_ACEOF
2818
 
@%:@ifndef __cplusplus
2819
 
  choke me
2820
 
@%:@endif
2821
 
_ACEOF
2822
 
rm -f conftest.$ac_objext
2823
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824
 
  (eval $ac_compile) 2>conftest.er1
2825
 
  ac_status=$?
2826
 
  grep -v '^ *+' conftest.er1 >conftest.err
2827
 
  rm -f conftest.er1
2828
 
  cat conftest.err >&5
2829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830
 
  (exit $ac_status); } &&
2831
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2832
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2833
 
  (eval $ac_try) 2>&5
2834
 
  ac_status=$?
2835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836
 
  (exit $ac_status); }; } &&
2837
 
         { ac_try='test -s conftest.$ac_objext'
2838
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2839
 
  (eval $ac_try) 2>&5
2840
 
  ac_status=$?
2841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842
 
  (exit $ac_status); }; }; then
2843
 
  for ac_declaration in \
2844
 
   '' \
2845
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2846
 
   'extern "C" void std::exit (int); using std::exit;' \
2847
 
   'extern "C" void exit (int) throw ();' \
2848
 
   'extern "C" void exit (int);' \
2849
 
   'void exit (int);'
2850
 
do
2851
 
  cat >conftest.$ac_ext <<_ACEOF
2852
 
/* confdefs.h.  */
2853
 
_ACEOF
2854
 
cat confdefs.h >>conftest.$ac_ext
2855
 
cat >>conftest.$ac_ext <<_ACEOF
2856
 
/* end confdefs.h.  */
2857
 
$ac_declaration
2858
 
@%:@include <stdlib.h>
2859
 
int
2860
 
main ()
2861
 
{
2862
 
exit (42);
2863
 
  ;
2864
 
  return 0;
2865
 
}
2866
 
_ACEOF
2867
 
rm -f conftest.$ac_objext
2868
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2869
 
  (eval $ac_compile) 2>conftest.er1
2870
 
  ac_status=$?
2871
 
  grep -v '^ *+' conftest.er1 >conftest.err
2872
 
  rm -f conftest.er1
2873
 
  cat conftest.err >&5
2874
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875
 
  (exit $ac_status); } &&
2876
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2877
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878
 
  (eval $ac_try) 2>&5
2879
 
  ac_status=$?
2880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881
 
  (exit $ac_status); }; } &&
2882
 
         { ac_try='test -s conftest.$ac_objext'
2883
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884
 
  (eval $ac_try) 2>&5
2885
 
  ac_status=$?
2886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887
 
  (exit $ac_status); }; }; then
2888
 
  :
2889
 
else
2890
 
  echo "$as_me: failed program was:" >&5
2891
 
sed 's/^/| /' conftest.$ac_ext >&5
2892
 
 
2893
 
continue
2894
 
fi
2895
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2896
 
  cat >conftest.$ac_ext <<_ACEOF
2897
 
/* confdefs.h.  */
2898
 
_ACEOF
2899
 
cat confdefs.h >>conftest.$ac_ext
2900
 
cat >>conftest.$ac_ext <<_ACEOF
2901
 
/* end confdefs.h.  */
2902
 
$ac_declaration
2903
 
int
2904
 
main ()
2905
 
{
2906
 
exit (42);
2907
 
  ;
2908
 
  return 0;
2909
 
}
2910
 
_ACEOF
2911
 
rm -f conftest.$ac_objext
2912
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2913
 
  (eval $ac_compile) 2>conftest.er1
2914
 
  ac_status=$?
2915
 
  grep -v '^ *+' conftest.er1 >conftest.err
2916
 
  rm -f conftest.er1
2917
 
  cat conftest.err >&5
2918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919
 
  (exit $ac_status); } &&
2920
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2921
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2922
 
  (eval $ac_try) 2>&5
2923
 
  ac_status=$?
2924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925
 
  (exit $ac_status); }; } &&
2926
 
         { ac_try='test -s conftest.$ac_objext'
2927
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2928
 
  (eval $ac_try) 2>&5
2929
 
  ac_status=$?
2930
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931
 
  (exit $ac_status); }; }; then
2932
 
  break
2933
 
else
2934
 
  echo "$as_me: failed program was:" >&5
2935
 
sed 's/^/| /' conftest.$ac_ext >&5
2936
 
 
2937
 
fi
2938
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2939
 
done
2940
 
rm -f conftest*
2941
 
if test -n "$ac_declaration"; then
2942
 
  echo '#ifdef __cplusplus' >>confdefs.h
2943
 
  echo $ac_declaration      >>confdefs.h
2944
 
  echo '#endif'             >>confdefs.h
2945
 
fi
2946
 
 
2947
 
else
2948
 
  echo "$as_me: failed program was:" >&5
2949
 
sed 's/^/| /' conftest.$ac_ext >&5
2950
 
 
2951
 
fi
2952
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3401
 
2953
3402
ac_ext=c
2954
3403
ac_cpp='$CPP $CPPFLAGS'
2955
3404
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957
3406
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958
3407
DEPDIR="${am__leading_dot}deps"
2959
3408
 
2960
 
          ac_config_commands="$ac_config_commands depfiles"
 
3409
ac_config_commands="$ac_config_commands depfiles"
2961
3410
 
2962
3411
 
2963
3412
am_make=${MAKE-make}
2967
3416
.PHONY: am__doit
2968
3417
END
2969
3418
# If we don't find an include directive, just comment out the code.
2970
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2971
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3419
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3420
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2972
3421
am__include="#"
2973
3422
am__quote=
2974
3423
_am_result=none
2995
3444
fi
2996
3445
 
2997
3446
 
2998
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2999
 
echo "${ECHO_T}$_am_result" >&6
 
3447
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3448
echo "${ECHO_T}$_am_result" >&6; }
3000
3449
rm -f confinc confmf
3001
3450
 
3002
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3451
# Check whether --enable-dependency-tracking was given.
3003
3452
if test "${enable_dependency_tracking+set}" = set; then
3004
 
  enableval="$enable_dependency_tracking"
3005
 
  
3006
 
fi; 
 
3453
  enableval=$enable_dependency_tracking; 
 
3454
fi
 
3455
 
3007
3456
if test "x$enable_dependency_tracking" != xno; then
3008
3457
  am_depcomp="$ac_aux_dir/depcomp"
3009
3458
  AMDEPBACKSLASH='\'
3023
3472
 
3024
3473
depcc="$CC"   am_compiler_list=
3025
3474
 
3026
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3027
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3475
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3476
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3028
3477
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3029
3478
  echo $ECHO_N "(cached) $ECHO_C" >&6
3030
3479
else
3113
3562
fi
3114
3563
 
3115
3564
fi
3116
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3117
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3565
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3566
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3118
3567
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3119
3568
 
3120
3569
 
3135
3584
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3136
3585
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3137
3586
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3138
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3139
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3587
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3588
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3140
3589
# On Suns, sometimes $CPP names a directory.
3141
3590
if test -n "$CPP" && test -d "$CPP"; then
3142
3591
  CPP=
3170
3619
@%:@endif
3171
3620
                     Syntax error
3172
3621
_ACEOF
3173
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3174
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3622
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3623
case "(($ac_try" in
 
3624
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3625
  *) ac_try_echo=$ac_try;;
 
3626
esac
 
3627
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3628
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3175
3629
  ac_status=$?
3176
3630
  grep -v '^ *+' conftest.er1 >conftest.err
3177
3631
  rm -f conftest.er1
3178
3632
  cat conftest.err >&5
3179
3633
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180
 
  (exit $ac_status); } >/dev/null; then
3181
 
  if test -s conftest.err; then
3182
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3183
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3184
 
  else
3185
 
    ac_cpp_err=
3186
 
  fi
3187
 
else
3188
 
  ac_cpp_err=yes
3189
 
fi
3190
 
if test -z "$ac_cpp_err"; then
 
3634
  (exit $ac_status); } >/dev/null && {
 
3635
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3636
         test ! -s conftest.err
 
3637
       }; then
3191
3638
  :
3192
3639
else
3193
3640
  echo "$as_me: failed program was:" >&5
3196
3643
  # Broken: fails on valid input.
3197
3644
continue
3198
3645
fi
 
3646
 
3199
3647
rm -f conftest.err conftest.$ac_ext
3200
3648
 
3201
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3649
  # OK, works on sane cases.  Now check whether nonexistent headers
3202
3650
  # can be detected and how.
3203
3651
  cat >conftest.$ac_ext <<_ACEOF
3204
3652
/* confdefs.h.  */
3208
3656
/* end confdefs.h.  */
3209
3657
@%:@include <ac_nonexistent.h>
3210
3658
_ACEOF
3211
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3212
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3659
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3660
case "(($ac_try" in
 
3661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3662
  *) ac_try_echo=$ac_try;;
 
3663
esac
 
3664
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3665
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3213
3666
  ac_status=$?
3214
3667
  grep -v '^ *+' conftest.er1 >conftest.err
3215
3668
  rm -f conftest.er1
3216
3669
  cat conftest.err >&5
3217
3670
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218
 
  (exit $ac_status); } >/dev/null; then
3219
 
  if test -s conftest.err; then
3220
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3221
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3222
 
  else
3223
 
    ac_cpp_err=
3224
 
  fi
3225
 
else
3226
 
  ac_cpp_err=yes
3227
 
fi
3228
 
if test -z "$ac_cpp_err"; then
 
3671
  (exit $ac_status); } >/dev/null && {
 
3672
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3673
         test ! -s conftest.err
 
3674
       }; then
3229
3675
  # Broken: success on invalid input.
3230
3676
continue
3231
3677
else
3236
3682
ac_preproc_ok=:
3237
3683
break
3238
3684
fi
 
3685
 
3239
3686
rm -f conftest.err conftest.$ac_ext
3240
3687
 
3241
3688
done
3253
3700
else
3254
3701
  ac_cv_prog_CPP=$CPP
3255
3702
fi
3256
 
echo "$as_me:$LINENO: result: $CPP" >&5
3257
 
echo "${ECHO_T}$CPP" >&6
 
3703
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3704
echo "${ECHO_T}$CPP" >&6; }
3258
3705
ac_preproc_ok=false
3259
3706
for ac_c_preproc_warn_flag in '' yes
3260
3707
do
3277
3724
@%:@endif
3278
3725
                     Syntax error
3279
3726
_ACEOF
3280
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3281
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3727
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3728
case "(($ac_try" in
 
3729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3730
  *) ac_try_echo=$ac_try;;
 
3731
esac
 
3732
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3733
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3282
3734
  ac_status=$?
3283
3735
  grep -v '^ *+' conftest.er1 >conftest.err
3284
3736
  rm -f conftest.er1
3285
3737
  cat conftest.err >&5
3286
3738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287
 
  (exit $ac_status); } >/dev/null; then
3288
 
  if test -s conftest.err; then
3289
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3290
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3291
 
  else
3292
 
    ac_cpp_err=
3293
 
  fi
3294
 
else
3295
 
  ac_cpp_err=yes
3296
 
fi
3297
 
if test -z "$ac_cpp_err"; then
 
3739
  (exit $ac_status); } >/dev/null && {
 
3740
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3741
         test ! -s conftest.err
 
3742
       }; then
3298
3743
  :
3299
3744
else
3300
3745
  echo "$as_me: failed program was:" >&5
3303
3748
  # Broken: fails on valid input.
3304
3749
continue
3305
3750
fi
 
3751
 
3306
3752
rm -f conftest.err conftest.$ac_ext
3307
3753
 
3308
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3754
  # OK, works on sane cases.  Now check whether nonexistent headers
3309
3755
  # can be detected and how.
3310
3756
  cat >conftest.$ac_ext <<_ACEOF
3311
3757
/* confdefs.h.  */
3315
3761
/* end confdefs.h.  */
3316
3762
@%:@include <ac_nonexistent.h>
3317
3763
_ACEOF
3318
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3319
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3764
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3765
case "(($ac_try" in
 
3766
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3767
  *) ac_try_echo=$ac_try;;
 
3768
esac
 
3769
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3770
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3320
3771
  ac_status=$?
3321
3772
  grep -v '^ *+' conftest.er1 >conftest.err
3322
3773
  rm -f conftest.er1
3323
3774
  cat conftest.err >&5
3324
3775
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325
 
  (exit $ac_status); } >/dev/null; then
3326
 
  if test -s conftest.err; then
3327
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3328
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3329
 
  else
3330
 
    ac_cpp_err=
3331
 
  fi
3332
 
else
3333
 
  ac_cpp_err=yes
3334
 
fi
3335
 
if test -z "$ac_cpp_err"; then
 
3776
  (exit $ac_status); } >/dev/null && {
 
3777
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3778
         test ! -s conftest.err
 
3779
       }; then
3336
3780
  # Broken: success on invalid input.
3337
3781
continue
3338
3782
else
3343
3787
ac_preproc_ok=:
3344
3788
break
3345
3789
fi
 
3790
 
3346
3791
rm -f conftest.err conftest.$ac_ext
3347
3792
 
3348
3793
done
3377
3822
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3378
3823
# OS/2's system install, which has a completely different semantic
3379
3824
# ./install, which can be erroneously created by make from ./install.sh.
3380
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3381
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
3825
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3826
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3382
3827
if test -z "$INSTALL"; then
3383
3828
if test "${ac_cv_path_install+set}" = set; then
3384
3829
  echo $ECHO_N "(cached) $ECHO_C" >&6
3400
3845
    # by default.
3401
3846
    for ac_prog in ginstall scoinst install; do
3402
3847
      for ac_exec_ext in '' $ac_executable_extensions; do
3403
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
3848
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3404
3849
          if test $ac_prog = install &&
3405
3850
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3406
3851
            # AIX install.  It has an incompatible calling convention.
3419
3864
    ;;
3420
3865
esac
3421
3866
done
 
3867
IFS=$as_save_IFS
3422
3868
 
3423
3869
 
3424
3870
fi
3425
3871
  if test "${ac_cv_path_install+set}" = set; then
3426
3872
    INSTALL=$ac_cv_path_install
3427
3873
  else
3428
 
    # As a last resort, use the slow shell script.  We don't cache a
3429
 
    # path for INSTALL within a source directory, because that will
 
3874
    # As a last resort, use the slow shell script.  Don't cache a
 
3875
    # value for INSTALL within a source directory, because that will
3430
3876
    # break other packages using the cache if that directory is
3431
 
    # removed, or if the path is relative.
 
3877
    # removed, or if the value is a relative name.
3432
3878
    INSTALL=$ac_install_sh
3433
3879
  fi
3434
3880
fi
3435
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
3436
 
echo "${ECHO_T}$INSTALL" >&6
 
3881
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3882
echo "${ECHO_T}$INSTALL" >&6; }
3437
3883
 
3438
3884
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3439
3885
# It thinks the first close brace ends the variable substitution.
3443
3889
 
3444
3890
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3445
3891
 
3446
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3447
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
3892
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
3893
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3448
3894
LN_S=$as_ln_s
3449
3895
if test "$LN_S" = "ln -s"; then
3450
 
  echo "$as_me:$LINENO: result: yes" >&5
3451
 
echo "${ECHO_T}yes" >&6
 
3896
  { echo "$as_me:$LINENO: result: yes" >&5
 
3897
echo "${ECHO_T}yes" >&6; }
3452
3898
else
3453
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3454
 
echo "${ECHO_T}no, using $LN_S" >&6
 
3899
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
3900
echo "${ECHO_T}no, using $LN_S" >&6; }
3455
3901
fi
3456
3902
 
3457
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3459
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3460
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
3903
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3904
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
3905
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3906
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3461
3907
  echo $ECHO_N "(cached) $ECHO_C" >&6
3462
3908
else
3463
3909
  cat >conftest.make <<\_ACEOF
 
3910
SHELL = /bin/sh
3464
3911
all:
3465
 
        @echo 'ac_maketemp="$(MAKE)"'
 
3912
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3466
3913
_ACEOF
3467
3914
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3468
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3469
 
if test -n "$ac_maketemp"; then
3470
 
  eval ac_cv_prog_make_${ac_make}_set=yes
3471
 
else
3472
 
  eval ac_cv_prog_make_${ac_make}_set=no
3473
 
fi
 
3915
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3916
  *@@@%%%=?*=@@@%%%*)
 
3917
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3918
  *)
 
3919
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3920
esac
3474
3921
rm -f conftest.make
3475
3922
fi
3476
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3477
 
  echo "$as_me:$LINENO: result: yes" >&5
3478
 
echo "${ECHO_T}yes" >&6
 
3923
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3924
  { echo "$as_me:$LINENO: result: yes" >&5
 
3925
echo "${ECHO_T}yes" >&6; }
3479
3926
  SET_MAKE=
3480
3927
else
3481
 
  echo "$as_me:$LINENO: result: no" >&5
3482
 
echo "${ECHO_T}no" >&6
 
3928
  { echo "$as_me:$LINENO: result: no" >&5
 
3929
echo "${ECHO_T}no" >&6; }
3483
3930
  SET_MAKE="MAKE=${MAKE-make}"
3484
3931
fi
3485
3932
 
3486
3933
 
3487
3934
 
3488
3935
 
3489
 
echo "$as_me:$LINENO: checking for egrep" >&5
3490
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3491
 
if test "${ac_cv_prog_egrep+set}" = set; then
3492
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3493
 
else
3494
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3495
 
    then ac_cv_prog_egrep='grep -E'
3496
 
    else ac_cv_prog_egrep='egrep'
3497
 
    fi
3498
 
fi
3499
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3500
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3501
 
 EGREP=$ac_cv_prog_egrep
3502
 
 
3503
 
 
3504
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3505
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
3936
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3937
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3938
if test "${ac_cv_path_GREP+set}" = set; then
 
3939
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3940
else
 
3941
  # Extract the first word of "grep ggrep" to use in msg output
 
3942
if test -z "$GREP"; then
 
3943
set dummy grep ggrep; ac_prog_name=$2
 
3944
if test "${ac_cv_path_GREP+set}" = set; then
 
3945
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3946
else
 
3947
  ac_path_GREP_found=false
 
3948
# Loop through the user's path and test for each of PROGNAME-LIST
 
3949
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3950
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3951
do
 
3952
  IFS=$as_save_IFS
 
3953
  test -z "$as_dir" && as_dir=.
 
3954
  for ac_prog in grep ggrep; do
 
3955
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3956
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3957
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3958
    # Check for GNU ac_path_GREP and select it if it is found.
 
3959
  # Check for GNU $ac_path_GREP
 
3960
case `"$ac_path_GREP" --version 2>&1` in
 
3961
*GNU*)
 
3962
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3963
*)
 
3964
  ac_count=0
 
3965
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3966
  while :
 
3967
  do
 
3968
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3969
    mv "conftest.tmp" "conftest.in"
 
3970
    cp "conftest.in" "conftest.nl"
 
3971
    echo 'GREP' >> "conftest.nl"
 
3972
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3973
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3974
    ac_count=`expr $ac_count + 1`
 
3975
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3976
      # Best one so far, save it but keep looking for a better one
 
3977
      ac_cv_path_GREP="$ac_path_GREP"
 
3978
      ac_path_GREP_max=$ac_count
 
3979
    fi
 
3980
    # 10*(2^10) chars as input seems more than enough
 
3981
    test $ac_count -gt 10 && break
 
3982
  done
 
3983
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3984
esac
 
3985
 
 
3986
 
 
3987
    $ac_path_GREP_found && break 3
 
3988
  done
 
3989
done
 
3990
 
 
3991
done
 
3992
IFS=$as_save_IFS
 
3993
 
 
3994
 
 
3995
fi
 
3996
 
 
3997
GREP="$ac_cv_path_GREP"
 
3998
if test -z "$GREP"; then
 
3999
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4000
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4001
   { (exit 1); exit 1; }; }
 
4002
fi
 
4003
 
 
4004
else
 
4005
  ac_cv_path_GREP=$GREP
 
4006
fi
 
4007
 
 
4008
 
 
4009
fi
 
4010
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4011
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4012
 GREP="$ac_cv_path_GREP"
 
4013
 
 
4014
 
 
4015
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4016
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4017
if test "${ac_cv_path_EGREP+set}" = set; then
 
4018
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4019
else
 
4020
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4021
   then ac_cv_path_EGREP="$GREP -E"
 
4022
   else
 
4023
     # Extract the first word of "egrep" to use in msg output
 
4024
if test -z "$EGREP"; then
 
4025
set dummy egrep; ac_prog_name=$2
 
4026
if test "${ac_cv_path_EGREP+set}" = set; then
 
4027
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4028
else
 
4029
  ac_path_EGREP_found=false
 
4030
# Loop through the user's path and test for each of PROGNAME-LIST
 
4031
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4032
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4033
do
 
4034
  IFS=$as_save_IFS
 
4035
  test -z "$as_dir" && as_dir=.
 
4036
  for ac_prog in egrep; do
 
4037
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4038
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4039
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4040
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4041
  # Check for GNU $ac_path_EGREP
 
4042
case `"$ac_path_EGREP" --version 2>&1` in
 
4043
*GNU*)
 
4044
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4045
*)
 
4046
  ac_count=0
 
4047
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4048
  while :
 
4049
  do
 
4050
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4051
    mv "conftest.tmp" "conftest.in"
 
4052
    cp "conftest.in" "conftest.nl"
 
4053
    echo 'EGREP' >> "conftest.nl"
 
4054
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4055
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4056
    ac_count=`expr $ac_count + 1`
 
4057
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4058
      # Best one so far, save it but keep looking for a better one
 
4059
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4060
      ac_path_EGREP_max=$ac_count
 
4061
    fi
 
4062
    # 10*(2^10) chars as input seems more than enough
 
4063
    test $ac_count -gt 10 && break
 
4064
  done
 
4065
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4066
esac
 
4067
 
 
4068
 
 
4069
    $ac_path_EGREP_found && break 3
 
4070
  done
 
4071
done
 
4072
 
 
4073
done
 
4074
IFS=$as_save_IFS
 
4075
 
 
4076
 
 
4077
fi
 
4078
 
 
4079
EGREP="$ac_cv_path_EGREP"
 
4080
if test -z "$EGREP"; then
 
4081
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4082
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4083
   { (exit 1); exit 1; }; }
 
4084
fi
 
4085
 
 
4086
else
 
4087
  ac_cv_path_EGREP=$EGREP
 
4088
fi
 
4089
 
 
4090
 
 
4091
   fi
 
4092
fi
 
4093
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4094
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4095
 EGREP="$ac_cv_path_EGREP"
 
4096
 
 
4097
 
 
4098
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4099
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3506
4100
if test "${ac_cv_header_stdc+set}" = set; then
3507
4101
  echo $ECHO_N "(cached) $ECHO_C" >&6
3508
4102
else
3526
4120
}
3527
4121
_ACEOF
3528
4122
rm -f conftest.$ac_objext
3529
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3530
 
  (eval $ac_compile) 2>conftest.er1
 
4123
if { (ac_try="$ac_compile"
 
4124
case "(($ac_try" in
 
4125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4126
  *) ac_try_echo=$ac_try;;
 
4127
esac
 
4128
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4129
  (eval "$ac_compile") 2>conftest.er1
3531
4130
  ac_status=$?
3532
4131
  grep -v '^ *+' conftest.er1 >conftest.err
3533
4132
  rm -f conftest.er1
3534
4133
  cat conftest.err >&5
3535
4134
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536
 
  (exit $ac_status); } &&
3537
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3538
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3539
 
  (eval $ac_try) 2>&5
3540
 
  ac_status=$?
3541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542
 
  (exit $ac_status); }; } &&
3543
 
         { ac_try='test -s conftest.$ac_objext'
3544
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545
 
  (eval $ac_try) 2>&5
3546
 
  ac_status=$?
3547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548
 
  (exit $ac_status); }; }; then
 
4135
  (exit $ac_status); } && {
 
4136
         test -z "$ac_c_werror_flag" ||
 
4137
         test ! -s conftest.err
 
4138
       } && test -s conftest.$ac_objext; then
3549
4139
  ac_cv_header_stdc=yes
3550
4140
else
3551
4141
  echo "$as_me: failed program was:" >&5
3552
4142
sed 's/^/| /' conftest.$ac_ext >&5
3553
4143
 
3554
 
ac_cv_header_stdc=no
 
4144
        ac_cv_header_stdc=no
3555
4145
fi
3556
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4146
 
 
4147
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557
4148
 
3558
4149
if test $ac_cv_header_stdc = yes; then
3559
4150
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3609
4200
cat >>conftest.$ac_ext <<_ACEOF
3610
4201
/* end confdefs.h.  */
3611
4202
#include <ctype.h>
 
4203
#include <stdlib.h>
3612
4204
#if ((' ' & 0x0FF) == 0x020)
3613
4205
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3614
4206
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3628
4220
  for (i = 0; i < 256; i++)
3629
4221
    if (XOR (islower (i), ISLOWER (i))
3630
4222
        || toupper (i) != TOUPPER (i))
3631
 
      exit(2);
3632
 
  exit (0);
 
4223
      return 2;
 
4224
  return 0;
3633
4225
}
3634
4226
_ACEOF
3635
4227
rm -f conftest$ac_exeext
3636
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3637
 
  (eval $ac_link) 2>&5
 
4228
if { (ac_try="$ac_link"
 
4229
case "(($ac_try" in
 
4230
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4231
  *) ac_try_echo=$ac_try;;
 
4232
esac
 
4233
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4234
  (eval "$ac_link") 2>&5
3638
4235
  ac_status=$?
3639
4236
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640
4237
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3641
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3642
 
  (eval $ac_try) 2>&5
 
4238
  { (case "(($ac_try" in
 
4239
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4240
  *) ac_try_echo=$ac_try;;
 
4241
esac
 
4242
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4243
  (eval "$ac_try") 2>&5
3643
4244
  ac_status=$?
3644
4245
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645
4246
  (exit $ac_status); }; }; then
3652
4253
( exit $ac_status )
3653
4254
ac_cv_header_stdc=no
3654
4255
fi
3655
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3656
 
fi
3657
 
fi
3658
 
fi
3659
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3660
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4256
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4257
fi
 
4258
 
 
4259
 
 
4260
fi
 
4261
fi
 
4262
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4263
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3661
4264
if test $ac_cv_header_stdc = yes; then
3662
4265
  
3663
4266
cat >>confdefs.h <<\_ACEOF
3680
4283
                  inttypes.h stdint.h unistd.h
3681
4284
do
3682
4285
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3683
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
3684
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3685
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4286
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4287
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4288
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3686
4289
  echo $ECHO_N "(cached) $ECHO_C" >&6
3687
4290
else
3688
4291
  cat >conftest.$ac_ext <<_ACEOF
3696
4299
@%:@include <$ac_header>
3697
4300
_ACEOF
3698
4301
rm -f conftest.$ac_objext
3699
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3700
 
  (eval $ac_compile) 2>conftest.er1
 
4302
if { (ac_try="$ac_compile"
 
4303
case "(($ac_try" in
 
4304
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4305
  *) ac_try_echo=$ac_try;;
 
4306
esac
 
4307
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4308
  (eval "$ac_compile") 2>conftest.er1
3701
4309
  ac_status=$?
3702
4310
  grep -v '^ *+' conftest.er1 >conftest.err
3703
4311
  rm -f conftest.er1
3704
4312
  cat conftest.err >&5
3705
4313
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706
 
  (exit $ac_status); } &&
3707
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3708
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3709
 
  (eval $ac_try) 2>&5
3710
 
  ac_status=$?
3711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712
 
  (exit $ac_status); }; } &&
3713
 
         { ac_try='test -s conftest.$ac_objext'
3714
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3715
 
  (eval $ac_try) 2>&5
3716
 
  ac_status=$?
3717
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718
 
  (exit $ac_status); }; }; then
 
4314
  (exit $ac_status); } && {
 
4315
         test -z "$ac_c_werror_flag" ||
 
4316
         test ! -s conftest.err
 
4317
       } && test -s conftest.$ac_objext; then
3719
4318
  eval "$as_ac_Header=yes"
3720
4319
else
3721
4320
  echo "$as_me: failed program was:" >&5
3722
4321
sed 's/^/| /' conftest.$ac_ext >&5
3723
4322
 
3724
 
eval "$as_ac_Header=no"
3725
 
fi
3726
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3727
 
fi
3728
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3729
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4323
        eval "$as_ac_Header=no"
 
4324
fi
 
4325
 
 
4326
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4327
fi
 
4328
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4329
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4330
echo "${ECHO_T}$ac_res" >&6; }
3730
4331
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3731
4332
  cat >>confdefs.h <<_ACEOF
3732
4333
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3752
4353
for ac_header in fcntl.h inttypes.h limits.h malloc.h stddef.h stdint.h stdlib.h string.h strings.h sys/param.h sys/time.h unistd.h
3753
4354
do
3754
4355
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3755
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3756
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
3757
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3758
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4356
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4357
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4358
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4359
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3759
4360
  echo $ECHO_N "(cached) $ECHO_C" >&6
3760
4361
fi
3761
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3762
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4362
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4363
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4364
echo "${ECHO_T}$ac_res" >&6; }
3763
4365
else
3764
4366
  # Is the header compilable?
3765
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3766
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
4367
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4368
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3767
4369
cat >conftest.$ac_ext <<_ACEOF
3768
4370
/* confdefs.h.  */
3769
4371
_ACEOF
3774
4376
@%:@include <$ac_header>
3775
4377
_ACEOF
3776
4378
rm -f conftest.$ac_objext
3777
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3778
 
  (eval $ac_compile) 2>conftest.er1
 
4379
if { (ac_try="$ac_compile"
 
4380
case "(($ac_try" in
 
4381
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4382
  *) ac_try_echo=$ac_try;;
 
4383
esac
 
4384
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4385
  (eval "$ac_compile") 2>conftest.er1
3779
4386
  ac_status=$?
3780
4387
  grep -v '^ *+' conftest.er1 >conftest.err
3781
4388
  rm -f conftest.er1
3782
4389
  cat conftest.err >&5
3783
4390
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784
 
  (exit $ac_status); } &&
3785
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3786
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3787
 
  (eval $ac_try) 2>&5
3788
 
  ac_status=$?
3789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790
 
  (exit $ac_status); }; } &&
3791
 
         { ac_try='test -s conftest.$ac_objext'
3792
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3793
 
  (eval $ac_try) 2>&5
3794
 
  ac_status=$?
3795
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796
 
  (exit $ac_status); }; }; then
 
4391
  (exit $ac_status); } && {
 
4392
         test -z "$ac_c_werror_flag" ||
 
4393
         test ! -s conftest.err
 
4394
       } && test -s conftest.$ac_objext; then
3797
4395
  ac_header_compiler=yes
3798
4396
else
3799
4397
  echo "$as_me: failed program was:" >&5
3800
4398
sed 's/^/| /' conftest.$ac_ext >&5
3801
4399
 
3802
 
ac_header_compiler=no
 
4400
        ac_header_compiler=no
3803
4401
fi
3804
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3805
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3806
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
4402
 
 
4403
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4404
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4405
echo "${ECHO_T}$ac_header_compiler" >&6; }
3807
4406
 
3808
4407
# Is the header present?
3809
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3810
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
4408
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4409
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3811
4410
cat >conftest.$ac_ext <<_ACEOF
3812
4411
/* confdefs.h.  */
3813
4412
_ACEOF
3816
4415
/* end confdefs.h.  */
3817
4416
@%:@include <$ac_header>
3818
4417
_ACEOF
3819
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3820
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4418
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4419
case "(($ac_try" in
 
4420
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4421
  *) ac_try_echo=$ac_try;;
 
4422
esac
 
4423
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4424
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3821
4425
  ac_status=$?
3822
4426
  grep -v '^ *+' conftest.er1 >conftest.err
3823
4427
  rm -f conftest.er1
3824
4428
  cat conftest.err >&5
3825
4429
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826
 
  (exit $ac_status); } >/dev/null; then
3827
 
  if test -s conftest.err; then
3828
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3829
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3830
 
  else
3831
 
    ac_cpp_err=
3832
 
  fi
3833
 
else
3834
 
  ac_cpp_err=yes
3835
 
fi
3836
 
if test -z "$ac_cpp_err"; then
 
4430
  (exit $ac_status); } >/dev/null && {
 
4431
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4432
         test ! -s conftest.err
 
4433
       }; then
3837
4434
  ac_header_preproc=yes
3838
4435
else
3839
4436
  echo "$as_me: failed program was:" >&5
3841
4438
 
3842
4439
  ac_header_preproc=no
3843
4440
fi
 
4441
 
3844
4442
rm -f conftest.err conftest.$ac_ext
3845
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3846
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
4443
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4444
echo "${ECHO_T}$ac_header_preproc" >&6; }
3847
4445
 
3848
4446
# So?  What about this header?
3849
4447
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3867
4465
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3868
4466
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3869
4467
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3870
 
    (
3871
 
      cat <<\_ASBOX
3872
 
@%:@@%:@ ---------------------------------- @%:@@%:@
3873
 
@%:@@%:@ Report this to doug@sourcejudy.com @%:@@%:@
3874
 
@%:@@%:@ ---------------------------------- @%:@@%:@
 
4468
    ( cat <<\_ASBOX
 
4469
@%:@@%:@ ------------------------------------ @%:@@%:@
 
4470
@%:@@%:@ Report this to dougbaskins@yahoo.com @%:@@%:@
 
4471
@%:@@%:@ ------------------------------------ @%:@@%:@
3875
4472
_ASBOX
3876
 
    ) |
3877
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
4473
     ) | sed "s/^/$as_me: WARNING:     /" >&2
3878
4474
    ;;
3879
4475
esac
3880
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
3881
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3882
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4476
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4477
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4478
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3883
4479
  echo $ECHO_N "(cached) $ECHO_C" >&6
3884
4480
else
3885
4481
  eval "$as_ac_Header=\$ac_header_preproc"
3886
4482
fi
3887
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3888
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4483
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4484
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4485
echo "${ECHO_T}$ac_res" >&6; }
3889
4486
 
3890
4487
fi
3891
4488
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3899
4496
 
3900
4497
 
3901
4498
 
3902
 
echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
3903
 
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
 
4499
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
 
4500
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
3904
4501
if test "${ac_cv_header_stdbool_h+set}" = set; then
3905
4502
  echo $ECHO_N "(cached) $ECHO_C" >&6
3906
4503
else
3913
4510
 
3914
4511
#include <stdbool.h>
3915
4512
#ifndef bool
3916
 
# error bool is not defined
 
4513
 "error: bool is not defined"
3917
4514
#endif
3918
4515
#ifndef false
3919
 
# error false is not defined
 
4516
 "error: false is not defined"
3920
4517
#endif
3921
4518
#if false
3922
 
# error false is not 0
 
4519
 "error: false is not 0"
3923
4520
#endif
3924
4521
#ifndef true
3925
 
# error true is not defined
 
4522
 "error: true is not defined"
3926
4523
#endif
3927
4524
#if true != 1
3928
 
# error true is not 1
 
4525
 "error: true is not 1"
3929
4526
#endif
3930
4527
#ifndef __bool_true_false_are_defined
3931
 
# error __bool_true_false_are_defined is not defined
 
4528
 "error: __bool_true_false_are_defined is not defined"
3932
4529
#endif
3933
4530
 
3934
4531
        struct s { _Bool s: 1; _Bool t; } s;
3936
4533
        char a[true == 1 ? 1 : -1];
3937
4534
        char b[false == 0 ? 1 : -1];
3938
4535
        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
3939
 
        char d[(bool) -0.5 == true ? 1 : -1];
 
4536
        char d[(bool) 0.5 == true ? 1 : -1];
3940
4537
        bool e = &s;
3941
 
        char f[(_Bool) -0.0 == false ? 1 : -1];
 
4538
        char f[(_Bool) 0.0 == false ? 1 : -1];
3942
4539
        char g[true];
3943
4540
        char h[sizeof (_Bool)];
3944
4541
        char i[sizeof s.t];
 
4542
        enum { j = false, k = true, l = false * true, m = true * 256 };
 
4543
        _Bool n[m];
 
4544
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
 
4545
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
 
4546
#       if defined __xlc__ || defined __GNUC__
 
4547
         /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
 
4548
            reported by James Lemley on 2005-10-05; see
 
4549
            http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
 
4550
            This test is not quite right, since xlc is allowed to
 
4551
            reject this program, as the initializer for xlcbug is
 
4552
            not one of the forms that C requires support for.
 
4553
            However, doing the test right would require a runtime
 
4554
            test, and that would make cross-compilation harder.
 
4555
            Let us hope that IBM fixes the xlc bug, and also adds
 
4556
            support for this kind of constant expression.  In the
 
4557
            meantime, this test will reject xlc, which is OK, since
 
4558
            our stdbool.h substitute should suffice.  We also test
 
4559
            this with GCC, where it should work, to detect more
 
4560
            quickly whether someone messes up the test in the
 
4561
            future.  */
 
4562
         char digs[] = "0123456789";
 
4563
         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
 
4564
#       endif
 
4565
        /* Catch a bug in an HP-UX C compiler.  See
 
4566
           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
 
4567
           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
 
4568
         */
 
4569
        _Bool q = true;
 
4570
        _Bool *pq = &q;
3945
4571
      
3946
4572
int
3947
4573
main ()
3948
4574
{
3949
 
 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 
 
4575
 
 
4576
        *pq |= q;
 
4577
        *pq |= ! q;
 
4578
        /* Refer to every declared value, to avoid compiler optimizations.  */
 
4579
        return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
 
4580
                + !m + !n + !o + !p + !q + !pq);
 
4581
      
3950
4582
  ;
3951
4583
  return 0;
3952
4584
}
3953
4585
_ACEOF
3954
4586
rm -f conftest.$ac_objext
3955
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3956
 
  (eval $ac_compile) 2>conftest.er1
 
4587
if { (ac_try="$ac_compile"
 
4588
case "(($ac_try" in
 
4589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4590
  *) ac_try_echo=$ac_try;;
 
4591
esac
 
4592
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4593
  (eval "$ac_compile") 2>conftest.er1
3957
4594
  ac_status=$?
3958
4595
  grep -v '^ *+' conftest.er1 >conftest.err
3959
4596
  rm -f conftest.er1
3960
4597
  cat conftest.err >&5
3961
4598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962
 
  (exit $ac_status); } &&
3963
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3964
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965
 
  (eval $ac_try) 2>&5
3966
 
  ac_status=$?
3967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968
 
  (exit $ac_status); }; } &&
3969
 
         { ac_try='test -s conftest.$ac_objext'
3970
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3971
 
  (eval $ac_try) 2>&5
3972
 
  ac_status=$?
3973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974
 
  (exit $ac_status); }; }; then
 
4599
  (exit $ac_status); } && {
 
4600
         test -z "$ac_c_werror_flag" ||
 
4601
         test ! -s conftest.err
 
4602
       } && test -s conftest.$ac_objext; then
3975
4603
  ac_cv_header_stdbool_h=yes
3976
4604
else
3977
4605
  echo "$as_me: failed program was:" >&5
3978
4606
sed 's/^/| /' conftest.$ac_ext >&5
3979
4607
 
3980
 
ac_cv_header_stdbool_h=no
3981
 
fi
3982
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3983
 
fi
3984
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
3985
 
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
3986
 
echo "$as_me:$LINENO: checking for _Bool" >&5
3987
 
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
 
4608
        ac_cv_header_stdbool_h=no
 
4609
fi
 
4610
 
 
4611
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4612
fi
 
4613
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
 
4614
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
 
4615
{ echo "$as_me:$LINENO: checking for _Bool" >&5
 
4616
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
3988
4617
if test "${ac_cv_type__Bool+set}" = set; then
3989
4618
  echo $ECHO_N "(cached) $ECHO_C" >&6
3990
4619
else
3995
4624
cat >>conftest.$ac_ext <<_ACEOF
3996
4625
/* end confdefs.h.  */
3997
4626
$ac_includes_default
 
4627
typedef _Bool ac__type_new_;
3998
4628
int
3999
4629
main ()
4000
4630
{
4001
 
if ((_Bool *) 0)
 
4631
if ((ac__type_new_ *) 0)
4002
4632
  return 0;
4003
 
if (sizeof (_Bool))
 
4633
if (sizeof (ac__type_new_))
4004
4634
  return 0;
4005
4635
  ;
4006
4636
  return 0;
4007
4637
}
4008
4638
_ACEOF
4009
4639
rm -f conftest.$ac_objext
4010
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4011
 
  (eval $ac_compile) 2>conftest.er1
 
4640
if { (ac_try="$ac_compile"
 
4641
case "(($ac_try" in
 
4642
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4643
  *) ac_try_echo=$ac_try;;
 
4644
esac
 
4645
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4646
  (eval "$ac_compile") 2>conftest.er1
4012
4647
  ac_status=$?
4013
4648
  grep -v '^ *+' conftest.er1 >conftest.err
4014
4649
  rm -f conftest.er1
4015
4650
  cat conftest.err >&5
4016
4651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017
 
  (exit $ac_status); } &&
4018
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4019
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4020
 
  (eval $ac_try) 2>&5
4021
 
  ac_status=$?
4022
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023
 
  (exit $ac_status); }; } &&
4024
 
         { ac_try='test -s conftest.$ac_objext'
4025
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4026
 
  (eval $ac_try) 2>&5
4027
 
  ac_status=$?
4028
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029
 
  (exit $ac_status); }; }; then
 
4652
  (exit $ac_status); } && {
 
4653
         test -z "$ac_c_werror_flag" ||
 
4654
         test ! -s conftest.err
 
4655
       } && test -s conftest.$ac_objext; then
4030
4656
  ac_cv_type__Bool=yes
4031
4657
else
4032
4658
  echo "$as_me: failed program was:" >&5
4033
4659
sed 's/^/| /' conftest.$ac_ext >&5
4034
4660
 
4035
 
ac_cv_type__Bool=no
4036
 
fi
4037
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4038
 
fi
4039
 
echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4040
 
echo "${ECHO_T}$ac_cv_type__Bool" >&6
 
4661
        ac_cv_type__Bool=no
 
4662
fi
 
4663
 
 
4664
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4665
fi
 
4666
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
 
4667
echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
4041
4668
if test $ac_cv_type__Bool = yes; then
4042
4669
  
4043
4670
cat >>confdefs.h <<_ACEOF
4055
4682
 
4056
4683
fi
4057
4684
 
4058
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4059
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
4685
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
4686
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4060
4687
if test "${ac_cv_c_const+set}" = set; then
4061
4688
  echo $ECHO_N "(cached) $ECHO_C" >&6
4062
4689
else
4074
4701
#ifndef __cplusplus
4075
4702
  /* Ultrix mips cc rejects this.  */
4076
4703
  typedef int charset[2];
4077
 
  const charset x;
 
4704
  const charset cs;
4078
4705
  /* SunOS 4.1.1 cc rejects this.  */
4079
 
  char const *const *ccp;
4080
 
  char **p;
 
4706
  char const *const *pcpcc;
 
4707
  char **ppc;
4081
4708
  /* NEC SVR4.0.2 mips cc rejects this.  */
4082
4709
  struct point {int x, y;};
4083
4710
  static struct point const zero = {0,0};
4086
4713
     an arm of an if-expression whose if-part is not a constant
4087
4714
     expression */
4088
4715
  const char *g = "string";
4089
 
  ccp = &g + (g ? g-g : 0);
 
4716
  pcpcc = &g + (g ? g-g : 0);
4090
4717
  /* HPUX 7.0 cc rejects these. */
4091
 
  ++ccp;
4092
 
  p = (char**) ccp;
4093
 
  ccp = (char const *const *) p;
 
4718
  ++pcpcc;
 
4719
  ppc = (char**) pcpcc;
 
4720
  pcpcc = (char const *const *) ppc;
4094
4721
  { /* SCO 3.2v4 cc rejects this.  */
4095
4722
    char *t;
4096
4723
    char const *s = 0 ? (char *) 0 : (char const *) 0;
4097
4724
 
4098
4725
    *t++ = 0;
 
4726
    if (s) return 0;
4099
4727
  }
4100
4728
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4101
4729
    int x[] = {25, 17};
4114
4742
  }
4115
4743
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4116
4744
    const int foo = 10;
 
4745
    if (!foo) return 0;
4117
4746
  }
 
4747
  return !cs[0] && !zero.x;
4118
4748
#endif
4119
4749
 
4120
4750
  ;
4122
4752
}
4123
4753
_ACEOF
4124
4754
rm -f conftest.$ac_objext
4125
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4126
 
  (eval $ac_compile) 2>conftest.er1
 
4755
if { (ac_try="$ac_compile"
 
4756
case "(($ac_try" in
 
4757
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4758
  *) ac_try_echo=$ac_try;;
 
4759
esac
 
4760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4761
  (eval "$ac_compile") 2>conftest.er1
4127
4762
  ac_status=$?
4128
4763
  grep -v '^ *+' conftest.er1 >conftest.err
4129
4764
  rm -f conftest.er1
4130
4765
  cat conftest.err >&5
4131
4766
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132
 
  (exit $ac_status); } &&
4133
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4134
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4135
 
  (eval $ac_try) 2>&5
4136
 
  ac_status=$?
4137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138
 
  (exit $ac_status); }; } &&
4139
 
         { ac_try='test -s conftest.$ac_objext'
4140
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4141
 
  (eval $ac_try) 2>&5
4142
 
  ac_status=$?
4143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144
 
  (exit $ac_status); }; }; then
 
4767
  (exit $ac_status); } && {
 
4768
         test -z "$ac_c_werror_flag" ||
 
4769
         test ! -s conftest.err
 
4770
       } && test -s conftest.$ac_objext; then
4145
4771
  ac_cv_c_const=yes
4146
4772
else
4147
4773
  echo "$as_me: failed program was:" >&5
4148
4774
sed 's/^/| /' conftest.$ac_ext >&5
4149
4775
 
4150
 
ac_cv_c_const=no
4151
 
fi
4152
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4153
 
fi
4154
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4155
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
4776
        ac_cv_c_const=no
 
4777
fi
 
4778
 
 
4779
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4780
fi
 
4781
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
4782
echo "${ECHO_T}$ac_cv_c_const" >&6; }
4156
4783
if test $ac_cv_c_const = no; then
4157
4784
  
4158
4785
cat >>confdefs.h <<\_ACEOF
4161
4788
 
4162
4789
fi
4163
4790
 
4164
 
echo "$as_me:$LINENO: checking for inline" >&5
4165
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6
 
4791
{ echo "$as_me:$LINENO: checking for inline" >&5
 
4792
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4166
4793
if test "${ac_cv_c_inline+set}" = set; then
4167
4794
  echo $ECHO_N "(cached) $ECHO_C" >&6
4168
4795
else
4182
4809
 
4183
4810
_ACEOF
4184
4811
rm -f conftest.$ac_objext
4185
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4186
 
  (eval $ac_compile) 2>conftest.er1
 
4812
if { (ac_try="$ac_compile"
 
4813
case "(($ac_try" in
 
4814
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4815
  *) ac_try_echo=$ac_try;;
 
4816
esac
 
4817
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4818
  (eval "$ac_compile") 2>conftest.er1
4187
4819
  ac_status=$?
4188
4820
  grep -v '^ *+' conftest.er1 >conftest.err
4189
4821
  rm -f conftest.er1
4190
4822
  cat conftest.err >&5
4191
4823
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192
 
  (exit $ac_status); } &&
4193
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4194
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4195
 
  (eval $ac_try) 2>&5
4196
 
  ac_status=$?
4197
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198
 
  (exit $ac_status); }; } &&
4199
 
         { ac_try='test -s conftest.$ac_objext'
4200
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4201
 
  (eval $ac_try) 2>&5
4202
 
  ac_status=$?
4203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204
 
  (exit $ac_status); }; }; then
4205
 
  ac_cv_c_inline=$ac_kw; break
 
4824
  (exit $ac_status); } && {
 
4825
         test -z "$ac_c_werror_flag" ||
 
4826
         test ! -s conftest.err
 
4827
       } && test -s conftest.$ac_objext; then
 
4828
  ac_cv_c_inline=$ac_kw
4206
4829
else
4207
4830
  echo "$as_me: failed program was:" >&5
4208
4831
sed 's/^/| /' conftest.$ac_ext >&5
4209
4832
 
 
4833
        
4210
4834
fi
4211
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4835
 
 
4836
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4837
  test "$ac_cv_c_inline" != no && break
4212
4838
done
4213
4839
 
4214
4840
fi
4215
 
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4216
 
echo "${ECHO_T}$ac_cv_c_inline" >&6
 
4841
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
4842
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4217
4843
 
4218
4844
 
4219
4845
case $ac_cv_c_inline in
4231
4857
    ;;
4232
4858
esac
4233
4859
 
4234
 
echo "$as_me:$LINENO: checking for size_t" >&5
4235
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
4860
{ echo "$as_me:$LINENO: checking for size_t" >&5
 
4861
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4236
4862
if test "${ac_cv_type_size_t+set}" = set; then
4237
4863
  echo $ECHO_N "(cached) $ECHO_C" >&6
4238
4864
else
4243
4869
cat >>conftest.$ac_ext <<_ACEOF
4244
4870
/* end confdefs.h.  */
4245
4871
$ac_includes_default
 
4872
typedef size_t ac__type_new_;
4246
4873
int
4247
4874
main ()
4248
4875
{
4249
 
if ((size_t *) 0)
 
4876
if ((ac__type_new_ *) 0)
4250
4877
  return 0;
4251
 
if (sizeof (size_t))
 
4878
if (sizeof (ac__type_new_))
4252
4879
  return 0;
4253
4880
  ;
4254
4881
  return 0;
4255
4882
}
4256
4883
_ACEOF
4257
4884
rm -f conftest.$ac_objext
4258
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4259
 
  (eval $ac_compile) 2>conftest.er1
 
4885
if { (ac_try="$ac_compile"
 
4886
case "(($ac_try" in
 
4887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4888
  *) ac_try_echo=$ac_try;;
 
4889
esac
 
4890
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4891
  (eval "$ac_compile") 2>conftest.er1
4260
4892
  ac_status=$?
4261
4893
  grep -v '^ *+' conftest.er1 >conftest.err
4262
4894
  rm -f conftest.er1
4263
4895
  cat conftest.err >&5
4264
4896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265
 
  (exit $ac_status); } &&
4266
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4267
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268
 
  (eval $ac_try) 2>&5
4269
 
  ac_status=$?
4270
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271
 
  (exit $ac_status); }; } &&
4272
 
         { ac_try='test -s conftest.$ac_objext'
4273
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4274
 
  (eval $ac_try) 2>&5
4275
 
  ac_status=$?
4276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277
 
  (exit $ac_status); }; }; then
 
4897
  (exit $ac_status); } && {
 
4898
         test -z "$ac_c_werror_flag" ||
 
4899
         test ! -s conftest.err
 
4900
       } && test -s conftest.$ac_objext; then
4278
4901
  ac_cv_type_size_t=yes
4279
4902
else
4280
4903
  echo "$as_me: failed program was:" >&5
4281
4904
sed 's/^/| /' conftest.$ac_ext >&5
4282
4905
 
4283
 
ac_cv_type_size_t=no
4284
 
fi
4285
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4286
 
fi
4287
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4288
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
 
4906
        ac_cv_type_size_t=no
 
4907
fi
 
4908
 
 
4909
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4910
fi
 
4911
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
4912
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4289
4913
if test $ac_cv_type_size_t = yes; then
4290
4914
  :
4291
4915
else
4292
4916
  
4293
4917
cat >>confdefs.h <<_ACEOF
4294
 
@%:@define size_t unsigned
 
4918
@%:@define size_t unsigned int
4295
4919
_ACEOF
4296
4920
 
4297
4921
fi
4298
4922
 
4299
 
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4300
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
 
4923
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
4924
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4301
4925
if test "${ac_cv_header_time+set}" = set; then
4302
4926
  echo $ECHO_N "(cached) $ECHO_C" >&6
4303
4927
else
4321
4945
}
4322
4946
_ACEOF
4323
4947
rm -f conftest.$ac_objext
4324
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4325
 
  (eval $ac_compile) 2>conftest.er1
 
4948
if { (ac_try="$ac_compile"
 
4949
case "(($ac_try" in
 
4950
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4951
  *) ac_try_echo=$ac_try;;
 
4952
esac
 
4953
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4954
  (eval "$ac_compile") 2>conftest.er1
4326
4955
  ac_status=$?
4327
4956
  grep -v '^ *+' conftest.er1 >conftest.err
4328
4957
  rm -f conftest.er1
4329
4958
  cat conftest.err >&5
4330
4959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331
 
  (exit $ac_status); } &&
4332
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4333
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334
 
  (eval $ac_try) 2>&5
4335
 
  ac_status=$?
4336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337
 
  (exit $ac_status); }; } &&
4338
 
         { ac_try='test -s conftest.$ac_objext'
4339
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4340
 
  (eval $ac_try) 2>&5
4341
 
  ac_status=$?
4342
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343
 
  (exit $ac_status); }; }; then
 
4960
  (exit $ac_status); } && {
 
4961
         test -z "$ac_c_werror_flag" ||
 
4962
         test ! -s conftest.err
 
4963
       } && test -s conftest.$ac_objext; then
4344
4964
  ac_cv_header_time=yes
4345
4965
else
4346
4966
  echo "$as_me: failed program was:" >&5
4347
4967
sed 's/^/| /' conftest.$ac_ext >&5
4348
4968
 
4349
 
ac_cv_header_time=no
4350
 
fi
4351
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4352
 
fi
4353
 
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4354
 
echo "${ECHO_T}$ac_cv_header_time" >&6
 
4969
        ac_cv_header_time=no
 
4970
fi
 
4971
 
 
4972
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4973
fi
 
4974
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
4975
echo "${ECHO_T}$ac_cv_header_time" >&6; }
4355
4976
if test $ac_cv_header_time = yes; then
4356
4977
  
4357
4978
cat >>confdefs.h <<\_ACEOF
4360
4981
 
4361
4982
fi
4362
4983
 
4363
 
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4364
 
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
 
4984
{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
 
4985
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
4365
4986
if test "${ac_cv_struct_tm+set}" = set; then
4366
4987
  echo $ECHO_N "(cached) $ECHO_C" >&6
4367
4988
else
4377
4998
int
4378
4999
main ()
4379
5000
{
4380
 
struct tm *tp; tp->tm_sec;
 
5001
struct tm tm;
 
5002
                                     int *p = &tm.tm_sec;
 
5003
                                     return !p;
4381
5004
  ;
4382
5005
  return 0;
4383
5006
}
4384
5007
_ACEOF
4385
5008
rm -f conftest.$ac_objext
4386
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4387
 
  (eval $ac_compile) 2>conftest.er1
 
5009
if { (ac_try="$ac_compile"
 
5010
case "(($ac_try" in
 
5011
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5012
  *) ac_try_echo=$ac_try;;
 
5013
esac
 
5014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5015
  (eval "$ac_compile") 2>conftest.er1
4388
5016
  ac_status=$?
4389
5017
  grep -v '^ *+' conftest.er1 >conftest.err
4390
5018
  rm -f conftest.er1
4391
5019
  cat conftest.err >&5
4392
5020
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393
 
  (exit $ac_status); } &&
4394
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4395
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4396
 
  (eval $ac_try) 2>&5
4397
 
  ac_status=$?
4398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399
 
  (exit $ac_status); }; } &&
4400
 
         { ac_try='test -s conftest.$ac_objext'
4401
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402
 
  (eval $ac_try) 2>&5
4403
 
  ac_status=$?
4404
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405
 
  (exit $ac_status); }; }; then
 
5021
  (exit $ac_status); } && {
 
5022
         test -z "$ac_c_werror_flag" ||
 
5023
         test ! -s conftest.err
 
5024
       } && test -s conftest.$ac_objext; then
4406
5025
  ac_cv_struct_tm=time.h
4407
5026
else
4408
5027
  echo "$as_me: failed program was:" >&5
4409
5028
sed 's/^/| /' conftest.$ac_ext >&5
4410
5029
 
4411
 
ac_cv_struct_tm=sys/time.h
4412
 
fi
4413
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4414
 
fi
4415
 
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4416
 
echo "${ECHO_T}$ac_cv_struct_tm" >&6
 
5030
        ac_cv_struct_tm=sys/time.h
 
5031
fi
 
5032
 
 
5033
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5034
fi
 
5035
{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
 
5036
echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
4417
5037
if test $ac_cv_struct_tm = sys/time.h; then
4418
5038
  
4419
5039
cat >>confdefs.h <<\_ACEOF
4422
5042
 
4423
5043
fi
4424
5044
 
4425
 
echo "$as_me:$LINENO: checking for working volatile" >&5
4426
 
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
 
5045
{ echo "$as_me:$LINENO: checking for working volatile" >&5
 
5046
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
4427
5047
if test "${ac_cv_c_volatile+set}" = set; then
4428
5048
  echo $ECHO_N "(cached) $ECHO_C" >&6
4429
5049
else
4439
5059
{
4440
5060
 
4441
5061
volatile int x;
4442
 
int * volatile y;
 
5062
int * volatile y = (int *) 0;
 
5063
return !x && !y;
4443
5064
  ;
4444
5065
  return 0;
4445
5066
}
4446
5067
_ACEOF
4447
5068
rm -f conftest.$ac_objext
4448
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4449
 
  (eval $ac_compile) 2>conftest.er1
 
5069
if { (ac_try="$ac_compile"
 
5070
case "(($ac_try" in
 
5071
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5072
  *) ac_try_echo=$ac_try;;
 
5073
esac
 
5074
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5075
  (eval "$ac_compile") 2>conftest.er1
4450
5076
  ac_status=$?
4451
5077
  grep -v '^ *+' conftest.er1 >conftest.err
4452
5078
  rm -f conftest.er1
4453
5079
  cat conftest.err >&5
4454
5080
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455
 
  (exit $ac_status); } &&
4456
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4457
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4458
 
  (eval $ac_try) 2>&5
4459
 
  ac_status=$?
4460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461
 
  (exit $ac_status); }; } &&
4462
 
         { ac_try='test -s conftest.$ac_objext'
4463
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4464
 
  (eval $ac_try) 2>&5
4465
 
  ac_status=$?
4466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467
 
  (exit $ac_status); }; }; then
 
5081
  (exit $ac_status); } && {
 
5082
         test -z "$ac_c_werror_flag" ||
 
5083
         test ! -s conftest.err
 
5084
       } && test -s conftest.$ac_objext; then
4468
5085
  ac_cv_c_volatile=yes
4469
5086
else
4470
5087
  echo "$as_me: failed program was:" >&5
4471
5088
sed 's/^/| /' conftest.$ac_ext >&5
4472
5089
 
4473
 
ac_cv_c_volatile=no
4474
 
fi
4475
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4476
 
fi
4477
 
echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4478
 
echo "${ECHO_T}$ac_cv_c_volatile" >&6
 
5090
        ac_cv_c_volatile=no
 
5091
fi
 
5092
 
 
5093
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5094
fi
 
5095
{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
 
5096
echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
4479
5097
if test $ac_cv_c_volatile = no; then
4480
5098
  
4481
5099
cat >>confdefs.h <<\_ACEOF
4484
5102
 
4485
5103
fi
4486
5104
 
4487
 
echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
4488
 
echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
 
5105
{ echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
 
5106
echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
4489
5107
if test "${ac_cv_type_ptrdiff_t+set}" = set; then
4490
5108
  echo $ECHO_N "(cached) $ECHO_C" >&6
4491
5109
else
4496
5114
cat >>conftest.$ac_ext <<_ACEOF
4497
5115
/* end confdefs.h.  */
4498
5116
$ac_includes_default
 
5117
typedef ptrdiff_t ac__type_new_;
4499
5118
int
4500
5119
main ()
4501
5120
{
4502
 
if ((ptrdiff_t *) 0)
 
5121
if ((ac__type_new_ *) 0)
4503
5122
  return 0;
4504
 
if (sizeof (ptrdiff_t))
 
5123
if (sizeof (ac__type_new_))
4505
5124
  return 0;
4506
5125
  ;
4507
5126
  return 0;
4508
5127
}
4509
5128
_ACEOF
4510
5129
rm -f conftest.$ac_objext
4511
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4512
 
  (eval $ac_compile) 2>conftest.er1
 
5130
if { (ac_try="$ac_compile"
 
5131
case "(($ac_try" in
 
5132
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5133
  *) ac_try_echo=$ac_try;;
 
5134
esac
 
5135
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5136
  (eval "$ac_compile") 2>conftest.er1
4513
5137
  ac_status=$?
4514
5138
  grep -v '^ *+' conftest.er1 >conftest.err
4515
5139
  rm -f conftest.er1
4516
5140
  cat conftest.err >&5
4517
5141
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518
 
  (exit $ac_status); } &&
4519
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4520
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521
 
  (eval $ac_try) 2>&5
4522
 
  ac_status=$?
4523
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524
 
  (exit $ac_status); }; } &&
4525
 
         { ac_try='test -s conftest.$ac_objext'
4526
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527
 
  (eval $ac_try) 2>&5
4528
 
  ac_status=$?
4529
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530
 
  (exit $ac_status); }; }; then
 
5142
  (exit $ac_status); } && {
 
5143
         test -z "$ac_c_werror_flag" ||
 
5144
         test ! -s conftest.err
 
5145
       } && test -s conftest.$ac_objext; then
4531
5146
  ac_cv_type_ptrdiff_t=yes
4532
5147
else
4533
5148
  echo "$as_me: failed program was:" >&5
4534
5149
sed 's/^/| /' conftest.$ac_ext >&5
4535
5150
 
4536
 
ac_cv_type_ptrdiff_t=no
4537
 
fi
4538
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4539
 
fi
4540
 
echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
4541
 
echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
 
5151
        ac_cv_type_ptrdiff_t=no
 
5152
fi
 
5153
 
 
5154
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5155
fi
 
5156
{ echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
 
5157
echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
4542
5158
if test $ac_cv_type_ptrdiff_t = yes; then
4543
5159
  
4544
5160
cat >>confdefs.h <<_ACEOF
4549
5165
fi
4550
5166
 
4551
5167
 
4552
 
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4553
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 
5168
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
5169
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4554
5170
if test "${ac_cv_c_bigendian+set}" = set; then
4555
5171
  echo $ECHO_N "(cached) $ECHO_C" >&6
4556
5172
else
4567
5183
int
4568
5184
main ()
4569
5185
{
4570
 
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 
5186
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
 
5187
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
4571
5188
 bogus endian macros
4572
5189
#endif
4573
5190
 
4576
5193
}
4577
5194
_ACEOF
4578
5195
rm -f conftest.$ac_objext
4579
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4580
 
  (eval $ac_compile) 2>conftest.er1
 
5196
if { (ac_try="$ac_compile"
 
5197
case "(($ac_try" in
 
5198
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5199
  *) ac_try_echo=$ac_try;;
 
5200
esac
 
5201
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5202
  (eval "$ac_compile") 2>conftest.er1
4581
5203
  ac_status=$?
4582
5204
  grep -v '^ *+' conftest.er1 >conftest.err
4583
5205
  rm -f conftest.er1
4584
5206
  cat conftest.err >&5
4585
5207
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586
 
  (exit $ac_status); } &&
4587
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4588
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4589
 
  (eval $ac_try) 2>&5
4590
 
  ac_status=$?
4591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592
 
  (exit $ac_status); }; } &&
4593
 
         { ac_try='test -s conftest.$ac_objext'
4594
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4595
 
  (eval $ac_try) 2>&5
4596
 
  ac_status=$?
4597
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598
 
  (exit $ac_status); }; }; then
 
5208
  (exit $ac_status); } && {
 
5209
         test -z "$ac_c_werror_flag" ||
 
5210
         test ! -s conftest.err
 
5211
       } && test -s conftest.$ac_objext; then
4599
5212
  # It does; now see whether it defined to BIG_ENDIAN or not.
4600
5213
cat >conftest.$ac_ext <<_ACEOF
4601
5214
/* confdefs.h.  */
4618
5231
}
4619
5232
_ACEOF
4620
5233
rm -f conftest.$ac_objext
4621
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4622
 
  (eval $ac_compile) 2>conftest.er1
 
5234
if { (ac_try="$ac_compile"
 
5235
case "(($ac_try" in
 
5236
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5237
  *) ac_try_echo=$ac_try;;
 
5238
esac
 
5239
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5240
  (eval "$ac_compile") 2>conftest.er1
4623
5241
  ac_status=$?
4624
5242
  grep -v '^ *+' conftest.er1 >conftest.err
4625
5243
  rm -f conftest.er1
4626
5244
  cat conftest.err >&5
4627
5245
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628
 
  (exit $ac_status); } &&
4629
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4630
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4631
 
  (eval $ac_try) 2>&5
4632
 
  ac_status=$?
4633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634
 
  (exit $ac_status); }; } &&
4635
 
         { ac_try='test -s conftest.$ac_objext'
4636
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4637
 
  (eval $ac_try) 2>&5
4638
 
  ac_status=$?
4639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640
 
  (exit $ac_status); }; }; then
 
5246
  (exit $ac_status); } && {
 
5247
         test -z "$ac_c_werror_flag" ||
 
5248
         test ! -s conftest.err
 
5249
       } && test -s conftest.$ac_objext; then
4641
5250
  ac_cv_c_bigendian=yes
4642
5251
else
4643
5252
  echo "$as_me: failed program was:" >&5
4644
5253
sed 's/^/| /' conftest.$ac_ext >&5
4645
5254
 
4646
 
ac_cv_c_bigendian=no
 
5255
        ac_cv_c_bigendian=no
4647
5256
fi
4648
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5257
 
 
5258
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649
5259
else
4650
5260
  echo "$as_me: failed program was:" >&5
4651
5261
sed 's/^/| /' conftest.$ac_ext >&5
4652
5262
 
4653
 
# It does not; compile a test program.
 
5263
        # It does not; compile a test program.
4654
5264
if test "$cross_compiling" = yes; then
4655
5265
  # try to guess the endianness by grepping values into an object file
4656
5266
  ac_cv_c_bigendian=unknown
4660
5270
cat confdefs.h >>conftest.$ac_ext
4661
5271
cat >>conftest.$ac_ext <<_ACEOF
4662
5272
/* end confdefs.h.  */
4663
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4664
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
5273
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
5274
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4665
5275
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4666
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4667
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
5276
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
5277
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4668
5278
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4669
5279
int
4670
5280
main ()
4675
5285
}
4676
5286
_ACEOF
4677
5287
rm -f conftest.$ac_objext
4678
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4679
 
  (eval $ac_compile) 2>conftest.er1
 
5288
if { (ac_try="$ac_compile"
 
5289
case "(($ac_try" in
 
5290
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5291
  *) ac_try_echo=$ac_try;;
 
5292
esac
 
5293
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5294
  (eval "$ac_compile") 2>conftest.er1
4680
5295
  ac_status=$?
4681
5296
  grep -v '^ *+' conftest.er1 >conftest.err
4682
5297
  rm -f conftest.er1
4683
5298
  cat conftest.err >&5
4684
5299
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685
 
  (exit $ac_status); } &&
4686
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4687
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688
 
  (eval $ac_try) 2>&5
4689
 
  ac_status=$?
4690
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691
 
  (exit $ac_status); }; } &&
4692
 
         { ac_try='test -s conftest.$ac_objext'
4693
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4694
 
  (eval $ac_try) 2>&5
4695
 
  ac_status=$?
4696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697
 
  (exit $ac_status); }; }; then
 
5300
  (exit $ac_status); } && {
 
5301
         test -z "$ac_c_werror_flag" ||
 
5302
         test ! -s conftest.err
 
5303
       } && test -s conftest.$ac_objext; then
4698
5304
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4699
5305
  ac_cv_c_bigendian=yes
4700
5306
fi
4710
5316
  echo "$as_me: failed program was:" >&5
4711
5317
sed 's/^/| /' conftest.$ac_ext >&5
4712
5318
 
 
5319
        
4713
5320
fi
4714
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5321
 
 
5322
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4715
5323
else
4716
5324
  cat >conftest.$ac_ext <<_ACEOF
4717
5325
/* confdefs.h.  */
4719
5327
cat confdefs.h >>conftest.$ac_ext
4720
5328
cat >>conftest.$ac_ext <<_ACEOF
4721
5329
/* end confdefs.h.  */
 
5330
$ac_includes_default
4722
5331
int
4723
5332
main ()
4724
5333
{
 
5334
 
4725
5335
  /* Are we little or big endian?  From Harbison&Steele.  */
4726
5336
  union
4727
5337
  {
4728
 
    long l;
4729
 
    char c[sizeof (long)];
 
5338
    long int l;
 
5339
    char c[sizeof (long int)];
4730
5340
  } u;
4731
5341
  u.l = 1;
4732
 
  exit (u.c[sizeof (long) - 1] == 1);
 
5342
  return u.c[sizeof (long int) - 1] == 1;
 
5343
 
 
5344
  ;
 
5345
  return 0;
4733
5346
}
4734
5347
_ACEOF
4735
5348
rm -f conftest$ac_exeext
4736
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4737
 
  (eval $ac_link) 2>&5
 
5349
if { (ac_try="$ac_link"
 
5350
case "(($ac_try" in
 
5351
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5352
  *) ac_try_echo=$ac_try;;
 
5353
esac
 
5354
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5355
  (eval "$ac_link") 2>&5
4738
5356
  ac_status=$?
4739
5357
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740
5358
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4741
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742
 
  (eval $ac_try) 2>&5
 
5359
  { (case "(($ac_try" in
 
5360
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5361
  *) ac_try_echo=$ac_try;;
 
5362
esac
 
5363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5364
  (eval "$ac_try") 2>&5
4743
5365
  ac_status=$?
4744
5366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745
5367
  (exit $ac_status); }; }; then
4752
5374
( exit $ac_status )
4753
5375
ac_cv_c_bigendian=yes
4754
5376
fi
4755
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4756
 
fi
4757
 
fi
4758
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4759
 
fi
4760
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4761
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 
5377
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5378
fi
 
5379
 
 
5380
 
 
5381
fi
 
5382
 
 
5383
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5384
fi
 
5385
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
5386
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4762
5387
case $ac_cv_c_bigendian in
4763
5388
  yes)
4764
5389
    
4781
5406
esac
4782
5407
 
4783
5408
 
4784
 
echo "$as_me:$LINENO: checking for void *" >&5
4785
 
echo $ECHO_N "checking for void *... $ECHO_C" >&6
 
5409
{ echo "$as_me:$LINENO: checking for void *" >&5
 
5410
echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
4786
5411
if test "${ac_cv_type_void_p+set}" = set; then
4787
5412
  echo $ECHO_N "(cached) $ECHO_C" >&6
4788
5413
else
4793
5418
cat >>conftest.$ac_ext <<_ACEOF
4794
5419
/* end confdefs.h.  */
4795
5420
$ac_includes_default
 
5421
typedef void * ac__type_new_;
4796
5422
int
4797
5423
main ()
4798
5424
{
4799
 
if ((void * *) 0)
 
5425
if ((ac__type_new_ *) 0)
4800
5426
  return 0;
4801
 
if (sizeof (void *))
 
5427
if (sizeof (ac__type_new_))
4802
5428
  return 0;
4803
5429
  ;
4804
5430
  return 0;
4805
5431
}
4806
5432
_ACEOF
4807
5433
rm -f conftest.$ac_objext
4808
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4809
 
  (eval $ac_compile) 2>conftest.er1
 
5434
if { (ac_try="$ac_compile"
 
5435
case "(($ac_try" in
 
5436
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5437
  *) ac_try_echo=$ac_try;;
 
5438
esac
 
5439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5440
  (eval "$ac_compile") 2>conftest.er1
4810
5441
  ac_status=$?
4811
5442
  grep -v '^ *+' conftest.er1 >conftest.err
4812
5443
  rm -f conftest.er1
4813
5444
  cat conftest.err >&5
4814
5445
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815
 
  (exit $ac_status); } &&
4816
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4817
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4818
 
  (eval $ac_try) 2>&5
4819
 
  ac_status=$?
4820
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821
 
  (exit $ac_status); }; } &&
4822
 
         { ac_try='test -s conftest.$ac_objext'
4823
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824
 
  (eval $ac_try) 2>&5
4825
 
  ac_status=$?
4826
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827
 
  (exit $ac_status); }; }; then
 
5446
  (exit $ac_status); } && {
 
5447
         test -z "$ac_c_werror_flag" ||
 
5448
         test ! -s conftest.err
 
5449
       } && test -s conftest.$ac_objext; then
4828
5450
  ac_cv_type_void_p=yes
4829
5451
else
4830
5452
  echo "$as_me: failed program was:" >&5
4831
5453
sed 's/^/| /' conftest.$ac_ext >&5
4832
5454
 
4833
 
ac_cv_type_void_p=no
4834
 
fi
4835
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4836
 
fi
4837
 
echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
4838
 
echo "${ECHO_T}$ac_cv_type_void_p" >&6
4839
 
 
4840
 
echo "$as_me:$LINENO: checking size of void *" >&5
4841
 
echo $ECHO_N "checking size of void *... $ECHO_C" >&6
 
5455
        ac_cv_type_void_p=no
 
5456
fi
 
5457
 
 
5458
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5459
fi
 
5460
{ echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
 
5461
echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
 
5462
 
 
5463
# The cast to long int works around a bug in the HP C Compiler
 
5464
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
5465
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
5466
# This bug is HP SR number 8606223364.
 
5467
{ echo "$as_me:$LINENO: checking size of void *" >&5
 
5468
echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
4842
5469
if test "${ac_cv_sizeof_void_p+set}" = set; then
4843
5470
  echo $ECHO_N "(cached) $ECHO_C" >&6
4844
5471
else
4845
 
  if test "$ac_cv_type_void_p" = yes; then
4846
 
  # The cast to unsigned long works around a bug in the HP C Compiler
4847
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4848
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4849
 
  # This bug is HP SR number 8606223364.
4850
5472
  if test "$cross_compiling" = yes; then
4851
5473
  # Depending upon the size, compute the lo and hi bounds.
4852
5474
cat >conftest.$ac_ext <<_ACEOF
4856
5478
cat >>conftest.$ac_ext <<_ACEOF
4857
5479
/* end confdefs.h.  */
4858
5480
$ac_includes_default
 
5481
   typedef void * ac__type_sizeof_;
4859
5482
int
4860
5483
main ()
4861
5484
{
4862
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) >= 0)@:>@;
 
5485
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
4863
5486
test_array @<:@0@:>@ = 0
4864
5487
 
4865
5488
  ;
4867
5490
}
4868
5491
_ACEOF
4869
5492
rm -f conftest.$ac_objext
4870
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4871
 
  (eval $ac_compile) 2>conftest.er1
 
5493
if { (ac_try="$ac_compile"
 
5494
case "(($ac_try" in
 
5495
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5496
  *) ac_try_echo=$ac_try;;
 
5497
esac
 
5498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5499
  (eval "$ac_compile") 2>conftest.er1
4872
5500
  ac_status=$?
4873
5501
  grep -v '^ *+' conftest.er1 >conftest.err
4874
5502
  rm -f conftest.er1
4875
5503
  cat conftest.err >&5
4876
5504
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877
 
  (exit $ac_status); } &&
4878
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4879
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4880
 
  (eval $ac_try) 2>&5
4881
 
  ac_status=$?
4882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883
 
  (exit $ac_status); }; } &&
4884
 
         { ac_try='test -s conftest.$ac_objext'
4885
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886
 
  (eval $ac_try) 2>&5
4887
 
  ac_status=$?
4888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889
 
  (exit $ac_status); }; }; then
 
5505
  (exit $ac_status); } && {
 
5506
         test -z "$ac_c_werror_flag" ||
 
5507
         test ! -s conftest.err
 
5508
       } && test -s conftest.$ac_objext; then
4890
5509
  ac_lo=0 ac_mid=0
4891
5510
  while :; do
4892
5511
    cat >conftest.$ac_ext <<_ACEOF
4896
5515
cat >>conftest.$ac_ext <<_ACEOF
4897
5516
/* end confdefs.h.  */
4898
5517
$ac_includes_default
 
5518
   typedef void * ac__type_sizeof_;
4899
5519
int
4900
5520
main ()
4901
5521
{
4902
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)@:>@;
 
5522
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
4903
5523
test_array @<:@0@:>@ = 0
4904
5524
 
4905
5525
  ;
4907
5527
}
4908
5528
_ACEOF
4909
5529
rm -f conftest.$ac_objext
4910
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4911
 
  (eval $ac_compile) 2>conftest.er1
 
5530
if { (ac_try="$ac_compile"
 
5531
case "(($ac_try" in
 
5532
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5533
  *) ac_try_echo=$ac_try;;
 
5534
esac
 
5535
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5536
  (eval "$ac_compile") 2>conftest.er1
4912
5537
  ac_status=$?
4913
5538
  grep -v '^ *+' conftest.er1 >conftest.err
4914
5539
  rm -f conftest.er1
4915
5540
  cat conftest.err >&5
4916
5541
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917
 
  (exit $ac_status); } &&
4918
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920
 
  (eval $ac_try) 2>&5
4921
 
  ac_status=$?
4922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923
 
  (exit $ac_status); }; } &&
4924
 
         { ac_try='test -s conftest.$ac_objext'
4925
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926
 
  (eval $ac_try) 2>&5
4927
 
  ac_status=$?
4928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929
 
  (exit $ac_status); }; }; then
 
5542
  (exit $ac_status); } && {
 
5543
         test -z "$ac_c_werror_flag" ||
 
5544
         test ! -s conftest.err
 
5545
       } && test -s conftest.$ac_objext; then
4930
5546
  ac_hi=$ac_mid; break
4931
5547
else
4932
5548
  echo "$as_me: failed program was:" >&5
4933
5549
sed 's/^/| /' conftest.$ac_ext >&5
4934
5550
 
4935
 
ac_lo=`expr $ac_mid + 1`
4936
 
                    if test $ac_lo -le $ac_mid; then
4937
 
                      ac_lo= ac_hi=
4938
 
                      break
4939
 
                    fi
4940
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
5551
        ac_lo=`expr $ac_mid + 1`
 
5552
                        if test $ac_lo -le $ac_mid; then
 
5553
                          ac_lo= ac_hi=
 
5554
                          break
 
5555
                        fi
 
5556
                        ac_mid=`expr 2 '*' $ac_mid + 1`
4941
5557
fi
4942
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5558
 
 
5559
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4943
5560
  done
4944
5561
else
4945
5562
  echo "$as_me: failed program was:" >&5
4946
5563
sed 's/^/| /' conftest.$ac_ext >&5
4947
5564
 
4948
 
cat >conftest.$ac_ext <<_ACEOF
 
5565
        cat >conftest.$ac_ext <<_ACEOF
4949
5566
/* confdefs.h.  */
4950
5567
_ACEOF
4951
5568
cat confdefs.h >>conftest.$ac_ext
4952
5569
cat >>conftest.$ac_ext <<_ACEOF
4953
5570
/* end confdefs.h.  */
4954
5571
$ac_includes_default
 
5572
   typedef void * ac__type_sizeof_;
4955
5573
int
4956
5574
main ()
4957
5575
{
4958
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) < 0)@:>@;
 
5576
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
4959
5577
test_array @<:@0@:>@ = 0
4960
5578
 
4961
5579
  ;
4963
5581
}
4964
5582
_ACEOF
4965
5583
rm -f conftest.$ac_objext
4966
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4967
 
  (eval $ac_compile) 2>conftest.er1
 
5584
if { (ac_try="$ac_compile"
 
5585
case "(($ac_try" in
 
5586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5587
  *) ac_try_echo=$ac_try;;
 
5588
esac
 
5589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5590
  (eval "$ac_compile") 2>conftest.er1
4968
5591
  ac_status=$?
4969
5592
  grep -v '^ *+' conftest.er1 >conftest.err
4970
5593
  rm -f conftest.er1
4971
5594
  cat conftest.err >&5
4972
5595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973
 
  (exit $ac_status); } &&
4974
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4975
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4976
 
  (eval $ac_try) 2>&5
4977
 
  ac_status=$?
4978
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979
 
  (exit $ac_status); }; } &&
4980
 
         { ac_try='test -s conftest.$ac_objext'
4981
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982
 
  (eval $ac_try) 2>&5
4983
 
  ac_status=$?
4984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985
 
  (exit $ac_status); }; }; then
 
5596
  (exit $ac_status); } && {
 
5597
         test -z "$ac_c_werror_flag" ||
 
5598
         test ! -s conftest.err
 
5599
       } && test -s conftest.$ac_objext; then
4986
5600
  ac_hi=-1 ac_mid=-1
4987
5601
  while :; do
4988
5602
    cat >conftest.$ac_ext <<_ACEOF
4992
5606
cat >>conftest.$ac_ext <<_ACEOF
4993
5607
/* end confdefs.h.  */
4994
5608
$ac_includes_default
 
5609
   typedef void * ac__type_sizeof_;
4995
5610
int
4996
5611
main ()
4997
5612
{
4998
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)@:>@;
 
5613
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
4999
5614
test_array @<:@0@:>@ = 0
5000
5615
 
5001
5616
  ;
5003
5618
}
5004
5619
_ACEOF
5005
5620
rm -f conftest.$ac_objext
5006
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5007
 
  (eval $ac_compile) 2>conftest.er1
 
5621
if { (ac_try="$ac_compile"
 
5622
case "(($ac_try" in
 
5623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5624
  *) ac_try_echo=$ac_try;;
 
5625
esac
 
5626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5627
  (eval "$ac_compile") 2>conftest.er1
5008
5628
  ac_status=$?
5009
5629
  grep -v '^ *+' conftest.er1 >conftest.err
5010
5630
  rm -f conftest.er1
5011
5631
  cat conftest.err >&5
5012
5632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013
 
  (exit $ac_status); } &&
5014
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5015
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016
 
  (eval $ac_try) 2>&5
5017
 
  ac_status=$?
5018
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019
 
  (exit $ac_status); }; } &&
5020
 
         { ac_try='test -s conftest.$ac_objext'
5021
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5022
 
  (eval $ac_try) 2>&5
5023
 
  ac_status=$?
5024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025
 
  (exit $ac_status); }; }; then
 
5633
  (exit $ac_status); } && {
 
5634
         test -z "$ac_c_werror_flag" ||
 
5635
         test ! -s conftest.err
 
5636
       } && test -s conftest.$ac_objext; then
5026
5637
  ac_lo=$ac_mid; break
5027
5638
else
5028
5639
  echo "$as_me: failed program was:" >&5
5029
5640
sed 's/^/| /' conftest.$ac_ext >&5
5030
5641
 
5031
 
ac_hi=`expr '(' $ac_mid ')' - 1`
5032
 
                       if test $ac_mid -le $ac_hi; then
5033
 
                         ac_lo= ac_hi=
5034
 
                         break
5035
 
                       fi
5036
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
5642
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
5643
                        if test $ac_mid -le $ac_hi; then
 
5644
                          ac_lo= ac_hi=
 
5645
                          break
 
5646
                        fi
 
5647
                        ac_mid=`expr 2 '*' $ac_mid`
5037
5648
fi
5038
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5649
 
 
5650
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5039
5651
  done
5040
5652
else
5041
5653
  echo "$as_me: failed program was:" >&5
5042
5654
sed 's/^/| /' conftest.$ac_ext >&5
5043
5655
 
5044
 
ac_lo= ac_hi=
5045
 
fi
5046
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5047
 
fi
5048
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5656
        ac_lo= ac_hi=
 
5657
fi
 
5658
 
 
5659
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5660
fi
 
5661
 
 
5662
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049
5663
# Binary search between lo and hi bounds.
5050
5664
while test "x$ac_lo" != "x$ac_hi"; do
5051
5665
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5056
5670
cat >>conftest.$ac_ext <<_ACEOF
5057
5671
/* end confdefs.h.  */
5058
5672
$ac_includes_default
 
5673
   typedef void * ac__type_sizeof_;
5059
5674
int
5060
5675
main ()
5061
5676
{
5062
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)@:>@;
 
5677
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
5063
5678
test_array @<:@0@:>@ = 0
5064
5679
 
5065
5680
  ;
5067
5682
}
5068
5683
_ACEOF
5069
5684
rm -f conftest.$ac_objext
5070
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5071
 
  (eval $ac_compile) 2>conftest.er1
 
5685
if { (ac_try="$ac_compile"
 
5686
case "(($ac_try" in
 
5687
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5688
  *) ac_try_echo=$ac_try;;
 
5689
esac
 
5690
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5691
  (eval "$ac_compile") 2>conftest.er1
5072
5692
  ac_status=$?
5073
5693
  grep -v '^ *+' conftest.er1 >conftest.err
5074
5694
  rm -f conftest.er1
5075
5695
  cat conftest.err >&5
5076
5696
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077
 
  (exit $ac_status); } &&
5078
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5079
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5080
 
  (eval $ac_try) 2>&5
5081
 
  ac_status=$?
5082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083
 
  (exit $ac_status); }; } &&
5084
 
         { ac_try='test -s conftest.$ac_objext'
5085
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5086
 
  (eval $ac_try) 2>&5
5087
 
  ac_status=$?
5088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089
 
  (exit $ac_status); }; }; then
 
5697
  (exit $ac_status); } && {
 
5698
         test -z "$ac_c_werror_flag" ||
 
5699
         test ! -s conftest.err
 
5700
       } && test -s conftest.$ac_objext; then
5090
5701
  ac_hi=$ac_mid
5091
5702
else
5092
5703
  echo "$as_me: failed program was:" >&5
5093
5704
sed 's/^/| /' conftest.$ac_ext >&5
5094
5705
 
5095
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
5706
        ac_lo=`expr '(' $ac_mid ')' + 1`
5096
5707
fi
5097
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5708
 
 
5709
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5098
5710
done
5099
5711
case $ac_lo in
5100
5712
?*) ac_cv_sizeof_void_p=$ac_lo;;
5101
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
 
5713
'') if test "$ac_cv_type_void_p" = yes; then
 
5714
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
5102
5715
See \`config.log' for more details." >&5
5103
 
echo "$as_me: error: cannot compute sizeof (void *), 77
 
5716
echo "$as_me: error: cannot compute sizeof (void *)
5104
5717
See \`config.log' for more details." >&2;}
5105
 
   { (exit 1); exit 1; }; } ;;
 
5718
   { (exit 77); exit 77; }; }
 
5719
   else
 
5720
     ac_cv_sizeof_void_p=0
 
5721
   fi ;;
5106
5722
esac
5107
5723
else
5108
 
  if test "$cross_compiling" = yes; then
5109
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
5110
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
5111
 
   { (exit 1); exit 1; }; }
5112
 
else
5113
5724
  cat >conftest.$ac_ext <<_ACEOF
5114
5725
/* confdefs.h.  */
5115
5726
_ACEOF
5117
5728
cat >>conftest.$ac_ext <<_ACEOF
5118
5729
/* end confdefs.h.  */
5119
5730
$ac_includes_default
5120
 
long longval () { return (long) (sizeof (void *)); }
5121
 
unsigned long ulongval () { return (long) (sizeof (void *)); }
 
5731
   typedef void * ac__type_sizeof_;
 
5732
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
5733
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5122
5734
@%:@include <stdio.h>
5123
5735
@%:@include <stdlib.h>
5124
5736
int
5127
5739
 
5128
5740
  FILE *f = fopen ("conftest.val", "w");
5129
5741
  if (! f)
5130
 
    exit (1);
5131
 
  if (((long) (sizeof (void *))) < 0)
 
5742
    return 1;
 
5743
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5132
5744
    {
5133
 
      long i = longval ();
5134
 
      if (i != ((long) (sizeof (void *))))
5135
 
        exit (1);
 
5745
      long int i = longval ();
 
5746
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
5747
        return 1;
5136
5748
      fprintf (f, "%ld\n", i);
5137
5749
    }
5138
5750
  else
5139
5751
    {
5140
 
      unsigned long i = ulongval ();
5141
 
      if (i != ((long) (sizeof (void *))))
5142
 
        exit (1);
 
5752
      unsigned long int i = ulongval ();
 
5753
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
5754
        return 1;
5143
5755
      fprintf (f, "%lu\n", i);
5144
5756
    }
5145
 
  exit (ferror (f) || fclose (f) != 0);
 
5757
  return ferror (f) || fclose (f) != 0;
5146
5758
 
5147
5759
  ;
5148
5760
  return 0;
5149
5761
}
5150
5762
_ACEOF
5151
5763
rm -f conftest$ac_exeext
5152
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5153
 
  (eval $ac_link) 2>&5
 
5764
if { (ac_try="$ac_link"
 
5765
case "(($ac_try" in
 
5766
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5767
  *) ac_try_echo=$ac_try;;
 
5768
esac
 
5769
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5770
  (eval "$ac_link") 2>&5
5154
5771
  ac_status=$?
5155
5772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156
5773
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5157
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5158
 
  (eval $ac_try) 2>&5
 
5774
  { (case "(($ac_try" in
 
5775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5776
  *) ac_try_echo=$ac_try;;
 
5777
esac
 
5778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5779
  (eval "$ac_try") 2>&5
5159
5780
  ac_status=$?
5160
5781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161
5782
  (exit $ac_status); }; }; then
5166
5787
sed 's/^/| /' conftest.$ac_ext >&5
5167
5788
 
5168
5789
( exit $ac_status )
5169
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
 
5790
if test "$ac_cv_type_void_p" = yes; then
 
5791
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
5170
5792
See \`config.log' for more details." >&5
5171
 
echo "$as_me: error: cannot compute sizeof (void *), 77
 
5793
echo "$as_me: error: cannot compute sizeof (void *)
5172
5794
See \`config.log' for more details." >&2;}
5173
 
   { (exit 1); exit 1; }; }
5174
 
fi
5175
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5176
 
fi
 
5795
   { (exit 77); exit 77; }; }
 
5796
   else
 
5797
     ac_cv_sizeof_void_p=0
 
5798
   fi
 
5799
fi
 
5800
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5177
5801
fi
5178
5802
rm -f conftest.val
5179
 
else
5180
 
  ac_cv_sizeof_void_p=0
5181
 
fi
5182
 
fi
5183
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
5184
 
echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
 
5803
fi
 
5804
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
 
5805
echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
 
5806
 
 
5807
 
 
5808
 
5185
5809
cat >>confdefs.h <<_ACEOF
5186
5810
@%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p
5187
5811
_ACEOF
5188
5812
 
5189
5813
 
5190
5814
if test "$ac_cv_sizeof_void_p" = 8; then 
5191
 
    echo "$as_me:$LINENO: result: Building 64-bit" >&5
5192
 
echo "${ECHO_T}Building 64-bit" >&6
 
5815
    { echo "$as_me:$LINENO: result: Detected 64-bit Build Environment" >&5
 
5816
echo "${ECHO_T}Detected 64-bit Build Environment" >&6; }
5193
5817
    CFLAGS="-DJU_64BIT $CFLAGS"
5194
5818
else 
5195
 
    echo "$as_me:$LINENO: result: Building 32-bit" >&5
5196
 
echo "${ECHO_T}Building 32-bit" >&6
5197
 
    CFLAGS="-UJU_64BIT $CFLAGS"
5198
 
fi
 
5819
    { echo "$as_me:$LINENO: result: Detected 32-bit Build Environment" >&5
 
5820
echo "${ECHO_T}Detected 32-bit Build Environment" >&6; }
 
5821
      CFLAGS="-UJU_64BIT $CFLAGS"
 
5822
fi
 
5823
 
 
5824
# Check whether --enable-32-bit was given.
 
5825
if test "${enable_32_bit+set}" = set; then
 
5826
  enableval=$enable_32_bit; b32="$enableval"
 
5827
else
 
5828
  b32="no"
 
5829
fi
 
5830
 
 
5831
if test x"$b32" != "xno"; then
 
5832
    { echo "$as_me:$LINENO: result: Configured to Build 32-bit" >&5
 
5833
echo "${ECHO_T}Configured to Build 32-bit" >&6; }
 
5834
    if test x"$GCC" = xyes; then
 
5835
      CFLAGS="-UJU_64BIT -m32 $CFLAGS"
 
5836
    else
 
5837
      CFLAGS="-UJU_64BIT $CFLAGS"
 
5838
    fi
 
5839
fi
 
5840
 
 
5841
# Check whether --enable-64-bit was given.
 
5842
if test "${enable_64_bit+set}" = set; then
 
5843
  enableval=$enable_64_bit; b64="$enableval"
 
5844
else
 
5845
  b64="no"
 
5846
fi
 
5847
 
 
5848
if test x"$b64" != "xno"; then
 
5849
    { echo "$as_me:$LINENO: result: Configured to Building 64-bit" >&5
 
5850
echo "${ECHO_T}Configured to Building 64-bit" >&6; }
 
5851
    if test x"$GCC" = xyes; then
 
5852
      CFLAGS="-DJU_64BIT -m64 $CFLAGS"
 
5853
    else
 
5854
      CFLAGS="-DJU_64BIT $CFLAGS"
 
5855
    fi
 
5856
fi
 
5857
 
5199
5858
 
5200
5859
 
5201
5860
#  dnl Determine whether or not we're compiling for a 64-bit system by looking
5210
5869
#fi
5211
5870
 
5212
5871
 
5213
 
echo "$as_me:$LINENO: checking for error_at_line" >&5
5214
 
echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
 
5872
{ echo "$as_me:$LINENO: checking for error_at_line" >&5
 
5873
echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6; }
5215
5874
if test "${ac_cv_lib_error_at_line+set}" = set; then
5216
5875
  echo $ECHO_N "(cached) $ECHO_C" >&6
5217
5876
else
5221
5880
cat confdefs.h >>conftest.$ac_ext
5222
5881
cat >>conftest.$ac_ext <<_ACEOF
5223
5882
/* end confdefs.h.  */
5224
 
$ac_includes_default
 
5883
#include <error.h>
5225
5884
int
5226
5885
main ()
5227
5886
{
5228
 
error_at_line (0, 0, "", 0, "");
 
5887
error_at_line (0, 0, "", 0, "an error occurred");
5229
5888
  ;
5230
5889
  return 0;
5231
5890
}
5232
5891
_ACEOF
5233
5892
rm -f conftest.$ac_objext conftest$ac_exeext
5234
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5235
 
  (eval $ac_link) 2>conftest.er1
 
5893
if { (ac_try="$ac_link"
 
5894
case "(($ac_try" in
 
5895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5896
  *) ac_try_echo=$ac_try;;
 
5897
esac
 
5898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5899
  (eval "$ac_link") 2>conftest.er1
5236
5900
  ac_status=$?
5237
5901
  grep -v '^ *+' conftest.er1 >conftest.err
5238
5902
  rm -f conftest.er1
5239
5903
  cat conftest.err >&5
5240
5904
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241
 
  (exit $ac_status); } &&
5242
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5243
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5244
 
  (eval $ac_try) 2>&5
5245
 
  ac_status=$?
5246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247
 
  (exit $ac_status); }; } &&
5248
 
         { ac_try='test -s conftest$ac_exeext'
5249
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5250
 
  (eval $ac_try) 2>&5
5251
 
  ac_status=$?
5252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253
 
  (exit $ac_status); }; }; then
 
5905
  (exit $ac_status); } && {
 
5906
         test -z "$ac_c_werror_flag" ||
 
5907
         test ! -s conftest.err
 
5908
       } && test -s conftest$ac_exeext &&
 
5909
       $as_test_x conftest$ac_exeext; then
5254
5910
  ac_cv_lib_error_at_line=yes
5255
5911
else
5256
5912
  echo "$as_me: failed program was:" >&5
5257
5913
sed 's/^/| /' conftest.$ac_ext >&5
5258
5914
 
5259
 
ac_cv_lib_error_at_line=no
 
5915
        ac_cv_lib_error_at_line=no
5260
5916
fi
5261
 
rm -f conftest.err conftest.$ac_objext \
 
5917
 
 
5918
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5262
5919
      conftest$ac_exeext conftest.$ac_ext
5263
5920
fi
5264
 
echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
5265
 
echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
 
5921
{ echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
 
5922
echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
5266
5923
if test $ac_cv_lib_error_at_line = no; then
5267
 
  case $LIB@&t@OBJS in
5268
 
    "error.$ac_objext"   | \
5269
 
  *" error.$ac_objext"   | \
5270
 
    "error.$ac_objext "* | \
 
5924
  case " $LIB@&t@OBJS " in
5271
5925
  *" error.$ac_objext "* ) ;;
5272
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS error.$ac_objext" ;;
 
5926
  *) LIB@&t@OBJS="$LIB@&t@OBJS error.$ac_objext"
 
5927
 ;;
5273
5928
esac
5274
5929
 
5275
5930
fi
5278
5933
for ac_header in stdlib.h
5279
5934
do
5280
5935
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5281
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5282
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5283
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5284
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5936
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5937
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5938
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5939
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5285
5940
  echo $ECHO_N "(cached) $ECHO_C" >&6
5286
5941
fi
5287
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5288
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5942
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5943
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5944
echo "${ECHO_T}$ac_res" >&6; }
5289
5945
else
5290
5946
  # Is the header compilable?
5291
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5292
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5947
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5948
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5293
5949
cat >conftest.$ac_ext <<_ACEOF
5294
5950
/* confdefs.h.  */
5295
5951
_ACEOF
5300
5956
@%:@include <$ac_header>
5301
5957
_ACEOF
5302
5958
rm -f conftest.$ac_objext
5303
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5304
 
  (eval $ac_compile) 2>conftest.er1
 
5959
if { (ac_try="$ac_compile"
 
5960
case "(($ac_try" in
 
5961
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5962
  *) ac_try_echo=$ac_try;;
 
5963
esac
 
5964
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5965
  (eval "$ac_compile") 2>conftest.er1
5305
5966
  ac_status=$?
5306
5967
  grep -v '^ *+' conftest.er1 >conftest.err
5307
5968
  rm -f conftest.er1
5308
5969
  cat conftest.err >&5
5309
5970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310
 
  (exit $ac_status); } &&
5311
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313
 
  (eval $ac_try) 2>&5
5314
 
  ac_status=$?
5315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316
 
  (exit $ac_status); }; } &&
5317
 
         { ac_try='test -s conftest.$ac_objext'
5318
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5319
 
  (eval $ac_try) 2>&5
5320
 
  ac_status=$?
5321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322
 
  (exit $ac_status); }; }; then
 
5971
  (exit $ac_status); } && {
 
5972
         test -z "$ac_c_werror_flag" ||
 
5973
         test ! -s conftest.err
 
5974
       } && test -s conftest.$ac_objext; then
5323
5975
  ac_header_compiler=yes
5324
5976
else
5325
5977
  echo "$as_me: failed program was:" >&5
5326
5978
sed 's/^/| /' conftest.$ac_ext >&5
5327
5979
 
5328
 
ac_header_compiler=no
 
5980
        ac_header_compiler=no
5329
5981
fi
5330
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5331
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5332
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5982
 
 
5983
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5984
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5985
echo "${ECHO_T}$ac_header_compiler" >&6; }
5333
5986
 
5334
5987
# Is the header present?
5335
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5336
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5988
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5989
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5337
5990
cat >conftest.$ac_ext <<_ACEOF
5338
5991
/* confdefs.h.  */
5339
5992
_ACEOF
5342
5995
/* end confdefs.h.  */
5343
5996
@%:@include <$ac_header>
5344
5997
_ACEOF
5345
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5346
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5998
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5999
case "(($ac_try" in
 
6000
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6001
  *) ac_try_echo=$ac_try;;
 
6002
esac
 
6003
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6004
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5347
6005
  ac_status=$?
5348
6006
  grep -v '^ *+' conftest.er1 >conftest.err
5349
6007
  rm -f conftest.er1
5350
6008
  cat conftest.err >&5
5351
6009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352
 
  (exit $ac_status); } >/dev/null; then
5353
 
  if test -s conftest.err; then
5354
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5355
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5356
 
  else
5357
 
    ac_cpp_err=
5358
 
  fi
5359
 
else
5360
 
  ac_cpp_err=yes
5361
 
fi
5362
 
if test -z "$ac_cpp_err"; then
 
6010
  (exit $ac_status); } >/dev/null && {
 
6011
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6012
         test ! -s conftest.err
 
6013
       }; then
5363
6014
  ac_header_preproc=yes
5364
6015
else
5365
6016
  echo "$as_me: failed program was:" >&5
5367
6018
 
5368
6019
  ac_header_preproc=no
5369
6020
fi
 
6021
 
5370
6022
rm -f conftest.err conftest.$ac_ext
5371
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5372
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6023
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6024
echo "${ECHO_T}$ac_header_preproc" >&6; }
5373
6025
 
5374
6026
# So?  What about this header?
5375
6027
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5393
6045
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5394
6046
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5395
6047
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5396
 
    (
5397
 
      cat <<\_ASBOX
5398
 
@%:@@%:@ ---------------------------------- @%:@@%:@
5399
 
@%:@@%:@ Report this to doug@sourcejudy.com @%:@@%:@
5400
 
@%:@@%:@ ---------------------------------- @%:@@%:@
 
6048
    ( cat <<\_ASBOX
 
6049
@%:@@%:@ ------------------------------------ @%:@@%:@
 
6050
@%:@@%:@ Report this to dougbaskins@yahoo.com @%:@@%:@
 
6051
@%:@@%:@ ------------------------------------ @%:@@%:@
5401
6052
_ASBOX
5402
 
    ) |
5403
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6053
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5404
6054
    ;;
5405
6055
esac
5406
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5407
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5408
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6056
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6057
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6058
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5409
6059
  echo $ECHO_N "(cached) $ECHO_C" >&6
5410
6060
else
5411
6061
  eval "$as_ac_Header=\$ac_header_preproc"
5412
6062
fi
5413
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5414
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6063
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6064
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6065
echo "${ECHO_T}$ac_res" >&6; }
5415
6066
 
5416
6067
fi
5417
6068
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5423
6074
 
5424
6075
done
5425
6076
 
5426
 
echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5427
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
 
6077
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
 
6078
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
5428
6079
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
5429
6080
  echo $ECHO_N "(cached) $ECHO_C" >&6
5430
6081
else
5437
6088
cat confdefs.h >>conftest.$ac_ext
5438
6089
cat >>conftest.$ac_ext <<_ACEOF
5439
6090
/* end confdefs.h.  */
5440
 
#if STDC_HEADERS || HAVE_STDLIB_H
 
6091
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
5441
6092
# include <stdlib.h>
5442
6093
#else
5443
6094
char *malloc ();
5446
6097
int
5447
6098
main ()
5448
6099
{
5449
 
exit (malloc (0) ? 0 : 1);
 
6100
return ! malloc (0);
5450
6101
  ;
5451
6102
  return 0;
5452
6103
}
5453
6104
_ACEOF
5454
6105
rm -f conftest$ac_exeext
5455
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5456
 
  (eval $ac_link) 2>&5
 
6106
if { (ac_try="$ac_link"
 
6107
case "(($ac_try" in
 
6108
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6109
  *) ac_try_echo=$ac_try;;
 
6110
esac
 
6111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6112
  (eval "$ac_link") 2>&5
5457
6113
  ac_status=$?
5458
6114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459
6115
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5460
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461
 
  (eval $ac_try) 2>&5
 
6116
  { (case "(($ac_try" in
 
6117
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6118
  *) ac_try_echo=$ac_try;;
 
6119
esac
 
6120
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6121
  (eval "$ac_try") 2>&5
5462
6122
  ac_status=$?
5463
6123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464
6124
  (exit $ac_status); }; }; then
5471
6131
( exit $ac_status )
5472
6132
ac_cv_func_malloc_0_nonnull=no
5473
6133
fi
5474
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5475
 
fi
5476
 
fi
5477
 
echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5478
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
 
6134
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6135
fi
 
6136
 
 
6137
 
 
6138
fi
 
6139
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
 
6140
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
5479
6141
if test $ac_cv_func_malloc_0_nonnull = yes; then
5480
6142
  
5481
6143
cat >>confdefs.h <<\_ACEOF
5487
6149
@%:@define HAVE_MALLOC 0
5488
6150
_ACEOF
5489
6151
 
5490
 
   case $LIB@&t@OBJS in
5491
 
    "malloc.$ac_objext"   | \
5492
 
  *" malloc.$ac_objext"   | \
5493
 
    "malloc.$ac_objext "* | \
 
6152
   case " $LIB@&t@OBJS " in
5494
6153
  *" malloc.$ac_objext "* ) ;;
5495
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext" ;;
 
6154
  *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
 
6155
 ;;
5496
6156
esac
5497
6157
 
5498
6158
   
5504
6164
 
5505
6165
 
5506
6166
 
5507
 
echo "$as_me:$LINENO: checking for working memcmp" >&5
5508
 
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
 
6167
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
 
6168
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
5509
6169
if test "${ac_cv_func_memcmp_working+set}" = set; then
5510
6170
  echo $ECHO_N "(cached) $ECHO_C" >&6
5511
6171
else
5524
6184
{
5525
6185
 
5526
6186
  /* Some versions of memcmp are not 8-bit clean.  */
5527
 
  char c0 = 0x40, c1 = 0x80, c2 = 0x81;
 
6187
  char c0 = '\100', c1 = '\200', c2 = '\201';
5528
6188
  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
5529
 
    exit (1);
 
6189
    return 1;
5530
6190
 
5531
6191
  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
5532
6192
     or more and with at least one buffer not starting on a 4-byte boundary.
5542
6202
        strcpy (a, "--------01111111");
5543
6203
        strcpy (b, "--------10000000");
5544
6204
        if (memcmp (a, b, 16) >= 0)
5545
 
          exit (1);
 
6205
          return 1;
5546
6206
      }
5547
 
    exit (0);
 
6207
    return 0;
5548
6208
  }
5549
6209
 
5550
6210
  ;
5552
6212
}
5553
6213
_ACEOF
5554
6214
rm -f conftest$ac_exeext
5555
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5556
 
  (eval $ac_link) 2>&5
 
6215
if { (ac_try="$ac_link"
 
6216
case "(($ac_try" in
 
6217
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6218
  *) ac_try_echo=$ac_try;;
 
6219
esac
 
6220
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6221
  (eval "$ac_link") 2>&5
5557
6222
  ac_status=$?
5558
6223
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559
6224
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5560
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5561
 
  (eval $ac_try) 2>&5
 
6225
  { (case "(($ac_try" in
 
6226
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6227
  *) ac_try_echo=$ac_try;;
 
6228
esac
 
6229
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6230
  (eval "$ac_try") 2>&5
5562
6231
  ac_status=$?
5563
6232
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564
6233
  (exit $ac_status); }; }; then
5571
6240
( exit $ac_status )
5572
6241
ac_cv_func_memcmp_working=no
5573
6242
fi
5574
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5575
 
fi
5576
 
fi
5577
 
echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
5578
 
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
5579
 
test $ac_cv_func_memcmp_working = no && case $LIB@&t@OBJS in
5580
 
    "memcmp.$ac_objext"   | \
5581
 
  *" memcmp.$ac_objext"   | \
5582
 
    "memcmp.$ac_objext "* | \
 
6243
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6244
fi
 
6245
 
 
6246
 
 
6247
fi
 
6248
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
 
6249
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
 
6250
test $ac_cv_func_memcmp_working = no && case " $LIB@&t@OBJS " in
5583
6251
  *" memcmp.$ac_objext "* ) ;;
5584
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS memcmp.$ac_objext" ;;
 
6252
  *) LIB@&t@OBJS="$LIB@&t@OBJS memcmp.$ac_objext"
 
6253
 ;;
5585
6254
esac
5586
6255
 
5587
6256
 
5590
6259
for ac_header in stdlib.h unistd.h
5591
6260
do
5592
6261
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5593
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5594
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5595
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5596
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6262
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6263
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6264
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6265
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5597
6266
  echo $ECHO_N "(cached) $ECHO_C" >&6
5598
6267
fi
5599
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5600
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6268
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6269
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6270
echo "${ECHO_T}$ac_res" >&6; }
5601
6271
else
5602
6272
  # Is the header compilable?
5603
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5604
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
6273
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6274
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5605
6275
cat >conftest.$ac_ext <<_ACEOF
5606
6276
/* confdefs.h.  */
5607
6277
_ACEOF
5612
6282
@%:@include <$ac_header>
5613
6283
_ACEOF
5614
6284
rm -f conftest.$ac_objext
5615
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5616
 
  (eval $ac_compile) 2>conftest.er1
 
6285
if { (ac_try="$ac_compile"
 
6286
case "(($ac_try" in
 
6287
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6288
  *) ac_try_echo=$ac_try;;
 
6289
esac
 
6290
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6291
  (eval "$ac_compile") 2>conftest.er1
5617
6292
  ac_status=$?
5618
6293
  grep -v '^ *+' conftest.er1 >conftest.err
5619
6294
  rm -f conftest.er1
5620
6295
  cat conftest.err >&5
5621
6296
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622
 
  (exit $ac_status); } &&
5623
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5624
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625
 
  (eval $ac_try) 2>&5
5626
 
  ac_status=$?
5627
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628
 
  (exit $ac_status); }; } &&
5629
 
         { ac_try='test -s conftest.$ac_objext'
5630
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5631
 
  (eval $ac_try) 2>&5
5632
 
  ac_status=$?
5633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634
 
  (exit $ac_status); }; }; then
 
6297
  (exit $ac_status); } && {
 
6298
         test -z "$ac_c_werror_flag" ||
 
6299
         test ! -s conftest.err
 
6300
       } && test -s conftest.$ac_objext; then
5635
6301
  ac_header_compiler=yes
5636
6302
else
5637
6303
  echo "$as_me: failed program was:" >&5
5638
6304
sed 's/^/| /' conftest.$ac_ext >&5
5639
6305
 
5640
 
ac_header_compiler=no
 
6306
        ac_header_compiler=no
5641
6307
fi
5642
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5643
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5644
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
6308
 
 
6309
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6310
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6311
echo "${ECHO_T}$ac_header_compiler" >&6; }
5645
6312
 
5646
6313
# Is the header present?
5647
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5648
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
6314
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6315
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5649
6316
cat >conftest.$ac_ext <<_ACEOF
5650
6317
/* confdefs.h.  */
5651
6318
_ACEOF
5654
6321
/* end confdefs.h.  */
5655
6322
@%:@include <$ac_header>
5656
6323
_ACEOF
5657
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5658
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6324
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6325
case "(($ac_try" in
 
6326
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6327
  *) ac_try_echo=$ac_try;;
 
6328
esac
 
6329
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6330
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5659
6331
  ac_status=$?
5660
6332
  grep -v '^ *+' conftest.er1 >conftest.err
5661
6333
  rm -f conftest.er1
5662
6334
  cat conftest.err >&5
5663
6335
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664
 
  (exit $ac_status); } >/dev/null; then
5665
 
  if test -s conftest.err; then
5666
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5667
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5668
 
  else
5669
 
    ac_cpp_err=
5670
 
  fi
5671
 
else
5672
 
  ac_cpp_err=yes
5673
 
fi
5674
 
if test -z "$ac_cpp_err"; then
 
6336
  (exit $ac_status); } >/dev/null && {
 
6337
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6338
         test ! -s conftest.err
 
6339
       }; then
5675
6340
  ac_header_preproc=yes
5676
6341
else
5677
6342
  echo "$as_me: failed program was:" >&5
5679
6344
 
5680
6345
  ac_header_preproc=no
5681
6346
fi
 
6347
 
5682
6348
rm -f conftest.err conftest.$ac_ext
5683
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5684
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6349
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6350
echo "${ECHO_T}$ac_header_preproc" >&6; }
5685
6351
 
5686
6352
# So?  What about this header?
5687
6353
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5705
6371
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5706
6372
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5707
6373
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5708
 
    (
5709
 
      cat <<\_ASBOX
5710
 
@%:@@%:@ ---------------------------------- @%:@@%:@
5711
 
@%:@@%:@ Report this to doug@sourcejudy.com @%:@@%:@
5712
 
@%:@@%:@ ---------------------------------- @%:@@%:@
 
6374
    ( cat <<\_ASBOX
 
6375
@%:@@%:@ ------------------------------------ @%:@@%:@
 
6376
@%:@@%:@ Report this to dougbaskins@yahoo.com @%:@@%:@
 
6377
@%:@@%:@ ------------------------------------ @%:@@%:@
5713
6378
_ASBOX
5714
 
    ) |
5715
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6379
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5716
6380
    ;;
5717
6381
esac
5718
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5719
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5720
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6382
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6383
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6384
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5721
6385
  echo $ECHO_N "(cached) $ECHO_C" >&6
5722
6386
else
5723
6387
  eval "$as_ac_Header=\$ac_header_preproc"
5724
6388
fi
5725
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5726
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6389
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6390
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6391
echo "${ECHO_T}$ac_res" >&6; }
5727
6392
 
5728
6393
fi
5729
6394
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5739
6404
for ac_func in getpagesize
5740
6405
do
5741
6406
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5742
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
5743
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5744
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
6407
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
6408
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
6409
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5745
6410
  echo $ECHO_N "(cached) $ECHO_C" >&6
5746
6411
else
5747
6412
  cat >conftest.$ac_ext <<_ACEOF
5767
6432
 
5768
6433
#undef $ac_func
5769
6434
 
5770
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6435
/* Override any GCC internal prototype to avoid an error.
 
6436
   Use char because int might match the return type of a GCC
 
6437
   builtin and then its argument prototype would still apply.  */
5771
6438
#ifdef __cplusplus
5772
6439
extern "C"
5773
 
{
5774
6440
#endif
5775
 
/* We use char because int might match the return type of a gcc2
5776
 
   builtin and then its argument prototype would still apply.  */
5777
6441
char $ac_func ();
5778
6442
/* The GNU C library defines this for functions which it implements
5779
6443
    to always fail with ENOSYS.  Some functions are actually named
5780
6444
    something starting with __ and the normal name is an alias.  */
5781
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
6445
#if defined __stub_$ac_func || defined __stub___$ac_func
5782
6446
choke me
5783
 
#else
5784
 
char (*f) () = $ac_func;
5785
 
#endif
5786
 
#ifdef __cplusplus
5787
 
}
5788
6447
#endif
5789
6448
 
5790
6449
int
5791
6450
main ()
5792
6451
{
5793
 
return f != $ac_func;
 
6452
return $ac_func ();
5794
6453
  ;
5795
6454
  return 0;
5796
6455
}
5797
6456
_ACEOF
5798
6457
rm -f conftest.$ac_objext conftest$ac_exeext
5799
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5800
 
  (eval $ac_link) 2>conftest.er1
 
6458
if { (ac_try="$ac_link"
 
6459
case "(($ac_try" in
 
6460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6461
  *) ac_try_echo=$ac_try;;
 
6462
esac
 
6463
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6464
  (eval "$ac_link") 2>conftest.er1
5801
6465
  ac_status=$?
5802
6466
  grep -v '^ *+' conftest.er1 >conftest.err
5803
6467
  rm -f conftest.er1
5804
6468
  cat conftest.err >&5
5805
6469
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806
 
  (exit $ac_status); } &&
5807
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5808
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5809
 
  (eval $ac_try) 2>&5
5810
 
  ac_status=$?
5811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812
 
  (exit $ac_status); }; } &&
5813
 
         { ac_try='test -s conftest$ac_exeext'
5814
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5815
 
  (eval $ac_try) 2>&5
5816
 
  ac_status=$?
5817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818
 
  (exit $ac_status); }; }; then
 
6470
  (exit $ac_status); } && {
 
6471
         test -z "$ac_c_werror_flag" ||
 
6472
         test ! -s conftest.err
 
6473
       } && test -s conftest$ac_exeext &&
 
6474
       $as_test_x conftest$ac_exeext; then
5819
6475
  eval "$as_ac_var=yes"
5820
6476
else
5821
6477
  echo "$as_me: failed program was:" >&5
5822
6478
sed 's/^/| /' conftest.$ac_ext >&5
5823
6479
 
5824
 
eval "$as_ac_var=no"
 
6480
        eval "$as_ac_var=no"
5825
6481
fi
5826
 
rm -f conftest.err conftest.$ac_objext \
 
6482
 
 
6483
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5827
6484
      conftest$ac_exeext conftest.$ac_ext
5828
6485
fi
5829
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5830
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
6486
ac_res=`eval echo '${'$as_ac_var'}'`
 
6487
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6488
echo "${ECHO_T}$ac_res" >&6; }
5831
6489
if test `eval echo '${'$as_ac_var'}'` = yes; then
5832
6490
  cat >>confdefs.h <<_ACEOF
5833
6491
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5836
6494
fi
5837
6495
done
5838
6496
 
5839
 
echo "$as_me:$LINENO: checking for working mmap" >&5
5840
 
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
 
6497
{ echo "$as_me:$LINENO: checking for working mmap" >&5
 
6498
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
5841
6499
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5842
6500
  echo $ECHO_N "(cached) $ECHO_C" >&6
5843
6501
else
5879
6537
#include <fcntl.h>
5880
6538
#include <sys/mman.h>
5881
6539
 
5882
 
#if !STDC_HEADERS && !HAVE_STDLIB_H
 
6540
#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
5883
6541
char *malloc ();
5884
6542
#endif
5885
6543
 
5886
6544
/* This mess was copied from the GNU getpagesize.h.  */
5887
 
#if !HAVE_GETPAGESIZE
 
6545
#ifndef HAVE_GETPAGESIZE
5888
6546
/* Assume that all systems that can run configure have sys/param.h.  */
5889
 
# if !HAVE_SYS_PARAM_H
 
6547
# ifndef HAVE_SYS_PARAM_H
5890
6548
#  define HAVE_SYS_PARAM_H 1
5891
6549
# endif
5892
6550
 
5893
6551
# ifdef _SC_PAGESIZE
5894
6552
#  define getpagesize() sysconf(_SC_PAGESIZE)
5895
6553
# else /* no _SC_PAGESIZE */
5896
 
#  if HAVE_SYS_PARAM_H
 
6554
#  ifdef HAVE_SYS_PARAM_H
5897
6555
#   include <sys/param.h>
5898
6556
#   ifdef EXEC_PAGESIZE
5899
6557
#    define getpagesize() EXEC_PAGESIZE
5932
6590
  /* First, make a file with some known garbage in it. */
5933
6591
  data = (char *) malloc (pagesize);
5934
6592
  if (!data)
5935
 
    exit (1);
 
6593
    return 1;
5936
6594
  for (i = 0; i < pagesize; ++i)
5937
6595
    *(data + i) = rand ();
5938
6596
  umask (0);
5939
6597
  fd = creat ("conftest.mmap", 0600);
5940
6598
  if (fd < 0)
5941
 
    exit (1);
 
6599
    return 1;
5942
6600
  if (write (fd, data, pagesize) != pagesize)
5943
 
    exit (1);
 
6601
    return 1;
5944
6602
  close (fd);
5945
6603
 
5946
6604
  /* Next, try to mmap the file at a fixed address which already has
5948
6606
     we see the same garbage.  */
5949
6607
  fd = open ("conftest.mmap", O_RDWR);
5950
6608
  if (fd < 0)
5951
 
    exit (1);
 
6609
    return 1;
5952
6610
  data2 = (char *) malloc (2 * pagesize);
5953
6611
  if (!data2)
5954
 
    exit (1);
5955
 
  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
 
6612
    return 1;
 
6613
  data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
5956
6614
  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5957
6615
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
5958
 
    exit (1);
 
6616
    return 1;
5959
6617
  for (i = 0; i < pagesize; ++i)
5960
6618
    if (*(data + i) != *(data2 + i))
5961
 
      exit (1);
 
6619
      return 1;
5962
6620
 
5963
6621
  /* Finally, make sure that changes to the mapped area do not
5964
6622
     percolate back to the file as seen by read().  (This is a bug on
5967
6625
    *(data2 + i) = *(data2 + i) + 1;
5968
6626
  data3 = (char *) malloc (pagesize);
5969
6627
  if (!data3)
5970
 
    exit (1);
 
6628
    return 1;
5971
6629
  if (read (fd, data3, pagesize) != pagesize)
5972
 
    exit (1);
 
6630
    return 1;
5973
6631
  for (i = 0; i < pagesize; ++i)
5974
6632
    if (*(data + i) != *(data3 + i))
5975
 
      exit (1);
 
6633
      return 1;
5976
6634
  close (fd);
5977
 
  exit (0);
 
6635
  return 0;
5978
6636
}
5979
6637
_ACEOF
5980
6638
rm -f conftest$ac_exeext
5981
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5982
 
  (eval $ac_link) 2>&5
 
6639
if { (ac_try="$ac_link"
 
6640
case "(($ac_try" in
 
6641
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6642
  *) ac_try_echo=$ac_try;;
 
6643
esac
 
6644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6645
  (eval "$ac_link") 2>&5
5983
6646
  ac_status=$?
5984
6647
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985
6648
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5986
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987
 
  (eval $ac_try) 2>&5
 
6649
  { (case "(($ac_try" in
 
6650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6651
  *) ac_try_echo=$ac_try;;
 
6652
esac
 
6653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6654
  (eval "$ac_try") 2>&5
5988
6655
  ac_status=$?
5989
6656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990
6657
  (exit $ac_status); }; }; then
5997
6664
( exit $ac_status )
5998
6665
ac_cv_func_mmap_fixed_mapped=no
5999
6666
fi
6000
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6001
 
fi
6002
 
fi
6003
 
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6004
 
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
 
6667
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6668
fi
 
6669
 
 
6670
 
 
6671
fi
 
6672
{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
 
6673
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
6005
6674
if test $ac_cv_func_mmap_fixed_mapped = yes; then
6006
6675
  
6007
6676
cat >>confdefs.h <<\_ACEOF
6011
6680
fi
6012
6681
rm -f conftest.mmap
6013
6682
 
6014
 
echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
6015
 
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
 
6683
{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
 
6684
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
6016
6685
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
6017
6686
  echo $ECHO_N "(cached) $ECHO_C" >&6
6018
6687
else
6036
6705
     /* Linux will dereference the symlink and fail.
6037
6706
        That is better in the sense that it means we will not
6038
6707
        have to compile and use the lstat wrapper.  */
6039
 
     exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
 
6708
     return lstat ("conftest.sym/", &sbuf) == 0;
6040
6709
  ;
6041
6710
  return 0;
6042
6711
}
6043
6712
_ACEOF
6044
6713
rm -f conftest$ac_exeext
6045
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6046
 
  (eval $ac_link) 2>&5
 
6714
if { (ac_try="$ac_link"
 
6715
case "(($ac_try" in
 
6716
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6717
  *) ac_try_echo=$ac_try;;
 
6718
esac
 
6719
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6720
  (eval "$ac_link") 2>&5
6047
6721
  ac_status=$?
6048
6722
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049
6723
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6050
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6051
 
  (eval $ac_try) 2>&5
 
6724
  { (case "(($ac_try" in
 
6725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6726
  *) ac_try_echo=$ac_try;;
 
6727
esac
 
6728
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6729
  (eval "$ac_try") 2>&5
6052
6730
  ac_status=$?
6053
6731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054
6732
  (exit $ac_status); }; }; then
6061
6739
( exit $ac_status )
6062
6740
ac_cv_func_lstat_dereferences_slashed_symlink=no
6063
6741
fi
6064
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6742
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6065
6743
fi
 
6744
 
 
6745
 
6066
6746
else
6067
6747
  # If the `ln -s' command failed, then we probably don't even
6068
6748
  # have an lstat function.
6071
6751
rm -f conftest.sym conftest.file
6072
6752
 
6073
6753
fi
6074
 
echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
6075
 
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
 
6754
{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
 
6755
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
6076
6756
 
6077
6757
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
6078
6758
  
6082
6762
 
6083
6763
 
6084
6764
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
6085
 
  case $LIB@&t@OBJS in
6086
 
    "lstat.$ac_objext"   | \
6087
 
  *" lstat.$ac_objext"   | \
6088
 
    "lstat.$ac_objext "* | \
 
6765
  case " $LIB@&t@OBJS " in
6089
6766
  *" lstat.$ac_objext "* ) ;;
6090
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext" ;;
 
6767
  *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
 
6768
 ;;
6091
6769
esac
6092
6770
 
6093
6771
fi
6094
6772
 
6095
 
echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
6096
 
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
 
6773
{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
 
6774
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
6097
6775
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
6098
6776
  echo $ECHO_N "(cached) $ECHO_C" >&6
6099
6777
else
6111
6789
main ()
6112
6790
{
6113
6791
struct stat sbuf;
6114
 
  exit (stat ("", &sbuf) ? 1 : 0);
 
6792
  return stat ("", &sbuf) == 0;
6115
6793
  ;
6116
6794
  return 0;
6117
6795
}
6118
6796
_ACEOF
6119
6797
rm -f conftest$ac_exeext
6120
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6121
 
  (eval $ac_link) 2>&5
 
6798
if { (ac_try="$ac_link"
 
6799
case "(($ac_try" in
 
6800
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6801
  *) ac_try_echo=$ac_try;;
 
6802
esac
 
6803
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6804
  (eval "$ac_link") 2>&5
6122
6805
  ac_status=$?
6123
6806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124
6807
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6125
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6126
 
  (eval $ac_try) 2>&5
 
6808
  { (case "(($ac_try" in
 
6809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6810
  *) ac_try_echo=$ac_try;;
 
6811
esac
 
6812
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6813
  (eval "$ac_try") 2>&5
6127
6814
  ac_status=$?
6128
6815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129
6816
  (exit $ac_status); }; }; then
6130
 
  ac_cv_func_stat_empty_string_bug=yes
 
6817
  ac_cv_func_stat_empty_string_bug=no
6131
6818
else
6132
6819
  echo "$as_me: program exited with status $ac_status" >&5
6133
6820
echo "$as_me: failed program was:" >&5
6134
6821
sed 's/^/| /' conftest.$ac_ext >&5
6135
6822
 
6136
6823
( exit $ac_status )
6137
 
ac_cv_func_stat_empty_string_bug=no
6138
 
fi
6139
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6140
 
fi
6141
 
fi
6142
 
echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
6143
 
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
 
6824
ac_cv_func_stat_empty_string_bug=yes
 
6825
fi
 
6826
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6827
fi
 
6828
 
 
6829
 
 
6830
fi
 
6831
{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
 
6832
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
6144
6833
if test $ac_cv_func_stat_empty_string_bug = yes; then
6145
 
  case $LIB@&t@OBJS in
6146
 
    "stat.$ac_objext"   | \
6147
 
  *" stat.$ac_objext"   | \
6148
 
    "stat.$ac_objext "* | \
 
6834
  case " $LIB@&t@OBJS " in
6149
6835
  *" stat.$ac_objext "* ) ;;
6150
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext" ;;
 
6836
  *) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext"
 
6837
 ;;
6151
6838
esac
6152
6839
 
6153
6840
  
6161
6848
for ac_func in vprintf
6162
6849
do
6163
6850
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6164
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
6165
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6166
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
6851
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
6852
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
6853
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6167
6854
  echo $ECHO_N "(cached) $ECHO_C" >&6
6168
6855
else
6169
6856
  cat >conftest.$ac_ext <<_ACEOF
6189
6876
 
6190
6877
#undef $ac_func
6191
6878
 
6192
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6879
/* Override any GCC internal prototype to avoid an error.
 
6880
   Use char because int might match the return type of a GCC
 
6881
   builtin and then its argument prototype would still apply.  */
6193
6882
#ifdef __cplusplus
6194
6883
extern "C"
6195
 
{
6196
6884
#endif
6197
 
/* We use char because int might match the return type of a gcc2
6198
 
   builtin and then its argument prototype would still apply.  */
6199
6885
char $ac_func ();
6200
6886
/* The GNU C library defines this for functions which it implements
6201
6887
    to always fail with ENOSYS.  Some functions are actually named
6202
6888
    something starting with __ and the normal name is an alias.  */
6203
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
6889
#if defined __stub_$ac_func || defined __stub___$ac_func
6204
6890
choke me
6205
 
#else
6206
 
char (*f) () = $ac_func;
6207
 
#endif
6208
 
#ifdef __cplusplus
6209
 
}
6210
6891
#endif
6211
6892
 
6212
6893
int
6213
6894
main ()
6214
6895
{
6215
 
return f != $ac_func;
 
6896
return $ac_func ();
6216
6897
  ;
6217
6898
  return 0;
6218
6899
}
6219
6900
_ACEOF
6220
6901
rm -f conftest.$ac_objext conftest$ac_exeext
6221
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6222
 
  (eval $ac_link) 2>conftest.er1
 
6902
if { (ac_try="$ac_link"
 
6903
case "(($ac_try" in
 
6904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6905
  *) ac_try_echo=$ac_try;;
 
6906
esac
 
6907
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6908
  (eval "$ac_link") 2>conftest.er1
6223
6909
  ac_status=$?
6224
6910
  grep -v '^ *+' conftest.er1 >conftest.err
6225
6911
  rm -f conftest.er1
6226
6912
  cat conftest.err >&5
6227
6913
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228
 
  (exit $ac_status); } &&
6229
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6230
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6231
 
  (eval $ac_try) 2>&5
6232
 
  ac_status=$?
6233
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234
 
  (exit $ac_status); }; } &&
6235
 
         { ac_try='test -s conftest$ac_exeext'
6236
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6237
 
  (eval $ac_try) 2>&5
6238
 
  ac_status=$?
6239
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240
 
  (exit $ac_status); }; }; then
 
6914
  (exit $ac_status); } && {
 
6915
         test -z "$ac_c_werror_flag" ||
 
6916
         test ! -s conftest.err
 
6917
       } && test -s conftest$ac_exeext &&
 
6918
       $as_test_x conftest$ac_exeext; then
6241
6919
  eval "$as_ac_var=yes"
6242
6920
else
6243
6921
  echo "$as_me: failed program was:" >&5
6244
6922
sed 's/^/| /' conftest.$ac_ext >&5
6245
6923
 
6246
 
eval "$as_ac_var=no"
 
6924
        eval "$as_ac_var=no"
6247
6925
fi
6248
 
rm -f conftest.err conftest.$ac_objext \
 
6926
 
 
6927
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6249
6928
      conftest$ac_exeext conftest.$ac_ext
6250
6929
fi
6251
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6252
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
6930
ac_res=`eval echo '${'$as_ac_var'}'`
 
6931
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6932
echo "${ECHO_T}$ac_res" >&6; }
6253
6933
if test `eval echo '${'$as_ac_var'}'` = yes; then
6254
6934
  cat >>confdefs.h <<_ACEOF
6255
6935
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6256
6936
_ACEOF
6257
6937
 
6258
 
echo "$as_me:$LINENO: checking for _doprnt" >&5
6259
 
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
 
6938
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
 
6939
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
6260
6940
if test "${ac_cv_func__doprnt+set}" = set; then
6261
6941
  echo $ECHO_N "(cached) $ECHO_C" >&6
6262
6942
else
6283
6963
 
6284
6964
#undef _doprnt
6285
6965
 
6286
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6966
/* Override any GCC internal prototype to avoid an error.
 
6967
   Use char because int might match the return type of a GCC
 
6968
   builtin and then its argument prototype would still apply.  */
6287
6969
#ifdef __cplusplus
6288
6970
extern "C"
6289
 
{
6290
6971
#endif
6291
 
/* We use char because int might match the return type of a gcc2
6292
 
   builtin and then its argument prototype would still apply.  */
6293
6972
char _doprnt ();
6294
6973
/* The GNU C library defines this for functions which it implements
6295
6974
    to always fail with ENOSYS.  Some functions are actually named
6296
6975
    something starting with __ and the normal name is an alias.  */
6297
 
#if defined (__stub__doprnt) || defined (__stub____doprnt)
 
6976
#if defined __stub__doprnt || defined __stub____doprnt
6298
6977
choke me
6299
 
#else
6300
 
char (*f) () = _doprnt;
6301
 
#endif
6302
 
#ifdef __cplusplus
6303
 
}
6304
6978
#endif
6305
6979
 
6306
6980
int
6307
6981
main ()
6308
6982
{
6309
 
return f != _doprnt;
 
6983
return _doprnt ();
6310
6984
  ;
6311
6985
  return 0;
6312
6986
}
6313
6987
_ACEOF
6314
6988
rm -f conftest.$ac_objext conftest$ac_exeext
6315
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6316
 
  (eval $ac_link) 2>conftest.er1
 
6989
if { (ac_try="$ac_link"
 
6990
case "(($ac_try" in
 
6991
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6992
  *) ac_try_echo=$ac_try;;
 
6993
esac
 
6994
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6995
  (eval "$ac_link") 2>conftest.er1
6317
6996
  ac_status=$?
6318
6997
  grep -v '^ *+' conftest.er1 >conftest.err
6319
6998
  rm -f conftest.er1
6320
6999
  cat conftest.err >&5
6321
7000
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322
 
  (exit $ac_status); } &&
6323
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6324
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6325
 
  (eval $ac_try) 2>&5
6326
 
  ac_status=$?
6327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328
 
  (exit $ac_status); }; } &&
6329
 
         { ac_try='test -s conftest$ac_exeext'
6330
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6331
 
  (eval $ac_try) 2>&5
6332
 
  ac_status=$?
6333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334
 
  (exit $ac_status); }; }; then
 
7001
  (exit $ac_status); } && {
 
7002
         test -z "$ac_c_werror_flag" ||
 
7003
         test ! -s conftest.err
 
7004
       } && test -s conftest$ac_exeext &&
 
7005
       $as_test_x conftest$ac_exeext; then
6335
7006
  ac_cv_func__doprnt=yes
6336
7007
else
6337
7008
  echo "$as_me: failed program was:" >&5
6338
7009
sed 's/^/| /' conftest.$ac_ext >&5
6339
7010
 
6340
 
ac_cv_func__doprnt=no
 
7011
        ac_cv_func__doprnt=no
6341
7012
fi
6342
 
rm -f conftest.err conftest.$ac_objext \
 
7013
 
 
7014
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6343
7015
      conftest$ac_exeext conftest.$ac_ext
6344
7016
fi
6345
 
echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
6346
 
echo "${ECHO_T}$ac_cv_func__doprnt" >&6
 
7017
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
 
7018
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
6347
7019
if test $ac_cv_func__doprnt = yes; then
6348
7020
  
6349
7021
cat >>confdefs.h <<\_ACEOF
6370
7042
for ac_func in getpagesize gettimeofday memset munmap pow strchr strcspn strerror strstr strtoul uname
6371
7043
do
6372
7044
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6373
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
6374
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6375
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
7045
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7046
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
7047
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6376
7048
  echo $ECHO_N "(cached) $ECHO_C" >&6
6377
7049
else
6378
7050
  cat >conftest.$ac_ext <<_ACEOF
6398
7070
 
6399
7071
#undef $ac_func
6400
7072
 
6401
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7073
/* Override any GCC internal prototype to avoid an error.
 
7074
   Use char because int might match the return type of a GCC
 
7075
   builtin and then its argument prototype would still apply.  */
6402
7076
#ifdef __cplusplus
6403
7077
extern "C"
6404
 
{
6405
7078
#endif
6406
 
/* We use char because int might match the return type of a gcc2
6407
 
   builtin and then its argument prototype would still apply.  */
6408
7079
char $ac_func ();
6409
7080
/* The GNU C library defines this for functions which it implements
6410
7081
    to always fail with ENOSYS.  Some functions are actually named
6411
7082
    something starting with __ and the normal name is an alias.  */
6412
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
7083
#if defined __stub_$ac_func || defined __stub___$ac_func
6413
7084
choke me
6414
 
#else
6415
 
char (*f) () = $ac_func;
6416
 
#endif
6417
 
#ifdef __cplusplus
6418
 
}
6419
7085
#endif
6420
7086
 
6421
7087
int
6422
7088
main ()
6423
7089
{
6424
 
return f != $ac_func;
 
7090
return $ac_func ();
6425
7091
  ;
6426
7092
  return 0;
6427
7093
}
6428
7094
_ACEOF
6429
7095
rm -f conftest.$ac_objext conftest$ac_exeext
6430
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6431
 
  (eval $ac_link) 2>conftest.er1
 
7096
if { (ac_try="$ac_link"
 
7097
case "(($ac_try" in
 
7098
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7099
  *) ac_try_echo=$ac_try;;
 
7100
esac
 
7101
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7102
  (eval "$ac_link") 2>conftest.er1
6432
7103
  ac_status=$?
6433
7104
  grep -v '^ *+' conftest.er1 >conftest.err
6434
7105
  rm -f conftest.er1
6435
7106
  cat conftest.err >&5
6436
7107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437
 
  (exit $ac_status); } &&
6438
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6439
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440
 
  (eval $ac_try) 2>&5
6441
 
  ac_status=$?
6442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443
 
  (exit $ac_status); }; } &&
6444
 
         { ac_try='test -s conftest$ac_exeext'
6445
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446
 
  (eval $ac_try) 2>&5
6447
 
  ac_status=$?
6448
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449
 
  (exit $ac_status); }; }; then
 
7108
  (exit $ac_status); } && {
 
7109
         test -z "$ac_c_werror_flag" ||
 
7110
         test ! -s conftest.err
 
7111
       } && test -s conftest$ac_exeext &&
 
7112
       $as_test_x conftest$ac_exeext; then
6450
7113
  eval "$as_ac_var=yes"
6451
7114
else
6452
7115
  echo "$as_me: failed program was:" >&5
6453
7116
sed 's/^/| /' conftest.$ac_ext >&5
6454
7117
 
6455
 
eval "$as_ac_var=no"
 
7118
        eval "$as_ac_var=no"
6456
7119
fi
6457
 
rm -f conftest.err conftest.$ac_objext \
 
7120
 
 
7121
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6458
7122
      conftest$ac_exeext conftest.$ac_ext
6459
7123
fi
6460
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6461
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
7124
ac_res=`eval echo '${'$as_ac_var'}'`
 
7125
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
7126
echo "${ECHO_T}$ac_res" >&6; }
6462
7127
if test `eval echo '${'$as_ac_var'}'` = yes; then
6463
7128
  cat >>confdefs.h <<_ACEOF
6464
7129
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6471
7136
if test -n "$ac_tool_prefix"; then
6472
7137
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6473
7138
set dummy ${ac_tool_prefix}ar; ac_word=$2
6474
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6475
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7139
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7140
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6476
7141
if test "${ac_cv_prog_AR+set}" = set; then
6477
7142
  echo $ECHO_N "(cached) $ECHO_C" >&6
6478
7143
else
6485
7150
  IFS=$as_save_IFS
6486
7151
  test -z "$as_dir" && as_dir=.
6487
7152
  for ac_exec_ext in '' $ac_executable_extensions; do
6488
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7153
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489
7154
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6490
7155
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6491
7156
    break 2
6492
7157
  fi
6493
7158
done
6494
7159
done
 
7160
IFS=$as_save_IFS
6495
7161
 
6496
7162
fi
6497
7163
fi
6498
7164
AR=$ac_cv_prog_AR
6499
7165
if test -n "$AR"; then
6500
 
  echo "$as_me:$LINENO: result: $AR" >&5
6501
 
echo "${ECHO_T}$AR" >&6
 
7166
  { echo "$as_me:$LINENO: result: $AR" >&5
 
7167
echo "${ECHO_T}$AR" >&6; }
6502
7168
else
6503
 
  echo "$as_me:$LINENO: result: no" >&5
6504
 
echo "${ECHO_T}no" >&6
 
7169
  { echo "$as_me:$LINENO: result: no" >&5
 
7170
echo "${ECHO_T}no" >&6; }
6505
7171
fi
 
7172
 
6506
7173
 
6507
7174
fi
6508
7175
if test -z "$ac_cv_prog_AR"; then
6509
7176
  ac_ct_AR=$AR
6510
7177
  # Extract the first word of "ar", so it can be a program name with args.
6511
7178
set dummy ar; ac_word=$2
6512
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6513
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7179
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7180
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6514
7181
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6515
7182
  echo $ECHO_N "(cached) $ECHO_C" >&6
6516
7183
else
6523
7190
  IFS=$as_save_IFS
6524
7191
  test -z "$as_dir" && as_dir=.
6525
7192
  for ac_exec_ext in '' $ac_executable_extensions; do
6526
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7193
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6527
7194
    ac_cv_prog_ac_ct_AR="ar"
6528
7195
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6529
7196
    break 2
6530
7197
  fi
6531
7198
done
6532
7199
done
 
7200
IFS=$as_save_IFS
6533
7201
 
6534
7202
fi
6535
7203
fi
6536
7204
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6537
7205
if test -n "$ac_ct_AR"; then
6538
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6539
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
7206
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7207
echo "${ECHO_T}$ac_ct_AR" >&6; }
6540
7208
else
6541
 
  echo "$as_me:$LINENO: result: no" >&5
6542
 
echo "${ECHO_T}no" >&6
 
7209
  { echo "$as_me:$LINENO: result: no" >&5
 
7210
echo "${ECHO_T}no" >&6; }
6543
7211
fi
6544
7212
 
6545
 
  AR=$ac_ct_AR
 
7213
  if test "x$ac_ct_AR" = x; then
 
7214
    AR=""
 
7215
  else
 
7216
    case $cross_compiling:$ac_tool_warned in
 
7217
yes:)
 
7218
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7219
whose name does not start with the host triplet.  If you think this
 
7220
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7221
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7222
whose name does not start with the host triplet.  If you think this
 
7223
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7224
ac_tool_warned=yes ;;
 
7225
esac
 
7226
    AR=$ac_ct_AR
 
7227
  fi
6546
7228
else
6547
7229
  AR="$ac_cv_prog_AR"
6548
7230
fi
6550
7232
if test -n "$ac_tool_prefix"; then
6551
7233
  # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6552
7234
set dummy ${ac_tool_prefix}ld; ac_word=$2
6553
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6554
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7235
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7236
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6555
7237
if test "${ac_cv_prog_LD+set}" = set; then
6556
7238
  echo $ECHO_N "(cached) $ECHO_C" >&6
6557
7239
else
6564
7246
  IFS=$as_save_IFS
6565
7247
  test -z "$as_dir" && as_dir=.
6566
7248
  for ac_exec_ext in '' $ac_executable_extensions; do
6567
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7249
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568
7250
    ac_cv_prog_LD="${ac_tool_prefix}ld"
6569
7251
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6570
7252
    break 2
6571
7253
  fi
6572
7254
done
6573
7255
done
 
7256
IFS=$as_save_IFS
6574
7257
 
6575
7258
fi
6576
7259
fi
6577
7260
LD=$ac_cv_prog_LD
6578
7261
if test -n "$LD"; then
6579
 
  echo "$as_me:$LINENO: result: $LD" >&5
6580
 
echo "${ECHO_T}$LD" >&6
 
7262
  { echo "$as_me:$LINENO: result: $LD" >&5
 
7263
echo "${ECHO_T}$LD" >&6; }
6581
7264
else
6582
 
  echo "$as_me:$LINENO: result: no" >&5
6583
 
echo "${ECHO_T}no" >&6
 
7265
  { echo "$as_me:$LINENO: result: no" >&5
 
7266
echo "${ECHO_T}no" >&6; }
6584
7267
fi
 
7268
 
6585
7269
 
6586
7270
fi
6587
7271
if test -z "$ac_cv_prog_LD"; then
6588
7272
  ac_ct_LD=$LD
6589
7273
  # Extract the first word of "ld", so it can be a program name with args.
6590
7274
set dummy ld; ac_word=$2
6591
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6592
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7275
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7276
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6593
7277
if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
6594
7278
  echo $ECHO_N "(cached) $ECHO_C" >&6
6595
7279
else
6602
7286
  IFS=$as_save_IFS
6603
7287
  test -z "$as_dir" && as_dir=.
6604
7288
  for ac_exec_ext in '' $ac_executable_extensions; do
6605
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7289
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6606
7290
    ac_cv_prog_ac_ct_LD="ld"
6607
7291
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6608
7292
    break 2
6609
7293
  fi
6610
7294
done
6611
7295
done
 
7296
IFS=$as_save_IFS
6612
7297
 
6613
7298
fi
6614
7299
fi
6615
7300
ac_ct_LD=$ac_cv_prog_ac_ct_LD
6616
7301
if test -n "$ac_ct_LD"; then
6617
 
  echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6618
 
echo "${ECHO_T}$ac_ct_LD" >&6
 
7302
  { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
 
7303
echo "${ECHO_T}$ac_ct_LD" >&6; }
6619
7304
else
6620
 
  echo "$as_me:$LINENO: result: no" >&5
6621
 
echo "${ECHO_T}no" >&6
 
7305
  { echo "$as_me:$LINENO: result: no" >&5
 
7306
echo "${ECHO_T}no" >&6; }
6622
7307
fi
6623
7308
 
6624
 
  LD=$ac_ct_LD
 
7309
  if test "x$ac_ct_LD" = x; then
 
7310
    LD=""
 
7311
  else
 
7312
    case $cross_compiling:$ac_tool_warned in
 
7313
yes:)
 
7314
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7315
whose name does not start with the host triplet.  If you think this
 
7316
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7317
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7318
whose name does not start with the host triplet.  If you think this
 
7319
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7320
ac_tool_warned=yes ;;
 
7321
esac
 
7322
    LD=$ac_ct_LD
 
7323
  fi
6625
7324
else
6626
7325
  LD="$ac_cv_prog_LD"
6627
7326
fi
6629
7328
if test -n "$ac_tool_prefix"; then
6630
7329
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6631
7330
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6632
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6633
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7331
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7332
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6634
7333
if test "${ac_cv_prog_RANLIB+set}" = set; then
6635
7334
  echo $ECHO_N "(cached) $ECHO_C" >&6
6636
7335
else
6643
7342
  IFS=$as_save_IFS
6644
7343
  test -z "$as_dir" && as_dir=.
6645
7344
  for ac_exec_ext in '' $ac_executable_extensions; do
6646
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7345
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647
7346
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6648
7347
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6649
7348
    break 2
6650
7349
  fi
6651
7350
done
6652
7351
done
 
7352
IFS=$as_save_IFS
6653
7353
 
6654
7354
fi
6655
7355
fi
6656
7356
RANLIB=$ac_cv_prog_RANLIB
6657
7357
if test -n "$RANLIB"; then
6658
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6659
 
echo "${ECHO_T}$RANLIB" >&6
 
7358
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7359
echo "${ECHO_T}$RANLIB" >&6; }
6660
7360
else
6661
 
  echo "$as_me:$LINENO: result: no" >&5
6662
 
echo "${ECHO_T}no" >&6
 
7361
  { echo "$as_me:$LINENO: result: no" >&5
 
7362
echo "${ECHO_T}no" >&6; }
6663
7363
fi
 
7364
 
6664
7365
 
6665
7366
fi
6666
7367
if test -z "$ac_cv_prog_RANLIB"; then
6667
7368
  ac_ct_RANLIB=$RANLIB
6668
7369
  # Extract the first word of "ranlib", so it can be a program name with args.
6669
7370
set dummy ranlib; ac_word=$2
6670
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6671
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7371
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7372
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6672
7373
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6673
7374
  echo $ECHO_N "(cached) $ECHO_C" >&6
6674
7375
else
6681
7382
  IFS=$as_save_IFS
6682
7383
  test -z "$as_dir" && as_dir=.
6683
7384
  for ac_exec_ext in '' $ac_executable_extensions; do
6684
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7385
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685
7386
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6686
7387
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6687
7388
    break 2
6688
7389
  fi
6689
7390
done
6690
7391
done
 
7392
IFS=$as_save_IFS
6691
7393
 
6692
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6693
7394
fi
6694
7395
fi
6695
7396
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6696
7397
if test -n "$ac_ct_RANLIB"; then
6697
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6698
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7398
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7399
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6699
7400
else
6700
 
  echo "$as_me:$LINENO: result: no" >&5
6701
 
echo "${ECHO_T}no" >&6
 
7401
  { echo "$as_me:$LINENO: result: no" >&5
 
7402
echo "${ECHO_T}no" >&6; }
6702
7403
fi
6703
7404
 
6704
 
  RANLIB=$ac_ct_RANLIB
 
7405
  if test "x$ac_ct_RANLIB" = x; then
 
7406
    RANLIB=":"
 
7407
  else
 
7408
    case $cross_compiling:$ac_tool_warned in
 
7409
yes:)
 
7410
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7411
whose name does not start with the host triplet.  If you think this
 
7412
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7413
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7414
whose name does not start with the host triplet.  If you think this
 
7415
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7416
ac_tool_warned=yes ;;
 
7417
esac
 
7418
    RANLIB=$ac_ct_RANLIB
 
7419
  fi
6705
7420
else
6706
7421
  RANLIB="$ac_cv_prog_RANLIB"
6707
7422
fi
6708
7423
 
6709
7424
 
6710
 
# Check whether --enable-shared or --disable-shared was given.
 
7425
# Check whether --enable-shared was given.
6711
7426
if test "${enable_shared+set}" = set; then
6712
 
  enableval="$enable_shared"
6713
 
  p=${PACKAGE-default}
 
7427
  enableval=$enable_shared; p=${PACKAGE-default}
6714
7428
    case $enableval in
6715
7429
    yes) enable_shared=yes ;;
6716
7430
    no) enable_shared=no ;;
6729
7443
    esac
6730
7444
else
6731
7445
  enable_shared=yes
6732
 
fi; 
6733
 
 
6734
 
# Check whether --enable-static or --disable-static was given.
 
7446
fi
 
7447
 
 
7448
 
 
7449
# Check whether --enable-static was given.
6735
7450
if test "${enable_static+set}" = set; then
6736
 
  enableval="$enable_static"
6737
 
  p=${PACKAGE-default}
 
7451
  enableval=$enable_static; p=${PACKAGE-default}
6738
7452
    case $enableval in
6739
7453
    yes) enable_static=yes ;;
6740
7454
    no) enable_static=no ;;
6753
7467
    esac
6754
7468
else
6755
7469
  enable_static=yes
6756
 
fi; 
6757
 
 
6758
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
7470
fi
 
7471
 
 
7472
 
 
7473
# Check whether --enable-fast-install was given.
6759
7474
if test "${enable_fast_install+set}" = set; then
6760
 
  enableval="$enable_fast_install"
6761
 
  p=${PACKAGE-default}
 
7475
  enableval=$enable_fast_install; p=${PACKAGE-default}
6762
7476
    case $enableval in
6763
7477
    yes) enable_fast_install=yes ;;
6764
7478
    no) enable_fast_install=no ;;
6777
7491
    esac
6778
7492
else
6779
7493
  enable_fast_install=yes
6780
 
fi; 
 
7494
fi
 
7495
 
6781
7496
 
6782
7497
# Make sure we can run config.sub.
6783
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
6784
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6785
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
7498
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
7499
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
7500
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6786
7501
   { (exit 1); exit 1; }; }
6787
7502
 
6788
 
echo "$as_me:$LINENO: checking build system type" >&5
6789
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
7503
{ echo "$as_me:$LINENO: checking build system type" >&5
 
7504
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
6790
7505
if test "${ac_cv_build+set}" = set; then
6791
7506
  echo $ECHO_N "(cached) $ECHO_C" >&6
6792
7507
else
6793
 
  ac_cv_build_alias=$build_alias
6794
 
test -z "$ac_cv_build_alias" &&
6795
 
  ac_cv_build_alias=`$ac_config_guess`
6796
 
test -z "$ac_cv_build_alias" &&
 
7508
  ac_build_alias=$build_alias
 
7509
test "x$ac_build_alias" = x &&
 
7510
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
7511
test "x$ac_build_alias" = x &&
6797
7512
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6798
7513
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6799
7514
   { (exit 1); exit 1; }; }
6800
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
6801
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
6802
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
7515
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
7516
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
7517
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6803
7518
   { (exit 1); exit 1; }; }
6804
7519
 
6805
7520
fi
6806
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6807
 
echo "${ECHO_T}$ac_cv_build" >&6
 
7521
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
7522
echo "${ECHO_T}$ac_cv_build" >&6; }
 
7523
case $ac_cv_build in
 
7524
*-*-*) ;;
 
7525
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
7526
echo "$as_me: error: invalid value of canonical build" >&2;}
 
7527
   { (exit 1); exit 1; }; };;
 
7528
esac
6808
7529
build=$ac_cv_build
6809
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6810
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6811
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6812
 
 
6813
 
 
6814
 
echo "$as_me:$LINENO: checking host system type" >&5
6815
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
7530
ac_save_IFS=$IFS; IFS='-'
 
7531
set x $ac_cv_build
 
7532
shift
 
7533
build_cpu=$1
 
7534
build_vendor=$2
 
7535
shift; shift
 
7536
# Remember, the first character of IFS is used to create $*,
 
7537
# except with old shells:
 
7538
build_os=$*
 
7539
IFS=$ac_save_IFS
 
7540
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
7541
 
 
7542
 
 
7543
{ echo "$as_me:$LINENO: checking host system type" >&5
 
7544
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
6816
7545
if test "${ac_cv_host+set}" = set; then
6817
7546
  echo $ECHO_N "(cached) $ECHO_C" >&6
6818
7547
else
6819
 
  ac_cv_host_alias=$host_alias
6820
 
test -z "$ac_cv_host_alias" &&
6821
 
  ac_cv_host_alias=$ac_cv_build_alias
6822
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
6823
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
6824
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
7548
  if test "x$host_alias" = x; then
 
7549
  ac_cv_host=$ac_cv_build
 
7550
else
 
7551
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
7552
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
7553
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6825
7554
   { (exit 1); exit 1; }; }
 
7555
fi
6826
7556
 
6827
7557
fi
6828
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6829
 
echo "${ECHO_T}$ac_cv_host" >&6
 
7558
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
7559
echo "${ECHO_T}$ac_cv_host" >&6; }
 
7560
case $ac_cv_host in
 
7561
*-*-*) ;;
 
7562
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
7563
echo "$as_me: error: invalid value of canonical host" >&2;}
 
7564
   { (exit 1); exit 1; }; };;
 
7565
esac
6830
7566
host=$ac_cv_host
6831
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6832
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6833
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6834
 
 
6835
 
 
6836
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6837
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
7567
ac_save_IFS=$IFS; IFS='-'
 
7568
set x $ac_cv_host
 
7569
shift
 
7570
host_cpu=$1
 
7571
host_vendor=$2
 
7572
shift; shift
 
7573
# Remember, the first character of IFS is used to create $*,
 
7574
# except with old shells:
 
7575
host_os=$*
 
7576
IFS=$ac_save_IFS
 
7577
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
7578
 
 
7579
 
 
7580
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
7581
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6838
7582
if test "${lt_cv_path_SED+set}" = set; then
6839
7583
  echo $ECHO_N "(cached) $ECHO_C" >&6
6840
7584
else
6887
7631
fi
6888
7632
 
6889
7633
SED=$lt_cv_path_SED
6890
 
echo "$as_me:$LINENO: result: $SED" >&5
6891
 
echo "${ECHO_T}$SED" >&6
6892
 
 
6893
 
 
6894
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
7634
{ echo "$as_me:$LINENO: result: $SED" >&5
 
7635
echo "${ECHO_T}$SED" >&6; }
 
7636
 
 
7637
 
 
7638
# Check whether --with-gnu-ld was given.
6895
7639
if test "${with_gnu_ld+set}" = set; then
6896
 
  withval="$with_gnu_ld"
6897
 
  test "$withval" = no || with_gnu_ld=yes
 
7640
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6898
7641
else
6899
7642
  with_gnu_ld=no
6900
 
fi; 
 
7643
fi
 
7644
 
6901
7645
ac_prog=ld
6902
7646
if test "$GCC" = yes; then
6903
7647
  # Check if gcc -print-prog-name=ld gives a path.
6904
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6905
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
7648
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
7649
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6906
7650
  case $host in
6907
7651
  *-*-mingw*)
6908
7652
    # gcc leaves a trailing carriage return which upsets mingw
6931
7675
    ;;
6932
7676
  esac
6933
7677
elif test "$with_gnu_ld" = yes; then
6934
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
6935
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
7678
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
7679
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6936
7680
else
6937
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6938
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
7681
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
7682
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6939
7683
fi
6940
7684
if test "${lt_cv_path_LD+set}" = set; then
6941
7685
  echo $ECHO_N "(cached) $ECHO_C" >&6
6968
7712
 
6969
7713
LD="$lt_cv_path_LD"
6970
7714
if test -n "$LD"; then
6971
 
  echo "$as_me:$LINENO: result: $LD" >&5
6972
 
echo "${ECHO_T}$LD" >&6
 
7715
  { echo "$as_me:$LINENO: result: $LD" >&5
 
7716
echo "${ECHO_T}$LD" >&6; }
6973
7717
else
6974
 
  echo "$as_me:$LINENO: result: no" >&5
6975
 
echo "${ECHO_T}no" >&6
 
7718
  { echo "$as_me:$LINENO: result: no" >&5
 
7719
echo "${ECHO_T}no" >&6; }
6976
7720
fi
6977
7721
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6978
7722
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6979
7723
   { (exit 1); exit 1; }; }
6980
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6981
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
7724
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
7725
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6982
7726
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6983
7727
  echo $ECHO_N "(cached) $ECHO_C" >&6
6984
7728
else
6992
7736
  ;;
6993
7737
esac
6994
7738
fi
6995
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6996
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
7739
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
7740
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6997
7741
with_gnu_ld=$lt_cv_prog_gnu_ld
6998
7742
 
6999
7743
 
7000
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7001
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
7744
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
7745
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
7002
7746
if test "${lt_cv_ld_reload_flag+set}" = set; then
7003
7747
  echo $ECHO_N "(cached) $ECHO_C" >&6
7004
7748
else
7005
7749
  lt_cv_ld_reload_flag='-r'
7006
7750
fi
7007
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7008
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
7751
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
7752
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
7009
7753
reload_flag=$lt_cv_ld_reload_flag
7010
7754
case $reload_flag in
7011
7755
"" | " "*) ;;
7022
7766
    ;;
7023
7767
esac
7024
7768
 
7025
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7026
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
7769
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
7770
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
7027
7771
if test "${lt_cv_path_NM+set}" = set; then
7028
7772
  echo $ECHO_N "(cached) $ECHO_C" >&6
7029
7773
else
7071
7815
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7072
7816
fi
7073
7817
fi
7074
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7075
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
7818
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
7819
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
7076
7820
NM="$lt_cv_path_NM"
7077
7821
 
7078
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
7079
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
7822
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
7823
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
7080
7824
if test "${lt_cv_deplibs_check_method+set}" = set; then
7081
7825
  echo $ECHO_N "(cached) $ECHO_C" >&6
7082
7826
else
7126
7870
  lt_cv_deplibs_check_method=pass_all
7127
7871
  ;;
7128
7872
 
7129
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
7873
freebsd* | dragonfly*)
7130
7874
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7131
7875
    case $host_cpu in
7132
7876
    i*86 )
7180
7924
  ;;
7181
7925
 
7182
7926
# This must be Linux ELF.
7183
 
linux*)
 
7927
linux* | k*bsd*-gnu)
7184
7928
  lt_cv_deplibs_check_method=pass_all
7185
7929
  ;;
7186
7930
 
7187
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
7931
netbsd* | netbsdelf*-gnu)
7188
7932
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7189
7933
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7190
7934
  else
7251
7995
esac
7252
7996
 
7253
7997
fi
7254
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7255
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
7998
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
7999
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
7256
8000
file_magic_cmd=$lt_cv_file_magic_cmd
7257
8001
deplibs_check_method=$lt_cv_deplibs_check_method
7258
8002
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7269
8013
# Allow CC to be a program name with arguments.
7270
8014
compiler=$CC
7271
8015
 
7272
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
8016
# Check whether --enable-libtool-lock was given.
7273
8017
if test "${enable_libtool_lock+set}" = set; then
7274
 
  enableval="$enable_libtool_lock"
7275
 
  
7276
 
fi; 
 
8018
  enableval=$enable_libtool_lock; 
 
8019
fi
 
8020
 
7277
8021
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7278
8022
 
7279
8023
# Some flags need to be propagated to the compiler or linker for good
7385
8129
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7386
8130
  SAVE_CFLAGS="$CFLAGS"
7387
8131
  CFLAGS="$CFLAGS -belf"
7388
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7389
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
8132
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
8133
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7390
8134
if test "${lt_cv_cc_needs_belf+set}" = set; then
7391
8135
  echo $ECHO_N "(cached) $ECHO_C" >&6
7392
8136
else
7412
8156
}
7413
8157
_ACEOF
7414
8158
rm -f conftest.$ac_objext conftest$ac_exeext
7415
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7416
 
  (eval $ac_link) 2>conftest.er1
 
8159
if { (ac_try="$ac_link"
 
8160
case "(($ac_try" in
 
8161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8162
  *) ac_try_echo=$ac_try;;
 
8163
esac
 
8164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8165
  (eval "$ac_link") 2>conftest.er1
7417
8166
  ac_status=$?
7418
8167
  grep -v '^ *+' conftest.er1 >conftest.err
7419
8168
  rm -f conftest.er1
7420
8169
  cat conftest.err >&5
7421
8170
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422
 
  (exit $ac_status); } &&
7423
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7424
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7425
 
  (eval $ac_try) 2>&5
7426
 
  ac_status=$?
7427
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428
 
  (exit $ac_status); }; } &&
7429
 
         { ac_try='test -s conftest$ac_exeext'
7430
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7431
 
  (eval $ac_try) 2>&5
7432
 
  ac_status=$?
7433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434
 
  (exit $ac_status); }; }; then
 
8171
  (exit $ac_status); } && {
 
8172
         test -z "$ac_c_werror_flag" ||
 
8173
         test ! -s conftest.err
 
8174
       } && test -s conftest$ac_exeext &&
 
8175
       $as_test_x conftest$ac_exeext; then
7435
8176
  lt_cv_cc_needs_belf=yes
7436
8177
else
7437
8178
  echo "$as_me: failed program was:" >&5
7438
8179
sed 's/^/| /' conftest.$ac_ext >&5
7439
8180
 
7440
 
lt_cv_cc_needs_belf=no
 
8181
        lt_cv_cc_needs_belf=no
7441
8182
fi
7442
 
rm -f conftest.err conftest.$ac_objext \
 
8183
 
 
8184
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7443
8185
      conftest$ac_exeext conftest.$ac_ext
7444
8186
     ac_ext=c
7445
8187
ac_cpp='$CPP $CPPFLAGS'
7448
8190
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7449
8191
 
7450
8192
fi
7451
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7452
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
8193
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
8194
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7453
8195
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7454
8196
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7455
8197
    CFLAGS="$SAVE_CFLAGS"
7485
8227
for ac_header in dlfcn.h
7486
8228
do
7487
8229
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7488
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7489
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
7490
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7491
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
8230
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8231
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8232
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
8233
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7492
8234
  echo $ECHO_N "(cached) $ECHO_C" >&6
7493
8235
fi
7494
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7495
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
8236
ac_res=`eval echo '${'$as_ac_Header'}'`
 
8237
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
8238
echo "${ECHO_T}$ac_res" >&6; }
7496
8239
else
7497
8240
  # Is the header compilable?
7498
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7499
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
8241
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
8242
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7500
8243
cat >conftest.$ac_ext <<_ACEOF
7501
8244
/* confdefs.h.  */
7502
8245
_ACEOF
7507
8250
@%:@include <$ac_header>
7508
8251
_ACEOF
7509
8252
rm -f conftest.$ac_objext
7510
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7511
 
  (eval $ac_compile) 2>conftest.er1
 
8253
if { (ac_try="$ac_compile"
 
8254
case "(($ac_try" in
 
8255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8256
  *) ac_try_echo=$ac_try;;
 
8257
esac
 
8258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8259
  (eval "$ac_compile") 2>conftest.er1
7512
8260
  ac_status=$?
7513
8261
  grep -v '^ *+' conftest.er1 >conftest.err
7514
8262
  rm -f conftest.er1
7515
8263
  cat conftest.err >&5
7516
8264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517
 
  (exit $ac_status); } &&
7518
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7519
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7520
 
  (eval $ac_try) 2>&5
7521
 
  ac_status=$?
7522
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523
 
  (exit $ac_status); }; } &&
7524
 
         { ac_try='test -s conftest.$ac_objext'
7525
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526
 
  (eval $ac_try) 2>&5
7527
 
  ac_status=$?
7528
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529
 
  (exit $ac_status); }; }; then
 
8265
  (exit $ac_status); } && {
 
8266
         test -z "$ac_c_werror_flag" ||
 
8267
         test ! -s conftest.err
 
8268
       } && test -s conftest.$ac_objext; then
7530
8269
  ac_header_compiler=yes
7531
8270
else
7532
8271
  echo "$as_me: failed program was:" >&5
7533
8272
sed 's/^/| /' conftest.$ac_ext >&5
7534
8273
 
7535
 
ac_header_compiler=no
 
8274
        ac_header_compiler=no
7536
8275
fi
7537
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7538
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7539
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
8276
 
 
8277
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8278
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
8279
echo "${ECHO_T}$ac_header_compiler" >&6; }
7540
8280
 
7541
8281
# Is the header present?
7542
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7543
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
8282
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
8283
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7544
8284
cat >conftest.$ac_ext <<_ACEOF
7545
8285
/* confdefs.h.  */
7546
8286
_ACEOF
7549
8289
/* end confdefs.h.  */
7550
8290
@%:@include <$ac_header>
7551
8291
_ACEOF
7552
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7553
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
8292
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8293
case "(($ac_try" in
 
8294
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8295
  *) ac_try_echo=$ac_try;;
 
8296
esac
 
8297
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8298
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7554
8299
  ac_status=$?
7555
8300
  grep -v '^ *+' conftest.er1 >conftest.err
7556
8301
  rm -f conftest.er1
7557
8302
  cat conftest.err >&5
7558
8303
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559
 
  (exit $ac_status); } >/dev/null; then
7560
 
  if test -s conftest.err; then
7561
 
    ac_cpp_err=$ac_c_preproc_warn_flag
7562
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7563
 
  else
7564
 
    ac_cpp_err=
7565
 
  fi
7566
 
else
7567
 
  ac_cpp_err=yes
7568
 
fi
7569
 
if test -z "$ac_cpp_err"; then
 
8304
  (exit $ac_status); } >/dev/null && {
 
8305
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
8306
         test ! -s conftest.err
 
8307
       }; then
7570
8308
  ac_header_preproc=yes
7571
8309
else
7572
8310
  echo "$as_me: failed program was:" >&5
7574
8312
 
7575
8313
  ac_header_preproc=no
7576
8314
fi
 
8315
 
7577
8316
rm -f conftest.err conftest.$ac_ext
7578
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7579
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
8317
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
8318
echo "${ECHO_T}$ac_header_preproc" >&6; }
7580
8319
 
7581
8320
# So?  What about this header?
7582
8321
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7600
8339
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7601
8340
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7602
8341
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7603
 
    (
7604
 
      cat <<\_ASBOX
7605
 
@%:@@%:@ ---------------------------------- @%:@@%:@
7606
 
@%:@@%:@ Report this to doug@sourcejudy.com @%:@@%:@
7607
 
@%:@@%:@ ---------------------------------- @%:@@%:@
 
8342
    ( cat <<\_ASBOX
 
8343
@%:@@%:@ ------------------------------------ @%:@@%:@
 
8344
@%:@@%:@ Report this to dougbaskins@yahoo.com @%:@@%:@
 
8345
@%:@@%:@ ------------------------------------ @%:@@%:@
7608
8346
_ASBOX
7609
 
    ) |
7610
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
8347
     ) | sed "s/^/$as_me: WARNING:     /" >&2
7611
8348
    ;;
7612
8349
esac
7613
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
7614
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7615
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
8350
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8351
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
8352
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7616
8353
  echo $ECHO_N "(cached) $ECHO_C" >&6
7617
8354
else
7618
8355
  eval "$as_ac_Header=\$ac_header_preproc"
7619
8356
fi
7620
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7621
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
8357
ac_res=`eval echo '${'$as_ac_Header'}'`
 
8358
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
8359
echo "${ECHO_T}$ac_res" >&6; }
7622
8360
 
7623
8361
fi
7624
8362
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7630
8368
 
7631
8369
done
7632
8370
 
7633
 
ac_ext=cc
 
8371
ac_ext=cpp
7634
8372
ac_cpp='$CXXCPP $CPPFLAGS'
7635
8373
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7636
8374
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7637
8375
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7638
 
if test -n "$ac_tool_prefix"; then
7639
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
8376
if test -z "$CXX"; then
 
8377
  if test -n "$CCC"; then
 
8378
    CXX=$CCC
 
8379
  else
 
8380
    if test -n "$ac_tool_prefix"; then
 
8381
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7640
8382
  do
7641
8383
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7642
8384
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7643
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7644
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8385
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8386
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7645
8387
if test "${ac_cv_prog_CXX+set}" = set; then
7646
8388
  echo $ECHO_N "(cached) $ECHO_C" >&6
7647
8389
else
7654
8396
  IFS=$as_save_IFS
7655
8397
  test -z "$as_dir" && as_dir=.
7656
8398
  for ac_exec_ext in '' $ac_executable_extensions; do
7657
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8399
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658
8400
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7659
8401
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7660
8402
    break 2
7661
8403
  fi
7662
8404
done
7663
8405
done
 
8406
IFS=$as_save_IFS
7664
8407
 
7665
8408
fi
7666
8409
fi
7667
8410
CXX=$ac_cv_prog_CXX
7668
8411
if test -n "$CXX"; then
7669
 
  echo "$as_me:$LINENO: result: $CXX" >&5
7670
 
echo "${ECHO_T}$CXX" >&6
 
8412
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
8413
echo "${ECHO_T}$CXX" >&6; }
7671
8414
else
7672
 
  echo "$as_me:$LINENO: result: no" >&5
7673
 
echo "${ECHO_T}no" >&6
 
8415
  { echo "$as_me:$LINENO: result: no" >&5
 
8416
echo "${ECHO_T}no" >&6; }
7674
8417
fi
7675
8418
 
 
8419
 
7676
8420
    test -n "$CXX" && break
7677
8421
  done
7678
8422
fi
7679
8423
if test -z "$CXX"; then
7680
8424
  ac_ct_CXX=$CXX
7681
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
8425
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7682
8426
do
7683
8427
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7684
8428
set dummy $ac_prog; ac_word=$2
7685
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7686
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8429
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8430
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7687
8431
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7688
8432
  echo $ECHO_N "(cached) $ECHO_C" >&6
7689
8433
else
7696
8440
  IFS=$as_save_IFS
7697
8441
  test -z "$as_dir" && as_dir=.
7698
8442
  for ac_exec_ext in '' $ac_executable_extensions; do
7699
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8443
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7700
8444
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7701
8445
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7702
8446
    break 2
7703
8447
  fi
7704
8448
done
7705
8449
done
 
8450
IFS=$as_save_IFS
7706
8451
 
7707
8452
fi
7708
8453
fi
7709
8454
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7710
8455
if test -n "$ac_ct_CXX"; then
7711
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7712
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
8456
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
8457
echo "${ECHO_T}$ac_ct_CXX" >&6; }
7713
8458
else
7714
 
  echo "$as_me:$LINENO: result: no" >&5
7715
 
echo "${ECHO_T}no" >&6
 
8459
  { echo "$as_me:$LINENO: result: no" >&5
 
8460
echo "${ECHO_T}no" >&6; }
7716
8461
fi
7717
8462
 
 
8463
 
7718
8464
  test -n "$ac_ct_CXX" && break
7719
8465
done
7720
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7721
 
 
7722
 
  CXX=$ac_ct_CXX
7723
 
fi
7724
 
 
7725
 
 
 
8466
 
 
8467
  if test "x$ac_ct_CXX" = x; then
 
8468
    CXX="g++"
 
8469
  else
 
8470
    case $cross_compiling:$ac_tool_warned in
 
8471
yes:)
 
8472
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8473
whose name does not start with the host triplet.  If you think this
 
8474
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8475
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8476
whose name does not start with the host triplet.  If you think this
 
8477
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8478
ac_tool_warned=yes ;;
 
8479
esac
 
8480
    CXX=$ac_ct_CXX
 
8481
  fi
 
8482
fi
 
8483
 
 
8484
  fi
 
8485
fi
7726
8486
# Provide some information about the compiler.
7727
 
echo "$as_me:$LINENO:" \
7728
 
     "checking for C++ compiler version" >&5
 
8487
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7729
8488
ac_compiler=`set X $ac_compile; echo $2`
7730
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7731
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
7732
 
  ac_status=$?
7733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734
 
  (exit $ac_status); }
7735
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7736
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
7737
 
  ac_status=$?
7738
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739
 
  (exit $ac_status); }
7740
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7741
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
8489
{ (ac_try="$ac_compiler --version >&5"
 
8490
case "(($ac_try" in
 
8491
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8492
  *) ac_try_echo=$ac_try;;
 
8493
esac
 
8494
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8495
  (eval "$ac_compiler --version >&5") 2>&5
 
8496
  ac_status=$?
 
8497
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8498
  (exit $ac_status); }
 
8499
{ (ac_try="$ac_compiler -v >&5"
 
8500
case "(($ac_try" in
 
8501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8502
  *) ac_try_echo=$ac_try;;
 
8503
esac
 
8504
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8505
  (eval "$ac_compiler -v >&5") 2>&5
 
8506
  ac_status=$?
 
8507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8508
  (exit $ac_status); }
 
8509
{ (ac_try="$ac_compiler -V >&5"
 
8510
case "(($ac_try" in
 
8511
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8512
  *) ac_try_echo=$ac_try;;
 
8513
esac
 
8514
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8515
  (eval "$ac_compiler -V >&5") 2>&5
7742
8516
  ac_status=$?
7743
8517
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744
8518
  (exit $ac_status); }
7745
8519
 
7746
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7747
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
8520
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
8521
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
7748
8522
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7749
8523
  echo $ECHO_N "(cached) $ECHO_C" >&6
7750
8524
else
7767
8541
}
7768
8542
_ACEOF
7769
8543
rm -f conftest.$ac_objext
7770
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7771
 
  (eval $ac_compile) 2>conftest.er1
 
8544
if { (ac_try="$ac_compile"
 
8545
case "(($ac_try" in
 
8546
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8547
  *) ac_try_echo=$ac_try;;
 
8548
esac
 
8549
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8550
  (eval "$ac_compile") 2>conftest.er1
7772
8551
  ac_status=$?
7773
8552
  grep -v '^ *+' conftest.er1 >conftest.err
7774
8553
  rm -f conftest.er1
7775
8554
  cat conftest.err >&5
7776
8555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777
 
  (exit $ac_status); } &&
7778
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
7779
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7780
 
  (eval $ac_try) 2>&5
7781
 
  ac_status=$?
7782
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783
 
  (exit $ac_status); }; } &&
7784
 
         { ac_try='test -s conftest.$ac_objext'
7785
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7786
 
  (eval $ac_try) 2>&5
7787
 
  ac_status=$?
7788
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789
 
  (exit $ac_status); }; }; then
 
8556
  (exit $ac_status); } && {
 
8557
         test -z "$ac_cxx_werror_flag" ||
 
8558
         test ! -s conftest.err
 
8559
       } && test -s conftest.$ac_objext; then
7790
8560
  ac_compiler_gnu=yes
7791
8561
else
7792
8562
  echo "$as_me: failed program was:" >&5
7793
8563
sed 's/^/| /' conftest.$ac_ext >&5
7794
8564
 
7795
 
ac_compiler_gnu=no
 
8565
        ac_compiler_gnu=no
7796
8566
fi
7797
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
8567
 
 
8568
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7798
8569
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7799
8570
 
7800
8571
fi
7801
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7802
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
8572
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
8573
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
7803
8574
GXX=`test $ac_compiler_gnu = yes && echo yes`
7804
8575
ac_test_CXXFLAGS=${CXXFLAGS+set}
7805
8576
ac_save_CXXFLAGS=$CXXFLAGS
7806
 
CXXFLAGS="-g"
7807
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7808
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
8577
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
8578
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
7809
8579
if test "${ac_cv_prog_cxx_g+set}" = set; then
7810
8580
  echo $ECHO_N "(cached) $ECHO_C" >&6
7811
8581
else
7812
 
  cat >conftest.$ac_ext <<_ACEOF
7813
 
/* confdefs.h.  */
7814
 
_ACEOF
7815
 
cat confdefs.h >>conftest.$ac_ext
7816
 
cat >>conftest.$ac_ext <<_ACEOF
7817
 
/* end confdefs.h.  */
7818
 
 
7819
 
int
7820
 
main ()
7821
 
{
7822
 
 
7823
 
  ;
7824
 
  return 0;
7825
 
}
7826
 
_ACEOF
7827
 
rm -f conftest.$ac_objext
7828
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7829
 
  (eval $ac_compile) 2>conftest.er1
7830
 
  ac_status=$?
7831
 
  grep -v '^ *+' conftest.er1 >conftest.err
7832
 
  rm -f conftest.er1
7833
 
  cat conftest.err >&5
7834
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835
 
  (exit $ac_status); } &&
7836
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
7837
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7838
 
  (eval $ac_try) 2>&5
7839
 
  ac_status=$?
7840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841
 
  (exit $ac_status); }; } &&
7842
 
         { ac_try='test -s conftest.$ac_objext'
7843
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7844
 
  (eval $ac_try) 2>&5
7845
 
  ac_status=$?
7846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847
 
  (exit $ac_status); }; }; then
7848
 
  ac_cv_prog_cxx_g=yes
7849
 
else
7850
 
  echo "$as_me: failed program was:" >&5
7851
 
sed 's/^/| /' conftest.$ac_ext >&5
7852
 
 
7853
 
ac_cv_prog_cxx_g=no
7854
 
fi
7855
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7856
 
fi
7857
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7858
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
8582
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
8583
   ac_cxx_werror_flag=yes
 
8584
   ac_cv_prog_cxx_g=no
 
8585
   CXXFLAGS="-g"
 
8586
   cat >conftest.$ac_ext <<_ACEOF
 
8587
/* confdefs.h.  */
 
8588
_ACEOF
 
8589
cat confdefs.h >>conftest.$ac_ext
 
8590
cat >>conftest.$ac_ext <<_ACEOF
 
8591
/* end confdefs.h.  */
 
8592
 
 
8593
int
 
8594
main ()
 
8595
{
 
8596
 
 
8597
  ;
 
8598
  return 0;
 
8599
}
 
8600
_ACEOF
 
8601
rm -f conftest.$ac_objext
 
8602
if { (ac_try="$ac_compile"
 
8603
case "(($ac_try" in
 
8604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8605
  *) ac_try_echo=$ac_try;;
 
8606
esac
 
8607
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8608
  (eval "$ac_compile") 2>conftest.er1
 
8609
  ac_status=$?
 
8610
  grep -v '^ *+' conftest.er1 >conftest.err
 
8611
  rm -f conftest.er1
 
8612
  cat conftest.err >&5
 
8613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8614
  (exit $ac_status); } && {
 
8615
         test -z "$ac_cxx_werror_flag" ||
 
8616
         test ! -s conftest.err
 
8617
       } && test -s conftest.$ac_objext; then
 
8618
  ac_cv_prog_cxx_g=yes
 
8619
else
 
8620
  echo "$as_me: failed program was:" >&5
 
8621
sed 's/^/| /' conftest.$ac_ext >&5
 
8622
 
 
8623
        CXXFLAGS=""
 
8624
      cat >conftest.$ac_ext <<_ACEOF
 
8625
/* confdefs.h.  */
 
8626
_ACEOF
 
8627
cat confdefs.h >>conftest.$ac_ext
 
8628
cat >>conftest.$ac_ext <<_ACEOF
 
8629
/* end confdefs.h.  */
 
8630
 
 
8631
int
 
8632
main ()
 
8633
{
 
8634
 
 
8635
  ;
 
8636
  return 0;
 
8637
}
 
8638
_ACEOF
 
8639
rm -f conftest.$ac_objext
 
8640
if { (ac_try="$ac_compile"
 
8641
case "(($ac_try" in
 
8642
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8643
  *) ac_try_echo=$ac_try;;
 
8644
esac
 
8645
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8646
  (eval "$ac_compile") 2>conftest.er1
 
8647
  ac_status=$?
 
8648
  grep -v '^ *+' conftest.er1 >conftest.err
 
8649
  rm -f conftest.er1
 
8650
  cat conftest.err >&5
 
8651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8652
  (exit $ac_status); } && {
 
8653
         test -z "$ac_cxx_werror_flag" ||
 
8654
         test ! -s conftest.err
 
8655
       } && test -s conftest.$ac_objext; then
 
8656
  :
 
8657
else
 
8658
  echo "$as_me: failed program was:" >&5
 
8659
sed 's/^/| /' conftest.$ac_ext >&5
 
8660
 
 
8661
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
8662
         CXXFLAGS="-g"
 
8663
         cat >conftest.$ac_ext <<_ACEOF
 
8664
/* confdefs.h.  */
 
8665
_ACEOF
 
8666
cat confdefs.h >>conftest.$ac_ext
 
8667
cat >>conftest.$ac_ext <<_ACEOF
 
8668
/* end confdefs.h.  */
 
8669
 
 
8670
int
 
8671
main ()
 
8672
{
 
8673
 
 
8674
  ;
 
8675
  return 0;
 
8676
}
 
8677
_ACEOF
 
8678
rm -f conftest.$ac_objext
 
8679
if { (ac_try="$ac_compile"
 
8680
case "(($ac_try" in
 
8681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8682
  *) ac_try_echo=$ac_try;;
 
8683
esac
 
8684
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8685
  (eval "$ac_compile") 2>conftest.er1
 
8686
  ac_status=$?
 
8687
  grep -v '^ *+' conftest.er1 >conftest.err
 
8688
  rm -f conftest.er1
 
8689
  cat conftest.err >&5
 
8690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8691
  (exit $ac_status); } && {
 
8692
         test -z "$ac_cxx_werror_flag" ||
 
8693
         test ! -s conftest.err
 
8694
       } && test -s conftest.$ac_objext; then
 
8695
  ac_cv_prog_cxx_g=yes
 
8696
else
 
8697
  echo "$as_me: failed program was:" >&5
 
8698
sed 's/^/| /' conftest.$ac_ext >&5
 
8699
 
 
8700
        
 
8701
fi
 
8702
 
 
8703
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8704
fi
 
8705
 
 
8706
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8707
fi
 
8708
 
 
8709
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8710
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
8711
fi
 
8712
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
8713
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7859
8714
if test "$ac_test_CXXFLAGS" = set; then
7860
8715
  CXXFLAGS=$ac_save_CXXFLAGS
7861
8716
elif test $ac_cv_prog_cxx_g = yes; then
7871
8726
    CXXFLAGS=
7872
8727
  fi
7873
8728
fi
7874
 
for ac_declaration in \
7875
 
   '' \
7876
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
7877
 
   'extern "C" void std::exit (int); using std::exit;' \
7878
 
   'extern "C" void exit (int) throw ();' \
7879
 
   'extern "C" void exit (int);' \
7880
 
   'void exit (int);'
7881
 
do
7882
 
  cat >conftest.$ac_ext <<_ACEOF
7883
 
/* confdefs.h.  */
7884
 
_ACEOF
7885
 
cat confdefs.h >>conftest.$ac_ext
7886
 
cat >>conftest.$ac_ext <<_ACEOF
7887
 
/* end confdefs.h.  */
7888
 
$ac_declaration
7889
 
@%:@include <stdlib.h>
7890
 
int
7891
 
main ()
7892
 
{
7893
 
exit (42);
7894
 
  ;
7895
 
  return 0;
7896
 
}
7897
 
_ACEOF
7898
 
rm -f conftest.$ac_objext
7899
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7900
 
  (eval $ac_compile) 2>conftest.er1
7901
 
  ac_status=$?
7902
 
  grep -v '^ *+' conftest.er1 >conftest.err
7903
 
  rm -f conftest.er1
7904
 
  cat conftest.err >&5
7905
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906
 
  (exit $ac_status); } &&
7907
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
7908
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7909
 
  (eval $ac_try) 2>&5
7910
 
  ac_status=$?
7911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912
 
  (exit $ac_status); }; } &&
7913
 
         { ac_try='test -s conftest.$ac_objext'
7914
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7915
 
  (eval $ac_try) 2>&5
7916
 
  ac_status=$?
7917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918
 
  (exit $ac_status); }; }; then
7919
 
  :
7920
 
else
7921
 
  echo "$as_me: failed program was:" >&5
7922
 
sed 's/^/| /' conftest.$ac_ext >&5
7923
 
 
7924
 
continue
7925
 
fi
7926
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7927
 
  cat >conftest.$ac_ext <<_ACEOF
7928
 
/* confdefs.h.  */
7929
 
_ACEOF
7930
 
cat confdefs.h >>conftest.$ac_ext
7931
 
cat >>conftest.$ac_ext <<_ACEOF
7932
 
/* end confdefs.h.  */
7933
 
$ac_declaration
7934
 
int
7935
 
main ()
7936
 
{
7937
 
exit (42);
7938
 
  ;
7939
 
  return 0;
7940
 
}
7941
 
_ACEOF
7942
 
rm -f conftest.$ac_objext
7943
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7944
 
  (eval $ac_compile) 2>conftest.er1
7945
 
  ac_status=$?
7946
 
  grep -v '^ *+' conftest.er1 >conftest.err
7947
 
  rm -f conftest.er1
7948
 
  cat conftest.err >&5
7949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950
 
  (exit $ac_status); } &&
7951
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
7952
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953
 
  (eval $ac_try) 2>&5
7954
 
  ac_status=$?
7955
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956
 
  (exit $ac_status); }; } &&
7957
 
         { ac_try='test -s conftest.$ac_objext'
7958
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959
 
  (eval $ac_try) 2>&5
7960
 
  ac_status=$?
7961
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962
 
  (exit $ac_status); }; }; then
7963
 
  break
7964
 
else
7965
 
  echo "$as_me: failed program was:" >&5
7966
 
sed 's/^/| /' conftest.$ac_ext >&5
7967
 
 
7968
 
fi
7969
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7970
 
done
7971
 
rm -f conftest*
7972
 
if test -n "$ac_declaration"; then
7973
 
  echo '#ifdef __cplusplus' >>confdefs.h
7974
 
  echo $ac_declaration      >>confdefs.h
7975
 
  echo '#endif'             >>confdefs.h
7976
 
fi
7977
 
 
7978
 
ac_ext=cc
 
8729
ac_ext=cpp
7979
8730
ac_cpp='$CXXCPP $CPPFLAGS'
7980
8731
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7981
8732
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7983
8734
 
7984
8735
depcc="$CXX"  am_compiler_list=
7985
8736
 
7986
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7987
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
8737
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
8738
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
7988
8739
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7989
8740
  echo $ECHO_N "(cached) $ECHO_C" >&6
7990
8741
else
8073
8824
fi
8074
8825
 
8075
8826
fi
8076
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
8077
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
8827
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
8828
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
8078
8829
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8079
8830
 
8080
8831
 
8095
8846
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8096
8847
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8097
8848
    (test "X$CXX" != "Xg++"))) ; then
8098
 
  ac_ext=cc
 
8849
  ac_ext=cpp
8099
8850
ac_cpp='$CXXCPP $CPPFLAGS'
8100
8851
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8101
8852
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8102
8853
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8103
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8104
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
8854
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
8855
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
8105
8856
if test -z "$CXXCPP"; then
8106
8857
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8107
8858
  echo $ECHO_N "(cached) $ECHO_C" >&6
8131
8882
@%:@endif
8132
8883
                     Syntax error
8133
8884
_ACEOF
8134
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8135
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
8885
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8886
case "(($ac_try" in
 
8887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8888
  *) ac_try_echo=$ac_try;;
 
8889
esac
 
8890
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8891
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8136
8892
  ac_status=$?
8137
8893
  grep -v '^ *+' conftest.er1 >conftest.err
8138
8894
  rm -f conftest.er1
8139
8895
  cat conftest.err >&5
8140
8896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141
 
  (exit $ac_status); } >/dev/null; then
8142
 
  if test -s conftest.err; then
8143
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
8144
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8145
 
  else
8146
 
    ac_cpp_err=
8147
 
  fi
8148
 
else
8149
 
  ac_cpp_err=yes
8150
 
fi
8151
 
if test -z "$ac_cpp_err"; then
 
8897
  (exit $ac_status); } >/dev/null && {
 
8898
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
8899
         test ! -s conftest.err
 
8900
       }; then
8152
8901
  :
8153
8902
else
8154
8903
  echo "$as_me: failed program was:" >&5
8157
8906
  # Broken: fails on valid input.
8158
8907
continue
8159
8908
fi
 
8909
 
8160
8910
rm -f conftest.err conftest.$ac_ext
8161
8911
 
8162
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
8912
  # OK, works on sane cases.  Now check whether nonexistent headers
8163
8913
  # can be detected and how.
8164
8914
  cat >conftest.$ac_ext <<_ACEOF
8165
8915
/* confdefs.h.  */
8169
8919
/* end confdefs.h.  */
8170
8920
@%:@include <ac_nonexistent.h>
8171
8921
_ACEOF
8172
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8173
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
8922
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8923
case "(($ac_try" in
 
8924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8925
  *) ac_try_echo=$ac_try;;
 
8926
esac
 
8927
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8928
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8174
8929
  ac_status=$?
8175
8930
  grep -v '^ *+' conftest.er1 >conftest.err
8176
8931
  rm -f conftest.er1
8177
8932
  cat conftest.err >&5
8178
8933
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179
 
  (exit $ac_status); } >/dev/null; then
8180
 
  if test -s conftest.err; then
8181
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
8182
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8183
 
  else
8184
 
    ac_cpp_err=
8185
 
  fi
8186
 
else
8187
 
  ac_cpp_err=yes
8188
 
fi
8189
 
if test -z "$ac_cpp_err"; then
 
8934
  (exit $ac_status); } >/dev/null && {
 
8935
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
8936
         test ! -s conftest.err
 
8937
       }; then
8190
8938
  # Broken: success on invalid input.
8191
8939
continue
8192
8940
else
8197
8945
ac_preproc_ok=:
8198
8946
break
8199
8947
fi
 
8948
 
8200
8949
rm -f conftest.err conftest.$ac_ext
8201
8950
 
8202
8951
done
8214
8963
else
8215
8964
  ac_cv_prog_CXXCPP=$CXXCPP
8216
8965
fi
8217
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
8218
 
echo "${ECHO_T}$CXXCPP" >&6
 
8966
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
8967
echo "${ECHO_T}$CXXCPP" >&6; }
8219
8968
ac_preproc_ok=false
8220
8969
for ac_cxx_preproc_warn_flag in '' yes
8221
8970
do
8238
8987
@%:@endif
8239
8988
                     Syntax error
8240
8989
_ACEOF
8241
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8242
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
8990
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8991
case "(($ac_try" in
 
8992
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8993
  *) ac_try_echo=$ac_try;;
 
8994
esac
 
8995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8996
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8243
8997
  ac_status=$?
8244
8998
  grep -v '^ *+' conftest.er1 >conftest.err
8245
8999
  rm -f conftest.er1
8246
9000
  cat conftest.err >&5
8247
9001
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248
 
  (exit $ac_status); } >/dev/null; then
8249
 
  if test -s conftest.err; then
8250
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
8251
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8252
 
  else
8253
 
    ac_cpp_err=
8254
 
  fi
8255
 
else
8256
 
  ac_cpp_err=yes
8257
 
fi
8258
 
if test -z "$ac_cpp_err"; then
 
9002
  (exit $ac_status); } >/dev/null && {
 
9003
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
9004
         test ! -s conftest.err
 
9005
       }; then
8259
9006
  :
8260
9007
else
8261
9008
  echo "$as_me: failed program was:" >&5
8264
9011
  # Broken: fails on valid input.
8265
9012
continue
8266
9013
fi
 
9014
 
8267
9015
rm -f conftest.err conftest.$ac_ext
8268
9016
 
8269
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
9017
  # OK, works on sane cases.  Now check whether nonexistent headers
8270
9018
  # can be detected and how.
8271
9019
  cat >conftest.$ac_ext <<_ACEOF
8272
9020
/* confdefs.h.  */
8276
9024
/* end confdefs.h.  */
8277
9025
@%:@include <ac_nonexistent.h>
8278
9026
_ACEOF
8279
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8280
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
9027
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
9028
case "(($ac_try" in
 
9029
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9030
  *) ac_try_echo=$ac_try;;
 
9031
esac
 
9032
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9033
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8281
9034
  ac_status=$?
8282
9035
  grep -v '^ *+' conftest.er1 >conftest.err
8283
9036
  rm -f conftest.er1
8284
9037
  cat conftest.err >&5
8285
9038
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286
 
  (exit $ac_status); } >/dev/null; then
8287
 
  if test -s conftest.err; then
8288
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
8289
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8290
 
  else
8291
 
    ac_cpp_err=
8292
 
  fi
8293
 
else
8294
 
  ac_cpp_err=yes
8295
 
fi
8296
 
if test -z "$ac_cpp_err"; then
 
9039
  (exit $ac_status); } >/dev/null && {
 
9040
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
9041
         test ! -s conftest.err
 
9042
       }; then
8297
9043
  # Broken: success on invalid input.
8298
9044
continue
8299
9045
else
8304
9050
ac_preproc_ok=:
8305
9051
break
8306
9052
fi
 
9053
 
8307
9054
rm -f conftest.err conftest.$ac_ext
8308
9055
 
8309
9056
done
8319
9066
   { (exit 1); exit 1; }; }
8320
9067
fi
8321
9068
 
8322
 
ac_ext=cc
 
9069
ac_ext=cpp
8323
9070
ac_cpp='$CXXCPP $CPPFLAGS'
8324
9071
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8325
9072
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8333
9080
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8334
9081
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8335
9082
if test -n "$ac_tool_prefix"; then
8336
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
9083
  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
8337
9084
  do
8338
9085
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8339
9086
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8340
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8341
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9087
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9088
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8342
9089
if test "${ac_cv_prog_F77+set}" = set; then
8343
9090
  echo $ECHO_N "(cached) $ECHO_C" >&6
8344
9091
else
8351
9098
  IFS=$as_save_IFS
8352
9099
  test -z "$as_dir" && as_dir=.
8353
9100
  for ac_exec_ext in '' $ac_executable_extensions; do
8354
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9101
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8355
9102
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8356
9103
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8357
9104
    break 2
8358
9105
  fi
8359
9106
done
8360
9107
done
 
9108
IFS=$as_save_IFS
8361
9109
 
8362
9110
fi
8363
9111
fi
8364
9112
F77=$ac_cv_prog_F77
8365
9113
if test -n "$F77"; then
8366
 
  echo "$as_me:$LINENO: result: $F77" >&5
8367
 
echo "${ECHO_T}$F77" >&6
 
9114
  { echo "$as_me:$LINENO: result: $F77" >&5
 
9115
echo "${ECHO_T}$F77" >&6; }
8368
9116
else
8369
 
  echo "$as_me:$LINENO: result: no" >&5
8370
 
echo "${ECHO_T}no" >&6
 
9117
  { echo "$as_me:$LINENO: result: no" >&5
 
9118
echo "${ECHO_T}no" >&6; }
8371
9119
fi
8372
9120
 
 
9121
 
8373
9122
    test -n "$F77" && break
8374
9123
  done
8375
9124
fi
8376
9125
if test -z "$F77"; then
8377
9126
  ac_ct_F77=$F77
8378
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
9127
  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
8379
9128
do
8380
9129
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8381
9130
set dummy $ac_prog; ac_word=$2
8382
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8383
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9131
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9132
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8384
9133
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8385
9134
  echo $ECHO_N "(cached) $ECHO_C" >&6
8386
9135
else
8393
9142
  IFS=$as_save_IFS
8394
9143
  test -z "$as_dir" && as_dir=.
8395
9144
  for ac_exec_ext in '' $ac_executable_extensions; do
8396
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8397
9146
    ac_cv_prog_ac_ct_F77="$ac_prog"
8398
9147
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8399
9148
    break 2
8400
9149
  fi
8401
9150
done
8402
9151
done
 
9152
IFS=$as_save_IFS
8403
9153
 
8404
9154
fi
8405
9155
fi
8406
9156
ac_ct_F77=$ac_cv_prog_ac_ct_F77
8407
9157
if test -n "$ac_ct_F77"; then
8408
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8409
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
9158
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
9159
echo "${ECHO_T}$ac_ct_F77" >&6; }
8410
9160
else
8411
 
  echo "$as_me:$LINENO: result: no" >&5
8412
 
echo "${ECHO_T}no" >&6
 
9161
  { echo "$as_me:$LINENO: result: no" >&5
 
9162
echo "${ECHO_T}no" >&6; }
8413
9163
fi
8414
9164
 
 
9165
 
8415
9166
  test -n "$ac_ct_F77" && break
8416
9167
done
8417
9168
 
8418
 
  F77=$ac_ct_F77
 
9169
  if test "x$ac_ct_F77" = x; then
 
9170
    F77=""
 
9171
  else
 
9172
    case $cross_compiling:$ac_tool_warned in
 
9173
yes:)
 
9174
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9175
whose name does not start with the host triplet.  If you think this
 
9176
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9177
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9178
whose name does not start with the host triplet.  If you think this
 
9179
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9180
ac_tool_warned=yes ;;
 
9181
esac
 
9182
    F77=$ac_ct_F77
 
9183
  fi
8419
9184
fi
8420
9185
 
8421
9186
 
8422
9187
# Provide some information about the compiler.
8423
 
echo "$as_me:__oline__:" \
8424
 
     "checking for Fortran 77 compiler version" >&5
 
9188
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
8425
9189
ac_compiler=`set X $ac_compile; echo $2`
8426
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
8427
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
8428
 
  ac_status=$?
8429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430
 
  (exit $ac_status); }
8431
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8432
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
8433
 
  ac_status=$?
8434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435
 
  (exit $ac_status); }
8436
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8437
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
9190
{ (ac_try="$ac_compiler --version >&5"
 
9191
case "(($ac_try" in
 
9192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9193
  *) ac_try_echo=$ac_try;;
 
9194
esac
 
9195
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9196
  (eval "$ac_compiler --version >&5") 2>&5
 
9197
  ac_status=$?
 
9198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9199
  (exit $ac_status); }
 
9200
{ (ac_try="$ac_compiler -v >&5"
 
9201
case "(($ac_try" in
 
9202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9203
  *) ac_try_echo=$ac_try;;
 
9204
esac
 
9205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9206
  (eval "$ac_compiler -v >&5") 2>&5
 
9207
  ac_status=$?
 
9208
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9209
  (exit $ac_status); }
 
9210
{ (ac_try="$ac_compiler -V >&5"
 
9211
case "(($ac_try" in
 
9212
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9213
  *) ac_try_echo=$ac_try;;
 
9214
esac
 
9215
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9216
  (eval "$ac_compiler -V >&5") 2>&5
8438
9217
  ac_status=$?
8439
9218
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440
9219
  (exit $ac_status); }
8444
9223
# input file.  (Note that this only needs to work for GNU compilers.)
8445
9224
ac_save_ext=$ac_ext
8446
9225
ac_ext=F
8447
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8448
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
9226
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
9227
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
8449
9228
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8450
9229
  echo $ECHO_N "(cached) $ECHO_C" >&6
8451
9230
else
8458
9237
      end
8459
9238
_ACEOF
8460
9239
rm -f conftest.$ac_objext
8461
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8462
 
  (eval $ac_compile) 2>conftest.er1
 
9240
if { (ac_try="$ac_compile"
 
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_compile") 2>conftest.er1
8463
9247
  ac_status=$?
8464
9248
  grep -v '^ *+' conftest.er1 >conftest.err
8465
9249
  rm -f conftest.er1
8466
9250
  cat conftest.err >&5
8467
9251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468
 
  (exit $ac_status); } &&
8469
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
8470
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8471
 
  (eval $ac_try) 2>&5
8472
 
  ac_status=$?
8473
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474
 
  (exit $ac_status); }; } &&
8475
 
         { ac_try='test -s conftest.$ac_objext'
8476
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477
 
  (eval $ac_try) 2>&5
8478
 
  ac_status=$?
8479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480
 
  (exit $ac_status); }; }; then
 
9252
  (exit $ac_status); } && {
 
9253
         test -z "$ac_f77_werror_flag" ||
 
9254
         test ! -s conftest.err
 
9255
       } && test -s conftest.$ac_objext; then
8481
9256
  ac_compiler_gnu=yes
8482
9257
else
8483
9258
  echo "$as_me: failed program was:" >&5
8484
9259
sed 's/^/| /' conftest.$ac_ext >&5
8485
9260
 
8486
 
ac_compiler_gnu=no
 
9261
        ac_compiler_gnu=no
8487
9262
fi
8488
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
9263
 
 
9264
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8489
9265
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8490
9266
 
8491
9267
fi
8492
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8493
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
9268
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
9269
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
8494
9270
ac_ext=$ac_save_ext
8495
9271
ac_test_FFLAGS=${FFLAGS+set}
8496
9272
ac_save_FFLAGS=$FFLAGS
8497
9273
FFLAGS=
8498
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8499
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
9274
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
9275
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
8500
9276
if test "${ac_cv_prog_f77_g+set}" = set; then
8501
9277
  echo $ECHO_N "(cached) $ECHO_C" >&6
8502
9278
else
8507
9283
      end
8508
9284
_ACEOF
8509
9285
rm -f conftest.$ac_objext
8510
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8511
 
  (eval $ac_compile) 2>conftest.er1
 
9286
if { (ac_try="$ac_compile"
 
9287
case "(($ac_try" in
 
9288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9289
  *) ac_try_echo=$ac_try;;
 
9290
esac
 
9291
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9292
  (eval "$ac_compile") 2>conftest.er1
8512
9293
  ac_status=$?
8513
9294
  grep -v '^ *+' conftest.er1 >conftest.err
8514
9295
  rm -f conftest.er1
8515
9296
  cat conftest.err >&5
8516
9297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8517
 
  (exit $ac_status); } &&
8518
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
8519
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8520
 
  (eval $ac_try) 2>&5
8521
 
  ac_status=$?
8522
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523
 
  (exit $ac_status); }; } &&
8524
 
         { ac_try='test -s conftest.$ac_objext'
8525
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526
 
  (eval $ac_try) 2>&5
8527
 
  ac_status=$?
8528
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529
 
  (exit $ac_status); }; }; then
 
9298
  (exit $ac_status); } && {
 
9299
         test -z "$ac_f77_werror_flag" ||
 
9300
         test ! -s conftest.err
 
9301
       } && test -s conftest.$ac_objext; then
8530
9302
  ac_cv_prog_f77_g=yes
8531
9303
else
8532
9304
  echo "$as_me: failed program was:" >&5
8533
9305
sed 's/^/| /' conftest.$ac_ext >&5
8534
9306
 
8535
 
ac_cv_prog_f77_g=no
8536
 
fi
8537
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8538
 
 
8539
 
fi
8540
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8541
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
9307
        ac_cv_prog_f77_g=no
 
9308
fi
 
9309
 
 
9310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9311
 
 
9312
fi
 
9313
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
9314
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
8542
9315
if test "$ac_test_FFLAGS" = set; then
8543
9316
  FFLAGS=$ac_save_FFLAGS
8544
9317
elif test $ac_cv_prog_f77_g = yes; then
8567
9340
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8568
9341
 
8569
9342
# find the maximum length of command line arguments
8570
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8571
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
9343
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
9344
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
8572
9345
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8573
9346
  echo $ECHO_N "(cached) $ECHO_C" >&6
8574
9347
else
8676
9449
fi
8677
9450
 
8678
9451
if test -n $lt_cv_sys_max_cmd_len ; then
8679
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8680
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
9452
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
9453
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8681
9454
else
8682
 
  echo "$as_me:$LINENO: result: none" >&5
8683
 
echo "${ECHO_T}none" >&6
 
9455
  { echo "$as_me:$LINENO: result: none" >&5
 
9456
echo "${ECHO_T}none" >&6; }
8684
9457
fi
8685
9458
 
8686
9459
 
8687
9460
 
8688
9461
 
8689
9462
# Check for command to grab the raw symbol name followed by C symbol from nm.
8690
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8691
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
9463
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
9464
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8692
9465
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8693
9466
  echo $ECHO_N "(cached) $ECHO_C" >&6
8694
9467
else
8723
9496
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8724
9497
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
8725
9498
  ;;
8726
 
linux*)
 
9499
linux* | k*bsd*-gnu)
8727
9500
  if test "$host_cpu" = ia64; then
8728
9501
    symcode='[ABCDGIRSTW]'
8729
9502
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8892
9665
  lt_cv_sys_global_symbol_to_cdecl=
8893
9666
fi
8894
9667
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8895
 
  echo "$as_me:$LINENO: result: failed" >&5
8896
 
echo "${ECHO_T}failed" >&6
 
9668
  { echo "$as_me:$LINENO: result: failed" >&5
 
9669
echo "${ECHO_T}failed" >&6; }
8897
9670
else
8898
 
  echo "$as_me:$LINENO: result: ok" >&5
8899
 
echo "${ECHO_T}ok" >&6
 
9671
  { echo "$as_me:$LINENO: result: ok" >&5
 
9672
echo "${ECHO_T}ok" >&6; }
8900
9673
fi
8901
9674
 
8902
 
echo "$as_me:$LINENO: checking for objdir" >&5
8903
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
9675
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
9676
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8904
9677
if test "${lt_cv_objdir+set}" = set; then
8905
9678
  echo $ECHO_N "(cached) $ECHO_C" >&6
8906
9679
else
8914
9687
fi
8915
9688
rmdir .libs 2>/dev/null
8916
9689
fi
8917
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8918
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
9690
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
9691
echo "${ECHO_T}$lt_cv_objdir" >&6; }
8919
9692
objdir=$lt_cv_objdir
8920
9693
 
8921
9694
 
8966
9739
if test -n "$ac_tool_prefix"; then
8967
9740
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8968
9741
set dummy ${ac_tool_prefix}ar; ac_word=$2
8969
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8970
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9742
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9743
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8971
9744
if test "${ac_cv_prog_AR+set}" = set; then
8972
9745
  echo $ECHO_N "(cached) $ECHO_C" >&6
8973
9746
else
8980
9753
  IFS=$as_save_IFS
8981
9754
  test -z "$as_dir" && as_dir=.
8982
9755
  for ac_exec_ext in '' $ac_executable_extensions; do
8983
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9756
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8984
9757
    ac_cv_prog_AR="${ac_tool_prefix}ar"
8985
9758
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8986
9759
    break 2
8987
9760
  fi
8988
9761
done
8989
9762
done
 
9763
IFS=$as_save_IFS
8990
9764
 
8991
9765
fi
8992
9766
fi
8993
9767
AR=$ac_cv_prog_AR
8994
9768
if test -n "$AR"; then
8995
 
  echo "$as_me:$LINENO: result: $AR" >&5
8996
 
echo "${ECHO_T}$AR" >&6
 
9769
  { echo "$as_me:$LINENO: result: $AR" >&5
 
9770
echo "${ECHO_T}$AR" >&6; }
8997
9771
else
8998
 
  echo "$as_me:$LINENO: result: no" >&5
8999
 
echo "${ECHO_T}no" >&6
 
9772
  { echo "$as_me:$LINENO: result: no" >&5
 
9773
echo "${ECHO_T}no" >&6; }
9000
9774
fi
 
9775
 
9001
9776
 
9002
9777
fi
9003
9778
if test -z "$ac_cv_prog_AR"; then
9004
9779
  ac_ct_AR=$AR
9005
9780
  # Extract the first word of "ar", so it can be a program name with args.
9006
9781
set dummy ar; ac_word=$2
9007
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9008
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9782
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9783
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9009
9784
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9010
9785
  echo $ECHO_N "(cached) $ECHO_C" >&6
9011
9786
else
9018
9793
  IFS=$as_save_IFS
9019
9794
  test -z "$as_dir" && as_dir=.
9020
9795
  for ac_exec_ext in '' $ac_executable_extensions; do
9021
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9796
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9022
9797
    ac_cv_prog_ac_ct_AR="ar"
9023
9798
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9024
9799
    break 2
9025
9800
  fi
9026
9801
done
9027
9802
done
 
9803
IFS=$as_save_IFS
9028
9804
 
9029
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
9030
9805
fi
9031
9806
fi
9032
9807
ac_ct_AR=$ac_cv_prog_ac_ct_AR
9033
9808
if test -n "$ac_ct_AR"; then
9034
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9035
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
9809
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
9810
echo "${ECHO_T}$ac_ct_AR" >&6; }
9036
9811
else
9037
 
  echo "$as_me:$LINENO: result: no" >&5
9038
 
echo "${ECHO_T}no" >&6
 
9812
  { echo "$as_me:$LINENO: result: no" >&5
 
9813
echo "${ECHO_T}no" >&6; }
9039
9814
fi
9040
9815
 
9041
 
  AR=$ac_ct_AR
 
9816
  if test "x$ac_ct_AR" = x; then
 
9817
    AR="false"
 
9818
  else
 
9819
    case $cross_compiling:$ac_tool_warned in
 
9820
yes:)
 
9821
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9822
whose name does not start with the host triplet.  If you think this
 
9823
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9824
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9825
whose name does not start with the host triplet.  If you think this
 
9826
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9827
ac_tool_warned=yes ;;
 
9828
esac
 
9829
    AR=$ac_ct_AR
 
9830
  fi
9042
9831
else
9043
9832
  AR="$ac_cv_prog_AR"
9044
9833
fi
9046
9835
if test -n "$ac_tool_prefix"; then
9047
9836
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9048
9837
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9049
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9050
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9838
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9839
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9051
9840
if test "${ac_cv_prog_RANLIB+set}" = set; then
9052
9841
  echo $ECHO_N "(cached) $ECHO_C" >&6
9053
9842
else
9060
9849
  IFS=$as_save_IFS
9061
9850
  test -z "$as_dir" && as_dir=.
9062
9851
  for ac_exec_ext in '' $ac_executable_extensions; do
9063
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9852
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9064
9853
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9065
9854
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9066
9855
    break 2
9067
9856
  fi
9068
9857
done
9069
9858
done
 
9859
IFS=$as_save_IFS
9070
9860
 
9071
9861
fi
9072
9862
fi
9073
9863
RANLIB=$ac_cv_prog_RANLIB
9074
9864
if test -n "$RANLIB"; then
9075
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
9076
 
echo "${ECHO_T}$RANLIB" >&6
 
9865
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
9866
echo "${ECHO_T}$RANLIB" >&6; }
9077
9867
else
9078
 
  echo "$as_me:$LINENO: result: no" >&5
9079
 
echo "${ECHO_T}no" >&6
 
9868
  { echo "$as_me:$LINENO: result: no" >&5
 
9869
echo "${ECHO_T}no" >&6; }
9080
9870
fi
 
9871
 
9081
9872
 
9082
9873
fi
9083
9874
if test -z "$ac_cv_prog_RANLIB"; then
9084
9875
  ac_ct_RANLIB=$RANLIB
9085
9876
  # Extract the first word of "ranlib", so it can be a program name with args.
9086
9877
set dummy ranlib; ac_word=$2
9087
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9088
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9878
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9879
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9089
9880
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9090
9881
  echo $ECHO_N "(cached) $ECHO_C" >&6
9091
9882
else
9098
9889
  IFS=$as_save_IFS
9099
9890
  test -z "$as_dir" && as_dir=.
9100
9891
  for ac_exec_ext in '' $ac_executable_extensions; do
9101
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9892
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9102
9893
    ac_cv_prog_ac_ct_RANLIB="ranlib"
9103
9894
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9104
9895
    break 2
9105
9896
  fi
9106
9897
done
9107
9898
done
 
9899
IFS=$as_save_IFS
9108
9900
 
9109
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
9110
9901
fi
9111
9902
fi
9112
9903
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9113
9904
if test -n "$ac_ct_RANLIB"; then
9114
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9115
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
9905
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
9906
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9116
9907
else
9117
 
  echo "$as_me:$LINENO: result: no" >&5
9118
 
echo "${ECHO_T}no" >&6
 
9908
  { echo "$as_me:$LINENO: result: no" >&5
 
9909
echo "${ECHO_T}no" >&6; }
9119
9910
fi
9120
9911
 
9121
 
  RANLIB=$ac_ct_RANLIB
 
9912
  if test "x$ac_ct_RANLIB" = x; then
 
9913
    RANLIB=":"
 
9914
  else
 
9915
    case $cross_compiling:$ac_tool_warned in
 
9916
yes:)
 
9917
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9918
whose name does not start with the host triplet.  If you think this
 
9919
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9920
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9921
whose name does not start with the host triplet.  If you think this
 
9922
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9923
ac_tool_warned=yes ;;
 
9924
esac
 
9925
    RANLIB=$ac_ct_RANLIB
 
9926
  fi
9122
9927
else
9123
9928
  RANLIB="$ac_cv_prog_RANLIB"
9124
9929
fi
9126
9931
if test -n "$ac_tool_prefix"; then
9127
9932
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9128
9933
set dummy ${ac_tool_prefix}strip; ac_word=$2
9129
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9130
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9934
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9935
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9131
9936
if test "${ac_cv_prog_STRIP+set}" = set; then
9132
9937
  echo $ECHO_N "(cached) $ECHO_C" >&6
9133
9938
else
9140
9945
  IFS=$as_save_IFS
9141
9946
  test -z "$as_dir" && as_dir=.
9142
9947
  for ac_exec_ext in '' $ac_executable_extensions; do
9143
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9948
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9144
9949
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9145
9950
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9146
9951
    break 2
9147
9952
  fi
9148
9953
done
9149
9954
done
 
9955
IFS=$as_save_IFS
9150
9956
 
9151
9957
fi
9152
9958
fi
9153
9959
STRIP=$ac_cv_prog_STRIP
9154
9960
if test -n "$STRIP"; then
9155
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
9156
 
echo "${ECHO_T}$STRIP" >&6
 
9961
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
9962
echo "${ECHO_T}$STRIP" >&6; }
9157
9963
else
9158
 
  echo "$as_me:$LINENO: result: no" >&5
9159
 
echo "${ECHO_T}no" >&6
 
9964
  { echo "$as_me:$LINENO: result: no" >&5
 
9965
echo "${ECHO_T}no" >&6; }
9160
9966
fi
 
9967
 
9161
9968
 
9162
9969
fi
9163
9970
if test -z "$ac_cv_prog_STRIP"; then
9164
9971
  ac_ct_STRIP=$STRIP
9165
9972
  # Extract the first word of "strip", so it can be a program name with args.
9166
9973
set dummy strip; ac_word=$2
9167
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9168
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9974
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9975
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9169
9976
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9170
9977
  echo $ECHO_N "(cached) $ECHO_C" >&6
9171
9978
else
9178
9985
  IFS=$as_save_IFS
9179
9986
  test -z "$as_dir" && as_dir=.
9180
9987
  for ac_exec_ext in '' $ac_executable_extensions; do
9181
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9988
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9182
9989
    ac_cv_prog_ac_ct_STRIP="strip"
9183
9990
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9184
9991
    break 2
9185
9992
  fi
9186
9993
done
9187
9994
done
 
9995
IFS=$as_save_IFS
9188
9996
 
9189
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
9190
9997
fi
9191
9998
fi
9192
9999
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9193
10000
if test -n "$ac_ct_STRIP"; then
9194
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9195
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
10001
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
10002
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9196
10003
else
9197
 
  echo "$as_me:$LINENO: result: no" >&5
9198
 
echo "${ECHO_T}no" >&6
 
10004
  { echo "$as_me:$LINENO: result: no" >&5
 
10005
echo "${ECHO_T}no" >&6; }
9199
10006
fi
9200
10007
 
9201
 
  STRIP=$ac_ct_STRIP
 
10008
  if test "x$ac_ct_STRIP" = x; then
 
10009
    STRIP=":"
 
10010
  else
 
10011
    case $cross_compiling:$ac_tool_warned in
 
10012
yes:)
 
10013
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
10014
whose name does not start with the host triplet.  If you think this
 
10015
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
10016
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
10017
whose name does not start with the host triplet.  If you think this
 
10018
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
10019
ac_tool_warned=yes ;;
 
10020
esac
 
10021
    STRIP=$ac_ct_STRIP
 
10022
  fi
9202
10023
else
9203
10024
  STRIP="$ac_cv_prog_STRIP"
9204
10025
fi
9257
10078
case $deplibs_check_method in
9258
10079
file_magic*)
9259
10080
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9260
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9261
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
10081
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
10082
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9262
10083
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9263
10084
  echo $ECHO_N "(cached) $ECHO_C" >&6
9264
10085
else
9310
10131
 
9311
10132
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9312
10133
if test -n "$MAGIC_CMD"; then
9313
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9314
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
10134
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
10135
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9315
10136
else
9316
 
  echo "$as_me:$LINENO: result: no" >&5
9317
 
echo "${ECHO_T}no" >&6
 
10137
  { echo "$as_me:$LINENO: result: no" >&5
 
10138
echo "${ECHO_T}no" >&6; }
9318
10139
fi
9319
10140
 
9320
10141
if test -z "$lt_cv_path_MAGIC_CMD"; then
9321
10142
  if test -n "$ac_tool_prefix"; then
9322
 
    echo "$as_me:$LINENO: checking for file" >&5
9323
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
10143
    { echo "$as_me:$LINENO: checking for file" >&5
 
10144
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9324
10145
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9325
10146
  echo $ECHO_N "(cached) $ECHO_C" >&6
9326
10147
else
9372
10193
 
9373
10194
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9374
10195
if test -n "$MAGIC_CMD"; then
9375
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9376
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
10196
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
10197
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9377
10198
else
9378
 
  echo "$as_me:$LINENO: result: no" >&5
9379
 
echo "${ECHO_T}no" >&6
 
10199
  { echo "$as_me:$LINENO: result: no" >&5
 
10200
echo "${ECHO_T}no" >&6; }
9380
10201
fi
9381
10202
 
9382
10203
  else
9391
10212
enable_dlopen=no
9392
10213
enable_win32_dll=no
9393
10214
 
9394
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
10215
# Check whether --enable-libtool-lock was given.
9395
10216
if test "${enable_libtool_lock+set}" = set; then
9396
 
  enableval="$enable_libtool_lock"
9397
 
  
9398
 
fi; 
 
10217
  enableval=$enable_libtool_lock; 
 
10218
fi
 
10219
 
9399
10220
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9400
10221
 
9401
10222
 
9402
 
# Check whether --with-pic or --without-pic was given.
 
10223
# Check whether --with-pic was given.
9403
10224
if test "${with_pic+set}" = set; then
9404
 
  withval="$with_pic"
9405
 
  pic_mode="$withval"
 
10225
  withval=$with_pic; pic_mode="$withval"
9406
10226
else
9407
10227
  pic_mode=default
9408
 
fi; 
 
10228
fi
 
10229
 
9409
10230
test -z "$pic_mode" && pic_mode=default
9410
10231
 
9411
10232
# Use C for the default configuration in the libtool script
9463
10284
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9464
10285
 
9465
10286
  
9466
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9467
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
10287
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
10288
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9468
10289
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9469
10290
  echo $ECHO_N "(cached) $ECHO_C" >&6
9470
10291
else
9498
10319
   $rm conftest*
9499
10320
 
9500
10321
fi
9501
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9502
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
10322
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
10323
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9503
10324
 
9504
10325
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9505
10326
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9513
10334
lt_prog_compiler_pic=
9514
10335
lt_prog_compiler_static=
9515
10336
 
9516
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9517
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
10337
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
10338
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9518
10339
 
9519
10340
  if test "$GCC" = yes; then
9520
10341
    lt_prog_compiler_wl='-Wl,'
9643
10464
      lt_prog_compiler_static='-Bstatic'
9644
10465
      ;;
9645
10466
 
9646
 
    linux*)
 
10467
    linux* | k*bsd*-gnu)
9647
10468
      case $cc_basename in
9648
10469
      icc* | ecc*)
9649
10470
        lt_prog_compiler_wl='-Wl,'
9723
10544
    esac
9724
10545
  fi
9725
10546
 
9726
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9727
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
10547
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
10548
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9728
10549
 
9729
10550
#
9730
10551
# Check to make sure the PIC flag actually works.
9731
10552
#
9732
10553
if test -n "$lt_prog_compiler_pic"; then
9733
10554
  
9734
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9735
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
10555
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10556
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9736
10557
if test "${lt_prog_compiler_pic_works+set}" = set; then
9737
10558
  echo $ECHO_N "(cached) $ECHO_C" >&6
9738
10559
else
9766
10587
   $rm conftest*
9767
10588
 
9768
10589
fi
9769
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9770
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
10590
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
10591
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
9771
10592
 
9772
10593
if test x"$lt_prog_compiler_pic_works" = xyes; then
9773
10594
    case $lt_prog_compiler_pic in
9794
10615
# Check to make sure the static flag actually works.
9795
10616
#
9796
10617
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9797
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9798
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
10618
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
10619
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9799
10620
if test "${lt_prog_compiler_static_works+set}" = set; then
9800
10621
  echo $ECHO_N "(cached) $ECHO_C" >&6
9801
10622
else
9822
10643
   LDFLAGS="$save_LDFLAGS"
9823
10644
 
9824
10645
fi
9825
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9826
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
10646
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
10647
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
9827
10648
 
9828
10649
if test x"$lt_prog_compiler_static_works" = xyes; then
9829
10650
    :
9832
10653
fi
9833
10654
 
9834
10655
 
9835
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9836
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
10656
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10657
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9837
10658
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9838
10659
  echo $ECHO_N "(cached) $ECHO_C" >&6
9839
10660
else
9879
10700
   $rm conftest*
9880
10701
 
9881
10702
fi
9882
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9883
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
10703
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
10704
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9884
10705
 
9885
10706
 
9886
10707
hard_links="nottested"
9887
10708
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9888
10709
  # do not overwrite the value of need_locks provided by the user
9889
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9890
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
10710
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
10711
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9891
10712
  hard_links=yes
9892
10713
  $rm conftest*
9893
10714
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9894
10715
  touch conftest.a
9895
10716
  ln conftest.a conftest.b 2>&5 || hard_links=no
9896
10717
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9897
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
9898
 
echo "${ECHO_T}$hard_links" >&6
 
10718
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
10719
echo "${ECHO_T}$hard_links" >&6; }
9899
10720
  if test "$hard_links" = no; then
9900
10721
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9901
10722
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9905
10726
  need_locks=no
9906
10727
fi
9907
10728
 
9908
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9909
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
10729
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10730
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9910
10731
 
9911
10732
  runpath_var=
9912
10733
  allow_undefined_flag=
10082
10903
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10083
10904
      ;;
10084
10905
 
10085
 
    linux*)
 
10906
    linux* | k*bsd*-gnu)
10086
10907
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10087
10908
        tmp_addflag=
10088
10909
        case $cc_basename,$host_cpu in
10114
10935
      fi
10115
10936
      ;;
10116
10937
 
10117
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
10938
    netbsd* | netbsdelf*-gnu)
10118
10939
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10119
10940
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10120
10941
        wlarc=
10322
11143
}
10323
11144
_ACEOF
10324
11145
rm -f conftest.$ac_objext conftest$ac_exeext
10325
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10326
 
  (eval $ac_link) 2>conftest.er1
 
11146
if { (ac_try="$ac_link"
 
11147
case "(($ac_try" in
 
11148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11149
  *) ac_try_echo=$ac_try;;
 
11150
esac
 
11151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11152
  (eval "$ac_link") 2>conftest.er1
10327
11153
  ac_status=$?
10328
11154
  grep -v '^ *+' conftest.er1 >conftest.err
10329
11155
  rm -f conftest.er1
10330
11156
  cat conftest.err >&5
10331
11157
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332
 
  (exit $ac_status); } &&
10333
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10334
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10335
 
  (eval $ac_try) 2>&5
10336
 
  ac_status=$?
10337
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338
 
  (exit $ac_status); }; } &&
10339
 
         { ac_try='test -s conftest$ac_exeext'
10340
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10341
 
  (eval $ac_try) 2>&5
10342
 
  ac_status=$?
10343
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344
 
  (exit $ac_status); }; }; then
 
11158
  (exit $ac_status); } && {
 
11159
         test -z "$ac_c_werror_flag" ||
 
11160
         test ! -s conftest.err
 
11161
       } && test -s conftest$ac_exeext &&
 
11162
       $as_test_x conftest$ac_exeext; then
10345
11163
  
10346
11164
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10347
11165
}'`
10352
11170
  echo "$as_me: failed program was:" >&5
10353
11171
sed 's/^/| /' conftest.$ac_ext >&5
10354
11172
 
 
11173
        
10355
11174
fi
10356
 
rm -f conftest.err conftest.$ac_objext \
 
11175
 
 
11176
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10357
11177
      conftest$ac_exeext conftest.$ac_ext
10358
11178
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10359
11179
 
10382
11202
}
10383
11203
_ACEOF
10384
11204
rm -f conftest.$ac_objext conftest$ac_exeext
10385
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10386
 
  (eval $ac_link) 2>conftest.er1
 
11205
if { (ac_try="$ac_link"
 
11206
case "(($ac_try" in
 
11207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11208
  *) ac_try_echo=$ac_try;;
 
11209
esac
 
11210
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11211
  (eval "$ac_link") 2>conftest.er1
10387
11212
  ac_status=$?
10388
11213
  grep -v '^ *+' conftest.er1 >conftest.err
10389
11214
  rm -f conftest.er1
10390
11215
  cat conftest.err >&5
10391
11216
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392
 
  (exit $ac_status); } &&
10393
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10394
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10395
 
  (eval $ac_try) 2>&5
10396
 
  ac_status=$?
10397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398
 
  (exit $ac_status); }; } &&
10399
 
         { ac_try='test -s conftest$ac_exeext'
10400
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401
 
  (eval $ac_try) 2>&5
10402
 
  ac_status=$?
10403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404
 
  (exit $ac_status); }; }; then
 
11217
  (exit $ac_status); } && {
 
11218
         test -z "$ac_c_werror_flag" ||
 
11219
         test ! -s conftest.err
 
11220
       } && test -s conftest$ac_exeext &&
 
11221
       $as_test_x conftest$ac_exeext; then
10405
11222
  
10406
11223
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10407
11224
}'`
10412
11229
  echo "$as_me: failed program was:" >&5
10413
11230
sed 's/^/| /' conftest.$ac_ext >&5
10414
11231
 
 
11232
        
10415
11233
fi
10416
 
rm -f conftest.err conftest.$ac_objext \
 
11234
 
 
11235
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10417
11236
      conftest$ac_exeext conftest.$ac_ext
10418
11237
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10419
11238
 
10550
11369
      hardcode_direct=yes
10551
11370
      hardcode_shlibpath_var=no
10552
11371
      ;;
10553
 
      
10554
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
10555
 
    kfreebsd*-gnu)
10556
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10557
 
      hardcode_libdir_flag_spec='-R$libdir'
10558
 
      hardcode_direct=yes
10559
 
      hardcode_shlibpath_var=no
10560
 
      link_all_deplibs=no
10561
 
      ;;
10562
11372
 
10563
11373
    hpux9*)
10564
11374
      if test "$GCC" = yes; then
10655
11465
      link_all_deplibs=yes
10656
11466
      ;;
10657
11467
 
10658
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
11468
    netbsd* | netbsdelf*-gnu)
10659
11469
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10660
11470
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10661
11471
      else
10871
11681
    esac
10872
11682
  fi
10873
11683
 
10874
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10875
 
echo "${ECHO_T}$ld_shlibs" >&6
 
11684
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
11685
echo "${ECHO_T}$ld_shlibs" >&6; }
10876
11686
test "$ld_shlibs" = no && can_build_shared=no
10877
11687
 
10878
11688
#
10892
11702
      # Test whether the compiler implicitly links with -lc since on some
10893
11703
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10894
11704
      # to ld, don't add -lc before -lgcc.
10895
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10896
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
11705
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
11706
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10897
11707
      $rm conftest*
10898
11708
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10899
11709
 
10930
11740
        cat conftest.err 1>&5
10931
11741
      fi
10932
11742
      $rm conftest*
10933
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10934
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
11743
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
11744
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10935
11745
      ;;
10936
11746
    esac
10937
11747
  fi
10938
11748
  ;;
10939
11749
esac
10940
11750
 
10941
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10942
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
11751
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
11752
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10943
11753
library_names_spec=
10944
11754
libname_spec='lib$name'
10945
11755
soname_spec=
11145
11955
  dynamic_linker=no
11146
11956
  ;;
11147
11957
 
11148
 
kfreebsd*-gnu)
11149
 
  version_type=linux
11150
 
  need_lib_prefix=no
11151
 
  need_version=no
11152
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11153
 
  soname_spec='${libname}${release}${shared_ext}$major'
11154
 
  shlibpath_var=LD_LIBRARY_PATH
11155
 
  shlibpath_overrides_runpath=no
11156
 
  hardcode_into_libs=yes
11157
 
  dynamic_linker='GNU ld.so'
11158
 
  ;;
11159
 
 
11160
11958
freebsd* | dragonfly*)
11161
11959
  # DragonFly does not have aout.  When/if they implement a new
11162
11960
  # versioning mechanism, adjust this.
11312
12110
  ;;
11313
12111
 
11314
12112
# This must be Linux ELF.
11315
 
linux*)
 
12113
linux* | k*bsd*-gnu)
11316
12114
  version_type=linux
11317
12115
  need_lib_prefix=no
11318
12116
  need_version=no
11353
12151
  dynamic_linker='NetBSD ld.elf_so'
11354
12152
  ;;
11355
12153
 
11356
 
knetbsd*-gnu)
11357
 
  version_type=linux
11358
 
  need_lib_prefix=no
11359
 
  need_version=no
11360
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11361
 
  soname_spec='${libname}${release}${shared_ext}$major'
11362
 
  shlibpath_var=LD_LIBRARY_PATH
11363
 
  shlibpath_overrides_runpath=no
11364
 
  hardcode_into_libs=yes
11365
 
  dynamic_linker='GNU ld.so'
11366
 
  ;;
11367
 
 
11368
12154
netbsd*)
11369
12155
  version_type=sunos
11370
12156
  need_lib_prefix=no
11538
12324
  dynamic_linker=no
11539
12325
  ;;
11540
12326
esac
11541
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11542
 
echo "${ECHO_T}$dynamic_linker" >&6
 
12327
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
12328
echo "${ECHO_T}$dynamic_linker" >&6; }
11543
12329
test "$dynamic_linker" = no && can_build_shared=no
11544
12330
 
11545
12331
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11547
12333
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11548
12334
fi
11549
12335
 
11550
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11551
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
12336
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
12337
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11552
12338
hardcode_action=
11553
12339
if test -n "$hardcode_libdir_flag_spec" || \
11554
12340
   test -n "$runpath_var" || \
11572
12358
  # directories.
11573
12359
  hardcode_action=unsupported
11574
12360
fi
11575
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
11576
 
echo "${ECHO_T}$hardcode_action" >&6
 
12361
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
12362
echo "${ECHO_T}$hardcode_action" >&6; }
11577
12363
 
11578
12364
if test "$hardcode_action" = relink; then
11579
12365
  # Fast installation is not supported
11586
12372
 
11587
12373
striplib=
11588
12374
old_striplib=
11589
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11590
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
12375
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12376
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11591
12377
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11592
12378
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11593
12379
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11594
 
  echo "$as_me:$LINENO: result: yes" >&5
11595
 
echo "${ECHO_T}yes" >&6
 
12380
  { echo "$as_me:$LINENO: result: yes" >&5
 
12381
echo "${ECHO_T}yes" >&6; }
11596
12382
else
11597
12383
# FIXME - insert some real tests, host_os isn't really good enough
11598
12384
  case $host_os in
11599
12385
   darwin*)
11600
12386
       if test -n "$STRIP" ; then
11601
12387
         striplib="$STRIP -x"
11602
 
         echo "$as_me:$LINENO: result: yes" >&5
11603
 
echo "${ECHO_T}yes" >&6
 
12388
         { echo "$as_me:$LINENO: result: yes" >&5
 
12389
echo "${ECHO_T}yes" >&6; }
11604
12390
       else
11605
 
  echo "$as_me:$LINENO: result: no" >&5
11606
 
echo "${ECHO_T}no" >&6
 
12391
  { echo "$as_me:$LINENO: result: no" >&5
 
12392
echo "${ECHO_T}no" >&6; }
11607
12393
fi
11608
12394
       ;;
11609
12395
   *)
11610
 
  echo "$as_me:$LINENO: result: no" >&5
11611
 
echo "${ECHO_T}no" >&6
 
12396
  { echo "$as_me:$LINENO: result: no" >&5
 
12397
echo "${ECHO_T}no" >&6; }
11612
12398
    ;;
11613
12399
  esac
11614
12400
fi
11640
12426
 
11641
12427
  darwin*)
11642
12428
  # if libdl is installed we need to link against it
11643
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11644
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
12429
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12430
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11645
12431
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11646
12432
  echo $ECHO_N "(cached) $ECHO_C" >&6
11647
12433
else
11654
12440
cat >>conftest.$ac_ext <<_ACEOF
11655
12441
/* end confdefs.h.  */
11656
12442
 
11657
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12443
/* Override any GCC internal prototype to avoid an error.
 
12444
   Use char because int might match the return type of a GCC
 
12445
   builtin and then its argument prototype would still apply.  */
11658
12446
#ifdef __cplusplus
11659
12447
extern "C"
11660
12448
#endif
11661
 
/* We use char because int might match the return type of a gcc2
11662
 
   builtin and then its argument prototype would still apply.  */
11663
12449
char dlopen ();
11664
12450
int
11665
12451
main ()
11666
12452
{
11667
 
dlopen ();
 
12453
return dlopen ();
11668
12454
  ;
11669
12455
  return 0;
11670
12456
}
11671
12457
_ACEOF
11672
12458
rm -f conftest.$ac_objext conftest$ac_exeext
11673
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11674
 
  (eval $ac_link) 2>conftest.er1
 
12459
if { (ac_try="$ac_link"
 
12460
case "(($ac_try" in
 
12461
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12462
  *) ac_try_echo=$ac_try;;
 
12463
esac
 
12464
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12465
  (eval "$ac_link") 2>conftest.er1
11675
12466
  ac_status=$?
11676
12467
  grep -v '^ *+' conftest.er1 >conftest.err
11677
12468
  rm -f conftest.er1
11678
12469
  cat conftest.err >&5
11679
12470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680
 
  (exit $ac_status); } &&
11681
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11682
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11683
 
  (eval $ac_try) 2>&5
11684
 
  ac_status=$?
11685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686
 
  (exit $ac_status); }; } &&
11687
 
         { ac_try='test -s conftest$ac_exeext'
11688
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11689
 
  (eval $ac_try) 2>&5
11690
 
  ac_status=$?
11691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692
 
  (exit $ac_status); }; }; then
 
12471
  (exit $ac_status); } && {
 
12472
         test -z "$ac_c_werror_flag" ||
 
12473
         test ! -s conftest.err
 
12474
       } && test -s conftest$ac_exeext &&
 
12475
       $as_test_x conftest$ac_exeext; then
11693
12476
  ac_cv_lib_dl_dlopen=yes
11694
12477
else
11695
12478
  echo "$as_me: failed program was:" >&5
11696
12479
sed 's/^/| /' conftest.$ac_ext >&5
11697
12480
 
11698
 
ac_cv_lib_dl_dlopen=no
 
12481
        ac_cv_lib_dl_dlopen=no
11699
12482
fi
11700
 
rm -f conftest.err conftest.$ac_objext \
 
12483
 
 
12484
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11701
12485
      conftest$ac_exeext conftest.$ac_ext
11702
12486
LIBS=$ac_check_lib_save_LIBS
11703
12487
fi
11704
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11705
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
12488
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12489
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11706
12490
if test $ac_cv_lib_dl_dlopen = yes; then
11707
12491
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11708
12492
else
11716
12500
   ;;
11717
12501
 
11718
12502
  *)
11719
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
11720
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
12503
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
12504
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11721
12505
if test "${ac_cv_func_shl_load+set}" = set; then
11722
12506
  echo $ECHO_N "(cached) $ECHO_C" >&6
11723
12507
else
11744
12528
 
11745
12529
#undef shl_load
11746
12530
 
11747
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12531
/* Override any GCC internal prototype to avoid an error.
 
12532
   Use char because int might match the return type of a GCC
 
12533
   builtin and then its argument prototype would still apply.  */
11748
12534
#ifdef __cplusplus
11749
12535
extern "C"
11750
 
{
11751
12536
#endif
11752
 
/* We use char because int might match the return type of a gcc2
11753
 
   builtin and then its argument prototype would still apply.  */
11754
12537
char shl_load ();
11755
12538
/* The GNU C library defines this for functions which it implements
11756
12539
    to always fail with ENOSYS.  Some functions are actually named
11757
12540
    something starting with __ and the normal name is an alias.  */
11758
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
12541
#if defined __stub_shl_load || defined __stub___shl_load
11759
12542
choke me
11760
 
#else
11761
 
char (*f) () = shl_load;
11762
 
#endif
11763
 
#ifdef __cplusplus
11764
 
}
11765
12543
#endif
11766
12544
 
11767
12545
int
11768
12546
main ()
11769
12547
{
11770
 
return f != shl_load;
 
12548
return shl_load ();
11771
12549
  ;
11772
12550
  return 0;
11773
12551
}
11774
12552
_ACEOF
11775
12553
rm -f conftest.$ac_objext conftest$ac_exeext
11776
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11777
 
  (eval $ac_link) 2>conftest.er1
 
12554
if { (ac_try="$ac_link"
 
12555
case "(($ac_try" in
 
12556
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12557
  *) ac_try_echo=$ac_try;;
 
12558
esac
 
12559
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12560
  (eval "$ac_link") 2>conftest.er1
11778
12561
  ac_status=$?
11779
12562
  grep -v '^ *+' conftest.er1 >conftest.err
11780
12563
  rm -f conftest.er1
11781
12564
  cat conftest.err >&5
11782
12565
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783
 
  (exit $ac_status); } &&
11784
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11785
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786
 
  (eval $ac_try) 2>&5
11787
 
  ac_status=$?
11788
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789
 
  (exit $ac_status); }; } &&
11790
 
         { ac_try='test -s conftest$ac_exeext'
11791
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792
 
  (eval $ac_try) 2>&5
11793
 
  ac_status=$?
11794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795
 
  (exit $ac_status); }; }; then
 
12566
  (exit $ac_status); } && {
 
12567
         test -z "$ac_c_werror_flag" ||
 
12568
         test ! -s conftest.err
 
12569
       } && test -s conftest$ac_exeext &&
 
12570
       $as_test_x conftest$ac_exeext; then
11796
12571
  ac_cv_func_shl_load=yes
11797
12572
else
11798
12573
  echo "$as_me: failed program was:" >&5
11799
12574
sed 's/^/| /' conftest.$ac_ext >&5
11800
12575
 
11801
 
ac_cv_func_shl_load=no
 
12576
        ac_cv_func_shl_load=no
11802
12577
fi
11803
 
rm -f conftest.err conftest.$ac_objext \
 
12578
 
 
12579
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11804
12580
      conftest$ac_exeext conftest.$ac_ext
11805
12581
fi
11806
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11807
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
12582
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
12583
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11808
12584
if test $ac_cv_func_shl_load = yes; then
11809
12585
  lt_cv_dlopen="shl_load"
11810
12586
else
11811
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11812
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
12587
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
12588
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11813
12589
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11814
12590
  echo $ECHO_N "(cached) $ECHO_C" >&6
11815
12591
else
11822
12598
cat >>conftest.$ac_ext <<_ACEOF
11823
12599
/* end confdefs.h.  */
11824
12600
 
11825
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12601
/* Override any GCC internal prototype to avoid an error.
 
12602
   Use char because int might match the return type of a GCC
 
12603
   builtin and then its argument prototype would still apply.  */
11826
12604
#ifdef __cplusplus
11827
12605
extern "C"
11828
12606
#endif
11829
 
/* We use char because int might match the return type of a gcc2
11830
 
   builtin and then its argument prototype would still apply.  */
11831
12607
char shl_load ();
11832
12608
int
11833
12609
main ()
11834
12610
{
11835
 
shl_load ();
 
12611
return shl_load ();
11836
12612
  ;
11837
12613
  return 0;
11838
12614
}
11839
12615
_ACEOF
11840
12616
rm -f conftest.$ac_objext conftest$ac_exeext
11841
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11842
 
  (eval $ac_link) 2>conftest.er1
 
12617
if { (ac_try="$ac_link"
 
12618
case "(($ac_try" in
 
12619
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12620
  *) ac_try_echo=$ac_try;;
 
12621
esac
 
12622
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12623
  (eval "$ac_link") 2>conftest.er1
11843
12624
  ac_status=$?
11844
12625
  grep -v '^ *+' conftest.er1 >conftest.err
11845
12626
  rm -f conftest.er1
11846
12627
  cat conftest.err >&5
11847
12628
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848
 
  (exit $ac_status); } &&
11849
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11850
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11851
 
  (eval $ac_try) 2>&5
11852
 
  ac_status=$?
11853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854
 
  (exit $ac_status); }; } &&
11855
 
         { ac_try='test -s conftest$ac_exeext'
11856
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857
 
  (eval $ac_try) 2>&5
11858
 
  ac_status=$?
11859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860
 
  (exit $ac_status); }; }; then
 
12629
  (exit $ac_status); } && {
 
12630
         test -z "$ac_c_werror_flag" ||
 
12631
         test ! -s conftest.err
 
12632
       } && test -s conftest$ac_exeext &&
 
12633
       $as_test_x conftest$ac_exeext; then
11861
12634
  ac_cv_lib_dld_shl_load=yes
11862
12635
else
11863
12636
  echo "$as_me: failed program was:" >&5
11864
12637
sed 's/^/| /' conftest.$ac_ext >&5
11865
12638
 
11866
 
ac_cv_lib_dld_shl_load=no
 
12639
        ac_cv_lib_dld_shl_load=no
11867
12640
fi
11868
 
rm -f conftest.err conftest.$ac_objext \
 
12641
 
 
12642
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11869
12643
      conftest$ac_exeext conftest.$ac_ext
11870
12644
LIBS=$ac_check_lib_save_LIBS
11871
12645
fi
11872
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11873
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
12646
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
12647
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11874
12648
if test $ac_cv_lib_dld_shl_load = yes; then
11875
12649
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11876
12650
else
11877
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
11878
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
12651
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
12652
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11879
12653
if test "${ac_cv_func_dlopen+set}" = set; then
11880
12654
  echo $ECHO_N "(cached) $ECHO_C" >&6
11881
12655
else
11902
12676
 
11903
12677
#undef dlopen
11904
12678
 
11905
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12679
/* Override any GCC internal prototype to avoid an error.
 
12680
   Use char because int might match the return type of a GCC
 
12681
   builtin and then its argument prototype would still apply.  */
11906
12682
#ifdef __cplusplus
11907
12683
extern "C"
11908
 
{
11909
12684
#endif
11910
 
/* We use char because int might match the return type of a gcc2
11911
 
   builtin and then its argument prototype would still apply.  */
11912
12685
char dlopen ();
11913
12686
/* The GNU C library defines this for functions which it implements
11914
12687
    to always fail with ENOSYS.  Some functions are actually named
11915
12688
    something starting with __ and the normal name is an alias.  */
11916
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
12689
#if defined __stub_dlopen || defined __stub___dlopen
11917
12690
choke me
11918
 
#else
11919
 
char (*f) () = dlopen;
11920
 
#endif
11921
 
#ifdef __cplusplus
11922
 
}
11923
12691
#endif
11924
12692
 
11925
12693
int
11926
12694
main ()
11927
12695
{
11928
 
return f != dlopen;
 
12696
return dlopen ();
11929
12697
  ;
11930
12698
  return 0;
11931
12699
}
11932
12700
_ACEOF
11933
12701
rm -f conftest.$ac_objext conftest$ac_exeext
11934
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11935
 
  (eval $ac_link) 2>conftest.er1
 
12702
if { (ac_try="$ac_link"
 
12703
case "(($ac_try" in
 
12704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12705
  *) ac_try_echo=$ac_try;;
 
12706
esac
 
12707
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12708
  (eval "$ac_link") 2>conftest.er1
11936
12709
  ac_status=$?
11937
12710
  grep -v '^ *+' conftest.er1 >conftest.err
11938
12711
  rm -f conftest.er1
11939
12712
  cat conftest.err >&5
11940
12713
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941
 
  (exit $ac_status); } &&
11942
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11943
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11944
 
  (eval $ac_try) 2>&5
11945
 
  ac_status=$?
11946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947
 
  (exit $ac_status); }; } &&
11948
 
         { ac_try='test -s conftest$ac_exeext'
11949
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950
 
  (eval $ac_try) 2>&5
11951
 
  ac_status=$?
11952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953
 
  (exit $ac_status); }; }; then
 
12714
  (exit $ac_status); } && {
 
12715
         test -z "$ac_c_werror_flag" ||
 
12716
         test ! -s conftest.err
 
12717
       } && test -s conftest$ac_exeext &&
 
12718
       $as_test_x conftest$ac_exeext; then
11954
12719
  ac_cv_func_dlopen=yes
11955
12720
else
11956
12721
  echo "$as_me: failed program was:" >&5
11957
12722
sed 's/^/| /' conftest.$ac_ext >&5
11958
12723
 
11959
 
ac_cv_func_dlopen=no
 
12724
        ac_cv_func_dlopen=no
11960
12725
fi
11961
 
rm -f conftest.err conftest.$ac_objext \
 
12726
 
 
12727
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11962
12728
      conftest$ac_exeext conftest.$ac_ext
11963
12729
fi
11964
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11965
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
12730
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
12731
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11966
12732
if test $ac_cv_func_dlopen = yes; then
11967
12733
  lt_cv_dlopen="dlopen"
11968
12734
else
11969
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11970
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
12735
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12736
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11971
12737
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11972
12738
  echo $ECHO_N "(cached) $ECHO_C" >&6
11973
12739
else
11980
12746
cat >>conftest.$ac_ext <<_ACEOF
11981
12747
/* end confdefs.h.  */
11982
12748
 
11983
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12749
/* Override any GCC internal prototype to avoid an error.
 
12750
   Use char because int might match the return type of a GCC
 
12751
   builtin and then its argument prototype would still apply.  */
11984
12752
#ifdef __cplusplus
11985
12753
extern "C"
11986
12754
#endif
11987
 
/* We use char because int might match the return type of a gcc2
11988
 
   builtin and then its argument prototype would still apply.  */
11989
12755
char dlopen ();
11990
12756
int
11991
12757
main ()
11992
12758
{
11993
 
dlopen ();
 
12759
return dlopen ();
11994
12760
  ;
11995
12761
  return 0;
11996
12762
}
11997
12763
_ACEOF
11998
12764
rm -f conftest.$ac_objext conftest$ac_exeext
11999
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12000
 
  (eval $ac_link) 2>conftest.er1
 
12765
if { (ac_try="$ac_link"
 
12766
case "(($ac_try" in
 
12767
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12768
  *) ac_try_echo=$ac_try;;
 
12769
esac
 
12770
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12771
  (eval "$ac_link") 2>conftest.er1
12001
12772
  ac_status=$?
12002
12773
  grep -v '^ *+' conftest.er1 >conftest.err
12003
12774
  rm -f conftest.er1
12004
12775
  cat conftest.err >&5
12005
12776
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006
 
  (exit $ac_status); } &&
12007
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12009
 
  (eval $ac_try) 2>&5
12010
 
  ac_status=$?
12011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012
 
  (exit $ac_status); }; } &&
12013
 
         { ac_try='test -s conftest$ac_exeext'
12014
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12015
 
  (eval $ac_try) 2>&5
12016
 
  ac_status=$?
12017
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018
 
  (exit $ac_status); }; }; then
 
12777
  (exit $ac_status); } && {
 
12778
         test -z "$ac_c_werror_flag" ||
 
12779
         test ! -s conftest.err
 
12780
       } && test -s conftest$ac_exeext &&
 
12781
       $as_test_x conftest$ac_exeext; then
12019
12782
  ac_cv_lib_dl_dlopen=yes
12020
12783
else
12021
12784
  echo "$as_me: failed program was:" >&5
12022
12785
sed 's/^/| /' conftest.$ac_ext >&5
12023
12786
 
12024
 
ac_cv_lib_dl_dlopen=no
 
12787
        ac_cv_lib_dl_dlopen=no
12025
12788
fi
12026
 
rm -f conftest.err conftest.$ac_objext \
 
12789
 
 
12790
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12027
12791
      conftest$ac_exeext conftest.$ac_ext
12028
12792
LIBS=$ac_check_lib_save_LIBS
12029
12793
fi
12030
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12031
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
12794
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12795
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12032
12796
if test $ac_cv_lib_dl_dlopen = yes; then
12033
12797
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12034
12798
else
12035
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12036
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
12799
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
12800
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12037
12801
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12038
12802
  echo $ECHO_N "(cached) $ECHO_C" >&6
12039
12803
else
12046
12810
cat >>conftest.$ac_ext <<_ACEOF
12047
12811
/* end confdefs.h.  */
12048
12812
 
12049
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12813
/* Override any GCC internal prototype to avoid an error.
 
12814
   Use char because int might match the return type of a GCC
 
12815
   builtin and then its argument prototype would still apply.  */
12050
12816
#ifdef __cplusplus
12051
12817
extern "C"
12052
12818
#endif
12053
 
/* We use char because int might match the return type of a gcc2
12054
 
   builtin and then its argument prototype would still apply.  */
12055
12819
char dlopen ();
12056
12820
int
12057
12821
main ()
12058
12822
{
12059
 
dlopen ();
 
12823
return dlopen ();
12060
12824
  ;
12061
12825
  return 0;
12062
12826
}
12063
12827
_ACEOF
12064
12828
rm -f conftest.$ac_objext conftest$ac_exeext
12065
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12066
 
  (eval $ac_link) 2>conftest.er1
 
12829
if { (ac_try="$ac_link"
 
12830
case "(($ac_try" in
 
12831
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12832
  *) ac_try_echo=$ac_try;;
 
12833
esac
 
12834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12835
  (eval "$ac_link") 2>conftest.er1
12067
12836
  ac_status=$?
12068
12837
  grep -v '^ *+' conftest.er1 >conftest.err
12069
12838
  rm -f conftest.er1
12070
12839
  cat conftest.err >&5
12071
12840
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072
 
  (exit $ac_status); } &&
12073
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12074
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075
 
  (eval $ac_try) 2>&5
12076
 
  ac_status=$?
12077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078
 
  (exit $ac_status); }; } &&
12079
 
         { ac_try='test -s conftest$ac_exeext'
12080
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12081
 
  (eval $ac_try) 2>&5
12082
 
  ac_status=$?
12083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084
 
  (exit $ac_status); }; }; then
 
12841
  (exit $ac_status); } && {
 
12842
         test -z "$ac_c_werror_flag" ||
 
12843
         test ! -s conftest.err
 
12844
       } && test -s conftest$ac_exeext &&
 
12845
       $as_test_x conftest$ac_exeext; then
12085
12846
  ac_cv_lib_svld_dlopen=yes
12086
12847
else
12087
12848
  echo "$as_me: failed program was:" >&5
12088
12849
sed 's/^/| /' conftest.$ac_ext >&5
12089
12850
 
12090
 
ac_cv_lib_svld_dlopen=no
 
12851
        ac_cv_lib_svld_dlopen=no
12091
12852
fi
12092
 
rm -f conftest.err conftest.$ac_objext \
 
12853
 
 
12854
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12093
12855
      conftest$ac_exeext conftest.$ac_ext
12094
12856
LIBS=$ac_check_lib_save_LIBS
12095
12857
fi
12096
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12097
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
12858
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
12859
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12098
12860
if test $ac_cv_lib_svld_dlopen = yes; then
12099
12861
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12100
12862
else
12101
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12102
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
12863
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
12864
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12103
12865
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12104
12866
  echo $ECHO_N "(cached) $ECHO_C" >&6
12105
12867
else
12112
12874
cat >>conftest.$ac_ext <<_ACEOF
12113
12875
/* end confdefs.h.  */
12114
12876
 
12115
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12877
/* Override any GCC internal prototype to avoid an error.
 
12878
   Use char because int might match the return type of a GCC
 
12879
   builtin and then its argument prototype would still apply.  */
12116
12880
#ifdef __cplusplus
12117
12881
extern "C"
12118
12882
#endif
12119
 
/* We use char because int might match the return type of a gcc2
12120
 
   builtin and then its argument prototype would still apply.  */
12121
12883
char dld_link ();
12122
12884
int
12123
12885
main ()
12124
12886
{
12125
 
dld_link ();
 
12887
return dld_link ();
12126
12888
  ;
12127
12889
  return 0;
12128
12890
}
12129
12891
_ACEOF
12130
12892
rm -f conftest.$ac_objext conftest$ac_exeext
12131
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12132
 
  (eval $ac_link) 2>conftest.er1
 
12893
if { (ac_try="$ac_link"
 
12894
case "(($ac_try" in
 
12895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12896
  *) ac_try_echo=$ac_try;;
 
12897
esac
 
12898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12899
  (eval "$ac_link") 2>conftest.er1
12133
12900
  ac_status=$?
12134
12901
  grep -v '^ *+' conftest.er1 >conftest.err
12135
12902
  rm -f conftest.er1
12136
12903
  cat conftest.err >&5
12137
12904
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138
 
  (exit $ac_status); } &&
12139
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12140
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12141
 
  (eval $ac_try) 2>&5
12142
 
  ac_status=$?
12143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144
 
  (exit $ac_status); }; } &&
12145
 
         { ac_try='test -s conftest$ac_exeext'
12146
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12147
 
  (eval $ac_try) 2>&5
12148
 
  ac_status=$?
12149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150
 
  (exit $ac_status); }; }; then
 
12905
  (exit $ac_status); } && {
 
12906
         test -z "$ac_c_werror_flag" ||
 
12907
         test ! -s conftest.err
 
12908
       } && test -s conftest$ac_exeext &&
 
12909
       $as_test_x conftest$ac_exeext; then
12151
12910
  ac_cv_lib_dld_dld_link=yes
12152
12911
else
12153
12912
  echo "$as_me: failed program was:" >&5
12154
12913
sed 's/^/| /' conftest.$ac_ext >&5
12155
12914
 
12156
 
ac_cv_lib_dld_dld_link=no
 
12915
        ac_cv_lib_dld_dld_link=no
12157
12916
fi
12158
 
rm -f conftest.err conftest.$ac_objext \
 
12917
 
 
12918
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12159
12919
      conftest$ac_exeext conftest.$ac_ext
12160
12920
LIBS=$ac_check_lib_save_LIBS
12161
12921
fi
12162
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12163
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
12922
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
12923
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12164
12924
if test $ac_cv_lib_dld_dld_link = yes; then
12165
12925
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12166
12926
fi
12200
12960
    save_LIBS="$LIBS"
12201
12961
    LIBS="$lt_cv_dlopen_libs $LIBS"
12202
12962
 
12203
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12204
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
12963
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
12964
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12205
12965
if test "${lt_cv_dlopen_self+set}" = set; then
12206
12966
  echo $ECHO_N "(cached) $ECHO_C" >&6
12207
12967
else
12295
13055
 
12296
13056
    
12297
13057
fi
12298
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12299
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
13058
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
13059
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12300
13060
 
12301
13061
    if test "x$lt_cv_dlopen_self" = xyes; then
12302
13062
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12303
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12304
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
13063
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
13064
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12305
13065
if test "${lt_cv_dlopen_self_static+set}" = set; then
12306
13066
  echo $ECHO_N "(cached) $ECHO_C" >&6
12307
13067
else
12395
13155
 
12396
13156
      
12397
13157
fi
12398
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12399
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
13158
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
13159
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12400
13160
    fi
12401
13161
 
12402
13162
    CPPFLAGS="$save_CPPFLAGS"
12418
13178
 
12419
13179
 
12420
13180
# Report which library types will actually be built
12421
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12422
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12423
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12424
 
echo "${ECHO_T}$can_build_shared" >&6
 
13181
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
13182
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
13183
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
13184
echo "${ECHO_T}$can_build_shared" >&6; }
12425
13185
 
12426
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12427
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
13186
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
13187
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12428
13188
test "$can_build_shared" = "no" && enable_shared=no
12429
13189
 
12430
13190
# On AIX, shared libraries and static libraries use the same namespace, and
12444
13204
  fi
12445
13205
    ;;
12446
13206
esac
12447
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
12448
 
echo "${ECHO_T}$enable_shared" >&6
 
13207
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
13208
echo "${ECHO_T}$enable_shared" >&6; }
12449
13209
 
12450
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12451
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
13210
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
13211
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12452
13212
# Make sure either enable_shared or enable_static is yes.
12453
13213
test "$enable_shared" = yes || enable_static=yes
12454
 
echo "$as_me:$LINENO: result: $enable_static" >&5
12455
 
echo "${ECHO_T}$enable_static" >&6
 
13214
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
13215
echo "${ECHO_T}$enable_static" >&6; }
12456
13216
 
12457
13217
# The else clause should only fire when bootstrapping the
12458
13218
# libtool distribution, otherwise you forgot to ship ltmain.sh
12944
13704
CC="$lt_save_CC"
12945
13705
 
12946
13706
 
12947
 
# Check whether --with-tags or --without-tags was given.
 
13707
# Check whether --with-tags was given.
12948
13708
if test "${with_tags+set}" = set; then
12949
 
  withval="$with_tags"
12950
 
  tagnames="$withval"
12951
 
fi; 
 
13709
  withval=$with_tags; tagnames="$withval"
 
13710
fi
 
13711
 
12952
13712
 
12953
13713
if test -f "$ltmain" && test -n "$tagnames"; then
12954
13714
  if test ! -f "${ofile}"; then
13002
13762
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13003
13763
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13004
13764
            (test "X$CXX" != "Xg++"))) ; then
13005
 
          ac_ext=cc
 
13765
          ac_ext=cpp
13006
13766
ac_cpp='$CXXCPP $CPPFLAGS'
13007
13767
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13008
13768
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13121
13881
  # Set up default GNU C++ configuration
13122
13882
 
13123
13883
  
13124
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
13884
# Check whether --with-gnu-ld was given.
13125
13885
if test "${with_gnu_ld+set}" = set; then
13126
 
  withval="$with_gnu_ld"
13127
 
  test "$withval" = no || with_gnu_ld=yes
 
13886
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13128
13887
else
13129
13888
  with_gnu_ld=no
13130
 
fi; 
 
13889
fi
 
13890
 
13131
13891
ac_prog=ld
13132
13892
if test "$GCC" = yes; then
13133
13893
  # Check if gcc -print-prog-name=ld gives a path.
13134
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13135
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
13894
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
13895
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13136
13896
  case $host in
13137
13897
  *-*-mingw*)
13138
13898
    # gcc leaves a trailing carriage return which upsets mingw
13161
13921
    ;;
13162
13922
  esac
13163
13923
elif test "$with_gnu_ld" = yes; then
13164
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
13165
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
13924
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
13925
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13166
13926
else
13167
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13168
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
13927
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
13928
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13169
13929
fi
13170
13930
if test "${lt_cv_path_LD+set}" = set; then
13171
13931
  echo $ECHO_N "(cached) $ECHO_C" >&6
13198
13958
 
13199
13959
LD="$lt_cv_path_LD"
13200
13960
if test -n "$LD"; then
13201
 
  echo "$as_me:$LINENO: result: $LD" >&5
13202
 
echo "${ECHO_T}$LD" >&6
 
13961
  { echo "$as_me:$LINENO: result: $LD" >&5
 
13962
echo "${ECHO_T}$LD" >&6; }
13203
13963
else
13204
 
  echo "$as_me:$LINENO: result: no" >&5
13205
 
echo "${ECHO_T}no" >&6
 
13964
  { echo "$as_me:$LINENO: result: no" >&5
 
13965
echo "${ECHO_T}no" >&6; }
13206
13966
fi
13207
13967
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13208
13968
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13209
13969
   { (exit 1); exit 1; }; }
13210
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13211
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
13970
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
13971
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13212
13972
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13213
13973
  echo $ECHO_N "(cached) $ECHO_C" >&6
13214
13974
else
13222
13982
  ;;
13223
13983
esac
13224
13984
fi
13225
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13226
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
13985
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
13986
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13227
13987
with_gnu_ld=$lt_cv_prog_gnu_ld
13228
13988
 
13229
13989
 
13273
14033
fi
13274
14034
 
13275
14035
# PORTME: fill in a description of your system's C++ link characteristics
13276
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13277
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14036
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14037
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13278
14038
ld_shlibs_CXX=yes
13279
14039
case $host_os in
13280
14040
  aix3*)
13386
14146
}
13387
14147
_ACEOF
13388
14148
rm -f conftest.$ac_objext conftest$ac_exeext
13389
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13390
 
  (eval $ac_link) 2>conftest.er1
 
14149
if { (ac_try="$ac_link"
 
14150
case "(($ac_try" in
 
14151
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14152
  *) ac_try_echo=$ac_try;;
 
14153
esac
 
14154
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14155
  (eval "$ac_link") 2>conftest.er1
13391
14156
  ac_status=$?
13392
14157
  grep -v '^ *+' conftest.er1 >conftest.err
13393
14158
  rm -f conftest.er1
13394
14159
  cat conftest.err >&5
13395
14160
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396
 
  (exit $ac_status); } &&
13397
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
13398
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13399
 
  (eval $ac_try) 2>&5
13400
 
  ac_status=$?
13401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402
 
  (exit $ac_status); }; } &&
13403
 
         { ac_try='test -s conftest$ac_exeext'
13404
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13405
 
  (eval $ac_try) 2>&5
13406
 
  ac_status=$?
13407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408
 
  (exit $ac_status); }; }; then
 
14161
  (exit $ac_status); } && {
 
14162
         test -z "$ac_cxx_werror_flag" ||
 
14163
         test ! -s conftest.err
 
14164
       } && test -s conftest$ac_exeext &&
 
14165
       $as_test_x conftest$ac_exeext; then
13409
14166
  
13410
14167
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13411
14168
}'`
13416
14173
  echo "$as_me: failed program was:" >&5
13417
14174
sed 's/^/| /' conftest.$ac_ext >&5
13418
14175
 
 
14176
        
13419
14177
fi
13420
 
rm -f conftest.err conftest.$ac_objext \
 
14178
 
 
14179
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13421
14180
      conftest$ac_exeext conftest.$ac_ext
13422
14181
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13423
14182
 
13447
14206
}
13448
14207
_ACEOF
13449
14208
rm -f conftest.$ac_objext conftest$ac_exeext
13450
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13451
 
  (eval $ac_link) 2>conftest.er1
 
14209
if { (ac_try="$ac_link"
 
14210
case "(($ac_try" in
 
14211
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14212
  *) ac_try_echo=$ac_try;;
 
14213
esac
 
14214
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14215
  (eval "$ac_link") 2>conftest.er1
13452
14216
  ac_status=$?
13453
14217
  grep -v '^ *+' conftest.er1 >conftest.err
13454
14218
  rm -f conftest.er1
13455
14219
  cat conftest.err >&5
13456
14220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457
 
  (exit $ac_status); } &&
13458
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
13459
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13460
 
  (eval $ac_try) 2>&5
13461
 
  ac_status=$?
13462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463
 
  (exit $ac_status); }; } &&
13464
 
         { ac_try='test -s conftest$ac_exeext'
13465
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13466
 
  (eval $ac_try) 2>&5
13467
 
  ac_status=$?
13468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469
 
  (exit $ac_status); }; }; then
 
14221
  (exit $ac_status); } && {
 
14222
         test -z "$ac_cxx_werror_flag" ||
 
14223
         test ! -s conftest.err
 
14224
       } && test -s conftest$ac_exeext &&
 
14225
       $as_test_x conftest$ac_exeext; then
13470
14226
  
13471
14227
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13472
14228
}'`
13477
14233
  echo "$as_me: failed program was:" >&5
13478
14234
sed 's/^/| /' conftest.$ac_ext >&5
13479
14235
 
 
14236
        
13480
14237
fi
13481
 
rm -f conftest.err conftest.$ac_objext \
 
14238
 
 
14239
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13482
14240
      conftest$ac_exeext conftest.$ac_ext
13483
14241
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13484
14242
 
13626
14384
  freebsd-elf*)
13627
14385
    archive_cmds_need_lc_CXX=no
13628
14386
    ;;
13629
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
14387
  freebsd* | dragonfly*)
13630
14388
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13631
14389
    # conventions
13632
14390
    ld_shlibs_CXX=yes
13785
14543
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13786
14544
    hardcode_libdir_separator_CXX=:
13787
14545
    ;;
13788
 
  linux*)
 
14546
  linux* | k*bsd*-gnu)
13789
14547
    case $cc_basename in
13790
14548
      KCC*)
13791
14549
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13887
14645
        ;;
13888
14646
    esac
13889
14647
    ;;
13890
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14648
  netbsd* | netbsdelf*-gnu)
13891
14649
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13892
14650
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13893
14651
      wlarc=
14209
14967
    ld_shlibs_CXX=no
14210
14968
    ;;
14211
14969
esac
14212
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14213
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
14970
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14971
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14214
14972
test "$ld_shlibs_CXX" = no && can_build_shared=no
14215
14973
 
14216
14974
GCC_CXX="$GXX"
14349
15107
lt_prog_compiler_pic_CXX=
14350
15108
lt_prog_compiler_static_CXX=
14351
15109
 
14352
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14353
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
15110
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
15111
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14354
15112
 
14355
15113
  # C++ specific cases for pic, static, wl, etc.
14356
15114
  if test "$GXX" = yes; then
14454
15212
            ;;
14455
15213
        esac
14456
15214
        ;;
14457
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
15215
      freebsd* | dragonfly*)
14458
15216
        # FreeBSD uses GNU C++
14459
15217
        ;;
14460
15218
      hpux9* | hpux10* | hpux11*)
14497
15255
            ;;
14498
15256
        esac
14499
15257
        ;;
14500
 
      linux*)
 
15258
      linux* | k*bsd*-gnu)
14501
15259
        case $cc_basename in
14502
15260
          KCC*)
14503
15261
            # KAI C++ Compiler
14540
15298
            ;;
14541
15299
        esac
14542
15300
        ;;
14543
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15301
      netbsd* | netbsdelf*-gnu)
14544
15302
        ;;
14545
15303
      osf3* | osf4* | osf5*)
14546
15304
        case $cc_basename in
14623
15381
    esac
14624
15382
  fi
14625
15383
 
14626
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14627
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
15384
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
15385
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14628
15386
 
14629
15387
#
14630
15388
# Check to make sure the PIC flag actually works.
14631
15389
#
14632
15390
if test -n "$lt_prog_compiler_pic_CXX"; then
14633
15391
  
14634
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14635
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
15392
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
15393
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14636
15394
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14637
15395
  echo $ECHO_N "(cached) $ECHO_C" >&6
14638
15396
else
14666
15424
   $rm conftest*
14667
15425
 
14668
15426
fi
14669
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14670
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
15427
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
15428
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
14671
15429
 
14672
15430
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
14673
15431
    case $lt_prog_compiler_pic_CXX in
14694
15452
# Check to make sure the static flag actually works.
14695
15453
#
14696
15454
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14697
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14698
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
15455
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
15456
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14699
15457
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14700
15458
  echo $ECHO_N "(cached) $ECHO_C" >&6
14701
15459
else
14722
15480
   LDFLAGS="$save_LDFLAGS"
14723
15481
 
14724
15482
fi
14725
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14726
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
15483
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
15484
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
14727
15485
 
14728
15486
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
14729
15487
    :
14732
15490
fi
14733
15491
 
14734
15492
 
14735
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14736
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
15493
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
15494
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14737
15495
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14738
15496
  echo $ECHO_N "(cached) $ECHO_C" >&6
14739
15497
else
14779
15537
   $rm conftest*
14780
15538
 
14781
15539
fi
14782
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14783
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
15540
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
15541
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14784
15542
 
14785
15543
 
14786
15544
hard_links="nottested"
14787
15545
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14788
15546
  # do not overwrite the value of need_locks provided by the user
14789
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14790
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
15547
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
15548
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14791
15549
  hard_links=yes
14792
15550
  $rm conftest*
14793
15551
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14794
15552
  touch conftest.a
14795
15553
  ln conftest.a conftest.b 2>&5 || hard_links=no
14796
15554
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14797
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
14798
 
echo "${ECHO_T}$hard_links" >&6
 
15555
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
15556
echo "${ECHO_T}$hard_links" >&6; }
14799
15557
  if test "$hard_links" = no; then
14800
15558
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14801
15559
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14805
15563
  need_locks=no
14806
15564
fi
14807
15565
 
14808
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14809
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
15566
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
15567
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14810
15568
 
14811
15569
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14812
15570
  case $host_os in
14825
15583
  cygwin* | mingw*)
14826
15584
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14827
15585
  ;;
14828
 
  kfreebsd*-gnu)
14829
 
    link_all_deplibs_CXX=no
14830
 
  ;;
14831
 
  linux*)
 
15586
  linux* | k*bsd*-gnu)
14832
15587
    link_all_deplibs_CXX=no
14833
15588
  ;;
14834
15589
  *)
14836
15591
  ;;
14837
15592
  esac
14838
15593
 
14839
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14840
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
15594
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
15595
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14841
15596
test "$ld_shlibs_CXX" = no && can_build_shared=no
14842
15597
 
14843
15598
#
14857
15612
      # Test whether the compiler implicitly links with -lc since on some
14858
15613
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14859
15614
      # to ld, don't add -lc before -lgcc.
14860
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14861
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15615
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15616
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14862
15617
      $rm conftest*
14863
15618
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14864
15619
 
14895
15650
        cat conftest.err 1>&5
14896
15651
      fi
14897
15652
      $rm conftest*
14898
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14899
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
15653
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
15654
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14900
15655
      ;;
14901
15656
    esac
14902
15657
  fi
14903
15658
  ;;
14904
15659
esac
14905
15660
 
14906
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14907
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15661
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15662
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14908
15663
library_names_spec=
14909
15664
libname_spec='lib$name'
14910
15665
soname_spec=
15110
15865
  dynamic_linker=no
15111
15866
  ;;
15112
15867
 
15113
 
kfreebsd*-gnu)
15114
 
  version_type=linux
15115
 
  need_lib_prefix=no
15116
 
  need_version=no
15117
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15118
 
  soname_spec='${libname}${release}${shared_ext}$major'
15119
 
  shlibpath_var=LD_LIBRARY_PATH
15120
 
  shlibpath_overrides_runpath=no
15121
 
  hardcode_into_libs=yes
15122
 
  dynamic_linker='GNU ld.so'
15123
 
  ;;
15124
 
 
15125
15868
freebsd* | dragonfly*)
15126
15869
  # DragonFly does not have aout.  When/if they implement a new
15127
15870
  # versioning mechanism, adjust this.
15277
16020
  ;;
15278
16021
 
15279
16022
# This must be Linux ELF.
15280
 
linux*)
 
16023
linux* | k*bsd*-gnu)
15281
16024
  version_type=linux
15282
16025
  need_lib_prefix=no
15283
16026
  need_version=no
15318
16061
  dynamic_linker='NetBSD ld.elf_so'
15319
16062
  ;;
15320
16063
 
15321
 
knetbsd*-gnu)
15322
 
  version_type=linux
15323
 
  need_lib_prefix=no
15324
 
  need_version=no
15325
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15326
 
  soname_spec='${libname}${release}${shared_ext}$major'
15327
 
  shlibpath_var=LD_LIBRARY_PATH
15328
 
  shlibpath_overrides_runpath=no
15329
 
  hardcode_into_libs=yes
15330
 
  dynamic_linker='GNU ld.so'
15331
 
  ;;
15332
 
 
15333
16064
netbsd*)
15334
16065
  version_type=sunos
15335
16066
  need_lib_prefix=no
15503
16234
  dynamic_linker=no
15504
16235
  ;;
15505
16236
esac
15506
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15507
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16237
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16238
echo "${ECHO_T}$dynamic_linker" >&6; }
15508
16239
test "$dynamic_linker" = no && can_build_shared=no
15509
16240
 
15510
16241
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15512
16243
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15513
16244
fi
15514
16245
 
15515
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15516
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16246
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16247
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15517
16248
hardcode_action_CXX=
15518
16249
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15519
16250
   test -n "$runpath_var_CXX" || \
15537
16268
  # directories.
15538
16269
  hardcode_action_CXX=unsupported
15539
16270
fi
15540
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15541
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
16271
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
16272
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15542
16273
 
15543
16274
if test "$hardcode_action_CXX" = relink; then
15544
16275
  # Fast installation is not supported
16063
16794
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16064
16795
 
16065
16796
 
16066
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16067
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
16068
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
16069
 
echo "${ECHO_T}$can_build_shared" >&6
 
16797
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
16798
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
16799
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
16800
echo "${ECHO_T}$can_build_shared" >&6; }
16070
16801
 
16071
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16072
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
16802
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
16803
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16073
16804
test "$can_build_shared" = "no" && enable_shared=no
16074
16805
 
16075
16806
# On AIX, shared libraries and static libraries use the same namespace, and
16088
16819
  fi
16089
16820
  ;;
16090
16821
esac
16091
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
16092
 
echo "${ECHO_T}$enable_shared" >&6
 
16822
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
16823
echo "${ECHO_T}$enable_shared" >&6; }
16093
16824
 
16094
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16095
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
16825
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
16826
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16096
16827
# Make sure either enable_shared or enable_static is yes.
16097
16828
test "$enable_shared" = yes || enable_static=yes
16098
 
echo "$as_me:$LINENO: result: $enable_static" >&5
16099
 
echo "${ECHO_T}$enable_static" >&6
 
16829
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
16830
echo "${ECHO_T}$enable_static" >&6; }
16100
16831
 
16101
16832
GCC_F77="$G77"
16102
16833
LD_F77="$LD"
16105
16836
lt_prog_compiler_pic_F77=
16106
16837
lt_prog_compiler_static_F77=
16107
16838
 
16108
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16109
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16839
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16840
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16110
16841
 
16111
16842
  if test "$GCC" = yes; then
16112
16843
    lt_prog_compiler_wl_F77='-Wl,'
16235
16966
      lt_prog_compiler_static_F77='-Bstatic'
16236
16967
      ;;
16237
16968
 
16238
 
    linux*)
 
16969
    linux* | k*bsd*-gnu)
16239
16970
      case $cc_basename in
16240
16971
      icc* | ecc*)
16241
16972
        lt_prog_compiler_wl_F77='-Wl,'
16315
17046
    esac
16316
17047
  fi
16317
17048
 
16318
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16319
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
17049
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
17050
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
16320
17051
 
16321
17052
#
16322
17053
# Check to make sure the PIC flag actually works.
16323
17054
#
16324
17055
if test -n "$lt_prog_compiler_pic_F77"; then
16325
17056
  
16326
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16327
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
17057
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
17058
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
16328
17059
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
16329
17060
  echo $ECHO_N "(cached) $ECHO_C" >&6
16330
17061
else
16358
17089
   $rm conftest*
16359
17090
 
16360
17091
fi
16361
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
16362
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
17092
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
17093
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
16363
17094
 
16364
17095
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
16365
17096
    case $lt_prog_compiler_pic_F77 in
16386
17117
# Check to make sure the static flag actually works.
16387
17118
#
16388
17119
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
16389
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16390
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
17120
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17121
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16391
17122
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
16392
17123
  echo $ECHO_N "(cached) $ECHO_C" >&6
16393
17124
else
16414
17145
   LDFLAGS="$save_LDFLAGS"
16415
17146
 
16416
17147
fi
16417
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
16418
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
17148
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
17149
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
16419
17150
 
16420
17151
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
16421
17152
    :
16424
17155
fi
16425
17156
 
16426
17157
 
16427
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16428
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17158
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17159
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16429
17160
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16430
17161
  echo $ECHO_N "(cached) $ECHO_C" >&6
16431
17162
else
16471
17202
   $rm conftest*
16472
17203
 
16473
17204
fi
16474
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16475
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
17205
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
17206
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16476
17207
 
16477
17208
 
16478
17209
hard_links="nottested"
16479
17210
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16480
17211
  # do not overwrite the value of need_locks provided by the user
16481
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16482
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17212
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17213
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16483
17214
  hard_links=yes
16484
17215
  $rm conftest*
16485
17216
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16486
17217
  touch conftest.a
16487
17218
  ln conftest.a conftest.b 2>&5 || hard_links=no
16488
17219
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16489
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16490
 
echo "${ECHO_T}$hard_links" >&6
 
17220
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17221
echo "${ECHO_T}$hard_links" >&6; }
16491
17222
  if test "$hard_links" = no; then
16492
17223
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16493
17224
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16497
17228
  need_locks=no
16498
17229
fi
16499
17230
 
16500
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16501
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17231
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17232
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16502
17233
 
16503
17234
  runpath_var=
16504
17235
  allow_undefined_flag_F77=
16674
17405
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16675
17406
      ;;
16676
17407
 
16677
 
    linux*)
 
17408
    linux* | k*bsd*-gnu)
16678
17409
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16679
17410
        tmp_addflag=
16680
17411
        case $cc_basename,$host_cpu in
16706
17437
      fi
16707
17438
      ;;
16708
17439
 
16709
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17440
    netbsd* | netbsdelf*-gnu)
16710
17441
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16711
17442
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16712
17443
        wlarc=
16904
17635
      end
16905
17636
_ACEOF
16906
17637
rm -f conftest.$ac_objext conftest$ac_exeext
16907
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16908
 
  (eval $ac_link) 2>conftest.er1
 
17638
if { (ac_try="$ac_link"
 
17639
case "(($ac_try" in
 
17640
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17641
  *) ac_try_echo=$ac_try;;
 
17642
esac
 
17643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17644
  (eval "$ac_link") 2>conftest.er1
16909
17645
  ac_status=$?
16910
17646
  grep -v '^ *+' conftest.er1 >conftest.err
16911
17647
  rm -f conftest.er1
16912
17648
  cat conftest.err >&5
16913
17649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914
 
  (exit $ac_status); } &&
16915
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
16916
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917
 
  (eval $ac_try) 2>&5
16918
 
  ac_status=$?
16919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920
 
  (exit $ac_status); }; } &&
16921
 
         { ac_try='test -s conftest$ac_exeext'
16922
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923
 
  (eval $ac_try) 2>&5
16924
 
  ac_status=$?
16925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926
 
  (exit $ac_status); }; }; then
 
17650
  (exit $ac_status); } && {
 
17651
         test -z "$ac_f77_werror_flag" ||
 
17652
         test ! -s conftest.err
 
17653
       } && test -s conftest$ac_exeext &&
 
17654
       $as_test_x conftest$ac_exeext; then
16927
17655
  
16928
17656
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16929
17657
}'`
16934
17662
  echo "$as_me: failed program was:" >&5
16935
17663
sed 's/^/| /' conftest.$ac_ext >&5
16936
17664
 
 
17665
        
16937
17666
fi
16938
 
rm -f conftest.err conftest.$ac_objext \
 
17667
 
 
17668
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16939
17669
      conftest$ac_exeext conftest.$ac_ext
16940
17670
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16941
17671
 
16954
17684
      end
16955
17685
_ACEOF
16956
17686
rm -f conftest.$ac_objext conftest$ac_exeext
16957
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16958
 
  (eval $ac_link) 2>conftest.er1
 
17687
if { (ac_try="$ac_link"
 
17688
case "(($ac_try" in
 
17689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17690
  *) ac_try_echo=$ac_try;;
 
17691
esac
 
17692
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17693
  (eval "$ac_link") 2>conftest.er1
16959
17694
  ac_status=$?
16960
17695
  grep -v '^ *+' conftest.er1 >conftest.err
16961
17696
  rm -f conftest.er1
16962
17697
  cat conftest.err >&5
16963
17698
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964
 
  (exit $ac_status); } &&
16965
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
16966
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16967
 
  (eval $ac_try) 2>&5
16968
 
  ac_status=$?
16969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970
 
  (exit $ac_status); }; } &&
16971
 
         { ac_try='test -s conftest$ac_exeext'
16972
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973
 
  (eval $ac_try) 2>&5
16974
 
  ac_status=$?
16975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976
 
  (exit $ac_status); }; }; then
 
17699
  (exit $ac_status); } && {
 
17700
         test -z "$ac_f77_werror_flag" ||
 
17701
         test ! -s conftest.err
 
17702
       } && test -s conftest$ac_exeext &&
 
17703
       $as_test_x conftest$ac_exeext; then
16977
17704
  
16978
17705
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16979
17706
}'`
16984
17711
  echo "$as_me: failed program was:" >&5
16985
17712
sed 's/^/| /' conftest.$ac_ext >&5
16986
17713
 
 
17714
        
16987
17715
fi
16988
 
rm -f conftest.err conftest.$ac_objext \
 
17716
 
 
17717
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16989
17718
      conftest$ac_exeext conftest.$ac_ext
16990
17719
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16991
17720
 
17122
17851
      hardcode_direct_F77=yes
17123
17852
      hardcode_shlibpath_var_F77=no
17124
17853
      ;;
17125
 
      
17126
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
17127
 
    kfreebsd*-gnu)
17128
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17129
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17130
 
      hardcode_direct_F77=yes
17131
 
      hardcode_shlibpath_var_F77=no
17132
 
      link_all_deplibs_F77=no
17133
 
      ;;
17134
17854
 
17135
17855
    hpux9*)
17136
17856
      if test "$GCC" = yes; then
17227
17947
      link_all_deplibs_F77=yes
17228
17948
      ;;
17229
17949
 
17230
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17950
    netbsd* | netbsdelf*-gnu)
17231
17951
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17232
17952
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17233
17953
      else
17443
18163
    esac
17444
18164
  fi
17445
18165
 
17446
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17447
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
18166
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
18167
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17448
18168
test "$ld_shlibs_F77" = no && can_build_shared=no
17449
18169
 
17450
18170
#
17464
18184
      # Test whether the compiler implicitly links with -lc since on some
17465
18185
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17466
18186
      # to ld, don't add -lc before -lgcc.
17467
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17468
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18187
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18188
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17469
18189
      $rm conftest*
17470
18190
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17471
18191
 
17502
18222
        cat conftest.err 1>&5
17503
18223
      fi
17504
18224
      $rm conftest*
17505
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17506
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
18225
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
18226
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17507
18227
      ;;
17508
18228
    esac
17509
18229
  fi
17510
18230
  ;;
17511
18231
esac
17512
18232
 
17513
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17514
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18233
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18234
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17515
18235
library_names_spec=
17516
18236
libname_spec='lib$name'
17517
18237
soname_spec=
17717
18437
  dynamic_linker=no
17718
18438
  ;;
17719
18439
 
17720
 
kfreebsd*-gnu)
17721
 
  version_type=linux
17722
 
  need_lib_prefix=no
17723
 
  need_version=no
17724
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17725
 
  soname_spec='${libname}${release}${shared_ext}$major'
17726
 
  shlibpath_var=LD_LIBRARY_PATH
17727
 
  shlibpath_overrides_runpath=no
17728
 
  hardcode_into_libs=yes
17729
 
  dynamic_linker='GNU ld.so'
17730
 
  ;;
17731
 
 
17732
18440
freebsd* | dragonfly*)
17733
18441
  # DragonFly does not have aout.  When/if they implement a new
17734
18442
  # versioning mechanism, adjust this.
17884
18592
  ;;
17885
18593
 
17886
18594
# This must be Linux ELF.
17887
 
linux*)
 
18595
linux* | k*bsd*-gnu)
17888
18596
  version_type=linux
17889
18597
  need_lib_prefix=no
17890
18598
  need_version=no
17925
18633
  dynamic_linker='NetBSD ld.elf_so'
17926
18634
  ;;
17927
18635
 
17928
 
knetbsd*-gnu)
17929
 
  version_type=linux
17930
 
  need_lib_prefix=no
17931
 
  need_version=no
17932
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17933
 
  soname_spec='${libname}${release}${shared_ext}$major'
17934
 
  shlibpath_var=LD_LIBRARY_PATH
17935
 
  shlibpath_overrides_runpath=no
17936
 
  hardcode_into_libs=yes
17937
 
  dynamic_linker='GNU ld.so'
17938
 
  ;;
17939
 
 
17940
18636
netbsd*)
17941
18637
  version_type=sunos
17942
18638
  need_lib_prefix=no
18110
18806
  dynamic_linker=no
18111
18807
  ;;
18112
18808
esac
18113
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18114
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18809
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18810
echo "${ECHO_T}$dynamic_linker" >&6; }
18115
18811
test "$dynamic_linker" = no && can_build_shared=no
18116
18812
 
18117
18813
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18119
18815
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18120
18816
fi
18121
18817
 
18122
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18123
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18818
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18819
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18124
18820
hardcode_action_F77=
18125
18821
if test -n "$hardcode_libdir_flag_spec_F77" || \
18126
18822
   test -n "$runpath_var_F77" || \
18144
18840
  # directories.
18145
18841
  hardcode_action_F77=unsupported
18146
18842
fi
18147
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18148
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
18843
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
18844
echo "${ECHO_T}$hardcode_action_F77" >&6; }
18149
18845
 
18150
18846
if test "$hardcode_action_F77" = relink; then
18151
18847
  # Fast installation is not supported
18582
19278
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18583
19279
          
18584
19280
 
18585
 
 
18586
19281
# Source file extension for Java test sources.
18587
19282
ac_ext=java
18588
19283
 
18650
19345
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18651
19346
 
18652
19347
  
18653
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18654
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
19348
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
19349
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18655
19350
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18656
19351
  echo $ECHO_N "(cached) $ECHO_C" >&6
18657
19352
else
18685
19380
   $rm conftest*
18686
19381
 
18687
19382
fi
18688
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18689
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
19383
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
19384
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18690
19385
 
18691
19386
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18692
19387
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18700
19395
lt_prog_compiler_pic_GCJ=
18701
19396
lt_prog_compiler_static_GCJ=
18702
19397
 
18703
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18704
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
19398
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
19399
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18705
19400
 
18706
19401
  if test "$GCC" = yes; then
18707
19402
    lt_prog_compiler_wl_GCJ='-Wl,'
18830
19525
      lt_prog_compiler_static_GCJ='-Bstatic'
18831
19526
      ;;
18832
19527
 
18833
 
    linux*)
 
19528
    linux* | k*bsd*-gnu)
18834
19529
      case $cc_basename in
18835
19530
      icc* | ecc*)
18836
19531
        lt_prog_compiler_wl_GCJ='-Wl,'
18910
19605
    esac
18911
19606
  fi
18912
19607
 
18913
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18914
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
19608
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
19609
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18915
19610
 
18916
19611
#
18917
19612
# Check to make sure the PIC flag actually works.
18918
19613
#
18919
19614
if test -n "$lt_prog_compiler_pic_GCJ"; then
18920
19615
  
18921
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18922
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
19616
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
19617
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18923
19618
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18924
19619
  echo $ECHO_N "(cached) $ECHO_C" >&6
18925
19620
else
18953
19648
   $rm conftest*
18954
19649
 
18955
19650
fi
18956
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18957
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
19651
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
19652
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18958
19653
 
18959
19654
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18960
19655
    case $lt_prog_compiler_pic_GCJ in
18981
19676
# Check to make sure the static flag actually works.
18982
19677
#
18983
19678
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18984
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18985
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
19679
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
19680
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18986
19681
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18987
19682
  echo $ECHO_N "(cached) $ECHO_C" >&6
18988
19683
else
19009
19704
   LDFLAGS="$save_LDFLAGS"
19010
19705
 
19011
19706
fi
19012
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
19013
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
19707
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
19708
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
19014
19709
 
19015
19710
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
19016
19711
    :
19019
19714
fi
19020
19715
 
19021
19716
 
19022
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19023
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
19717
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
19718
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19024
19719
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19025
19720
  echo $ECHO_N "(cached) $ECHO_C" >&6
19026
19721
else
19066
19761
   $rm conftest*
19067
19762
 
19068
19763
fi
19069
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19070
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
19764
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
19765
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19071
19766
 
19072
19767
 
19073
19768
hard_links="nottested"
19074
19769
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19075
19770
  # do not overwrite the value of need_locks provided by the user
19076
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19077
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
19771
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
19772
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19078
19773
  hard_links=yes
19079
19774
  $rm conftest*
19080
19775
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19081
19776
  touch conftest.a
19082
19777
  ln conftest.a conftest.b 2>&5 || hard_links=no
19083
19778
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19084
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
19085
 
echo "${ECHO_T}$hard_links" >&6
 
19779
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
19780
echo "${ECHO_T}$hard_links" >&6; }
19086
19781
  if test "$hard_links" = no; then
19087
19782
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19088
19783
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19092
19787
  need_locks=no
19093
19788
fi
19094
19789
 
19095
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19096
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
19790
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
19791
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19097
19792
 
19098
19793
  runpath_var=
19099
19794
  allow_undefined_flag_GCJ=
19269
19964
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19270
19965
      ;;
19271
19966
 
19272
 
    linux*)
 
19967
    linux* | k*bsd*-gnu)
19273
19968
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19274
19969
        tmp_addflag=
19275
19970
        case $cc_basename,$host_cpu in
19301
19996
      fi
19302
19997
      ;;
19303
19998
 
19304
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
19999
    netbsd* | netbsdelf*-gnu)
19305
20000
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19306
20001
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19307
20002
        wlarc=
19509
20204
}
19510
20205
_ACEOF
19511
20206
rm -f conftest.$ac_objext conftest$ac_exeext
19512
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19513
 
  (eval $ac_link) 2>conftest.er1
 
20207
if { (ac_try="$ac_link"
 
20208
case "(($ac_try" in
 
20209
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20210
  *) ac_try_echo=$ac_try;;
 
20211
esac
 
20212
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20213
  (eval "$ac_link") 2>conftest.er1
19514
20214
  ac_status=$?
19515
20215
  grep -v '^ *+' conftest.er1 >conftest.err
19516
20216
  rm -f conftest.er1
19517
20217
  cat conftest.err >&5
19518
20218
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519
 
  (exit $ac_status); } &&
19520
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19521
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522
 
  (eval $ac_try) 2>&5
19523
 
  ac_status=$?
19524
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525
 
  (exit $ac_status); }; } &&
19526
 
         { ac_try='test -s conftest$ac_exeext'
19527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528
 
  (eval $ac_try) 2>&5
19529
 
  ac_status=$?
19530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531
 
  (exit $ac_status); }; }; then
 
20219
  (exit $ac_status); } && {
 
20220
         test -z "$ac_c_werror_flag" ||
 
20221
         test ! -s conftest.err
 
20222
       } && test -s conftest$ac_exeext &&
 
20223
       $as_test_x conftest$ac_exeext; then
19532
20224
  
19533
20225
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19534
20226
}'`
19539
20231
  echo "$as_me: failed program was:" >&5
19540
20232
sed 's/^/| /' conftest.$ac_ext >&5
19541
20233
 
 
20234
        
19542
20235
fi
19543
 
rm -f conftest.err conftest.$ac_objext \
 
20236
 
 
20237
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19544
20238
      conftest$ac_exeext conftest.$ac_ext
19545
20239
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19546
20240
 
19569
20263
}
19570
20264
_ACEOF
19571
20265
rm -f conftest.$ac_objext conftest$ac_exeext
19572
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19573
 
  (eval $ac_link) 2>conftest.er1
 
20266
if { (ac_try="$ac_link"
 
20267
case "(($ac_try" in
 
20268
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20269
  *) ac_try_echo=$ac_try;;
 
20270
esac
 
20271
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20272
  (eval "$ac_link") 2>conftest.er1
19574
20273
  ac_status=$?
19575
20274
  grep -v '^ *+' conftest.er1 >conftest.err
19576
20275
  rm -f conftest.er1
19577
20276
  cat conftest.err >&5
19578
20277
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579
 
  (exit $ac_status); } &&
19580
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19581
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582
 
  (eval $ac_try) 2>&5
19583
 
  ac_status=$?
19584
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585
 
  (exit $ac_status); }; } &&
19586
 
         { ac_try='test -s conftest$ac_exeext'
19587
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588
 
  (eval $ac_try) 2>&5
19589
 
  ac_status=$?
19590
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591
 
  (exit $ac_status); }; }; then
 
20278
  (exit $ac_status); } && {
 
20279
         test -z "$ac_c_werror_flag" ||
 
20280
         test ! -s conftest.err
 
20281
       } && test -s conftest$ac_exeext &&
 
20282
       $as_test_x conftest$ac_exeext; then
19592
20283
  
19593
20284
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19594
20285
}'`
19599
20290
  echo "$as_me: failed program was:" >&5
19600
20291
sed 's/^/| /' conftest.$ac_ext >&5
19601
20292
 
 
20293
        
19602
20294
fi
19603
 
rm -f conftest.err conftest.$ac_objext \
 
20295
 
 
20296
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19604
20297
      conftest$ac_exeext conftest.$ac_ext
19605
20298
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19606
20299
 
19737
20430
      hardcode_direct_GCJ=yes
19738
20431
      hardcode_shlibpath_var_GCJ=no
19739
20432
      ;;
19740
 
      
19741
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
19742
 
    kfreebsd*-gnu)
19743
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19744
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19745
 
      hardcode_direct_GCJ=yes
19746
 
      hardcode_shlibpath_var_GCJ=no
19747
 
      link_all_deplibs_GCJ=no
19748
 
      ;;
19749
20433
 
19750
20434
    hpux9*)
19751
20435
      if test "$GCC" = yes; then
19842
20526
      link_all_deplibs_GCJ=yes
19843
20527
      ;;
19844
20528
 
19845
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
20529
    netbsd* | netbsdelf*-gnu)
19846
20530
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19847
20531
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19848
20532
      else
20058
20742
    esac
20059
20743
  fi
20060
20744
 
20061
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20062
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
20745
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
20746
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20063
20747
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20064
20748
 
20065
20749
#
20079
20763
      # Test whether the compiler implicitly links with -lc since on some
20080
20764
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20081
20765
      # to ld, don't add -lc before -lgcc.
20082
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20083
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
20766
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
20767
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20084
20768
      $rm conftest*
20085
20769
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20086
20770
 
20117
20801
        cat conftest.err 1>&5
20118
20802
      fi
20119
20803
      $rm conftest*
20120
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20121
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
20804
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
20805
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20122
20806
      ;;
20123
20807
    esac
20124
20808
  fi
20125
20809
  ;;
20126
20810
esac
20127
20811
 
20128
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20129
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
20812
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
20813
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20130
20814
library_names_spec=
20131
20815
libname_spec='lib$name'
20132
20816
soname_spec=
20332
21016
  dynamic_linker=no
20333
21017
  ;;
20334
21018
 
20335
 
kfreebsd*-gnu)
20336
 
  version_type=linux
20337
 
  need_lib_prefix=no
20338
 
  need_version=no
20339
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20340
 
  soname_spec='${libname}${release}${shared_ext}$major'
20341
 
  shlibpath_var=LD_LIBRARY_PATH
20342
 
  shlibpath_overrides_runpath=no
20343
 
  hardcode_into_libs=yes
20344
 
  dynamic_linker='GNU ld.so'
20345
 
  ;;
20346
 
 
20347
21019
freebsd* | dragonfly*)
20348
21020
  # DragonFly does not have aout.  When/if they implement a new
20349
21021
  # versioning mechanism, adjust this.
20499
21171
  ;;
20500
21172
 
20501
21173
# This must be Linux ELF.
20502
 
linux*)
 
21174
linux* | k*bsd*-gnu)
20503
21175
  version_type=linux
20504
21176
  need_lib_prefix=no
20505
21177
  need_version=no
20540
21212
  dynamic_linker='NetBSD ld.elf_so'
20541
21213
  ;;
20542
21214
 
20543
 
knetbsd*-gnu)
20544
 
  version_type=linux
20545
 
  need_lib_prefix=no
20546
 
  need_version=no
20547
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20548
 
  soname_spec='${libname}${release}${shared_ext}$major'
20549
 
  shlibpath_var=LD_LIBRARY_PATH
20550
 
  shlibpath_overrides_runpath=no
20551
 
  hardcode_into_libs=yes
20552
 
  dynamic_linker='GNU ld.so'
20553
 
  ;;
20554
 
 
20555
21215
netbsd*)
20556
21216
  version_type=sunos
20557
21217
  need_lib_prefix=no
20725
21385
  dynamic_linker=no
20726
21386
  ;;
20727
21387
esac
20728
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20729
 
echo "${ECHO_T}$dynamic_linker" >&6
 
21388
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
21389
echo "${ECHO_T}$dynamic_linker" >&6; }
20730
21390
test "$dynamic_linker" = no && can_build_shared=no
20731
21391
 
20732
21392
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20734
21394
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20735
21395
fi
20736
21396
 
20737
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20738
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
21397
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
21398
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20739
21399
hardcode_action_GCJ=
20740
21400
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20741
21401
   test -n "$runpath_var_GCJ" || \
20759
21419
  # directories.
20760
21420
  hardcode_action_GCJ=unsupported
20761
21421
fi
20762
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20763
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
21422
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
21423
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20764
21424
 
20765
21425
if test "$hardcode_action_GCJ" = relink; then
20766
21426
  # Fast installation is not supported
21196
21856
      RC)
21197
21857
        
21198
21858
 
21199
 
 
21200
21859
# Source file extension for RC test sources.
21201
21860
ac_ext=rc
21202
21861
 
21730
22389
 
21731
22390
WARN_CFLAGS=""
21732
22391
build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
21733
 
# Check whether --enable-build-warnings or --disable-build-warnings was given.
 
22392
# Check whether --enable-build-warnings was given.
21734
22393
if test "${enable_build_warnings+set}" = set; then
21735
 
  enableval="$enable_build_warnings"
21736
 
  
21737
 
fi; 
 
22394
  enableval=$enable_build_warnings; 
 
22395
fi
 
22396
 
21738
22397
if test x"$build_warnings" = xyes; then
21739
22398
    if test x"$GCC" = xyes; then
21740
22399
        WARN_CFLAGS="${build_warnings}"
21743
22402
 
21744
22403
 
21745
22404
 
21746
 
                                                                                                              ac_config_files="$ac_config_files Makefile src/Judy1/Makefile src/JudyCommon/Makefile src/JudyHS/Makefile src/JudyL/Makefile src/JudySL/Makefile src/Makefile src/obj/Makefile tool/Makefile doc/Makefile test/Makefile"
 
22405
ac_config_files="$ac_config_files Makefile src/Judy1/Makefile src/JudyCommon/Makefile src/JudyHS/Makefile src/JudyL/Makefile src/JudySL/Makefile src/Makefile src/obj/Makefile tool/Makefile doc/Makefile test/Makefile"
21747
22406
 
21748
22407
 
21749
22408
 
21765
22424
 
21766
22425
# The following way of writing the cache mishandles newlines in values,
21767
22426
# but we know of no workaround that is simple, portable, and efficient.
21768
 
# So, don't put newlines in cache variables' values.
 
22427
# So, we kill variables containing newlines.
21769
22428
# Ultrix sh set writes to stderr and can't be redirected directly,
21770
22429
# and sets the high bit in the cache file unless we assign to the vars.
21771
 
{
 
22430
(
 
22431
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
22432
    eval ac_val=\$$ac_var
 
22433
    case $ac_val in #(
 
22434
    *${as_nl}*)
 
22435
      case $ac_var in #(
 
22436
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
22437
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
22438
      esac
 
22439
      case $ac_var in #(
 
22440
      _ | IFS | as_nl) ;; #(
 
22441
      *) $as_unset $ac_var ;;
 
22442
      esac ;;
 
22443
    esac
 
22444
  done
 
22445
 
21772
22446
  (set) 2>&1 |
21773
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
21774
 
    *ac_space=\ *)
 
22447
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
22448
    *${as_nl}ac_space=\ *)
21775
22449
      # `set' does not quote correctly, so add quotes (double-quote
21776
22450
      # substitution turns \\\\ into \\, and sed turns \\ into \).
21777
22451
      sed -n \
21778
22452
        "s/'/'\\\\''/g;
21779
22453
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21780
 
      ;;
 
22454
      ;; #(
21781
22455
    *)
21782
22456
      # `set' quotes correctly as required by POSIX, so do not add quotes.
21783
 
      sed -n \
21784
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
22457
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21785
22458
      ;;
21786
 
    esac;
21787
 
} |
 
22459
    esac |
 
22460
    sort
 
22461
) |
21788
22462
  sed '
 
22463
     /^ac_cv_env_/b end
21789
22464
     t clear
21790
 
     : clear
 
22465
     :clear
21791
22466
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21792
22467
     t end
21793
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21794
 
     : end' >>confcache
21795
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
21796
 
  if test -w $cache_file; then
21797
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
22468
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
22469
     :end' >>confcache
 
22470
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
22471
  if test -w "$cache_file"; then
 
22472
    test "x$cache_file" != "x/dev/null" &&
 
22473
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
22474
echo "$as_me: updating cache $cache_file" >&6;}
21798
22475
    cat confcache >$cache_file
21799
22476
  else
21800
 
    echo "not updating unwritable cache $cache_file"
 
22477
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
22478
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21801
22479
  fi
21802
22480
fi
21803
22481
rm -f confcache
21806
22484
# Let make expand exec_prefix.
21807
22485
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21808
22486
 
21809
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21810
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21811
 
# trailing colons and then remove the whole line if VPATH becomes empty
21812
 
# (actually we leave an empty line to preserve line numbers).
21813
 
if test "x$srcdir" = x.; then
21814
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
21815
 
s/:*\$(srcdir):*/:/;
21816
 
s/:*\${srcdir}:*/:/;
21817
 
s/:*@srcdir@:*/:/;
21818
 
s/^\([^=]*=[     ]*\):*/\1/;
21819
 
s/:*$//;
21820
 
s/^[^=]*=[       ]*$//;
21821
 
}'
21822
 
fi
21823
 
 
21824
22487
DEFS=-DHAVE_CONFIG_H
21825
22488
 
21826
22489
ac_libobjs=
21827
22490
ac_ltlibobjs=
21828
22491
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
21829
22492
  # 1. Remove the extension, and $U if already installed.
21830
 
  ac_i=`echo "$ac_i" |
21831
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21832
 
  # 2. Add them.
21833
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21834
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
22493
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
22494
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
22495
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
22496
  #    will be set to the directory where LIBOBJS objects are built.
 
22497
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
22498
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21835
22499
done
21836
22500
LIB@&t@OBJS=$ac_libobjs
21837
22501
 
21890
22554
## M4sh Initialization.  ##
21891
22555
## --------------------- ##
21892
22556
 
21893
 
# Be Bourne compatible
 
22557
# Be more Bourne compatible
 
22558
DUALCASE=1; export DUALCASE # for MKS sh
21894
22559
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21895
22560
  emulate sh
21896
22561
  NULLCMD=:
21897
22562
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21898
22563
  # is contrary to our usage.  Disable this feature.
21899
22564
  alias -g '${1+"$@"}'='"$@"'
21900
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21901
 
  set -o posix
21902
 
fi
21903
 
DUALCASE=1; export DUALCASE # for MKS sh
 
22565
  setopt NO_GLOB_SUBST
 
22566
else
 
22567
  case `(set -o) 2>/dev/null` in
 
22568
  *posix*) set -o posix ;;
 
22569
esac
 
22570
 
 
22571
fi
 
22572
 
 
22573
 
 
22574
 
 
22575
 
 
22576
# PATH needs CR
 
22577
# Avoid depending upon Character Ranges.
 
22578
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
22579
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
22580
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
22581
as_cr_digits='0123456789'
 
22582
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
22583
 
 
22584
# The user is always right.
 
22585
if test "${PATH_SEPARATOR+set}" != set; then
 
22586
  echo "#! /bin/sh" >conf$$.sh
 
22587
  echo  "exit 0"   >>conf$$.sh
 
22588
  chmod +x conf$$.sh
 
22589
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
22590
    PATH_SEPARATOR=';'
 
22591
  else
 
22592
    PATH_SEPARATOR=:
 
22593
  fi
 
22594
  rm -f conf$$.sh
 
22595
fi
21904
22596
 
21905
22597
# Support unset when possible.
21906
22598
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21910
22602
fi
21911
22603
 
21912
22604
 
 
22605
# IFS
 
22606
# We need space, tab and new line, in precisely that order.  Quoting is
 
22607
# there to prevent editors from complaining about space-tab.
 
22608
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
22609
# splitting by setting IFS to empty value.)
 
22610
as_nl='
 
22611
'
 
22612
IFS=" ""        $as_nl"
 
22613
 
 
22614
# Find who we are.  Look in the path if we contain no directory separator.
 
22615
case $0 in
 
22616
  *[\\/]* ) as_myself=$0 ;;
 
22617
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22618
for as_dir in $PATH
 
22619
do
 
22620
  IFS=$as_save_IFS
 
22621
  test -z "$as_dir" && as_dir=.
 
22622
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
22623
done
 
22624
IFS=$as_save_IFS
 
22625
 
 
22626
     ;;
 
22627
esac
 
22628
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
22629
# in which case we are not to be found in the path.
 
22630
if test "x$as_myself" = x; then
 
22631
  as_myself=$0
 
22632
fi
 
22633
if test ! -f "$as_myself"; then
 
22634
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
22635
  { (exit 1); exit 1; }
 
22636
fi
 
22637
 
21913
22638
# Work around bugs in pre-3.0 UWIN ksh.
21914
 
$as_unset ENV MAIL MAILPATH
 
22639
for as_var in ENV MAIL MAILPATH
 
22640
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
22641
done
21915
22642
PS1='$ '
21916
22643
PS2='> '
21917
22644
PS4='+ '
21925
22652
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21926
22653
    eval $as_var=C; export $as_var
21927
22654
  else
21928
 
    $as_unset $as_var
 
22655
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21929
22656
  fi
21930
22657
done
21931
22658
 
21932
22659
# Required to use basename.
21933
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22660
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22661
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21934
22662
  as_expr=expr
21935
22663
else
21936
22664
  as_expr=false
21937
22665
fi
21938
22666
 
21939
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
22667
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21940
22668
  as_basename=basename
21941
22669
else
21942
22670
  as_basename=false
21944
22672
 
21945
22673
 
21946
22674
# Name of the executable.
21947
 
as_me=`$as_basename "$0" ||
 
22675
as_me=`$as_basename -- "$0" ||
21948
22676
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21949
22677
         X"$0" : 'X\(//\)$' \| \
21950
 
         X"$0" : 'X\(/\)$' \| \
21951
 
         .     : '\(.\)' 2>/dev/null ||
 
22678
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21952
22679
echo X/"$0" |
21953
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21954
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
21955
 
          /^X\/\(\/\).*/{ s//\1/; q; }
21956
 
          s/.*/./; q'`
21957
 
 
21958
 
 
21959
 
# PATH needs CR, and LINENO needs CR and PATH.
21960
 
# Avoid depending upon Character Ranges.
21961
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21962
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21963
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21964
 
as_cr_digits='0123456789'
21965
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
21966
 
 
21967
 
# The user is always right.
21968
 
if test "${PATH_SEPARATOR+set}" != set; then
21969
 
  echo "#! /bin/sh" >conf$$.sh
21970
 
  echo  "exit 0"   >>conf$$.sh
21971
 
  chmod +x conf$$.sh
21972
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21973
 
    PATH_SEPARATOR=';'
21974
 
  else
21975
 
    PATH_SEPARATOR=:
21976
 
  fi
21977
 
  rm -f conf$$.sh
21978
 
fi
21979
 
 
21980
 
 
21981
 
  as_lineno_1=$LINENO
21982
 
  as_lineno_2=$LINENO
21983
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21984
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21985
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
21986
 
  # Find who we are.  Look in the path if we contain no path at all
21987
 
  # relative or not.
21988
 
  case $0 in
21989
 
    *[\\/]* ) as_myself=$0 ;;
21990
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21991
 
for as_dir in $PATH
21992
 
do
21993
 
  IFS=$as_save_IFS
21994
 
  test -z "$as_dir" && as_dir=.
21995
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21996
 
done
21997
 
 
21998
 
       ;;
21999
 
  esac
22000
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
22001
 
  # in which case we are not to be found in the path.
22002
 
  if test "x$as_myself" = x; then
22003
 
    as_myself=$0
22004
 
  fi
22005
 
  if test ! -f "$as_myself"; then
22006
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22007
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22008
 
   { (exit 1); exit 1; }; }
22009
 
  fi
22010
 
  case $CONFIG_SHELL in
22011
 
  '')
22012
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22013
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22014
 
do
22015
 
  IFS=$as_save_IFS
22016
 
  test -z "$as_dir" && as_dir=.
22017
 
  for as_base in sh bash ksh sh5; do
22018
 
         case $as_dir in
22019
 
         /*)
22020
 
           if ("$as_dir/$as_base" -c '
22021
 
  as_lineno_1=$LINENO
22022
 
  as_lineno_2=$LINENO
22023
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22024
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22025
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
22026
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22027
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22028
 
             CONFIG_SHELL=$as_dir/$as_base
22029
 
             export CONFIG_SHELL
22030
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22031
 
           fi;;
22032
 
         esac
22033
 
       done
22034
 
done
22035
 
;;
22036
 
  esac
 
22680
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
22681
            s//\1/
 
22682
            q
 
22683
          }
 
22684
          /^X\/\(\/\/\)$/{
 
22685
            s//\1/
 
22686
            q
 
22687
          }
 
22688
          /^X\/\(\/\).*/{
 
22689
            s//\1/
 
22690
            q
 
22691
          }
 
22692
          s/.*/./; q'`
 
22693
 
 
22694
# CDPATH.
 
22695
$as_unset CDPATH
 
22696
 
 
22697
 
 
22698
 
 
22699
  as_lineno_1=$LINENO
 
22700
  as_lineno_2=$LINENO
 
22701
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
22702
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22037
22703
 
22038
22704
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22039
22705
  # uniformly replaced by the line number.  The first 'sed' inserts a
22040
 
  # line-number line before each line; the second 'sed' does the real
22041
 
  # work.  The second script uses 'N' to pair each line-number line
22042
 
  # with the numbered line, and appends trailing '-' during
22043
 
  # substitution so that $LINENO is not a special case at line end.
 
22706
  # line-number line after each line using $LINENO; the second 'sed'
 
22707
  # does the real work.  The second script uses 'N' to pair each
 
22708
  # line-number line with the line containing $LINENO, and appends
 
22709
  # trailing '-' during substitution so that $LINENO is not a special
 
22710
  # case at line end.
22044
22711
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22045
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
22046
 
  sed '=' <$as_myself |
 
22712
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
22713
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
22714
  sed -n '
 
22715
    p
 
22716
    /[$]LINENO/=
 
22717
  ' <$as_myself |
22047
22718
    sed '
 
22719
      s/[$]LINENO.*/&-/
 
22720
      t lineno
 
22721
      b
 
22722
      :lineno
22048
22723
      N
22049
 
      s,$,-,
22050
 
      : loop
22051
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
22724
      :loop
 
22725
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22052
22726
      t loop
22053
 
      s,-$,,
22054
 
      s,^['$as_cr_digits']*\n,,
 
22727
      s/-\n.*//
22055
22728
    ' >$as_me.lineno &&
22056
 
  chmod +x $as_me.lineno ||
22057
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22058
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
22729
  chmod +x "$as_me.lineno" ||
 
22730
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22059
22731
   { (exit 1); exit 1; }; }
22060
22732
 
22061
22733
  # Don't try to exec as it changes $[0], causing all sort of problems
22062
22734
  # (the dirname of $[0] is not the place where we might find the
22063
 
  # original and so on.  Autoconf is especially sensible to this).
22064
 
  . ./$as_me.lineno
 
22735
  # original and so on.  Autoconf is especially sensitive to this).
 
22736
  . "./$as_me.lineno"
22065
22737
  # Exit status is that of the last command.
22066
22738
  exit
22067
22739
}
22068
22740
 
22069
22741
 
22070
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22071
 
  *c*,-n*) ECHO_N= ECHO_C='
22072
 
' ECHO_T='      ' ;;
22073
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22074
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
22742
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
22743
  as_dirname=dirname
 
22744
else
 
22745
  as_dirname=false
 
22746
fi
 
22747
 
 
22748
ECHO_C= ECHO_N= ECHO_T=
 
22749
case `echo -n x` in
 
22750
-n*)
 
22751
  case `echo 'x\c'` in
 
22752
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
22753
  *)   ECHO_C='\c';;
 
22754
  esac;;
 
22755
*)
 
22756
  ECHO_N='-n';;
22075
22757
esac
22076
22758
 
22077
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22759
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22760
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22078
22761
  as_expr=expr
22079
22762
else
22080
22763
  as_expr=false
22081
22764
fi
22082
22765
 
22083
22766
rm -f conf$$ conf$$.exe conf$$.file
 
22767
if test -d conf$$.dir; then
 
22768
  rm -f conf$$.dir/conf$$.file
 
22769
else
 
22770
  rm -f conf$$.dir
 
22771
  mkdir conf$$.dir
 
22772
fi
22084
22773
echo >conf$$.file
22085
22774
if ln -s conf$$.file conf$$ 2>/dev/null; then
22086
 
  # We could just check for DJGPP; but this test a) works b) is more generic
22087
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22088
 
  if test -f conf$$.exe; then
22089
 
    # Don't use ln at all; we don't have any links
 
22775
  as_ln_s='ln -s'
 
22776
  # ... but there are two gotchas:
 
22777
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
22778
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
22779
  # In both cases, we have to default to `cp -p'.
 
22780
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22090
22781
    as_ln_s='cp -p'
22091
 
  else
22092
 
    as_ln_s='ln -s'
22093
 
  fi
22094
22782
elif ln conf$$.file conf$$ 2>/dev/null; then
22095
22783
  as_ln_s=ln
22096
22784
else
22097
22785
  as_ln_s='cp -p'
22098
22786
fi
22099
 
rm -f conf$$ conf$$.exe conf$$.file
 
22787
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
22788
rmdir conf$$.dir 2>/dev/null
22100
22789
 
22101
22790
if mkdir -p . 2>/dev/null; then
22102
22791
  as_mkdir_p=:
22105
22794
  as_mkdir_p=false
22106
22795
fi
22107
22796
 
22108
 
as_executable_p="test -f"
 
22797
if test -x / >/dev/null 2>&1; then
 
22798
  as_test_x='test -x'
 
22799
else
 
22800
  if ls -dL / >/dev/null 2>&1; then
 
22801
    as_ls_L_option=L
 
22802
  else
 
22803
    as_ls_L_option=
 
22804
  fi
 
22805
  as_test_x='
 
22806
    eval sh -c '\''
 
22807
      if test -d "$1"; then
 
22808
        test -d "$1/.";
 
22809
      else
 
22810
        case $1 in
 
22811
        -*)set "./$1";;
 
22812
        esac;
 
22813
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
22814
        ???[sx]*):;;*)false;;esac;fi
 
22815
    '\'' sh
 
22816
  '
 
22817
fi
 
22818
as_executable_p=$as_test_x
22109
22819
 
22110
22820
# Sed expression to map a string onto a valid CPP name.
22111
22821
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22114
22824
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22115
22825
 
22116
22826
 
22117
 
# IFS
22118
 
# We need space, tab and new line, in precisely that order.
22119
 
as_nl='
22120
 
'
22121
 
IFS="   $as_nl"
22122
 
 
22123
 
# CDPATH.
22124
 
$as_unset CDPATH
22125
 
 
22126
22827
exec 6>&1
22127
22828
 
22128
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
22829
# Save the log message, to keep $[0] and so on meaningful, and to
22129
22830
# report actual input values of CONFIG_FILES etc. instead of their
22130
 
# values after options handling.  Logging --version etc. is OK.
22131
 
exec 5>>config.log
22132
 
{
22133
 
  echo
22134
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
22135
 
@%:@@%:@ Running $as_me. @%:@@%:@
22136
 
_ASBOX
22137
 
} >&5
22138
 
cat >&5 <<_CSEOF
22139
 
 
22140
 
This file was extended by Judy $as_me 1.0.0, which was
22141
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
22831
# values after options handling.
 
22832
ac_log="
 
22833
This file was extended by Judy $as_me 1.0.5, which was
 
22834
generated by GNU Autoconf 2.61.  Invocation command line was
22142
22835
 
22143
22836
  CONFIG_FILES    = $CONFIG_FILES
22144
22837
  CONFIG_HEADERS  = $CONFIG_HEADERS
22146
22839
  CONFIG_COMMANDS = $CONFIG_COMMANDS
22147
22840
  $ $0 $@
22148
22841
 
22149
 
_CSEOF
22150
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22151
 
echo >&5
 
22842
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
22843
"
 
22844
 
22152
22845
_ACEOF
22153
22846
 
 
22847
cat >>$CONFIG_STATUS <<_ACEOF
22154
22848
# Files that config.status was made for.
22155
 
if test -n "$ac_config_files"; then
22156
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22157
 
fi
22158
 
 
22159
 
if test -n "$ac_config_headers"; then
22160
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22161
 
fi
22162
 
 
22163
 
if test -n "$ac_config_links"; then
22164
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22165
 
fi
22166
 
 
22167
 
if test -n "$ac_config_commands"; then
22168
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22169
 
fi
 
22849
config_files="$ac_config_files"
 
22850
config_headers="$ac_config_headers"
 
22851
config_commands="$ac_config_commands"
 
22852
 
 
22853
_ACEOF
22170
22854
 
22171
22855
cat >>$CONFIG_STATUS <<\_ACEOF
22172
 
 
22173
22856
ac_cs_usage="\
22174
22857
\`$as_me' instantiates files from templates according to the
22175
22858
current configuration.
22177
22860
Usage: $0 [OPTIONS] [FILE]...
22178
22861
 
22179
22862
  -h, --help       print this help, then exit
22180
 
  -V, --version    print version number, then exit
 
22863
  -V, --version    print version number and configuration settings, then exit
22181
22864
  -q, --quiet      do not print progress messages
22182
22865
  -d, --debug      don't remove temporary files
22183
22866
      --recheck    update $as_me by reconfiguring in the same conditions
22196
22879
$config_commands
22197
22880
 
22198
22881
Report bugs to <bug-autoconf@gnu.org>."
 
22882
 
22199
22883
_ACEOF
22200
 
 
22201
22884
cat >>$CONFIG_STATUS <<_ACEOF
22202
22885
ac_cs_version="\\
22203
 
Judy config.status 1.0.0
22204
 
configured by $0, generated by GNU Autoconf 2.59,
22205
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
22886
Judy config.status 1.0.5
 
22887
configured by $0, generated by GNU Autoconf 2.61,
 
22888
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22206
22889
 
22207
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
22890
Copyright (C) 2006 Free Software Foundation, Inc.
22208
22891
This config.status script is free software; the Free Software Foundation
22209
22892
gives unlimited permission to copy, distribute and modify it."
22210
 
srcdir=$srcdir
22211
 
INSTALL="$INSTALL"
 
22893
 
 
22894
ac_pwd='$ac_pwd'
 
22895
srcdir='$srcdir'
 
22896
INSTALL='$INSTALL'
22212
22897
_ACEOF
22213
22898
 
22214
22899
cat >>$CONFIG_STATUS <<\_ACEOF
22219
22904
do
22220
22905
  case $1 in
22221
22906
  --*=*)
22222
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
22223
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
22907
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
22908
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22224
22909
    ac_shift=:
22225
22910
    ;;
22226
 
  -*)
 
22911
  *)
22227
22912
    ac_option=$1
22228
22913
    ac_optarg=$2
22229
22914
    ac_shift=shift
22230
22915
    ;;
22231
 
  *) # This is not an option, so the user has probably given explicit
22232
 
     # arguments.
22233
 
     ac_option=$1
22234
 
     ac_need_defaults=false;;
22235
22916
  esac
22236
22917
 
22237
22918
  case $ac_option in
22238
22919
  # Handling of the options.
22239
 
_ACEOF
22240
 
cat >>$CONFIG_STATUS <<\_ACEOF
22241
22920
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22242
22921
    ac_cs_recheck=: ;;
22243
 
  --version | --vers* | -V )
22244
 
    echo "$ac_cs_version"; exit 0 ;;
22245
 
  --he | --h)
22246
 
    # Conflict between --help and --header
22247
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
22248
 
Try \`$0 --help' for more information." >&5
22249
 
echo "$as_me: error: ambiguous option: $1
22250
 
Try \`$0 --help' for more information." >&2;}
22251
 
   { (exit 1); exit 1; }; };;
22252
 
  --help | --hel | -h )
22253
 
    echo "$ac_cs_usage"; exit 0 ;;
22254
 
  --debug | --d* | -d )
 
22922
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
22923
    echo "$ac_cs_version"; exit ;;
 
22924
  --debug | --debu | --deb | --de | --d | -d )
22255
22925
    debug=: ;;
22256
22926
  --file | --fil | --fi | --f )
22257
22927
    $ac_shift
22261
22931
    $ac_shift
22262
22932
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22263
22933
    ac_need_defaults=false;;
 
22934
  --he | --h)
 
22935
    # Conflict between --help and --header
 
22936
    { echo "$as_me: error: ambiguous option: $1
 
22937
Try \`$0 --help' for more information." >&2
 
22938
   { (exit 1); exit 1; }; };;
 
22939
  --help | --hel | -h )
 
22940
    echo "$ac_cs_usage"; exit ;;
22264
22941
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22265
22942
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22266
22943
    ac_cs_silent=: ;;
22267
22944
 
22268
22945
  # This is an error.
22269
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22270
 
Try \`$0 --help' for more information." >&5
22271
 
echo "$as_me: error: unrecognized option: $1
22272
 
Try \`$0 --help' for more information." >&2;}
 
22946
  -*) { echo "$as_me: error: unrecognized option: $1
 
22947
Try \`$0 --help' for more information." >&2
22273
22948
   { (exit 1); exit 1; }; } ;;
22274
22949
 
22275
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
22950
  *) ac_config_targets="$ac_config_targets $1"
 
22951
     ac_need_defaults=false ;;
22276
22952
 
22277
22953
  esac
22278
22954
  shift
22288
22964
_ACEOF
22289
22965
cat >>$CONFIG_STATUS <<_ACEOF
22290
22966
if \$ac_cs_recheck; then
22291
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22292
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
22967
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
22968
  CONFIG_SHELL=$SHELL
 
22969
  export CONFIG_SHELL
 
22970
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22293
22971
fi
22294
22972
 
22295
22973
_ACEOF
 
22974
cat >>$CONFIG_STATUS <<\_ACEOF
 
22975
exec 5>>config.log
 
22976
{
 
22977
  echo
 
22978
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 
22979
@%:@@%:@ Running $as_me. @%:@@%:@
 
22980
_ASBOX
 
22981
  echo "$ac_log"
 
22982
} >&5
22296
22983
 
 
22984
_ACEOF
22297
22985
cat >>$CONFIG_STATUS <<_ACEOF
22298
22986
#
22299
 
# INIT-COMMANDS section.
 
22987
# INIT-COMMANDS
22300
22988
#
22301
 
 
22302
22989
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22303
22990
 
22304
22991
_ACEOF
22305
22992
 
22306
 
 
22307
 
 
22308
22993
cat >>$CONFIG_STATUS <<\_ACEOF
 
22994
 
 
22995
# Handling of arguments.
22309
22996
for ac_config_target in $ac_config_targets
22310
22997
do
22311
 
  case "$ac_config_target" in
22312
 
  # Handling of arguments.
22313
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22314
 
  "src/Judy1/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Judy1/Makefile" ;;
22315
 
  "src/JudyCommon/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/JudyCommon/Makefile" ;;
22316
 
  "src/JudyHS/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/JudyHS/Makefile" ;;
22317
 
  "src/JudyL/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/JudyL/Makefile" ;;
22318
 
  "src/JudySL/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/JudySL/Makefile" ;;
22319
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22320
 
  "src/obj/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/obj/Makefile" ;;
22321
 
  "tool/Makefile" ) CONFIG_FILES="$CONFIG_FILES tool/Makefile" ;;
22322
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
22323
 
  "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
22324
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22325
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
22998
  case $ac_config_target in
 
22999
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
23000
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23001
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
23002
    "src/Judy1/Makefile") CONFIG_FILES="$CONFIG_FILES src/Judy1/Makefile" ;;
 
23003
    "src/JudyCommon/Makefile") CONFIG_FILES="$CONFIG_FILES src/JudyCommon/Makefile" ;;
 
23004
    "src/JudyHS/Makefile") CONFIG_FILES="$CONFIG_FILES src/JudyHS/Makefile" ;;
 
23005
    "src/JudyL/Makefile") CONFIG_FILES="$CONFIG_FILES src/JudyL/Makefile" ;;
 
23006
    "src/JudySL/Makefile") CONFIG_FILES="$CONFIG_FILES src/JudySL/Makefile" ;;
 
23007
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
23008
    "src/obj/Makefile") CONFIG_FILES="$CONFIG_FILES src/obj/Makefile" ;;
 
23009
    "tool/Makefile") CONFIG_FILES="$CONFIG_FILES tool/Makefile" ;;
 
23010
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
23011
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 
23012
 
22326
23013
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22327
23014
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22328
23015
   { (exit 1); exit 1; }; };;
22329
23016
  esac
22330
23017
done
22331
23018
 
 
23019
 
22332
23020
# If the user did not use the arguments to specify the items to instantiate,
22333
23021
# then the envvar interface is used.  Set only those that are not.
22334
23022
# We use the long form for the default assignment because of an extremely
22340
23028
fi
22341
23029
 
22342
23030
# Have a temporary directory for convenience.  Make it in the build tree
22343
 
# simply because there is no reason to put it here, and in addition,
 
23031
# simply because there is no reason against having it here, and in addition,
22344
23032
# creating and moving files from /tmp can sometimes cause problems.
22345
 
# Create a temporary directory, and hook for its removal unless debugging.
 
23033
# Hook for its removal unless debugging.
 
23034
# Note that there is a small window in which the directory will not be cleaned:
 
23035
# after its creation but before its name has been assigned to `$tmp'.
22346
23036
$debug ||
22347
23037
{
22348
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
23038
  tmp=
 
23039
  trap 'exit_status=$?
 
23040
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
23041
' 0
22349
23042
  trap '{ (exit 1); exit 1; }' 1 2 13 15
22350
23043
}
22351
 
 
22352
23044
# Create a (secure) tmp directory for tmp files.
22353
23045
 
22354
23046
{
22355
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
23047
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22356
23048
  test -n "$tmp" && test -d "$tmp"
22357
23049
}  ||
22358
23050
{
22359
 
  tmp=./confstat$$-$RANDOM
22360
 
  (umask 077 && mkdir $tmp)
 
23051
  tmp=./conf$$-$RANDOM
 
23052
  (umask 077 && mkdir "$tmp")
22361
23053
} ||
22362
23054
{
22363
23055
   echo "$me: cannot create a temporary directory in ." >&2
22364
23056
   { (exit 1); exit 1; }
22365
23057
}
22366
23058
 
22367
 
_ACEOF
22368
 
 
22369
 
cat >>$CONFIG_STATUS <<_ACEOF
22370
 
 
22371
23059
#
22372
 
# CONFIG_FILES section.
 
23060
# Set up the sed scripts for CONFIG_FILES section.
22373
23061
#
22374
23062
 
22375
23063
# No need to generate the scripts if there are no CONFIG_FILES.
22376
23064
# This happens for instance when ./config.status config.h
22377
 
if test -n "\$CONFIG_FILES"; then
22378
 
  # Protect against being on the right side of a sed subst in config.status.
22379
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22380
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22381
 
s,@SHELL@,$SHELL,;t t
22382
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22383
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22384
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22385
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22386
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22387
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22388
 
s,@exec_prefix@,$exec_prefix,;t t
22389
 
s,@prefix@,$prefix,;t t
22390
 
s,@program_transform_name@,$program_transform_name,;t t
22391
 
s,@bindir@,$bindir,;t t
22392
 
s,@sbindir@,$sbindir,;t t
22393
 
s,@libexecdir@,$libexecdir,;t t
22394
 
s,@datadir@,$datadir,;t t
22395
 
s,@sysconfdir@,$sysconfdir,;t t
22396
 
s,@sharedstatedir@,$sharedstatedir,;t t
22397
 
s,@localstatedir@,$localstatedir,;t t
22398
 
s,@libdir@,$libdir,;t t
22399
 
s,@includedir@,$includedir,;t t
22400
 
s,@oldincludedir@,$oldincludedir,;t t
22401
 
s,@infodir@,$infodir,;t t
22402
 
s,@mandir@,$mandir,;t t
22403
 
s,@build_alias@,$build_alias,;t t
22404
 
s,@host_alias@,$host_alias,;t t
22405
 
s,@target_alias@,$target_alias,;t t
22406
 
s,@DEFS@,$DEFS,;t t
22407
 
s,@ECHO_C@,$ECHO_C,;t t
22408
 
s,@ECHO_N@,$ECHO_N,;t t
22409
 
s,@ECHO_T@,$ECHO_T,;t t
22410
 
s,@LIBS@,$LIBS,;t t
22411
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22412
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22413
 
s,@MAINT@,$MAINT,;t t
22414
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22415
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22416
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22417
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
22418
 
s,@PACKAGE@,$PACKAGE,;t t
22419
 
s,@VERSION@,$VERSION,;t t
22420
 
s,@ACLOCAL@,$ACLOCAL,;t t
22421
 
s,@AUTOCONF@,$AUTOCONF,;t t
22422
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
22423
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
22424
 
s,@MAKEINFO@,$MAKEINFO,;t t
22425
 
s,@install_sh@,$install_sh,;t t
22426
 
s,@STRIP@,$STRIP,;t t
22427
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22428
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22429
 
s,@mkdir_p@,$mkdir_p,;t t
22430
 
s,@AWK@,$AWK,;t t
22431
 
s,@SET_MAKE@,$SET_MAKE,;t t
22432
 
s,@am__leading_dot@,$am__leading_dot,;t t
22433
 
s,@AMTAR@,$AMTAR,;t t
22434
 
s,@am__tar@,$am__tar,;t t
22435
 
s,@am__untar@,$am__untar,;t t
22436
 
s,@VERSION_INFO@,$VERSION_INFO,;t t
22437
 
s,@FLAVOR@,$FLAVOR,;t t
22438
 
s,@CC@,$CC,;t t
22439
 
s,@CFLAGS@,$CFLAGS,;t t
22440
 
s,@LDFLAGS@,$LDFLAGS,;t t
22441
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
22442
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
22443
 
s,@EXEEXT@,$EXEEXT,;t t
22444
 
s,@OBJEXT@,$OBJEXT,;t t
22445
 
s,@DEPDIR@,$DEPDIR,;t t
22446
 
s,@am__include@,$am__include,;t t
22447
 
s,@am__quote@,$am__quote,;t t
22448
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22449
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22450
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22451
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
22452
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22453
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22454
 
s,@CPP@,$CPP,;t t
22455
 
s,@LN_S@,$LN_S,;t t
22456
 
s,@EGREP@,$EGREP,;t t
22457
 
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
22458
 
s,@AR@,$AR,;t t
22459
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
22460
 
s,@LD@,$LD,;t t
22461
 
s,@ac_ct_LD@,$ac_ct_LD,;t t
22462
 
s,@RANLIB@,$RANLIB,;t t
22463
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22464
 
s,@build@,$build,;t t
22465
 
s,@build_cpu@,$build_cpu,;t t
22466
 
s,@build_vendor@,$build_vendor,;t t
22467
 
s,@build_os@,$build_os,;t t
22468
 
s,@host@,$host,;t t
22469
 
s,@host_cpu@,$host_cpu,;t t
22470
 
s,@host_vendor@,$host_vendor,;t t
22471
 
s,@host_os@,$host_os,;t t
22472
 
s,@ECHO@,$ECHO,;t t
22473
 
s,@CXX@,$CXX,;t t
22474
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
22475
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22476
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22477
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22478
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22479
 
s,@CXXCPP@,$CXXCPP,;t t
22480
 
s,@F77@,$F77,;t t
22481
 
s,@FFLAGS@,$FFLAGS,;t t
22482
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
22483
 
s,@LIBTOOL@,$LIBTOOL,;t t
22484
 
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
22485
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22486
 
CEOF
22487
 
 
22488
 
_ACEOF
22489
 
 
22490
 
  cat >>$CONFIG_STATUS <<\_ACEOF
22491
 
  # Split the substitutions into bite-sized pieces for seds with
22492
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
22493
 
  ac_max_sed_lines=48
22494
 
  ac_sed_frag=1 # Number of current file.
22495
 
  ac_beg=1 # First line for current file.
22496
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
22497
 
  ac_more_lines=:
22498
 
  ac_sed_cmds=
22499
 
  while $ac_more_lines; do
22500
 
    if test $ac_beg -gt 1; then
22501
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22502
 
    else
22503
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22504
 
    fi
22505
 
    if test ! -s $tmp/subs.frag; then
22506
 
      ac_more_lines=false
22507
 
    else
22508
 
      # The purpose of the label and of the branching condition is to
22509
 
      # speed up the sed processing (if there are no `@' at all, there
22510
 
      # is no need to browse any of the substitutions).
22511
 
      # These are the two extra sed commands mentioned above.
22512
 
      (echo ':t
22513
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22514
 
      if test -z "$ac_sed_cmds"; then
22515
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22516
 
      else
22517
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22518
 
      fi
22519
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
22520
 
      ac_beg=$ac_end
22521
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
22522
 
    fi
22523
 
  done
22524
 
  if test -z "$ac_sed_cmds"; then
22525
 
    ac_sed_cmds=cat
22526
 
  fi
 
23065
if test -n "$CONFIG_FILES"; then
 
23066
 
 
23067
_ACEOF
 
23068
 
 
23069
 
 
23070
 
 
23071
ac_delim='%!_!# '
 
23072
for ac_last_try in false false false false false :; do
 
23073
  cat >conf$$subs.sed <<_ACEOF
 
23074
SHELL!$SHELL$ac_delim
 
23075
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
23076
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
23077
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
23078
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
23079
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
23080
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
23081
exec_prefix!$exec_prefix$ac_delim
 
23082
prefix!$prefix$ac_delim
 
23083
program_transform_name!$program_transform_name$ac_delim
 
23084
bindir!$bindir$ac_delim
 
23085
sbindir!$sbindir$ac_delim
 
23086
libexecdir!$libexecdir$ac_delim
 
23087
datarootdir!$datarootdir$ac_delim
 
23088
datadir!$datadir$ac_delim
 
23089
sysconfdir!$sysconfdir$ac_delim
 
23090
sharedstatedir!$sharedstatedir$ac_delim
 
23091
localstatedir!$localstatedir$ac_delim
 
23092
includedir!$includedir$ac_delim
 
23093
oldincludedir!$oldincludedir$ac_delim
 
23094
docdir!$docdir$ac_delim
 
23095
infodir!$infodir$ac_delim
 
23096
htmldir!$htmldir$ac_delim
 
23097
dvidir!$dvidir$ac_delim
 
23098
pdfdir!$pdfdir$ac_delim
 
23099
psdir!$psdir$ac_delim
 
23100
libdir!$libdir$ac_delim
 
23101
localedir!$localedir$ac_delim
 
23102
mandir!$mandir$ac_delim
 
23103
DEFS!$DEFS$ac_delim
 
23104
ECHO_C!$ECHO_C$ac_delim
 
23105
ECHO_N!$ECHO_N$ac_delim
 
23106
ECHO_T!$ECHO_T$ac_delim
 
23107
LIBS!$LIBS$ac_delim
 
23108
build_alias!$build_alias$ac_delim
 
23109
host_alias!$host_alias$ac_delim
 
23110
target_alias!$target_alias$ac_delim
 
23111
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
23112
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
23113
MAINT!$MAINT$ac_delim
 
23114
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
23115
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
23116
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
23117
CYGPATH_W!$CYGPATH_W$ac_delim
 
23118
PACKAGE!$PACKAGE$ac_delim
 
23119
VERSION!$VERSION$ac_delim
 
23120
ACLOCAL!$ACLOCAL$ac_delim
 
23121
AUTOCONF!$AUTOCONF$ac_delim
 
23122
AUTOMAKE!$AUTOMAKE$ac_delim
 
23123
AUTOHEADER!$AUTOHEADER$ac_delim
 
23124
MAKEINFO!$MAKEINFO$ac_delim
 
23125
install_sh!$install_sh$ac_delim
 
23126
STRIP!$STRIP$ac_delim
 
23127
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
23128
mkdir_p!$mkdir_p$ac_delim
 
23129
AWK!$AWK$ac_delim
 
23130
SET_MAKE!$SET_MAKE$ac_delim
 
23131
am__leading_dot!$am__leading_dot$ac_delim
 
23132
AMTAR!$AMTAR$ac_delim
 
23133
am__tar!$am__tar$ac_delim
 
23134
am__untar!$am__untar$ac_delim
 
23135
VERSION_INFO!$VERSION_INFO$ac_delim
 
23136
FLAVOR!$FLAVOR$ac_delim
 
23137
CC!$CC$ac_delim
 
23138
CFLAGS!$CFLAGS$ac_delim
 
23139
LDFLAGS!$LDFLAGS$ac_delim
 
23140
CPPFLAGS!$CPPFLAGS$ac_delim
 
23141
ac_ct_CC!$ac_ct_CC$ac_delim
 
23142
EXEEXT!$EXEEXT$ac_delim
 
23143
OBJEXT!$OBJEXT$ac_delim
 
23144
DEPDIR!$DEPDIR$ac_delim
 
23145
am__include!$am__include$ac_delim
 
23146
am__quote!$am__quote$ac_delim
 
23147
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
23148
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
23149
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
23150
CCDEPMODE!$CCDEPMODE$ac_delim
 
23151
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
23152
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
23153
CPP!$CPP$ac_delim
 
23154
LN_S!$LN_S$ac_delim
 
23155
GREP!$GREP$ac_delim
 
23156
EGREP!$EGREP$ac_delim
 
23157
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
 
23158
AR!$AR$ac_delim
 
23159
LD!$LD$ac_delim
 
23160
RANLIB!$RANLIB$ac_delim
 
23161
build!$build$ac_delim
 
23162
build_cpu!$build_cpu$ac_delim
 
23163
build_vendor!$build_vendor$ac_delim
 
23164
build_os!$build_os$ac_delim
 
23165
host!$host$ac_delim
 
23166
host_cpu!$host_cpu$ac_delim
 
23167
host_vendor!$host_vendor$ac_delim
 
23168
host_os!$host_os$ac_delim
 
23169
ECHO!$ECHO$ac_delim
 
23170
CXX!$CXX$ac_delim
 
23171
_ACEOF
 
23172
 
 
23173
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
23174
    break
 
23175
  elif $ac_last_try; then
 
23176
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23177
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23178
   { (exit 1); exit 1; }; }
 
23179
  else
 
23180
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23181
  fi
 
23182
done
 
23183
 
 
23184
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23185
if test -n "$ac_eof"; then
 
23186
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23187
  ac_eof=`expr $ac_eof + 1`
 
23188
fi
 
23189
 
 
23190
cat >>$CONFIG_STATUS <<_ACEOF
 
23191
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
23192
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
23193
_ACEOF
 
23194
sed '
 
23195
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23196
s/^/s,@/; s/!/@,|#_!!_#|/
 
23197
:n
 
23198
t n
 
23199
s/'"$ac_delim"'$/,g/; t
 
23200
s/$/\\/; p
 
23201
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23202
' >>$CONFIG_STATUS <conf$$subs.sed
 
23203
rm -f conf$$subs.sed
 
23204
cat >>$CONFIG_STATUS <<_ACEOF
 
23205
CEOF$ac_eof
 
23206
_ACEOF
 
23207
 
 
23208
 
 
23209
ac_delim='%!_!# '
 
23210
for ac_last_try in false false false false false :; do
 
23211
  cat >conf$$subs.sed <<_ACEOF
 
23212
CXXFLAGS!$CXXFLAGS$ac_delim
 
23213
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
23214
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
23215
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
23216
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
23217
CXXCPP!$CXXCPP$ac_delim
 
23218
F77!$F77$ac_delim
 
23219
FFLAGS!$FFLAGS$ac_delim
 
23220
ac_ct_F77!$ac_ct_F77$ac_delim
 
23221
LIBTOOL!$LIBTOOL$ac_delim
 
23222
WARN_CFLAGS!$WARN_CFLAGS$ac_delim
 
23223
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
23224
_ACEOF
 
23225
 
 
23226
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
 
23227
    break
 
23228
  elif $ac_last_try; then
 
23229
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23230
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23231
   { (exit 1); exit 1; }; }
 
23232
  else
 
23233
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23234
  fi
 
23235
done
 
23236
 
 
23237
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23238
if test -n "$ac_eof"; then
 
23239
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23240
  ac_eof=`expr $ac_eof + 1`
 
23241
fi
 
23242
 
 
23243
cat >>$CONFIG_STATUS <<_ACEOF
 
23244
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
23245
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
23246
_ACEOF
 
23247
sed '
 
23248
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23249
s/^/s,@/; s/!/@,|#_!!_#|/
 
23250
:n
 
23251
t n
 
23252
s/'"$ac_delim"'$/,g/; t
 
23253
s/$/\\/; p
 
23254
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23255
' >>$CONFIG_STATUS <conf$$subs.sed
 
23256
rm -f conf$$subs.sed
 
23257
cat >>$CONFIG_STATUS <<_ACEOF
 
23258
:end
 
23259
s/|#_!!_#|//g
 
23260
CEOF$ac_eof
 
23261
_ACEOF
 
23262
 
 
23263
 
 
23264
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
23265
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
23266
# trailing colons and then remove the whole line if VPATH becomes empty
 
23267
# (actually we leave an empty line to preserve line numbers).
 
23268
if test "x$srcdir" = x.; then
 
23269
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
23270
s/:*\$(srcdir):*/:/
 
23271
s/:*\${srcdir}:*/:/
 
23272
s/:*@srcdir@:*/:/
 
23273
s/^\([^=]*=[     ]*\):*/\1/
 
23274
s/:*$//
 
23275
s/^[^=]*=[       ]*$//
 
23276
}'
 
23277
fi
 
23278
 
 
23279
cat >>$CONFIG_STATUS <<\_ACEOF
22527
23280
fi # test -n "$CONFIG_FILES"
22528
23281
 
22529
 
_ACEOF
22530
 
cat >>$CONFIG_STATUS <<\_ACEOF
22531
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22532
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22533
 
  case $ac_file in
22534
 
  - | *:- | *:-:* ) # input from stdin
22535
 
        cat >$tmp/stdin
22536
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22537
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22538
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22539
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22540
 
  * )   ac_file_in=$ac_file.in ;;
22541
 
  esac
22542
 
 
22543
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22544
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
23282
 
 
23283
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
23284
do
 
23285
  case $ac_tag in
 
23286
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
23287
  esac
 
23288
  case $ac_mode$ac_tag in
 
23289
  :[FHL]*:*);;
 
23290
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
23291
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
23292
   { (exit 1); exit 1; }; };;
 
23293
  :[FH]-) ac_tag=-:-;;
 
23294
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
23295
  esac
 
23296
  ac_save_IFS=$IFS
 
23297
  IFS=:
 
23298
  set x $ac_tag
 
23299
  IFS=$ac_save_IFS
 
23300
  shift
 
23301
  ac_file=$1
 
23302
  shift
 
23303
 
 
23304
  case $ac_mode in
 
23305
  :L) ac_source=$1;;
 
23306
  :[FH])
 
23307
    ac_file_inputs=
 
23308
    for ac_f
 
23309
    do
 
23310
      case $ac_f in
 
23311
      -) ac_f="$tmp/stdin";;
 
23312
      *) # Look for the file first in the build tree, then in the source tree
 
23313
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
23314
         # because $ac_f cannot contain `:'.
 
23315
         test -f "$ac_f" ||
 
23316
           case $ac_f in
 
23317
           [\\/$]*) false;;
 
23318
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
23319
           esac ||
 
23320
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
23321
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
23322
   { (exit 1); exit 1; }; };;
 
23323
      esac
 
23324
      ac_file_inputs="$ac_file_inputs $ac_f"
 
23325
    done
 
23326
 
 
23327
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
23328
    # use $as_me), people would be surprised to read:
 
23329
    #    /* config.h.  Generated by config.status.  */
 
23330
    configure_input="Generated from "`IFS=:
 
23331
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
23332
    if test x"$ac_file" != x-; then
 
23333
      configure_input="$ac_file.  $configure_input"
 
23334
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
23335
echo "$as_me: creating $ac_file" >&6;}
 
23336
    fi
 
23337
 
 
23338
    case $ac_tag in
 
23339
    *:-:* | *:-) cat >"$tmp/stdin";;
 
23340
    esac
 
23341
    ;;
 
23342
  esac
 
23343
 
 
23344
  ac_dir=`$as_dirname -- "$ac_file" ||
22545
23345
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22546
23346
         X"$ac_file" : 'X\(//\)[^/]' \| \
22547
23347
         X"$ac_file" : 'X\(//\)$' \| \
22548
 
         X"$ac_file" : 'X\(/\)' \| \
22549
 
         .     : '\(.\)' 2>/dev/null ||
 
23348
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22550
23349
echo X"$ac_file" |
22551
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22552
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22553
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22554
 
          /^X\(\/\).*/{ s//\1/; q; }
22555
 
          s/.*/./; q'`
22556
 
  { if $as_mkdir_p; then
22557
 
    mkdir -p "$ac_dir"
22558
 
  else
22559
 
    as_dir="$ac_dir"
 
23350
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23351
            s//\1/
 
23352
            q
 
23353
          }
 
23354
          /^X\(\/\/\)[^/].*/{
 
23355
            s//\1/
 
23356
            q
 
23357
          }
 
23358
          /^X\(\/\/\)$/{
 
23359
            s//\1/
 
23360
            q
 
23361
          }
 
23362
          /^X\(\/\).*/{
 
23363
            s//\1/
 
23364
            q
 
23365
          }
 
23366
          s/.*/./; q'`
 
23367
  { as_dir="$ac_dir"
 
23368
  case $as_dir in #(
 
23369
  -*) as_dir=./$as_dir;;
 
23370
  esac
 
23371
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22560
23372
    as_dirs=
22561
 
    while test ! -d "$as_dir"; do
22562
 
      as_dirs="$as_dir $as_dirs"
22563
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23373
    while :; do
 
23374
      case $as_dir in #(
 
23375
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23376
      *) as_qdir=$as_dir;;
 
23377
      esac
 
23378
      as_dirs="'$as_qdir' $as_dirs"
 
23379
      as_dir=`$as_dirname -- "$as_dir" ||
22564
23380
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22565
23381
         X"$as_dir" : 'X\(//\)[^/]' \| \
22566
23382
         X"$as_dir" : 'X\(//\)$' \| \
22567
 
         X"$as_dir" : 'X\(/\)' \| \
22568
 
         .     : '\(.\)' 2>/dev/null ||
 
23383
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22569
23384
echo X"$as_dir" |
22570
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22571
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22572
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22573
 
          /^X\(\/\).*/{ s//\1/; q; }
22574
 
          s/.*/./; q'`
 
23385
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23386
            s//\1/
 
23387
            q
 
23388
          }
 
23389
          /^X\(\/\/\)[^/].*/{
 
23390
            s//\1/
 
23391
            q
 
23392
          }
 
23393
          /^X\(\/\/\)$/{
 
23394
            s//\1/
 
23395
            q
 
23396
          }
 
23397
          /^X\(\/\).*/{
 
23398
            s//\1/
 
23399
            q
 
23400
          }
 
23401
          s/.*/./; q'`
 
23402
      test -d "$as_dir" && break
22575
23403
    done
22576
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22577
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22578
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
23404
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23405
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23406
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22579
23407
   { (exit 1); exit 1; }; }; }
22580
 
 
22581
23408
  ac_builddir=.
22582
23409
 
22583
 
if test "$ac_dir" != .; then
 
23410
case "$ac_dir" in
 
23411
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23412
*)
22584
23413
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22585
 
  # A "../" for each directory in $ac_dir_suffix.
22586
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22587
 
else
22588
 
  ac_dir_suffix= ac_top_builddir=
22589
 
fi
 
23414
  # A ".." for each directory in $ac_dir_suffix.
 
23415
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
23416
  case $ac_top_builddir_sub in
 
23417
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23418
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
23419
  esac ;;
 
23420
esac
 
23421
ac_abs_top_builddir=$ac_pwd
 
23422
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
23423
# for backward compatibility:
 
23424
ac_top_builddir=$ac_top_build_prefix
22590
23425
 
22591
23426
case $srcdir in
22592
 
  .)  # No --srcdir option.  We are building in place.
 
23427
  .)  # We are building in place.
22593
23428
    ac_srcdir=.
22594
 
    if test -z "$ac_top_builddir"; then
22595
 
       ac_top_srcdir=.
22596
 
    else
22597
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22598
 
    fi ;;
22599
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
23429
    ac_top_srcdir=$ac_top_builddir_sub
 
23430
    ac_abs_top_srcdir=$ac_pwd ;;
 
23431
  [\\/]* | ?:[\\/]* )  # Absolute name.
22600
23432
    ac_srcdir=$srcdir$ac_dir_suffix;
22601
 
    ac_top_srcdir=$srcdir ;;
22602
 
  *) # Relative path.
22603
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22604
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22605
 
esac
22606
 
 
22607
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22608
 
# the directories may not exist.
22609
 
case `pwd` in
22610
 
.) ac_abs_builddir="$ac_dir";;
22611
 
*)
22612
 
  case "$ac_dir" in
22613
 
  .) ac_abs_builddir=`pwd`;;
22614
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22615
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
22616
 
  esac;;
22617
 
esac
22618
 
case $ac_abs_builddir in
22619
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22620
 
*)
22621
 
  case ${ac_top_builddir}. in
22622
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22623
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22624
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22625
 
  esac;;
22626
 
esac
22627
 
case $ac_abs_builddir in
22628
 
.) ac_abs_srcdir=$ac_srcdir;;
22629
 
*)
22630
 
  case $ac_srcdir in
22631
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22632
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22633
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22634
 
  esac;;
22635
 
esac
22636
 
case $ac_abs_builddir in
22637
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22638
 
*)
22639
 
  case $ac_top_srcdir in
22640
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
22641
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22642
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22643
 
  esac;;
22644
 
esac
22645
 
 
 
23433
    ac_top_srcdir=$srcdir
 
23434
    ac_abs_top_srcdir=$srcdir ;;
 
23435
  *) # Relative name.
 
23436
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
23437
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
23438
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
23439
esac
 
23440
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
23441
 
 
23442
 
 
23443
  case $ac_mode in
 
23444
  :F)
 
23445
  #
 
23446
  # CONFIG_FILE
 
23447
  #
22646
23448
 
22647
23449
  case $INSTALL in
22648
23450
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22649
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
23451
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22650
23452
  esac
22651
 
 
22652
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
22653
 
  # use $as_me), people would be surprised to read:
22654
 
  #    /* config.h.  Generated by config.status.  */
22655
 
  if test x"$ac_file" = x-; then
22656
 
    configure_input=
22657
 
  else
22658
 
    configure_input="$ac_file.  "
22659
 
  fi
22660
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
22661
 
                                     sed 's,.*/,,'` by configure."
22662
 
 
22663
 
  # First look for the input files in the build tree, otherwise in the
22664
 
  # src tree.
22665
 
  ac_file_inputs=`IFS=:
22666
 
    for f in $ac_file_in; do
22667
 
      case $f in
22668
 
      -) echo $tmp/stdin ;;
22669
 
      [\\/$]*)
22670
 
         # Absolute (can't be DOS-style, as IFS=:)
22671
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22672
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22673
 
   { (exit 1); exit 1; }; }
22674
 
         echo "$f";;
22675
 
      *) # Relative
22676
 
         if test -f "$f"; then
22677
 
           # Build tree
22678
 
           echo "$f"
22679
 
         elif test -f "$srcdir/$f"; then
22680
 
           # Source tree
22681
 
           echo "$srcdir/$f"
22682
 
         else
22683
 
           # /dev/null tree
22684
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22685
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22686
 
   { (exit 1); exit 1; }; }
22687
 
         fi;;
22688
 
      esac
22689
 
    done` || { (exit 1); exit 1; }
22690
 
 
22691
 
  if test x"$ac_file" != x-; then
22692
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
22693
 
echo "$as_me: creating $ac_file" >&6;}
22694
 
    rm -f "$ac_file"
22695
 
  fi
22696
 
_ACEOF
 
23453
_ACEOF
 
23454
 
 
23455
cat >>$CONFIG_STATUS <<\_ACEOF
 
23456
# If the template does not know about datarootdir, expand it.
 
23457
# FIXME: This hack should be removed a few years after 2.60.
 
23458
ac_datarootdir_hack=; ac_datarootdir_seen=
 
23459
 
 
23460
case `sed -n '/datarootdir/ {
 
23461
  p
 
23462
  q
 
23463
}
 
23464
/@datadir@/p
 
23465
/@docdir@/p
 
23466
/@infodir@/p
 
23467
/@localedir@/p
 
23468
/@mandir@/p
 
23469
' $ac_file_inputs` in
 
23470
*datarootdir*) ac_datarootdir_seen=yes;;
 
23471
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
23472
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
23473
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
23474
_ACEOF
 
23475
cat >>$CONFIG_STATUS <<_ACEOF
 
23476
  ac_datarootdir_hack='
 
23477
  s&@datadir@&$datadir&g
 
23478
  s&@docdir@&$docdir&g
 
23479
  s&@infodir@&$infodir&g
 
23480
  s&@localedir@&$localedir&g
 
23481
  s&@mandir@&$mandir&g
 
23482
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
23483
esac
 
23484
_ACEOF
 
23485
 
 
23486
# Neutralize VPATH when `$srcdir' = `.'.
 
23487
# Shell code in configure.ac might set extrasub.
 
23488
# FIXME: do we really want to maintain this feature?
22697
23489
cat >>$CONFIG_STATUS <<_ACEOF
22698
23490
  sed "$ac_vpsub
22699
23491
$extrasub
22701
23493
cat >>$CONFIG_STATUS <<\_ACEOF
22702
23494
:t
22703
23495
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22704
 
s,@configure_input@,$configure_input,;t t
22705
 
s,@srcdir@,$ac_srcdir,;t t
22706
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
22707
 
s,@top_srcdir@,$ac_top_srcdir,;t t
22708
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22709
 
s,@builddir@,$ac_builddir,;t t
22710
 
s,@abs_builddir@,$ac_abs_builddir,;t t
22711
 
s,@top_builddir@,$ac_top_builddir,;t t
22712
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22713
 
s,@INSTALL@,$ac_INSTALL,;t t
22714
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22715
 
  rm -f $tmp/stdin
22716
 
  if test x"$ac_file" != x-; then
22717
 
    mv $tmp/out $ac_file
22718
 
  else
22719
 
    cat $tmp/out
22720
 
    rm -f $tmp/out
22721
 
  fi
22722
 
 
22723
 
done
 
23496
s&@configure_input@&$configure_input&;t t
 
23497
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
23498
s&@srcdir@&$ac_srcdir&;t t
 
23499
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
23500
s&@top_srcdir@&$ac_top_srcdir&;t t
 
23501
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
23502
s&@builddir@&$ac_builddir&;t t
 
23503
s&@abs_builddir@&$ac_abs_builddir&;t t
 
23504
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
23505
s&@INSTALL@&$ac_INSTALL&;t t
 
23506
$ac_datarootdir_hack
 
23507
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
23508
 
 
23509
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
23510
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
23511
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
23512
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23513
which seems to be undefined.  Please make sure it is defined." >&5
 
23514
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23515
which seems to be undefined.  Please make sure it is defined." >&2;}
 
23516
 
 
23517
  rm -f "$tmp/stdin"
 
23518
  case $ac_file in
 
23519
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
23520
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
23521
  esac
 
23522
 ;;
 
23523
  :H)
 
23524
  #
 
23525
  # CONFIG_HEADER
 
23526
  #
22724
23527
_ACEOF
22725
 
cat >>$CONFIG_STATUS <<\_ACEOF
22726
 
 
22727
 
#
22728
 
# CONFIG_HEADER section.
22729
 
#
22730
 
 
22731
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22732
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
22733
 
#
22734
 
# ac_d sets the value in "#define NAME VALUE" lines.
22735
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
22736
 
ac_dB='[         ].*$,\1#\2'
 
23528
 
 
23529
# Transform confdefs.h into a sed script `conftest.defines', that
 
23530
# substitutes the proper values into config.h.in to produce config.h.
 
23531
rm -f conftest.defines conftest.tail
 
23532
# First, append a space to every undef/define line, to ease matching.
 
23533
echo 's/$/ /' >conftest.defines
 
23534
# Then, protect against being on the right side of a sed subst, or in
 
23535
# an unquoted here document, in config.status.  If some macros were
 
23536
# called several times there might be several #defines for the same
 
23537
# symbol, which is useless.  But do not sort them, since the last
 
23538
# AC_DEFINE must be honored.
 
23539
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
23540
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
23541
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
23542
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
23543
# just an empty string.
 
23544
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
23545
ac_dB='\\)[      (].*,\\1define\\2'
22737
23546
ac_dC=' '
22738
 
ac_dD=',;t'
22739
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22740
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
22741
 
ac_uB='$,\1#\2define\3'
22742
 
ac_uC=' '
22743
 
ac_uD=',;t'
22744
 
 
22745
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22746
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22747
 
  case $ac_file in
22748
 
  - | *:- | *:-:* ) # input from stdin
22749
 
        cat >$tmp/stdin
22750
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22751
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22752
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22753
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22754
 
  * )   ac_file_in=$ac_file.in ;;
22755
 
  esac
22756
 
 
22757
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22758
 
echo "$as_me: creating $ac_file" >&6;}
22759
 
 
22760
 
  # First look for the input files in the build tree, otherwise in the
22761
 
  # src tree.
22762
 
  ac_file_inputs=`IFS=:
22763
 
    for f in $ac_file_in; do
22764
 
      case $f in
22765
 
      -) echo $tmp/stdin ;;
22766
 
      [\\/$]*)
22767
 
         # Absolute (can't be DOS-style, as IFS=:)
22768
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22769
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22770
 
   { (exit 1); exit 1; }; }
22771
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
22772
 
         echo "$f";;
22773
 
      *) # Relative
22774
 
         if test -f "$f"; then
22775
 
           # Build tree
22776
 
           echo "$f"
22777
 
         elif test -f "$srcdir/$f"; then
22778
 
           # Source tree
22779
 
           echo "$srcdir/$f"
22780
 
         else
22781
 
           # /dev/null tree
22782
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22783
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22784
 
   { (exit 1); exit 1; }; }
22785
 
         fi;;
22786
 
      esac
22787
 
    done` || { (exit 1); exit 1; }
22788
 
  # Remove the trailing spaces.
22789
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
22790
 
 
22791
 
_ACEOF
22792
 
 
22793
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
22794
 
# `conftest.undefs', that substitutes the proper values into
22795
 
# config.h.in to produce config.h.  The first handles `#define'
22796
 
# templates, and the second `#undef' templates.
22797
 
# And first: Protect against being on the right side of a sed subst in
22798
 
# config.status.  Protect against being in an unquoted here document
22799
 
# in config.status.
22800
 
rm -f conftest.defines conftest.undefs
22801
 
# Using a here document instead of a string reduces the quoting nightmare.
22802
 
# Putting comments in sed scripts is not portable.
22803
 
#
22804
 
# `end' is used to avoid that the second main sed command (meant for
22805
 
# 0-ary CPP macros) applies to n-ary macro definitions.
22806
 
# See the Autoconf documentation for `clear'.
22807
 
cat >confdef2sed.sed <<\_ACEOF
22808
 
s/[\\&,]/\\&/g
22809
 
s,[\\$`],\\&,g
22810
 
t clear
22811
 
: clear
22812
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22813
 
t end
22814
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22815
 
: end
22816
 
_ACEOF
22817
 
# If some macros were called several times there might be several times
22818
 
# the same #defines, which is useless.  Nevertheless, we may not want to
22819
 
# sort them, since we want the *last* AC-DEFINE to be honored.
22820
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22821
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22822
 
rm -f confdef2sed.sed
22823
 
 
22824
 
# This sed command replaces #undef with comments.  This is necessary, for
 
23547
ac_dD=' ,'
 
23548
 
 
23549
uniq confdefs.h |
 
23550
  sed -n '
 
23551
        t rset
 
23552
        :rset
 
23553
        s/^[     ]*#[    ]*define[       ][      ]*//
 
23554
        t ok
 
23555
        d
 
23556
        :ok
 
23557
        s/[\\&,]/\\&/g
 
23558
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
23559
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
23560
  ' >>conftest.defines
 
23561
 
 
23562
# Remove the space that was appended to ease matching.
 
23563
# Then replace #undef with comments.  This is necessary, for
22825
23564
# example, in the case of _POSIX_SOURCE, which is predefined and required
22826
23565
# on some systems where configure will not decide to define it.
22827
 
cat >>conftest.undefs <<\_ACEOF
22828
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
23566
# (The regexp can be short, since the line contains either #define or #undef.)
 
23567
echo 's/ $//
 
23568
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
23569
 
 
23570
# Break up conftest.defines:
 
23571
ac_max_sed_lines=50
 
23572
 
 
23573
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
23574
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
23575
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
23576
# et cetera.
 
23577
ac_in='$ac_file_inputs'
 
23578
ac_out='"$tmp/out1"'
 
23579
ac_nxt='"$tmp/out2"'
 
23580
 
 
23581
while :
 
23582
do
 
23583
  # Write a here document:
 
23584
    cat >>$CONFIG_STATUS <<_ACEOF
 
23585
    # First, check the format of the line:
 
23586
    cat >"\$tmp/defines.sed" <<\\CEOF
 
23587
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
23588
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
23589
b
 
23590
:def
22829
23591
_ACEOF
22830
 
 
22831
 
# Break up conftest.defines because some shells have a limit on the size
22832
 
# of here documents, and old seds have small limits too (100 cmds).
22833
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22834
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22835
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22836
 
echo '  :' >>$CONFIG_STATUS
22837
 
rm -f conftest.tail
22838
 
while grep . conftest.defines >/dev/null
22839
 
do
22840
 
  # Write a limited-size here document to $tmp/defines.sed.
22841
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22842
 
  # Speed up: don't consider the non `#define' lines.
22843
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
22844
 
  # Work around the forget-to-reset-the-flag bug.
22845
 
  echo 't clr' >>$CONFIG_STATUS
22846
 
  echo ': clr' >>$CONFIG_STATUS
22847
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
23592
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22848
23593
  echo 'CEOF
22849
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
22850
 
  rm -f $tmp/in
22851
 
  mv $tmp/out $tmp/in
22852
 
' >>$CONFIG_STATUS
22853
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
23594
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
23595
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
23596
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
23597
  grep . conftest.tail >/dev/null || break
22854
23598
  rm -f conftest.defines
22855
23599
  mv conftest.tail conftest.defines
22856
23600
done
22857
 
rm -f conftest.defines
22858
 
echo '  fi # grep' >>$CONFIG_STATUS
22859
 
echo >>$CONFIG_STATUS
22860
 
 
22861
 
# Break up conftest.undefs because some shells have a limit on the size
22862
 
# of here documents, and old seds have small limits too (100 cmds).
22863
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
22864
 
rm -f conftest.tail
22865
 
while grep . conftest.undefs >/dev/null
22866
 
do
22867
 
  # Write a limited-size here document to $tmp/undefs.sed.
22868
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22869
 
  # Speed up: don't consider the non `#undef'
22870
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
22871
 
  # Work around the forget-to-reset-the-flag bug.
22872
 
  echo 't clr' >>$CONFIG_STATUS
22873
 
  echo ': clr' >>$CONFIG_STATUS
22874
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22875
 
  echo 'CEOF
22876
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22877
 
  rm -f $tmp/in
22878
 
  mv $tmp/out $tmp/in
22879
 
' >>$CONFIG_STATUS
22880
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22881
 
  rm -f conftest.undefs
22882
 
  mv conftest.tail conftest.undefs
22883
 
done
22884
 
rm -f conftest.undefs
22885
 
 
 
23601
rm -f conftest.defines conftest.tail
 
23602
 
 
23603
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22886
23604
cat >>$CONFIG_STATUS <<\_ACEOF
22887
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
22888
 
  # use $as_me), people would be surprised to read:
22889
 
  #    /* config.h.  Generated by config.status.  */
22890
 
  if test x"$ac_file" = x-; then
22891
 
    echo "/* Generated by configure.  */" >$tmp/config.h
22892
 
  else
22893
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
22894
 
  fi
22895
 
  cat $tmp/in >>$tmp/config.h
22896
 
  rm -f $tmp/in
22897
23605
  if test x"$ac_file" != x-; then
22898
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
23606
    echo "/* $configure_input  */" >"$tmp/config.h"
 
23607
    cat "$ac_result" >>"$tmp/config.h"
 
23608
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22899
23609
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22900
23610
echo "$as_me: $ac_file is unchanged" >&6;}
22901
23611
    else
22902
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22903
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22904
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
22905
 
         X"$ac_file" : 'X\(//\)$' \| \
22906
 
         X"$ac_file" : 'X\(/\)' \| \
22907
 
         .     : '\(.\)' 2>/dev/null ||
22908
 
echo X"$ac_file" |
22909
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22910
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22911
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22912
 
          /^X\(\/\).*/{ s//\1/; q; }
22913
 
          s/.*/./; q'`
22914
 
      { if $as_mkdir_p; then
22915
 
    mkdir -p "$ac_dir"
22916
 
  else
22917
 
    as_dir="$ac_dir"
22918
 
    as_dirs=
22919
 
    while test ! -d "$as_dir"; do
22920
 
      as_dirs="$as_dir $as_dirs"
22921
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22922
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22923
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22924
 
         X"$as_dir" : 'X\(//\)$' \| \
22925
 
         X"$as_dir" : 'X\(/\)' \| \
22926
 
         .     : '\(.\)' 2>/dev/null ||
22927
 
echo X"$as_dir" |
22928
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22929
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22930
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22931
 
          /^X\(\/\).*/{ s//\1/; q; }
22932
 
          s/.*/./; q'`
22933
 
    done
22934
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22935
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22936
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22937
 
   { (exit 1); exit 1; }; }; }
22938
 
 
22939
23612
      rm -f $ac_file
22940
 
      mv $tmp/config.h $ac_file
 
23613
      mv "$tmp/config.h" $ac_file
22941
23614
    fi
22942
23615
  else
22943
 
    cat $tmp/config.h
22944
 
    rm -f $tmp/config.h
 
23616
    echo "/* $configure_input  */"
 
23617
    cat "$ac_result"
22945
23618
  fi
 
23619
  rm -f "$tmp/out12"
22946
23620
# Compute $ac_file's index in $config_headers.
22947
23621
_am_stamp_count=1
22948
23622
for _am_header in $config_headers :; do
22953
23627
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22954
23628
  esac
22955
23629
done
22956
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
23630
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22957
23631
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22958
23632
         X$ac_file : 'X\(//\)[^/]' \| \
22959
23633
         X$ac_file : 'X\(//\)$' \| \
22960
 
         X$ac_file : 'X\(/\)' \| \
22961
 
         .     : '\(.\)' 2>/dev/null ||
 
23634
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22962
23635
echo X$ac_file |
22963
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22964
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22965
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22966
 
          /^X\(\/\).*/{ s//\1/; q; }
22967
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
22968
 
done
22969
 
_ACEOF
22970
 
cat >>$CONFIG_STATUS <<\_ACEOF
22971
 
 
22972
 
#
22973
 
# CONFIG_COMMANDS section.
22974
 
#
22975
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22976
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22977
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22978
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22979
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22980
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
22981
 
         X"$ac_dest" : 'X\(//\)$' \| \
22982
 
         X"$ac_dest" : 'X\(/\)' \| \
22983
 
         .     : '\(.\)' 2>/dev/null ||
22984
 
echo X"$ac_dest" |
22985
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22986
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22987
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22988
 
          /^X\(\/\).*/{ s//\1/; q; }
22989
 
          s/.*/./; q'`
22990
 
  { if $as_mkdir_p; then
22991
 
    mkdir -p "$ac_dir"
22992
 
  else
22993
 
    as_dir="$ac_dir"
22994
 
    as_dirs=
22995
 
    while test ! -d "$as_dir"; do
22996
 
      as_dirs="$as_dir $as_dirs"
22997
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22998
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22999
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23000
 
         X"$as_dir" : 'X\(//\)$' \| \
23001
 
         X"$as_dir" : 'X\(/\)' \| \
23002
 
         .     : '\(.\)' 2>/dev/null ||
23003
 
echo X"$as_dir" |
23004
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23005
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23006
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23007
 
          /^X\(\/\).*/{ s//\1/; q; }
23008
 
          s/.*/./; q'`
23009
 
    done
23010
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23011
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23012
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23013
 
   { (exit 1); exit 1; }; }; }
23014
 
 
23015
 
  ac_builddir=.
23016
 
 
23017
 
if test "$ac_dir" != .; then
23018
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23019
 
  # A "../" for each directory in $ac_dir_suffix.
23020
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23021
 
else
23022
 
  ac_dir_suffix= ac_top_builddir=
23023
 
fi
23024
 
 
23025
 
case $srcdir in
23026
 
  .)  # No --srcdir option.  We are building in place.
23027
 
    ac_srcdir=.
23028
 
    if test -z "$ac_top_builddir"; then
23029
 
       ac_top_srcdir=.
23030
 
    else
23031
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23032
 
    fi ;;
23033
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
23034
 
    ac_srcdir=$srcdir$ac_dir_suffix;
23035
 
    ac_top_srcdir=$srcdir ;;
23036
 
  *) # Relative path.
23037
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23038
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23039
 
esac
23040
 
 
23041
 
# Do not use `cd foo && pwd` to compute absolute paths, because
23042
 
# the directories may not exist.
23043
 
case `pwd` in
23044
 
.) ac_abs_builddir="$ac_dir";;
23045
 
*)
23046
 
  case "$ac_dir" in
23047
 
  .) ac_abs_builddir=`pwd`;;
23048
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23049
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
23050
 
  esac;;
23051
 
esac
23052
 
case $ac_abs_builddir in
23053
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23054
 
*)
23055
 
  case ${ac_top_builddir}. in
23056
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
23057
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23058
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23059
 
  esac;;
23060
 
esac
23061
 
case $ac_abs_builddir in
23062
 
.) ac_abs_srcdir=$ac_srcdir;;
23063
 
*)
23064
 
  case $ac_srcdir in
23065
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
23066
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23067
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23068
 
  esac;;
23069
 
esac
23070
 
case $ac_abs_builddir in
23071
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23072
 
*)
23073
 
  case $ac_top_srcdir in
23074
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
23075
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23076
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23077
 
  esac;;
23078
 
esac
23079
 
 
23080
 
 
23081
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23082
 
echo "$as_me: executing $ac_dest commands" >&6;}
23083
 
  case $ac_dest in
23084
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
23636
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23637
            s//\1/
 
23638
            q
 
23639
          }
 
23640
          /^X\(\/\/\)[^/].*/{
 
23641
            s//\1/
 
23642
            q
 
23643
          }
 
23644
          /^X\(\/\/\)$/{
 
23645
            s//\1/
 
23646
            q
 
23647
          }
 
23648
          /^X\(\/\).*/{
 
23649
            s//\1/
 
23650
            q
 
23651
          }
 
23652
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
23653
 ;;
 
23654
  
 
23655
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
23656
echo "$as_me: executing $ac_file commands" >&6;}
 
23657
 ;;
 
23658
  esac
 
23659
 
 
23660
 
 
23661
  case $ac_file$ac_mode in
 
23662
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23085
23663
  # Strip MF so we end up with the name of the file.
23086
23664
  mf=`echo "$mf" | sed -e 's/:.*$//'`
23087
23665
  # Check whether this is an Automake generated Makefile or not.
23091
23669
  # each Makefile.in and add a new line on top of each file to say so.
23092
23670
  # So let's grep whole file.
23093
23671
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
23094
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
23672
    dirpart=`$as_dirname -- "$mf" ||
23095
23673
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23096
23674
         X"$mf" : 'X\(//\)[^/]' \| \
23097
23675
         X"$mf" : 'X\(//\)$' \| \
23098
 
         X"$mf" : 'X\(/\)' \| \
23099
 
         .     : '\(.\)' 2>/dev/null ||
 
23676
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23100
23677
echo X"$mf" |
23101
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23102
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23103
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23104
 
          /^X\(\/\).*/{ s//\1/; q; }
23105
 
          s/.*/./; q'`
 
23678
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23679
            s//\1/
 
23680
            q
 
23681
          }
 
23682
          /^X\(\/\/\)[^/].*/{
 
23683
            s//\1/
 
23684
            q
 
23685
          }
 
23686
          /^X\(\/\/\)$/{
 
23687
            s//\1/
 
23688
            q
 
23689
          }
 
23690
          /^X\(\/\).*/{
 
23691
            s//\1/
 
23692
            q
 
23693
          }
 
23694
          s/.*/./; q'`
23106
23695
  else
23107
23696
    continue
23108
23697
  fi
23124
23713
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23125
23714
    # Make sure the directory exists.
23126
23715
    test -f "$dirpart/$file" && continue
23127
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
23716
    fdir=`$as_dirname -- "$file" ||
23128
23717
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23129
23718
         X"$file" : 'X\(//\)[^/]' \| \
23130
23719
         X"$file" : 'X\(//\)$' \| \
23131
 
         X"$file" : 'X\(/\)' \| \
23132
 
         .     : '\(.\)' 2>/dev/null ||
 
23720
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23133
23721
echo X"$file" |
23134
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23135
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23136
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23137
 
          /^X\(\/\).*/{ s//\1/; q; }
23138
 
          s/.*/./; q'`
23139
 
    { if $as_mkdir_p; then
23140
 
    mkdir -p $dirpart/$fdir
23141
 
  else
23142
 
    as_dir=$dirpart/$fdir
 
23722
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23723
            s//\1/
 
23724
            q
 
23725
          }
 
23726
          /^X\(\/\/\)[^/].*/{
 
23727
            s//\1/
 
23728
            q
 
23729
          }
 
23730
          /^X\(\/\/\)$/{
 
23731
            s//\1/
 
23732
            q
 
23733
          }
 
23734
          /^X\(\/\).*/{
 
23735
            s//\1/
 
23736
            q
 
23737
          }
 
23738
          s/.*/./; q'`
 
23739
    { as_dir=$dirpart/$fdir
 
23740
  case $as_dir in #(
 
23741
  -*) as_dir=./$as_dir;;
 
23742
  esac
 
23743
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23143
23744
    as_dirs=
23144
 
    while test ! -d "$as_dir"; do
23145
 
      as_dirs="$as_dir $as_dirs"
23146
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23745
    while :; do
 
23746
      case $as_dir in #(
 
23747
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23748
      *) as_qdir=$as_dir;;
 
23749
      esac
 
23750
      as_dirs="'$as_qdir' $as_dirs"
 
23751
      as_dir=`$as_dirname -- "$as_dir" ||
23147
23752
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23148
23753
         X"$as_dir" : 'X\(//\)[^/]' \| \
23149
23754
         X"$as_dir" : 'X\(//\)$' \| \
23150
 
         X"$as_dir" : 'X\(/\)' \| \
23151
 
         .     : '\(.\)' 2>/dev/null ||
 
23755
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23152
23756
echo X"$as_dir" |
23153
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23154
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23155
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23156
 
          /^X\(\/\).*/{ s//\1/; q; }
23157
 
          s/.*/./; q'`
 
23757
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23758
            s//\1/
 
23759
            q
 
23760
          }
 
23761
          /^X\(\/\/\)[^/].*/{
 
23762
            s//\1/
 
23763
            q
 
23764
          }
 
23765
          /^X\(\/\/\)$/{
 
23766
            s//\1/
 
23767
            q
 
23768
          }
 
23769
          /^X\(\/\).*/{
 
23770
            s//\1/
 
23771
            q
 
23772
          }
 
23773
          s/.*/./; q'`
 
23774
      test -d "$as_dir" && break
23158
23775
    done
23159
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23160
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
23161
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
23776
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23777
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23778
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23162
23779
   { (exit 1); exit 1; }; }; }
23163
 
 
23164
23780
    # echo "creating $dirpart/$file"
23165
23781
    echo '# dummy' > "$dirpart/$file"
23166
23782
  done
23167
23783
done
23168
23784
 ;;
 
23785
 
23169
23786
  esac
23170
 
done
23171
 
_ACEOF
 
23787
done # for ac_tag
23172
23788
 
23173
 
cat >>$CONFIG_STATUS <<\_ACEOF
23174
23789
 
23175
23790
{ (exit 0); exit 0; }
23176
23791
_ACEOF