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

« back to all changes in this revision

Viewing changes to autom4te.cache/output.0

  • 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
9467
10288
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9468
10289
 
9469
10290
  
9470
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9471
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
10291
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
10292
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9472
10293
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9473
10294
  echo $ECHO_N "(cached) $ECHO_C" >&6
9474
10295
else
9502
10323
   $rm conftest*
9503
10324
 
9504
10325
fi
9505
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9506
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
10326
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
10327
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9507
10328
 
9508
10329
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9509
10330
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9517
10338
lt_prog_compiler_pic=
9518
10339
lt_prog_compiler_static=
9519
10340
 
9520
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9521
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
10341
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
10342
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9522
10343
 
9523
10344
  if test "$GCC" = yes; then
9524
10345
    lt_prog_compiler_wl='-Wl,'
9647
10468
      lt_prog_compiler_static='-Bstatic'
9648
10469
      ;;
9649
10470
 
9650
 
    linux*)
 
10471
    linux* | k*bsd*-gnu)
9651
10472
      case $cc_basename in
9652
10473
      icc* | ecc*)
9653
10474
        lt_prog_compiler_wl='-Wl,'
9727
10548
    esac
9728
10549
  fi
9729
10550
 
9730
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9731
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
10551
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
10552
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9732
10553
 
9733
10554
#
9734
10555
# Check to make sure the PIC flag actually works.
9735
10556
#
9736
10557
if test -n "$lt_prog_compiler_pic"; then
9737
10558
  
9738
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9739
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
10559
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10560
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9740
10561
if test "${lt_prog_compiler_pic_works+set}" = set; then
9741
10562
  echo $ECHO_N "(cached) $ECHO_C" >&6
9742
10563
else
9770
10591
   $rm conftest*
9771
10592
 
9772
10593
fi
9773
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9774
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
10594
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
10595
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
9775
10596
 
9776
10597
if test x"$lt_prog_compiler_pic_works" = xyes; then
9777
10598
    case $lt_prog_compiler_pic in
9798
10619
# Check to make sure the static flag actually works.
9799
10620
#
9800
10621
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9801
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9802
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
10622
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
10623
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9803
10624
if test "${lt_prog_compiler_static_works+set}" = set; then
9804
10625
  echo $ECHO_N "(cached) $ECHO_C" >&6
9805
10626
else
9826
10647
   LDFLAGS="$save_LDFLAGS"
9827
10648
 
9828
10649
fi
9829
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9830
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
10650
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
10651
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
9831
10652
 
9832
10653
if test x"$lt_prog_compiler_static_works" = xyes; then
9833
10654
    :
9836
10657
fi
9837
10658
 
9838
10659
 
9839
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9840
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
10660
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10661
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9841
10662
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9842
10663
  echo $ECHO_N "(cached) $ECHO_C" >&6
9843
10664
else
9883
10704
   $rm conftest*
9884
10705
 
9885
10706
fi
9886
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9887
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
10707
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
10708
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9888
10709
 
9889
10710
 
9890
10711
hard_links="nottested"
9891
10712
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9892
10713
  # do not overwrite the value of need_locks provided by the user
9893
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9894
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
10714
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
10715
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9895
10716
  hard_links=yes
9896
10717
  $rm conftest*
9897
10718
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9898
10719
  touch conftest.a
9899
10720
  ln conftest.a conftest.b 2>&5 || hard_links=no
9900
10721
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9901
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
9902
 
echo "${ECHO_T}$hard_links" >&6
 
10722
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
10723
echo "${ECHO_T}$hard_links" >&6; }
9903
10724
  if test "$hard_links" = no; then
9904
10725
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9905
10726
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9909
10730
  need_locks=no
9910
10731
fi
9911
10732
 
9912
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9913
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
10733
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10734
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9914
10735
 
9915
10736
  runpath_var=
9916
10737
  allow_undefined_flag=
10086
10907
      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'
10087
10908
      ;;
10088
10909
 
10089
 
    linux*)
 
10910
    linux* | k*bsd*-gnu)
10090
10911
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10091
10912
        tmp_addflag=
10092
10913
        case $cc_basename,$host_cpu in
10118
10939
      fi
10119
10940
      ;;
10120
10941
 
10121
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
10942
    netbsd* | netbsdelf*-gnu)
10122
10943
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10123
10944
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10124
10945
        wlarc=
10326
11147
}
10327
11148
_ACEOF
10328
11149
rm -f conftest.$ac_objext conftest$ac_exeext
10329
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10330
 
  (eval $ac_link) 2>conftest.er1
 
11150
if { (ac_try="$ac_link"
 
11151
case "(($ac_try" in
 
11152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11153
  *) ac_try_echo=$ac_try;;
 
11154
esac
 
11155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11156
  (eval "$ac_link") 2>conftest.er1
10331
11157
  ac_status=$?
10332
11158
  grep -v '^ *+' conftest.er1 >conftest.err
10333
11159
  rm -f conftest.er1
10334
11160
  cat conftest.err >&5
10335
11161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336
 
  (exit $ac_status); } &&
10337
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10338
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10339
 
  (eval $ac_try) 2>&5
10340
 
  ac_status=$?
10341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342
 
  (exit $ac_status); }; } &&
10343
 
         { ac_try='test -s conftest$ac_exeext'
10344
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345
 
  (eval $ac_try) 2>&5
10346
 
  ac_status=$?
10347
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348
 
  (exit $ac_status); }; }; then
 
11162
  (exit $ac_status); } && {
 
11163
         test -z "$ac_c_werror_flag" ||
 
11164
         test ! -s conftest.err
 
11165
       } && test -s conftest$ac_exeext &&
 
11166
       $as_test_x conftest$ac_exeext; then
10349
11167
  
10350
11168
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10351
11169
}'`
10356
11174
  echo "$as_me: failed program was:" >&5
10357
11175
sed 's/^/| /' conftest.$ac_ext >&5
10358
11176
 
 
11177
        
10359
11178
fi
10360
 
rm -f conftest.err conftest.$ac_objext \
 
11179
 
 
11180
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10361
11181
      conftest$ac_exeext conftest.$ac_ext
10362
11182
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10363
11183
 
10386
11206
}
10387
11207
_ACEOF
10388
11208
rm -f conftest.$ac_objext conftest$ac_exeext
10389
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10390
 
  (eval $ac_link) 2>conftest.er1
 
11209
if { (ac_try="$ac_link"
 
11210
case "(($ac_try" in
 
11211
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11212
  *) ac_try_echo=$ac_try;;
 
11213
esac
 
11214
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11215
  (eval "$ac_link") 2>conftest.er1
10391
11216
  ac_status=$?
10392
11217
  grep -v '^ *+' conftest.er1 >conftest.err
10393
11218
  rm -f conftest.er1
10394
11219
  cat conftest.err >&5
10395
11220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396
 
  (exit $ac_status); } &&
10397
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10398
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10399
 
  (eval $ac_try) 2>&5
10400
 
  ac_status=$?
10401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402
 
  (exit $ac_status); }; } &&
10403
 
         { ac_try='test -s conftest$ac_exeext'
10404
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10405
 
  (eval $ac_try) 2>&5
10406
 
  ac_status=$?
10407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408
 
  (exit $ac_status); }; }; then
 
11221
  (exit $ac_status); } && {
 
11222
         test -z "$ac_c_werror_flag" ||
 
11223
         test ! -s conftest.err
 
11224
       } && test -s conftest$ac_exeext &&
 
11225
       $as_test_x conftest$ac_exeext; then
10409
11226
  
10410
11227
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10411
11228
}'`
10416
11233
  echo "$as_me: failed program was:" >&5
10417
11234
sed 's/^/| /' conftest.$ac_ext >&5
10418
11235
 
 
11236
        
10419
11237
fi
10420
 
rm -f conftest.err conftest.$ac_objext \
 
11238
 
 
11239
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10421
11240
      conftest$ac_exeext conftest.$ac_ext
10422
11241
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10423
11242
 
10554
11373
      hardcode_direct=yes
10555
11374
      hardcode_shlibpath_var=no
10556
11375
      ;;
10557
 
      
10558
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
10559
 
    kfreebsd*-gnu)
10560
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10561
 
      hardcode_libdir_flag_spec='-R$libdir'
10562
 
      hardcode_direct=yes
10563
 
      hardcode_shlibpath_var=no
10564
 
      link_all_deplibs=no
10565
 
      ;;
10566
11376
 
10567
11377
    hpux9*)
10568
11378
      if test "$GCC" = yes; then
10659
11469
      link_all_deplibs=yes
10660
11470
      ;;
10661
11471
 
10662
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
11472
    netbsd* | netbsdelf*-gnu)
10663
11473
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10664
11474
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10665
11475
      else
10875
11685
    esac
10876
11686
  fi
10877
11687
 
10878
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10879
 
echo "${ECHO_T}$ld_shlibs" >&6
 
11688
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
11689
echo "${ECHO_T}$ld_shlibs" >&6; }
10880
11690
test "$ld_shlibs" = no && can_build_shared=no
10881
11691
 
10882
11692
#
10896
11706
      # Test whether the compiler implicitly links with -lc since on some
10897
11707
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10898
11708
      # to ld, don't add -lc before -lgcc.
10899
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10900
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
11709
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
11710
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10901
11711
      $rm conftest*
10902
11712
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10903
11713
 
10934
11744
        cat conftest.err 1>&5
10935
11745
      fi
10936
11746
      $rm conftest*
10937
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10938
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
11747
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
11748
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10939
11749
      ;;
10940
11750
    esac
10941
11751
  fi
10942
11752
  ;;
10943
11753
esac
10944
11754
 
10945
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10946
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
11755
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
11756
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10947
11757
library_names_spec=
10948
11758
libname_spec='lib$name'
10949
11759
soname_spec=
11149
11959
  dynamic_linker=no
11150
11960
  ;;
11151
11961
 
11152
 
kfreebsd*-gnu)
11153
 
  version_type=linux
11154
 
  need_lib_prefix=no
11155
 
  need_version=no
11156
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11157
 
  soname_spec='${libname}${release}${shared_ext}$major'
11158
 
  shlibpath_var=LD_LIBRARY_PATH
11159
 
  shlibpath_overrides_runpath=no
11160
 
  hardcode_into_libs=yes
11161
 
  dynamic_linker='GNU ld.so'
11162
 
  ;;
11163
 
 
11164
11962
freebsd* | dragonfly*)
11165
11963
  # DragonFly does not have aout.  When/if they implement a new
11166
11964
  # versioning mechanism, adjust this.
11316
12114
  ;;
11317
12115
 
11318
12116
# This must be Linux ELF.
11319
 
linux*)
 
12117
linux* | k*bsd*-gnu)
11320
12118
  version_type=linux
11321
12119
  need_lib_prefix=no
11322
12120
  need_version=no
11357
12155
  dynamic_linker='NetBSD ld.elf_so'
11358
12156
  ;;
11359
12157
 
11360
 
knetbsd*-gnu)
11361
 
  version_type=linux
11362
 
  need_lib_prefix=no
11363
 
  need_version=no
11364
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11365
 
  soname_spec='${libname}${release}${shared_ext}$major'
11366
 
  shlibpath_var=LD_LIBRARY_PATH
11367
 
  shlibpath_overrides_runpath=no
11368
 
  hardcode_into_libs=yes
11369
 
  dynamic_linker='GNU ld.so'
11370
 
  ;;
11371
 
 
11372
12158
netbsd*)
11373
12159
  version_type=sunos
11374
12160
  need_lib_prefix=no
11542
12328
  dynamic_linker=no
11543
12329
  ;;
11544
12330
esac
11545
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11546
 
echo "${ECHO_T}$dynamic_linker" >&6
 
12331
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
12332
echo "${ECHO_T}$dynamic_linker" >&6; }
11547
12333
test "$dynamic_linker" = no && can_build_shared=no
11548
12334
 
11549
12335
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11551
12337
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11552
12338
fi
11553
12339
 
11554
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11555
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
12340
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
12341
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11556
12342
hardcode_action=
11557
12343
if test -n "$hardcode_libdir_flag_spec" || \
11558
12344
   test -n "$runpath_var" || \
11576
12362
  # directories.
11577
12363
  hardcode_action=unsupported
11578
12364
fi
11579
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
11580
 
echo "${ECHO_T}$hardcode_action" >&6
 
12365
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
12366
echo "${ECHO_T}$hardcode_action" >&6; }
11581
12367
 
11582
12368
if test "$hardcode_action" = relink; then
11583
12369
  # Fast installation is not supported
11590
12376
 
11591
12377
striplib=
11592
12378
old_striplib=
11593
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11594
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
12379
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12380
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11595
12381
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11596
12382
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11597
12383
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11598
 
  echo "$as_me:$LINENO: result: yes" >&5
11599
 
echo "${ECHO_T}yes" >&6
 
12384
  { echo "$as_me:$LINENO: result: yes" >&5
 
12385
echo "${ECHO_T}yes" >&6; }
11600
12386
else
11601
12387
# FIXME - insert some real tests, host_os isn't really good enough
11602
12388
  case $host_os in
11603
12389
   darwin*)
11604
12390
       if test -n "$STRIP" ; then
11605
12391
         striplib="$STRIP -x"
11606
 
         echo "$as_me:$LINENO: result: yes" >&5
11607
 
echo "${ECHO_T}yes" >&6
 
12392
         { echo "$as_me:$LINENO: result: yes" >&5
 
12393
echo "${ECHO_T}yes" >&6; }
11608
12394
       else
11609
 
  echo "$as_me:$LINENO: result: no" >&5
11610
 
echo "${ECHO_T}no" >&6
 
12395
  { echo "$as_me:$LINENO: result: no" >&5
 
12396
echo "${ECHO_T}no" >&6; }
11611
12397
fi
11612
12398
       ;;
11613
12399
   *)
11614
 
  echo "$as_me:$LINENO: result: no" >&5
11615
 
echo "${ECHO_T}no" >&6
 
12400
  { echo "$as_me:$LINENO: result: no" >&5
 
12401
echo "${ECHO_T}no" >&6; }
11616
12402
    ;;
11617
12403
  esac
11618
12404
fi
11644
12430
 
11645
12431
  darwin*)
11646
12432
  # if libdl is installed we need to link against it
11647
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11648
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
12433
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12434
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11649
12435
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11650
12436
  echo $ECHO_N "(cached) $ECHO_C" >&6
11651
12437
else
11658
12444
cat >>conftest.$ac_ext <<_ACEOF
11659
12445
/* end confdefs.h.  */
11660
12446
 
11661
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12447
/* Override any GCC internal prototype to avoid an error.
 
12448
   Use char because int might match the return type of a GCC
 
12449
   builtin and then its argument prototype would still apply.  */
11662
12450
#ifdef __cplusplus
11663
12451
extern "C"
11664
12452
#endif
11665
 
/* We use char because int might match the return type of a gcc2
11666
 
   builtin and then its argument prototype would still apply.  */
11667
12453
char dlopen ();
11668
12454
int
11669
12455
main ()
11670
12456
{
11671
 
dlopen ();
 
12457
return dlopen ();
11672
12458
  ;
11673
12459
  return 0;
11674
12460
}
11675
12461
_ACEOF
11676
12462
rm -f conftest.$ac_objext conftest$ac_exeext
11677
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11678
 
  (eval $ac_link) 2>conftest.er1
 
12463
if { (ac_try="$ac_link"
 
12464
case "(($ac_try" in
 
12465
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12466
  *) ac_try_echo=$ac_try;;
 
12467
esac
 
12468
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12469
  (eval "$ac_link") 2>conftest.er1
11679
12470
  ac_status=$?
11680
12471
  grep -v '^ *+' conftest.er1 >conftest.err
11681
12472
  rm -f conftest.er1
11682
12473
  cat conftest.err >&5
11683
12474
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684
 
  (exit $ac_status); } &&
11685
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11686
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11687
 
  (eval $ac_try) 2>&5
11688
 
  ac_status=$?
11689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690
 
  (exit $ac_status); }; } &&
11691
 
         { ac_try='test -s conftest$ac_exeext'
11692
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11693
 
  (eval $ac_try) 2>&5
11694
 
  ac_status=$?
11695
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696
 
  (exit $ac_status); }; }; then
 
12475
  (exit $ac_status); } && {
 
12476
         test -z "$ac_c_werror_flag" ||
 
12477
         test ! -s conftest.err
 
12478
       } && test -s conftest$ac_exeext &&
 
12479
       $as_test_x conftest$ac_exeext; then
11697
12480
  ac_cv_lib_dl_dlopen=yes
11698
12481
else
11699
12482
  echo "$as_me: failed program was:" >&5
11700
12483
sed 's/^/| /' conftest.$ac_ext >&5
11701
12484
 
11702
 
ac_cv_lib_dl_dlopen=no
 
12485
        ac_cv_lib_dl_dlopen=no
11703
12486
fi
11704
 
rm -f conftest.err conftest.$ac_objext \
 
12487
 
 
12488
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11705
12489
      conftest$ac_exeext conftest.$ac_ext
11706
12490
LIBS=$ac_check_lib_save_LIBS
11707
12491
fi
11708
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11709
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
12492
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12493
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11710
12494
if test $ac_cv_lib_dl_dlopen = yes; then
11711
12495
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11712
12496
else
11720
12504
   ;;
11721
12505
 
11722
12506
  *)
11723
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
11724
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
12507
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
12508
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11725
12509
if test "${ac_cv_func_shl_load+set}" = set; then
11726
12510
  echo $ECHO_N "(cached) $ECHO_C" >&6
11727
12511
else
11748
12532
 
11749
12533
#undef shl_load
11750
12534
 
11751
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12535
/* Override any GCC internal prototype to avoid an error.
 
12536
   Use char because int might match the return type of a GCC
 
12537
   builtin and then its argument prototype would still apply.  */
11752
12538
#ifdef __cplusplus
11753
12539
extern "C"
11754
 
{
11755
12540
#endif
11756
 
/* We use char because int might match the return type of a gcc2
11757
 
   builtin and then its argument prototype would still apply.  */
11758
12541
char shl_load ();
11759
12542
/* The GNU C library defines this for functions which it implements
11760
12543
    to always fail with ENOSYS.  Some functions are actually named
11761
12544
    something starting with __ and the normal name is an alias.  */
11762
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
12545
#if defined __stub_shl_load || defined __stub___shl_load
11763
12546
choke me
11764
 
#else
11765
 
char (*f) () = shl_load;
11766
 
#endif
11767
 
#ifdef __cplusplus
11768
 
}
11769
12547
#endif
11770
12548
 
11771
12549
int
11772
12550
main ()
11773
12551
{
11774
 
return f != shl_load;
 
12552
return shl_load ();
11775
12553
  ;
11776
12554
  return 0;
11777
12555
}
11778
12556
_ACEOF
11779
12557
rm -f conftest.$ac_objext conftest$ac_exeext
11780
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11781
 
  (eval $ac_link) 2>conftest.er1
 
12558
if { (ac_try="$ac_link"
 
12559
case "(($ac_try" in
 
12560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12561
  *) ac_try_echo=$ac_try;;
 
12562
esac
 
12563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12564
  (eval "$ac_link") 2>conftest.er1
11782
12565
  ac_status=$?
11783
12566
  grep -v '^ *+' conftest.er1 >conftest.err
11784
12567
  rm -f conftest.er1
11785
12568
  cat conftest.err >&5
11786
12569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787
 
  (exit $ac_status); } &&
11788
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11789
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11790
 
  (eval $ac_try) 2>&5
11791
 
  ac_status=$?
11792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793
 
  (exit $ac_status); }; } &&
11794
 
         { ac_try='test -s conftest$ac_exeext'
11795
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796
 
  (eval $ac_try) 2>&5
11797
 
  ac_status=$?
11798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799
 
  (exit $ac_status); }; }; then
 
12570
  (exit $ac_status); } && {
 
12571
         test -z "$ac_c_werror_flag" ||
 
12572
         test ! -s conftest.err
 
12573
       } && test -s conftest$ac_exeext &&
 
12574
       $as_test_x conftest$ac_exeext; then
11800
12575
  ac_cv_func_shl_load=yes
11801
12576
else
11802
12577
  echo "$as_me: failed program was:" >&5
11803
12578
sed 's/^/| /' conftest.$ac_ext >&5
11804
12579
 
11805
 
ac_cv_func_shl_load=no
 
12580
        ac_cv_func_shl_load=no
11806
12581
fi
11807
 
rm -f conftest.err conftest.$ac_objext \
 
12582
 
 
12583
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11808
12584
      conftest$ac_exeext conftest.$ac_ext
11809
12585
fi
11810
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11811
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
12586
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
12587
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11812
12588
if test $ac_cv_func_shl_load = yes; then
11813
12589
  lt_cv_dlopen="shl_load"
11814
12590
else
11815
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11816
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
12591
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
12592
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11817
12593
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11818
12594
  echo $ECHO_N "(cached) $ECHO_C" >&6
11819
12595
else
11826
12602
cat >>conftest.$ac_ext <<_ACEOF
11827
12603
/* end confdefs.h.  */
11828
12604
 
11829
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12605
/* Override any GCC internal prototype to avoid an error.
 
12606
   Use char because int might match the return type of a GCC
 
12607
   builtin and then its argument prototype would still apply.  */
11830
12608
#ifdef __cplusplus
11831
12609
extern "C"
11832
12610
#endif
11833
 
/* We use char because int might match the return type of a gcc2
11834
 
   builtin and then its argument prototype would still apply.  */
11835
12611
char shl_load ();
11836
12612
int
11837
12613
main ()
11838
12614
{
11839
 
shl_load ();
 
12615
return shl_load ();
11840
12616
  ;
11841
12617
  return 0;
11842
12618
}
11843
12619
_ACEOF
11844
12620
rm -f conftest.$ac_objext conftest$ac_exeext
11845
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11846
 
  (eval $ac_link) 2>conftest.er1
 
12621
if { (ac_try="$ac_link"
 
12622
case "(($ac_try" in
 
12623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12624
  *) ac_try_echo=$ac_try;;
 
12625
esac
 
12626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12627
  (eval "$ac_link") 2>conftest.er1
11847
12628
  ac_status=$?
11848
12629
  grep -v '^ *+' conftest.er1 >conftest.err
11849
12630
  rm -f conftest.er1
11850
12631
  cat conftest.err >&5
11851
12632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852
 
  (exit $ac_status); } &&
11853
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855
 
  (eval $ac_try) 2>&5
11856
 
  ac_status=$?
11857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858
 
  (exit $ac_status); }; } &&
11859
 
         { ac_try='test -s conftest$ac_exeext'
11860
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861
 
  (eval $ac_try) 2>&5
11862
 
  ac_status=$?
11863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864
 
  (exit $ac_status); }; }; then
 
12633
  (exit $ac_status); } && {
 
12634
         test -z "$ac_c_werror_flag" ||
 
12635
         test ! -s conftest.err
 
12636
       } && test -s conftest$ac_exeext &&
 
12637
       $as_test_x conftest$ac_exeext; then
11865
12638
  ac_cv_lib_dld_shl_load=yes
11866
12639
else
11867
12640
  echo "$as_me: failed program was:" >&5
11868
12641
sed 's/^/| /' conftest.$ac_ext >&5
11869
12642
 
11870
 
ac_cv_lib_dld_shl_load=no
 
12643
        ac_cv_lib_dld_shl_load=no
11871
12644
fi
11872
 
rm -f conftest.err conftest.$ac_objext \
 
12645
 
 
12646
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11873
12647
      conftest$ac_exeext conftest.$ac_ext
11874
12648
LIBS=$ac_check_lib_save_LIBS
11875
12649
fi
11876
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11877
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
12650
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
12651
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11878
12652
if test $ac_cv_lib_dld_shl_load = yes; then
11879
12653
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11880
12654
else
11881
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
11882
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
12655
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
12656
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11883
12657
if test "${ac_cv_func_dlopen+set}" = set; then
11884
12658
  echo $ECHO_N "(cached) $ECHO_C" >&6
11885
12659
else
11906
12680
 
11907
12681
#undef dlopen
11908
12682
 
11909
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12683
/* Override any GCC internal prototype to avoid an error.
 
12684
   Use char because int might match the return type of a GCC
 
12685
   builtin and then its argument prototype would still apply.  */
11910
12686
#ifdef __cplusplus
11911
12687
extern "C"
11912
 
{
11913
12688
#endif
11914
 
/* We use char because int might match the return type of a gcc2
11915
 
   builtin and then its argument prototype would still apply.  */
11916
12689
char dlopen ();
11917
12690
/* The GNU C library defines this for functions which it implements
11918
12691
    to always fail with ENOSYS.  Some functions are actually named
11919
12692
    something starting with __ and the normal name is an alias.  */
11920
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
12693
#if defined __stub_dlopen || defined __stub___dlopen
11921
12694
choke me
11922
 
#else
11923
 
char (*f) () = dlopen;
11924
 
#endif
11925
 
#ifdef __cplusplus
11926
 
}
11927
12695
#endif
11928
12696
 
11929
12697
int
11930
12698
main ()
11931
12699
{
11932
 
return f != dlopen;
 
12700
return dlopen ();
11933
12701
  ;
11934
12702
  return 0;
11935
12703
}
11936
12704
_ACEOF
11937
12705
rm -f conftest.$ac_objext conftest$ac_exeext
11938
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11939
 
  (eval $ac_link) 2>conftest.er1
 
12706
if { (ac_try="$ac_link"
 
12707
case "(($ac_try" in
 
12708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12709
  *) ac_try_echo=$ac_try;;
 
12710
esac
 
12711
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12712
  (eval "$ac_link") 2>conftest.er1
11940
12713
  ac_status=$?
11941
12714
  grep -v '^ *+' conftest.er1 >conftest.err
11942
12715
  rm -f conftest.er1
11943
12716
  cat conftest.err >&5
11944
12717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945
 
  (exit $ac_status); } &&
11946
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11947
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948
 
  (eval $ac_try) 2>&5
11949
 
  ac_status=$?
11950
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951
 
  (exit $ac_status); }; } &&
11952
 
         { ac_try='test -s conftest$ac_exeext'
11953
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954
 
  (eval $ac_try) 2>&5
11955
 
  ac_status=$?
11956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957
 
  (exit $ac_status); }; }; then
 
12718
  (exit $ac_status); } && {
 
12719
         test -z "$ac_c_werror_flag" ||
 
12720
         test ! -s conftest.err
 
12721
       } && test -s conftest$ac_exeext &&
 
12722
       $as_test_x conftest$ac_exeext; then
11958
12723
  ac_cv_func_dlopen=yes
11959
12724
else
11960
12725
  echo "$as_me: failed program was:" >&5
11961
12726
sed 's/^/| /' conftest.$ac_ext >&5
11962
12727
 
11963
 
ac_cv_func_dlopen=no
 
12728
        ac_cv_func_dlopen=no
11964
12729
fi
11965
 
rm -f conftest.err conftest.$ac_objext \
 
12730
 
 
12731
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11966
12732
      conftest$ac_exeext conftest.$ac_ext
11967
12733
fi
11968
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11969
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
12734
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
12735
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11970
12736
if test $ac_cv_func_dlopen = yes; then
11971
12737
  lt_cv_dlopen="dlopen"
11972
12738
else
11973
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11974
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
12739
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12740
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11975
12741
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11976
12742
  echo $ECHO_N "(cached) $ECHO_C" >&6
11977
12743
else
11984
12750
cat >>conftest.$ac_ext <<_ACEOF
11985
12751
/* end confdefs.h.  */
11986
12752
 
11987
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12753
/* Override any GCC internal prototype to avoid an error.
 
12754
   Use char because int might match the return type of a GCC
 
12755
   builtin and then its argument prototype would still apply.  */
11988
12756
#ifdef __cplusplus
11989
12757
extern "C"
11990
12758
#endif
11991
 
/* We use char because int might match the return type of a gcc2
11992
 
   builtin and then its argument prototype would still apply.  */
11993
12759
char dlopen ();
11994
12760
int
11995
12761
main ()
11996
12762
{
11997
 
dlopen ();
 
12763
return dlopen ();
11998
12764
  ;
11999
12765
  return 0;
12000
12766
}
12001
12767
_ACEOF
12002
12768
rm -f conftest.$ac_objext conftest$ac_exeext
12003
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12004
 
  (eval $ac_link) 2>conftest.er1
 
12769
if { (ac_try="$ac_link"
 
12770
case "(($ac_try" in
 
12771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12772
  *) ac_try_echo=$ac_try;;
 
12773
esac
 
12774
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12775
  (eval "$ac_link") 2>conftest.er1
12005
12776
  ac_status=$?
12006
12777
  grep -v '^ *+' conftest.er1 >conftest.err
12007
12778
  rm -f conftest.er1
12008
12779
  cat conftest.err >&5
12009
12780
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010
 
  (exit $ac_status); } &&
12011
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12012
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12013
 
  (eval $ac_try) 2>&5
12014
 
  ac_status=$?
12015
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016
 
  (exit $ac_status); }; } &&
12017
 
         { ac_try='test -s conftest$ac_exeext'
12018
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019
 
  (eval $ac_try) 2>&5
12020
 
  ac_status=$?
12021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022
 
  (exit $ac_status); }; }; then
 
12781
  (exit $ac_status); } && {
 
12782
         test -z "$ac_c_werror_flag" ||
 
12783
         test ! -s conftest.err
 
12784
       } && test -s conftest$ac_exeext &&
 
12785
       $as_test_x conftest$ac_exeext; then
12023
12786
  ac_cv_lib_dl_dlopen=yes
12024
12787
else
12025
12788
  echo "$as_me: failed program was:" >&5
12026
12789
sed 's/^/| /' conftest.$ac_ext >&5
12027
12790
 
12028
 
ac_cv_lib_dl_dlopen=no
 
12791
        ac_cv_lib_dl_dlopen=no
12029
12792
fi
12030
 
rm -f conftest.err conftest.$ac_objext \
 
12793
 
 
12794
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12031
12795
      conftest$ac_exeext conftest.$ac_ext
12032
12796
LIBS=$ac_check_lib_save_LIBS
12033
12797
fi
12034
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12035
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
12798
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12799
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12036
12800
if test $ac_cv_lib_dl_dlopen = yes; then
12037
12801
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12038
12802
else
12039
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12040
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
12803
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
12804
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12041
12805
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12042
12806
  echo $ECHO_N "(cached) $ECHO_C" >&6
12043
12807
else
12050
12814
cat >>conftest.$ac_ext <<_ACEOF
12051
12815
/* end confdefs.h.  */
12052
12816
 
12053
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12817
/* Override any GCC internal prototype to avoid an error.
 
12818
   Use char because int might match the return type of a GCC
 
12819
   builtin and then its argument prototype would still apply.  */
12054
12820
#ifdef __cplusplus
12055
12821
extern "C"
12056
12822
#endif
12057
 
/* We use char because int might match the return type of a gcc2
12058
 
   builtin and then its argument prototype would still apply.  */
12059
12823
char dlopen ();
12060
12824
int
12061
12825
main ()
12062
12826
{
12063
 
dlopen ();
 
12827
return dlopen ();
12064
12828
  ;
12065
12829
  return 0;
12066
12830
}
12067
12831
_ACEOF
12068
12832
rm -f conftest.$ac_objext conftest$ac_exeext
12069
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12070
 
  (eval $ac_link) 2>conftest.er1
 
12833
if { (ac_try="$ac_link"
 
12834
case "(($ac_try" in
 
12835
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12836
  *) ac_try_echo=$ac_try;;
 
12837
esac
 
12838
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12839
  (eval "$ac_link") 2>conftest.er1
12071
12840
  ac_status=$?
12072
12841
  grep -v '^ *+' conftest.er1 >conftest.err
12073
12842
  rm -f conftest.er1
12074
12843
  cat conftest.err >&5
12075
12844
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076
 
  (exit $ac_status); } &&
12077
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12078
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079
 
  (eval $ac_try) 2>&5
12080
 
  ac_status=$?
12081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082
 
  (exit $ac_status); }; } &&
12083
 
         { ac_try='test -s conftest$ac_exeext'
12084
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085
 
  (eval $ac_try) 2>&5
12086
 
  ac_status=$?
12087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088
 
  (exit $ac_status); }; }; then
 
12845
  (exit $ac_status); } && {
 
12846
         test -z "$ac_c_werror_flag" ||
 
12847
         test ! -s conftest.err
 
12848
       } && test -s conftest$ac_exeext &&
 
12849
       $as_test_x conftest$ac_exeext; then
12089
12850
  ac_cv_lib_svld_dlopen=yes
12090
12851
else
12091
12852
  echo "$as_me: failed program was:" >&5
12092
12853
sed 's/^/| /' conftest.$ac_ext >&5
12093
12854
 
12094
 
ac_cv_lib_svld_dlopen=no
 
12855
        ac_cv_lib_svld_dlopen=no
12095
12856
fi
12096
 
rm -f conftest.err conftest.$ac_objext \
 
12857
 
 
12858
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12097
12859
      conftest$ac_exeext conftest.$ac_ext
12098
12860
LIBS=$ac_check_lib_save_LIBS
12099
12861
fi
12100
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12101
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
12862
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
12863
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12102
12864
if test $ac_cv_lib_svld_dlopen = yes; then
12103
12865
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12104
12866
else
12105
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12106
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
12867
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
12868
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12107
12869
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12108
12870
  echo $ECHO_N "(cached) $ECHO_C" >&6
12109
12871
else
12116
12878
cat >>conftest.$ac_ext <<_ACEOF
12117
12879
/* end confdefs.h.  */
12118
12880
 
12119
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12881
/* Override any GCC internal prototype to avoid an error.
 
12882
   Use char because int might match the return type of a GCC
 
12883
   builtin and then its argument prototype would still apply.  */
12120
12884
#ifdef __cplusplus
12121
12885
extern "C"
12122
12886
#endif
12123
 
/* We use char because int might match the return type of a gcc2
12124
 
   builtin and then its argument prototype would still apply.  */
12125
12887
char dld_link ();
12126
12888
int
12127
12889
main ()
12128
12890
{
12129
 
dld_link ();
 
12891
return dld_link ();
12130
12892
  ;
12131
12893
  return 0;
12132
12894
}
12133
12895
_ACEOF
12134
12896
rm -f conftest.$ac_objext conftest$ac_exeext
12135
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12136
 
  (eval $ac_link) 2>conftest.er1
 
12897
if { (ac_try="$ac_link"
 
12898
case "(($ac_try" in
 
12899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12900
  *) ac_try_echo=$ac_try;;
 
12901
esac
 
12902
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12903
  (eval "$ac_link") 2>conftest.er1
12137
12904
  ac_status=$?
12138
12905
  grep -v '^ *+' conftest.er1 >conftest.err
12139
12906
  rm -f conftest.er1
12140
12907
  cat conftest.err >&5
12141
12908
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142
 
  (exit $ac_status); } &&
12143
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12144
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12145
 
  (eval $ac_try) 2>&5
12146
 
  ac_status=$?
12147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12148
 
  (exit $ac_status); }; } &&
12149
 
         { ac_try='test -s conftest$ac_exeext'
12150
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12151
 
  (eval $ac_try) 2>&5
12152
 
  ac_status=$?
12153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154
 
  (exit $ac_status); }; }; then
 
12909
  (exit $ac_status); } && {
 
12910
         test -z "$ac_c_werror_flag" ||
 
12911
         test ! -s conftest.err
 
12912
       } && test -s conftest$ac_exeext &&
 
12913
       $as_test_x conftest$ac_exeext; then
12155
12914
  ac_cv_lib_dld_dld_link=yes
12156
12915
else
12157
12916
  echo "$as_me: failed program was:" >&5
12158
12917
sed 's/^/| /' conftest.$ac_ext >&5
12159
12918
 
12160
 
ac_cv_lib_dld_dld_link=no
 
12919
        ac_cv_lib_dld_dld_link=no
12161
12920
fi
12162
 
rm -f conftest.err conftest.$ac_objext \
 
12921
 
 
12922
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12163
12923
      conftest$ac_exeext conftest.$ac_ext
12164
12924
LIBS=$ac_check_lib_save_LIBS
12165
12925
fi
12166
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12167
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
12926
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
12927
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12168
12928
if test $ac_cv_lib_dld_dld_link = yes; then
12169
12929
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12170
12930
fi
12204
12964
    save_LIBS="$LIBS"
12205
12965
    LIBS="$lt_cv_dlopen_libs $LIBS"
12206
12966
 
12207
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12208
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
12967
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
12968
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12209
12969
if test "${lt_cv_dlopen_self+set}" = set; then
12210
12970
  echo $ECHO_N "(cached) $ECHO_C" >&6
12211
12971
else
12299
13059
 
12300
13060
    
12301
13061
fi
12302
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12303
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
13062
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
13063
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12304
13064
 
12305
13065
    if test "x$lt_cv_dlopen_self" = xyes; then
12306
13066
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12307
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12308
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
13067
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
13068
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12309
13069
if test "${lt_cv_dlopen_self_static+set}" = set; then
12310
13070
  echo $ECHO_N "(cached) $ECHO_C" >&6
12311
13071
else
12399
13159
 
12400
13160
      
12401
13161
fi
12402
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12403
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
13162
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
13163
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12404
13164
    fi
12405
13165
 
12406
13166
    CPPFLAGS="$save_CPPFLAGS"
12422
13182
 
12423
13183
 
12424
13184
# Report which library types will actually be built
12425
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12426
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12427
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12428
 
echo "${ECHO_T}$can_build_shared" >&6
 
13185
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
13186
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
13187
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
13188
echo "${ECHO_T}$can_build_shared" >&6; }
12429
13189
 
12430
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12431
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
13190
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
13191
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12432
13192
test "$can_build_shared" = "no" && enable_shared=no
12433
13193
 
12434
13194
# On AIX, shared libraries and static libraries use the same namespace, and
12448
13208
  fi
12449
13209
    ;;
12450
13210
esac
12451
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
12452
 
echo "${ECHO_T}$enable_shared" >&6
 
13211
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
13212
echo "${ECHO_T}$enable_shared" >&6; }
12453
13213
 
12454
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12455
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
13214
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
13215
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12456
13216
# Make sure either enable_shared or enable_static is yes.
12457
13217
test "$enable_shared" = yes || enable_static=yes
12458
 
echo "$as_me:$LINENO: result: $enable_static" >&5
12459
 
echo "${ECHO_T}$enable_static" >&6
 
13218
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
13219
echo "${ECHO_T}$enable_static" >&6; }
12460
13220
 
12461
13221
# The else clause should only fire when bootstrapping the
12462
13222
# libtool distribution, otherwise you forgot to ship ltmain.sh
12948
13708
CC="$lt_save_CC"
12949
13709
 
12950
13710
 
12951
 
# Check whether --with-tags or --without-tags was given.
 
13711
# Check whether --with-tags was given.
12952
13712
if test "${with_tags+set}" = set; then
12953
 
  withval="$with_tags"
12954
 
  tagnames="$withval"
12955
 
fi; 
 
13713
  withval=$with_tags; tagnames="$withval"
 
13714
fi
 
13715
 
12956
13716
 
12957
13717
if test -f "$ltmain" && test -n "$tagnames"; then
12958
13718
  if test ! -f "${ofile}"; then
13006
13766
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13007
13767
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13008
13768
            (test "X$CXX" != "Xg++"))) ; then
13009
 
          ac_ext=cc
 
13769
          ac_ext=cpp
13010
13770
ac_cpp='$CXXCPP $CPPFLAGS'
13011
13771
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13012
13772
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13125
13885
  # Set up default GNU C++ configuration
13126
13886
 
13127
13887
  
13128
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
13888
# Check whether --with-gnu-ld was given.
13129
13889
if test "${with_gnu_ld+set}" = set; then
13130
 
  withval="$with_gnu_ld"
13131
 
  test "$withval" = no || with_gnu_ld=yes
 
13890
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13132
13891
else
13133
13892
  with_gnu_ld=no
13134
 
fi; 
 
13893
fi
 
13894
 
13135
13895
ac_prog=ld
13136
13896
if test "$GCC" = yes; then
13137
13897
  # Check if gcc -print-prog-name=ld gives a path.
13138
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13139
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
13898
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
13899
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13140
13900
  case $host in
13141
13901
  *-*-mingw*)
13142
13902
    # gcc leaves a trailing carriage return which upsets mingw
13165
13925
    ;;
13166
13926
  esac
13167
13927
elif test "$with_gnu_ld" = yes; then
13168
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
13169
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
13928
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
13929
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13170
13930
else
13171
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13172
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
13931
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
13932
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13173
13933
fi
13174
13934
if test "${lt_cv_path_LD+set}" = set; then
13175
13935
  echo $ECHO_N "(cached) $ECHO_C" >&6
13202
13962
 
13203
13963
LD="$lt_cv_path_LD"
13204
13964
if test -n "$LD"; then
13205
 
  echo "$as_me:$LINENO: result: $LD" >&5
13206
 
echo "${ECHO_T}$LD" >&6
 
13965
  { echo "$as_me:$LINENO: result: $LD" >&5
 
13966
echo "${ECHO_T}$LD" >&6; }
13207
13967
else
13208
 
  echo "$as_me:$LINENO: result: no" >&5
13209
 
echo "${ECHO_T}no" >&6
 
13968
  { echo "$as_me:$LINENO: result: no" >&5
 
13969
echo "${ECHO_T}no" >&6; }
13210
13970
fi
13211
13971
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13212
13972
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13213
13973
   { (exit 1); exit 1; }; }
13214
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13215
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
13974
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
13975
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13216
13976
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13217
13977
  echo $ECHO_N "(cached) $ECHO_C" >&6
13218
13978
else
13226
13986
  ;;
13227
13987
esac
13228
13988
fi
13229
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13230
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
13989
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
13990
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13231
13991
with_gnu_ld=$lt_cv_prog_gnu_ld
13232
13992
 
13233
13993
 
13277
14037
fi
13278
14038
 
13279
14039
# PORTME: fill in a description of your system's C++ link characteristics
13280
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13281
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14040
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14041
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13282
14042
ld_shlibs_CXX=yes
13283
14043
case $host_os in
13284
14044
  aix3*)
13390
14150
}
13391
14151
_ACEOF
13392
14152
rm -f conftest.$ac_objext conftest$ac_exeext
13393
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13394
 
  (eval $ac_link) 2>conftest.er1
 
14153
if { (ac_try="$ac_link"
 
14154
case "(($ac_try" in
 
14155
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14156
  *) ac_try_echo=$ac_try;;
 
14157
esac
 
14158
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14159
  (eval "$ac_link") 2>conftest.er1
13395
14160
  ac_status=$?
13396
14161
  grep -v '^ *+' conftest.er1 >conftest.err
13397
14162
  rm -f conftest.er1
13398
14163
  cat conftest.err >&5
13399
14164
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400
 
  (exit $ac_status); } &&
13401
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
13402
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403
 
  (eval $ac_try) 2>&5
13404
 
  ac_status=$?
13405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406
 
  (exit $ac_status); }; } &&
13407
 
         { ac_try='test -s conftest$ac_exeext'
13408
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13409
 
  (eval $ac_try) 2>&5
13410
 
  ac_status=$?
13411
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412
 
  (exit $ac_status); }; }; then
 
14165
  (exit $ac_status); } && {
 
14166
         test -z "$ac_cxx_werror_flag" ||
 
14167
         test ! -s conftest.err
 
14168
       } && test -s conftest$ac_exeext &&
 
14169
       $as_test_x conftest$ac_exeext; then
13413
14170
  
13414
14171
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13415
14172
}'`
13420
14177
  echo "$as_me: failed program was:" >&5
13421
14178
sed 's/^/| /' conftest.$ac_ext >&5
13422
14179
 
 
14180
        
13423
14181
fi
13424
 
rm -f conftest.err conftest.$ac_objext \
 
14182
 
 
14183
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13425
14184
      conftest$ac_exeext conftest.$ac_ext
13426
14185
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13427
14186
 
13451
14210
}
13452
14211
_ACEOF
13453
14212
rm -f conftest.$ac_objext conftest$ac_exeext
13454
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13455
 
  (eval $ac_link) 2>conftest.er1
 
14213
if { (ac_try="$ac_link"
 
14214
case "(($ac_try" in
 
14215
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14216
  *) ac_try_echo=$ac_try;;
 
14217
esac
 
14218
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14219
  (eval "$ac_link") 2>conftest.er1
13456
14220
  ac_status=$?
13457
14221
  grep -v '^ *+' conftest.er1 >conftest.err
13458
14222
  rm -f conftest.er1
13459
14223
  cat conftest.err >&5
13460
14224
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461
 
  (exit $ac_status); } &&
13462
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
13463
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13464
 
  (eval $ac_try) 2>&5
13465
 
  ac_status=$?
13466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467
 
  (exit $ac_status); }; } &&
13468
 
         { ac_try='test -s conftest$ac_exeext'
13469
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470
 
  (eval $ac_try) 2>&5
13471
 
  ac_status=$?
13472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473
 
  (exit $ac_status); }; }; then
 
14225
  (exit $ac_status); } && {
 
14226
         test -z "$ac_cxx_werror_flag" ||
 
14227
         test ! -s conftest.err
 
14228
       } && test -s conftest$ac_exeext &&
 
14229
       $as_test_x conftest$ac_exeext; then
13474
14230
  
13475
14231
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13476
14232
}'`
13481
14237
  echo "$as_me: failed program was:" >&5
13482
14238
sed 's/^/| /' conftest.$ac_ext >&5
13483
14239
 
 
14240
        
13484
14241
fi
13485
 
rm -f conftest.err conftest.$ac_objext \
 
14242
 
 
14243
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13486
14244
      conftest$ac_exeext conftest.$ac_ext
13487
14245
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13488
14246
 
13630
14388
  freebsd-elf*)
13631
14389
    archive_cmds_need_lc_CXX=no
13632
14390
    ;;
13633
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
14391
  freebsd* | dragonfly*)
13634
14392
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13635
14393
    # conventions
13636
14394
    ld_shlibs_CXX=yes
13789
14547
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13790
14548
    hardcode_libdir_separator_CXX=:
13791
14549
    ;;
13792
 
  linux*)
 
14550
  linux* | k*bsd*-gnu)
13793
14551
    case $cc_basename in
13794
14552
      KCC*)
13795
14553
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13891
14649
        ;;
13892
14650
    esac
13893
14651
    ;;
13894
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14652
  netbsd* | netbsdelf*-gnu)
13895
14653
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13896
14654
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13897
14655
      wlarc=
14213
14971
    ld_shlibs_CXX=no
14214
14972
    ;;
14215
14973
esac
14216
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14217
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
14974
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14975
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14218
14976
test "$ld_shlibs_CXX" = no && can_build_shared=no
14219
14977
 
14220
14978
GCC_CXX="$GXX"
14357
15115
lt_prog_compiler_pic_CXX=
14358
15116
lt_prog_compiler_static_CXX=
14359
15117
 
14360
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14361
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
15118
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
15119
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14362
15120
 
14363
15121
  # C++ specific cases for pic, static, wl, etc.
14364
15122
  if test "$GXX" = yes; then
14462
15220
            ;;
14463
15221
        esac
14464
15222
        ;;
14465
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
15223
      freebsd* | dragonfly*)
14466
15224
        # FreeBSD uses GNU C++
14467
15225
        ;;
14468
15226
      hpux9* | hpux10* | hpux11*)
14505
15263
            ;;
14506
15264
        esac
14507
15265
        ;;
14508
 
      linux*)
 
15266
      linux* | k*bsd*-gnu)
14509
15267
        case $cc_basename in
14510
15268
          KCC*)
14511
15269
            # KAI C++ Compiler
14548
15306
            ;;
14549
15307
        esac
14550
15308
        ;;
14551
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15309
      netbsd* | netbsdelf*-gnu)
14552
15310
        ;;
14553
15311
      osf3* | osf4* | osf5*)
14554
15312
        case $cc_basename in
14631
15389
    esac
14632
15390
  fi
14633
15391
 
14634
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14635
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
15392
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
15393
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14636
15394
 
14637
15395
#
14638
15396
# Check to make sure the PIC flag actually works.
14639
15397
#
14640
15398
if test -n "$lt_prog_compiler_pic_CXX"; then
14641
15399
  
14642
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14643
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
15400
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
15401
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14644
15402
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14645
15403
  echo $ECHO_N "(cached) $ECHO_C" >&6
14646
15404
else
14674
15432
   $rm conftest*
14675
15433
 
14676
15434
fi
14677
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14678
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
15435
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
15436
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
14679
15437
 
14680
15438
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
14681
15439
    case $lt_prog_compiler_pic_CXX in
14702
15460
# Check to make sure the static flag actually works.
14703
15461
#
14704
15462
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14705
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14706
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
15463
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
15464
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14707
15465
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14708
15466
  echo $ECHO_N "(cached) $ECHO_C" >&6
14709
15467
else
14730
15488
   LDFLAGS="$save_LDFLAGS"
14731
15489
 
14732
15490
fi
14733
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14734
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
15491
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
15492
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
14735
15493
 
14736
15494
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
14737
15495
    :
14740
15498
fi
14741
15499
 
14742
15500
 
14743
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14744
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
15501
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
15502
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14745
15503
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14746
15504
  echo $ECHO_N "(cached) $ECHO_C" >&6
14747
15505
else
14787
15545
   $rm conftest*
14788
15546
 
14789
15547
fi
14790
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14791
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
15548
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
15549
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14792
15550
 
14793
15551
 
14794
15552
hard_links="nottested"
14795
15553
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14796
15554
  # do not overwrite the value of need_locks provided by the user
14797
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14798
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
15555
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
15556
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14799
15557
  hard_links=yes
14800
15558
  $rm conftest*
14801
15559
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14802
15560
  touch conftest.a
14803
15561
  ln conftest.a conftest.b 2>&5 || hard_links=no
14804
15562
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14805
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
14806
 
echo "${ECHO_T}$hard_links" >&6
 
15563
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
15564
echo "${ECHO_T}$hard_links" >&6; }
14807
15565
  if test "$hard_links" = no; then
14808
15566
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14809
15567
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14813
15571
  need_locks=no
14814
15572
fi
14815
15573
 
14816
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14817
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
15574
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
15575
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14818
15576
 
14819
15577
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14820
15578
  case $host_os in
14833
15591
  cygwin* | mingw*)
14834
15592
    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'
14835
15593
  ;;
14836
 
  kfreebsd*-gnu)
14837
 
    link_all_deplibs_CXX=no
14838
 
  ;;
14839
 
  linux*)
 
15594
  linux* | k*bsd*-gnu)
14840
15595
    link_all_deplibs_CXX=no
14841
15596
  ;;
14842
15597
  *)
14844
15599
  ;;
14845
15600
  esac
14846
15601
 
14847
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14848
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
15602
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
15603
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14849
15604
test "$ld_shlibs_CXX" = no && can_build_shared=no
14850
15605
 
14851
15606
#
14865
15620
      # Test whether the compiler implicitly links with -lc since on some
14866
15621
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14867
15622
      # to ld, don't add -lc before -lgcc.
14868
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14869
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15623
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15624
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14870
15625
      $rm conftest*
14871
15626
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14872
15627
 
14903
15658
        cat conftest.err 1>&5
14904
15659
      fi
14905
15660
      $rm conftest*
14906
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14907
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
15661
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
15662
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14908
15663
      ;;
14909
15664
    esac
14910
15665
  fi
14911
15666
  ;;
14912
15667
esac
14913
15668
 
14914
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14915
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15669
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15670
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14916
15671
library_names_spec=
14917
15672
libname_spec='lib$name'
14918
15673
soname_spec=
15118
15873
  dynamic_linker=no
15119
15874
  ;;
15120
15875
 
15121
 
kfreebsd*-gnu)
15122
 
  version_type=linux
15123
 
  need_lib_prefix=no
15124
 
  need_version=no
15125
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15126
 
  soname_spec='${libname}${release}${shared_ext}$major'
15127
 
  shlibpath_var=LD_LIBRARY_PATH
15128
 
  shlibpath_overrides_runpath=no
15129
 
  hardcode_into_libs=yes
15130
 
  dynamic_linker='GNU ld.so'
15131
 
  ;;
15132
 
 
15133
15876
freebsd* | dragonfly*)
15134
15877
  # DragonFly does not have aout.  When/if they implement a new
15135
15878
  # versioning mechanism, adjust this.
15285
16028
  ;;
15286
16029
 
15287
16030
# This must be Linux ELF.
15288
 
linux*)
 
16031
linux* | k*bsd*-gnu)
15289
16032
  version_type=linux
15290
16033
  need_lib_prefix=no
15291
16034
  need_version=no
15326
16069
  dynamic_linker='NetBSD ld.elf_so'
15327
16070
  ;;
15328
16071
 
15329
 
knetbsd*-gnu)
15330
 
  version_type=linux
15331
 
  need_lib_prefix=no
15332
 
  need_version=no
15333
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15334
 
  soname_spec='${libname}${release}${shared_ext}$major'
15335
 
  shlibpath_var=LD_LIBRARY_PATH
15336
 
  shlibpath_overrides_runpath=no
15337
 
  hardcode_into_libs=yes
15338
 
  dynamic_linker='GNU ld.so'
15339
 
  ;;
15340
 
 
15341
16072
netbsd*)
15342
16073
  version_type=sunos
15343
16074
  need_lib_prefix=no
15511
16242
  dynamic_linker=no
15512
16243
  ;;
15513
16244
esac
15514
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15515
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16245
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16246
echo "${ECHO_T}$dynamic_linker" >&6; }
15516
16247
test "$dynamic_linker" = no && can_build_shared=no
15517
16248
 
15518
16249
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15520
16251
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15521
16252
fi
15522
16253
 
15523
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15524
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16254
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16255
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15525
16256
hardcode_action_CXX=
15526
16257
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15527
16258
   test -n "$runpath_var_CXX" || \
15545
16276
  # directories.
15546
16277
  hardcode_action_CXX=unsupported
15547
16278
fi
15548
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15549
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
16279
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
16280
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15550
16281
 
15551
16282
if test "$hardcode_action_CXX" = relink; then
15552
16283
  # Fast installation is not supported
16071
16802
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16072
16803
 
16073
16804
 
16074
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16075
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
16076
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
16077
 
echo "${ECHO_T}$can_build_shared" >&6
 
16805
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
16806
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
16807
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
16808
echo "${ECHO_T}$can_build_shared" >&6; }
16078
16809
 
16079
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16080
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
16810
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
16811
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16081
16812
test "$can_build_shared" = "no" && enable_shared=no
16082
16813
 
16083
16814
# On AIX, shared libraries and static libraries use the same namespace, and
16096
16827
  fi
16097
16828
  ;;
16098
16829
esac
16099
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
16100
 
echo "${ECHO_T}$enable_shared" >&6
 
16830
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
16831
echo "${ECHO_T}$enable_shared" >&6; }
16101
16832
 
16102
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16103
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
16833
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
16834
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16104
16835
# Make sure either enable_shared or enable_static is yes.
16105
16836
test "$enable_shared" = yes || enable_static=yes
16106
 
echo "$as_me:$LINENO: result: $enable_static" >&5
16107
 
echo "${ECHO_T}$enable_static" >&6
 
16837
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
16838
echo "${ECHO_T}$enable_static" >&6; }
16108
16839
 
16109
16840
GCC_F77="$G77"
16110
16841
LD_F77="$LD"
16113
16844
lt_prog_compiler_pic_F77=
16114
16845
lt_prog_compiler_static_F77=
16115
16846
 
16116
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16117
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16847
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16848
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16118
16849
 
16119
16850
  if test "$GCC" = yes; then
16120
16851
    lt_prog_compiler_wl_F77='-Wl,'
16243
16974
      lt_prog_compiler_static_F77='-Bstatic'
16244
16975
      ;;
16245
16976
 
16246
 
    linux*)
 
16977
    linux* | k*bsd*-gnu)
16247
16978
      case $cc_basename in
16248
16979
      icc* | ecc*)
16249
16980
        lt_prog_compiler_wl_F77='-Wl,'
16323
17054
    esac
16324
17055
  fi
16325
17056
 
16326
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16327
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
17057
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
17058
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
16328
17059
 
16329
17060
#
16330
17061
# Check to make sure the PIC flag actually works.
16331
17062
#
16332
17063
if test -n "$lt_prog_compiler_pic_F77"; then
16333
17064
  
16334
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16335
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
17065
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
17066
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
16336
17067
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
16337
17068
  echo $ECHO_N "(cached) $ECHO_C" >&6
16338
17069
else
16366
17097
   $rm conftest*
16367
17098
 
16368
17099
fi
16369
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
16370
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
17100
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
17101
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
16371
17102
 
16372
17103
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
16373
17104
    case $lt_prog_compiler_pic_F77 in
16394
17125
# Check to make sure the static flag actually works.
16395
17126
#
16396
17127
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
16397
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16398
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
17128
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17129
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16399
17130
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
16400
17131
  echo $ECHO_N "(cached) $ECHO_C" >&6
16401
17132
else
16422
17153
   LDFLAGS="$save_LDFLAGS"
16423
17154
 
16424
17155
fi
16425
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
16426
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
17156
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
17157
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
16427
17158
 
16428
17159
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
16429
17160
    :
16432
17163
fi
16433
17164
 
16434
17165
 
16435
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16436
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17166
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17167
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16437
17168
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16438
17169
  echo $ECHO_N "(cached) $ECHO_C" >&6
16439
17170
else
16479
17210
   $rm conftest*
16480
17211
 
16481
17212
fi
16482
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16483
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
17213
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
17214
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16484
17215
 
16485
17216
 
16486
17217
hard_links="nottested"
16487
17218
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16488
17219
  # do not overwrite the value of need_locks provided by the user
16489
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16490
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17220
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17221
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16491
17222
  hard_links=yes
16492
17223
  $rm conftest*
16493
17224
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16494
17225
  touch conftest.a
16495
17226
  ln conftest.a conftest.b 2>&5 || hard_links=no
16496
17227
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16497
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16498
 
echo "${ECHO_T}$hard_links" >&6
 
17228
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17229
echo "${ECHO_T}$hard_links" >&6; }
16499
17230
  if test "$hard_links" = no; then
16500
17231
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16501
17232
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16505
17236
  need_locks=no
16506
17237
fi
16507
17238
 
16508
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16509
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17239
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17240
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16510
17241
 
16511
17242
  runpath_var=
16512
17243
  allow_undefined_flag_F77=
16682
17413
      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'
16683
17414
      ;;
16684
17415
 
16685
 
    linux*)
 
17416
    linux* | k*bsd*-gnu)
16686
17417
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16687
17418
        tmp_addflag=
16688
17419
        case $cc_basename,$host_cpu in
16714
17445
      fi
16715
17446
      ;;
16716
17447
 
16717
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17448
    netbsd* | netbsdelf*-gnu)
16718
17449
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16719
17450
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16720
17451
        wlarc=
16912
17643
      end
16913
17644
_ACEOF
16914
17645
rm -f conftest.$ac_objext conftest$ac_exeext
16915
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16916
 
  (eval $ac_link) 2>conftest.er1
 
17646
if { (ac_try="$ac_link"
 
17647
case "(($ac_try" in
 
17648
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17649
  *) ac_try_echo=$ac_try;;
 
17650
esac
 
17651
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17652
  (eval "$ac_link") 2>conftest.er1
16917
17653
  ac_status=$?
16918
17654
  grep -v '^ *+' conftest.er1 >conftest.err
16919
17655
  rm -f conftest.er1
16920
17656
  cat conftest.err >&5
16921
17657
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922
 
  (exit $ac_status); } &&
16923
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
16924
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925
 
  (eval $ac_try) 2>&5
16926
 
  ac_status=$?
16927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928
 
  (exit $ac_status); }; } &&
16929
 
         { ac_try='test -s conftest$ac_exeext'
16930
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16931
 
  (eval $ac_try) 2>&5
16932
 
  ac_status=$?
16933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934
 
  (exit $ac_status); }; }; then
 
17658
  (exit $ac_status); } && {
 
17659
         test -z "$ac_f77_werror_flag" ||
 
17660
         test ! -s conftest.err
 
17661
       } && test -s conftest$ac_exeext &&
 
17662
       $as_test_x conftest$ac_exeext; then
16935
17663
  
16936
17664
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16937
17665
}'`
16942
17670
  echo "$as_me: failed program was:" >&5
16943
17671
sed 's/^/| /' conftest.$ac_ext >&5
16944
17672
 
 
17673
        
16945
17674
fi
16946
 
rm -f conftest.err conftest.$ac_objext \
 
17675
 
 
17676
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16947
17677
      conftest$ac_exeext conftest.$ac_ext
16948
17678
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16949
17679
 
16962
17692
      end
16963
17693
_ACEOF
16964
17694
rm -f conftest.$ac_objext conftest$ac_exeext
16965
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16966
 
  (eval $ac_link) 2>conftest.er1
 
17695
if { (ac_try="$ac_link"
 
17696
case "(($ac_try" in
 
17697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17698
  *) ac_try_echo=$ac_try;;
 
17699
esac
 
17700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17701
  (eval "$ac_link") 2>conftest.er1
16967
17702
  ac_status=$?
16968
17703
  grep -v '^ *+' conftest.er1 >conftest.err
16969
17704
  rm -f conftest.er1
16970
17705
  cat conftest.err >&5
16971
17706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972
 
  (exit $ac_status); } &&
16973
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
16974
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16975
 
  (eval $ac_try) 2>&5
16976
 
  ac_status=$?
16977
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978
 
  (exit $ac_status); }; } &&
16979
 
         { ac_try='test -s conftest$ac_exeext'
16980
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981
 
  (eval $ac_try) 2>&5
16982
 
  ac_status=$?
16983
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984
 
  (exit $ac_status); }; }; then
 
17707
  (exit $ac_status); } && {
 
17708
         test -z "$ac_f77_werror_flag" ||
 
17709
         test ! -s conftest.err
 
17710
       } && test -s conftest$ac_exeext &&
 
17711
       $as_test_x conftest$ac_exeext; then
16985
17712
  
16986
17713
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16987
17714
}'`
16992
17719
  echo "$as_me: failed program was:" >&5
16993
17720
sed 's/^/| /' conftest.$ac_ext >&5
16994
17721
 
 
17722
        
16995
17723
fi
16996
 
rm -f conftest.err conftest.$ac_objext \
 
17724
 
 
17725
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16997
17726
      conftest$ac_exeext conftest.$ac_ext
16998
17727
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16999
17728
 
17130
17859
      hardcode_direct_F77=yes
17131
17860
      hardcode_shlibpath_var_F77=no
17132
17861
      ;;
17133
 
      
17134
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
17135
 
    kfreebsd*-gnu)
17136
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17137
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17138
 
      hardcode_direct_F77=yes
17139
 
      hardcode_shlibpath_var_F77=no
17140
 
      link_all_deplibs_F77=no
17141
 
      ;;
17142
17862
 
17143
17863
    hpux9*)
17144
17864
      if test "$GCC" = yes; then
17235
17955
      link_all_deplibs_F77=yes
17236
17956
      ;;
17237
17957
 
17238
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17958
    netbsd* | netbsdelf*-gnu)
17239
17959
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17240
17960
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17241
17961
      else
17451
18171
    esac
17452
18172
  fi
17453
18173
 
17454
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17455
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
18174
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
18175
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17456
18176
test "$ld_shlibs_F77" = no && can_build_shared=no
17457
18177
 
17458
18178
#
17472
18192
      # Test whether the compiler implicitly links with -lc since on some
17473
18193
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17474
18194
      # to ld, don't add -lc before -lgcc.
17475
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17476
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18195
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18196
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17477
18197
      $rm conftest*
17478
18198
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17479
18199
 
17510
18230
        cat conftest.err 1>&5
17511
18231
      fi
17512
18232
      $rm conftest*
17513
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17514
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
18233
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
18234
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17515
18235
      ;;
17516
18236
    esac
17517
18237
  fi
17518
18238
  ;;
17519
18239
esac
17520
18240
 
17521
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17522
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18241
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18242
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17523
18243
library_names_spec=
17524
18244
libname_spec='lib$name'
17525
18245
soname_spec=
17725
18445
  dynamic_linker=no
17726
18446
  ;;
17727
18447
 
17728
 
kfreebsd*-gnu)
17729
 
  version_type=linux
17730
 
  need_lib_prefix=no
17731
 
  need_version=no
17732
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17733
 
  soname_spec='${libname}${release}${shared_ext}$major'
17734
 
  shlibpath_var=LD_LIBRARY_PATH
17735
 
  shlibpath_overrides_runpath=no
17736
 
  hardcode_into_libs=yes
17737
 
  dynamic_linker='GNU ld.so'
17738
 
  ;;
17739
 
 
17740
18448
freebsd* | dragonfly*)
17741
18449
  # DragonFly does not have aout.  When/if they implement a new
17742
18450
  # versioning mechanism, adjust this.
17892
18600
  ;;
17893
18601
 
17894
18602
# This must be Linux ELF.
17895
 
linux*)
 
18603
linux* | k*bsd*-gnu)
17896
18604
  version_type=linux
17897
18605
  need_lib_prefix=no
17898
18606
  need_version=no
17933
18641
  dynamic_linker='NetBSD ld.elf_so'
17934
18642
  ;;
17935
18643
 
17936
 
knetbsd*-gnu)
17937
 
  version_type=linux
17938
 
  need_lib_prefix=no
17939
 
  need_version=no
17940
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17941
 
  soname_spec='${libname}${release}${shared_ext}$major'
17942
 
  shlibpath_var=LD_LIBRARY_PATH
17943
 
  shlibpath_overrides_runpath=no
17944
 
  hardcode_into_libs=yes
17945
 
  dynamic_linker='GNU ld.so'
17946
 
  ;;
17947
 
 
17948
18644
netbsd*)
17949
18645
  version_type=sunos
17950
18646
  need_lib_prefix=no
18118
18814
  dynamic_linker=no
18119
18815
  ;;
18120
18816
esac
18121
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18122
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18817
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18818
echo "${ECHO_T}$dynamic_linker" >&6; }
18123
18819
test "$dynamic_linker" = no && can_build_shared=no
18124
18820
 
18125
18821
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18127
18823
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18128
18824
fi
18129
18825
 
18130
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18131
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18826
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18827
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18132
18828
hardcode_action_F77=
18133
18829
if test -n "$hardcode_libdir_flag_spec_F77" || \
18134
18830
   test -n "$runpath_var_F77" || \
18152
18848
  # directories.
18153
18849
  hardcode_action_F77=unsupported
18154
18850
fi
18155
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18156
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
18851
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
18852
echo "${ECHO_T}$hardcode_action_F77" >&6; }
18157
18853
 
18158
18854
if test "$hardcode_action_F77" = relink; then
18159
18855
  # Fast installation is not supported
18590
19286
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18591
19287
          
18592
19288
 
18593
 
 
18594
19289
# Source file extension for Java test sources.
18595
19290
ac_ext=java
18596
19291
 
18662
19357
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18663
19358
 
18664
19359
  
18665
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18666
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
19360
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
19361
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18667
19362
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18668
19363
  echo $ECHO_N "(cached) $ECHO_C" >&6
18669
19364
else
18697
19392
   $rm conftest*
18698
19393
 
18699
19394
fi
18700
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18701
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
19395
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
19396
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18702
19397
 
18703
19398
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18704
19399
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18712
19407
lt_prog_compiler_pic_GCJ=
18713
19408
lt_prog_compiler_static_GCJ=
18714
19409
 
18715
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18716
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
19410
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
19411
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18717
19412
 
18718
19413
  if test "$GCC" = yes; then
18719
19414
    lt_prog_compiler_wl_GCJ='-Wl,'
18842
19537
      lt_prog_compiler_static_GCJ='-Bstatic'
18843
19538
      ;;
18844
19539
 
18845
 
    linux*)
 
19540
    linux* | k*bsd*-gnu)
18846
19541
      case $cc_basename in
18847
19542
      icc* | ecc*)
18848
19543
        lt_prog_compiler_wl_GCJ='-Wl,'
18922
19617
    esac
18923
19618
  fi
18924
19619
 
18925
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18926
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
19620
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
19621
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18927
19622
 
18928
19623
#
18929
19624
# Check to make sure the PIC flag actually works.
18930
19625
#
18931
19626
if test -n "$lt_prog_compiler_pic_GCJ"; then
18932
19627
  
18933
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18934
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
19628
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
19629
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18935
19630
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18936
19631
  echo $ECHO_N "(cached) $ECHO_C" >&6
18937
19632
else
18965
19660
   $rm conftest*
18966
19661
 
18967
19662
fi
18968
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18969
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
19663
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
19664
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18970
19665
 
18971
19666
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18972
19667
    case $lt_prog_compiler_pic_GCJ in
18993
19688
# Check to make sure the static flag actually works.
18994
19689
#
18995
19690
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18996
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18997
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
19691
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
19692
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18998
19693
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18999
19694
  echo $ECHO_N "(cached) $ECHO_C" >&6
19000
19695
else
19021
19716
   LDFLAGS="$save_LDFLAGS"
19022
19717
 
19023
19718
fi
19024
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
19025
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
19719
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
19720
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
19026
19721
 
19027
19722
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
19028
19723
    :
19031
19726
fi
19032
19727
 
19033
19728
 
19034
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19035
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
19729
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
19730
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19036
19731
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19037
19732
  echo $ECHO_N "(cached) $ECHO_C" >&6
19038
19733
else
19078
19773
   $rm conftest*
19079
19774
 
19080
19775
fi
19081
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19082
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
19776
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
19777
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19083
19778
 
19084
19779
 
19085
19780
hard_links="nottested"
19086
19781
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19087
19782
  # do not overwrite the value of need_locks provided by the user
19088
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19089
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
19783
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
19784
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19090
19785
  hard_links=yes
19091
19786
  $rm conftest*
19092
19787
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19093
19788
  touch conftest.a
19094
19789
  ln conftest.a conftest.b 2>&5 || hard_links=no
19095
19790
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19096
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
19097
 
echo "${ECHO_T}$hard_links" >&6
 
19791
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
19792
echo "${ECHO_T}$hard_links" >&6; }
19098
19793
  if test "$hard_links" = no; then
19099
19794
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19100
19795
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19104
19799
  need_locks=no
19105
19800
fi
19106
19801
 
19107
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19108
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
19802
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
19803
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19109
19804
 
19110
19805
  runpath_var=
19111
19806
  allow_undefined_flag_GCJ=
19281
19976
      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'
19282
19977
      ;;
19283
19978
 
19284
 
    linux*)
 
19979
    linux* | k*bsd*-gnu)
19285
19980
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19286
19981
        tmp_addflag=
19287
19982
        case $cc_basename,$host_cpu in
19313
20008
      fi
19314
20009
      ;;
19315
20010
 
19316
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
20011
    netbsd* | netbsdelf*-gnu)
19317
20012
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19318
20013
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19319
20014
        wlarc=
19521
20216
}
19522
20217
_ACEOF
19523
20218
rm -f conftest.$ac_objext conftest$ac_exeext
19524
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19525
 
  (eval $ac_link) 2>conftest.er1
 
20219
if { (ac_try="$ac_link"
 
20220
case "(($ac_try" in
 
20221
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20222
  *) ac_try_echo=$ac_try;;
 
20223
esac
 
20224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20225
  (eval "$ac_link") 2>conftest.er1
19526
20226
  ac_status=$?
19527
20227
  grep -v '^ *+' conftest.er1 >conftest.err
19528
20228
  rm -f conftest.er1
19529
20229
  cat conftest.err >&5
19530
20230
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531
 
  (exit $ac_status); } &&
19532
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19533
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534
 
  (eval $ac_try) 2>&5
19535
 
  ac_status=$?
19536
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537
 
  (exit $ac_status); }; } &&
19538
 
         { ac_try='test -s conftest$ac_exeext'
19539
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540
 
  (eval $ac_try) 2>&5
19541
 
  ac_status=$?
19542
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543
 
  (exit $ac_status); }; }; then
 
20231
  (exit $ac_status); } && {
 
20232
         test -z "$ac_c_werror_flag" ||
 
20233
         test ! -s conftest.err
 
20234
       } && test -s conftest$ac_exeext &&
 
20235
       $as_test_x conftest$ac_exeext; then
19544
20236
  
19545
20237
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19546
20238
}'`
19551
20243
  echo "$as_me: failed program was:" >&5
19552
20244
sed 's/^/| /' conftest.$ac_ext >&5
19553
20245
 
 
20246
        
19554
20247
fi
19555
 
rm -f conftest.err conftest.$ac_objext \
 
20248
 
 
20249
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19556
20250
      conftest$ac_exeext conftest.$ac_ext
19557
20251
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19558
20252
 
19581
20275
}
19582
20276
_ACEOF
19583
20277
rm -f conftest.$ac_objext conftest$ac_exeext
19584
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19585
 
  (eval $ac_link) 2>conftest.er1
 
20278
if { (ac_try="$ac_link"
 
20279
case "(($ac_try" in
 
20280
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20281
  *) ac_try_echo=$ac_try;;
 
20282
esac
 
20283
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20284
  (eval "$ac_link") 2>conftest.er1
19586
20285
  ac_status=$?
19587
20286
  grep -v '^ *+' conftest.er1 >conftest.err
19588
20287
  rm -f conftest.er1
19589
20288
  cat conftest.err >&5
19590
20289
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591
 
  (exit $ac_status); } &&
19592
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19593
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19594
 
  (eval $ac_try) 2>&5
19595
 
  ac_status=$?
19596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597
 
  (exit $ac_status); }; } &&
19598
 
         { ac_try='test -s conftest$ac_exeext'
19599
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19600
 
  (eval $ac_try) 2>&5
19601
 
  ac_status=$?
19602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603
 
  (exit $ac_status); }; }; then
 
20290
  (exit $ac_status); } && {
 
20291
         test -z "$ac_c_werror_flag" ||
 
20292
         test ! -s conftest.err
 
20293
       } && test -s conftest$ac_exeext &&
 
20294
       $as_test_x conftest$ac_exeext; then
19604
20295
  
19605
20296
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19606
20297
}'`
19611
20302
  echo "$as_me: failed program was:" >&5
19612
20303
sed 's/^/| /' conftest.$ac_ext >&5
19613
20304
 
 
20305
        
19614
20306
fi
19615
 
rm -f conftest.err conftest.$ac_objext \
 
20307
 
 
20308
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19616
20309
      conftest$ac_exeext conftest.$ac_ext
19617
20310
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19618
20311
 
19749
20442
      hardcode_direct_GCJ=yes
19750
20443
      hardcode_shlibpath_var_GCJ=no
19751
20444
      ;;
19752
 
      
19753
 
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
19754
 
    kfreebsd*-gnu)
19755
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19756
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19757
 
      hardcode_direct_GCJ=yes
19758
 
      hardcode_shlibpath_var_GCJ=no
19759
 
      link_all_deplibs_GCJ=no
19760
 
      ;;
19761
20445
 
19762
20446
    hpux9*)
19763
20447
      if test "$GCC" = yes; then
19854
20538
      link_all_deplibs_GCJ=yes
19855
20539
      ;;
19856
20540
 
19857
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
20541
    netbsd* | netbsdelf*-gnu)
19858
20542
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19859
20543
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19860
20544
      else
20070
20754
    esac
20071
20755
  fi
20072
20756
 
20073
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20074
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
20757
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
20758
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20075
20759
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20076
20760
 
20077
20761
#
20091
20775
      # Test whether the compiler implicitly links with -lc since on some
20092
20776
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20093
20777
      # to ld, don't add -lc before -lgcc.
20094
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20095
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
20778
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
20779
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20096
20780
      $rm conftest*
20097
20781
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20098
20782
 
20129
20813
        cat conftest.err 1>&5
20130
20814
      fi
20131
20815
      $rm conftest*
20132
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20133
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
20816
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
20817
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20134
20818
      ;;
20135
20819
    esac
20136
20820
  fi
20137
20821
  ;;
20138
20822
esac
20139
20823
 
20140
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20141
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
20824
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
20825
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20142
20826
library_names_spec=
20143
20827
libname_spec='lib$name'
20144
20828
soname_spec=
20344
21028
  dynamic_linker=no
20345
21029
  ;;
20346
21030
 
20347
 
kfreebsd*-gnu)
20348
 
  version_type=linux
20349
 
  need_lib_prefix=no
20350
 
  need_version=no
20351
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20352
 
  soname_spec='${libname}${release}${shared_ext}$major'
20353
 
  shlibpath_var=LD_LIBRARY_PATH
20354
 
  shlibpath_overrides_runpath=no
20355
 
  hardcode_into_libs=yes
20356
 
  dynamic_linker='GNU ld.so'
20357
 
  ;;
20358
 
 
20359
21031
freebsd* | dragonfly*)
20360
21032
  # DragonFly does not have aout.  When/if they implement a new
20361
21033
  # versioning mechanism, adjust this.
20511
21183
  ;;
20512
21184
 
20513
21185
# This must be Linux ELF.
20514
 
linux*)
 
21186
linux* | k*bsd*-gnu)
20515
21187
  version_type=linux
20516
21188
  need_lib_prefix=no
20517
21189
  need_version=no
20552
21224
  dynamic_linker='NetBSD ld.elf_so'
20553
21225
  ;;
20554
21226
 
20555
 
knetbsd*-gnu)
20556
 
  version_type=linux
20557
 
  need_lib_prefix=no
20558
 
  need_version=no
20559
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20560
 
  soname_spec='${libname}${release}${shared_ext}$major'
20561
 
  shlibpath_var=LD_LIBRARY_PATH
20562
 
  shlibpath_overrides_runpath=no
20563
 
  hardcode_into_libs=yes
20564
 
  dynamic_linker='GNU ld.so'
20565
 
  ;;
20566
 
 
20567
21227
netbsd*)
20568
21228
  version_type=sunos
20569
21229
  need_lib_prefix=no
20737
21397
  dynamic_linker=no
20738
21398
  ;;
20739
21399
esac
20740
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20741
 
echo "${ECHO_T}$dynamic_linker" >&6
 
21400
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
21401
echo "${ECHO_T}$dynamic_linker" >&6; }
20742
21402
test "$dynamic_linker" = no && can_build_shared=no
20743
21403
 
20744
21404
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20746
21406
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20747
21407
fi
20748
21408
 
20749
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20750
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
21409
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
21410
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20751
21411
hardcode_action_GCJ=
20752
21412
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20753
21413
   test -n "$runpath_var_GCJ" || \
20771
21431
  # directories.
20772
21432
  hardcode_action_GCJ=unsupported
20773
21433
fi
20774
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20775
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
21434
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
21435
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20776
21436
 
20777
21437
if test "$hardcode_action_GCJ" = relink; then
20778
21438
  # Fast installation is not supported
21208
21868
      RC)
21209
21869
        
21210
21870
 
21211
 
 
21212
21871
# Source file extension for RC test sources.
21213
21872
ac_ext=rc
21214
21873
 
21742
22401
 
21743
22402
WARN_CFLAGS=""
21744
22403
build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
21745
 
# Check whether --enable-build-warnings or --disable-build-warnings was given.
 
22404
# Check whether --enable-build-warnings was given.
21746
22405
if test "${enable_build_warnings+set}" = set; then
21747
 
  enableval="$enable_build_warnings"
21748
 
  
21749
 
fi; 
 
22406
  enableval=$enable_build_warnings; 
 
22407
fi
 
22408
 
21750
22409
if test x"$build_warnings" = xyes; then
21751
22410
    if test x"$GCC" = xyes; then
21752
22411
        WARN_CFLAGS="${build_warnings}"
21755
22414
 
21756
22415
 
21757
22416
 
21758
 
                                                                                                              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"
 
22417
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"
21759
22418
 
21760
22419
 
21761
22420
 
21777
22436
 
21778
22437
# The following way of writing the cache mishandles newlines in values,
21779
22438
# but we know of no workaround that is simple, portable, and efficient.
21780
 
# So, don't put newlines in cache variables' values.
 
22439
# So, we kill variables containing newlines.
21781
22440
# Ultrix sh set writes to stderr and can't be redirected directly,
21782
22441
# and sets the high bit in the cache file unless we assign to the vars.
21783
 
{
 
22442
(
 
22443
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
22444
    eval ac_val=\$$ac_var
 
22445
    case $ac_val in #(
 
22446
    *${as_nl}*)
 
22447
      case $ac_var in #(
 
22448
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
22449
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
22450
      esac
 
22451
      case $ac_var in #(
 
22452
      _ | IFS | as_nl) ;; #(
 
22453
      *) $as_unset $ac_var ;;
 
22454
      esac ;;
 
22455
    esac
 
22456
  done
 
22457
 
21784
22458
  (set) 2>&1 |
21785
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
21786
 
    *ac_space=\ *)
 
22459
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
22460
    *${as_nl}ac_space=\ *)
21787
22461
      # `set' does not quote correctly, so add quotes (double-quote
21788
22462
      # substitution turns \\\\ into \\, and sed turns \\ into \).
21789
22463
      sed -n \
21790
22464
        "s/'/'\\\\''/g;
21791
22465
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21792
 
      ;;
 
22466
      ;; #(
21793
22467
    *)
21794
22468
      # `set' quotes correctly as required by POSIX, so do not add quotes.
21795
 
      sed -n \
21796
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
22469
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21797
22470
      ;;
21798
 
    esac;
21799
 
} |
 
22471
    esac |
 
22472
    sort
 
22473
) |
21800
22474
  sed '
 
22475
     /^ac_cv_env_/b end
21801
22476
     t clear
21802
 
     : clear
 
22477
     :clear
21803
22478
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21804
22479
     t end
21805
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21806
 
     : end' >>confcache
21807
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
21808
 
  if test -w $cache_file; then
21809
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
22480
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
22481
     :end' >>confcache
 
22482
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
22483
  if test -w "$cache_file"; then
 
22484
    test "x$cache_file" != "x/dev/null" &&
 
22485
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
22486
echo "$as_me: updating cache $cache_file" >&6;}
21810
22487
    cat confcache >$cache_file
21811
22488
  else
21812
 
    echo "not updating unwritable cache $cache_file"
 
22489
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
22490
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21813
22491
  fi
21814
22492
fi
21815
22493
rm -f confcache
21818
22496
# Let make expand exec_prefix.
21819
22497
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21820
22498
 
21821
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21822
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21823
 
# trailing colons and then remove the whole line if VPATH becomes empty
21824
 
# (actually we leave an empty line to preserve line numbers).
21825
 
if test "x$srcdir" = x.; then
21826
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
21827
 
s/:*\$(srcdir):*/:/;
21828
 
s/:*\${srcdir}:*/:/;
21829
 
s/:*@srcdir@:*/:/;
21830
 
s/^\([^=]*=[     ]*\):*/\1/;
21831
 
s/:*$//;
21832
 
s/^[^=]*=[       ]*$//;
21833
 
}'
21834
 
fi
21835
 
 
21836
22499
DEFS=-DHAVE_CONFIG_H
21837
22500
 
21838
22501
ac_libobjs=
21839
22502
ac_ltlibobjs=
21840
22503
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
21841
22504
  # 1. Remove the extension, and $U if already installed.
21842
 
  ac_i=`echo "$ac_i" |
21843
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21844
 
  # 2. Add them.
21845
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21846
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
22505
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
22506
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
22507
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
22508
  #    will be set to the directory where LIBOBJS objects are built.
 
22509
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
22510
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21847
22511
done
21848
22512
LIB@&t@OBJS=$ac_libobjs
21849
22513
 
21902
22566
## M4sh Initialization.  ##
21903
22567
## --------------------- ##
21904
22568
 
21905
 
# Be Bourne compatible
 
22569
# Be more Bourne compatible
 
22570
DUALCASE=1; export DUALCASE # for MKS sh
21906
22571
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21907
22572
  emulate sh
21908
22573
  NULLCMD=:
21909
22574
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21910
22575
  # is contrary to our usage.  Disable this feature.
21911
22576
  alias -g '${1+"$@"}'='"$@"'
21912
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21913
 
  set -o posix
21914
 
fi
21915
 
DUALCASE=1; export DUALCASE # for MKS sh
 
22577
  setopt NO_GLOB_SUBST
 
22578
else
 
22579
  case `(set -o) 2>/dev/null` in
 
22580
  *posix*) set -o posix ;;
 
22581
esac
 
22582
 
 
22583
fi
 
22584
 
 
22585
 
 
22586
 
 
22587
 
 
22588
# PATH needs CR
 
22589
# Avoid depending upon Character Ranges.
 
22590
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
22591
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
22592
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
22593
as_cr_digits='0123456789'
 
22594
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
22595
 
 
22596
# The user is always right.
 
22597
if test "${PATH_SEPARATOR+set}" != set; then
 
22598
  echo "#! /bin/sh" >conf$$.sh
 
22599
  echo  "exit 0"   >>conf$$.sh
 
22600
  chmod +x conf$$.sh
 
22601
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
22602
    PATH_SEPARATOR=';'
 
22603
  else
 
22604
    PATH_SEPARATOR=:
 
22605
  fi
 
22606
  rm -f conf$$.sh
 
22607
fi
21916
22608
 
21917
22609
# Support unset when possible.
21918
22610
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21922
22614
fi
21923
22615
 
21924
22616
 
 
22617
# IFS
 
22618
# We need space, tab and new line, in precisely that order.  Quoting is
 
22619
# there to prevent editors from complaining about space-tab.
 
22620
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
22621
# splitting by setting IFS to empty value.)
 
22622
as_nl='
 
22623
'
 
22624
IFS=" ""        $as_nl"
 
22625
 
 
22626
# Find who we are.  Look in the path if we contain no directory separator.
 
22627
case $0 in
 
22628
  *[\\/]* ) as_myself=$0 ;;
 
22629
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22630
for as_dir in $PATH
 
22631
do
 
22632
  IFS=$as_save_IFS
 
22633
  test -z "$as_dir" && as_dir=.
 
22634
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
22635
done
 
22636
IFS=$as_save_IFS
 
22637
 
 
22638
     ;;
 
22639
esac
 
22640
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
22641
# in which case we are not to be found in the path.
 
22642
if test "x$as_myself" = x; then
 
22643
  as_myself=$0
 
22644
fi
 
22645
if test ! -f "$as_myself"; then
 
22646
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
22647
  { (exit 1); exit 1; }
 
22648
fi
 
22649
 
21925
22650
# Work around bugs in pre-3.0 UWIN ksh.
21926
 
$as_unset ENV MAIL MAILPATH
 
22651
for as_var in ENV MAIL MAILPATH
 
22652
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
22653
done
21927
22654
PS1='$ '
21928
22655
PS2='> '
21929
22656
PS4='+ '
21937
22664
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21938
22665
    eval $as_var=C; export $as_var
21939
22666
  else
21940
 
    $as_unset $as_var
 
22667
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21941
22668
  fi
21942
22669
done
21943
22670
 
21944
22671
# Required to use basename.
21945
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22672
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22673
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21946
22674
  as_expr=expr
21947
22675
else
21948
22676
  as_expr=false
21949
22677
fi
21950
22678
 
21951
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
22679
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21952
22680
  as_basename=basename
21953
22681
else
21954
22682
  as_basename=false
21956
22684
 
21957
22685
 
21958
22686
# Name of the executable.
21959
 
as_me=`$as_basename "$0" ||
 
22687
as_me=`$as_basename -- "$0" ||
21960
22688
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21961
22689
         X"$0" : 'X\(//\)$' \| \
21962
 
         X"$0" : 'X\(/\)$' \| \
21963
 
         .     : '\(.\)' 2>/dev/null ||
 
22690
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21964
22691
echo X/"$0" |
21965
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21966
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
21967
 
          /^X\/\(\/\).*/{ s//\1/; q; }
21968
 
          s/.*/./; q'`
21969
 
 
21970
 
 
21971
 
# PATH needs CR, and LINENO needs CR and PATH.
21972
 
# Avoid depending upon Character Ranges.
21973
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21974
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21975
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21976
 
as_cr_digits='0123456789'
21977
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
21978
 
 
21979
 
# The user is always right.
21980
 
if test "${PATH_SEPARATOR+set}" != set; then
21981
 
  echo "#! /bin/sh" >conf$$.sh
21982
 
  echo  "exit 0"   >>conf$$.sh
21983
 
  chmod +x conf$$.sh
21984
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21985
 
    PATH_SEPARATOR=';'
21986
 
  else
21987
 
    PATH_SEPARATOR=:
21988
 
  fi
21989
 
  rm -f conf$$.sh
21990
 
fi
21991
 
 
21992
 
 
21993
 
  as_lineno_1=$LINENO
21994
 
  as_lineno_2=$LINENO
21995
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21996
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21997
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
21998
 
  # Find who we are.  Look in the path if we contain no path at all
21999
 
  # relative or not.
22000
 
  case $0 in
22001
 
    *[\\/]* ) as_myself=$0 ;;
22002
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22003
 
for as_dir in $PATH
22004
 
do
22005
 
  IFS=$as_save_IFS
22006
 
  test -z "$as_dir" && as_dir=.
22007
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22008
 
done
22009
 
 
22010
 
       ;;
22011
 
  esac
22012
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
22013
 
  # in which case we are not to be found in the path.
22014
 
  if test "x$as_myself" = x; then
22015
 
    as_myself=$0
22016
 
  fi
22017
 
  if test ! -f "$as_myself"; then
22018
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22019
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22020
 
   { (exit 1); exit 1; }; }
22021
 
  fi
22022
 
  case $CONFIG_SHELL in
22023
 
  '')
22024
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22025
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22026
 
do
22027
 
  IFS=$as_save_IFS
22028
 
  test -z "$as_dir" && as_dir=.
22029
 
  for as_base in sh bash ksh sh5; do
22030
 
         case $as_dir in
22031
 
         /*)
22032
 
           if ("$as_dir/$as_base" -c '
22033
 
  as_lineno_1=$LINENO
22034
 
  as_lineno_2=$LINENO
22035
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22036
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22037
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
22038
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22039
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22040
 
             CONFIG_SHELL=$as_dir/$as_base
22041
 
             export CONFIG_SHELL
22042
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22043
 
           fi;;
22044
 
         esac
22045
 
       done
22046
 
done
22047
 
;;
22048
 
  esac
 
22692
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
22693
            s//\1/
 
22694
            q
 
22695
          }
 
22696
          /^X\/\(\/\/\)$/{
 
22697
            s//\1/
 
22698
            q
 
22699
          }
 
22700
          /^X\/\(\/\).*/{
 
22701
            s//\1/
 
22702
            q
 
22703
          }
 
22704
          s/.*/./; q'`
 
22705
 
 
22706
# CDPATH.
 
22707
$as_unset CDPATH
 
22708
 
 
22709
 
 
22710
 
 
22711
  as_lineno_1=$LINENO
 
22712
  as_lineno_2=$LINENO
 
22713
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
22714
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22049
22715
 
22050
22716
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22051
22717
  # uniformly replaced by the line number.  The first 'sed' inserts a
22052
 
  # line-number line before each line; the second 'sed' does the real
22053
 
  # work.  The second script uses 'N' to pair each line-number line
22054
 
  # with the numbered line, and appends trailing '-' during
22055
 
  # substitution so that $LINENO is not a special case at line end.
 
22718
  # line-number line after each line using $LINENO; the second 'sed'
 
22719
  # does the real work.  The second script uses 'N' to pair each
 
22720
  # line-number line with the line containing $LINENO, and appends
 
22721
  # trailing '-' during substitution so that $LINENO is not a special
 
22722
  # case at line end.
22056
22723
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22057
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
22058
 
  sed '=' <$as_myself |
 
22724
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
22725
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
22726
  sed -n '
 
22727
    p
 
22728
    /[$]LINENO/=
 
22729
  ' <$as_myself |
22059
22730
    sed '
 
22731
      s/[$]LINENO.*/&-/
 
22732
      t lineno
 
22733
      b
 
22734
      :lineno
22060
22735
      N
22061
 
      s,$,-,
22062
 
      : loop
22063
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
22736
      :loop
 
22737
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22064
22738
      t loop
22065
 
      s,-$,,
22066
 
      s,^['$as_cr_digits']*\n,,
 
22739
      s/-\n.*//
22067
22740
    ' >$as_me.lineno &&
22068
 
  chmod +x $as_me.lineno ||
22069
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22070
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
22741
  chmod +x "$as_me.lineno" ||
 
22742
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22071
22743
   { (exit 1); exit 1; }; }
22072
22744
 
22073
22745
  # Don't try to exec as it changes $[0], causing all sort of problems
22074
22746
  # (the dirname of $[0] is not the place where we might find the
22075
 
  # original and so on.  Autoconf is especially sensible to this).
22076
 
  . ./$as_me.lineno
 
22747
  # original and so on.  Autoconf is especially sensitive to this).
 
22748
  . "./$as_me.lineno"
22077
22749
  # Exit status is that of the last command.
22078
22750
  exit
22079
22751
}
22080
22752
 
22081
22753
 
22082
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22083
 
  *c*,-n*) ECHO_N= ECHO_C='
22084
 
' ECHO_T='      ' ;;
22085
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22086
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
22754
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
22755
  as_dirname=dirname
 
22756
else
 
22757
  as_dirname=false
 
22758
fi
 
22759
 
 
22760
ECHO_C= ECHO_N= ECHO_T=
 
22761
case `echo -n x` in
 
22762
-n*)
 
22763
  case `echo 'x\c'` in
 
22764
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
22765
  *)   ECHO_C='\c';;
 
22766
  esac;;
 
22767
*)
 
22768
  ECHO_N='-n';;
22087
22769
esac
22088
22770
 
22089
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22771
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22772
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22090
22773
  as_expr=expr
22091
22774
else
22092
22775
  as_expr=false
22093
22776
fi
22094
22777
 
22095
22778
rm -f conf$$ conf$$.exe conf$$.file
 
22779
if test -d conf$$.dir; then
 
22780
  rm -f conf$$.dir/conf$$.file
 
22781
else
 
22782
  rm -f conf$$.dir
 
22783
  mkdir conf$$.dir
 
22784
fi
22096
22785
echo >conf$$.file
22097
22786
if ln -s conf$$.file conf$$ 2>/dev/null; then
22098
 
  # We could just check for DJGPP; but this test a) works b) is more generic
22099
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22100
 
  if test -f conf$$.exe; then
22101
 
    # Don't use ln at all; we don't have any links
 
22787
  as_ln_s='ln -s'
 
22788
  # ... but there are two gotchas:
 
22789
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
22790
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
22791
  # In both cases, we have to default to `cp -p'.
 
22792
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22102
22793
    as_ln_s='cp -p'
22103
 
  else
22104
 
    as_ln_s='ln -s'
22105
 
  fi
22106
22794
elif ln conf$$.file conf$$ 2>/dev/null; then
22107
22795
  as_ln_s=ln
22108
22796
else
22109
22797
  as_ln_s='cp -p'
22110
22798
fi
22111
 
rm -f conf$$ conf$$.exe conf$$.file
 
22799
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
22800
rmdir conf$$.dir 2>/dev/null
22112
22801
 
22113
22802
if mkdir -p . 2>/dev/null; then
22114
22803
  as_mkdir_p=:
22117
22806
  as_mkdir_p=false
22118
22807
fi
22119
22808
 
22120
 
as_executable_p="test -f"
 
22809
if test -x / >/dev/null 2>&1; then
 
22810
  as_test_x='test -x'
 
22811
else
 
22812
  if ls -dL / >/dev/null 2>&1; then
 
22813
    as_ls_L_option=L
 
22814
  else
 
22815
    as_ls_L_option=
 
22816
  fi
 
22817
  as_test_x='
 
22818
    eval sh -c '\''
 
22819
      if test -d "$1"; then
 
22820
        test -d "$1/.";
 
22821
      else
 
22822
        case $1 in
 
22823
        -*)set "./$1";;
 
22824
        esac;
 
22825
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
22826
        ???[sx]*):;;*)false;;esac;fi
 
22827
    '\'' sh
 
22828
  '
 
22829
fi
 
22830
as_executable_p=$as_test_x
22121
22831
 
22122
22832
# Sed expression to map a string onto a valid CPP name.
22123
22833
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22126
22836
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22127
22837
 
22128
22838
 
22129
 
# IFS
22130
 
# We need space, tab and new line, in precisely that order.
22131
 
as_nl='
22132
 
'
22133
 
IFS="   $as_nl"
22134
 
 
22135
 
# CDPATH.
22136
 
$as_unset CDPATH
22137
 
 
22138
22839
exec 6>&1
22139
22840
 
22140
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
22841
# Save the log message, to keep $[0] and so on meaningful, and to
22141
22842
# report actual input values of CONFIG_FILES etc. instead of their
22142
 
# values after options handling.  Logging --version etc. is OK.
22143
 
exec 5>>config.log
22144
 
{
22145
 
  echo
22146
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
22147
 
@%:@@%:@ Running $as_me. @%:@@%:@
22148
 
_ASBOX
22149
 
} >&5
22150
 
cat >&5 <<_CSEOF
22151
 
 
22152
 
This file was extended by Judy $as_me 1.0.0, which was
22153
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
22843
# values after options handling.
 
22844
ac_log="
 
22845
This file was extended by Judy $as_me 1.0.5, which was
 
22846
generated by GNU Autoconf 2.61.  Invocation command line was
22154
22847
 
22155
22848
  CONFIG_FILES    = $CONFIG_FILES
22156
22849
  CONFIG_HEADERS  = $CONFIG_HEADERS
22158
22851
  CONFIG_COMMANDS = $CONFIG_COMMANDS
22159
22852
  $ $0 $@
22160
22853
 
22161
 
_CSEOF
22162
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22163
 
echo >&5
 
22854
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
22855
"
 
22856
 
22164
22857
_ACEOF
22165
22858
 
 
22859
cat >>$CONFIG_STATUS <<_ACEOF
22166
22860
# Files that config.status was made for.
22167
 
if test -n "$ac_config_files"; then
22168
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22169
 
fi
22170
 
 
22171
 
if test -n "$ac_config_headers"; then
22172
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22173
 
fi
22174
 
 
22175
 
if test -n "$ac_config_links"; then
22176
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22177
 
fi
22178
 
 
22179
 
if test -n "$ac_config_commands"; then
22180
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22181
 
fi
 
22861
config_files="$ac_config_files"
 
22862
config_headers="$ac_config_headers"
 
22863
config_commands="$ac_config_commands"
 
22864
 
 
22865
_ACEOF
22182
22866
 
22183
22867
cat >>$CONFIG_STATUS <<\_ACEOF
22184
 
 
22185
22868
ac_cs_usage="\
22186
22869
\`$as_me' instantiates files from templates according to the
22187
22870
current configuration.
22189
22872
Usage: $0 [OPTIONS] [FILE]...
22190
22873
 
22191
22874
  -h, --help       print this help, then exit
22192
 
  -V, --version    print version number, then exit
 
22875
  -V, --version    print version number and configuration settings, then exit
22193
22876
  -q, --quiet      do not print progress messages
22194
22877
  -d, --debug      don't remove temporary files
22195
22878
      --recheck    update $as_me by reconfiguring in the same conditions
22208
22891
$config_commands
22209
22892
 
22210
22893
Report bugs to <bug-autoconf@gnu.org>."
 
22894
 
22211
22895
_ACEOF
22212
 
 
22213
22896
cat >>$CONFIG_STATUS <<_ACEOF
22214
22897
ac_cs_version="\\
22215
 
Judy config.status 1.0.0
22216
 
configured by $0, generated by GNU Autoconf 2.59,
22217
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
22898
Judy config.status 1.0.5
 
22899
configured by $0, generated by GNU Autoconf 2.61,
 
22900
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22218
22901
 
22219
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
22902
Copyright (C) 2006 Free Software Foundation, Inc.
22220
22903
This config.status script is free software; the Free Software Foundation
22221
22904
gives unlimited permission to copy, distribute and modify it."
22222
 
srcdir=$srcdir
22223
 
INSTALL="$INSTALL"
 
22905
 
 
22906
ac_pwd='$ac_pwd'
 
22907
srcdir='$srcdir'
 
22908
INSTALL='$INSTALL'
22224
22909
_ACEOF
22225
22910
 
22226
22911
cat >>$CONFIG_STATUS <<\_ACEOF
22231
22916
do
22232
22917
  case $1 in
22233
22918
  --*=*)
22234
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
22235
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
22919
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
22920
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22236
22921
    ac_shift=:
22237
22922
    ;;
22238
 
  -*)
 
22923
  *)
22239
22924
    ac_option=$1
22240
22925
    ac_optarg=$2
22241
22926
    ac_shift=shift
22242
22927
    ;;
22243
 
  *) # This is not an option, so the user has probably given explicit
22244
 
     # arguments.
22245
 
     ac_option=$1
22246
 
     ac_need_defaults=false;;
22247
22928
  esac
22248
22929
 
22249
22930
  case $ac_option in
22250
22931
  # Handling of the options.
22251
 
_ACEOF
22252
 
cat >>$CONFIG_STATUS <<\_ACEOF
22253
22932
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22254
22933
    ac_cs_recheck=: ;;
22255
 
  --version | --vers* | -V )
22256
 
    echo "$ac_cs_version"; exit 0 ;;
22257
 
  --he | --h)
22258
 
    # Conflict between --help and --header
22259
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
22260
 
Try \`$0 --help' for more information." >&5
22261
 
echo "$as_me: error: ambiguous option: $1
22262
 
Try \`$0 --help' for more information." >&2;}
22263
 
   { (exit 1); exit 1; }; };;
22264
 
  --help | --hel | -h )
22265
 
    echo "$ac_cs_usage"; exit 0 ;;
22266
 
  --debug | --d* | -d )
 
22934
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
22935
    echo "$ac_cs_version"; exit ;;
 
22936
  --debug | --debu | --deb | --de | --d | -d )
22267
22937
    debug=: ;;
22268
22938
  --file | --fil | --fi | --f )
22269
22939
    $ac_shift
22273
22943
    $ac_shift
22274
22944
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22275
22945
    ac_need_defaults=false;;
 
22946
  --he | --h)
 
22947
    # Conflict between --help and --header
 
22948
    { echo "$as_me: error: ambiguous option: $1
 
22949
Try \`$0 --help' for more information." >&2
 
22950
   { (exit 1); exit 1; }; };;
 
22951
  --help | --hel | -h )
 
22952
    echo "$ac_cs_usage"; exit ;;
22276
22953
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22277
22954
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22278
22955
    ac_cs_silent=: ;;
22279
22956
 
22280
22957
  # This is an error.
22281
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22282
 
Try \`$0 --help' for more information." >&5
22283
 
echo "$as_me: error: unrecognized option: $1
22284
 
Try \`$0 --help' for more information." >&2;}
 
22958
  -*) { echo "$as_me: error: unrecognized option: $1
 
22959
Try \`$0 --help' for more information." >&2
22285
22960
   { (exit 1); exit 1; }; } ;;
22286
22961
 
22287
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
22962
  *) ac_config_targets="$ac_config_targets $1"
 
22963
     ac_need_defaults=false ;;
22288
22964
 
22289
22965
  esac
22290
22966
  shift
22300
22976
_ACEOF
22301
22977
cat >>$CONFIG_STATUS <<_ACEOF
22302
22978
if \$ac_cs_recheck; then
22303
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22304
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
22979
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
22980
  CONFIG_SHELL=$SHELL
 
22981
  export CONFIG_SHELL
 
22982
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22305
22983
fi
22306
22984
 
22307
22985
_ACEOF
 
22986
cat >>$CONFIG_STATUS <<\_ACEOF
 
22987
exec 5>>config.log
 
22988
{
 
22989
  echo
 
22990
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 
22991
@%:@@%:@ Running $as_me. @%:@@%:@
 
22992
_ASBOX
 
22993
  echo "$ac_log"
 
22994
} >&5
22308
22995
 
 
22996
_ACEOF
22309
22997
cat >>$CONFIG_STATUS <<_ACEOF
22310
22998
#
22311
 
# INIT-COMMANDS section.
 
22999
# INIT-COMMANDS
22312
23000
#
22313
 
 
22314
23001
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22315
23002
 
22316
23003
_ACEOF
22317
23004
 
22318
 
 
22319
 
 
22320
23005
cat >>$CONFIG_STATUS <<\_ACEOF
 
23006
 
 
23007
# Handling of arguments.
22321
23008
for ac_config_target in $ac_config_targets
22322
23009
do
22323
 
  case "$ac_config_target" in
22324
 
  # Handling of arguments.
22325
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22326
 
  "src/Judy1/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Judy1/Makefile" ;;
22327
 
  "src/JudyCommon/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/JudyCommon/Makefile" ;;
22328
 
  "src/JudyHS/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/JudyHS/Makefile" ;;
22329
 
  "src/JudyL/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/JudyL/Makefile" ;;
22330
 
  "src/JudySL/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/JudySL/Makefile" ;;
22331
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22332
 
  "src/obj/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/obj/Makefile" ;;
22333
 
  "tool/Makefile" ) CONFIG_FILES="$CONFIG_FILES tool/Makefile" ;;
22334
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
22335
 
  "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
22336
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22337
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
23010
  case $ac_config_target in
 
23011
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
23012
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23013
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
23014
    "src/Judy1/Makefile") CONFIG_FILES="$CONFIG_FILES src/Judy1/Makefile" ;;
 
23015
    "src/JudyCommon/Makefile") CONFIG_FILES="$CONFIG_FILES src/JudyCommon/Makefile" ;;
 
23016
    "src/JudyHS/Makefile") CONFIG_FILES="$CONFIG_FILES src/JudyHS/Makefile" ;;
 
23017
    "src/JudyL/Makefile") CONFIG_FILES="$CONFIG_FILES src/JudyL/Makefile" ;;
 
23018
    "src/JudySL/Makefile") CONFIG_FILES="$CONFIG_FILES src/JudySL/Makefile" ;;
 
23019
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
23020
    "src/obj/Makefile") CONFIG_FILES="$CONFIG_FILES src/obj/Makefile" ;;
 
23021
    "tool/Makefile") CONFIG_FILES="$CONFIG_FILES tool/Makefile" ;;
 
23022
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
23023
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 
23024
 
22338
23025
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22339
23026
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22340
23027
   { (exit 1); exit 1; }; };;
22341
23028
  esac
22342
23029
done
22343
23030
 
 
23031
 
22344
23032
# If the user did not use the arguments to specify the items to instantiate,
22345
23033
# then the envvar interface is used.  Set only those that are not.
22346
23034
# We use the long form for the default assignment because of an extremely
22352
23040
fi
22353
23041
 
22354
23042
# Have a temporary directory for convenience.  Make it in the build tree
22355
 
# simply because there is no reason to put it here, and in addition,
 
23043
# simply because there is no reason against having it here, and in addition,
22356
23044
# creating and moving files from /tmp can sometimes cause problems.
22357
 
# Create a temporary directory, and hook for its removal unless debugging.
 
23045
# Hook for its removal unless debugging.
 
23046
# Note that there is a small window in which the directory will not be cleaned:
 
23047
# after its creation but before its name has been assigned to `$tmp'.
22358
23048
$debug ||
22359
23049
{
22360
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
23050
  tmp=
 
23051
  trap 'exit_status=$?
 
23052
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
23053
' 0
22361
23054
  trap '{ (exit 1); exit 1; }' 1 2 13 15
22362
23055
}
22363
 
 
22364
23056
# Create a (secure) tmp directory for tmp files.
22365
23057
 
22366
23058
{
22367
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
23059
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22368
23060
  test -n "$tmp" && test -d "$tmp"
22369
23061
}  ||
22370
23062
{
22371
 
  tmp=./confstat$$-$RANDOM
22372
 
  (umask 077 && mkdir $tmp)
 
23063
  tmp=./conf$$-$RANDOM
 
23064
  (umask 077 && mkdir "$tmp")
22373
23065
} ||
22374
23066
{
22375
23067
   echo "$me: cannot create a temporary directory in ." >&2
22376
23068
   { (exit 1); exit 1; }
22377
23069
}
22378
23070
 
22379
 
_ACEOF
22380
 
 
22381
 
cat >>$CONFIG_STATUS <<_ACEOF
22382
 
 
22383
23071
#
22384
 
# CONFIG_FILES section.
 
23072
# Set up the sed scripts for CONFIG_FILES section.
22385
23073
#
22386
23074
 
22387
23075
# No need to generate the scripts if there are no CONFIG_FILES.
22388
23076
# This happens for instance when ./config.status config.h
22389
 
if test -n "\$CONFIG_FILES"; then
22390
 
  # Protect against being on the right side of a sed subst in config.status.
22391
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22392
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22393
 
s,@SHELL@,$SHELL,;t t
22394
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22395
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22396
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22397
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22398
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22399
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22400
 
s,@exec_prefix@,$exec_prefix,;t t
22401
 
s,@prefix@,$prefix,;t t
22402
 
s,@program_transform_name@,$program_transform_name,;t t
22403
 
s,@bindir@,$bindir,;t t
22404
 
s,@sbindir@,$sbindir,;t t
22405
 
s,@libexecdir@,$libexecdir,;t t
22406
 
s,@datadir@,$datadir,;t t
22407
 
s,@sysconfdir@,$sysconfdir,;t t
22408
 
s,@sharedstatedir@,$sharedstatedir,;t t
22409
 
s,@localstatedir@,$localstatedir,;t t
22410
 
s,@libdir@,$libdir,;t t
22411
 
s,@includedir@,$includedir,;t t
22412
 
s,@oldincludedir@,$oldincludedir,;t t
22413
 
s,@infodir@,$infodir,;t t
22414
 
s,@mandir@,$mandir,;t t
22415
 
s,@build_alias@,$build_alias,;t t
22416
 
s,@host_alias@,$host_alias,;t t
22417
 
s,@target_alias@,$target_alias,;t t
22418
 
s,@DEFS@,$DEFS,;t t
22419
 
s,@ECHO_C@,$ECHO_C,;t t
22420
 
s,@ECHO_N@,$ECHO_N,;t t
22421
 
s,@ECHO_T@,$ECHO_T,;t t
22422
 
s,@LIBS@,$LIBS,;t t
22423
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22424
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22425
 
s,@MAINT@,$MAINT,;t t
22426
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22427
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22428
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22429
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
22430
 
s,@PACKAGE@,$PACKAGE,;t t
22431
 
s,@VERSION@,$VERSION,;t t
22432
 
s,@ACLOCAL@,$ACLOCAL,;t t
22433
 
s,@AUTOCONF@,$AUTOCONF,;t t
22434
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
22435
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
22436
 
s,@MAKEINFO@,$MAKEINFO,;t t
22437
 
s,@install_sh@,$install_sh,;t t
22438
 
s,@STRIP@,$STRIP,;t t
22439
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22440
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22441
 
s,@mkdir_p@,$mkdir_p,;t t
22442
 
s,@AWK@,$AWK,;t t
22443
 
s,@SET_MAKE@,$SET_MAKE,;t t
22444
 
s,@am__leading_dot@,$am__leading_dot,;t t
22445
 
s,@AMTAR@,$AMTAR,;t t
22446
 
s,@am__tar@,$am__tar,;t t
22447
 
s,@am__untar@,$am__untar,;t t
22448
 
s,@VERSION_INFO@,$VERSION_INFO,;t t
22449
 
s,@FLAVOR@,$FLAVOR,;t t
22450
 
s,@CC@,$CC,;t t
22451
 
s,@CFLAGS@,$CFLAGS,;t t
22452
 
s,@LDFLAGS@,$LDFLAGS,;t t
22453
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
22454
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
22455
 
s,@EXEEXT@,$EXEEXT,;t t
22456
 
s,@OBJEXT@,$OBJEXT,;t t
22457
 
s,@DEPDIR@,$DEPDIR,;t t
22458
 
s,@am__include@,$am__include,;t t
22459
 
s,@am__quote@,$am__quote,;t t
22460
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22461
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22462
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22463
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
22464
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22465
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22466
 
s,@CPP@,$CPP,;t t
22467
 
s,@LN_S@,$LN_S,;t t
22468
 
s,@EGREP@,$EGREP,;t t
22469
 
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
22470
 
s,@AR@,$AR,;t t
22471
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
22472
 
s,@LD@,$LD,;t t
22473
 
s,@ac_ct_LD@,$ac_ct_LD,;t t
22474
 
s,@RANLIB@,$RANLIB,;t t
22475
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22476
 
s,@build@,$build,;t t
22477
 
s,@build_cpu@,$build_cpu,;t t
22478
 
s,@build_vendor@,$build_vendor,;t t
22479
 
s,@build_os@,$build_os,;t t
22480
 
s,@host@,$host,;t t
22481
 
s,@host_cpu@,$host_cpu,;t t
22482
 
s,@host_vendor@,$host_vendor,;t t
22483
 
s,@host_os@,$host_os,;t t
22484
 
s,@ECHO@,$ECHO,;t t
22485
 
s,@CXX@,$CXX,;t t
22486
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
22487
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22488
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22489
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22490
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22491
 
s,@CXXCPP@,$CXXCPP,;t t
22492
 
s,@F77@,$F77,;t t
22493
 
s,@FFLAGS@,$FFLAGS,;t t
22494
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
22495
 
s,@LIBTOOL@,$LIBTOOL,;t t
22496
 
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
22497
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22498
 
CEOF
22499
 
 
22500
 
_ACEOF
22501
 
 
22502
 
  cat >>$CONFIG_STATUS <<\_ACEOF
22503
 
  # Split the substitutions into bite-sized pieces for seds with
22504
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
22505
 
  ac_max_sed_lines=48
22506
 
  ac_sed_frag=1 # Number of current file.
22507
 
  ac_beg=1 # First line for current file.
22508
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
22509
 
  ac_more_lines=:
22510
 
  ac_sed_cmds=
22511
 
  while $ac_more_lines; do
22512
 
    if test $ac_beg -gt 1; then
22513
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22514
 
    else
22515
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22516
 
    fi
22517
 
    if test ! -s $tmp/subs.frag; then
22518
 
      ac_more_lines=false
22519
 
    else
22520
 
      # The purpose of the label and of the branching condition is to
22521
 
      # speed up the sed processing (if there are no `@' at all, there
22522
 
      # is no need to browse any of the substitutions).
22523
 
      # These are the two extra sed commands mentioned above.
22524
 
      (echo ':t
22525
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22526
 
      if test -z "$ac_sed_cmds"; then
22527
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22528
 
      else
22529
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22530
 
      fi
22531
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
22532
 
      ac_beg=$ac_end
22533
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
22534
 
    fi
22535
 
  done
22536
 
  if test -z "$ac_sed_cmds"; then
22537
 
    ac_sed_cmds=cat
22538
 
  fi
 
23077
if test -n "$CONFIG_FILES"; then
 
23078
 
 
23079
_ACEOF
 
23080
 
 
23081
 
 
23082
 
 
23083
ac_delim='%!_!# '
 
23084
for ac_last_try in false false false false false :; do
 
23085
  cat >conf$$subs.sed <<_ACEOF
 
23086
SHELL!$SHELL$ac_delim
 
23087
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
23088
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
23089
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
23090
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
23091
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
23092
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
23093
exec_prefix!$exec_prefix$ac_delim
 
23094
prefix!$prefix$ac_delim
 
23095
program_transform_name!$program_transform_name$ac_delim
 
23096
bindir!$bindir$ac_delim
 
23097
sbindir!$sbindir$ac_delim
 
23098
libexecdir!$libexecdir$ac_delim
 
23099
datarootdir!$datarootdir$ac_delim
 
23100
datadir!$datadir$ac_delim
 
23101
sysconfdir!$sysconfdir$ac_delim
 
23102
sharedstatedir!$sharedstatedir$ac_delim
 
23103
localstatedir!$localstatedir$ac_delim
 
23104
includedir!$includedir$ac_delim
 
23105
oldincludedir!$oldincludedir$ac_delim
 
23106
docdir!$docdir$ac_delim
 
23107
infodir!$infodir$ac_delim
 
23108
htmldir!$htmldir$ac_delim
 
23109
dvidir!$dvidir$ac_delim
 
23110
pdfdir!$pdfdir$ac_delim
 
23111
psdir!$psdir$ac_delim
 
23112
libdir!$libdir$ac_delim
 
23113
localedir!$localedir$ac_delim
 
23114
mandir!$mandir$ac_delim
 
23115
DEFS!$DEFS$ac_delim
 
23116
ECHO_C!$ECHO_C$ac_delim
 
23117
ECHO_N!$ECHO_N$ac_delim
 
23118
ECHO_T!$ECHO_T$ac_delim
 
23119
LIBS!$LIBS$ac_delim
 
23120
build_alias!$build_alias$ac_delim
 
23121
host_alias!$host_alias$ac_delim
 
23122
target_alias!$target_alias$ac_delim
 
23123
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
23124
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
23125
MAINT!$MAINT$ac_delim
 
23126
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
23127
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
23128
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
23129
CYGPATH_W!$CYGPATH_W$ac_delim
 
23130
PACKAGE!$PACKAGE$ac_delim
 
23131
VERSION!$VERSION$ac_delim
 
23132
ACLOCAL!$ACLOCAL$ac_delim
 
23133
AUTOCONF!$AUTOCONF$ac_delim
 
23134
AUTOMAKE!$AUTOMAKE$ac_delim
 
23135
AUTOHEADER!$AUTOHEADER$ac_delim
 
23136
MAKEINFO!$MAKEINFO$ac_delim
 
23137
install_sh!$install_sh$ac_delim
 
23138
STRIP!$STRIP$ac_delim
 
23139
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
23140
mkdir_p!$mkdir_p$ac_delim
 
23141
AWK!$AWK$ac_delim
 
23142
SET_MAKE!$SET_MAKE$ac_delim
 
23143
am__leading_dot!$am__leading_dot$ac_delim
 
23144
AMTAR!$AMTAR$ac_delim
 
23145
am__tar!$am__tar$ac_delim
 
23146
am__untar!$am__untar$ac_delim
 
23147
VERSION_INFO!$VERSION_INFO$ac_delim
 
23148
FLAVOR!$FLAVOR$ac_delim
 
23149
CC!$CC$ac_delim
 
23150
CFLAGS!$CFLAGS$ac_delim
 
23151
LDFLAGS!$LDFLAGS$ac_delim
 
23152
CPPFLAGS!$CPPFLAGS$ac_delim
 
23153
ac_ct_CC!$ac_ct_CC$ac_delim
 
23154
EXEEXT!$EXEEXT$ac_delim
 
23155
OBJEXT!$OBJEXT$ac_delim
 
23156
DEPDIR!$DEPDIR$ac_delim
 
23157
am__include!$am__include$ac_delim
 
23158
am__quote!$am__quote$ac_delim
 
23159
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
23160
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
23161
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
23162
CCDEPMODE!$CCDEPMODE$ac_delim
 
23163
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
23164
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
23165
CPP!$CPP$ac_delim
 
23166
LN_S!$LN_S$ac_delim
 
23167
GREP!$GREP$ac_delim
 
23168
EGREP!$EGREP$ac_delim
 
23169
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
 
23170
AR!$AR$ac_delim
 
23171
LD!$LD$ac_delim
 
23172
RANLIB!$RANLIB$ac_delim
 
23173
build!$build$ac_delim
 
23174
build_cpu!$build_cpu$ac_delim
 
23175
build_vendor!$build_vendor$ac_delim
 
23176
build_os!$build_os$ac_delim
 
23177
host!$host$ac_delim
 
23178
host_cpu!$host_cpu$ac_delim
 
23179
host_vendor!$host_vendor$ac_delim
 
23180
host_os!$host_os$ac_delim
 
23181
ECHO!$ECHO$ac_delim
 
23182
CXX!$CXX$ac_delim
 
23183
_ACEOF
 
23184
 
 
23185
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
23186
    break
 
23187
  elif $ac_last_try; then
 
23188
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23189
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23190
   { (exit 1); exit 1; }; }
 
23191
  else
 
23192
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23193
  fi
 
23194
done
 
23195
 
 
23196
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23197
if test -n "$ac_eof"; then
 
23198
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23199
  ac_eof=`expr $ac_eof + 1`
 
23200
fi
 
23201
 
 
23202
cat >>$CONFIG_STATUS <<_ACEOF
 
23203
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
23204
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
23205
_ACEOF
 
23206
sed '
 
23207
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23208
s/^/s,@/; s/!/@,|#_!!_#|/
 
23209
:n
 
23210
t n
 
23211
s/'"$ac_delim"'$/,g/; t
 
23212
s/$/\\/; p
 
23213
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23214
' >>$CONFIG_STATUS <conf$$subs.sed
 
23215
rm -f conf$$subs.sed
 
23216
cat >>$CONFIG_STATUS <<_ACEOF
 
23217
CEOF$ac_eof
 
23218
_ACEOF
 
23219
 
 
23220
 
 
23221
ac_delim='%!_!# '
 
23222
for ac_last_try in false false false false false :; do
 
23223
  cat >conf$$subs.sed <<_ACEOF
 
23224
CXXFLAGS!$CXXFLAGS$ac_delim
 
23225
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
23226
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
23227
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
23228
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
23229
CXXCPP!$CXXCPP$ac_delim
 
23230
F77!$F77$ac_delim
 
23231
FFLAGS!$FFLAGS$ac_delim
 
23232
ac_ct_F77!$ac_ct_F77$ac_delim
 
23233
LIBTOOL!$LIBTOOL$ac_delim
 
23234
WARN_CFLAGS!$WARN_CFLAGS$ac_delim
 
23235
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
23236
_ACEOF
 
23237
 
 
23238
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
 
23239
    break
 
23240
  elif $ac_last_try; then
 
23241
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23242
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23243
   { (exit 1); exit 1; }; }
 
23244
  else
 
23245
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23246
  fi
 
23247
done
 
23248
 
 
23249
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23250
if test -n "$ac_eof"; then
 
23251
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23252
  ac_eof=`expr $ac_eof + 1`
 
23253
fi
 
23254
 
 
23255
cat >>$CONFIG_STATUS <<_ACEOF
 
23256
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
23257
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
23258
_ACEOF
 
23259
sed '
 
23260
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23261
s/^/s,@/; s/!/@,|#_!!_#|/
 
23262
:n
 
23263
t n
 
23264
s/'"$ac_delim"'$/,g/; t
 
23265
s/$/\\/; p
 
23266
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23267
' >>$CONFIG_STATUS <conf$$subs.sed
 
23268
rm -f conf$$subs.sed
 
23269
cat >>$CONFIG_STATUS <<_ACEOF
 
23270
:end
 
23271
s/|#_!!_#|//g
 
23272
CEOF$ac_eof
 
23273
_ACEOF
 
23274
 
 
23275
 
 
23276
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
23277
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
23278
# trailing colons and then remove the whole line if VPATH becomes empty
 
23279
# (actually we leave an empty line to preserve line numbers).
 
23280
if test "x$srcdir" = x.; then
 
23281
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
23282
s/:*\$(srcdir):*/:/
 
23283
s/:*\${srcdir}:*/:/
 
23284
s/:*@srcdir@:*/:/
 
23285
s/^\([^=]*=[     ]*\):*/\1/
 
23286
s/:*$//
 
23287
s/^[^=]*=[       ]*$//
 
23288
}'
 
23289
fi
 
23290
 
 
23291
cat >>$CONFIG_STATUS <<\_ACEOF
22539
23292
fi # test -n "$CONFIG_FILES"
22540
23293
 
22541
 
_ACEOF
22542
 
cat >>$CONFIG_STATUS <<\_ACEOF
22543
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22544
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22545
 
  case $ac_file in
22546
 
  - | *:- | *:-:* ) # input from stdin
22547
 
        cat >$tmp/stdin
22548
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22549
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22550
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22551
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22552
 
  * )   ac_file_in=$ac_file.in ;;
22553
 
  esac
22554
 
 
22555
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22556
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
23294
 
 
23295
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
23296
do
 
23297
  case $ac_tag in
 
23298
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
23299
  esac
 
23300
  case $ac_mode$ac_tag in
 
23301
  :[FHL]*:*);;
 
23302
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
23303
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
23304
   { (exit 1); exit 1; }; };;
 
23305
  :[FH]-) ac_tag=-:-;;
 
23306
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
23307
  esac
 
23308
  ac_save_IFS=$IFS
 
23309
  IFS=:
 
23310
  set x $ac_tag
 
23311
  IFS=$ac_save_IFS
 
23312
  shift
 
23313
  ac_file=$1
 
23314
  shift
 
23315
 
 
23316
  case $ac_mode in
 
23317
  :L) ac_source=$1;;
 
23318
  :[FH])
 
23319
    ac_file_inputs=
 
23320
    for ac_f
 
23321
    do
 
23322
      case $ac_f in
 
23323
      -) ac_f="$tmp/stdin";;
 
23324
      *) # Look for the file first in the build tree, then in the source tree
 
23325
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
23326
         # because $ac_f cannot contain `:'.
 
23327
         test -f "$ac_f" ||
 
23328
           case $ac_f in
 
23329
           [\\/$]*) false;;
 
23330
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
23331
           esac ||
 
23332
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
23333
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
23334
   { (exit 1); exit 1; }; };;
 
23335
      esac
 
23336
      ac_file_inputs="$ac_file_inputs $ac_f"
 
23337
    done
 
23338
 
 
23339
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
23340
    # use $as_me), people would be surprised to read:
 
23341
    #    /* config.h.  Generated by config.status.  */
 
23342
    configure_input="Generated from "`IFS=:
 
23343
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
23344
    if test x"$ac_file" != x-; then
 
23345
      configure_input="$ac_file.  $configure_input"
 
23346
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
23347
echo "$as_me: creating $ac_file" >&6;}
 
23348
    fi
 
23349
 
 
23350
    case $ac_tag in
 
23351
    *:-:* | *:-) cat >"$tmp/stdin";;
 
23352
    esac
 
23353
    ;;
 
23354
  esac
 
23355
 
 
23356
  ac_dir=`$as_dirname -- "$ac_file" ||
22557
23357
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22558
23358
         X"$ac_file" : 'X\(//\)[^/]' \| \
22559
23359
         X"$ac_file" : 'X\(//\)$' \| \
22560
 
         X"$ac_file" : 'X\(/\)' \| \
22561
 
         .     : '\(.\)' 2>/dev/null ||
 
23360
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22562
23361
echo X"$ac_file" |
22563
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22564
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22565
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22566
 
          /^X\(\/\).*/{ s//\1/; q; }
22567
 
          s/.*/./; q'`
22568
 
  { if $as_mkdir_p; then
22569
 
    mkdir -p "$ac_dir"
22570
 
  else
22571
 
    as_dir="$ac_dir"
 
23362
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23363
            s//\1/
 
23364
            q
 
23365
          }
 
23366
          /^X\(\/\/\)[^/].*/{
 
23367
            s//\1/
 
23368
            q
 
23369
          }
 
23370
          /^X\(\/\/\)$/{
 
23371
            s//\1/
 
23372
            q
 
23373
          }
 
23374
          /^X\(\/\).*/{
 
23375
            s//\1/
 
23376
            q
 
23377
          }
 
23378
          s/.*/./; q'`
 
23379
  { as_dir="$ac_dir"
 
23380
  case $as_dir in #(
 
23381
  -*) as_dir=./$as_dir;;
 
23382
  esac
 
23383
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22572
23384
    as_dirs=
22573
 
    while test ! -d "$as_dir"; do
22574
 
      as_dirs="$as_dir $as_dirs"
22575
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23385
    while :; do
 
23386
      case $as_dir in #(
 
23387
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23388
      *) as_qdir=$as_dir;;
 
23389
      esac
 
23390
      as_dirs="'$as_qdir' $as_dirs"
 
23391
      as_dir=`$as_dirname -- "$as_dir" ||
22576
23392
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22577
23393
         X"$as_dir" : 'X\(//\)[^/]' \| \
22578
23394
         X"$as_dir" : 'X\(//\)$' \| \
22579
 
         X"$as_dir" : 'X\(/\)' \| \
22580
 
         .     : '\(.\)' 2>/dev/null ||
 
23395
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22581
23396
echo X"$as_dir" |
22582
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22583
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22584
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22585
 
          /^X\(\/\).*/{ s//\1/; q; }
22586
 
          s/.*/./; q'`
 
23397
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23398
            s//\1/
 
23399
            q
 
23400
          }
 
23401
          /^X\(\/\/\)[^/].*/{
 
23402
            s//\1/
 
23403
            q
 
23404
          }
 
23405
          /^X\(\/\/\)$/{
 
23406
            s//\1/
 
23407
            q
 
23408
          }
 
23409
          /^X\(\/\).*/{
 
23410
            s//\1/
 
23411
            q
 
23412
          }
 
23413
          s/.*/./; q'`
 
23414
      test -d "$as_dir" && break
22587
23415
    done
22588
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22589
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22590
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
23416
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23417
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23418
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22591
23419
   { (exit 1); exit 1; }; }; }
22592
 
 
22593
23420
  ac_builddir=.
22594
23421
 
22595
 
if test "$ac_dir" != .; then
 
23422
case "$ac_dir" in
 
23423
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23424
*)
22596
23425
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22597
 
  # A "../" for each directory in $ac_dir_suffix.
22598
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22599
 
else
22600
 
  ac_dir_suffix= ac_top_builddir=
22601
 
fi
 
23426
  # A ".." for each directory in $ac_dir_suffix.
 
23427
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
23428
  case $ac_top_builddir_sub in
 
23429
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23430
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
23431
  esac ;;
 
23432
esac
 
23433
ac_abs_top_builddir=$ac_pwd
 
23434
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
23435
# for backward compatibility:
 
23436
ac_top_builddir=$ac_top_build_prefix
22602
23437
 
22603
23438
case $srcdir in
22604
 
  .)  # No --srcdir option.  We are building in place.
 
23439
  .)  # We are building in place.
22605
23440
    ac_srcdir=.
22606
 
    if test -z "$ac_top_builddir"; then
22607
 
       ac_top_srcdir=.
22608
 
    else
22609
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22610
 
    fi ;;
22611
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
23441
    ac_top_srcdir=$ac_top_builddir_sub
 
23442
    ac_abs_top_srcdir=$ac_pwd ;;
 
23443
  [\\/]* | ?:[\\/]* )  # Absolute name.
22612
23444
    ac_srcdir=$srcdir$ac_dir_suffix;
22613
 
    ac_top_srcdir=$srcdir ;;
22614
 
  *) # Relative path.
22615
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22616
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22617
 
esac
22618
 
 
22619
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22620
 
# the directories may not exist.
22621
 
case `pwd` in
22622
 
.) ac_abs_builddir="$ac_dir";;
22623
 
*)
22624
 
  case "$ac_dir" in
22625
 
  .) ac_abs_builddir=`pwd`;;
22626
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22627
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
22628
 
  esac;;
22629
 
esac
22630
 
case $ac_abs_builddir in
22631
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22632
 
*)
22633
 
  case ${ac_top_builddir}. in
22634
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22635
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22636
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22637
 
  esac;;
22638
 
esac
22639
 
case $ac_abs_builddir in
22640
 
.) ac_abs_srcdir=$ac_srcdir;;
22641
 
*)
22642
 
  case $ac_srcdir in
22643
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22644
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22645
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22646
 
  esac;;
22647
 
esac
22648
 
case $ac_abs_builddir in
22649
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22650
 
*)
22651
 
  case $ac_top_srcdir in
22652
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
22653
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22654
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22655
 
  esac;;
22656
 
esac
22657
 
 
 
23445
    ac_top_srcdir=$srcdir
 
23446
    ac_abs_top_srcdir=$srcdir ;;
 
23447
  *) # Relative name.
 
23448
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
23449
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
23450
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
23451
esac
 
23452
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
23453
 
 
23454
 
 
23455
  case $ac_mode in
 
23456
  :F)
 
23457
  #
 
23458
  # CONFIG_FILE
 
23459
  #
22658
23460
 
22659
23461
  case $INSTALL in
22660
23462
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22661
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
23463
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22662
23464
  esac
22663
 
 
22664
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
22665
 
  # use $as_me), people would be surprised to read:
22666
 
  #    /* config.h.  Generated by config.status.  */
22667
 
  if test x"$ac_file" = x-; then
22668
 
    configure_input=
22669
 
  else
22670
 
    configure_input="$ac_file.  "
22671
 
  fi
22672
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
22673
 
                                     sed 's,.*/,,'` by configure."
22674
 
 
22675
 
  # First look for the input files in the build tree, otherwise in the
22676
 
  # src tree.
22677
 
  ac_file_inputs=`IFS=:
22678
 
    for f in $ac_file_in; do
22679
 
      case $f in
22680
 
      -) echo $tmp/stdin ;;
22681
 
      [\\/$]*)
22682
 
         # Absolute (can't be DOS-style, as IFS=:)
22683
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22684
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22685
 
   { (exit 1); exit 1; }; }
22686
 
         echo "$f";;
22687
 
      *) # Relative
22688
 
         if test -f "$f"; then
22689
 
           # Build tree
22690
 
           echo "$f"
22691
 
         elif test -f "$srcdir/$f"; then
22692
 
           # Source tree
22693
 
           echo "$srcdir/$f"
22694
 
         else
22695
 
           # /dev/null tree
22696
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22697
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22698
 
   { (exit 1); exit 1; }; }
22699
 
         fi;;
22700
 
      esac
22701
 
    done` || { (exit 1); exit 1; }
22702
 
 
22703
 
  if test x"$ac_file" != x-; then
22704
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
22705
 
echo "$as_me: creating $ac_file" >&6;}
22706
 
    rm -f "$ac_file"
22707
 
  fi
22708
 
_ACEOF
 
23465
_ACEOF
 
23466
 
 
23467
cat >>$CONFIG_STATUS <<\_ACEOF
 
23468
# If the template does not know about datarootdir, expand it.
 
23469
# FIXME: This hack should be removed a few years after 2.60.
 
23470
ac_datarootdir_hack=; ac_datarootdir_seen=
 
23471
 
 
23472
case `sed -n '/datarootdir/ {
 
23473
  p
 
23474
  q
 
23475
}
 
23476
/@datadir@/p
 
23477
/@docdir@/p
 
23478
/@infodir@/p
 
23479
/@localedir@/p
 
23480
/@mandir@/p
 
23481
' $ac_file_inputs` in
 
23482
*datarootdir*) ac_datarootdir_seen=yes;;
 
23483
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
23484
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
23485
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
23486
_ACEOF
 
23487
cat >>$CONFIG_STATUS <<_ACEOF
 
23488
  ac_datarootdir_hack='
 
23489
  s&@datadir@&$datadir&g
 
23490
  s&@docdir@&$docdir&g
 
23491
  s&@infodir@&$infodir&g
 
23492
  s&@localedir@&$localedir&g
 
23493
  s&@mandir@&$mandir&g
 
23494
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
23495
esac
 
23496
_ACEOF
 
23497
 
 
23498
# Neutralize VPATH when `$srcdir' = `.'.
 
23499
# Shell code in configure.ac might set extrasub.
 
23500
# FIXME: do we really want to maintain this feature?
22709
23501
cat >>$CONFIG_STATUS <<_ACEOF
22710
23502
  sed "$ac_vpsub
22711
23503
$extrasub
22713
23505
cat >>$CONFIG_STATUS <<\_ACEOF
22714
23506
:t
22715
23507
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22716
 
s,@configure_input@,$configure_input,;t t
22717
 
s,@srcdir@,$ac_srcdir,;t t
22718
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
22719
 
s,@top_srcdir@,$ac_top_srcdir,;t t
22720
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22721
 
s,@builddir@,$ac_builddir,;t t
22722
 
s,@abs_builddir@,$ac_abs_builddir,;t t
22723
 
s,@top_builddir@,$ac_top_builddir,;t t
22724
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22725
 
s,@INSTALL@,$ac_INSTALL,;t t
22726
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22727
 
  rm -f $tmp/stdin
22728
 
  if test x"$ac_file" != x-; then
22729
 
    mv $tmp/out $ac_file
22730
 
  else
22731
 
    cat $tmp/out
22732
 
    rm -f $tmp/out
22733
 
  fi
22734
 
 
22735
 
done
 
23508
s&@configure_input@&$configure_input&;t t
 
23509
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
23510
s&@srcdir@&$ac_srcdir&;t t
 
23511
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
23512
s&@top_srcdir@&$ac_top_srcdir&;t t
 
23513
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
23514
s&@builddir@&$ac_builddir&;t t
 
23515
s&@abs_builddir@&$ac_abs_builddir&;t t
 
23516
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
23517
s&@INSTALL@&$ac_INSTALL&;t t
 
23518
$ac_datarootdir_hack
 
23519
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
23520
 
 
23521
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
23522
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
23523
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
23524
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23525
which seems to be undefined.  Please make sure it is defined." >&5
 
23526
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23527
which seems to be undefined.  Please make sure it is defined." >&2;}
 
23528
 
 
23529
  rm -f "$tmp/stdin"
 
23530
  case $ac_file in
 
23531
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
23532
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
23533
  esac
 
23534
 ;;
 
23535
  :H)
 
23536
  #
 
23537
  # CONFIG_HEADER
 
23538
  #
22736
23539
_ACEOF
22737
 
cat >>$CONFIG_STATUS <<\_ACEOF
22738
 
 
22739
 
#
22740
 
# CONFIG_HEADER section.
22741
 
#
22742
 
 
22743
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22744
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
22745
 
#
22746
 
# ac_d sets the value in "#define NAME VALUE" lines.
22747
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
22748
 
ac_dB='[         ].*$,\1#\2'
 
23540
 
 
23541
# Transform confdefs.h into a sed script `conftest.defines', that
 
23542
# substitutes the proper values into config.h.in to produce config.h.
 
23543
rm -f conftest.defines conftest.tail
 
23544
# First, append a space to every undef/define line, to ease matching.
 
23545
echo 's/$/ /' >conftest.defines
 
23546
# Then, protect against being on the right side of a sed subst, or in
 
23547
# an unquoted here document, in config.status.  If some macros were
 
23548
# called several times there might be several #defines for the same
 
23549
# symbol, which is useless.  But do not sort them, since the last
 
23550
# AC_DEFINE must be honored.
 
23551
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
23552
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
23553
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
23554
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
23555
# just an empty string.
 
23556
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
23557
ac_dB='\\)[      (].*,\\1define\\2'
22749
23558
ac_dC=' '
22750
 
ac_dD=',;t'
22751
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22752
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
22753
 
ac_uB='$,\1#\2define\3'
22754
 
ac_uC=' '
22755
 
ac_uD=',;t'
22756
 
 
22757
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22758
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22759
 
  case $ac_file in
22760
 
  - | *:- | *:-:* ) # input from stdin
22761
 
        cat >$tmp/stdin
22762
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22763
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22764
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22765
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22766
 
  * )   ac_file_in=$ac_file.in ;;
22767
 
  esac
22768
 
 
22769
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22770
 
echo "$as_me: creating $ac_file" >&6;}
22771
 
 
22772
 
  # First look for the input files in the build tree, otherwise in the
22773
 
  # src tree.
22774
 
  ac_file_inputs=`IFS=:
22775
 
    for f in $ac_file_in; do
22776
 
      case $f in
22777
 
      -) echo $tmp/stdin ;;
22778
 
      [\\/$]*)
22779
 
         # Absolute (can't be DOS-style, as IFS=:)
22780
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22781
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22782
 
   { (exit 1); exit 1; }; }
22783
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
22784
 
         echo "$f";;
22785
 
      *) # Relative
22786
 
         if test -f "$f"; then
22787
 
           # Build tree
22788
 
           echo "$f"
22789
 
         elif test -f "$srcdir/$f"; then
22790
 
           # Source tree
22791
 
           echo "$srcdir/$f"
22792
 
         else
22793
 
           # /dev/null tree
22794
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22795
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22796
 
   { (exit 1); exit 1; }; }
22797
 
         fi;;
22798
 
      esac
22799
 
    done` || { (exit 1); exit 1; }
22800
 
  # Remove the trailing spaces.
22801
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
22802
 
 
22803
 
_ACEOF
22804
 
 
22805
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
22806
 
# `conftest.undefs', that substitutes the proper values into
22807
 
# config.h.in to produce config.h.  The first handles `#define'
22808
 
# templates, and the second `#undef' templates.
22809
 
# And first: Protect against being on the right side of a sed subst in
22810
 
# config.status.  Protect against being in an unquoted here document
22811
 
# in config.status.
22812
 
rm -f conftest.defines conftest.undefs
22813
 
# Using a here document instead of a string reduces the quoting nightmare.
22814
 
# Putting comments in sed scripts is not portable.
22815
 
#
22816
 
# `end' is used to avoid that the second main sed command (meant for
22817
 
# 0-ary CPP macros) applies to n-ary macro definitions.
22818
 
# See the Autoconf documentation for `clear'.
22819
 
cat >confdef2sed.sed <<\_ACEOF
22820
 
s/[\\&,]/\\&/g
22821
 
s,[\\$`],\\&,g
22822
 
t clear
22823
 
: clear
22824
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22825
 
t end
22826
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22827
 
: end
22828
 
_ACEOF
22829
 
# If some macros were called several times there might be several times
22830
 
# the same #defines, which is useless.  Nevertheless, we may not want to
22831
 
# sort them, since we want the *last* AC-DEFINE to be honored.
22832
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22833
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22834
 
rm -f confdef2sed.sed
22835
 
 
22836
 
# This sed command replaces #undef with comments.  This is necessary, for
 
23559
ac_dD=' ,'
 
23560
 
 
23561
uniq confdefs.h |
 
23562
  sed -n '
 
23563
        t rset
 
23564
        :rset
 
23565
        s/^[     ]*#[    ]*define[       ][      ]*//
 
23566
        t ok
 
23567
        d
 
23568
        :ok
 
23569
        s/[\\&,]/\\&/g
 
23570
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
23571
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
23572
  ' >>conftest.defines
 
23573
 
 
23574
# Remove the space that was appended to ease matching.
 
23575
# Then replace #undef with comments.  This is necessary, for
22837
23576
# example, in the case of _POSIX_SOURCE, which is predefined and required
22838
23577
# on some systems where configure will not decide to define it.
22839
 
cat >>conftest.undefs <<\_ACEOF
22840
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
23578
# (The regexp can be short, since the line contains either #define or #undef.)
 
23579
echo 's/ $//
 
23580
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
23581
 
 
23582
# Break up conftest.defines:
 
23583
ac_max_sed_lines=50
 
23584
 
 
23585
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
23586
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
23587
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
23588
# et cetera.
 
23589
ac_in='$ac_file_inputs'
 
23590
ac_out='"$tmp/out1"'
 
23591
ac_nxt='"$tmp/out2"'
 
23592
 
 
23593
while :
 
23594
do
 
23595
  # Write a here document:
 
23596
    cat >>$CONFIG_STATUS <<_ACEOF
 
23597
    # First, check the format of the line:
 
23598
    cat >"\$tmp/defines.sed" <<\\CEOF
 
23599
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
23600
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
23601
b
 
23602
:def
22841
23603
_ACEOF
22842
 
 
22843
 
# Break up conftest.defines because some shells have a limit on the size
22844
 
# of here documents, and old seds have small limits too (100 cmds).
22845
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22846
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22847
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22848
 
echo '  :' >>$CONFIG_STATUS
22849
 
rm -f conftest.tail
22850
 
while grep . conftest.defines >/dev/null
22851
 
do
22852
 
  # Write a limited-size here document to $tmp/defines.sed.
22853
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22854
 
  # Speed up: don't consider the non `#define' lines.
22855
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
22856
 
  # Work around the forget-to-reset-the-flag bug.
22857
 
  echo 't clr' >>$CONFIG_STATUS
22858
 
  echo ': clr' >>$CONFIG_STATUS
22859
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
23604
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22860
23605
  echo 'CEOF
22861
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
22862
 
  rm -f $tmp/in
22863
 
  mv $tmp/out $tmp/in
22864
 
' >>$CONFIG_STATUS
22865
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
23606
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
23607
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
23608
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
23609
  grep . conftest.tail >/dev/null || break
22866
23610
  rm -f conftest.defines
22867
23611
  mv conftest.tail conftest.defines
22868
23612
done
22869
 
rm -f conftest.defines
22870
 
echo '  fi # grep' >>$CONFIG_STATUS
22871
 
echo >>$CONFIG_STATUS
22872
 
 
22873
 
# Break up conftest.undefs because some shells have a limit on the size
22874
 
# of here documents, and old seds have small limits too (100 cmds).
22875
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
22876
 
rm -f conftest.tail
22877
 
while grep . conftest.undefs >/dev/null
22878
 
do
22879
 
  # Write a limited-size here document to $tmp/undefs.sed.
22880
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22881
 
  # Speed up: don't consider the non `#undef'
22882
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
22883
 
  # Work around the forget-to-reset-the-flag bug.
22884
 
  echo 't clr' >>$CONFIG_STATUS
22885
 
  echo ': clr' >>$CONFIG_STATUS
22886
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22887
 
  echo 'CEOF
22888
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22889
 
  rm -f $tmp/in
22890
 
  mv $tmp/out $tmp/in
22891
 
' >>$CONFIG_STATUS
22892
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22893
 
  rm -f conftest.undefs
22894
 
  mv conftest.tail conftest.undefs
22895
 
done
22896
 
rm -f conftest.undefs
22897
 
 
 
23613
rm -f conftest.defines conftest.tail
 
23614
 
 
23615
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22898
23616
cat >>$CONFIG_STATUS <<\_ACEOF
22899
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
22900
 
  # use $as_me), people would be surprised to read:
22901
 
  #    /* config.h.  Generated by config.status.  */
22902
 
  if test x"$ac_file" = x-; then
22903
 
    echo "/* Generated by configure.  */" >$tmp/config.h
22904
 
  else
22905
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
22906
 
  fi
22907
 
  cat $tmp/in >>$tmp/config.h
22908
 
  rm -f $tmp/in
22909
23617
  if test x"$ac_file" != x-; then
22910
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
23618
    echo "/* $configure_input  */" >"$tmp/config.h"
 
23619
    cat "$ac_result" >>"$tmp/config.h"
 
23620
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22911
23621
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22912
23622
echo "$as_me: $ac_file is unchanged" >&6;}
22913
23623
    else
22914
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22915
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22916
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
22917
 
         X"$ac_file" : 'X\(//\)$' \| \
22918
 
         X"$ac_file" : 'X\(/\)' \| \
22919
 
         .     : '\(.\)' 2>/dev/null ||
22920
 
echo X"$ac_file" |
22921
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22922
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22923
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22924
 
          /^X\(\/\).*/{ s//\1/; q; }
22925
 
          s/.*/./; q'`
22926
 
      { if $as_mkdir_p; then
22927
 
    mkdir -p "$ac_dir"
22928
 
  else
22929
 
    as_dir="$ac_dir"
22930
 
    as_dirs=
22931
 
    while test ! -d "$as_dir"; do
22932
 
      as_dirs="$as_dir $as_dirs"
22933
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22934
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22935
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22936
 
         X"$as_dir" : 'X\(//\)$' \| \
22937
 
         X"$as_dir" : 'X\(/\)' \| \
22938
 
         .     : '\(.\)' 2>/dev/null ||
22939
 
echo X"$as_dir" |
22940
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22941
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22942
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22943
 
          /^X\(\/\).*/{ s//\1/; q; }
22944
 
          s/.*/./; q'`
22945
 
    done
22946
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22947
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22948
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22949
 
   { (exit 1); exit 1; }; }; }
22950
 
 
22951
23624
      rm -f $ac_file
22952
 
      mv $tmp/config.h $ac_file
 
23625
      mv "$tmp/config.h" $ac_file
22953
23626
    fi
22954
23627
  else
22955
 
    cat $tmp/config.h
22956
 
    rm -f $tmp/config.h
 
23628
    echo "/* $configure_input  */"
 
23629
    cat "$ac_result"
22957
23630
  fi
 
23631
  rm -f "$tmp/out12"
22958
23632
# Compute $ac_file's index in $config_headers.
22959
23633
_am_stamp_count=1
22960
23634
for _am_header in $config_headers :; do
22965
23639
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22966
23640
  esac
22967
23641
done
22968
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
23642
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22969
23643
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22970
23644
         X$ac_file : 'X\(//\)[^/]' \| \
22971
23645
         X$ac_file : 'X\(//\)$' \| \
22972
 
         X$ac_file : 'X\(/\)' \| \
22973
 
         .     : '\(.\)' 2>/dev/null ||
 
23646
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22974
23647
echo X$ac_file |
22975
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22976
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22977
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22978
 
          /^X\(\/\).*/{ s//\1/; q; }
22979
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
22980
 
done
22981
 
_ACEOF
22982
 
cat >>$CONFIG_STATUS <<\_ACEOF
22983
 
 
22984
 
#
22985
 
# CONFIG_COMMANDS section.
22986
 
#
22987
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22988
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22989
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22990
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22991
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22992
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
22993
 
         X"$ac_dest" : 'X\(//\)$' \| \
22994
 
         X"$ac_dest" : 'X\(/\)' \| \
22995
 
         .     : '\(.\)' 2>/dev/null ||
22996
 
echo X"$ac_dest" |
22997
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22998
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22999
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23000
 
          /^X\(\/\).*/{ s//\1/; q; }
23001
 
          s/.*/./; q'`
23002
 
  { if $as_mkdir_p; then
23003
 
    mkdir -p "$ac_dir"
23004
 
  else
23005
 
    as_dir="$ac_dir"
23006
 
    as_dirs=
23007
 
    while test ! -d "$as_dir"; do
23008
 
      as_dirs="$as_dir $as_dirs"
23009
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23010
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23011
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23012
 
         X"$as_dir" : 'X\(//\)$' \| \
23013
 
         X"$as_dir" : 'X\(/\)' \| \
23014
 
         .     : '\(.\)' 2>/dev/null ||
23015
 
echo X"$as_dir" |
23016
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23017
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23018
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23019
 
          /^X\(\/\).*/{ s//\1/; q; }
23020
 
          s/.*/./; q'`
23021
 
    done
23022
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23023
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23024
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23025
 
   { (exit 1); exit 1; }; }; }
23026
 
 
23027
 
  ac_builddir=.
23028
 
 
23029
 
if test "$ac_dir" != .; then
23030
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23031
 
  # A "../" for each directory in $ac_dir_suffix.
23032
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23033
 
else
23034
 
  ac_dir_suffix= ac_top_builddir=
23035
 
fi
23036
 
 
23037
 
case $srcdir in
23038
 
  .)  # No --srcdir option.  We are building in place.
23039
 
    ac_srcdir=.
23040
 
    if test -z "$ac_top_builddir"; then
23041
 
       ac_top_srcdir=.
23042
 
    else
23043
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23044
 
    fi ;;
23045
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
23046
 
    ac_srcdir=$srcdir$ac_dir_suffix;
23047
 
    ac_top_srcdir=$srcdir ;;
23048
 
  *) # Relative path.
23049
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23050
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23051
 
esac
23052
 
 
23053
 
# Do not use `cd foo && pwd` to compute absolute paths, because
23054
 
# the directories may not exist.
23055
 
case `pwd` in
23056
 
.) ac_abs_builddir="$ac_dir";;
23057
 
*)
23058
 
  case "$ac_dir" in
23059
 
  .) ac_abs_builddir=`pwd`;;
23060
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23061
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
23062
 
  esac;;
23063
 
esac
23064
 
case $ac_abs_builddir in
23065
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23066
 
*)
23067
 
  case ${ac_top_builddir}. in
23068
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
23069
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23070
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23071
 
  esac;;
23072
 
esac
23073
 
case $ac_abs_builddir in
23074
 
.) ac_abs_srcdir=$ac_srcdir;;
23075
 
*)
23076
 
  case $ac_srcdir in
23077
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
23078
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23079
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23080
 
  esac;;
23081
 
esac
23082
 
case $ac_abs_builddir in
23083
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23084
 
*)
23085
 
  case $ac_top_srcdir in
23086
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
23087
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23088
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23089
 
  esac;;
23090
 
esac
23091
 
 
23092
 
 
23093
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23094
 
echo "$as_me: executing $ac_dest commands" >&6;}
23095
 
  case $ac_dest in
23096
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
23648
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23649
            s//\1/
 
23650
            q
 
23651
          }
 
23652
          /^X\(\/\/\)[^/].*/{
 
23653
            s//\1/
 
23654
            q
 
23655
          }
 
23656
          /^X\(\/\/\)$/{
 
23657
            s//\1/
 
23658
            q
 
23659
          }
 
23660
          /^X\(\/\).*/{
 
23661
            s//\1/
 
23662
            q
 
23663
          }
 
23664
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
23665
 ;;
 
23666
  
 
23667
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
23668
echo "$as_me: executing $ac_file commands" >&6;}
 
23669
 ;;
 
23670
  esac
 
23671
 
 
23672
 
 
23673
  case $ac_file$ac_mode in
 
23674
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23097
23675
  # Strip MF so we end up with the name of the file.
23098
23676
  mf=`echo "$mf" | sed -e 's/:.*$//'`
23099
23677
  # Check whether this is an Automake generated Makefile or not.
23103
23681
  # each Makefile.in and add a new line on top of each file to say so.
23104
23682
  # So let's grep whole file.
23105
23683
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
23106
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
23684
    dirpart=`$as_dirname -- "$mf" ||
23107
23685
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23108
23686
         X"$mf" : 'X\(//\)[^/]' \| \
23109
23687
         X"$mf" : 'X\(//\)$' \| \
23110
 
         X"$mf" : 'X\(/\)' \| \
23111
 
         .     : '\(.\)' 2>/dev/null ||
 
23688
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23112
23689
echo X"$mf" |
23113
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23114
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23115
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23116
 
          /^X\(\/\).*/{ s//\1/; q; }
23117
 
          s/.*/./; q'`
 
23690
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23691
            s//\1/
 
23692
            q
 
23693
          }
 
23694
          /^X\(\/\/\)[^/].*/{
 
23695
            s//\1/
 
23696
            q
 
23697
          }
 
23698
          /^X\(\/\/\)$/{
 
23699
            s//\1/
 
23700
            q
 
23701
          }
 
23702
          /^X\(\/\).*/{
 
23703
            s//\1/
 
23704
            q
 
23705
          }
 
23706
          s/.*/./; q'`
23118
23707
  else
23119
23708
    continue
23120
23709
  fi
23136
23725
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23137
23726
    # Make sure the directory exists.
23138
23727
    test -f "$dirpart/$file" && continue
23139
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
23728
    fdir=`$as_dirname -- "$file" ||
23140
23729
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23141
23730
         X"$file" : 'X\(//\)[^/]' \| \
23142
23731
         X"$file" : 'X\(//\)$' \| \
23143
 
         X"$file" : 'X\(/\)' \| \
23144
 
         .     : '\(.\)' 2>/dev/null ||
 
23732
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23145
23733
echo X"$file" |
23146
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23147
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23148
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23149
 
          /^X\(\/\).*/{ s//\1/; q; }
23150
 
          s/.*/./; q'`
23151
 
    { if $as_mkdir_p; then
23152
 
    mkdir -p $dirpart/$fdir
23153
 
  else
23154
 
    as_dir=$dirpart/$fdir
 
23734
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23735
            s//\1/
 
23736
            q
 
23737
          }
 
23738
          /^X\(\/\/\)[^/].*/{
 
23739
            s//\1/
 
23740
            q
 
23741
          }
 
23742
          /^X\(\/\/\)$/{
 
23743
            s//\1/
 
23744
            q
 
23745
          }
 
23746
          /^X\(\/\).*/{
 
23747
            s//\1/
 
23748
            q
 
23749
          }
 
23750
          s/.*/./; q'`
 
23751
    { as_dir=$dirpart/$fdir
 
23752
  case $as_dir in #(
 
23753
  -*) as_dir=./$as_dir;;
 
23754
  esac
 
23755
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23155
23756
    as_dirs=
23156
 
    while test ! -d "$as_dir"; do
23157
 
      as_dirs="$as_dir $as_dirs"
23158
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23757
    while :; do
 
23758
      case $as_dir in #(
 
23759
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23760
      *) as_qdir=$as_dir;;
 
23761
      esac
 
23762
      as_dirs="'$as_qdir' $as_dirs"
 
23763
      as_dir=`$as_dirname -- "$as_dir" ||
23159
23764
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23160
23765
         X"$as_dir" : 'X\(//\)[^/]' \| \
23161
23766
         X"$as_dir" : 'X\(//\)$' \| \
23162
 
         X"$as_dir" : 'X\(/\)' \| \
23163
 
         .     : '\(.\)' 2>/dev/null ||
 
23767
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23164
23768
echo X"$as_dir" |
23165
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23166
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23167
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23168
 
          /^X\(\/\).*/{ s//\1/; q; }
23169
 
          s/.*/./; q'`
 
23769
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23770
            s//\1/
 
23771
            q
 
23772
          }
 
23773
          /^X\(\/\/\)[^/].*/{
 
23774
            s//\1/
 
23775
            q
 
23776
          }
 
23777
          /^X\(\/\/\)$/{
 
23778
            s//\1/
 
23779
            q
 
23780
          }
 
23781
          /^X\(\/\).*/{
 
23782
            s//\1/
 
23783
            q
 
23784
          }
 
23785
          s/.*/./; q'`
 
23786
      test -d "$as_dir" && break
23170
23787
    done
23171
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23172
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
23173
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
23788
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23789
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23790
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23174
23791
   { (exit 1); exit 1; }; }; }
23175
 
 
23176
23792
    # echo "creating $dirpart/$file"
23177
23793
    echo '# dummy' > "$dirpart/$file"
23178
23794
  done
23179
23795
done
23180
23796
 ;;
 
23797
 
23181
23798
  esac
23182
 
done
23183
 
_ACEOF
 
23799
done # for ac_tag
23184
23800
 
23185
 
cat >>$CONFIG_STATUS <<\_ACEOF
23186
23801
 
23187
23802
{ (exit 0); exit 0; }
23188
23803
_ACEOF