Switch to unified view

a/unac/configure b/unac/configure
1
#! /bin/sh
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.53.
3
# Generated by GNU Autoconf 2.61.
4
#
4
#
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# Free Software Foundation, Inc.
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization.  ##
11
## --------------------- ##
12
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
  emulate sh
17
  NULLCMD=:
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
  # is contrary to our usage.  Disable this feature.
20
  alias -g '${1+"$@"}'='"$@"'
21
  setopt NO_GLOB_SUBST
22
else
23
  case `(set -o) 2>/dev/null` in
24
  *posix*) set -o posix ;;
25
esac
26
27
fi
28
29
30
31
32
# PATH needs CR
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40
# The user is always right.
41
if test "${PATH_SEPARATOR+set}" != set; then
42
  echo "#! /bin/sh" >conf$$.sh
43
  echo  "exit 0"   >>conf$$.sh
44
  chmod +x conf$$.sh
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
    PATH_SEPARATOR=';'
47
  else
48
    PATH_SEPARATOR=:
49
  fi
50
  rm -f conf$$.sh
51
fi
52
53
# Support unset when possible.
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
  as_unset=unset
56
else
57
  as_unset=false
58
fi
59
60
61
# IFS
62
# We need space, tab and new line, in precisely that order.  Quoting is
63
# there to prevent editors from complaining about space-tab.
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
# splitting by setting IFS to empty value.)
66
as_nl='
67
'
68
IFS=" ""  $as_nl"
69
70
# Find who we are.  Look in the path if we contain no directory separator.
71
case $0 in
72
  *[\\/]* ) as_myself=$0 ;;
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
for as_dir in $PATH
75
do
76
  IFS=$as_save_IFS
77
  test -z "$as_dir" && as_dir=.
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
done
80
IFS=$as_save_IFS
81
82
     ;;
83
esac
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
# in which case we are not to be found in the path.
86
if test "x$as_myself" = x; then
87
  as_myself=$0
88
fi
89
if test ! -f "$as_myself"; then
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
  { (exit 1); exit 1; }
92
fi
93
94
# Work around bugs in pre-3.0 UWIN ksh.
95
for as_var in ENV MAIL MAILPATH
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97
done
98
PS1='$ '
99
PS2='> '
100
PS4='+ '
101
102
# NLS nuisances.
103
for as_var in \
104
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
  LC_TELEPHONE LC_TIME
107
do
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
    eval $as_var=C; export $as_var
110
  else
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
  fi
113
done
114
115
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
  as_expr=expr
119
else
120
  as_expr=false
121
fi
122
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
  as_basename=basename
125
else
126
  as_basename=false
127
fi
128
129
130
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
   X"$0" : 'X\(//\)$' \| \
134
   X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
echo X/"$0" |
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
      s//\1/
138
      q
139
    }
140
    /^X\/\(\/\/\)$/{
141
      s//\1/
142
      q
143
    }
144
    /^X\/\(\/\).*/{
145
      s//\1/
146
      q
147
    }
148
    s/.*/./; q'`
149
150
# CDPATH.
151
$as_unset CDPATH
152
153
154
if test "x$CONFIG_SHELL" = x; then
155
  if (eval ":") 2>/dev/null; then
156
  as_have_required=yes
157
else
158
  as_have_required=no
159
fi
160
161
  if test $as_have_required = yes &&   (eval ":
162
(as_func_return () {
163
  (exit \$1)
164
}
165
as_func_success () {
166
  as_func_return 0
167
}
168
as_func_failure () {
169
  as_func_return 1
170
}
171
as_func_ret_success () {
172
  return 0
173
}
174
as_func_ret_failure () {
175
  return 1
176
}
177
178
exitcode=0
179
if as_func_success; then
180
  :
181
else
182
  exitcode=1
183
  echo as_func_success failed.
184
fi
185
186
if as_func_failure; then
187
  exitcode=1
188
  echo as_func_failure succeeded.
189
fi
190
191
if as_func_ret_success; then
192
  :
193
else
194
  exitcode=1
195
  echo as_func_ret_success failed.
196
fi
197
198
if as_func_ret_failure; then
199
  exitcode=1
200
  echo as_func_ret_failure succeeded.
201
fi
202
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
  :
205
else
206
  exitcode=1
207
  echo positional parameters were not saved.
208
fi
209
210
test \$exitcode = 0) || { (exit 1); exit 1; }
211
212
(
213
  as_lineno_1=\$LINENO
214
  as_lineno_2=\$LINENO
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
218
  :
219
else
220
  as_candidate_shells=
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
do
224
  IFS=$as_save_IFS
225
  test -z "$as_dir" && as_dir=.
226
  case $as_dir in
227
   /*)
228
     for as_base in sh bash ksh sh5; do
229
       as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230
     done;;
231
       esac
232
done
233
IFS=$as_save_IFS
234
235
236
      for as_shell in $as_candidate_shells $SHELL; do
237
   # Try only shells that exist, to save several forks.
238
   if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
      { ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
  emulate sh
242
  NULLCMD=:
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
  # is contrary to our usage.  Disable this feature.
245
  alias -g '${1+"$@"}'='"$@"'
246
  setopt NO_GLOB_SUBST
247
else
248
  case `(set -o) 2>/dev/null` in
249
  *posix*) set -o posix ;;
250
esac
251
252
fi
253
254
255
:
256
_ASEOF
257
}; then
258
  CONFIG_SHELL=$as_shell
259
         as_have_required=yes
260
         if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
  emulate sh
263
  NULLCMD=:
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
  # is contrary to our usage.  Disable this feature.
266
  alias -g '${1+"$@"}'='"$@"'
267
  setopt NO_GLOB_SUBST
268
else
269
  case `(set -o) 2>/dev/null` in
270
  *posix*) set -o posix ;;
271
esac
272
273
fi
274
275
276
:
277
(as_func_return () {
278
  (exit $1)
279
}
280
as_func_success () {
281
  as_func_return 0
282
}
283
as_func_failure () {
284
  as_func_return 1
285
}
286
as_func_ret_success () {
287
  return 0
288
}
289
as_func_ret_failure () {
290
  return 1
291
}
292
293
exitcode=0
294
if as_func_success; then
295
  :
296
else
297
  exitcode=1
298
  echo as_func_success failed.
299
fi
300
301
if as_func_failure; then
302
  exitcode=1
303
  echo as_func_failure succeeded.
304
fi
305
306
if as_func_ret_success; then
307
  :
308
else
309
  exitcode=1
310
  echo as_func_ret_success failed.
311
fi
312
313
if as_func_ret_failure; then
314
  exitcode=1
315
  echo as_func_ret_failure succeeded.
316
fi
317
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
  :
320
else
321
  exitcode=1
322
  echo positional parameters were not saved.
323
fi
324
325
test $exitcode = 0) || { (exit 1); exit 1; }
326
327
(
328
  as_lineno_1=$LINENO
329
  as_lineno_2=$LINENO
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333
_ASEOF
334
}; then
335
  break
336
fi
337
338
fi
339
340
      done
341
342
      if test "x$CONFIG_SHELL" != x; then
343
  for as_var in BASH_ENV ENV
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
        done
346
        export CONFIG_SHELL
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
fi
349
350
351
    if test $as_have_required = no; then
352
  echo This script requires a shell more modern than all the
353
      echo shells that I found on your system.  Please install a
354
      echo modern shell, or manually run the script under such a
355
      echo shell if you do have one.
356
      { (exit 1); exit 1; }
357
fi
358
359
360
fi
361
362
fi
363
364
365
366
(eval "as_func_return () {
367
  (exit \$1)
368
}
369
as_func_success () {
370
  as_func_return 0
371
}
372
as_func_failure () {
373
  as_func_return 1
374
}
375
as_func_ret_success () {
376
  return 0
377
}
378
as_func_ret_failure () {
379
  return 1
380
}
381
382
exitcode=0
383
if as_func_success; then
384
  :
385
else
386
  exitcode=1
387
  echo as_func_success failed.
388
fi
389
390
if as_func_failure; then
391
  exitcode=1
392
  echo as_func_failure succeeded.
393
fi
394
395
if as_func_ret_success; then
396
  :
397
else
398
  exitcode=1
399
  echo as_func_ret_success failed.
400
fi
401
402
if as_func_ret_failure; then
403
  exitcode=1
404
  echo as_func_ret_failure succeeded.
405
fi
406
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
  :
409
else
410
  exitcode=1
411
  echo positional parameters were not saved.
412
fi
413
414
test \$exitcode = 0") || {
415
  echo No shell found that supports shell functions.
416
  echo Please tell autoconf@gnu.org about your system,
417
  echo including any error possibly output before this
418
  echo message
419
}
420
421
422
423
  as_lineno_1=$LINENO
424
  as_lineno_2=$LINENO
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
  # line-number line after each line using $LINENO; the second 'sed'
431
  # does the real work.  The second script uses 'N' to pair each
432
  # line-number line with the line containing $LINENO, and appends
433
  # trailing '-' during substitution so that $LINENO is not a special
434
  # case at line end.
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
438
  sed -n '
439
    p
440
    /[$]LINENO/=
441
  ' <$as_myself |
442
    sed '
443
      s/[$]LINENO.*/&-/
444
      t lineno
445
      b
446
      :lineno
447
      N
448
      :loop
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450
      t loop
451
      s/-\n.*//
452
    ' >$as_me.lineno &&
453
  chmod +x "$as_me.lineno" ||
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
   { (exit 1); exit 1; }; }
456
457
  # Don't try to exec as it changes $[0], causing all sort of problems
458
  # (the dirname of $[0] is not the place where we might find the
459
  # original and so on.  Autoconf is especially sensitive to this).
460
  . "./$as_me.lineno"
461
  # Exit status is that of the last command.
462
  exit
463
}
464
465
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
  as_dirname=dirname
468
else
469
  as_dirname=false
470
fi
471
472
ECHO_C= ECHO_N= ECHO_T=
473
case `echo -n x` in
474
-n*)
475
  case `echo 'x\c'` in
476
  *c*) ECHO_T='   ';; # ECHO_T is single tab character.
477
  *)   ECHO_C='\c';;
478
  esac;;
479
*)
480
  ECHO_N='-n';;
481
esac
482
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
  as_expr=expr
486
else
487
  as_expr=false
488
fi
489
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
  rm -f conf$$.dir/conf$$.file
493
else
494
  rm -f conf$$.dir
495
  mkdir conf$$.dir
496
fi
497
echo >conf$$.file
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
  as_ln_s='ln -s'
500
  # ... but there are two gotchas:
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
  # In both cases, we have to default to `cp -p'.
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505
    as_ln_s='cp -p'
506
elif ln conf$$.file conf$$ 2>/dev/null; then
507
  as_ln_s=ln
508
else
509
  as_ln_s='cp -p'
510
fi
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
513
514
if mkdir -p . 2>/dev/null; then
515
  as_mkdir_p=:
516
else
517
  test -d ./-p && rmdir ./-p
518
  as_mkdir_p=false
519
fi
520
521
if test -x / >/dev/null 2>&1; then
522
  as_test_x='test -x'
523
else
524
  if ls -dL / >/dev/null 2>&1; then
525
    as_ls_L_option=L
526
  else
527
    as_ls_L_option=
528
  fi
529
  as_test_x='
530
    eval sh -c '\''
531
      if test -d "$1"; then
532
        test -d "$1/.";
533
      else
534
  case $1 in
535
        -*)set "./$1";;
536
  esac;
537
  case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
  ???[sx]*):;;*)false;;esac;fi
539
    '\'' sh
540
  '
541
fi
542
as_executable_p=$as_test_x
543
544
# Sed expression to map a string onto a valid CPP name.
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547
# Sed expression to map a string onto a valid variable name.
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
9
551
10
# Find the correct PATH separator.  Usually this is `:', but
552
# Find the correct PATH separator.  Usually this is `:', but
11
# DJGPP uses `;' like DOS.
553
# DJGPP uses `;' like DOS.
12
if test "X${PATH_SEPARATOR+set}" != Xset; then
554
if test "X${PATH_SEPARATOR+set}" != Xset; then
13
  UNAME=${UNAME-`uname 2>/dev/null`}
555
  UNAME=${UNAME-`uname 2>/dev/null`}
...
...
164
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
706
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
165
fi
707
fi
166
708
167
709
168
710
169
if expr a : '\(a\)' >/dev/null 2>&1; then
711
exec 7<&0 </dev/null 6>&1
170
  as_expr=expr
171
else
172
  as_expr=false
173
fi
174
175
176
## --------------------- ##
177
## M4sh Initialization.  ##
178
## --------------------- ##
179
180
# Be Bourne compatible
181
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
182
  emulate sh
183
  NULLCMD=:
184
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
185
  set -o posix
186
fi
187
188
# NLS nuisances.
189
# Support unset when possible.
190
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
191
  as_unset=unset
192
else
193
  as_unset=false
194
fi
195
196
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
197
    { $as_unset LANG || test "${LANG+set}" != set; } ||
198
      { LANG=C; export LANG; }
199
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
200
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
201
      { LC_ALL=C; export LC_ALL; }
202
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
203
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
204
      { LC_TIME=C; export LC_TIME; }
205
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
206
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
207
      { LC_CTYPE=C; export LC_CTYPE; }
208
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
209
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
210
      { LANGUAGE=C; export LANGUAGE; }
211
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
212
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
213
      { LC_COLLATE=C; export LC_COLLATE; }
214
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
215
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
216
      { LC_NUMERIC=C; export LC_NUMERIC; }
217
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
218
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
219
      { LC_MESSAGES=C; export LC_MESSAGES; }
220
221
222
# Name of the executable.
223
as_me=`(basename "$0") 2>/dev/null ||
224
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
225
   X"$0" : 'X\(//\)$' \| \
226
   X"$0" : 'X\(/\)$' \| \
227
   .     : '\(.\)' 2>/dev/null ||
228
echo X/"$0" |
229
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
230
        /^X\/\(\/\/\)$/{ s//\1/; q; }
231
        /^X\/\(\/\).*/{ s//\1/; q; }
232
        s/.*/./; q'`
233
234
# PATH needs CR, and LINENO needs CR and PATH.
235
# Avoid depending upon Character Ranges.
236
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
237
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
238
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
239
as_cr_digits='0123456789'
240
as_cr_alnum=$as_cr_Letters$as_cr_digits
241
242
# The user is always right.
243
if test "${PATH_SEPARATOR+set}" != set; then
244
  echo "#! /bin/sh" >conftest.sh
245
  echo  "exit 0"   >>conftest.sh
246
  chmod +x conftest.sh
247
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
248
    PATH_SEPARATOR=';'
249
  else
250
    PATH_SEPARATOR=:
251
  fi
252
  rm -f conftest.sh
253
fi
254
255
256
  as_lineno_1=$LINENO
257
  as_lineno_2=$LINENO
258
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
259
  test "x$as_lineno_1" != "x$as_lineno_2" &&
260
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
261
  # Find who we are.  Look in the path if we contain no path at all
262
  # relative or not.
263
  case $0 in
264
    *[\\/]* ) as_myself=$0 ;;
265
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
266
for as_dir in $PATH
267
do
268
  IFS=$as_save_IFS
269
  test -z "$as_dir" && as_dir=.
270
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
271
done
272
273
       ;;
274
  esac
275
  # We did not find ourselves, most probably we were run as `sh COMMAND'
276
  # in which case we are not to be found in the path.
277
  if test "x$as_myself" = x; then
278
    as_myself=$0
279
  fi
280
  if test ! -f "$as_myself"; then
281
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
282
   { (exit 1); exit 1; }; }
283
  fi
284
  case $CONFIG_SHELL in
285
  '')
286
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
287
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
288
do
289
  IFS=$as_save_IFS
290
  test -z "$as_dir" && as_dir=.
291
  for as_base in sh bash ksh sh5; do
292
   case $as_dir in
293
   /*)
294
     if ("$as_dir/$as_base" -c '
295
  as_lineno_1=$LINENO
296
  as_lineno_2=$LINENO
297
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
298
  test "x$as_lineno_1" != "x$as_lineno_2" &&
299
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
300
       CONFIG_SHELL=$as_dir/$as_base
301
       export CONFIG_SHELL
302
       exec "$CONFIG_SHELL" "$0" ${1+"$@"}
303
     fi;;
304
   esac
305
       done
306
done
307
;;
308
  esac
309
310
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
311
  # uniformly replaced by the line number.  The first 'sed' inserts a
312
  # line-number line before each line; the second 'sed' does the real
313
  # work.  The second script uses 'N' to pair each line-number line
314
  # with the numbered line, and appends trailing '-' during
315
  # substitution so that $LINENO is not a special case at line end.
316
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
317
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
318
  sed '=' <$as_myself |
319
    sed '
320
      N
321
      s,$,-,
322
      : loop
323
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
324
      t loop
325
      s,-$,,
326
      s,^['$as_cr_digits']*\n,,
327
    ' >$as_me.lineno &&
328
  chmod +x $as_me.lineno ||
329
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
330
   { (exit 1); exit 1; }; }
331
332
  # Don't try to exec as it changes $[0], causing all sort of problems
333
  # (the dirname of $[0] is not the place where we might find the
334
  # original and so on.  Autoconf is especially sensible to this).
335
  . ./$as_me.lineno
336
  # Exit status is that of the last command.
337
  exit
338
}
339
340
341
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
342
  *c*,-n*) ECHO_N= ECHO_C='
343
' ECHO_T='    ' ;;
344
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
345
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
346
esac
347
348
if expr a : '\(a\)' >/dev/null 2>&1; then
349
  as_expr=expr
350
else
351
  as_expr=false
352
fi
353
354
rm -f conf$$ conf$$.exe conf$$.file
355
echo >conf$$.file
356
if ln -s conf$$.file conf$$ 2>/dev/null; then
357
  # We could just check for DJGPP; but this test a) works b) is more generic
358
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
359
  if test -f conf$$.exe; then
360
    # Don't use ln at all; we don't have any links
361
    as_ln_s='cp -p'
362
  else
363
    as_ln_s='ln -s'
364
  fi
365
elif ln conf$$.file conf$$ 2>/dev/null; then
366
  as_ln_s=ln
367
else
368
  as_ln_s='cp -p'
369
fi
370
rm -f conf$$ conf$$.exe conf$$.file
371
372
as_executable_p="test -f"
373
374
# Sed expression to map a string onto a valid CPP name.
375
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
376
377
# Sed expression to map a string onto a valid variable name.
378
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
379
380
381
# IFS
382
# We need space, tab and new line, in precisely that order.
383
as_nl='
384
'
385
IFS="     $as_nl"
386
387
# CDPATH.
388
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
389
390
712
391
# Name of the host.
713
# Name of the host.
392
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
714
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
393
# so uname gets run too.
715
# so uname gets run too.
394
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
716
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
395
717
396
exec 6>&1
397
398
#
718
#
399
# Initializations.
719
# Initializations.
400
#
720
#
401
ac_default_prefix=/usr/local
721
ac_default_prefix=/usr/local
722
ac_clean_files=
723
ac_config_libobj_dir=.
724
LIBOBJS=
402
cross_compiling=no
725
cross_compiling=no
403
subdirs=
726
subdirs=
404
MFLAGS=
727
MFLAGS=
405
MAKEFLAGS=
728
MAKEFLAGS=
406
SHELL=${CONFIG_SHELL-/bin/sh}
729
SHELL=${CONFIG_SHELL-/bin/sh}
407
408
# Maximum number of lines to put in a shell here document.
409
# This variable seems obsolete.  It should probably be removed, and
410
# only ac_max_sed_lines should be used.
411
: ${ac_max_here_lines=38}
412
730
413
# Identity of this package.
731
# Identity of this package.
414
PACKAGE_NAME=
732
PACKAGE_NAME=
415
PACKAGE_TARNAME=
733
PACKAGE_TARNAME=
416
PACKAGE_VERSION=
734
PACKAGE_VERSION=
...
...
419
737
420
ac_unique_file="config.h.in"
738
ac_unique_file="config.h.in"
421
# Factoring default headers for most tests.
739
# Factoring default headers for most tests.
422
ac_includes_default="\
740
ac_includes_default="\
423
#include <stdio.h>
741
#include <stdio.h>
424
#if HAVE_SYS_TYPES_H
742
#ifdef HAVE_SYS_TYPES_H
425
# include <sys/types.h>
743
# include <sys/types.h>
426
#endif
744
#endif
427
#if HAVE_SYS_STAT_H
745
#ifdef HAVE_SYS_STAT_H
428
# include <sys/stat.h>
746
# include <sys/stat.h>
429
#endif
747
#endif
430
#if STDC_HEADERS
748
#ifdef STDC_HEADERS
431
# include <stdlib.h>
749
# include <stdlib.h>
432
# include <stddef.h>
750
# include <stddef.h>
433
#else
751
#else
434
# if HAVE_STDLIB_H
752
# ifdef HAVE_STDLIB_H
435
#  include <stdlib.h>
753
#  include <stdlib.h>
436
# endif
754
# endif
437
#endif
755
#endif
438
#if HAVE_STRING_H
756
#ifdef HAVE_STRING_H
439
# if !STDC_HEADERS && HAVE_MEMORY_H
757
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
440
#  include <memory.h>
758
#  include <memory.h>
441
# endif
759
# endif
442
# include <string.h>
760
# include <string.h>
443
#endif
761
#endif
444
#if HAVE_STRINGS_H
762
#ifdef HAVE_STRINGS_H
445
# include <strings.h>
763
# include <strings.h>
446
#endif
764
#endif
447
#if HAVE_INTTYPES_H
765
#ifdef HAVE_INTTYPES_H
448
# include <inttypes.h>
766
# include <inttypes.h>
449
#else
450
# if HAVE_STDINT_H
451
#  include <stdint.h>
452
# endif
453
#endif
767
#endif
768
#ifdef HAVE_STDINT_H
769
# include <stdint.h>
770
#endif
454
#if HAVE_UNISTD_H
771
#ifdef HAVE_UNISTD_H
455
# include <unistd.h>
772
# include <unistd.h>
456
#endif"
773
#endif"
774
775
ac_subst_vars='SHELL
776
PATH_SEPARATOR
777
PACKAGE_NAME
778
PACKAGE_TARNAME
779
PACKAGE_VERSION
780
PACKAGE_STRING
781
PACKAGE_BUGREPORT
782
exec_prefix
783
prefix
784
program_transform_name
785
bindir
786
sbindir
787
libexecdir
788
datarootdir
789
datadir
790
sysconfdir
791
sharedstatedir
792
localstatedir
793
includedir
794
oldincludedir
795
docdir
796
infodir
797
htmldir
798
dvidir
799
pdfdir
800
psdir
801
libdir
802
localedir
803
mandir
804
DEFS
805
ECHO_C
806
ECHO_N
807
ECHO_T
808
LIBS
809
build_alias
810
host_alias
811
target_alias
812
MAJOR_VERSION
813
MINOR_VERSION
814
MICRO_VERSION
815
INSTALL_PROGRAM
816
INSTALL_SCRIPT
817
INSTALL_DATA
818
PACKAGE
819
VERSION
820
EXEEXT
821
OBJEXT
822
ACLOCAL
823
AUTOCONF
824
AUTOMAKE
825
AUTOHEADER
826
MAKEINFO
827
AMTAR
828
install_sh
829
INSTALL_STRIP_PROGRAM
830
AWK
831
SET_MAKE
832
AMDEP_TRUE
833
AMDEP_FALSE
834
AMDEPBACKSLASH
835
DEPDIR
836
UNICODE_VERSION
837
CC
838
CFLAGS
839
LDFLAGS
840
CPPFLAGS
841
ac_ct_CC
842
am__include
843
am__quote
844
CCDEPMODE
845
CPP
846
GREP
847
EGREP
848
build
849
build_cpu
850
build_vendor
851
build_os
852
host
853
host_cpu
854
host_vendor
855
host_os
856
LN_S
857
ECHO
858
RANLIB
859
STRIP
860
LIBTOOL
861
PERL
862
SH
863
MAINTAINER_MODE_TRUE
864
MAINTAINER_MODE_FALSE
865
MAINT
866
LIBICONV
867
LTLIBICONV
868
LIBOBJS
869
LTLIBOBJS'
870
ac_subst_files=''
871
      ac_precious_vars='build_alias
872
host_alias
873
target_alias
874
CC
875
CFLAGS
876
LDFLAGS
877
LIBS
878
CPPFLAGS
879
CPP'
457
880
458
881
459
# Initialize some variables set by options.
882
# Initialize some variables set by options.
460
ac_init_help=
883
ac_init_help=
461
ac_init_version=false
884
ac_init_version=false
...
...
479
# Installation directory options.
902
# Installation directory options.
480
# These are left unexpanded so users can "make install exec_prefix=/foo"
903
# These are left unexpanded so users can "make install exec_prefix=/foo"
481
# and all the variables that are supposed to be based on exec_prefix
904
# and all the variables that are supposed to be based on exec_prefix
482
# by default will actually change.
905
# by default will actually change.
483
# Use braces instead of parens because sh, perl, etc. also accept them.
906
# Use braces instead of parens because sh, perl, etc. also accept them.
907
# (The list follows the same order as the GNU Coding Standards.)
484
bindir='${exec_prefix}/bin'
908
bindir='${exec_prefix}/bin'
485
sbindir='${exec_prefix}/sbin'
909
sbindir='${exec_prefix}/sbin'
486
libexecdir='${exec_prefix}/libexec'
910
libexecdir='${exec_prefix}/libexec'
487
datadir='${prefix}/share'
911
datarootdir='${prefix}/share'
912
datadir='${datarootdir}'
488
sysconfdir='${prefix}/etc'
913
sysconfdir='${prefix}/etc'
489
sharedstatedir='${prefix}/com'
914
sharedstatedir='${prefix}/com'
490
localstatedir='${prefix}/var'
915
localstatedir='${prefix}/var'
491
libdir='${exec_prefix}/lib'
492
includedir='${prefix}/include'
916
includedir='${prefix}/include'
493
oldincludedir='/usr/include'
917
oldincludedir='/usr/include'
918
docdir='${datarootdir}/doc/${PACKAGE}'
494
infodir='${prefix}/info'
919
infodir='${datarootdir}/info'
495
mandir='${prefix}/man'
920
htmldir='${docdir}'
921
dvidir='${docdir}'
922
pdfdir='${docdir}'
923
psdir='${docdir}'
924
libdir='${exec_prefix}/lib'
925
localedir='${datarootdir}/locale'
926
mandir='${datarootdir}/man'
496
927
497
ac_prev=
928
ac_prev=
929
ac_dashdash=
498
for ac_option
930
for ac_option
499
do
931
do
500
  # If the previous option needs an argument, assign it.
932
  # If the previous option needs an argument, assign it.
501
  if test -n "$ac_prev"; then
933
  if test -n "$ac_prev"; then
502
    eval "$ac_prev=\$ac_option"
934
    eval $ac_prev=\$ac_option
503
    ac_prev=
935
    ac_prev=
504
    continue
936
    continue
505
  fi
937
  fi
506
938
939
  case $ac_option in
507
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
940
  *=*)    ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
941
  *)  ac_optarg=yes ;;
942
  esac
508
943
509
  # Accept the important Cygnus configure options, so we can diagnose typos.
944
  # Accept the important Cygnus configure options, so we can diagnose typos.
510
945
511
  case $ac_option in
946
  case $ac_dashdash$ac_option in
947
  --)
948
    ac_dashdash=yes ;;
512
949
513
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
950
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
514
    ac_prev=bindir ;;
951
    ac_prev=bindir ;;
515
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
952
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
516
    bindir=$ac_optarg ;;
953
    bindir=$ac_optarg ;;
...
...
528
    cache_file=$ac_optarg ;;
965
    cache_file=$ac_optarg ;;
529
966
530
  --config-cache | -C)
967
  --config-cache | -C)
531
    cache_file=config.cache ;;
968
    cache_file=config.cache ;;
532
969
533
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
970
  -datadir | --datadir | --datadi | --datad)
534
    ac_prev=datadir ;;
971
    ac_prev=datadir ;;
535
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
972
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
536
  | --da=*)
537
    datadir=$ac_optarg ;;
973
    datadir=$ac_optarg ;;
974
975
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
976
  | --dataroo | --dataro | --datar)
977
    ac_prev=datarootdir ;;
978
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
979
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
980
    datarootdir=$ac_optarg ;;
538
981
539
  -disable-* | --disable-*)
982
  -disable-* | --disable-*)
540
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
983
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
541
    # Reject names that are not valid shell variable names.
984
    # Reject names that are not valid shell variable names.
542
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
985
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
543
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
986
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
544
   { (exit 1); exit 1; }; }
987
   { (exit 1); exit 1; }; }
545
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
988
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
546
    eval "enable_$ac_feature=no" ;;
989
    eval enable_$ac_feature=no ;;
990
991
  -docdir | --docdir | --docdi | --doc | --do)
992
    ac_prev=docdir ;;
993
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
994
    docdir=$ac_optarg ;;
995
996
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
997
    ac_prev=dvidir ;;
998
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
999
    dvidir=$ac_optarg ;;
547
1000
548
  -enable-* | --enable-*)
1001
  -enable-* | --enable-*)
549
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1002
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
550
    # Reject names that are not valid shell variable names.
1003
    # Reject names that are not valid shell variable names.
551
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1004
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
552
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1005
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
553
   { (exit 1); exit 1; }; }
1006
   { (exit 1); exit 1; }; }
554
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1007
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
555
    case $ac_option in
556
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
557
      *) ac_optarg=yes ;;
558
    esac
559
    eval "enable_$ac_feature='$ac_optarg'" ;;
1008
    eval enable_$ac_feature=\$ac_optarg ;;
560
1009
561
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1010
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
562
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1011
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
563
  | --exec | --exe | --ex)
1012
  | --exec | --exe | --ex)
564
    ac_prev=exec_prefix ;;
1013
    ac_prev=exec_prefix ;;
...
...
581
  -host | --host | --hos | --ho)
1030
  -host | --host | --hos | --ho)
582
    ac_prev=host_alias ;;
1031
    ac_prev=host_alias ;;
583
  -host=* | --host=* | --hos=* | --ho=*)
1032
  -host=* | --host=* | --hos=* | --ho=*)
584
    host_alias=$ac_optarg ;;
1033
    host_alias=$ac_optarg ;;
585
1034
1035
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1036
    ac_prev=htmldir ;;
1037
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1038
  | --ht=*)
1039
    htmldir=$ac_optarg ;;
1040
586
  -includedir | --includedir | --includedi | --included | --include \
1041
  -includedir | --includedir | --includedi | --included | --include \
587
  | --includ | --inclu | --incl | --inc)
1042
  | --includ | --inclu | --incl | --inc)
588
    ac_prev=includedir ;;
1043
    ac_prev=includedir ;;
589
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1044
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
590
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1045
  | --includ=* | --inclu=* | --incl=* | --inc=*)
...
...
605
    ac_prev=libexecdir ;;
1060
    ac_prev=libexecdir ;;
606
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1061
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
607
  | --libexe=* | --libex=* | --libe=*)
1062
  | --libexe=* | --libex=* | --libe=*)
608
    libexecdir=$ac_optarg ;;
1063
    libexecdir=$ac_optarg ;;
609
1064
1065
  -localedir | --localedir | --localedi | --localed | --locale)
1066
    ac_prev=localedir ;;
1067
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1068
    localedir=$ac_optarg ;;
1069
610
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1070
  -localstatedir | --localstatedir | --localstatedi | --localstated \
611
  | --localstate | --localstat | --localsta | --localst \
1071
  | --localstate | --localstat | --localsta | --localst | --locals)
612
  | --locals | --local | --loca | --loc | --lo)
613
    ac_prev=localstatedir ;;
1072
    ac_prev=localstatedir ;;
614
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1073
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
615
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1074
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
616
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
617
    localstatedir=$ac_optarg ;;
1075
    localstatedir=$ac_optarg ;;
618
1076
619
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1077
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
620
    ac_prev=mandir ;;
1078
    ac_prev=mandir ;;
621
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1079
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
...
...
676
  | --program-transfo=* | --program-transf=* \
1134
  | --program-transfo=* | --program-transf=* \
677
  | --program-trans=* | --program-tran=* \
1135
  | --program-trans=* | --program-tran=* \
678
  | --progr-tra=* | --program-tr=* | --program-t=*)
1136
  | --progr-tra=* | --program-tr=* | --program-t=*)
679
    program_transform_name=$ac_optarg ;;
1137
    program_transform_name=$ac_optarg ;;
680
1138
1139
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1140
    ac_prev=pdfdir ;;
1141
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1142
    pdfdir=$ac_optarg ;;
1143
1144
  -psdir | --psdir | --psdi | --psd | --ps)
1145
    ac_prev=psdir ;;
1146
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1147
    psdir=$ac_optarg ;;
1148
681
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1149
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
682
  | -silent | --silent | --silen | --sile | --sil)
1150
  | -silent | --silent | --silen | --sile | --sil)
683
    silent=yes ;;
1151
    silent=yes ;;
684
1152
685
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1153
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
...
...
728
    ac_init_version=: ;;
1196
    ac_init_version=: ;;
729
1197
730
  -with-* | --with-*)
1198
  -with-* | --with-*)
731
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1199
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
732
    # Reject names that are not valid shell variable names.
1200
    # Reject names that are not valid shell variable names.
733
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1201
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
734
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1202
      { echo "$as_me: error: invalid package name: $ac_package" >&2
735
   { (exit 1); exit 1; }; }
1203
   { (exit 1); exit 1; }; }
736
    ac_package=`echo $ac_package| sed 's/-/_/g'`
1204
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
737
    case $ac_option in
738
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
739
      *) ac_optarg=yes ;;
740
    esac
741
    eval "with_$ac_package='$ac_optarg'" ;;
1205
    eval with_$ac_package=\$ac_optarg ;;
742
1206
743
  -without-* | --without-*)
1207
  -without-* | --without-*)
744
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
745
    # Reject names that are not valid shell variable names.
1209
    # Reject names that are not valid shell variable names.
746
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1210
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
747
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1211
      { echo "$as_me: error: invalid package name: $ac_package" >&2
748
   { (exit 1); exit 1; }; }
1212
   { (exit 1); exit 1; }; }
749
    ac_package=`echo $ac_package | sed 's/-/_/g'`
1213
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
750
    eval "with_$ac_package=no" ;;
1214
    eval with_$ac_package=no ;;
751
1215
752
  --x)
1216
  --x)
753
    # Obsolete; use --with-x.
1217
    # Obsolete; use --with-x.
754
    with_x=yes ;;
1218
    with_x=yes ;;
755
1219
...
...
776
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1240
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
777
    # Reject names that are not valid shell variable names.
1241
    # Reject names that are not valid shell variable names.
778
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1242
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
779
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1243
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
780
   { (exit 1); exit 1; }; }
1244
   { (exit 1); exit 1; }; }
781
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
782
    eval "$ac_envvar='$ac_optarg'"
1245
    eval $ac_envvar=\$ac_optarg
783
    export $ac_envvar ;;
1246
    export $ac_envvar ;;
784
1247
785
  *)
1248
  *)
786
    # FIXME: should be removed in autoconf 3.0.
1249
    # FIXME: should be removed in autoconf 3.0.
787
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1250
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
...
...
797
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1260
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
798
  { echo "$as_me: error: missing argument to $ac_option" >&2
1261
  { echo "$as_me: error: missing argument to $ac_option" >&2
799
   { (exit 1); exit 1; }; }
1262
   { (exit 1); exit 1; }; }
800
fi
1263
fi
801
1264
802
# Be sure to have absolute paths.
1265
# Be sure to have absolute directory names.
803
for ac_var in exec_prefix prefix
1266
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267
      datadir sysconfdir sharedstatedir localstatedir includedir \
1268
      oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269
      libdir localedir mandir
804
do
1270
do
805
  eval ac_val=$`echo $ac_var`
1271
  eval ac_val=\$$ac_var
806
  case $ac_val in
1272
  case $ac_val in
807
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1273
    [\\/$]* | ?:[\\/]* )  continue;;
808
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1274
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
809
   { (exit 1); exit 1; }; };;
810
  esac
1275
  esac
811
done
812
813
# Be sure to have absolute paths.
814
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
815
              localstatedir libdir includedir oldincludedir infodir mandir
816
do
817
  eval ac_val=$`echo $ac_var`
818
  case $ac_val in
819
    [\\/$]* | ?:[\\/]* ) ;;
820
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1276
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821
   { (exit 1); exit 1; }; };;
1277
   { (exit 1); exit 1; }; }
822
  esac
823
done
1278
done
824
1279
825
# There might be people who depend on the old broken behavior: `$host'
1280
# There might be people who depend on the old broken behavior: `$host'
826
# used to hold the argument of --host etc.
1281
# used to hold the argument of --host etc.
827
# FIXME: To remove some day.
1282
# FIXME: To remove some day.
...
...
844
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1299
test -n "$host_alias" && ac_tool_prefix=$host_alias-
845
1300
846
test "$silent" = yes && exec 6>/dev/null
1301
test "$silent" = yes && exec 6>/dev/null
847
1302
848
1303
1304
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1305
ac_ls_di=`ls -di .` &&
1306
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1307
  { echo "$as_me: error: Working directory cannot be determined" >&2
1308
   { (exit 1); exit 1; }; }
1309
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1311
   { (exit 1); exit 1; }; }
1312
1313
849
# Find the source files, if location was not specified.
1314
# Find the source files, if location was not specified.
850
if test -z "$srcdir"; then
1315
if test -z "$srcdir"; then
851
  ac_srcdir_defaulted=yes
1316
  ac_srcdir_defaulted=yes
852
  # Try the directory containing this script, then its parent.
1317
  # Try the directory containing this script, then the parent directory.
853
  ac_confdir=`(dirname "$0") 2>/dev/null ||
1318
  ac_confdir=`$as_dirname -- "$0" ||
854
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
855
         X"$0" : 'X\(//\)[^/]' \| \
1320
   X"$0" : 'X\(//\)[^/]' \| \
856
         X"$0" : 'X\(//\)$' \| \
1321
   X"$0" : 'X\(//\)$' \| \
857
         X"$0" : 'X\(/\)' \| \
1322
   X"$0" : 'X\(/\)' \| . 2>/dev/null ||
858
         .     : '\(.\)' 2>/dev/null ||
859
echo X"$0" |
1323
echo X"$0" |
860
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1324
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1325
      s//\1/
1326
      q
1327
    }
861
       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1328
      /^X\(\/\/\)[^/].*/{
862
        /^X\(\/\/\)$/{ s//\1/; q; }
1329
      s//\1/
863
        /^X\(\/\).*/{ s//\1/; q; }
1330
      q
1331
    }
1332
    /^X\(\/\/\)$/{
1333
      s//\1/
1334
      q
1335
    }
1336
    /^X\(\/\).*/{
1337
      s//\1/
1338
      q
1339
    }
864
       s/.*/./; q'`
1340
      s/.*/./; q'`
865
  srcdir=$ac_confdir
1341
  srcdir=$ac_confdir
866
  if test ! -r $srcdir/$ac_unique_file; then
1342
  if test ! -r "$srcdir/$ac_unique_file"; then
867
    srcdir=..
1343
    srcdir=..
868
  fi
1344
  fi
869
else
1345
else
870
  ac_srcdir_defaulted=no
1346
  ac_srcdir_defaulted=no
871
fi
1347
fi
872
if test ! -r $srcdir/$ac_unique_file; then
1348
if test ! -r "$srcdir/$ac_unique_file"; then
873
  if test "$ac_srcdir_defaulted" = yes; then
1349
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
874
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1350
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
875
   { (exit 1); exit 1; }; }
1351
   { (exit 1); exit 1; }; }
876
  else
1352
fi
877
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1353
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1354
ac_abs_confdir=`(
1355
  cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
878
   { (exit 1); exit 1; }; }
1356
   { (exit 1); exit 1; }; }
1357
  pwd)`
1358
# When building in place, set srcdir=.
1359
if test "$ac_abs_confdir" = "$ac_pwd"; then
1360
  srcdir=.
879
  fi
1361
fi
880
fi
1362
# Remove unnecessary trailing slashes from srcdir.
881
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1363
# Double slashes in file names in object file debugging info
882
ac_env_build_alias_set=${build_alias+set}
1364
# mess up M-x gdb in Emacs.
883
ac_env_build_alias_value=$build_alias
1365
case $srcdir in
884
ac_cv_env_build_alias_set=${build_alias+set}
1366
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
885
ac_cv_env_build_alias_value=$build_alias
1367
esac
886
ac_env_host_alias_set=${host_alias+set}
1368
for ac_var in $ac_precious_vars; do
887
ac_env_host_alias_value=$host_alias
1369
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
888
ac_cv_env_host_alias_set=${host_alias+set}
1370
  eval ac_env_${ac_var}_value=\$${ac_var}
889
ac_cv_env_host_alias_value=$host_alias
1371
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
890
ac_env_target_alias_set=${target_alias+set}
1372
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
891
ac_env_target_alias_value=$target_alias
1373
done
892
ac_cv_env_target_alias_set=${target_alias+set}
893
ac_cv_env_target_alias_value=$target_alias
894
ac_env_CC_set=${CC+set}
895
ac_env_CC_value=$CC
896
ac_cv_env_CC_set=${CC+set}
897
ac_cv_env_CC_value=$CC
898
ac_env_CFLAGS_set=${CFLAGS+set}
899
ac_env_CFLAGS_value=$CFLAGS
900
ac_cv_env_CFLAGS_set=${CFLAGS+set}
901
ac_cv_env_CFLAGS_value=$CFLAGS
902
ac_env_LDFLAGS_set=${LDFLAGS+set}
903
ac_env_LDFLAGS_value=$LDFLAGS
904
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
905
ac_cv_env_LDFLAGS_value=$LDFLAGS
906
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907
ac_env_CPPFLAGS_value=$CPPFLAGS
908
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910
ac_env_CPP_set=${CPP+set}
911
ac_env_CPP_value=$CPP
912
ac_cv_env_CPP_set=${CPP+set}
913
ac_cv_env_CPP_value=$CPP
914
1374
915
#
1375
#
916
# Report the --help message.
1376
# Report the --help message.
917
#
1377
#
918
if test "$ac_init_help" = "long"; then
1378
if test "$ac_init_help" = "long"; then
...
...
937
      --cache-file=FILE   cache test results in FILE [disabled]
1397
      --cache-file=FILE   cache test results in FILE [disabled]
938
  -C, --config-cache      alias for \`--cache-file=config.cache'
1398
  -C, --config-cache      alias for \`--cache-file=config.cache'
939
  -n, --no-create         do not create output files
1399
  -n, --no-create         do not create output files
940
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1400
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
941
1401
942
_ACEOF
943
944
  cat <<_ACEOF
945
Installation directories:
1402
Installation directories:
946
  --prefix=PREFIX         install architecture-independent files in PREFIX
1403
  --prefix=PREFIX         install architecture-independent files in PREFIX
947
                          [$ac_default_prefix]
1404
            [$ac_default_prefix]
948
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1405
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
949
                          [PREFIX]
1406
            [PREFIX]
950
1407
951
By default, \`make install' will install all the files in
1408
By default, \`make install' will install all the files in
952
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1409
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
953
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
954
for instance \`--prefix=\$HOME'.
1411
for instance \`--prefix=\$HOME'.
...
...
957
1414
958
Fine tuning of the installation directories:
1415
Fine tuning of the installation directories:
959
  --bindir=DIR           user executables [EPREFIX/bin]
1416
  --bindir=DIR           user executables [EPREFIX/bin]
960
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1417
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
961
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1418
  --libexecdir=DIR       program executables [EPREFIX/libexec]
962
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
963
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1419
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
964
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1420
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
965
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1421
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
966
  --libdir=DIR           object code libraries [EPREFIX/lib]
1422
  --libdir=DIR           object code libraries [EPREFIX/lib]
967
  --includedir=DIR       C header files [PREFIX/include]
1423
  --includedir=DIR       C header files [PREFIX/include]
968
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1424
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1425
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1426
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
969
  --infodir=DIR          info documentation [PREFIX/info]
1427
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1428
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
970
  --mandir=DIR           man documentation [PREFIX/man]
1429
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1430
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1431
  --htmldir=DIR          html documentation [DOCDIR]
1432
  --dvidir=DIR           dvi documentation [DOCDIR]
1433
  --pdfdir=DIR           pdf documentation [DOCDIR]
1434
  --psdir=DIR            ps documentation [DOCDIR]
971
_ACEOF
1435
_ACEOF
972
1436
973
  cat <<\_ACEOF
1437
  cat <<\_ACEOF
974
1438
975
Program names:
1439
Program names:
...
...
1011
Some influential environment variables:
1475
Some influential environment variables:
1012
  CC          C compiler command
1476
  CC          C compiler command
1013
  CFLAGS      C compiler flags
1477
  CFLAGS      C compiler flags
1014
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1478
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1015
              nonstandard directory <lib dir>
1479
              nonstandard directory <lib dir>
1480
  LIBS        libraries to pass to the linker, e.g. -l<library>
1016
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1481
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1017
              headers in a nonstandard directory <include dir>
1482
              you have headers in a nonstandard directory <include dir>
1018
  CPP         C preprocessor
1483
  CPP         C preprocessor
1019
1484
1020
Use these variables to override the choices made by `configure' or to help
1485
Use these variables to override the choices made by `configure' or to help
1021
it to find libraries and programs with nonstandard names/locations.
1486
it to find libraries and programs with nonstandard names/locations.
1022
1487
1023
_ACEOF
1488
_ACEOF
1489
ac_status=$?
1024
fi
1490
fi
1025
1491
1026
if test "$ac_init_help" = "recursive"; then
1492
if test "$ac_init_help" = "recursive"; then
1027
  # If there are subdirs, report their specific --help.
1493
  # If there are subdirs, report their specific --help.
1028
  ac_popdir=`pwd`
1029
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1494
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1030
    test -d $ac_dir || continue
1495
    test -d "$ac_dir" || continue
1031
    ac_builddir=.
1496
    ac_builddir=.
1032
1497
1033
if test "$ac_dir" != .; then
1498
case "$ac_dir" in
1499
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500
*)
1034
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1501
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1035
  # A "../" for each directory in $ac_dir_suffix.
1502
  # A ".." for each directory in $ac_dir_suffix.
1036
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1503
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1037
else
1504
  case $ac_top_builddir_sub in
1038
  ac_dir_suffix= ac_top_builddir=
1505
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1039
fi
1506
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1507
  esac ;;
1508
esac
1509
ac_abs_top_builddir=$ac_pwd
1510
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1511
# for backward compatibility:
1512
ac_top_builddir=$ac_top_build_prefix
1040
1513
1041
case $srcdir in
1514
case $srcdir in
1042
  .)  # No --srcdir option.  We are building in place.
1515
  .)  # We are building in place.
1043
    ac_srcdir=.
1516
    ac_srcdir=.
1044
    if test -z "$ac_top_builddir"; then
1517
    ac_top_srcdir=$ac_top_builddir_sub
1045
       ac_top_srcdir=.
1518
    ac_abs_top_srcdir=$ac_pwd ;;
1046
    else
1047
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1048
    fi ;;
1049
  [\\/]* | ?:[\\/]* )  # Absolute path.
1519
  [\\/]* | ?:[\\/]* )  # Absolute name.
1050
    ac_srcdir=$srcdir$ac_dir_suffix;
1520
    ac_srcdir=$srcdir$ac_dir_suffix;
1051
    ac_top_srcdir=$srcdir ;;
1521
    ac_top_srcdir=$srcdir
1522
    ac_abs_top_srcdir=$srcdir ;;
1052
  *) # Relative path.
1523
  *) # Relative name.
1053
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1524
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1054
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1525
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1526
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1055
esac
1527
esac
1056
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1528
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1057
# absolute.
1058
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1059
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
1060
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1061
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1062
1529
1063
    cd $ac_dir
1530
    cd "$ac_dir" || { ac_status=$?; continue; }
1064
    # Check for guested configure; otherwise get Cygnus style configure.
1531
    # Check for guested configure.
1065
    if test -f $ac_srcdir/configure.gnu; then
1532
    if test -f "$ac_srcdir/configure.gnu"; then
1066
      echo
1533
      echo &&
1067
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1534
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1068
    elif test -f $ac_srcdir/configure; then
1535
    elif test -f "$ac_srcdir/configure"; then
1069
      echo
1536
      echo &&
1070
      $SHELL $ac_srcdir/configure  --help=recursive
1537
      $SHELL "$ac_srcdir/configure" --help=recursive
1071
    elif test -f $ac_srcdir/configure.ac ||
1072
           test -f $ac_srcdir/configure.in; then
1073
      echo
1074
      $ac_configure --help
1075
    else
1538
    else
1076
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1539
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1077
    fi
1540
    fi || ac_status=$?
1078
    cd $ac_popdir
1541
    cd "$ac_pwd" || { ac_status=$?; break; }
1079
  done
1542
  done
1080
fi
1543
fi
1081
1544
1082
test -n "$ac_init_help" && exit 0
1545
test -n "$ac_init_help" && exit $ac_status
1083
if $ac_init_version; then
1546
if $ac_init_version; then
1084
  cat <<\_ACEOF
1547
  cat <<\_ACEOF
1548
configure
1549
generated by GNU Autoconf 2.61
1085
1550
1086
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1551
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1087
Free Software Foundation, Inc.
1552
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1088
This configure script is free software; the Free Software Foundation
1553
This configure script is free software; the Free Software Foundation
1089
gives unlimited permission to copy, distribute and modify it.
1554
gives unlimited permission to copy, distribute and modify it.
1090
_ACEOF
1555
_ACEOF
1091
  exit 0
1556
  exit
1092
fi
1557
fi
1093
exec 5>config.log
1558
cat >config.log <<_ACEOF
1094
cat >&5 <<_ACEOF
1095
This file contains any messages produced by compilers while
1559
This file contains any messages produced by compilers while
1096
running configure, to aid debugging if configure makes a mistake.
1560
running configure, to aid debugging if configure makes a mistake.
1097
1561
1098
It was created by $as_me, which was
1562
It was created by $as_me, which was
1099
generated by GNU Autoconf 2.53.  Invocation command line was
1563
generated by GNU Autoconf 2.61.  Invocation command line was
1100
1564
1101
  $ $0 $@
1565
  $ $0 $@
1102
1566
1103
_ACEOF
1567
_ACEOF
1568
exec 5>>config.log
1104
{
1569
{
1105
cat <<_ASUNAME
1570
cat <<_ASUNAME
1106
## --------- ##
1571
## --------- ##
1107
## Platform. ##
1572
## Platform. ##
1108
## --------- ##
1573
## --------- ##
...
...
1117
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1582
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1118
1583
1119
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1584
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1120
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1585
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1121
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1586
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1122
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1587
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1123
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1588
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1124
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1589
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1125
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1590
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1126
1591
1127
_ASUNAME
1592
_ASUNAME
...
...
1131
do
1596
do
1132
  IFS=$as_save_IFS
1597
  IFS=$as_save_IFS
1133
  test -z "$as_dir" && as_dir=.
1598
  test -z "$as_dir" && as_dir=.
1134
  echo "PATH: $as_dir"
1599
  echo "PATH: $as_dir"
1135
done
1600
done
1601
IFS=$as_save_IFS
1136
1602
1137
} >&5
1603
} >&5
1138
1604
1139
cat >&5 <<_ACEOF
1605
cat >&5 <<_ACEOF
1140
1606
...
...
1146
_ACEOF
1612
_ACEOF
1147
1613
1148
1614
1149
# Keep a trace of the command line.
1615
# Keep a trace of the command line.
1150
# Strip out --no-create and --no-recursion so they do not pile up.
1616
# Strip out --no-create and --no-recursion so they do not pile up.
1617
# Strip out --silent because we don't want to record it for future runs.
1151
# Also quote any args containing shell meta-characters.
1618
# Also quote any args containing shell meta-characters.
1619
# Make two passes to allow for proper duplicate-argument suppression.
1152
ac_configure_args=
1620
ac_configure_args=
1153
ac_sep=
1621
ac_configure_args0=
1154
for ac_arg
1622
ac_configure_args1=
1623
ac_must_keep_next=false
1624
for ac_pass in 1 2
1155
do
1625
do
1626
  for ac_arg
1627
  do
1156
  case $ac_arg in
1628
    case $ac_arg in
1157
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1629
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1158
  | --no-cr | --no-c | -n ) continue ;;
1630
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1159
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1631
    | -silent | --silent | --silen | --sile | --sil)
1160
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1161
    continue ;;
1632
      continue ;;
1162
  *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1633
    *\'*)
1163
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1634
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1164
  esac
1635
    esac
1636
    case $ac_pass in
1637
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1638
    2)
1639
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1640
      if test $ac_must_keep_next = true; then
1641
  ac_must_keep_next=false # Got value, back to normal.
1642
      else
1643
  case $ac_arg in
1644
    *=* | --config-cache | -C | -disable-* | --disable-* \
1645
    | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1646
    | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1647
    | -with-* | --with-* | -without-* | --without-* | --x)
1165
  case " $ac_configure_args " in
1648
      case "$ac_configure_args0 " in
1166
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1649
        "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1650
      esac
1651
      ;;
1652
    -* ) ac_must_keep_next=true ;;
1653
  esac
1654
      fi
1167
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1655
      ac_configure_args="$ac_configure_args '$ac_arg'"
1168
       ac_sep=" " ;;
1656
      ;;
1169
  esac
1657
    esac
1170
  # Get rid of the leading space.
1658
  done
1171
done
1659
done
1660
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1661
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1172
1662
1173
# When interrupted or exit'd, cleanup temporary files, and complete
1663
# When interrupted or exit'd, cleanup temporary files, and complete
1174
# config.log.  We remove comments because anyway the quotes in there
1664
# config.log.  We remove comments because anyway the quotes in there
1175
# would cause problems or look ugly.
1665
# would cause problems or look ugly.
1176
# WARNING: Be sure not to use single quotes in there, as some shells,
1666
# WARNING: Use '\'' to represent an apostrophe within the trap.
1177
# such as our DU 5.0 friend, will then `close' the trap.
1667
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1178
trap 'exit_status=$?
1668
trap 'exit_status=$?
1179
  # Save into config.log some information that might help in debugging.
1669
  # Save into config.log some information that might help in debugging.
1180
  {
1670
  {
1181
    echo
1671
    echo
1672
1182
    cat <<\_ASBOX
1673
    cat <<\_ASBOX
1183
## ---------------- ##
1674
## ---------------- ##
1184
## Cache variables. ##
1675
## Cache variables. ##
1185
## ---------------- ##
1676
## ---------------- ##
1186
_ASBOX
1677
_ASBOX
1187
    echo
1678
    echo
1188
    # The following way of writing the cache mishandles newlines in values,
1679
    # The following way of writing the cache mishandles newlines in values,
1189
{
1680
(
1681
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1682
    eval ac_val=\$$ac_var
1683
    case $ac_val in #(
1684
    *${as_nl}*)
1685
      case $ac_var in #(
1686
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1687
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1688
      esac
1689
      case $ac_var in #(
1690
      _ | IFS | as_nl) ;; #(
1691
      *) $as_unset $ac_var ;;
1692
      esac ;;
1693
    esac
1694
  done
1190
  (set) 2>&1 |
1695
  (set) 2>&1 |
1191
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1696
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1192
    *ac_space=\ *)
1697
    *${as_nl}ac_space=\ *)
1193
      sed -n \
1698
      sed -n \
1194
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1699
  "s/'\''/'\''\\\\'\'''\''/g;
1195
       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1700
      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1701
      ;; #(
1702
    *)
1703
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1196
      ;;
1704
      ;;
1197
    *)
1198
      sed -n \
1199
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1200
      ;;
1201
    esac;
1705
    esac |
1202
}
1706
    sort
1707
)
1203
    echo
1708
    echo
1709
1710
    cat <<\_ASBOX
1711
## ----------------- ##
1712
## Output variables. ##
1713
## ----------------- ##
1714
_ASBOX
1715
    echo
1716
    for ac_var in $ac_subst_vars
1717
    do
1718
      eval ac_val=\$$ac_var
1719
      case $ac_val in
1720
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1721
      esac
1722
      echo "$ac_var='\''$ac_val'\''"
1723
    done | sort
1724
    echo
1725
1726
    if test -n "$ac_subst_files"; then
1727
      cat <<\_ASBOX
1728
## ------------------- ##
1729
## File substitutions. ##
1730
## ------------------- ##
1731
_ASBOX
1732
      echo
1733
      for ac_var in $ac_subst_files
1734
      do
1735
  eval ac_val=\$$ac_var
1736
  case $ac_val in
1737
  *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1738
  esac
1739
  echo "$ac_var='\''$ac_val'\''"
1740
      done | sort
1741
      echo
1742
    fi
1743
1204
    if test -s confdefs.h; then
1744
    if test -s confdefs.h; then
1205
      cat <<\_ASBOX
1745
      cat <<\_ASBOX
1206
## ----------- ##
1746
## ----------- ##
1207
## confdefs.h. ##
1747
## confdefs.h. ##
1208
## ----------- ##
1748
## ----------- ##
1209
_ASBOX
1749
_ASBOX
1210
      echo
1750
      echo
1211
      sed "/^$/d" confdefs.h
1751
      cat confdefs.h
1212
      echo
1752
      echo
1213
    fi
1753
    fi
1214
    test "$ac_signal" != 0 &&
1754
    test "$ac_signal" != 0 &&
1215
      echo "$as_me: caught signal $ac_signal"
1755
      echo "$as_me: caught signal $ac_signal"
1216
    echo "$as_me: exit $exit_status"
1756
    echo "$as_me: exit $exit_status"
1217
  } >&5
1757
  } >&5
1218
  rm -f core core.* *.core &&
1758
  rm -f core *.core core.conftest.* &&
1219
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1759
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1220
    exit $exit_status
1760
    exit $exit_status
1221
     ' 0
1761
' 0
1222
for ac_signal in 1 2 13 15; do
1762
for ac_signal in 1 2 13 15; do
1223
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1763
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1224
done
1764
done
1225
ac_signal=0
1765
ac_signal=0
1226
1766
1227
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1767
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1228
rm -rf conftest* confdefs.h
1768
rm -f -r conftest* confdefs.h
1229
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1230
echo >confdefs.h
1231
1769
1232
# Predefined preprocessor variables.
1770
# Predefined preprocessor variables.
1233
1771
1234
cat >>confdefs.h <<_ACEOF
1772
cat >>confdefs.h <<_ACEOF
1235
#define PACKAGE_NAME "$PACKAGE_NAME"
1773
#define PACKAGE_NAME "$PACKAGE_NAME"
...
...
1256
_ACEOF
1794
_ACEOF
1257
1795
1258
1796
1259
# Let the site file select an alternate cache file if it wants to.
1797
# Let the site file select an alternate cache file if it wants to.
1260
# Prefer explicitly selected file to automatically selected ones.
1798
# Prefer explicitly selected file to automatically selected ones.
1261
if test -z "$CONFIG_SITE"; then
1799
if test -n "$CONFIG_SITE"; then
1800
  set x "$CONFIG_SITE"
1262
  if test "x$prefix" != xNONE; then
1801
elif test "x$prefix" != xNONE; then
1263
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1802
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1264
  else
1803
else
1265
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1804
  set x "$ac_default_prefix/share/config.site" \
1805
  "$ac_default_prefix/etc/config.site"
1266
  fi
1806
fi
1267
fi
1807
shift
1268
for ac_site_file in $CONFIG_SITE; do
1808
for ac_site_file
1809
do
1269
  if test -r "$ac_site_file"; then
1810
  if test -r "$ac_site_file"; then
1270
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1811
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1271
echo "$as_me: loading site script $ac_site_file" >&6;}
1812
echo "$as_me: loading site script $ac_site_file" >&6;}
1272
    sed 's/^/| /' "$ac_site_file" >&5
1813
    sed 's/^/| /' "$ac_site_file" >&5
1273
    . "$ac_site_file"
1814
    . "$ac_site_file"
...
...
1279
  # files actually), so we avoid doing that.
1820
  # files actually), so we avoid doing that.
1280
  if test -f "$cache_file"; then
1821
  if test -f "$cache_file"; then
1281
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1822
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1282
echo "$as_me: loading cache $cache_file" >&6;}
1823
echo "$as_me: loading cache $cache_file" >&6;}
1283
    case $cache_file in
1824
    case $cache_file in
1284
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1825
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1285
      *)                      . ./$cache_file;;
1826
      *)                      . "./$cache_file";;
1286
    esac
1827
    esac
1287
  fi
1828
  fi
1288
else
1829
else
1289
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1830
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1290
echo "$as_me: creating cache $cache_file" >&6;}
1831
echo "$as_me: creating cache $cache_file" >&6;}
...
...
1292
fi
1833
fi
1293
1834
1294
# Check that the precious variables saved in the cache have kept the same
1835
# Check that the precious variables saved in the cache have kept the same
1295
# value.
1836
# value.
1296
ac_cache_corrupted=false
1837
ac_cache_corrupted=false
1297
for ac_var in `(set) 2>&1 |
1838
for ac_var in $ac_precious_vars; do
1298
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1299
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1839
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1300
  eval ac_new_set=\$ac_env_${ac_var}_set
1840
  eval ac_new_set=\$ac_env_${ac_var}_set
1301
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1841
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1302
  eval ac_new_val="\$ac_env_${ac_var}_value"
1842
  eval ac_new_val=\$ac_env_${ac_var}_value
1303
  case $ac_old_set,$ac_new_set in
1843
  case $ac_old_set,$ac_new_set in
1304
    set,)
1844
    set,)
1305
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1845
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1306
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1846
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1307
      ac_cache_corrupted=: ;;
1847
      ac_cache_corrupted=: ;;
...
...
1310
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1850
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1311
      ac_cache_corrupted=: ;;
1851
      ac_cache_corrupted=: ;;
1312
    ,);;
1852
    ,);;
1313
    *)
1853
    *)
1314
      if test "x$ac_old_val" != "x$ac_new_val"; then
1854
      if test "x$ac_old_val" != "x$ac_new_val"; then
1315
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1855
  { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1316
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1856
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1317
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1857
  { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1318
echo "$as_me:   former value:  $ac_old_val" >&2;}
1858
echo "$as_me:   former value:  $ac_old_val" >&2;}
1319
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1859
  { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1320
echo "$as_me:   current value: $ac_new_val" >&2;}
1860
echo "$as_me:   current value: $ac_new_val" >&2;}
1321
        ac_cache_corrupted=:
1861
  ac_cache_corrupted=:
1322
      fi;;
1862
      fi;;
1323
  esac
1863
  esac
1324
  # Pass precious variables to config.status.
1864
  # Pass precious variables to config.status.
1325
  if test "$ac_new_set" = set; then
1865
  if test "$ac_new_set" = set; then
1326
    case $ac_new_val in
1866
    case $ac_new_val in
1327
    *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1328
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1867
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1329
    *) ac_arg=$ac_var=$ac_new_val ;;
1868
    *) ac_arg=$ac_var=$ac_new_val ;;
1330
    esac
1869
    esac
1331
    case " $ac_configure_args " in
1870
    case " $ac_configure_args " in
1332
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1871
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1333
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1872
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
...
...
1340
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1879
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1341
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1880
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1342
   { (exit 1); exit 1; }; }
1881
   { (exit 1); exit 1; }; }
1343
fi
1882
fi
1344
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1345
ac_ext=c
1900
ac_ext=c
1346
ac_cpp='$CPP $CPPFLAGS'
1901
ac_cpp='$CPP $CPPFLAGS'
1347
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1902
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1348
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1903
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1349
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1904
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1350
1905
1351
1906
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
VERSION=`cat ${srcdir}/.version`
1907
VERSION=`cat ${srcdir}/.version`
1369
MAJOR_VERSION=`expr $VERSION : '\([0-9][0-9]*\)'`
1908
MAJOR_VERSION=`expr $VERSION : '\([0-9][0-9]*\)'`
1370
1909
1371
MINOR_VERSION=`expr $VERSION : '[0-9][0-9]*\.\([0-9][0-9]*\)'`
1910
MINOR_VERSION=`expr $VERSION : '[0-9][0-9]*\.\([0-9][0-9]*\)'`
1372
1911
1373
MICRO_VERSION=`expr $VERSION : '[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\)'`
1912
MICRO_VERSION=`expr $VERSION : '[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\)'`
1374
1913
1375
ac_aux_dir=
1914
ac_aux_dir=
1376
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1915
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1377
  if test -f $ac_dir/install-sh; then
1916
  if test -f "$ac_dir/install-sh"; then
1378
    ac_aux_dir=$ac_dir
1917
    ac_aux_dir=$ac_dir
1379
    ac_install_sh="$ac_aux_dir/install-sh -c"
1918
    ac_install_sh="$ac_aux_dir/install-sh -c"
1380
    break
1919
    break
1381
  elif test -f $ac_dir/install.sh; then
1920
  elif test -f "$ac_dir/install.sh"; then
1382
    ac_aux_dir=$ac_dir
1921
    ac_aux_dir=$ac_dir
1383
    ac_install_sh="$ac_aux_dir/install.sh -c"
1922
    ac_install_sh="$ac_aux_dir/install.sh -c"
1384
    break
1923
    break
1385
  elif test -f $ac_dir/shtool; then
1924
  elif test -f "$ac_dir/shtool"; then
1386
    ac_aux_dir=$ac_dir
1925
    ac_aux_dir=$ac_dir
1387
    ac_install_sh="$ac_aux_dir/shtool install -c"
1926
    ac_install_sh="$ac_aux_dir/shtool install -c"
1388
    break
1927
    break
1389
  fi
1928
  fi
1390
done
1929
done
1391
if test -z "$ac_aux_dir"; then
1930
if test -z "$ac_aux_dir"; then
1392
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1931
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1393
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1932
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1394
   { (exit 1); exit 1; }; }
1933
   { (exit 1); exit 1; }; }
1395
fi
1934
fi
1935
1936
# These three variables are undocumented and unsupported,
1937
# and are intended to be withdrawn in a future Autoconf release.
1938
# They can cause serious problems if a builder's source tree is in a directory
1939
# whose full name contains unusual characters.
1396
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1940
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1397
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1941
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1398
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1942
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1943
1399
1944
1400
# Find a good install program.  We prefer a C program (faster),
1945
# Find a good install program.  We prefer a C program (faster),
1401
# so one script is as good as another.  But avoid the broken or
1946
# so one script is as good as another.  But avoid the broken or
1402
# incompatible versions:
1947
# incompatible versions:
1403
# SysV /etc/install, /usr/sbin/install
1948
# SysV /etc/install, /usr/sbin/install
...
...
1406
# AIX /bin/install
1951
# AIX /bin/install
1407
# AmigaOS /C/install, which installs bootblocks on floppy discs
1952
# AmigaOS /C/install, which installs bootblocks on floppy discs
1408
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1953
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1409
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1954
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1410
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1955
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1956
# OS/2's system install, which has a completely different semantic
1411
# ./install, which can be erroneously created by make from ./install.sh.
1957
# ./install, which can be erroneously created by make from ./install.sh.
1412
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1958
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1413
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1959
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1414
if test -z "$INSTALL"; then
1960
if test -z "$INSTALL"; then
1415
if test "${ac_cv_path_install+set}" = set; then
1961
if test "${ac_cv_path_install+set}" = set; then
1416
  echo $ECHO_N "(cached) $ECHO_C" >&6
1962
  echo $ECHO_N "(cached) $ECHO_C" >&6
1417
else
1963
else
1418
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1964
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
...
...
1422
  test -z "$as_dir" && as_dir=.
1968
  test -z "$as_dir" && as_dir=.
1423
  # Account for people who put trailing slashes in PATH elements.
1969
  # Account for people who put trailing slashes in PATH elements.
1424
case $as_dir/ in
1970
case $as_dir/ in
1425
  ./ | .// | /cC/* | \
1971
  ./ | .// | /cC/* | \
1426
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1972
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1973
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1427
  /usr/ucb/* ) ;;
1974
  /usr/ucb/* ) ;;
1428
  *)
1975
  *)
1429
    # OSF1 and SCO ODT 3.0 have their own names for install.
1976
    # OSF1 and SCO ODT 3.0 have their own names for install.
1430
    # Don't use installbsd from OSF since it installs stuff as root
1977
    # Don't use installbsd from OSF since it installs stuff as root
1431
    # by default.
1978
    # by default.
1432
    for ac_prog in ginstall scoinst install; do
1979
    for ac_prog in ginstall scoinst install; do
1433
      for ac_exec_ext in '' $ac_executable_extensions; do
1980
      for ac_exec_ext in '' $ac_executable_extensions; do
1434
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1981
  if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1435
          if test $ac_prog = install &&
1982
    if test $ac_prog = install &&
1436
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1983
      grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1437
            # AIX install.  It has an incompatible calling convention.
1984
      # AIX install.  It has an incompatible calling convention.
1438
            :
1985
      :
1439
          elif test $ac_prog = install &&
1986
    elif test $ac_prog = install &&
1440
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1987
      grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1441
            # program-specific install script used by HP pwplus--don't use.
1988
      # program-specific install script used by HP pwplus--don't use.
1442
            :
1989
      :
1443
          else
1990
    else
1444
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1991
      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1445
            break 3
1992
      break 3
1446
          fi
1993
    fi
1447
        fi
1994
  fi
1448
      done
1995
      done
1449
    done
1996
    done
1450
    ;;
1997
    ;;
1451
esac
1998
esac
1452
done
1999
done
2000
IFS=$as_save_IFS
1453
2001
1454
2002
1455
fi
2003
fi
1456
  if test "${ac_cv_path_install+set}" = set; then
2004
  if test "${ac_cv_path_install+set}" = set; then
1457
    INSTALL=$ac_cv_path_install
2005
    INSTALL=$ac_cv_path_install
1458
  else
2006
  else
1459
    # As a last resort, use the slow shell script.  We don't cache a
2007
    # As a last resort, use the slow shell script.  Don't cache a
1460
    # path for INSTALL within a source directory, because that will
2008
    # value for INSTALL within a source directory, because that will
1461
    # break other packages using the cache if that directory is
2009
    # break other packages using the cache if that directory is
1462
    # removed, or if the path is relative.
2010
    # removed, or if the value is a relative name.
1463
    INSTALL=$ac_install_sh
2011
    INSTALL=$ac_install_sh
1464
  fi
2012
  fi
1465
fi
2013
fi
1466
echo "$as_me:$LINENO: result: $INSTALL" >&5
2014
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1467
echo "${ECHO_T}$INSTALL" >&6
2015
echo "${ECHO_T}$INSTALL" >&6; }
1468
2016
1469
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2017
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1470
# It thinks the first close brace ends the variable substitution.
2018
# It thinks the first close brace ends the variable substitution.
1471
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2019
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1472
2020
1473
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2021
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1474
2022
1475
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2023
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1476
2024
1477
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2025
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1478
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2026
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1479
# Just in case
2027
# Just in case
1480
sleep 1
2028
sleep 1
1481
echo timestamp > conftest.file
2029
echo timestamp > conftest.file
1482
# Do `set' in a subshell so we don't clobber the current shell's
2030
# Do `set' in a subshell so we don't clobber the current shell's
1483
# arguments.  Must try -L first in case configure is actually a
2031
# arguments.  Must try -L first in case configure is actually a
...
...
1515
Check your system clock" >&5
2063
Check your system clock" >&5
1516
echo "$as_me: error: newly created file is older than distributed files!
2064
echo "$as_me: error: newly created file is older than distributed files!
1517
Check your system clock" >&2;}
2065
Check your system clock" >&2;}
1518
   { (exit 1); exit 1; }; }
2066
   { (exit 1); exit 1; }; }
1519
fi
2067
fi
1520
echo "$as_me:$LINENO: result: yes" >&5
2068
{ echo "$as_me:$LINENO: result: yes" >&5
1521
echo "${ECHO_T}yes" >&6
2069
echo "${ECHO_T}yes" >&6; }
1522
test "$program_prefix" != NONE &&
2070
test "$program_prefix" != NONE &&
1523
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
2071
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1524
# Use a double $ so make ignores it.
2072
# Use a double $ so make ignores it.
1525
test "$program_suffix" != NONE &&
2073
test "$program_suffix" != NONE &&
1526
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2074
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1527
# Double any \ or $.  echo might interpret backslashes.
2075
# Double any \ or $.  echo might interpret backslashes.
1528
# By default was `s,x,x', remove it if useless.
2076
# By default was `s,x,x', remove it if useless.
1529
cat <<\_ACEOF >conftest.sed
2077
cat <<\_ACEOF >conftest.sed
1530
s/[\\$]/&&/g;s/;s,x,x,$//
2078
s/[\\$]/&&/g;s/;s,x,x,$//
1531
_ACEOF
2079
_ACEOF
1532
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2080
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1533
rm conftest.sed
2081
rm -f conftest.sed
1534
2082
1535
2083
1536
# expand $ac_aux_dir to an absolute path
2084
# expand $ac_aux_dir to an absolute path
1537
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
2085
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1538
2086
...
...
1549
2097
1550
for ac_prog in gawk mawk nawk awk
2098
for ac_prog in gawk mawk nawk awk
1551
do
2099
do
1552
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2100
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1553
set dummy $ac_prog; ac_word=$2
2101
set dummy $ac_prog; ac_word=$2
1554
echo "$as_me:$LINENO: checking for $ac_word" >&5
2102
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1555
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2103
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1556
if test "${ac_cv_prog_AWK+set}" = set; then
2104
if test "${ac_cv_prog_AWK+set}" = set; then
1557
  echo $ECHO_N "(cached) $ECHO_C" >&6
2105
  echo $ECHO_N "(cached) $ECHO_C" >&6
1558
else
2106
else
1559
  if test -n "$AWK"; then
2107
  if test -n "$AWK"; then
1560
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2108
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
...
...
1563
for as_dir in $PATH
2111
for as_dir in $PATH
1564
do
2112
do
1565
  IFS=$as_save_IFS
2113
  IFS=$as_save_IFS
1566
  test -z "$as_dir" && as_dir=.
2114
  test -z "$as_dir" && as_dir=.
1567
  for ac_exec_ext in '' $ac_executable_extensions; do
2115
  for ac_exec_ext in '' $ac_executable_extensions; do
1568
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2116
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1569
    ac_cv_prog_AWK="$ac_prog"
2117
    ac_cv_prog_AWK="$ac_prog"
1570
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1571
    break 2
2119
    break 2
1572
  fi
2120
  fi
1573
done
2121
done
1574
done
2122
done
2123
IFS=$as_save_IFS
1575
2124
1576
fi
2125
fi
1577
fi
2126
fi
1578
AWK=$ac_cv_prog_AWK
2127
AWK=$ac_cv_prog_AWK
1579
if test -n "$AWK"; then
2128
if test -n "$AWK"; then
1580
  echo "$as_me:$LINENO: result: $AWK" >&5
2129
  { echo "$as_me:$LINENO: result: $AWK" >&5
1581
echo "${ECHO_T}$AWK" >&6
2130
echo "${ECHO_T}$AWK" >&6; }
1582
else
2131
else
1583
  echo "$as_me:$LINENO: result: no" >&5
2132
  { echo "$as_me:$LINENO: result: no" >&5
1584
echo "${ECHO_T}no" >&6
2133
echo "${ECHO_T}no" >&6; }
1585
fi
2134
fi
2135
1586
2136
1587
  test -n "$AWK" && break
2137
  test -n "$AWK" && break
1588
done
2138
done
1589
2139
1590
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
2140
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1591
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2141
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1592
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2142
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1593
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2143
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1594
  echo $ECHO_N "(cached) $ECHO_C" >&6
2144
  echo $ECHO_N "(cached) $ECHO_C" >&6
1595
else
2145
else
1596
  cat >conftest.make <<\_ACEOF
2146
  cat >conftest.make <<\_ACEOF
2147
SHELL = /bin/sh
1597
all:
2148
all:
1598
  @echo 'ac_maketemp="${MAKE}"'
2149
  @echo '@@@%%%=$(MAKE)=@@@%%%'
1599
_ACEOF
2150
_ACEOF
1600
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2151
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1601
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2152
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1602
if test -n "$ac_maketemp"; then
2153
  *@@@%%%=?*=@@@%%%*)
1603
  eval ac_cv_prog_make_${ac_make}_set=yes
2154
    eval ac_cv_prog_make_${ac_make}_set=yes;;
1604
else
2155
  *)
1605
  eval ac_cv_prog_make_${ac_make}_set=no
2156
    eval ac_cv_prog_make_${ac_make}_set=no;;
1606
fi
2157
esac
1607
rm -f conftest.make
2158
rm -f conftest.make
1608
fi
2159
fi
1609
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2160
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1610
  echo "$as_me:$LINENO: result: yes" >&5
2161
  { echo "$as_me:$LINENO: result: yes" >&5
1611
echo "${ECHO_T}yes" >&6
2162
echo "${ECHO_T}yes" >&6; }
1612
  SET_MAKE=
2163
  SET_MAKE=
1613
else
2164
else
1614
  echo "$as_me:$LINENO: result: no" >&5
2165
  { echo "$as_me:$LINENO: result: no" >&5
1615
echo "${ECHO_T}no" >&6
2166
echo "${ECHO_T}no" >&6; }
1616
  SET_MAKE="MAKE=${MAKE-make}"
2167
  SET_MAKE="MAKE=${MAKE-make}"
1617
fi
2168
fi
1618
2169
1619
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2170
# Check whether --enable-dependency-tracking was given.
1620
if test "${enable_dependency_tracking+set}" = set; then
2171
if test "${enable_dependency_tracking+set}" = set; then
1621
  enableval="$enable_dependency_tracking"
2172
  enableval=$enable_dependency_tracking;
1622
1623
fi;
2173
fi
2174
1624
if test "x$enable_dependency_tracking" != xno; then
2175
if test "x$enable_dependency_tracking" != xno; then
1625
  am_depcomp="$ac_aux_dir/depcomp"
2176
  am_depcomp="$ac_aux_dir/depcomp"
1626
  AMDEPBACKSLASH='\'
2177
  AMDEPBACKSLASH='\'
1627
fi
2178
fi
1628
2179
...
...
1706
2257
1707
2258
1708
                                    ac_config_headers="$ac_config_headers config.h"
2259
                                    ac_config_headers="$ac_config_headers config.h"
1709
2260
1710
2261
1711
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
2262
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1712
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2263
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1713
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2264
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1714
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2265
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1715
  echo $ECHO_N "(cached) $ECHO_C" >&6
2266
  echo $ECHO_N "(cached) $ECHO_C" >&6
1716
else
2267
else
1717
  cat >conftest.make <<\_ACEOF
2268
  cat >conftest.make <<\_ACEOF
2269
SHELL = /bin/sh
1718
all:
2270
all:
1719
  @echo 'ac_maketemp="${MAKE}"'
2271
  @echo '@@@%%%=$(MAKE)=@@@%%%'
1720
_ACEOF
2272
_ACEOF
1721
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2273
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1722
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2274
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1723
if test -n "$ac_maketemp"; then
2275
  *@@@%%%=?*=@@@%%%*)
1724
  eval ac_cv_prog_make_${ac_make}_set=yes
2276
    eval ac_cv_prog_make_${ac_make}_set=yes;;
1725
else
2277
  *)
1726
  eval ac_cv_prog_make_${ac_make}_set=no
2278
    eval ac_cv_prog_make_${ac_make}_set=no;;
1727
fi
2279
esac
1728
rm -f conftest.make
2280
rm -f conftest.make
1729
fi
2281
fi
1730
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2282
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1731
  echo "$as_me:$LINENO: result: yes" >&5
2283
  { echo "$as_me:$LINENO: result: yes" >&5
1732
echo "${ECHO_T}yes" >&6
2284
echo "${ECHO_T}yes" >&6; }
1733
  SET_MAKE=
2285
  SET_MAKE=
1734
else
2286
else
1735
  echo "$as_me:$LINENO: result: no" >&5
2287
  { echo "$as_me:$LINENO: result: no" >&5
1736
echo "${ECHO_T}no" >&6
2288
echo "${ECHO_T}no" >&6; }
1737
  SET_MAKE="MAKE=${MAKE-make}"
2289
  SET_MAKE="MAKE=${MAKE-make}"
1738
fi
2290
fi
1739
2291
1740
2292
1741
UNICODE_VERSION=3.2.0
2293
UNICODE_VERSION=5.1.0
1742
2294
1743
2295
1744
ac_ext=c
2296
ac_ext=c
1745
ac_cpp='$CPP $CPPFLAGS'
2297
ac_cpp='$CPP $CPPFLAGS'
1746
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2298
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1747
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2299
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1748
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2300
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1749
if test -n "$ac_tool_prefix"; then
2301
if test -n "$ac_tool_prefix"; then
1750
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2302
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1751
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2303
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1752
echo "$as_me:$LINENO: checking for $ac_word" >&5
2304
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1753
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2305
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1754
if test "${ac_cv_prog_CC+set}" = set; then
2306
if test "${ac_cv_prog_CC+set}" = set; then
1755
  echo $ECHO_N "(cached) $ECHO_C" >&6
2307
  echo $ECHO_N "(cached) $ECHO_C" >&6
1756
else
2308
else
1757
  if test -n "$CC"; then
2309
  if test -n "$CC"; then
1758
  ac_cv_prog_CC="$CC" # Let the user override the test.
2310
  ac_cv_prog_CC="$CC" # Let the user override the test.
...
...
1761
for as_dir in $PATH
2313
for as_dir in $PATH
1762
do
2314
do
1763
  IFS=$as_save_IFS
2315
  IFS=$as_save_IFS
1764
  test -z "$as_dir" && as_dir=.
2316
  test -z "$as_dir" && as_dir=.
1765
  for ac_exec_ext in '' $ac_executable_extensions; do
2317
  for ac_exec_ext in '' $ac_executable_extensions; do
1766
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1767
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2319
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1768
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1769
    break 2
2321
    break 2
1770
  fi
2322
  fi
1771
done
2323
done
1772
done
2324
done
2325
IFS=$as_save_IFS
1773
2326
1774
fi
2327
fi
1775
fi
2328
fi
1776
CC=$ac_cv_prog_CC
2329
CC=$ac_cv_prog_CC
1777
if test -n "$CC"; then
2330
if test -n "$CC"; then
1778
  echo "$as_me:$LINENO: result: $CC" >&5
2331
  { echo "$as_me:$LINENO: result: $CC" >&5
1779
echo "${ECHO_T}$CC" >&6
2332
echo "${ECHO_T}$CC" >&6; }
1780
else
2333
else
1781
  echo "$as_me:$LINENO: result: no" >&5
2334
  { echo "$as_me:$LINENO: result: no" >&5
1782
echo "${ECHO_T}no" >&6
2335
echo "${ECHO_T}no" >&6; }
1783
fi
2336
fi
2337
1784
2338
1785
fi
2339
fi
1786
if test -z "$ac_cv_prog_CC"; then
2340
if test -z "$ac_cv_prog_CC"; then
1787
  ac_ct_CC=$CC
2341
  ac_ct_CC=$CC
1788
  # Extract the first word of "gcc", so it can be a program name with args.
2342
  # Extract the first word of "gcc", so it can be a program name with args.
1789
set dummy gcc; ac_word=$2
2343
set dummy gcc; ac_word=$2
1790
echo "$as_me:$LINENO: checking for $ac_word" >&5
2344
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1791
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2345
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1792
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2346
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1793
  echo $ECHO_N "(cached) $ECHO_C" >&6
2347
  echo $ECHO_N "(cached) $ECHO_C" >&6
1794
else
2348
else
1795
  if test -n "$ac_ct_CC"; then
2349
  if test -n "$ac_ct_CC"; then
1796
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2350
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
...
...
1799
for as_dir in $PATH
2353
for as_dir in $PATH
1800
do
2354
do
1801
  IFS=$as_save_IFS
2355
  IFS=$as_save_IFS
1802
  test -z "$as_dir" && as_dir=.
2356
  test -z "$as_dir" && as_dir=.
1803
  for ac_exec_ext in '' $ac_executable_extensions; do
2357
  for ac_exec_ext in '' $ac_executable_extensions; do
1804
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2358
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1805
    ac_cv_prog_ac_ct_CC="gcc"
2359
    ac_cv_prog_ac_ct_CC="gcc"
1806
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2360
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1807
    break 2
2361
    break 2
1808
  fi
2362
  fi
1809
done
2363
done
1810
done
2364
done
2365
IFS=$as_save_IFS
1811
2366
1812
fi
2367
fi
1813
fi
2368
fi
1814
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2369
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1815
if test -n "$ac_ct_CC"; then
2370
if test -n "$ac_ct_CC"; then
1816
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2371
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1817
echo "${ECHO_T}$ac_ct_CC" >&6
2372
echo "${ECHO_T}$ac_ct_CC" >&6; }
1818
else
2373
else
1819
  echo "$as_me:$LINENO: result: no" >&5
2374
  { echo "$as_me:$LINENO: result: no" >&5
1820
echo "${ECHO_T}no" >&6
2375
echo "${ECHO_T}no" >&6; }
1821
fi
2376
fi
1822
2377
2378
  if test "x$ac_ct_CC" = x; then
2379
    CC=""
2380
  else
2381
    case $cross_compiling:$ac_tool_warned in
2382
yes:)
2383
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2384
whose name does not start with the host triplet.  If you think this
2385
configuration is useful to you, please write to autoconf@gnu.org." >&5
2386
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2387
whose name does not start with the host triplet.  If you think this
2388
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2389
ac_tool_warned=yes ;;
2390
esac
1823
  CC=$ac_ct_CC
2391
    CC=$ac_ct_CC
2392
  fi
1824
else
2393
else
1825
  CC="$ac_cv_prog_CC"
2394
  CC="$ac_cv_prog_CC"
1826
fi
2395
fi
1827
2396
1828
if test -z "$CC"; then
2397
if test -z "$CC"; then
1829
  if test -n "$ac_tool_prefix"; then
2398
          if test -n "$ac_tool_prefix"; then
1830
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2399
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1831
set dummy ${ac_tool_prefix}cc; ac_word=$2
2400
set dummy ${ac_tool_prefix}cc; ac_word=$2
1832
echo "$as_me:$LINENO: checking for $ac_word" >&5
2401
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1833
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2402
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1834
if test "${ac_cv_prog_CC+set}" = set; then
2403
if test "${ac_cv_prog_CC+set}" = set; then
1835
  echo $ECHO_N "(cached) $ECHO_C" >&6
2404
  echo $ECHO_N "(cached) $ECHO_C" >&6
1836
else
2405
else
1837
  if test -n "$CC"; then
2406
  if test -n "$CC"; then
1838
  ac_cv_prog_CC="$CC" # Let the user override the test.
2407
  ac_cv_prog_CC="$CC" # Let the user override the test.
...
...
1841
for as_dir in $PATH
2410
for as_dir in $PATH
1842
do
2411
do
1843
  IFS=$as_save_IFS
2412
  IFS=$as_save_IFS
1844
  test -z "$as_dir" && as_dir=.
2413
  test -z "$as_dir" && as_dir=.
1845
  for ac_exec_ext in '' $ac_executable_extensions; do
2414
  for ac_exec_ext in '' $ac_executable_extensions; do
1846
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2415
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1847
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2416
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1848
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1849
    break 2
2418
    break 2
1850
  fi
2419
  fi
1851
done
2420
done
1852
done
2421
done
2422
IFS=$as_save_IFS
1853
2423
1854
fi
2424
fi
1855
fi
2425
fi
1856
CC=$ac_cv_prog_CC
2426
CC=$ac_cv_prog_CC
1857
if test -n "$CC"; then
2427
if test -n "$CC"; then
1858
  echo "$as_me:$LINENO: result: $CC" >&5
2428
  { echo "$as_me:$LINENO: result: $CC" >&5
1859
echo "${ECHO_T}$CC" >&6
2429
echo "${ECHO_T}$CC" >&6; }
1860
else
2430
else
1861
  echo "$as_me:$LINENO: result: no" >&5
2431
  { echo "$as_me:$LINENO: result: no" >&5
1862
echo "${ECHO_T}no" >&6
2432
echo "${ECHO_T}no" >&6; }
1863
fi
2433
fi
1864
2434
1865
fi
2435
1866
if test -z "$ac_cv_prog_CC"; then
1867
  ac_ct_CC=$CC
1868
  # Extract the first word of "cc", so it can be a program name with args.
1869
set dummy cc; ac_word=$2
1870
echo "$as_me:$LINENO: checking for $ac_word" >&5
1871
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1872
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1873
  echo $ECHO_N "(cached) $ECHO_C" >&6
1874
else
1875
  if test -n "$ac_ct_CC"; then
1876
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1877
else
1878
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1879
for as_dir in $PATH
1880
do
1881
  IFS=$as_save_IFS
1882
  test -z "$as_dir" && as_dir=.
1883
  for ac_exec_ext in '' $ac_executable_extensions; do
1884
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1885
    ac_cv_prog_ac_ct_CC="cc"
1886
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887
    break 2
1888
  fi
2436
  fi
1889
done
1890
done
1891
1892
fi
1893
fi
1894
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1895
if test -n "$ac_ct_CC"; then
1896
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1897
echo "${ECHO_T}$ac_ct_CC" >&6
1898
else
1899
  echo "$as_me:$LINENO: result: no" >&5
1900
echo "${ECHO_T}no" >&6
1901
fi
1902
1903
  CC=$ac_ct_CC
1904
else
1905
  CC="$ac_cv_prog_CC"
1906
fi
1907
1908
fi
2437
fi
1909
if test -z "$CC"; then
2438
if test -z "$CC"; then
1910
  # Extract the first word of "cc", so it can be a program name with args.
2439
  # Extract the first word of "cc", so it can be a program name with args.
1911
set dummy cc; ac_word=$2
2440
set dummy cc; ac_word=$2
1912
echo "$as_me:$LINENO: checking for $ac_word" >&5
2441
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1913
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2442
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1914
if test "${ac_cv_prog_CC+set}" = set; then
2443
if test "${ac_cv_prog_CC+set}" = set; then
1915
  echo $ECHO_N "(cached) $ECHO_C" >&6
2444
  echo $ECHO_N "(cached) $ECHO_C" >&6
1916
else
2445
else
1917
  if test -n "$CC"; then
2446
  if test -n "$CC"; then
1918
  ac_cv_prog_CC="$CC" # Let the user override the test.
2447
  ac_cv_prog_CC="$CC" # Let the user override the test.
...
...
1922
for as_dir in $PATH
2451
for as_dir in $PATH
1923
do
2452
do
1924
  IFS=$as_save_IFS
2453
  IFS=$as_save_IFS
1925
  test -z "$as_dir" && as_dir=.
2454
  test -z "$as_dir" && as_dir=.
1926
  for ac_exec_ext in '' $ac_executable_extensions; do
2455
  for ac_exec_ext in '' $ac_executable_extensions; do
1927
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2456
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1928
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2457
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1929
       ac_prog_rejected=yes
2458
       ac_prog_rejected=yes
1930
       continue
2459
       continue
1931
     fi
2460
     fi
1932
    ac_cv_prog_CC="cc"
2461
    ac_cv_prog_CC="cc"
1933
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2462
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1934
    break 2
2463
    break 2
1935
  fi
2464
  fi
1936
done
2465
done
1937
done
2466
done
2467
IFS=$as_save_IFS
1938
2468
1939
if test $ac_prog_rejected = yes; then
2469
if test $ac_prog_rejected = yes; then
1940
  # We found a bogon in the path, so make sure we never use it.
2470
  # We found a bogon in the path, so make sure we never use it.
1941
  set dummy $ac_cv_prog_CC
2471
  set dummy $ac_cv_prog_CC
1942
  shift
2472
  shift
1943
  if test $# != 0; then
2473
  if test $# != 0; then
1944
    # We chose a different compiler from the bogus one.
2474
    # We chose a different compiler from the bogus one.
1945
    # However, it has the same basename, so the bogon will be chosen
2475
    # However, it has the same basename, so the bogon will be chosen
1946
    # first if we set CC to just the basename; use the full file name.
2476
    # first if we set CC to just the basename; use the full file name.
1947
    shift
2477
    shift
1948
    set dummy "$as_dir/$ac_word" ${1+"$@"}
2478
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1949
    shift
1950
    ac_cv_prog_CC="$@"
1951
  fi
2479
  fi
1952
fi
2480
fi
1953
fi
2481
fi
1954
fi
2482
fi
1955
CC=$ac_cv_prog_CC
2483
CC=$ac_cv_prog_CC
1956
if test -n "$CC"; then
2484
if test -n "$CC"; then
1957
  echo "$as_me:$LINENO: result: $CC" >&5
2485
  { echo "$as_me:$LINENO: result: $CC" >&5
1958
echo "${ECHO_T}$CC" >&6
2486
echo "${ECHO_T}$CC" >&6; }
1959
else
2487
else
1960
  echo "$as_me:$LINENO: result: no" >&5
2488
  { echo "$as_me:$LINENO: result: no" >&5
1961
echo "${ECHO_T}no" >&6
2489
echo "${ECHO_T}no" >&6; }
1962
fi
2490
fi
2491
1963
2492
1964
fi
2493
fi
1965
if test -z "$CC"; then
2494
if test -z "$CC"; then
1966
  if test -n "$ac_tool_prefix"; then
2495
  if test -n "$ac_tool_prefix"; then
1967
  for ac_prog in cl
2496
  for ac_prog in cl.exe
1968
  do
2497
  do
1969
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2498
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1970
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2499
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1971
echo "$as_me:$LINENO: checking for $ac_word" >&5
2500
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1972
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2501
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1973
if test "${ac_cv_prog_CC+set}" = set; then
2502
if test "${ac_cv_prog_CC+set}" = set; then
1974
  echo $ECHO_N "(cached) $ECHO_C" >&6
2503
  echo $ECHO_N "(cached) $ECHO_C" >&6
1975
else
2504
else
1976
  if test -n "$CC"; then
2505
  if test -n "$CC"; then
1977
  ac_cv_prog_CC="$CC" # Let the user override the test.
2506
  ac_cv_prog_CC="$CC" # Let the user override the test.
...
...
1980
for as_dir in $PATH
2509
for as_dir in $PATH
1981
do
2510
do
1982
  IFS=$as_save_IFS
2511
  IFS=$as_save_IFS
1983
  test -z "$as_dir" && as_dir=.
2512
  test -z "$as_dir" && as_dir=.
1984
  for ac_exec_ext in '' $ac_executable_extensions; do
2513
  for ac_exec_ext in '' $ac_executable_extensions; do
1985
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2514
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1986
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2515
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1987
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988
    break 2
2517
    break 2
1989
  fi
2518
  fi
1990
done
2519
done
1991
done
2520
done
2521
IFS=$as_save_IFS
1992
2522
1993
fi
2523
fi
1994
fi
2524
fi
1995
CC=$ac_cv_prog_CC
2525
CC=$ac_cv_prog_CC
1996
if test -n "$CC"; then
2526
if test -n "$CC"; then
1997
  echo "$as_me:$LINENO: result: $CC" >&5
2527
  { echo "$as_me:$LINENO: result: $CC" >&5
1998
echo "${ECHO_T}$CC" >&6
2528
echo "${ECHO_T}$CC" >&6; }
1999
else
2529
else
2000
  echo "$as_me:$LINENO: result: no" >&5
2530
  { echo "$as_me:$LINENO: result: no" >&5
2001
echo "${ECHO_T}no" >&6
2531
echo "${ECHO_T}no" >&6; }
2002
fi
2532
fi
2533
2003
2534
2004
    test -n "$CC" && break
2535
    test -n "$CC" && break
2005
  done
2536
  done
2006
fi
2537
fi
2007
if test -z "$CC"; then
2538
if test -z "$CC"; then
2008
  ac_ct_CC=$CC
2539
  ac_ct_CC=$CC
2009
  for ac_prog in cl
2540
  for ac_prog in cl.exe
2010
do
2541
do
2011
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2542
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2012
set dummy $ac_prog; ac_word=$2
2543
set dummy $ac_prog; ac_word=$2
2013
echo "$as_me:$LINENO: checking for $ac_word" >&5
2544
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2014
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2545
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2015
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2546
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2016
  echo $ECHO_N "(cached) $ECHO_C" >&6
2547
  echo $ECHO_N "(cached) $ECHO_C" >&6
2017
else
2548
else
2018
  if test -n "$ac_ct_CC"; then
2549
  if test -n "$ac_ct_CC"; then
2019
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2550
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
...
...
2022
for as_dir in $PATH
2553
for as_dir in $PATH
2023
do
2554
do
2024
  IFS=$as_save_IFS
2555
  IFS=$as_save_IFS
2025
  test -z "$as_dir" && as_dir=.
2556
  test -z "$as_dir" && as_dir=.
2026
  for ac_exec_ext in '' $ac_executable_extensions; do
2557
  for ac_exec_ext in '' $ac_executable_extensions; do
2027
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2558
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2028
    ac_cv_prog_ac_ct_CC="$ac_prog"
2559
    ac_cv_prog_ac_ct_CC="$ac_prog"
2029
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2560
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2030
    break 2
2561
    break 2
2031
  fi
2562
  fi
2032
done
2563
done
2033
done
2564
done
2565
IFS=$as_save_IFS
2034
2566
2035
fi
2567
fi
2036
fi
2568
fi
2037
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2569
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2038
if test -n "$ac_ct_CC"; then
2570
if test -n "$ac_ct_CC"; then
2039
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2571
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2040
echo "${ECHO_T}$ac_ct_CC" >&6
2572
echo "${ECHO_T}$ac_ct_CC" >&6; }
2041
else
2573
else
2042
  echo "$as_me:$LINENO: result: no" >&5
2574
  { echo "$as_me:$LINENO: result: no" >&5
2043
echo "${ECHO_T}no" >&6
2575
echo "${ECHO_T}no" >&6; }
2044
fi
2576
fi
2577
2045
2578
2046
  test -n "$ac_ct_CC" && break
2579
  test -n "$ac_ct_CC" && break
2047
done
2580
done
2048
2581
2582
  if test "x$ac_ct_CC" = x; then
2583
    CC=""
2584
  else
2585
    case $cross_compiling:$ac_tool_warned in
2586
yes:)
2587
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2588
whose name does not start with the host triplet.  If you think this
2589
configuration is useful to you, please write to autoconf@gnu.org." >&5
2590
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2591
whose name does not start with the host triplet.  If you think this
2592
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2593
ac_tool_warned=yes ;;
2594
esac
2049
  CC=$ac_ct_CC
2595
    CC=$ac_ct_CC
2050
fi
2596
  fi
2051
2052
fi
2597
fi
2053
2598
2599
fi
2054
2600
2601
2055
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2602
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2603
See \`config.log' for more details." >&5
2056
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2604
echo "$as_me: error: no acceptable C compiler found in \$PATH
2605
See \`config.log' for more details." >&2;}
2057
   { (exit 1); exit 1; }; }
2606
   { (exit 1); exit 1; }; }
2058
2607
2059
# Provide some information about the compiler.
2608
# Provide some information about the compiler.
2060
echo "$as_me:$LINENO:" \
2061
     "checking for C compiler version" >&5
2609
echo "$as_me:$LINENO: checking for C compiler version" >&5
2062
ac_compiler=`set X $ac_compile; echo $2`
2610
ac_compiler=`set X $ac_compile; echo $2`
2063
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2611
{ (ac_try="$ac_compiler --version >&5"
2612
case "(($ac_try" in
2613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614
  *) ac_try_echo=$ac_try;;
2615
esac
2616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2064
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2617
  (eval "$ac_compiler --version >&5") 2>&5
2065
  ac_status=$?
2618
  ac_status=$?
2066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067
  (exit $ac_status); }
2620
  (exit $ac_status); }
2068
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2621
{ (ac_try="$ac_compiler -v >&5"
2622
case "(($ac_try" in
2623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624
  *) ac_try_echo=$ac_try;;
2625
esac
2626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2069
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2627
  (eval "$ac_compiler -v >&5") 2>&5
2070
  ac_status=$?
2628
  ac_status=$?
2071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072
  (exit $ac_status); }
2630
  (exit $ac_status); }
2073
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2631
{ (ac_try="$ac_compiler -V >&5"
2632
case "(($ac_try" in
2633
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634
  *) ac_try_echo=$ac_try;;
2635
esac
2636
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2074
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2637
  (eval "$ac_compiler -V >&5") 2>&5
2075
  ac_status=$?
2638
  ac_status=$?
2076
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077
  (exit $ac_status); }
2640
  (exit $ac_status); }
2078
2641
2079
cat >conftest.$ac_ext <<_ACEOF
2642
cat >conftest.$ac_ext <<_ACEOF
2080
#line $LINENO "configure"
2643
/* confdefs.h.  */
2081
#include "confdefs.h"
2644
_ACEOF
2645
cat confdefs.h >>conftest.$ac_ext
2646
cat >>conftest.$ac_ext <<_ACEOF
2647
/* end confdefs.h.  */
2082
2648
2083
#ifdef F77_DUMMY_MAIN
2084
#  ifdef __cplusplus
2085
     extern "C"
2086
#  endif
2087
   int F77_DUMMY_MAIN() { return 1; }
2088
#endif
2089
int
2649
int
2090
main ()
2650
main ()
2091
{
2651
{
2092
2652
2093
  ;
2653
  ;
2094
  return 0;
2654
  return 0;
2095
}
2655
}
2096
_ACEOF
2656
_ACEOF
2097
ac_clean_files_save=$ac_clean_files
2657
ac_clean_files_save=$ac_clean_files
2098
ac_clean_files="$ac_clean_files a.out a.exe"
2658
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2099
# Try to create an executable without -o first, disregard a.out.
2659
# Try to create an executable without -o first, disregard a.out.
2100
# It will help us diagnose broken compilers, and finding out an intuition
2660
# It will help us diagnose broken compilers, and finding out an intuition
2101
# of exeext.
2661
# of exeext.
2102
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2662
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2103
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2663
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2104
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2664
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2665
#
2666
# List of possible output files, starting from the most likely.
2667
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2668
# only as a last resort.  b.out is created by i960 compilers.
2669
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2670
#
2671
# The IRIX 6 linker writes into existing files which may not be
2672
# executable, retaining their permissions.  Remove them first so a
2673
# subsequent execution test works.
2674
ac_rmfiles=
2675
for ac_file in $ac_files
2676
do
2677
  case $ac_file in
2678
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2679
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2680
  esac
2681
done
2682
rm -f $ac_rmfiles
2683
2684
if { (ac_try="$ac_link_default"
2685
case "(($ac_try" in
2686
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687
  *) ac_try_echo=$ac_try;;
2688
esac
2105
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2689
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2106
  (eval $ac_link_default) 2>&5
2690
  (eval "$ac_link_default") 2>&5
2107
  ac_status=$?
2691
  ac_status=$?
2108
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109
  (exit $ac_status); }; then
2693
  (exit $ac_status); }; then
2110
  # Find the output, starting from the most likely.  This scheme is
2694
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2111
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2695
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2112
# resort.
2696
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2113
2697
# so that the user can short-circuit this test for compilers unknown to
2114
# Be careful to initialize this variable, since it used to be cached.
2698
# Autoconf.
2115
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2699
for ac_file in $ac_files ''
2116
ac_cv_exeext=
2700
do
2117
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2701
  test -f "$ac_file" || continue
2118
                ls a.out conftest 2>/dev/null;
2119
                ls a.* conftest.* 2>/dev/null`; do
2120
  case $ac_file in
2702
  case $ac_file in
2121
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2703
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2704
  ;;
2705
    [ab].out )
2122
    a.out ) # We found the default executable, but exeext='' is most
2706
  # We found the default executable, but exeext='' is most
2123
            # certainly right.
2707
  # certainly right.
2124
            break;;
2708
  break;;
2709
    *.* )
2710
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2711
  then :; else
2125
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2712
     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2126
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2713
  fi
2127
          export ac_cv_exeext
2714
  # We set ac_cv_exeext here because the later test for it is not
2128
          break;;
2715
  # safe: cross compilers may not add the suffix if given an `-o'
2129
    * ) break;;
2716
  # argument, so we may need to know it at that point already.
2717
  # Even if this section looks crufty: it has the advantage of
2718
  # actually working.
2719
  break;;
2720
    * )
2721
  break;;
2130
  esac
2722
  esac
2131
done
2723
done
2724
test "$ac_cv_exeext" = no && ac_cv_exeext=
2725
2132
else
2726
else
2727
  ac_file=''
2728
fi
2729
2730
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2731
echo "${ECHO_T}$ac_file" >&6; }
2732
if test -z "$ac_file"; then
2133
  echo "$as_me: failed program was:" >&5
2733
  echo "$as_me: failed program was:" >&5
2134
cat conftest.$ac_ext >&5
2734
sed 's/^/| /' conftest.$ac_ext >&5
2735
2135
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2736
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2737
See \`config.log' for more details." >&5
2136
echo "$as_me: error: C compiler cannot create executables" >&2;}
2738
echo "$as_me: error: C compiler cannot create executables
2739
See \`config.log' for more details." >&2;}
2137
   { (exit 77); exit 77; }; }
2740
   { (exit 77); exit 77; }; }
2138
fi
2741
fi
2139
2742
2140
ac_exeext=$ac_cv_exeext
2743
ac_exeext=$ac_cv_exeext
2141
echo "$as_me:$LINENO: result: $ac_file" >&5
2142
echo "${ECHO_T}$ac_file" >&6
2143
2744
2144
# Check the compiler produces executables we can run.  If not, either
2745
# Check that the compiler produces executables we can run.  If not, either
2145
# the compiler is broken, or we cross compile.
2746
# the compiler is broken, or we cross compile.
2146
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2747
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2147
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2748
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2148
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2749
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2149
# If not cross compiling, check that we can run a simple program.
2750
# If not cross compiling, check that we can run a simple program.
2150
if test "$cross_compiling" != yes; then
2751
if test "$cross_compiling" != yes; then
2151
  if { ac_try='./$ac_file'
2752
  if { ac_try='./$ac_file'
2753
  { (case "(($ac_try" in
2754
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755
  *) ac_try_echo=$ac_try;;
2756
esac
2152
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2153
  (eval $ac_try) 2>&5
2758
  (eval "$ac_try") 2>&5
2154
  ac_status=$?
2759
  ac_status=$?
2155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156
  (exit $ac_status); }; }; then
2761
  (exit $ac_status); }; }; then
2157
    cross_compiling=no
2762
    cross_compiling=no
2158
  else
2763
  else
2159
    if test "$cross_compiling" = maybe; then
2764
    if test "$cross_compiling" = maybe; then
2160
    cross_compiling=yes
2765
    cross_compiling=yes
2161
    else
2766
    else
2162
    { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2767
    { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2163
If you meant to cross compile, use \`--host'." >&5
2768
If you meant to cross compile, use \`--host'.
2769
See \`config.log' for more details." >&5
2164
echo "$as_me: error: cannot run C compiled programs.
2770
echo "$as_me: error: cannot run C compiled programs.
2165
If you meant to cross compile, use \`--host'." >&2;}
2771
If you meant to cross compile, use \`--host'.
2772
See \`config.log' for more details." >&2;}
2166
   { (exit 1); exit 1; }; }
2773
   { (exit 1); exit 1; }; }
2167
    fi
2774
    fi
2168
  fi
2775
  fi
2169
fi
2776
fi
2170
echo "$as_me:$LINENO: result: yes" >&5
2777
{ echo "$as_me:$LINENO: result: yes" >&5
2171
echo "${ECHO_T}yes" >&6
2778
echo "${ECHO_T}yes" >&6; }
2172
2779
2173
rm -f a.out a.exe conftest$ac_cv_exeext
2780
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2174
ac_clean_files=$ac_clean_files_save
2781
ac_clean_files=$ac_clean_files_save
2175
# Check the compiler produces executables we can run.  If not, either
2782
# Check that the compiler produces executables we can run.  If not, either
2176
# the compiler is broken, or we cross compile.
2783
# the compiler is broken, or we cross compile.
2177
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2784
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2178
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2785
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2179
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2786
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2180
echo "${ECHO_T}$cross_compiling" >&6
2787
echo "${ECHO_T}$cross_compiling" >&6; }
2181
2788
2182
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2789
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2183
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2790
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2791
if { (ac_try="$ac_link"
2792
case "(($ac_try" in
2793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794
  *) ac_try_echo=$ac_try;;
2795
esac
2184
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2796
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2185
  (eval $ac_link) 2>&5
2797
  (eval "$ac_link") 2>&5
2186
  ac_status=$?
2798
  ac_status=$?
2187
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188
  (exit $ac_status); }; then
2800
  (exit $ac_status); }; then
2189
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2801
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2190
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2802
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2191
# work properly (i.e., refer to `conftest.exe'), while it won't with
2803
# work properly (i.e., refer to `conftest.exe'), while it won't with
2192
# `rm'.
2804
# `rm'.
2193
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2805
for ac_file in conftest.exe conftest conftest.*; do
2806
  test -f "$ac_file" || continue
2194
  case $ac_file in
2807
  case $ac_file in
2195
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2808
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2196
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2809
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2197
          export ac_cv_exeext
2810
    break;;
2198
          break;;
2199
    * ) break;;
2811
    * ) break;;
2200
  esac
2812
  esac
2201
done
2813
done
2202
else
2814
else
2203
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2815
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2816
See \`config.log' for more details." >&5
2204
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2817
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2818
See \`config.log' for more details." >&2;}
2205
   { (exit 1); exit 1; }; }
2819
   { (exit 1); exit 1; }; }
2206
fi
2820
fi
2207
2821
2208
rm -f conftest$ac_cv_exeext
2822
rm -f conftest$ac_cv_exeext
2209
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2823
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2210
echo "${ECHO_T}$ac_cv_exeext" >&6
2824
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2211
2825
2212
rm -f conftest.$ac_ext
2826
rm -f conftest.$ac_ext
2213
EXEEXT=$ac_cv_exeext
2827
EXEEXT=$ac_cv_exeext
2214
ac_exeext=$EXEEXT
2828
ac_exeext=$EXEEXT
2215
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2829
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2216
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2830
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2217
if test "${ac_cv_objext+set}" = set; then
2831
if test "${ac_cv_objext+set}" = set; then
2218
  echo $ECHO_N "(cached) $ECHO_C" >&6
2832
  echo $ECHO_N "(cached) $ECHO_C" >&6
2219
else
2833
else
2220
  cat >conftest.$ac_ext <<_ACEOF
2834
  cat >conftest.$ac_ext <<_ACEOF
2221
#line $LINENO "configure"
2835
/* confdefs.h.  */
2222
#include "confdefs.h"
2836
_ACEOF
2837
cat confdefs.h >>conftest.$ac_ext
2838
cat >>conftest.$ac_ext <<_ACEOF
2839
/* end confdefs.h.  */
2223
2840
2224
#ifdef F77_DUMMY_MAIN
2225
#  ifdef __cplusplus
2226
     extern "C"
2227
#  endif
2228
   int F77_DUMMY_MAIN() { return 1; }
2229
#endif
2230
int
2841
int
2231
main ()
2842
main ()
2232
{
2843
{
2233
2844
2234
  ;
2845
  ;
2235
  return 0;
2846
  return 0;
2236
}
2847
}
2237
_ACEOF
2848
_ACEOF
2238
rm -f conftest.o conftest.obj
2849
rm -f conftest.o conftest.obj
2850
if { (ac_try="$ac_compile"
2851
case "(($ac_try" in
2852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853
  *) ac_try_echo=$ac_try;;
2854
esac
2239
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2240
  (eval $ac_compile) 2>&5
2856
  (eval "$ac_compile") 2>&5
2241
  ac_status=$?
2857
  ac_status=$?
2242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243
  (exit $ac_status); }; then
2859
  (exit $ac_status); }; then
2244
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2860
  for ac_file in conftest.o conftest.obj conftest.*; do
2861
  test -f "$ac_file" || continue;
2245
  case $ac_file in
2862
  case $ac_file in
2246
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2863
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2247
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2864
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2248
       break;;
2865
       break;;
2249
  esac
2866
  esac
2250
done
2867
done
2251
else
2868
else
2252
  echo "$as_me: failed program was:" >&5
2869
  echo "$as_me: failed program was:" >&5
2253
cat conftest.$ac_ext >&5
2870
sed 's/^/| /' conftest.$ac_ext >&5
2871
2254
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2872
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2873
See \`config.log' for more details." >&5
2255
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2874
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2875
See \`config.log' for more details." >&2;}
2256
   { (exit 1); exit 1; }; }
2876
   { (exit 1); exit 1; }; }
2257
fi
2877
fi
2258
2878
2259
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2879
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2260
fi
2880
fi
2261
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2881
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2262
echo "${ECHO_T}$ac_cv_objext" >&6
2882
echo "${ECHO_T}$ac_cv_objext" >&6; }
2263
OBJEXT=$ac_cv_objext
2883
OBJEXT=$ac_cv_objext
2264
ac_objext=$OBJEXT
2884
ac_objext=$OBJEXT
2265
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2885
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2266
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2886
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2267
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2887
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2268
  echo $ECHO_N "(cached) $ECHO_C" >&6
2888
  echo $ECHO_N "(cached) $ECHO_C" >&6
2269
else
2889
else
2270
  cat >conftest.$ac_ext <<_ACEOF
2890
  cat >conftest.$ac_ext <<_ACEOF
2271
#line $LINENO "configure"
2891
/* confdefs.h.  */
2272
#include "confdefs.h"
2892
_ACEOF
2893
cat confdefs.h >>conftest.$ac_ext
2894
cat >>conftest.$ac_ext <<_ACEOF
2895
/* end confdefs.h.  */
2273
2896
2274
#ifdef F77_DUMMY_MAIN
2275
#  ifdef __cplusplus
2276
     extern "C"
2277
#  endif
2278
   int F77_DUMMY_MAIN() { return 1; }
2279
#endif
2280
int
2897
int
2281
main ()
2898
main ()
2282
{
2899
{
2283
#ifndef __GNUC__
2900
#ifndef __GNUC__
2284
       choke me
2901
       choke me
...
...
2287
  ;
2904
  ;
2288
  return 0;
2905
  return 0;
2289
}
2906
}
2290
_ACEOF
2907
_ACEOF
2291
rm -f conftest.$ac_objext
2908
rm -f conftest.$ac_objext
2909
if { (ac_try="$ac_compile"
2910
case "(($ac_try" in
2911
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912
  *) ac_try_echo=$ac_try;;
2913
esac
2292
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2914
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2293
  (eval $ac_compile) 2>&5
2915
  (eval "$ac_compile") 2>conftest.er1
2294
  ac_status=$?
2916
  ac_status=$?
2917
  grep -v '^ *+' conftest.er1 >conftest.err
2918
  rm -f conftest.er1
2919
  cat conftest.err >&5
2295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296
  (exit $ac_status); } &&
2921
  (exit $ac_status); } && {
2297
         { ac_try='test -s conftest.$ac_objext'
2922
   test -z "$ac_c_werror_flag" ||
2298
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923
   test ! -s conftest.err
2299
  (eval $ac_try) 2>&5
2924
       } && test -s conftest.$ac_objext; then
2300
  ac_status=$?
2301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302
  (exit $ac_status); }; }; then
2303
  ac_compiler_gnu=yes
2925
  ac_compiler_gnu=yes
2304
else
2926
else
2305
  echo "$as_me: failed program was:" >&5
2927
  echo "$as_me: failed program was:" >&5
2306
cat conftest.$ac_ext >&5
2928
sed 's/^/| /' conftest.$ac_ext >&5
2929
2307
ac_compiler_gnu=no
2930
  ac_compiler_gnu=no
2308
fi
2931
fi
2932
2309
rm -f conftest.$ac_objext conftest.$ac_ext
2933
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2310
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2934
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2311
2935
2312
fi
2936
fi
2313
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2937
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2314
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2938
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2315
GCC=`test $ac_compiler_gnu = yes && echo yes`
2939
GCC=`test $ac_compiler_gnu = yes && echo yes`
2316
ac_test_CFLAGS=${CFLAGS+set}
2940
ac_test_CFLAGS=${CFLAGS+set}
2317
ac_save_CFLAGS=$CFLAGS
2941
ac_save_CFLAGS=$CFLAGS
2318
CFLAGS="-g"
2319
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2942
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2320
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2943
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2321
if test "${ac_cv_prog_cc_g+set}" = set; then
2944
if test "${ac_cv_prog_cc_g+set}" = set; then
2322
  echo $ECHO_N "(cached) $ECHO_C" >&6
2945
  echo $ECHO_N "(cached) $ECHO_C" >&6
2323
else
2946
else
2947
  ac_save_c_werror_flag=$ac_c_werror_flag
2948
   ac_c_werror_flag=yes
2949
   ac_cv_prog_cc_g=no
2950
   CFLAGS="-g"
2324
  cat >conftest.$ac_ext <<_ACEOF
2951
   cat >conftest.$ac_ext <<_ACEOF
2325
#line $LINENO "configure"
2952
/* confdefs.h.  */
2326
#include "confdefs.h"
2953
_ACEOF
2954
cat confdefs.h >>conftest.$ac_ext
2955
cat >>conftest.$ac_ext <<_ACEOF
2956
/* end confdefs.h.  */
2327
2957
2328
#ifdef F77_DUMMY_MAIN
2329
#  ifdef __cplusplus
2330
     extern "C"
2331
#  endif
2332
   int F77_DUMMY_MAIN() { return 1; }
2333
#endif
2334
int
2958
int
2335
main ()
2959
main ()
2336
{
2960
{
2337
2961
2338
  ;
2962
  ;
2339
  return 0;
2963
  return 0;
2340
}
2964
}
2341
_ACEOF
2965
_ACEOF
2342
rm -f conftest.$ac_objext
2966
rm -f conftest.$ac_objext
2967
if { (ac_try="$ac_compile"
2968
case "(($ac_try" in
2969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970
  *) ac_try_echo=$ac_try;;
2971
esac
2343
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2344
  (eval $ac_compile) 2>&5
2973
  (eval "$ac_compile") 2>conftest.er1
2345
  ac_status=$?
2974
  ac_status=$?
2975
  grep -v '^ *+' conftest.er1 >conftest.err
2976
  rm -f conftest.er1
2977
  cat conftest.err >&5
2346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347
  (exit $ac_status); } &&
2979
  (exit $ac_status); } && {
2348
         { ac_try='test -s conftest.$ac_objext'
2980
   test -z "$ac_c_werror_flag" ||
2981
   test ! -s conftest.err
2982
       } && test -s conftest.$ac_objext; then
2983
  ac_cv_prog_cc_g=yes
2984
else
2985
  echo "$as_me: failed program was:" >&5
2986
sed 's/^/| /' conftest.$ac_ext >&5
2987
2988
  CFLAGS=""
2989
      cat >conftest.$ac_ext <<_ACEOF
2990
/* confdefs.h.  */
2991
_ACEOF
2992
cat confdefs.h >>conftest.$ac_ext
2993
cat >>conftest.$ac_ext <<_ACEOF
2994
/* end confdefs.h.  */
2995
2996
int
2997
main ()
2998
{
2999
3000
  ;
3001
  return 0;
3002
}
3003
_ACEOF
3004
rm -f conftest.$ac_objext
3005
if { (ac_try="$ac_compile"
3006
case "(($ac_try" in
3007
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008
  *) ac_try_echo=$ac_try;;
3009
esac
2349
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3010
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2350
  (eval $ac_try) 2>&5
3011
  (eval "$ac_compile") 2>conftest.er1
2351
  ac_status=$?
3012
  ac_status=$?
3013
  grep -v '^ *+' conftest.er1 >conftest.err
3014
  rm -f conftest.er1
3015
  cat conftest.err >&5
2352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353
  (exit $ac_status); }; }; then
3017
  (exit $ac_status); } && {
3018
   test -z "$ac_c_werror_flag" ||
3019
   test ! -s conftest.err
3020
       } && test -s conftest.$ac_objext; then
3021
  :
3022
else
3023
  echo "$as_me: failed program was:" >&5
3024
sed 's/^/| /' conftest.$ac_ext >&5
3025
3026
  ac_c_werror_flag=$ac_save_c_werror_flag
3027
   CFLAGS="-g"
3028
   cat >conftest.$ac_ext <<_ACEOF
3029
/* confdefs.h.  */
3030
_ACEOF
3031
cat confdefs.h >>conftest.$ac_ext
3032
cat >>conftest.$ac_ext <<_ACEOF
3033
/* end confdefs.h.  */
3034
3035
int
3036
main ()
3037
{
3038
3039
  ;
3040
  return 0;
3041
}
3042
_ACEOF
3043
rm -f conftest.$ac_objext
3044
if { (ac_try="$ac_compile"
3045
case "(($ac_try" in
3046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047
  *) ac_try_echo=$ac_try;;
3048
esac
3049
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3050
  (eval "$ac_compile") 2>conftest.er1
3051
  ac_status=$?
3052
  grep -v '^ *+' conftest.er1 >conftest.err
3053
  rm -f conftest.er1
3054
  cat conftest.err >&5
3055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056
  (exit $ac_status); } && {
3057
   test -z "$ac_c_werror_flag" ||
3058
   test ! -s conftest.err
3059
       } && test -s conftest.$ac_objext; then
2354
  ac_cv_prog_cc_g=yes
3060
  ac_cv_prog_cc_g=yes
2355
else
3061
else
2356
  echo "$as_me: failed program was:" >&5
3062
  echo "$as_me: failed program was:" >&5
2357
cat conftest.$ac_ext >&5
3063
sed 's/^/| /' conftest.$ac_ext >&5
2358
ac_cv_prog_cc_g=no
3064
3065
2359
fi
3066
fi
3067
2360
rm -f conftest.$ac_objext conftest.$ac_ext
3068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2361
fi
3069
fi
3070
3071
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072
fi
3073
3074
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3075
   ac_c_werror_flag=$ac_save_c_werror_flag
3076
fi
2362
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3077
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2363
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3078
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2364
if test "$ac_test_CFLAGS" = set; then
3079
if test "$ac_test_CFLAGS" = set; then
2365
  CFLAGS=$ac_save_CFLAGS
3080
  CFLAGS=$ac_save_CFLAGS
2366
elif test $ac_cv_prog_cc_g = yes; then
3081
elif test $ac_cv_prog_cc_g = yes; then
2367
  if test "$GCC" = yes; then
3082
  if test "$GCC" = yes; then
2368
    CFLAGS="-g -O2"
3083
    CFLAGS="-g -O2"
...
...
2374
    CFLAGS="-O2"
3089
    CFLAGS="-O2"
2375
  else
3090
  else
2376
    CFLAGS=
3091
    CFLAGS=
2377
  fi
3092
  fi
2378
fi
3093
fi
2379
# Some people use a C++ compiler to compile C.  Since we use `exit',
3094
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2380
# in C++ we need to declare it.  In case someone uses the same compiler
3095
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2381
# for both compiling C and C++ we need to have the C++ compiler decide
3096
if test "${ac_cv_prog_cc_c89+set}" = set; then
2382
# the declaration of exit, since it's the most demanding environment.
3097
  echo $ECHO_N "(cached) $ECHO_C" >&6
3098
else
3099
  ac_cv_prog_cc_c89=no
3100
ac_save_CC=$CC
2383
cat >conftest.$ac_ext <<_ACEOF
3101
cat >conftest.$ac_ext <<_ACEOF
2384
#ifndef __cplusplus
3102
/* confdefs.h.  */
2385
  choke me
2386
#endif
2387
_ACEOF
3103
_ACEOF
2388
rm -f conftest.$ac_objext
3104
cat confdefs.h >>conftest.$ac_ext
2389
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2390
  (eval $ac_compile) 2>&5
2391
  ac_status=$?
2392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393
  (exit $ac_status); } &&
2394
         { ac_try='test -s conftest.$ac_objext'
2395
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396
  (eval $ac_try) 2>&5
2397
  ac_status=$?
2398
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399
  (exit $ac_status); }; }; then
2400
  for ac_declaration in \
2401
   ''\
2402
   '#include <stdlib.h>' \
2403
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2404
   'extern "C" void std::exit (int); using std::exit;' \
2405
   'extern "C" void exit (int) throw ();' \
2406
   'extern "C" void exit (int);' \
2407
   'void exit (int);'
2408
do
2409
  cat >conftest.$ac_ext <<_ACEOF
3105
cat >>conftest.$ac_ext <<_ACEOF
2410
#line $LINENO "configure"
3106
/* end confdefs.h.  */
2411
#include "confdefs.h"
3107
#include <stdarg.h>
2412
#include <stdlib.h>
3108
#include <stdio.h>
2413
$ac_declaration
3109
#include <sys/types.h>
2414
#ifdef F77_DUMMY_MAIN
3110
#include <sys/stat.h>
2415
#  ifdef __cplusplus
3111
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2416
     extern "C"
3112
struct buf { int x; };
2417
#  endif
3113
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2418
   int F77_DUMMY_MAIN() { return 1; }
3114
static char *e (p, i)
2419
#endif
3115
     char **p;
3116
     int i;
3117
{
3118
  return p[i];
3119
}
3120
static char *f (char * (*g) (char **, int), char **p, ...)
3121
{
3122
  char *s;
3123
  va_list v;
3124
  va_start (v,p);
3125
  s = g (p, va_arg (v,int));
3126
  va_end (v);
3127
  return s;
3128
}
3129
3130
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3131
   function prototypes and stuff, but not '\xHH' hex character constants.
3132
   These don't provoke an error unfortunately, instead are silently treated
3133
   as 'x'.  The following induces an error, until -std is added to get
3134
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3135
   array size at least.  It's necessary to write '\x00'==0 to get something
3136
   that's true only with -std.  */
3137
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3138
3139
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3140
   inside strings and character constants.  */
3141
#define FOO(x) 'x'
3142
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3143
3144
int test (int i, double x);
3145
struct s1 {int (*f) (int a);};
3146
struct s2 {int (*f) (double a);};
3147
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3148
int argc;
3149
char **argv;
2420
int
3150
int
2421
main ()
3151
main ()
2422
{
3152
{
2423
exit (42);
3153
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2424
  ;
3154
  ;
2425
  return 0;
3155
  return 0;
2426
}
3156
}
2427
_ACEOF
3157
_ACEOF
3158
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3159
  -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3160
do
3161
  CC="$ac_save_CC $ac_arg"
2428
rm -f conftest.$ac_objext
3162
  rm -f conftest.$ac_objext
3163
if { (ac_try="$ac_compile"
3164
case "(($ac_try" in
3165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166
  *) ac_try_echo=$ac_try;;
3167
esac
2429
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2430
  (eval $ac_compile) 2>&5
3169
  (eval "$ac_compile") 2>conftest.er1
2431
  ac_status=$?
3170
  ac_status=$?
3171
  grep -v '^ *+' conftest.er1 >conftest.err
3172
  rm -f conftest.er1
3173
  cat conftest.err >&5
2432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433
  (exit $ac_status); } &&
3175
  (exit $ac_status); } && {
2434
         { ac_try='test -s conftest.$ac_objext'
3176
   test -z "$ac_c_werror_flag" ||
2435
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3177
   test ! -s conftest.err
2436
  (eval $ac_try) 2>&5
3178
       } && test -s conftest.$ac_objext; then
2437
  ac_status=$?
3179
  ac_cv_prog_cc_c89=$ac_arg
2438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439
  (exit $ac_status); }; }; then
2440
  :
2441
else
3180
else
2442
  echo "$as_me: failed program was:" >&5
3181
  echo "$as_me: failed program was:" >&5
2443
cat conftest.$ac_ext >&5
3182
sed 's/^/| /' conftest.$ac_ext >&5
2444
continue
3183
3184
2445
fi
3185
fi
2446
rm -f conftest.$ac_objext conftest.$ac_ext
3186
2447
  cat >conftest.$ac_ext <<_ACEOF
3187
rm -f core conftest.err conftest.$ac_objext
2448
#line $LINENO "configure"
3188
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2449
#include "confdefs.h"
2450
$ac_declaration
2451
#ifdef F77_DUMMY_MAIN
2452
#  ifdef __cplusplus
2453
     extern "C"
2454
#  endif
2455
   int F77_DUMMY_MAIN() { return 1; }
2456
#endif
2457
int
2458
main ()
2459
{
2460
exit (42);
2461
  ;
2462
  return 0;
2463
}
2464
_ACEOF
2465
rm -f conftest.$ac_objext
2466
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2467
  (eval $ac_compile) 2>&5
2468
  ac_status=$?
2469
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470
  (exit $ac_status); } &&
2471
         { ac_try='test -s conftest.$ac_objext'
2472
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473
  (eval $ac_try) 2>&5
2474
  ac_status=$?
2475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476
  (exit $ac_status); }; }; then
2477
  break
2478
else
2479
  echo "$as_me: failed program was:" >&5
2480
cat conftest.$ac_ext >&5
2481
fi
2482
rm -f conftest.$ac_objext conftest.$ac_ext
2483
done
3189
done
2484
rm -f conftest*
3190
rm -f conftest.$ac_ext
2485
if test -n "$ac_declaration"; then
3191
CC=$ac_save_CC
2486
  echo '#ifdef __cplusplus' >>confdefs.h
2487
  echo $ac_declaration      >>confdefs.h
2488
  echo '#endif'             >>confdefs.h
2489
fi
2490
3192
2491
else
2492
  echo "$as_me: failed program was:" >&5
2493
cat conftest.$ac_ext >&5
2494
fi
3193
fi
2495
rm -f conftest.$ac_objext conftest.$ac_ext
3194
# AC_CACHE_VAL
3195
case "x$ac_cv_prog_cc_c89" in
3196
  x)
3197
    { echo "$as_me:$LINENO: result: none needed" >&5
3198
echo "${ECHO_T}none needed" >&6; } ;;
3199
  xno)
3200
    { echo "$as_me:$LINENO: result: unsupported" >&5
3201
echo "${ECHO_T}unsupported" >&6; } ;;
3202
  *)
3203
    CC="$CC $ac_cv_prog_cc_c89"
3204
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3205
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3206
esac
3207
3208
2496
ac_ext=c
3209
ac_ext=c
2497
ac_cpp='$CPP $CPPFLAGS'
3210
ac_cpp='$CPP $CPPFLAGS'
2498
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3211
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2499
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3212
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2500
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3213
ac_compiler_gnu=$ac_cv_c_compiler_gnu
...
...
2505
cat > confinc << 'END'
3218
cat > confinc << 'END'
2506
doit:
3219
doit:
2507
    @echo done
3220
    @echo done
2508
END
3221
END
2509
# If we don't find an include directive, just comment out the code.
3222
# If we don't find an include directive, just comment out the code.
2510
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3223
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2511
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3224
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2512
am__include='#'
3225
am__include='#'
2513
am__quote=
3226
am__quote=
2514
_am_result=none
3227
_am_result=none
2515
# First try GNU make style include.
3228
# First try GNU make style include.
2516
echo "include confinc" > confmf
3229
echo "include confinc" > confmf
...
...
2533
      _am_result=BSD
3246
      _am_result=BSD
2534
   fi
3247
   fi
2535
fi
3248
fi
2536
3249
2537
3250
2538
echo "$as_me:$LINENO: result: $_am_result" >&5
3251
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2539
echo "${ECHO_T}$_am_result" >&6
3252
echo "${ECHO_T}$_am_result" >&6; }
2540
rm -f confinc confmf
3253
rm -f confinc confmf
2541
3254
2542
3255
2543
depcc="$CC"   am_compiler_list=
3256
depcc="$CC"   am_compiler_list=
2544
3257
2545
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3258
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2546
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3259
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2547
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3260
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2548
  echo $ECHO_N "(cached) $ECHO_C" >&6
3261
  echo $ECHO_N "(cached) $ECHO_C" >&6
2549
else
3262
else
2550
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3263
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2551
  # We make a subdir and do the tests there.  Otherwise we can end up
3264
  # We make a subdir and do the tests there.  Otherwise we can end up
...
...
2602
else
3315
else
2603
  am_cv_CC_dependencies_compiler_type=none
3316
  am_cv_CC_dependencies_compiler_type=none
2604
fi
3317
fi
2605
3318
2606
fi
3319
fi
2607
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3320
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2608
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3321
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
2609
CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
3322
CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2610
3323
2611
3324
2612
3325
2613
ac_ext=c
3326
ac_ext=c
2614
ac_cpp='$CPP $CPPFLAGS'
3327
ac_cpp='$CPP $CPPFLAGS'
2615
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3328
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2616
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3329
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2617
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3330
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2618
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3331
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2619
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3332
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2620
# On Suns, sometimes $CPP names a directory.
3333
# On Suns, sometimes $CPP names a directory.
2621
if test -n "$CPP" && test -d "$CPP"; then
3334
if test -n "$CPP" && test -d "$CPP"; then
2622
  CPP=
3335
  CPP=
2623
fi
3336
fi
2624
if test -z "$CPP"; then
3337
if test -z "$CPP"; then
...
...
2631
      ac_preproc_ok=false
3344
      ac_preproc_ok=false
2632
for ac_c_preproc_warn_flag in '' yes
3345
for ac_c_preproc_warn_flag in '' yes
2633
do
3346
do
2634
  # Use a header file that comes with gcc, so configuring glibc
3347
  # Use a header file that comes with gcc, so configuring glibc
2635
  # with a fresh cross-compiler works.
3348
  # with a fresh cross-compiler works.
3349
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3350
  # <limits.h> exists even on freestanding compilers.
2636
  # On the NeXT, cc -E runs the code through the compiler's parser,
3351
  # On the NeXT, cc -E runs the code through the compiler's parser,
2637
  # not just through cpp. "Syntax error" is here to catch this case.
3352
  # not just through cpp. "Syntax error" is here to catch this case.
2638
  cat >conftest.$ac_ext <<_ACEOF
3353
  cat >conftest.$ac_ext <<_ACEOF
2639
#line $LINENO "configure"
3354
/* confdefs.h.  */
2640
#include "confdefs.h"
3355
_ACEOF
3356
cat confdefs.h >>conftest.$ac_ext
3357
cat >>conftest.$ac_ext <<_ACEOF
3358
/* end confdefs.h.  */
3359
#ifdef __STDC__
3360
# include <limits.h>
3361
#else
2641
#include <assert.h>
3362
# include <assert.h>
2642
                     Syntax error
3363
#endif
3364
           Syntax error
2643
_ACEOF
3365
_ACEOF
2644
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3366
if { (ac_try="$ac_cpp conftest.$ac_ext"
3367
case "(($ac_try" in
3368
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369
  *) ac_try_echo=$ac_try;;
3370
esac
3371
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2645
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3372
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2646
  ac_status=$?
3373
  ac_status=$?
2647
  egrep -v '^ *\+' conftest.er1 >conftest.err
3374
  grep -v '^ *+' conftest.er1 >conftest.err
2648
  rm -f conftest.er1
3375
  rm -f conftest.er1
2649
  cat conftest.err >&5
3376
  cat conftest.err >&5
2650
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651
  (exit $ac_status); } >/dev/null; then
3378
  (exit $ac_status); } >/dev/null && {
3379
   test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2652
  if test -s conftest.err; then
3380
   test ! -s conftest.err
2653
    ac_cpp_err=$ac_c_preproc_warn_flag
3381
       }; then
2654
  else
2655
    ac_cpp_err=
2656
  fi
2657
else
2658
  ac_cpp_err=yes
2659
fi
2660
if test -z "$ac_cpp_err"; then
2661
  :
3382
  :
2662
else
3383
else
2663
  echo "$as_me: failed program was:" >&5
3384
  echo "$as_me: failed program was:" >&5
2664
  cat conftest.$ac_ext >&5
3385
sed 's/^/| /' conftest.$ac_ext >&5
3386
2665
  # Broken: fails on valid input.
3387
  # Broken: fails on valid input.
2666
continue
3388
continue
2667
fi
3389
fi
3390
2668
rm -f conftest.err conftest.$ac_ext
3391
rm -f conftest.err conftest.$ac_ext
2669
3392
2670
  # OK, works on sane cases.  Now check whether non-existent headers
3393
  # OK, works on sane cases.  Now check whether nonexistent headers
2671
  # can be detected and how.
3394
  # can be detected and how.
2672
  cat >conftest.$ac_ext <<_ACEOF
3395
  cat >conftest.$ac_ext <<_ACEOF
2673
#line $LINENO "configure"
3396
/* confdefs.h.  */
2674
#include "confdefs.h"
3397
_ACEOF
3398
cat confdefs.h >>conftest.$ac_ext
3399
cat >>conftest.$ac_ext <<_ACEOF
3400
/* end confdefs.h.  */
2675
#include <ac_nonexistent.h>
3401
#include <ac_nonexistent.h>
2676
_ACEOF
3402
_ACEOF
2677
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3403
if { (ac_try="$ac_cpp conftest.$ac_ext"
3404
case "(($ac_try" in
3405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406
  *) ac_try_echo=$ac_try;;
3407
esac
3408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3409
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2679
  ac_status=$?
3410
  ac_status=$?
2680
  egrep -v '^ *\+' conftest.er1 >conftest.err
3411
  grep -v '^ *+' conftest.er1 >conftest.err
2681
  rm -f conftest.er1
3412
  rm -f conftest.er1
2682
  cat conftest.err >&5
3413
  cat conftest.err >&5
2683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684
  (exit $ac_status); } >/dev/null; then
3415
  (exit $ac_status); } >/dev/null && {
3416
   test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2685
  if test -s conftest.err; then
3417
   test ! -s conftest.err
2686
    ac_cpp_err=$ac_c_preproc_warn_flag
3418
       }; then
2687
  else
2688
    ac_cpp_err=
2689
  fi
2690
else
2691
  ac_cpp_err=yes
2692
fi
2693
if test -z "$ac_cpp_err"; then
2694
  # Broken: success on invalid input.
3419
  # Broken: success on invalid input.
2695
continue
3420
continue
2696
else
3421
else
2697
  echo "$as_me: failed program was:" >&5
3422
  echo "$as_me: failed program was:" >&5
2698
  cat conftest.$ac_ext >&5
3423
sed 's/^/| /' conftest.$ac_ext >&5
3424
2699
  # Passes both tests.
3425
  # Passes both tests.
2700
ac_preproc_ok=:
3426
ac_preproc_ok=:
2701
break
3427
break
2702
fi
3428
fi
3429
2703
rm -f conftest.err conftest.$ac_ext
3430
rm -f conftest.err conftest.$ac_ext
2704
3431
2705
done
3432
done
2706
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3433
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2707
rm -f conftest.err conftest.$ac_ext
3434
rm -f conftest.err conftest.$ac_ext
...
...
2715
fi
3442
fi
2716
  CPP=$ac_cv_prog_CPP
3443
  CPP=$ac_cv_prog_CPP
2717
else
3444
else
2718
  ac_cv_prog_CPP=$CPP
3445
  ac_cv_prog_CPP=$CPP
2719
fi
3446
fi
2720
echo "$as_me:$LINENO: result: $CPP" >&5
3447
{ echo "$as_me:$LINENO: result: $CPP" >&5
2721
echo "${ECHO_T}$CPP" >&6
3448
echo "${ECHO_T}$CPP" >&6; }
2722
ac_preproc_ok=false
3449
ac_preproc_ok=false
2723
for ac_c_preproc_warn_flag in '' yes
3450
for ac_c_preproc_warn_flag in '' yes
2724
do
3451
do
2725
  # Use a header file that comes with gcc, so configuring glibc
3452
  # Use a header file that comes with gcc, so configuring glibc
2726
  # with a fresh cross-compiler works.
3453
  # with a fresh cross-compiler works.
3454
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3455
  # <limits.h> exists even on freestanding compilers.
2727
  # On the NeXT, cc -E runs the code through the compiler's parser,
3456
  # On the NeXT, cc -E runs the code through the compiler's parser,
2728
  # not just through cpp. "Syntax error" is here to catch this case.
3457
  # not just through cpp. "Syntax error" is here to catch this case.
2729
  cat >conftest.$ac_ext <<_ACEOF
3458
  cat >conftest.$ac_ext <<_ACEOF
2730
#line $LINENO "configure"
3459
/* confdefs.h.  */
2731
#include "confdefs.h"
3460
_ACEOF
3461
cat confdefs.h >>conftest.$ac_ext
3462
cat >>conftest.$ac_ext <<_ACEOF
3463
/* end confdefs.h.  */
3464
#ifdef __STDC__
3465
# include <limits.h>
3466
#else
2732
#include <assert.h>
3467
# include <assert.h>
2733
                     Syntax error
3468
#endif
3469
           Syntax error
2734
_ACEOF
3470
_ACEOF
2735
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3471
if { (ac_try="$ac_cpp conftest.$ac_ext"
3472
case "(($ac_try" in
3473
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474
  *) ac_try_echo=$ac_try;;
3475
esac
3476
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2736
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3477
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2737
  ac_status=$?
3478
  ac_status=$?
2738
  egrep -v '^ *\+' conftest.er1 >conftest.err
3479
  grep -v '^ *+' conftest.er1 >conftest.err
2739
  rm -f conftest.er1
3480
  rm -f conftest.er1
2740
  cat conftest.err >&5
3481
  cat conftest.err >&5
2741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742
  (exit $ac_status); } >/dev/null; then
3483
  (exit $ac_status); } >/dev/null && {
3484
   test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2743
  if test -s conftest.err; then
3485
   test ! -s conftest.err
2744
    ac_cpp_err=$ac_c_preproc_warn_flag
3486
       }; then
2745
  else
2746
    ac_cpp_err=
2747
  fi
2748
else
2749
  ac_cpp_err=yes
2750
fi
2751
if test -z "$ac_cpp_err"; then
2752
  :
3487
  :
2753
else
3488
else
2754
  echo "$as_me: failed program was:" >&5
3489
  echo "$as_me: failed program was:" >&5
2755
  cat conftest.$ac_ext >&5
3490
sed 's/^/| /' conftest.$ac_ext >&5
3491
2756
  # Broken: fails on valid input.
3492
  # Broken: fails on valid input.
2757
continue
3493
continue
2758
fi
3494
fi
3495
2759
rm -f conftest.err conftest.$ac_ext
3496
rm -f conftest.err conftest.$ac_ext
2760
3497
2761
  # OK, works on sane cases.  Now check whether non-existent headers
3498
  # OK, works on sane cases.  Now check whether nonexistent headers
2762
  # can be detected and how.
3499
  # can be detected and how.
2763
  cat >conftest.$ac_ext <<_ACEOF
3500
  cat >conftest.$ac_ext <<_ACEOF
2764
#line $LINENO "configure"
3501
/* confdefs.h.  */
2765
#include "confdefs.h"
3502
_ACEOF
3503
cat confdefs.h >>conftest.$ac_ext
3504
cat >>conftest.$ac_ext <<_ACEOF
3505
/* end confdefs.h.  */
2766
#include <ac_nonexistent.h>
3506
#include <ac_nonexistent.h>
2767
_ACEOF
3507
_ACEOF
2768
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3508
if { (ac_try="$ac_cpp conftest.$ac_ext"
3509
case "(($ac_try" in
3510
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511
  *) ac_try_echo=$ac_try;;
3512
esac
3513
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2769
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3514
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2770
  ac_status=$?
3515
  ac_status=$?
2771
  egrep -v '^ *\+' conftest.er1 >conftest.err
3516
  grep -v '^ *+' conftest.er1 >conftest.err
2772
  rm -f conftest.er1
3517
  rm -f conftest.er1
2773
  cat conftest.err >&5
3518
  cat conftest.err >&5
2774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775
  (exit $ac_status); } >/dev/null; then
3520
  (exit $ac_status); } >/dev/null && {
3521
   test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2776
  if test -s conftest.err; then
3522
   test ! -s conftest.err
2777
    ac_cpp_err=$ac_c_preproc_warn_flag
3523
       }; then
2778
  else
2779
    ac_cpp_err=
2780
  fi
2781
else
2782
  ac_cpp_err=yes
2783
fi
2784
if test -z "$ac_cpp_err"; then
2785
  # Broken: success on invalid input.
3524
  # Broken: success on invalid input.
2786
continue
3525
continue
2787
else
3526
else
2788
  echo "$as_me: failed program was:" >&5
3527
  echo "$as_me: failed program was:" >&5
2789
  cat conftest.$ac_ext >&5
3528
sed 's/^/| /' conftest.$ac_ext >&5
3529
2790
  # Passes both tests.
3530
  # Passes both tests.
2791
ac_preproc_ok=:
3531
ac_preproc_ok=:
2792
break
3532
break
2793
fi
3533
fi
3534
2794
rm -f conftest.err conftest.$ac_ext
3535
rm -f conftest.err conftest.$ac_ext
2795
3536
2796
done
3537
done
2797
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3538
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2798
rm -f conftest.err conftest.$ac_ext
3539
rm -f conftest.err conftest.$ac_ext
2799
if $ac_preproc_ok; then
3540
if $ac_preproc_ok; then
2800
  :
3541
  :
2801
else
3542
else
2802
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3543
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3544
See \`config.log' for more details." >&5
2803
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3545
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3546
See \`config.log' for more details." >&2;}
2804
   { (exit 1); exit 1; }; }
3547
   { (exit 1); exit 1; }; }
2805
fi
3548
fi
2806
3549
2807
ac_ext=c
3550
ac_ext=c
2808
ac_cpp='$CPP $CPPFLAGS'
3551
ac_cpp='$CPP $CPPFLAGS'
2809
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3553
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3554
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812
3555
2813
3556
3557
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3558
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3559
if test "${ac_cv_path_GREP+set}" = set; then
3560
  echo $ECHO_N "(cached) $ECHO_C" >&6
3561
else
3562
  # Extract the first word of "grep ggrep" to use in msg output
3563
if test -z "$GREP"; then
3564
set dummy grep ggrep; ac_prog_name=$2
3565
if test "${ac_cv_path_GREP+set}" = set; then
3566
  echo $ECHO_N "(cached) $ECHO_C" >&6
3567
else
3568
  ac_path_GREP_found=false
3569
# Loop through the user's path and test for each of PROGNAME-LIST
3570
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3572
do
3573
  IFS=$as_save_IFS
3574
  test -z "$as_dir" && as_dir=.
3575
  for ac_prog in grep ggrep; do
3576
  for ac_exec_ext in '' $ac_executable_extensions; do
3577
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3578
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3579
    # Check for GNU ac_path_GREP and select it if it is found.
3580
  # Check for GNU $ac_path_GREP
3581
case `"$ac_path_GREP" --version 2>&1` in
3582
*GNU*)
3583
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3584
*)
3585
  ac_count=0
3586
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3587
  while :
3588
  do
3589
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3590
    mv "conftest.tmp" "conftest.in"
3591
    cp "conftest.in" "conftest.nl"
3592
    echo 'GREP' >> "conftest.nl"
3593
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3594
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3595
    ac_count=`expr $ac_count + 1`
3596
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3597
      # Best one so far, save it but keep looking for a better one
3598
      ac_cv_path_GREP="$ac_path_GREP"
3599
      ac_path_GREP_max=$ac_count
3600
    fi
3601
    # 10*(2^10) chars as input seems more than enough
3602
    test $ac_count -gt 10 && break
3603
  done
3604
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3605
esac
2814
3606
3607
3608
    $ac_path_GREP_found && break 3
3609
  done
3610
done
3611
3612
done
3613
IFS=$as_save_IFS
3614
3615
3616
fi
3617
3618
GREP="$ac_cv_path_GREP"
3619
if test -z "$GREP"; then
3620
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3621
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3622
   { (exit 1); exit 1; }; }
3623
fi
3624
3625
else
3626
  ac_cv_path_GREP=$GREP
3627
fi
3628
3629
3630
fi
3631
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3632
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3633
 GREP="$ac_cv_path_GREP"
3634
3635
3636
{ echo "$as_me:$LINENO: checking for egrep" >&5
3637
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3638
if test "${ac_cv_path_EGREP+set}" = set; then
3639
  echo $ECHO_N "(cached) $ECHO_C" >&6
3640
else
3641
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3642
   then ac_cv_path_EGREP="$GREP -E"
3643
   else
3644
     # Extract the first word of "egrep" to use in msg output
3645
if test -z "$EGREP"; then
3646
set dummy egrep; ac_prog_name=$2
3647
if test "${ac_cv_path_EGREP+set}" = set; then
3648
  echo $ECHO_N "(cached) $ECHO_C" >&6
3649
else
3650
  ac_path_EGREP_found=false
3651
# Loop through the user's path and test for each of PROGNAME-LIST
3652
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3654
do
3655
  IFS=$as_save_IFS
3656
  test -z "$as_dir" && as_dir=.
3657
  for ac_prog in egrep; do
3658
  for ac_exec_ext in '' $ac_executable_extensions; do
3659
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3660
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3661
    # Check for GNU ac_path_EGREP and select it if it is found.
3662
  # Check for GNU $ac_path_EGREP
3663
case `"$ac_path_EGREP" --version 2>&1` in
3664
*GNU*)
3665
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3666
*)
3667
  ac_count=0
3668
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3669
  while :
3670
  do
3671
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3672
    mv "conftest.tmp" "conftest.in"
3673
    cp "conftest.in" "conftest.nl"
3674
    echo 'EGREP' >> "conftest.nl"
3675
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3676
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3677
    ac_count=`expr $ac_count + 1`
3678
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3679
      # Best one so far, save it but keep looking for a better one
3680
      ac_cv_path_EGREP="$ac_path_EGREP"
3681
      ac_path_EGREP_max=$ac_count
3682
    fi
3683
    # 10*(2^10) chars as input seems more than enough
3684
    test $ac_count -gt 10 && break
3685
  done
3686
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3687
esac
3688
3689
3690
    $ac_path_EGREP_found && break 3
3691
  done
3692
done
3693
3694
done
3695
IFS=$as_save_IFS
3696
3697
3698
fi
3699
3700
EGREP="$ac_cv_path_EGREP"
3701
if test -z "$EGREP"; then
3702
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3703
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3704
   { (exit 1); exit 1; }; }
3705
fi
3706
3707
else
3708
  ac_cv_path_EGREP=$EGREP
3709
fi
3710
3711
3712
   fi
3713
fi
3714
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3715
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3716
 EGREP="$ac_cv_path_EGREP"
3717
3718
3719
2815
echo "$as_me:$LINENO: checking for AIX" >&5
3720
{ echo "$as_me:$LINENO: checking for AIX" >&5
2816
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3721
echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
2817
cat >conftest.$ac_ext <<_ACEOF
3722
cat >conftest.$ac_ext <<_ACEOF
2818
#line $LINENO "configure"
3723
/* confdefs.h.  */
2819
#include "confdefs.h"
3724
_ACEOF
3725
cat confdefs.h >>conftest.$ac_ext
3726
cat >>conftest.$ac_ext <<_ACEOF
3727
/* end confdefs.h.  */
2820
#ifdef _AIX
3728
#ifdef _AIX
2821
  yes
3729
  yes
2822
#endif
3730
#endif
2823
3731
2824
_ACEOF
3732
_ACEOF
2825
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3733
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2826
  egrep "yes" >/dev/null 2>&1; then
3734
  $EGREP "yes" >/dev/null 2>&1; then
2827
  echo "$as_me:$LINENO: result: yes" >&5
3735
  { echo "$as_me:$LINENO: result: yes" >&5
2828
echo "${ECHO_T}yes" >&6
3736
echo "${ECHO_T}yes" >&6; }
2829
cat >>confdefs.h <<\_ACEOF
3737
cat >>confdefs.h <<\_ACEOF
2830
#define _ALL_SOURCE 1
3738
#define _ALL_SOURCE 1
2831
_ACEOF
3739
_ACEOF
2832
3740
2833
else
3741
else
2834
  echo "$as_me:$LINENO: result: no" >&5
3742
  { echo "$as_me:$LINENO: result: no" >&5
2835
echo "${ECHO_T}no" >&6
3743
echo "${ECHO_T}no" >&6; }
2836
fi
3744
fi
2837
rm -f conftest*
3745
rm -f conftest*
2838
3746
2839
3747
2840
echo "$as_me:$LINENO: checking maximum warning verbosity option" >&5
3748
{ echo "$as_me:$LINENO: checking maximum warning verbosity option" >&5
2841
echo $ECHO_N "checking maximum warning verbosity option... $ECHO_C" >&6
3749
echo $ECHO_N "checking maximum warning verbosity option... $ECHO_C" >&6; }
2842
if test -n "$CXX"
3750
if test -n "$CXX"
2843
then
3751
then
2844
  if test "$GXX" = "yes"
3752
  if test "$GXX" = "yes"
2845
  then
3753
  then
2846
    ac_compile_warnings_opt='-Wall -Woverloaded-virtual'
3754
    ac_compile_warnings_opt='-Wall -Woverloaded-virtual'
...
...
2856
    ac_compile_warnings_opt='-Wall -Wmissing-declarations -Wmissing-prototypes'
3764
    ac_compile_warnings_opt='-Wall -Wmissing-declarations -Wmissing-prototypes'
2857
  fi
3765
  fi
2858
  CFLAGS="$CFLAGS $ac_compile_warnings_opt"
3766
  CFLAGS="$CFLAGS $ac_compile_warnings_opt"
2859
  ac_compile_warnings_msg="$ac_compile_warnings_msg $ac_compile_warnings_opt for C"
3767
  ac_compile_warnings_msg="$ac_compile_warnings_msg $ac_compile_warnings_opt for C"
2860
fi
3768
fi
2861
echo "$as_me:$LINENO: result: $ac_compile_warnings_msg" >&5
3769
{ echo "$as_me:$LINENO: result: $ac_compile_warnings_msg" >&5
2862
echo "${ECHO_T}$ac_compile_warnings_msg" >&6
3770
echo "${ECHO_T}$ac_compile_warnings_msg" >&6; }
2863
unset ac_compile_warnings_msg
3771
unset ac_compile_warnings_msg
2864
unset ac_compile_warnings_opt
3772
unset ac_compile_warnings_opt
2865
3773
2866
3774
2867
# Check whether --enable-shared or --disable-shared was given.
3775
# Check whether --enable-shared was given.
2868
if test "${enable_shared+set}" = set; then
3776
if test "${enable_shared+set}" = set; then
2869
  enableval="$enable_shared"
3777
  enableval=$enable_shared; p=${PACKAGE-default}
2870
  p=${PACKAGE-default}
2871
case $enableval in
3778
case $enableval in
2872
yes) enable_shared=yes ;;
3779
yes) enable_shared=yes ;;
2873
no) enable_shared=no ;;
3780
no) enable_shared=no ;;
2874
*)
3781
*)
2875
  enable_shared=no
3782
  enable_shared=no
...
...
2883
  IFS="$ac_save_ifs"
3790
  IFS="$ac_save_ifs"
2884
  ;;
3791
  ;;
2885
esac
3792
esac
2886
else
3793
else
2887
  enable_shared=yes
3794
  enable_shared=yes
2888
fi;
3795
fi
3796
2889
# Check whether --enable-static or --disable-static was given.
3797
# Check whether --enable-static was given.
2890
if test "${enable_static+set}" = set; then
3798
if test "${enable_static+set}" = set; then
2891
  enableval="$enable_static"
3799
  enableval=$enable_static; p=${PACKAGE-default}
2892
  p=${PACKAGE-default}
2893
case $enableval in
3800
case $enableval in
2894
yes) enable_static=yes ;;
3801
yes) enable_static=yes ;;
2895
no) enable_static=no ;;
3802
no) enable_static=no ;;
2896
*)
3803
*)
2897
  enable_static=no
3804
  enable_static=no
...
...
2905
  IFS="$ac_save_ifs"
3812
  IFS="$ac_save_ifs"
2906
  ;;
3813
  ;;
2907
esac
3814
esac
2908
else
3815
else
2909
  enable_static=yes
3816
  enable_static=yes
2910
fi;
3817
fi
3818
2911
# Check whether --enable-fast-install or --disable-fast-install was given.
3819
# Check whether --enable-fast-install was given.
2912
if test "${enable_fast_install+set}" = set; then
3820
if test "${enable_fast_install+set}" = set; then
2913
  enableval="$enable_fast_install"
3821
  enableval=$enable_fast_install; p=${PACKAGE-default}
2914
  p=${PACKAGE-default}
2915
case $enableval in
3822
case $enableval in
2916
yes) enable_fast_install=yes ;;
3823
yes) enable_fast_install=yes ;;
2917
no) enable_fast_install=no ;;
3824
no) enable_fast_install=no ;;
2918
*)
3825
*)
2919
  enable_fast_install=no
3826
  enable_fast_install=no
...
...
2927
  IFS="$ac_save_ifs"
3834
  IFS="$ac_save_ifs"
2928
  ;;
3835
  ;;
2929
esac
3836
esac
2930
else
3837
else
2931
  enable_fast_install=yes
3838
  enable_fast_install=yes
2932
fi;
3839
fi
3840
2933
# Make sure we can run config.sub.
3841
# Make sure we can run config.sub.
2934
$ac_config_sub sun4 >/dev/null 2>&1 ||
3842
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2935
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3843
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2936
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3844
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2937
   { (exit 1); exit 1; }; }
3845
   { (exit 1); exit 1; }; }
2938
3846
2939
echo "$as_me:$LINENO: checking build system type" >&5
3847
{ echo "$as_me:$LINENO: checking build system type" >&5
2940
echo $ECHO_N "checking build system type... $ECHO_C" >&6
3848
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2941
if test "${ac_cv_build+set}" = set; then
3849
if test "${ac_cv_build+set}" = set; then
2942
  echo $ECHO_N "(cached) $ECHO_C" >&6
3850
  echo $ECHO_N "(cached) $ECHO_C" >&6
2943
else
3851
else
2944
  ac_cv_build_alias=$build_alias
3852
  ac_build_alias=$build_alias
2945
test -z "$ac_cv_build_alias" &&
3853
test "x$ac_build_alias" = x &&
2946
  ac_cv_build_alias=`$ac_config_guess`
3854
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2947
test -z "$ac_cv_build_alias" &&
3855
test "x$ac_build_alias" = x &&
2948
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3856
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2949
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3857
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2950
   { (exit 1); exit 1; }; }
3858
   { (exit 1); exit 1; }; }
2951
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3859
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2952
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3860
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2953
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3861
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2954
   { (exit 1); exit 1; }; }
3862
   { (exit 1); exit 1; }; }
2955
3863
2956
fi
3864
fi
2957
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3865
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2958
echo "${ECHO_T}$ac_cv_build" >&6
3866
echo "${ECHO_T}$ac_cv_build" >&6; }
3867
case $ac_cv_build in
3868
*-*-*) ;;
3869
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3870
echo "$as_me: error: invalid value of canonical build" >&2;}
3871
   { (exit 1); exit 1; }; };;
3872
esac
2959
build=$ac_cv_build
3873
build=$ac_cv_build
2960
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3874
ac_save_IFS=$IFS; IFS='-'
2961
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3875
set x $ac_cv_build
2962
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3876
shift
3877
build_cpu=$1
3878
build_vendor=$2
3879
shift; shift
3880
# Remember, the first character of IFS is used to create $*,
3881
# except with old shells:
3882
build_os=$*
3883
IFS=$ac_save_IFS
3884
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2963
3885
2964
3886
2965
echo "$as_me:$LINENO: checking host system type" >&5
3887
{ echo "$as_me:$LINENO: checking host system type" >&5
2966
echo $ECHO_N "checking host system type... $ECHO_C" >&6
3888
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2967
if test "${ac_cv_host+set}" = set; then
3889
if test "${ac_cv_host+set}" = set; then
2968
  echo $ECHO_N "(cached) $ECHO_C" >&6
3890
  echo $ECHO_N "(cached) $ECHO_C" >&6
2969
else
3891
else
2970
  ac_cv_host_alias=$host_alias
3892
  if test "x$host_alias" = x; then
2971
test -z "$ac_cv_host_alias" &&
2972
  ac_cv_host_alias=$ac_cv_build_alias
3893
  ac_cv_host=$ac_cv_build
3894
else
2973
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3895
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2974
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3896
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2975
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3897
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2976
   { (exit 1); exit 1; }; }
3898
   { (exit 1); exit 1; }; }
2977
2978
fi
3899
fi
3900
3901
fi
2979
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3902
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2980
echo "${ECHO_T}$ac_cv_host" >&6
3903
echo "${ECHO_T}$ac_cv_host" >&6; }
3904
case $ac_cv_host in
3905
*-*-*) ;;
3906
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3907
echo "$as_me: error: invalid value of canonical host" >&2;}
3908
   { (exit 1); exit 1; }; };;
3909
esac
2981
host=$ac_cv_host
3910
host=$ac_cv_host
2982
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3911
ac_save_IFS=$IFS; IFS='-'
2983
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3912
set x $ac_cv_host
2984
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3913
shift
3914
host_cpu=$1
3915
host_vendor=$2
3916
shift; shift
3917
# Remember, the first character of IFS is used to create $*,
3918
# except with old shells:
3919
host_os=$*
3920
IFS=$ac_save_IFS
3921
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2985
3922
2986
3923
2987
# Find the correct PATH separator.  Usually this is `:', but
3924
# Find the correct PATH separator.  Usually this is `:', but
2988
# DJGPP uses `;' like DOS.
3925
# DJGPP uses `;' like DOS.
2989
if test "X${PATH_SEPARATOR+set}" != Xset; then
3926
if test "X${PATH_SEPARATOR+set}" != Xset; then
...
...
2994
  esac
3931
  esac
2995
  PATH_SEPARATOR=$lt_cv_sys_path_separator
3932
  PATH_SEPARATOR=$lt_cv_sys_path_separator
2996
fi
3933
fi
2997
3934
2998
3935
2999
# Check whether --with-gnu-ld or --without-gnu-ld was given.
3936
# Check whether --with-gnu-ld was given.
3000
if test "${with_gnu_ld+set}" = set; then
3937
if test "${with_gnu_ld+set}" = set; then
3001
  withval="$with_gnu_ld"
3002
  test "$withval" = no || with_gnu_ld=yes
3938
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3003
else
3939
else
3004
  with_gnu_ld=no
3940
  with_gnu_ld=no
3005
fi;
3941
fi
3942
3006
ac_prog=ld
3943
ac_prog=ld
3007
if test "$GCC" = yes; then
3944
if test "$GCC" = yes; then
3008
  # Check if gcc -print-prog-name=ld gives a path.
3945
  # Check if gcc -print-prog-name=ld gives a path.
3009
  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3946
  { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3010
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3947
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
3011
  case $host in
3948
  case $host in
3012
  *-*-mingw*)
3949
  *-*-mingw*)
3013
    # gcc leaves a trailing carriage return which upsets mingw
3950
    # gcc leaves a trailing carriage return which upsets mingw
3014
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3951
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3015
  *)
3952
  *)
...
...
3034
    # If it is relative, then search for the first ld in PATH.
3971
    # If it is relative, then search for the first ld in PATH.
3035
    with_gnu_ld=unknown
3972
    with_gnu_ld=unknown
3036
    ;;
3973
    ;;
3037
  esac
3974
  esac
3038
elif test "$with_gnu_ld" = yes; then
3975
elif test "$with_gnu_ld" = yes; then
3039
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3976
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
3040
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3977
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3041
else
3978
else
3042
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3979
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3043
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3980
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3044
fi
3981
fi
3045
if test "${lt_cv_path_LD+set}" = set; then
3982
if test "${lt_cv_path_LD+set}" = set; then
3046
  echo $ECHO_N "(cached) $ECHO_C" >&6
3983
  echo $ECHO_N "(cached) $ECHO_C" >&6
3047
else
3984
else
3048
  if test -z "$LD"; then
3985
  if test -z "$LD"; then
...
...
3067
fi
4004
fi
3068
fi
4005
fi
3069
4006
3070
LD="$lt_cv_path_LD"
4007
LD="$lt_cv_path_LD"
3071
if test -n "$LD"; then
4008
if test -n "$LD"; then
3072
  echo "$as_me:$LINENO: result: $LD" >&5
4009
  { echo "$as_me:$LINENO: result: $LD" >&5
3073
echo "${ECHO_T}$LD" >&6
4010
echo "${ECHO_T}$LD" >&6; }
3074
else
4011
else
3075
  echo "$as_me:$LINENO: result: no" >&5
4012
  { echo "$as_me:$LINENO: result: no" >&5
3076
echo "${ECHO_T}no" >&6
4013
echo "${ECHO_T}no" >&6; }
3077
fi
4014
fi
3078
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4015
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3079
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4016
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3080
   { (exit 1); exit 1; }; }
4017
   { (exit 1); exit 1; }; }
3081
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4018
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3082
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4019
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3083
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4020
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3084
  echo $ECHO_N "(cached) $ECHO_C" >&6
4021
  echo $ECHO_N "(cached) $ECHO_C" >&6
3085
else
4022
else
3086
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4023
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3087
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4024
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3088
  lt_cv_prog_gnu_ld=yes
4025
  lt_cv_prog_gnu_ld=yes
3089
else
4026
else
3090
  lt_cv_prog_gnu_ld=no
4027
  lt_cv_prog_gnu_ld=no
3091
fi
4028
fi
3092
fi
4029
fi
3093
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4030
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3094
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4031
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3095
with_gnu_ld=$lt_cv_prog_gnu_ld
4032
with_gnu_ld=$lt_cv_prog_gnu_ld
3096
4033
3097
4034
3098
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4035
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3099
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4036
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3100
if test "${lt_cv_ld_reload_flag+set}" = set; then
4037
if test "${lt_cv_ld_reload_flag+set}" = set; then
3101
  echo $ECHO_N "(cached) $ECHO_C" >&6
4038
  echo $ECHO_N "(cached) $ECHO_C" >&6
3102
else
4039
else
3103
  lt_cv_ld_reload_flag='-r'
4040
  lt_cv_ld_reload_flag='-r'
3104
fi
4041
fi
3105
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4042
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3106
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4043
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3107
reload_flag=$lt_cv_ld_reload_flag
4044
reload_flag=$lt_cv_ld_reload_flag
3108
test -n "$reload_flag" && reload_flag=" $reload_flag"
4045
test -n "$reload_flag" && reload_flag=" $reload_flag"
3109
4046
3110
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4047
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3111
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4048
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3112
if test "${lt_cv_path_NM+set}" = set; then
4049
if test "${lt_cv_path_NM+set}" = set; then
3113
  echo $ECHO_N "(cached) $ECHO_C" >&6
4050
  echo $ECHO_N "(cached) $ECHO_C" >&6
3114
else
4051
else
3115
  if test -n "$NM"; then
4052
  if test -n "$NM"; then
3116
  # Let the user override the test.
4053
  # Let the user override the test.
...
...
3141
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4078
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3142
fi
4079
fi
3143
fi
4080
fi
3144
4081
3145
NM="$lt_cv_path_NM"
4082
NM="$lt_cv_path_NM"
3146
echo "$as_me:$LINENO: result: $NM" >&5
4083
{ echo "$as_me:$LINENO: result: $NM" >&5
3147
echo "${ECHO_T}$NM" >&6
4084
echo "${ECHO_T}$NM" >&6; }
3148
4085
3149
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4086
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3150
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4087
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3151
if test "${lt_cv_path_SED+set}" = set; then
4088
if test "${lt_cv_path_SED+set}" = set; then
3152
  echo $ECHO_N "(cached) $ECHO_C" >&6
4089
  echo $ECHO_N "(cached) $ECHO_C" >&6
3153
else
4090
else
3154
  # Loop through the user's path and test for sed and gsed.
4091
  # Loop through the user's path and test for sed and gsed.
3155
# Then use that list of sed's as ones to test for truncation.
4092
# Then use that list of sed's as ones to test for truncation.
...
...
3226
if test "X$SED" != "X"; then
4163
if test "X$SED" != "X"; then
3227
  lt_cv_path_SED=$SED
4164
  lt_cv_path_SED=$SED
3228
else
4165
else
3229
  SED=$lt_cv_path_SED
4166
  SED=$lt_cv_path_SED
3230
fi
4167
fi
3231
echo "$as_me:$LINENO: result: $SED" >&5
4168
{ echo "$as_me:$LINENO: result: $SED" >&5
3232
echo "${ECHO_T}$SED" >&6
4169
echo "${ECHO_T}$SED" >&6; }
3233
4170
3234
echo "$as_me:$LINENO: checking whether ln -s works" >&5
4171
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3235
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4172
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3236
LN_S=$as_ln_s
4173
LN_S=$as_ln_s
3237
if test "$LN_S" = "ln -s"; then
4174
if test "$LN_S" = "ln -s"; then
3238
  echo "$as_me:$LINENO: result: yes" >&5
4175
  { echo "$as_me:$LINENO: result: yes" >&5
3239
echo "${ECHO_T}yes" >&6
4176
echo "${ECHO_T}yes" >&6; }
3240
else
4177
else
3241
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4178
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3242
echo "${ECHO_T}no, using $LN_S" >&6
4179
echo "${ECHO_T}no, using $LN_S" >&6; }
3243
fi
4180
fi
3244
4181
3245
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4182
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3246
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4183
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3247
if test "${lt_cv_deplibs_check_method+set}" = set; then
4184
if test "${lt_cv_deplibs_check_method+set}" = set; then
3248
  echo $ECHO_N "(cached) $ECHO_C" >&6
4185
  echo $ECHO_N "(cached) $ECHO_C" >&6
3249
else
4186
else
3250
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4187
  lt_cv_file_magic_cmd='$MAGIC_CMD'
3251
lt_cv_file_magic_test_file=
4188
lt_cv_file_magic_test_file=
...
...
3421
  esac
4358
  esac
3422
  ;;
4359
  ;;
3423
esac
4360
esac
3424
4361
3425
fi
4362
fi
3426
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4363
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3427
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4364
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3428
file_magic_cmd=$lt_cv_file_magic_cmd
4365
file_magic_cmd=$lt_cv_file_magic_cmd
3429
deplibs_check_method=$lt_cv_deplibs_check_method
4366
deplibs_check_method=$lt_cv_deplibs_check_method
3430
4367
3431
4368
3432
4369
3433
4370
3434
4371
3435
4372
3436
4373
3437
# Check for command to grab the raw symbol name followed by C symbol from nm.
4374
# Check for command to grab the raw symbol name followed by C symbol from nm.
3438
echo "$as_me:$LINENO: checking command to parse $NM output" >&5
4375
{ echo "$as_me:$LINENO: checking command to parse $NM output" >&5
3439
echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
4376
echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6; }
3440
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4377
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
3441
  echo $ECHO_N "(cached) $ECHO_C" >&6
4378
  echo $ECHO_N "(cached) $ECHO_C" >&6
3442
else
4379
else
3443
4380
3444
# These are sane defaults that work on at least a few old systems.
4381
# These are sane defaults that work on at least a few old systems.
...
...
3620
  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
4557
  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
3621
  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
4558
  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
3622
fi
4559
fi
3623
if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
4560
if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
3624
then
4561
then
3625
  echo "$as_me:$LINENO: result: failed" >&5
4562
  { echo "$as_me:$LINENO: result: failed" >&5
3626
echo "${ECHO_T}failed" >&6
4563
echo "${ECHO_T}failed" >&6; }
3627
else
4564
else
3628
  echo "$as_me:$LINENO: result: ok" >&5
4565
  { echo "$as_me:$LINENO: result: ok" >&5
3629
echo "${ECHO_T}ok" >&6
4566
echo "${ECHO_T}ok" >&6; }
3630
fi
4567
fi
3631
4568
3632
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4569
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3633
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4570
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3634
if test "${ac_cv_header_stdc+set}" = set; then
4571
if test "${ac_cv_header_stdc+set}" = set; then
3635
  echo $ECHO_N "(cached) $ECHO_C" >&6
4572
  echo $ECHO_N "(cached) $ECHO_C" >&6
3636
else
4573
else
3637
  cat >conftest.$ac_ext <<_ACEOF
4574
  cat >conftest.$ac_ext <<_ACEOF
3638
#line $LINENO "configure"
4575
/* confdefs.h.  */
3639
#include "confdefs.h"
4576
_ACEOF
4577
cat confdefs.h >>conftest.$ac_ext
4578
cat >>conftest.$ac_ext <<_ACEOF
4579
/* end confdefs.h.  */
3640
#include <stdlib.h>
4580
#include <stdlib.h>
3641
#include <stdarg.h>
4581
#include <stdarg.h>
3642
#include <string.h>
4582
#include <string.h>
3643
#include <float.h>
4583
#include <float.h>
3644
4584
4585
int
4586
main ()
4587
{
4588
4589
  ;
4590
  return 0;
4591
}
3645
_ACEOF
4592
_ACEOF
3646
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4593
rm -f conftest.$ac_objext
3647
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4594
if { (ac_try="$ac_compile"
4595
case "(($ac_try" in
4596
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597
  *) ac_try_echo=$ac_try;;
4598
esac
4599
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4600
  (eval "$ac_compile") 2>conftest.er1
3648
  ac_status=$?
4601
  ac_status=$?
3649
  egrep -v '^ *\+' conftest.er1 >conftest.err
4602
  grep -v '^ *+' conftest.er1 >conftest.err
3650
  rm -f conftest.er1
4603
  rm -f conftest.er1
3651
  cat conftest.err >&5
4604
  cat conftest.err >&5
3652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653
  (exit $ac_status); } >/dev/null; then
4606
  (exit $ac_status); } && {
4607
   test -z "$ac_c_werror_flag" ||
3654
  if test -s conftest.err; then
4608
   test ! -s conftest.err
3655
    ac_cpp_err=$ac_c_preproc_warn_flag
4609
       } && test -s conftest.$ac_objext; then
3656
  else
3657
    ac_cpp_err=
3658
  fi
3659
else
3660
  ac_cpp_err=yes
3661
fi
3662
if test -z "$ac_cpp_err"; then
3663
  ac_cv_header_stdc=yes
4610
  ac_cv_header_stdc=yes
3664
else
4611
else
3665
  echo "$as_me: failed program was:" >&5
4612
  echo "$as_me: failed program was:" >&5
3666
  cat conftest.$ac_ext >&5
4613
sed 's/^/| /' conftest.$ac_ext >&5
4614
3667
  ac_cv_header_stdc=no
4615
  ac_cv_header_stdc=no
3668
fi
4616
fi
3669
rm -f conftest.err conftest.$ac_ext
4617
4618
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3670
4619
3671
if test $ac_cv_header_stdc = yes; then
4620
if test $ac_cv_header_stdc = yes; then
3672
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4621
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3673
  cat >conftest.$ac_ext <<_ACEOF
4622
  cat >conftest.$ac_ext <<_ACEOF
3674
#line $LINENO "configure"
4623
/* confdefs.h.  */
3675
#include "confdefs.h"
4624
_ACEOF
4625
cat confdefs.h >>conftest.$ac_ext
4626
cat >>conftest.$ac_ext <<_ACEOF
4627
/* end confdefs.h.  */
3676
#include <string.h>
4628
#include <string.h>
3677
4629
3678
_ACEOF
4630
_ACEOF
3679
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4631
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3680
  egrep "memchr" >/dev/null 2>&1; then
4632
  $EGREP "memchr" >/dev/null 2>&1; then
3681
  :
4633
  :
3682
else
4634
else
3683
  ac_cv_header_stdc=no
4635
  ac_cv_header_stdc=no
3684
fi
4636
fi
3685
rm -f conftest*
4637
rm -f conftest*
...
...
3687
fi
4639
fi
3688
4640
3689
if test $ac_cv_header_stdc = yes; then
4641
if test $ac_cv_header_stdc = yes; then
3690
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4642
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3691
  cat >conftest.$ac_ext <<_ACEOF
4643
  cat >conftest.$ac_ext <<_ACEOF
3692
#line $LINENO "configure"
4644
/* confdefs.h.  */
3693
#include "confdefs.h"
4645
_ACEOF
4646
cat confdefs.h >>conftest.$ac_ext
4647
cat >>conftest.$ac_ext <<_ACEOF
4648
/* end confdefs.h.  */
3694
#include <stdlib.h>
4649
#include <stdlib.h>
3695
4650
3696
_ACEOF
4651
_ACEOF
3697
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4652
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3698
  egrep "free" >/dev/null 2>&1; then
4653
  $EGREP "free" >/dev/null 2>&1; then
3699
  :
4654
  :
3700
else
4655
else
3701
  ac_cv_header_stdc=no
4656
  ac_cv_header_stdc=no
3702
fi
4657
fi
3703
rm -f conftest*
4658
rm -f conftest*
...
...
3708
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4663
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3709
  if test "$cross_compiling" = yes; then
4664
  if test "$cross_compiling" = yes; then
3710
  :
4665
  :
3711
else
4666
else
3712
  cat >conftest.$ac_ext <<_ACEOF
4667
  cat >conftest.$ac_ext <<_ACEOF
3713
#line $LINENO "configure"
4668
/* confdefs.h.  */
3714
#include "confdefs.h"
4669
_ACEOF
4670
cat confdefs.h >>conftest.$ac_ext
4671
cat >>conftest.$ac_ext <<_ACEOF
4672
/* end confdefs.h.  */
3715
#include <ctype.h>
4673
#include <ctype.h>
4674
#include <stdlib.h>
3716
#if ((' ' & 0x0FF) == 0x020)
4675
#if ((' ' & 0x0FF) == 0x020)
3717
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4676
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3718
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4677
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3719
#else
4678
#else
3720
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4679
# define ISLOWER(c) \
4680
         (('a' <= (c) && (c) <= 'i') \
3721
                     || ('j' <= (c) && (c) <= 'r') \
4681
           || ('j' <= (c) && (c) <= 'r') \
3722
                     || ('s' <= (c) && (c) <= 'z'))
4682
           || ('s' <= (c) && (c) <= 'z'))
3723
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4683
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3724
#endif
4684
#endif
3725
4685
3726
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4686
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3727
int
4687
int
3728
main ()
4688
main ()
3729
{
4689
{
3730
  int i;
4690
  int i;
3731
  for (i = 0; i < 256; i++)
4691
  for (i = 0; i < 256; i++)
3732
    if (XOR (islower (i), ISLOWER (i))
4692
    if (XOR (islower (i), ISLOWER (i))
3733
        || toupper (i) != TOUPPER (i))
4693
  || toupper (i) != TOUPPER (i))
3734
      exit(2);
4694
      return 2;
3735
  exit (0);
4695
  return 0;
3736
}
4696
}
3737
_ACEOF
4697
_ACEOF
3738
rm -f conftest$ac_exeext
4698
rm -f conftest$ac_exeext
4699
if { (ac_try="$ac_link"
4700
case "(($ac_try" in
4701
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4702
  *) ac_try_echo=$ac_try;;
4703
esac
3739
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4704
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3740
  (eval $ac_link) 2>&5
4705
  (eval "$ac_link") 2>&5
3741
  ac_status=$?
4706
  ac_status=$?
3742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4708
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4709
  { (case "(($ac_try" in
4710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4711
  *) ac_try_echo=$ac_try;;
4712
esac
3744
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3745
  (eval $ac_try) 2>&5
4714
  (eval "$ac_try") 2>&5
3746
  ac_status=$?
4715
  ac_status=$?
3747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748
  (exit $ac_status); }; }; then
4717
  (exit $ac_status); }; }; then
3749
  :
4718
  :
3750
else
4719
else
3751
  echo "$as_me: program exited with status $ac_status" >&5
4720
  echo "$as_me: program exited with status $ac_status" >&5
3752
echo "$as_me: failed program was:" >&5
4721
echo "$as_me: failed program was:" >&5
3753
cat conftest.$ac_ext >&5
4722
sed 's/^/| /' conftest.$ac_ext >&5
4723
3754
( exit $ac_status )
4724
( exit $ac_status )
3755
ac_cv_header_stdc=no
4725
ac_cv_header_stdc=no
3756
fi
4726
fi
3757
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4727
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3758
fi
4728
fi
4729
4730
3759
fi
4731
fi
3760
fi
4732
fi
3761
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4733
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3762
echo "${ECHO_T}$ac_cv_header_stdc" >&6
4734
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3763
if test $ac_cv_header_stdc = yes; then
4735
if test $ac_cv_header_stdc = yes; then
3764
4736
3765
cat >>confdefs.h <<\_ACEOF
4737
cat >>confdefs.h <<\_ACEOF
3766
#define STDC_HEADERS 1
4738
#define STDC_HEADERS 1
3767
_ACEOF
4739
_ACEOF
...
...
3777
4749
3778
4750
3779
4751
3780
4752
3781
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4753
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3782
                  inttypes.h stdint.h unistd.h
4754
        inttypes.h stdint.h unistd.h
3783
do
4755
do
3784
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4756
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3785
echo "$as_me:$LINENO: checking for $ac_header" >&5
4757
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3786
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4758
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3787
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4759
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3788
  echo $ECHO_N "(cached) $ECHO_C" >&6
4760
  echo $ECHO_N "(cached) $ECHO_C" >&6
3789
else
4761
else
3790
  cat >conftest.$ac_ext <<_ACEOF
4762
  cat >conftest.$ac_ext <<_ACEOF
3791
#line $LINENO "configure"
4763
/* confdefs.h.  */
3792
#include "confdefs.h"
4764
_ACEOF
4765
cat confdefs.h >>conftest.$ac_ext
4766
cat >>conftest.$ac_ext <<_ACEOF
4767
/* end confdefs.h.  */
3793
$ac_includes_default
4768
$ac_includes_default
3794
4769
3795
#include <$ac_header>
4770
#include <$ac_header>
3796
_ACEOF
4771
_ACEOF
3797
rm -f conftest.$ac_objext
4772
rm -f conftest.$ac_objext
4773
if { (ac_try="$ac_compile"
4774
case "(($ac_try" in
4775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776
  *) ac_try_echo=$ac_try;;
4777
esac
3798
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3799
  (eval $ac_compile) 2>&5
4779
  (eval "$ac_compile") 2>conftest.er1
3800
  ac_status=$?
4780
  ac_status=$?
4781
  grep -v '^ *+' conftest.er1 >conftest.err
4782
  rm -f conftest.er1
4783
  cat conftest.err >&5
3801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802
  (exit $ac_status); } &&
4785
  (exit $ac_status); } && {
3803
         { ac_try='test -s conftest.$ac_objext'
4786
   test -z "$ac_c_werror_flag" ||
3804
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4787
   test ! -s conftest.err
3805
  (eval $ac_try) 2>&5
4788
       } && test -s conftest.$ac_objext; then
3806
  ac_status=$?
3807
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808
  (exit $ac_status); }; }; then
3809
  eval "$as_ac_Header=yes"
4789
  eval "$as_ac_Header=yes"
3810
else
4790
else
3811
  echo "$as_me: failed program was:" >&5
4791
  echo "$as_me: failed program was:" >&5
3812
cat conftest.$ac_ext >&5
4792
sed 's/^/| /' conftest.$ac_ext >&5
4793
3813
eval "$as_ac_Header=no"
4794
  eval "$as_ac_Header=no"
3814
fi
4795
fi
4796
3815
rm -f conftest.$ac_objext conftest.$ac_ext
4797
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3816
fi
4798
fi
3817
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4799
ac_res=`eval echo '${'$as_ac_Header'}'`
3818
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4800
         { echo "$as_me:$LINENO: result: $ac_res" >&5
4801
echo "${ECHO_T}$ac_res" >&6; }
3819
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4802
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3820
  cat >>confdefs.h <<_ACEOF
4803
  cat >>confdefs.h <<_ACEOF
3821
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4804
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3822
_ACEOF
4805
_ACEOF
3823
4806
...
...
3828
4811
3829
4812
3830
for ac_header in dlfcn.h
4813
for ac_header in dlfcn.h
3831
do
4814
do
3832
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4815
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3833
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4816
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3834
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4817
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
3835
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4818
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3836
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4819
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3837
  echo $ECHO_N "(cached) $ECHO_C" >&6
4820
  echo $ECHO_N "(cached) $ECHO_C" >&6
3838
fi
4821
fi
3839
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4822
ac_res=`eval echo '${'$as_ac_Header'}'`
3840
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4823
         { echo "$as_me:$LINENO: result: $ac_res" >&5
4824
echo "${ECHO_T}$ac_res" >&6; }
3841
else
4825
else
3842
  # Is the header compilable?
4826
  # Is the header compilable?
3843
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4827
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3844
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4828
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3845
cat >conftest.$ac_ext <<_ACEOF
4829
cat >conftest.$ac_ext <<_ACEOF
3846
#line $LINENO "configure"
4830
/* confdefs.h.  */
3847
#include "confdefs.h"
4831
_ACEOF
4832
cat confdefs.h >>conftest.$ac_ext
4833
cat >>conftest.$ac_ext <<_ACEOF
4834
/* end confdefs.h.  */
3848
$ac_includes_default
4835
$ac_includes_default
3849
#include <$ac_header>
4836
#include <$ac_header>
3850
_ACEOF
4837
_ACEOF
3851
rm -f conftest.$ac_objext
4838
rm -f conftest.$ac_objext
4839
if { (ac_try="$ac_compile"
4840
case "(($ac_try" in
4841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842
  *) ac_try_echo=$ac_try;;
4843
esac
3852
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4844
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3853
  (eval $ac_compile) 2>&5
4845
  (eval "$ac_compile") 2>conftest.er1
3854
  ac_status=$?
4846
  ac_status=$?
3855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856
  (exit $ac_status); } &&
3857
         { ac_try='test -s conftest.$ac_objext'
3858
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859
  (eval $ac_try) 2>&5
3860
  ac_status=$?
3861
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862
  (exit $ac_status); }; }; then
3863
  ac_header_compiler=yes
3864
else
3865
  echo "$as_me: failed program was:" >&5
3866
cat conftest.$ac_ext >&5
3867
ac_header_compiler=no
3868
fi
3869
rm -f conftest.$ac_objext conftest.$ac_ext
3870
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3871
echo "${ECHO_T}$ac_header_compiler" >&6
3872
3873
# Is the header present?
3874
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3875
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3876
cat >conftest.$ac_ext <<_ACEOF
3877
#line $LINENO "configure"
3878
#include "confdefs.h"
3879
#include <$ac_header>
3880
_ACEOF
3881
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3882
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3883
  ac_status=$?
3884
  egrep -v '^ *\+' conftest.er1 >conftest.err
4847
  grep -v '^ *+' conftest.er1 >conftest.err
3885
  rm -f conftest.er1
4848
  rm -f conftest.er1
3886
  cat conftest.err >&5
4849
  cat conftest.err >&5
3887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851
  (exit $ac_status); } && {
4852
   test -z "$ac_c_werror_flag" ||
4853
   test ! -s conftest.err
4854
       } && test -s conftest.$ac_objext; then
4855
  ac_header_compiler=yes
4856
else
4857
  echo "$as_me: failed program was:" >&5
4858
sed 's/^/| /' conftest.$ac_ext >&5
4859
4860
  ac_header_compiler=no
4861
fi
4862
4863
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4864
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4865
echo "${ECHO_T}$ac_header_compiler" >&6; }
4866
4867
# Is the header present?
4868
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4869
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4870
cat >conftest.$ac_ext <<_ACEOF
4871
/* confdefs.h.  */
4872
_ACEOF
4873
cat confdefs.h >>conftest.$ac_ext
4874
cat >>conftest.$ac_ext <<_ACEOF
4875
/* end confdefs.h.  */
4876
#include <$ac_header>
4877
_ACEOF
4878
if { (ac_try="$ac_cpp conftest.$ac_ext"
4879
case "(($ac_try" in
4880
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881
  *) ac_try_echo=$ac_try;;
4882
esac
4883
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4885
  ac_status=$?
4886
  grep -v '^ *+' conftest.er1 >conftest.err
4887
  rm -f conftest.er1
4888
  cat conftest.err >&5
4889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888
  (exit $ac_status); } >/dev/null; then
4890
  (exit $ac_status); } >/dev/null && {
4891
   test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3889
  if test -s conftest.err; then
4892
   test ! -s conftest.err
3890
    ac_cpp_err=$ac_c_preproc_warn_flag
4893
       }; then
3891
  else
3892
    ac_cpp_err=
3893
  fi
3894
else
3895
  ac_cpp_err=yes
3896
fi
3897
if test -z "$ac_cpp_err"; then
3898
  ac_header_preproc=yes
4894
  ac_header_preproc=yes
3899
else
4895
else
3900
  echo "$as_me: failed program was:" >&5
4896
  echo "$as_me: failed program was:" >&5
3901
  cat conftest.$ac_ext >&5
4897
sed 's/^/| /' conftest.$ac_ext >&5
4898
3902
  ac_header_preproc=no
4899
  ac_header_preproc=no
3903
fi
4900
fi
4901
3904
rm -f conftest.err conftest.$ac_ext
4902
rm -f conftest.err conftest.$ac_ext
3905
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4903
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3906
echo "${ECHO_T}$ac_header_preproc" >&6
4904
echo "${ECHO_T}$ac_header_preproc" >&6; }
3907
4905
3908
# So?  What about this header?
4906
# So?  What about this header?
3909
case $ac_header_compiler:$ac_header_preproc in
4907
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3910
  yes:no )
4908
  yes:no: )
3911
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4909
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3912
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4910
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3913
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4911
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3914
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4912
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4913
    ac_header_preproc=yes
4914
    ;;
3915
  no:yes )
4915
  no:yes:* )
3916
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4916
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3917
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4917
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3918
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4918
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3919
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4919
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4920
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4921
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4922
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4923
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3920
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4924
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3921
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4925
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4926
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4927
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4928
4929
    ;;
3922
esac
4930
esac
3923
echo "$as_me:$LINENO: checking for $ac_header" >&5
4931
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3924
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4932
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3925
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4933
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3926
  echo $ECHO_N "(cached) $ECHO_C" >&6
4934
  echo $ECHO_N "(cached) $ECHO_C" >&6
3927
else
4935
else
3928
  eval "$as_ac_Header=$ac_header_preproc"
4936
  eval "$as_ac_Header=\$ac_header_preproc"
3929
fi
4937
fi
3930
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4938
ac_res=`eval echo '${'$as_ac_Header'}'`
3931
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4939
         { echo "$as_me:$LINENO: result: $ac_res" >&5
4940
echo "${ECHO_T}$ac_res" >&6; }
3932
4941
3933
fi
4942
fi
3934
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4943
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3935
  cat >>confdefs.h <<_ACEOF
4944
  cat >>confdefs.h <<_ACEOF
3936
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4945
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
...
...
3947
4956
3948
# Only perform the check for file, if the check method requires it
4957
# Only perform the check for file, if the check method requires it
3949
case $deplibs_check_method in
4958
case $deplibs_check_method in
3950
file_magic*)
4959
file_magic*)
3951
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4960
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3952
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4961
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3953
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4962
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
3954
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4963
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3955
  echo $ECHO_N "(cached) $ECHO_C" >&6
4964
  echo $ECHO_N "(cached) $ECHO_C" >&6
3956
else
4965
else
3957
  case $MAGIC_CMD in
4966
  case $MAGIC_CMD in
3958
  /*)
4967
  /*)
...
...
4002
esac
5011
esac
4003
fi
5012
fi
4004
5013
4005
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5014
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4006
if test -n "$MAGIC_CMD"; then
5015
if test -n "$MAGIC_CMD"; then
4007
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5016
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4008
echo "${ECHO_T}$MAGIC_CMD" >&6
5017
echo "${ECHO_T}$MAGIC_CMD" >&6; }
4009
else
5018
else
4010
  echo "$as_me:$LINENO: result: no" >&5
5019
  { echo "$as_me:$LINENO: result: no" >&5
4011
echo "${ECHO_T}no" >&6
5020
echo "${ECHO_T}no" >&6; }
4012
fi
5021
fi
4013
5022
4014
if test -z "$lt_cv_path_MAGIC_CMD"; then
5023
if test -z "$lt_cv_path_MAGIC_CMD"; then
4015
  if test -n "$ac_tool_prefix"; then
5024
  if test -n "$ac_tool_prefix"; then
4016
    echo "$as_me:$LINENO: checking for file" >&5
5025
    { echo "$as_me:$LINENO: checking for file" >&5
4017
echo $ECHO_N "checking for file... $ECHO_C" >&6
5026
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
4018
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5027
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4019
  echo $ECHO_N "(cached) $ECHO_C" >&6
5028
  echo $ECHO_N "(cached) $ECHO_C" >&6
4020
else
5029
else
4021
  case $MAGIC_CMD in
5030
  case $MAGIC_CMD in
4022
  /*)
5031
  /*)
...
...
4066
esac
5075
esac
4067
fi
5076
fi
4068
5077
4069
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5078
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4070
if test -n "$MAGIC_CMD"; then
5079
if test -n "$MAGIC_CMD"; then
4071
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5080
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4072
echo "${ECHO_T}$MAGIC_CMD" >&6
5081
echo "${ECHO_T}$MAGIC_CMD" >&6; }
4073
else
5082
else
4074
  echo "$as_me:$LINENO: result: no" >&5
5083
  { echo "$as_me:$LINENO: result: no" >&5
4075
echo "${ECHO_T}no" >&6
5084
echo "${ECHO_T}no" >&6; }
4076
fi
5085
fi
4077
5086
4078
  else
5087
  else
4079
    MAGIC_CMD=:
5088
    MAGIC_CMD=:
4080
  fi
5089
  fi
...
...
4085
esac
5094
esac
4086
5095
4087
if test -n "$ac_tool_prefix"; then
5096
if test -n "$ac_tool_prefix"; then
4088
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5097
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4089
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5098
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4090
echo "$as_me:$LINENO: checking for $ac_word" >&5
5099
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4091
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5100
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4092
if test "${ac_cv_prog_RANLIB+set}" = set; then
5101
if test "${ac_cv_prog_RANLIB+set}" = set; then
4093
  echo $ECHO_N "(cached) $ECHO_C" >&6
5102
  echo $ECHO_N "(cached) $ECHO_C" >&6
4094
else
5103
else
4095
  if test -n "$RANLIB"; then
5104
  if test -n "$RANLIB"; then
4096
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5105
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
...
...
4099
for as_dir in $PATH
5108
for as_dir in $PATH
4100
do
5109
do
4101
  IFS=$as_save_IFS
5110
  IFS=$as_save_IFS
4102
  test -z "$as_dir" && as_dir=.
5111
  test -z "$as_dir" && as_dir=.
4103
  for ac_exec_ext in '' $ac_executable_extensions; do
5112
  for ac_exec_ext in '' $ac_executable_extensions; do
4104
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5113
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4105
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5114
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4106
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5115
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4107
    break 2
5116
    break 2
4108
  fi
5117
  fi
4109
done
5118
done
4110
done
5119
done
5120
IFS=$as_save_IFS
4111
5121
4112
fi
5122
fi
4113
fi
5123
fi
4114
RANLIB=$ac_cv_prog_RANLIB
5124
RANLIB=$ac_cv_prog_RANLIB
4115
if test -n "$RANLIB"; then
5125
if test -n "$RANLIB"; then
4116
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5126
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
4117
echo "${ECHO_T}$RANLIB" >&6
5127
echo "${ECHO_T}$RANLIB" >&6; }
4118
else
5128
else
4119
  echo "$as_me:$LINENO: result: no" >&5
5129
  { echo "$as_me:$LINENO: result: no" >&5
4120
echo "${ECHO_T}no" >&6
5130
echo "${ECHO_T}no" >&6; }
4121
fi
5131
fi
5132
4122
5133
4123
fi
5134
fi
4124
if test -z "$ac_cv_prog_RANLIB"; then
5135
if test -z "$ac_cv_prog_RANLIB"; then
4125
  ac_ct_RANLIB=$RANLIB
5136
  ac_ct_RANLIB=$RANLIB
4126
  # Extract the first word of "ranlib", so it can be a program name with args.
5137
  # Extract the first word of "ranlib", so it can be a program name with args.
4127
set dummy ranlib; ac_word=$2
5138
set dummy ranlib; ac_word=$2
4128
echo "$as_me:$LINENO: checking for $ac_word" >&5
5139
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4129
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5140
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4130
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5141
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4131
  echo $ECHO_N "(cached) $ECHO_C" >&6
5142
  echo $ECHO_N "(cached) $ECHO_C" >&6
4132
else
5143
else
4133
  if test -n "$ac_ct_RANLIB"; then
5144
  if test -n "$ac_ct_RANLIB"; then
4134
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5145
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
...
...
4137
for as_dir in $PATH
5148
for as_dir in $PATH
4138
do
5149
do
4139
  IFS=$as_save_IFS
5150
  IFS=$as_save_IFS
4140
  test -z "$as_dir" && as_dir=.
5151
  test -z "$as_dir" && as_dir=.
4141
  for ac_exec_ext in '' $ac_executable_extensions; do
5152
  for ac_exec_ext in '' $ac_executable_extensions; do
4142
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5153
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4143
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5154
    ac_cv_prog_ac_ct_RANLIB="ranlib"
4144
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5155
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4145
    break 2
5156
    break 2
4146
  fi
5157
  fi
4147
done
5158
done
4148
done
5159
done
5160
IFS=$as_save_IFS
4149
5161
4150
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4151
fi
5162
fi
4152
fi
5163
fi
4153
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5164
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4154
if test -n "$ac_ct_RANLIB"; then
5165
if test -n "$ac_ct_RANLIB"; then
4155
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5166
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4156
echo "${ECHO_T}$ac_ct_RANLIB" >&6
5167
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4157
else
5168
else
4158
  echo "$as_me:$LINENO: result: no" >&5
5169
  { echo "$as_me:$LINENO: result: no" >&5
4159
echo "${ECHO_T}no" >&6
5170
echo "${ECHO_T}no" >&6; }
4160
fi
5171
fi
4161
5172
5173
  if test "x$ac_ct_RANLIB" = x; then
5174
    RANLIB=":"
5175
  else
5176
    case $cross_compiling:$ac_tool_warned in
5177
yes:)
5178
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5179
whose name does not start with the host triplet.  If you think this
5180
configuration is useful to you, please write to autoconf@gnu.org." >&5
5181
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5182
whose name does not start with the host triplet.  If you think this
5183
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5184
ac_tool_warned=yes ;;
5185
esac
4162
  RANLIB=$ac_ct_RANLIB
5186
    RANLIB=$ac_ct_RANLIB
5187
  fi
4163
else
5188
else
4164
  RANLIB="$ac_cv_prog_RANLIB"
5189
  RANLIB="$ac_cv_prog_RANLIB"
4165
fi
5190
fi
4166
5191
4167
if test -n "$ac_tool_prefix"; then
5192
if test -n "$ac_tool_prefix"; then
4168
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5193
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4169
set dummy ${ac_tool_prefix}strip; ac_word=$2
5194
set dummy ${ac_tool_prefix}strip; ac_word=$2
4170
echo "$as_me:$LINENO: checking for $ac_word" >&5
5195
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4171
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5196
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4172
if test "${ac_cv_prog_STRIP+set}" = set; then
5197
if test "${ac_cv_prog_STRIP+set}" = set; then
4173
  echo $ECHO_N "(cached) $ECHO_C" >&6
5198
  echo $ECHO_N "(cached) $ECHO_C" >&6
4174
else
5199
else
4175
  if test -n "$STRIP"; then
5200
  if test -n "$STRIP"; then
4176
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5201
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
...
...
4179
for as_dir in $PATH
5204
for as_dir in $PATH
4180
do
5205
do
4181
  IFS=$as_save_IFS
5206
  IFS=$as_save_IFS
4182
  test -z "$as_dir" && as_dir=.
5207
  test -z "$as_dir" && as_dir=.
4183
  for ac_exec_ext in '' $ac_executable_extensions; do
5208
  for ac_exec_ext in '' $ac_executable_extensions; do
4184
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5209
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4185
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5210
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4186
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5211
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4187
    break 2
5212
    break 2
4188
  fi
5213
  fi
4189
done
5214
done
4190
done
5215
done
5216
IFS=$as_save_IFS
4191
5217
4192
fi
5218
fi
4193
fi
5219
fi
4194
STRIP=$ac_cv_prog_STRIP
5220
STRIP=$ac_cv_prog_STRIP
4195
if test -n "$STRIP"; then
5221
if test -n "$STRIP"; then
4196
  echo "$as_me:$LINENO: result: $STRIP" >&5
5222
  { echo "$as_me:$LINENO: result: $STRIP" >&5
4197
echo "${ECHO_T}$STRIP" >&6
5223
echo "${ECHO_T}$STRIP" >&6; }
4198
else
5224
else
4199
  echo "$as_me:$LINENO: result: no" >&5
5225
  { echo "$as_me:$LINENO: result: no" >&5
4200
echo "${ECHO_T}no" >&6
5226
echo "${ECHO_T}no" >&6; }
4201
fi
5227
fi
5228
4202
5229
4203
fi
5230
fi
4204
if test -z "$ac_cv_prog_STRIP"; then
5231
if test -z "$ac_cv_prog_STRIP"; then
4205
  ac_ct_STRIP=$STRIP
5232
  ac_ct_STRIP=$STRIP
4206
  # Extract the first word of "strip", so it can be a program name with args.
5233
  # Extract the first word of "strip", so it can be a program name with args.
4207
set dummy strip; ac_word=$2
5234
set dummy strip; ac_word=$2
4208
echo "$as_me:$LINENO: checking for $ac_word" >&5
5235
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4209
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5236
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4210
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5237
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4211
  echo $ECHO_N "(cached) $ECHO_C" >&6
5238
  echo $ECHO_N "(cached) $ECHO_C" >&6
4212
else
5239
else
4213
  if test -n "$ac_ct_STRIP"; then
5240
  if test -n "$ac_ct_STRIP"; then
4214
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5241
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
...
...
4217
for as_dir in $PATH
5244
for as_dir in $PATH
4218
do
5245
do
4219
  IFS=$as_save_IFS
5246
  IFS=$as_save_IFS
4220
  test -z "$as_dir" && as_dir=.
5247
  test -z "$as_dir" && as_dir=.
4221
  for ac_exec_ext in '' $ac_executable_extensions; do
5248
  for ac_exec_ext in '' $ac_executable_extensions; do
4222
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5249
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223
    ac_cv_prog_ac_ct_STRIP="strip"
5250
    ac_cv_prog_ac_ct_STRIP="strip"
4224
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5251
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225
    break 2
5252
    break 2
4226
  fi
5253
  fi
4227
done
5254
done
4228
done
5255
done
5256
IFS=$as_save_IFS
4229
5257
4230
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4231
fi
5258
fi
4232
fi
5259
fi
4233
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5260
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4234
if test -n "$ac_ct_STRIP"; then
5261
if test -n "$ac_ct_STRIP"; then
4235
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5262
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4236
echo "${ECHO_T}$ac_ct_STRIP" >&6
5263
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
4237
else
5264
else
4238
  echo "$as_me:$LINENO: result: no" >&5
5265
  { echo "$as_me:$LINENO: result: no" >&5
4239
echo "${ECHO_T}no" >&6
5266
echo "${ECHO_T}no" >&6; }
4240
fi
5267
fi
4241
5268
5269
  if test "x$ac_ct_STRIP" = x; then
5270
    STRIP=":"
5271
  else
5272
    case $cross_compiling:$ac_tool_warned in
5273
yes:)
5274
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5275
whose name does not start with the host triplet.  If you think this
5276
configuration is useful to you, please write to autoconf@gnu.org." >&5
5277
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5278
whose name does not start with the host triplet.  If you think this
5279
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5280
ac_tool_warned=yes ;;
5281
esac
4242
  STRIP=$ac_ct_STRIP
5282
    STRIP=$ac_ct_STRIP
5283
  fi
4243
else
5284
else
4244
  STRIP="$ac_cv_prog_STRIP"
5285
  STRIP="$ac_cv_prog_STRIP"
4245
fi
5286
fi
4246
5287
4247
5288
4248
enable_dlopen=no
5289
enable_dlopen=no
4249
enable_win32_dll=no
5290
enable_win32_dll=no
4250
5291
4251
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5292
# Check whether --enable-libtool-lock was given.
4252
if test "${enable_libtool_lock+set}" = set; then
5293
if test "${enable_libtool_lock+set}" = set; then
4253
  enableval="$enable_libtool_lock"
5294
  enableval=$enable_libtool_lock;
4254
4255
fi;
5295
fi
5296
4256
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5297
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4257
5298
4258
# Some flags need to be propagated to the compiler or linker for good
5299
# Some flags need to be propagated to the compiler or linker for good
4259
# libtool support.
5300
# libtool support.
4260
case $host in
5301
case $host in
4261
*-*-irix6*)
5302
*-*-irix6*)
4262
  # Find out which ABI we are using.
5303
  # Find out which ABI we are using.
4263
  echo '#line 4263 "configure"' > conftest.$ac_ext
5304
  echo '#line 5304 "configure"' > conftest.$ac_ext
4264
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5305
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4265
  (eval $ac_compile) 2>&5
5306
  (eval $ac_compile) 2>&5
4266
  ac_status=$?
5307
  ac_status=$?
4267
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268
  (exit $ac_status); }; then
5309
  (exit $ac_status); }; then
...
...
4283
5324
4284
*-*-sco3.2v5*)
5325
*-*-sco3.2v5*)
4285
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5326
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4286
  SAVE_CFLAGS="$CFLAGS"
5327
  SAVE_CFLAGS="$CFLAGS"
4287
  CFLAGS="$CFLAGS -belf"
5328
  CFLAGS="$CFLAGS -belf"
4288
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5329
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4289
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5330
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4290
if test "${lt_cv_cc_needs_belf+set}" = set; then
5331
if test "${lt_cv_cc_needs_belf+set}" = set; then
4291
  echo $ECHO_N "(cached) $ECHO_C" >&6
5332
  echo $ECHO_N "(cached) $ECHO_C" >&6
4292
else
5333
else
4293
4294
5334
4295
     ac_ext=c
5335
     ac_ext=c
4296
ac_cpp='$CPP $CPPFLAGS'
5336
ac_cpp='$CPP $CPPFLAGS'
4297
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5337
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5338
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5339
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4300
5340
4301
     cat >conftest.$ac_ext <<_ACEOF
5341
     cat >conftest.$ac_ext <<_ACEOF
4302
#line $LINENO "configure"
5342
/* confdefs.h.  */
4303
#include "confdefs.h"
5343
_ACEOF
5344
cat confdefs.h >>conftest.$ac_ext
5345
cat >>conftest.$ac_ext <<_ACEOF
5346
/* end confdefs.h.  */
4304
5347
4305
#ifdef F77_DUMMY_MAIN
4306
#  ifdef __cplusplus
4307
     extern "C"
4308
#  endif
4309
   int F77_DUMMY_MAIN() { return 1; }
4310
#endif
4311
int
5348
int
4312
main ()
5349
main ()
4313
{
5350
{
4314
5351
4315
  ;
5352
  ;
4316
  return 0;
5353
  return 0;
4317
}
5354
}
4318
_ACEOF
5355
_ACEOF
4319
rm -f conftest.$ac_objext conftest$ac_exeext
5356
rm -f conftest.$ac_objext conftest$ac_exeext
5357
if { (ac_try="$ac_link"
5358
case "(($ac_try" in
5359
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5360
  *) ac_try_echo=$ac_try;;
5361
esac
4320
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5362
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321
  (eval $ac_link) 2>&5
5363
  (eval "$ac_link") 2>conftest.er1
4322
  ac_status=$?
5364
  ac_status=$?
5365
  grep -v '^ *+' conftest.er1 >conftest.err
5366
  rm -f conftest.er1
5367
  cat conftest.err >&5
4323
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324
  (exit $ac_status); } &&
5369
  (exit $ac_status); } && {
5370
   test -z "$ac_c_werror_flag" ||
5371
   test ! -s conftest.err
4325
         { ac_try='test -s conftest$ac_exeext'
5372
       } && test -s conftest$ac_exeext &&
4326
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5373
       $as_test_x conftest$ac_exeext; then
4327
  (eval $ac_try) 2>&5
4328
  ac_status=$?
4329
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330
  (exit $ac_status); }; }; then
4331
  lt_cv_cc_needs_belf=yes
5374
  lt_cv_cc_needs_belf=yes
4332
else
5375
else
4333
  echo "$as_me: failed program was:" >&5
5376
  echo "$as_me: failed program was:" >&5
4334
cat conftest.$ac_ext >&5
5377
sed 's/^/| /' conftest.$ac_ext >&5
5378
4335
lt_cv_cc_needs_belf=no
5379
  lt_cv_cc_needs_belf=no
4336
fi
5380
fi
4337
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5381
5382
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5383
      conftest$ac_exeext conftest.$ac_ext
4338
     ac_ext=c
5384
     ac_ext=c
4339
ac_cpp='$CPP $CPPFLAGS'
5385
ac_cpp='$CPP $CPPFLAGS'
4340
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5386
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5387
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5388
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4343
5389
4344
fi
5390
fi
4345
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5391
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4346
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5392
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4347
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5393
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4348
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5394
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4349
    CFLAGS="$SAVE_CFLAGS"
5395
    CFLAGS="$SAVE_CFLAGS"
4350
  fi
5396
  fi
4351
  ;;
5397
  ;;
...
...
4441
5487
4442
# Allow CC to be a program name with arguments.
5488
# Allow CC to be a program name with arguments.
4443
set dummy $CC
5489
set dummy $CC
4444
compiler="$2"
5490
compiler="$2"
4445
5491
4446
echo "$as_me:$LINENO: checking for objdir" >&5
5492
{ echo "$as_me:$LINENO: checking for objdir" >&5
4447
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5493
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
4448
rm -f .libs 2>/dev/null
5494
rm -f .libs 2>/dev/null
4449
mkdir .libs 2>/dev/null
5495
mkdir .libs 2>/dev/null
4450
if test -d .libs; then
5496
if test -d .libs; then
4451
  objdir=.libs
5497
  objdir=.libs
4452
else
5498
else
4453
  # MS-DOS does not allow filenames that begin with a dot.
5499
  # MS-DOS does not allow filenames that begin with a dot.
4454
  objdir=_libs
5500
  objdir=_libs
4455
fi
5501
fi
4456
rmdir .libs 2>/dev/null
5502
rmdir .libs 2>/dev/null
4457
echo "$as_me:$LINENO: result: $objdir" >&5
5503
{ echo "$as_me:$LINENO: result: $objdir" >&5
4458
echo "${ECHO_T}$objdir" >&6
5504
echo "${ECHO_T}$objdir" >&6; }
4459
5505
4460
5506
4461
5507
4462
# Check whether --with-pic or --without-pic was given.
5508
# Check whether --with-pic was given.
4463
if test "${with_pic+set}" = set; then
5509
if test "${with_pic+set}" = set; then
4464
  withval="$with_pic"
5510
  withval=$with_pic; pic_mode="$withval"
4465
  pic_mode="$withval"
4466
else
5511
else
4467
  pic_mode=default
5512
  pic_mode=default
4468
fi;
5513
fi
5514
4469
test -z "$pic_mode" && pic_mode=default
5515
test -z "$pic_mode" && pic_mode=default
4470
5516
4471
# We assume here that the value for lt_cv_prog_cc_pic will not be cached
5517
# We assume here that the value for lt_cv_prog_cc_pic will not be cached
4472
# in isolation, and that seeing it set (from the cache) indicates that
5518
# in isolation, and that seeing it set (from the cache) indicates that
4473
# the associated values are set (in the cache) correctly too.
5519
# the associated values are set (in the cache) correctly too.
4474
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5520
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
4475
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5521
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
4476
if test "${lt_cv_prog_cc_pic+set}" = set; then
5522
if test "${lt_cv_prog_cc_pic+set}" = set; then
4477
  echo $ECHO_N "(cached) $ECHO_C" >&6
5523
  echo $ECHO_N "(cached) $ECHO_C" >&6
4478
else
5524
else
4479
   lt_cv_prog_cc_pic=
5525
   lt_cv_prog_cc_pic=
4480
  lt_cv_prog_cc_shlib=
5526
  lt_cv_prog_cc_shlib=
...
...
4612
  fi
5658
  fi
4613
5659
4614
fi
5660
fi
4615
5661
4616
if test -z "$lt_cv_prog_cc_pic"; then
5662
if test -z "$lt_cv_prog_cc_pic"; then
4617
  echo "$as_me:$LINENO: result: none" >&5
5663
  { echo "$as_me:$LINENO: result: none" >&5
4618
echo "${ECHO_T}none" >&6
5664
echo "${ECHO_T}none" >&6; }
4619
else
5665
else
4620
  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
5666
  { echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
4621
echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
5667
echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6; }
4622
5668
4623
  # Check to make sure the pic_flag actually works.
5669
  # Check to make sure the pic_flag actually works.
4624
  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
5670
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
4625
echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
5671
echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6; }
4626
  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
5672
  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
4627
  echo $ECHO_N "(cached) $ECHO_C" >&6
5673
  echo $ECHO_N "(cached) $ECHO_C" >&6
4628
else
5674
else
4629
      save_CFLAGS="$CFLAGS"
5675
      save_CFLAGS="$CFLAGS"
4630
    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
5676
    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
4631
    cat >conftest.$ac_ext <<_ACEOF
5677
    cat >conftest.$ac_ext <<_ACEOF
4632
#line $LINENO "configure"
5678
/* confdefs.h.  */
4633
#include "confdefs.h"
5679
_ACEOF
5680
cat confdefs.h >>conftest.$ac_ext
5681
cat >>conftest.$ac_ext <<_ACEOF
5682
/* end confdefs.h.  */
4634
5683
4635
#ifdef F77_DUMMY_MAIN
4636
#  ifdef __cplusplus
4637
     extern "C"
4638
#  endif
4639
   int F77_DUMMY_MAIN() { return 1; }
4640
#endif
4641
int
5684
int
4642
main ()
5685
main ()
4643
{
5686
{
4644
5687
4645
  ;
5688
  ;
4646
  return 0;
5689
  return 0;
4647
}
5690
}
4648
_ACEOF
5691
_ACEOF
4649
rm -f conftest.$ac_objext
5692
rm -f conftest.$ac_objext
5693
if { (ac_try="$ac_compile"
5694
case "(($ac_try" in
5695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5696
  *) ac_try_echo=$ac_try;;
5697
esac
4650
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5698
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4651
  (eval $ac_compile) 2>&5
5699
  (eval "$ac_compile") 2>conftest.er1
4652
  ac_status=$?
5700
  ac_status=$?
5701
  grep -v '^ *+' conftest.er1 >conftest.err
5702
  rm -f conftest.er1
5703
  cat conftest.err >&5
4653
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654
  (exit $ac_status); } &&
5705
  (exit $ac_status); } && {
4655
         { ac_try='test -s conftest.$ac_objext'
5706
   test -z "$ac_c_werror_flag" ||
4656
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5707
   test ! -s conftest.err
4657
  (eval $ac_try) 2>&5
5708
       } && test -s conftest.$ac_objext; then
4658
  ac_status=$?
4659
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660
  (exit $ac_status); }; }; then
4661
        case $host_os in
5709
        case $host_os in
4662
      hpux9* | hpux10* | hpux11*)
5710
      hpux9* | hpux10* | hpux11*)
4663
    # On HP-UX, both CC and GCC only warn that PIC is supported... then
5711
    # On HP-UX, both CC and GCC only warn that PIC is supported... then
4664
    # they create non-PIC objects.  So, if there were any warnings, we
5712
    # they create non-PIC objects.  So, if there were any warnings, we
4665
    # assume that PIC is not supported.
5713
    # assume that PIC is not supported.
...
...
4674
    ;;
5722
    ;;
4675
      esac
5723
      esac
4676
5724
4677
else
5725
else
4678
  echo "$as_me: failed program was:" >&5
5726
  echo "$as_me: failed program was:" >&5
4679
cat conftest.$ac_ext >&5
5727
sed 's/^/| /' conftest.$ac_ext >&5
5728
4680
      lt_cv_prog_cc_pic_works=no
5729
        lt_cv_prog_cc_pic_works=no
4681
5730
4682
fi
5731
fi
5732
4683
rm -f conftest.$ac_objext conftest.$ac_ext
5733
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4684
    CFLAGS="$save_CFLAGS"
5734
    CFLAGS="$save_CFLAGS"
4685
5735
4686
fi
5736
fi
4687
5737
4688
5738
...
...
4691
    lt_cv_prog_cc_can_build_shared=no
5741
    lt_cv_prog_cc_can_build_shared=no
4692
  else
5742
  else
4693
    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
5743
    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
4694
  fi
5744
  fi
4695
5745
4696
  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
5746
  { echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
4697
echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
5747
echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6; }
4698
fi
5748
fi
4699
5749
4700
# Check for any special shared library compilation flags.
5750
# Check for any special shared library compilation flags.
4701
if test -n "$lt_cv_prog_cc_shlib"; then
5751
if test -n "$lt_cv_prog_cc_shlib"; then
4702
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
5752
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
...
...
4707
echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
5757
echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
4708
    lt_cv_prog_cc_can_build_shared=no
5758
    lt_cv_prog_cc_can_build_shared=no
4709
  fi
5759
  fi
4710
fi
5760
fi
4711
5761
4712
echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
5762
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
4713
echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
5763
echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6; }
4714
if test "${lt_cv_prog_cc_static_works+set}" = set; then
5764
if test "${lt_cv_prog_cc_static_works+set}" = set; then
4715
  echo $ECHO_N "(cached) $ECHO_C" >&6
5765
  echo $ECHO_N "(cached) $ECHO_C" >&6
4716
else
5766
else
4717
    lt_cv_prog_cc_static_works=no
5767
    lt_cv_prog_cc_static_works=no
4718
  save_LDFLAGS="$LDFLAGS"
5768
  save_LDFLAGS="$LDFLAGS"
4719
  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
5769
  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
4720
  cat >conftest.$ac_ext <<_ACEOF
5770
  cat >conftest.$ac_ext <<_ACEOF
4721
#line $LINENO "configure"
5771
/* confdefs.h.  */
4722
#include "confdefs.h"
5772
_ACEOF
5773
cat confdefs.h >>conftest.$ac_ext
5774
cat >>conftest.$ac_ext <<_ACEOF
5775
/* end confdefs.h.  */
4723
5776
4724
#ifdef F77_DUMMY_MAIN
4725
#  ifdef __cplusplus
4726
     extern "C"
4727
#  endif
4728
   int F77_DUMMY_MAIN() { return 1; }
4729
#endif
4730
int
5777
int
4731
main ()
5778
main ()
4732
{
5779
{
4733
5780
4734
  ;
5781
  ;
4735
  return 0;
5782
  return 0;
4736
}
5783
}
4737
_ACEOF
5784
_ACEOF
4738
rm -f conftest.$ac_objext conftest$ac_exeext
5785
rm -f conftest.$ac_objext conftest$ac_exeext
5786
if { (ac_try="$ac_link"
5787
case "(($ac_try" in
5788
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5789
  *) ac_try_echo=$ac_try;;
5790
esac
4739
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5791
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4740
  (eval $ac_link) 2>&5
5792
  (eval "$ac_link") 2>conftest.er1
4741
  ac_status=$?
5793
  ac_status=$?
5794
  grep -v '^ *+' conftest.er1 >conftest.err
5795
  rm -f conftest.er1
5796
  cat conftest.err >&5
4742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743
  (exit $ac_status); } &&
5798
  (exit $ac_status); } && {
5799
   test -z "$ac_c_werror_flag" ||
5800
   test ! -s conftest.err
4744
         { ac_try='test -s conftest$ac_exeext'
5801
       } && test -s conftest$ac_exeext &&
4745
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5802
       $as_test_x conftest$ac_exeext; then
4746
  (eval $ac_try) 2>&5
4747
  ac_status=$?
4748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749
  (exit $ac_status); }; }; then
4750
  lt_cv_prog_cc_static_works=yes
5803
  lt_cv_prog_cc_static_works=yes
4751
else
5804
else
4752
  echo "$as_me: failed program was:" >&5
5805
  echo "$as_me: failed program was:" >&5
4753
cat conftest.$ac_ext >&5
5806
sed 's/^/| /' conftest.$ac_ext >&5
5807
5808
4754
fi
5809
fi
4755
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5810
5811
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5812
      conftest$ac_exeext conftest.$ac_ext
4756
  LDFLAGS="$save_LDFLAGS"
5813
  LDFLAGS="$save_LDFLAGS"
4757
5814
4758
fi
5815
fi
4759
5816
4760
5817
4761
# Belt *and* braces to stop my trousers falling down:
5818
# Belt *and* braces to stop my trousers falling down:
4762
test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
5819
test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
4763
echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
5820
{ echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
4764
echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
5821
echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6; }
4765
5822
4766
pic_flag="$lt_cv_prog_cc_pic"
5823
pic_flag="$lt_cv_prog_cc_pic"
4767
special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
5824
special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
4768
wl="$lt_cv_prog_cc_wl"
5825
wl="$lt_cv_prog_cc_wl"
4769
link_static_flag="$lt_cv_prog_cc_static"
5826
link_static_flag="$lt_cv_prog_cc_static"
4770
no_builtin_flag="$lt_cv_prog_cc_no_builtin"
5827
no_builtin_flag="$lt_cv_prog_cc_no_builtin"
4771
can_build_shared="$lt_cv_prog_cc_can_build_shared"
5828
can_build_shared="$lt_cv_prog_cc_can_build_shared"
4772
5829
4773
5830
4774
# Check to see if options -o and -c are simultaneously supported by compiler
5831
# Check to see if options -o and -c are simultaneously supported by compiler
4775
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5832
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
4776
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5833
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
4777
if test "${lt_cv_compiler_c_o+set}" = set; then
5834
if test "${lt_cv_compiler_c_o+set}" = set; then
4778
  echo $ECHO_N "(cached) $ECHO_C" >&6
5835
  echo $ECHO_N "(cached) $ECHO_C" >&6
4779
else
5836
else
4780
5837
4781
$rm -r conftest 2>/dev/null
5838
$rm -r conftest 2>/dev/null
...
...
4790
# builds.
5847
# builds.
4791
chmod -w .
5848
chmod -w .
4792
save_CFLAGS="$CFLAGS"
5849
save_CFLAGS="$CFLAGS"
4793
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5850
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
4794
compiler_c_o=no
5851
compiler_c_o=no
4795
if { (eval echo configure:4795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5852
if { (eval echo configure:5852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
4796
  # The compiler can only warn and ignore the option if not recognized
5853
  # The compiler can only warn and ignore the option if not recognized
4797
  # So say no if there are warnings
5854
  # So say no if there are warnings
4798
  if test -s out/conftest.err; then
5855
  if test -s out/conftest.err; then
4799
    lt_cv_compiler_c_o=no
5856
    lt_cv_compiler_c_o=no
4800
  else
5857
  else
...
...
4814
$rm -r conftest 2>/dev/null
5871
$rm -r conftest 2>/dev/null
4815
5872
4816
fi
5873
fi
4817
5874
4818
compiler_c_o=$lt_cv_compiler_c_o
5875
compiler_c_o=$lt_cv_compiler_c_o
4819
echo "$as_me:$LINENO: result: $compiler_c_o" >&5
5876
{ echo "$as_me:$LINENO: result: $compiler_c_o" >&5
4820
echo "${ECHO_T}$compiler_c_o" >&6
5877
echo "${ECHO_T}$compiler_c_o" >&6; }
4821
5878
4822
if test x"$compiler_c_o" = x"yes"; then
5879
if test x"$compiler_c_o" = x"yes"; then
4823
  # Check to see if we can write to a .lo
5880
  # Check to see if we can write to a .lo
4824
  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
5881
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
4825
echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
5882
echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6; }
4826
  if test "${lt_cv_compiler_o_lo+set}" = set; then
5883
  if test "${lt_cv_compiler_o_lo+set}" = set; then
4827
  echo $ECHO_N "(cached) $ECHO_C" >&6
5884
  echo $ECHO_N "(cached) $ECHO_C" >&6
4828
else
5885
else
4829
5886
4830
  lt_cv_compiler_o_lo=no
5887
  lt_cv_compiler_o_lo=no
4831
  save_CFLAGS="$CFLAGS"
5888
  save_CFLAGS="$CFLAGS"
4832
  CFLAGS="$CFLAGS -c -o conftest.lo"
5889
  CFLAGS="$CFLAGS -c -o conftest.lo"
4833
  save_objext="$ac_objext"
5890
  save_objext="$ac_objext"
4834
  ac_objext=lo
5891
  ac_objext=lo
4835
  cat >conftest.$ac_ext <<_ACEOF
5892
  cat >conftest.$ac_ext <<_ACEOF
4836
#line $LINENO "configure"
5893
/* confdefs.h.  */
4837
#include "confdefs.h"
5894
_ACEOF
5895
cat confdefs.h >>conftest.$ac_ext
5896
cat >>conftest.$ac_ext <<_ACEOF
5897
/* end confdefs.h.  */
4838
5898
4839
#ifdef F77_DUMMY_MAIN
4840
#  ifdef __cplusplus
4841
     extern "C"
4842
#  endif
4843
   int F77_DUMMY_MAIN() { return 1; }
4844
#endif
4845
int
5899
int
4846
main ()
5900
main ()
4847
{
5901
{
4848
int some_variable = 0;
5902
int some_variable = 0;
4849
  ;
5903
  ;
4850
  return 0;
5904
  return 0;
4851
}
5905
}
4852
_ACEOF
5906
_ACEOF
4853
rm -f conftest.$ac_objext
5907
rm -f conftest.$ac_objext
5908
if { (ac_try="$ac_compile"
5909
case "(($ac_try" in
5910
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5911
  *) ac_try_echo=$ac_try;;
5912
esac
4854
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5913
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4855
  (eval $ac_compile) 2>&5
5914
  (eval "$ac_compile") 2>conftest.er1
4856
  ac_status=$?
5915
  ac_status=$?
5916
  grep -v '^ *+' conftest.er1 >conftest.err
5917
  rm -f conftest.er1
5918
  cat conftest.err >&5
4857
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858
  (exit $ac_status); } &&
5920
  (exit $ac_status); } && {
4859
         { ac_try='test -s conftest.$ac_objext'
5921
   test -z "$ac_c_werror_flag" ||
4860
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922
   test ! -s conftest.err
4861
  (eval $ac_try) 2>&5
5923
       } && test -s conftest.$ac_objext; then
4862
  ac_status=$?
4863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864
  (exit $ac_status); }; }; then
4865
      # The compiler can only warn and ignore the option if not recognized
5924
      # The compiler can only warn and ignore the option if not recognized
4866
    # So say no if there are warnings
5925
    # So say no if there are warnings
4867
    if test -s conftest.err; then
5926
    if test -s conftest.err; then
4868
      lt_cv_compiler_o_lo=no
5927
      lt_cv_compiler_o_lo=no
4869
    else
5928
    else
4870
      lt_cv_compiler_o_lo=yes
5929
      lt_cv_compiler_o_lo=yes
4871
    fi
5930
    fi
4872
5931
4873
else
5932
else
4874
  echo "$as_me: failed program was:" >&5
5933
  echo "$as_me: failed program was:" >&5
4875
cat conftest.$ac_ext >&5
5934
sed 's/^/| /' conftest.$ac_ext >&5
5935
5936
4876
fi
5937
fi
5938
4877
rm -f conftest.$ac_objext conftest.$ac_ext
5939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878
  ac_objext="$save_objext"
5940
  ac_objext="$save_objext"
4879
  CFLAGS="$save_CFLAGS"
5941
  CFLAGS="$save_CFLAGS"
4880
5942
4881
fi
5943
fi
4882
5944
4883
  compiler_o_lo=$lt_cv_compiler_o_lo
5945
  compiler_o_lo=$lt_cv_compiler_o_lo
4884
  echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
5946
  { echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
4885
echo "${ECHO_T}$compiler_o_lo" >&6
5947
echo "${ECHO_T}$compiler_o_lo" >&6; }
4886
else
5948
else
4887
  compiler_o_lo=no
5949
  compiler_o_lo=no
4888
fi
5950
fi
4889
5951
4890
# Check to see if we can do hard links to lock some files if needed
5952
# Check to see if we can do hard links to lock some files if needed
4891
hard_links="nottested"
5953
hard_links="nottested"
4892
if test "$compiler_c_o" = no && test "$need_locks" != no; then
5954
if test "$compiler_c_o" = no && test "$need_locks" != no; then
4893
  # do not overwrite the value of need_locks provided by the user
5955
  # do not overwrite the value of need_locks provided by the user
4894
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
5956
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
4895
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5957
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
4896
  hard_links=yes
5958
  hard_links=yes
4897
  $rm conftest*
5959
  $rm conftest*
4898
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
5960
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
4899
  touch conftest.a
5961
  touch conftest.a
4900
  ln conftest.a conftest.b 2>&5 || hard_links=no
5962
  ln conftest.a conftest.b 2>&5 || hard_links=no
4901
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
5963
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
4902
  echo "$as_me:$LINENO: result: $hard_links" >&5
5964
  { echo "$as_me:$LINENO: result: $hard_links" >&5
4903
echo "${ECHO_T}$hard_links" >&6
5965
echo "${ECHO_T}$hard_links" >&6; }
4904
  if test "$hard_links" = no; then
5966
  if test "$hard_links" = no; then
4905
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5967
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
4906
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5968
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
4907
    need_locks=warn
5969
    need_locks=warn
4908
  fi
5970
  fi
...
...
4910
  need_locks=no
5972
  need_locks=no
4911
fi
5973
fi
4912
5974
4913
if test "$GCC" = yes; then
5975
if test "$GCC" = yes; then
4914
  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
5976
  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
4915
  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5977
  { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
4916
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5978
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
4917
  echo "int some_variable = 0;" > conftest.$ac_ext
5979
  echo "int some_variable = 0;" > conftest.$ac_ext
4918
  save_CFLAGS="$CFLAGS"
5980
  save_CFLAGS="$CFLAGS"
4919
  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
5981
  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
4920
  compiler_rtti_exceptions=no
5982
  compiler_rtti_exceptions=no
4921
  cat >conftest.$ac_ext <<_ACEOF
5983
  cat >conftest.$ac_ext <<_ACEOF
4922
#line $LINENO "configure"
5984
/* confdefs.h.  */
4923
#include "confdefs.h"
5985
_ACEOF
5986
cat confdefs.h >>conftest.$ac_ext
5987
cat >>conftest.$ac_ext <<_ACEOF
5988
/* end confdefs.h.  */
4924
5989
4925
#ifdef F77_DUMMY_MAIN
4926
#  ifdef __cplusplus
4927
     extern "C"
4928
#  endif
4929
   int F77_DUMMY_MAIN() { return 1; }
4930
#endif
4931
int
5990
int
4932
main ()
5991
main ()
4933
{
5992
{
4934
int some_variable = 0;
5993
int some_variable = 0;
4935
  ;
5994
  ;
4936
  return 0;
5995
  return 0;
4937
}
5996
}
4938
_ACEOF
5997
_ACEOF
4939
rm -f conftest.$ac_objext
5998
rm -f conftest.$ac_objext
5999
if { (ac_try="$ac_compile"
6000
case "(($ac_try" in
6001
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6002
  *) ac_try_echo=$ac_try;;
6003
esac
4940
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6004
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4941
  (eval $ac_compile) 2>&5
6005
  (eval "$ac_compile") 2>conftest.er1
4942
  ac_status=$?
6006
  ac_status=$?
6007
  grep -v '^ *+' conftest.er1 >conftest.err
6008
  rm -f conftest.er1
6009
  cat conftest.err >&5
4943
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944
  (exit $ac_status); } &&
6011
  (exit $ac_status); } && {
4945
         { ac_try='test -s conftest.$ac_objext'
6012
   test -z "$ac_c_werror_flag" ||
4946
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6013
   test ! -s conftest.err
4947
  (eval $ac_try) 2>&5
6014
       } && test -s conftest.$ac_objext; then
4948
  ac_status=$?
4949
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950
  (exit $ac_status); }; }; then
4951
      # The compiler can only warn and ignore the option if not recognized
6015
      # The compiler can only warn and ignore the option if not recognized
4952
    # So say no if there are warnings
6016
    # So say no if there are warnings
4953
    if test -s conftest.err; then
6017
    if test -s conftest.err; then
4954
      compiler_rtti_exceptions=no
6018
      compiler_rtti_exceptions=no
4955
    else
6019
    else
4956
      compiler_rtti_exceptions=yes
6020
      compiler_rtti_exceptions=yes
4957
    fi
6021
    fi
4958
6022
4959
else
6023
else
4960
  echo "$as_me: failed program was:" >&5
6024
  echo "$as_me: failed program was:" >&5
4961
cat conftest.$ac_ext >&5
6025
sed 's/^/| /' conftest.$ac_ext >&5
6026
6027
4962
fi
6028
fi
6029
4963
rm -f conftest.$ac_objext conftest.$ac_ext
6030
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4964
  CFLAGS="$save_CFLAGS"
6031
  CFLAGS="$save_CFLAGS"
4965
  echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
6032
  { echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
4966
echo "${ECHO_T}$compiler_rtti_exceptions" >&6
6033
echo "${ECHO_T}$compiler_rtti_exceptions" >&6; }
4967
6034
4968
  if test "$compiler_rtti_exceptions" = "yes"; then
6035
  if test "$compiler_rtti_exceptions" = "yes"; then
4969
    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
6036
    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
4970
  else
6037
  else
4971
    no_builtin_flag=' -fno-builtin'
6038
    no_builtin_flag=' -fno-builtin'
4972
  fi
6039
  fi
4973
fi
6040
fi
4974
6041
4975
# See if the linker supports building shared libraries.
6042
# See if the linker supports building shared libraries.
4976
echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
6043
{ echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
4977
echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
6044
echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6; }
4978
6045
4979
allow_undefined_flag=
6046
allow_undefined_flag=
4980
no_undefined_flag=
6047
no_undefined_flag=
4981
need_lib_prefix=unknown
6048
need_lib_prefix=unknown
4982
need_version=unknown
6049
need_version=unknown
...
...
5663
  *)
6730
  *)
5664
    ld_shlibs=no
6731
    ld_shlibs=no
5665
    ;;
6732
    ;;
5666
  esac
6733
  esac
5667
fi
6734
fi
5668
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
6735
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
5669
echo "${ECHO_T}$ld_shlibs" >&6
6736
echo "${ECHO_T}$ld_shlibs" >&6; }
5670
test "$ld_shlibs" = no && can_build_shared=no
6737
test "$ld_shlibs" = no && can_build_shared=no
5671
6738
5672
# Check hardcoding attributes.
6739
# Check hardcoding attributes.
5673
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6740
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
5674
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6741
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
5675
hardcode_action=
6742
hardcode_action=
5676
if test -n "$hardcode_libdir_flag_spec" || \
6743
if test -n "$hardcode_libdir_flag_spec" || \
5677
   test -n "$runpath_var"; then
6744
   test -n "$runpath_var"; then
5678
6745
5679
  # We can hardcode non-existant directories.
6746
  # We can hardcode non-existant directories.
...
...
5692
else
6759
else
5693
  # We cannot hardcode anything, or else we can only hardcode existing
6760
  # We cannot hardcode anything, or else we can only hardcode existing
5694
  # directories.
6761
  # directories.
5695
  hardcode_action=unsupported
6762
  hardcode_action=unsupported
5696
fi
6763
fi
5697
echo "$as_me:$LINENO: result: $hardcode_action" >&5
6764
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
5698
echo "${ECHO_T}$hardcode_action" >&6
6765
echo "${ECHO_T}$hardcode_action" >&6; }
5699
6766
5700
striplib=
6767
striplib=
5701
old_striplib=
6768
old_striplib=
5702
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6769
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
5703
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6770
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
5704
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6771
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
5705
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6772
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
5706
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6773
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
5707
  echo "$as_me:$LINENO: result: yes" >&5
6774
  { echo "$as_me:$LINENO: result: yes" >&5
5708
echo "${ECHO_T}yes" >&6
6775
echo "${ECHO_T}yes" >&6; }
5709
else
6776
else
5710
  echo "$as_me:$LINENO: result: no" >&5
6777
  { echo "$as_me:$LINENO: result: no" >&5
5711
echo "${ECHO_T}no" >&6
6778
echo "${ECHO_T}no" >&6; }
5712
fi
6779
fi
5713
6780
5714
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6781
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5715
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6782
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5716
6783
5717
# PORTME Fill in your ld.so characteristics
6784
# PORTME Fill in your ld.so characteristics
5718
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6785
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
5719
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6786
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
5720
library_names_spec=
6787
library_names_spec=
5721
libname_spec='lib$name'
6788
libname_spec='lib$name'
5722
soname_spec=
6789
soname_spec=
5723
postinstall_cmds=
6790
postinstall_cmds=
5724
postuninstall_cmds=
6791
postuninstall_cmds=
...
...
6115
7182
6116
*)
7183
*)
6117
  dynamic_linker=no
7184
  dynamic_linker=no
6118
  ;;
7185
  ;;
6119
esac
7186
esac
6120
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7187
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6121
echo "${ECHO_T}$dynamic_linker" >&6
7188
echo "${ECHO_T}$dynamic_linker" >&6; }
6122
test "$dynamic_linker" = no && can_build_shared=no
7189
test "$dynamic_linker" = no && can_build_shared=no
6123
7190
6124
# Report the final consequences.
7191
# Report the final consequences.
6125
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
7192
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
6126
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
7193
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
6127
echo "$as_me:$LINENO: result: $can_build_shared" >&5
7194
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
6128
echo "${ECHO_T}$can_build_shared" >&6
7195
echo "${ECHO_T}$can_build_shared" >&6; }
6129
7196
6130
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
7197
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
6131
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
7198
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
6132
test "$can_build_shared" = "no" && enable_shared=no
7199
test "$can_build_shared" = "no" && enable_shared=no
6133
7200
6134
# On AIX, shared libraries and static libraries use the same namespace, and
7201
# On AIX, shared libraries and static libraries use the same namespace, and
6135
# are all built from PIC.
7202
# are all built from PIC.
6136
case "$host_os" in
7203
case "$host_os" in
...
...
6146
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7213
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6147
    test "$enable_shared" = yes && enable_static=no
7214
    test "$enable_shared" = yes && enable_static=no
6148
  fi
7215
  fi
6149
  ;;
7216
  ;;
6150
esac
7217
esac
6151
echo "$as_me:$LINENO: result: $enable_shared" >&5
7218
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
6152
echo "${ECHO_T}$enable_shared" >&6
7219
echo "${ECHO_T}$enable_shared" >&6; }
6153
7220
6154
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
7221
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
6155
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
7222
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
6156
# Make sure either enable_shared or enable_static is yes.
7223
# Make sure either enable_shared or enable_static is yes.
6157
test "$enable_shared" = yes || enable_static=yes
7224
test "$enable_shared" = yes || enable_static=yes
6158
echo "$as_me:$LINENO: result: $enable_static" >&5
7225
{ echo "$as_me:$LINENO: result: $enable_static" >&5
6159
echo "${ECHO_T}$enable_static" >&6
7226
echo "${ECHO_T}$enable_static" >&6; }
6160
7227
6161
if test "$hardcode_action" = relink; then
7228
if test "$hardcode_action" = relink; then
6162
  # Fast installation is not supported
7229
  # Fast installation is not supported
6163
  enable_fast_install=no
7230
  enable_fast_install=no
6164
elif test "$shlibpath_overrides_runpath" = yes ||
7231
elif test "$shlibpath_overrides_runpath" = yes ||
...
...
6191
    lt_cv_dlopen="LoadLibrary"
7258
    lt_cv_dlopen="LoadLibrary"
6192
    lt_cv_dlopen_libs=
7259
    lt_cv_dlopen_libs=
6193
   ;;
7260
   ;;
6194
7261
6195
  *)
7262
  *)
6196
    echo "$as_me:$LINENO: checking for shl_load" >&5
7263
    { echo "$as_me:$LINENO: checking for shl_load" >&5
6197
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7264
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
6198
if test "${ac_cv_func_shl_load+set}" = set; then
7265
if test "${ac_cv_func_shl_load+set}" = set; then
6199
  echo $ECHO_N "(cached) $ECHO_C" >&6
7266
  echo $ECHO_N "(cached) $ECHO_C" >&6
6200
else
7267
else
6201
  cat >conftest.$ac_ext <<_ACEOF
7268
  cat >conftest.$ac_ext <<_ACEOF
6202
#line $LINENO "configure"
7269
/* confdefs.h.  */
6203
#include "confdefs.h"
7270
_ACEOF
7271
cat confdefs.h >>conftest.$ac_ext
7272
cat >>conftest.$ac_ext <<_ACEOF
7273
/* end confdefs.h.  */
7274
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
7275
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7276
#define shl_load innocuous_shl_load
7277
6204
/* System header to define __stub macros and hopefully few prototypes,
7278
/* System header to define __stub macros and hopefully few prototypes,
6205
    which can conflict with char shl_load (); below.  */
7279
    which can conflict with char shl_load (); below.
7280
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7281
    <limits.h> exists even on freestanding compilers.  */
7282
7283
#ifdef __STDC__
7284
# include <limits.h>
7285
#else
6206
#include <assert.h>
7286
# include <assert.h>
7287
#endif
7288
7289
#undef shl_load
7290
6207
/* Override any gcc2 internal prototype to avoid an error.  */
7291
/* Override any GCC internal prototype to avoid an error.
7292
   Use char because int might match the return type of a GCC
7293
   builtin and then its argument prototype would still apply.  */
6208
#ifdef __cplusplus
7294
#ifdef __cplusplus
6209
extern "C"
7295
extern "C"
6210
#endif
7296
#endif
6211
/* We use char because int might match the return type of a gcc2
6212
   builtin and then its argument prototype would still apply.  */
6213
char shl_load ();
7297
char shl_load ();
6214
char (*f) ();
7298
/* The GNU C library defines this for functions which it implements
6215
7299
    to always fail with ENOSYS.  Some functions are actually named
6216
#ifdef F77_DUMMY_MAIN
7300
    something starting with __ and the normal name is an alias.  */
6217
#  ifdef __cplusplus
7301
#if defined __stub_shl_load || defined __stub___shl_load
6218
     extern "C"
7302
choke me
6219
#  endif
6220
   int F77_DUMMY_MAIN() { return 1; }
6221
#endif
7303
#endif
7304
6222
int
7305
int
6223
main ()
7306
main ()
6224
{
7307
{
7308
return shl_load ();
7309
  ;
7310
  return 0;
7311
}
7312
_ACEOF
7313
rm -f conftest.$ac_objext conftest$ac_exeext
7314
if { (ac_try="$ac_link"
7315
case "(($ac_try" in
7316
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7317
  *) ac_try_echo=$ac_try;;
7318
esac
7319
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7320
  (eval "$ac_link") 2>conftest.er1
7321
  ac_status=$?
7322
  grep -v '^ *+' conftest.er1 >conftest.err
7323
  rm -f conftest.er1
7324
  cat conftest.err >&5
7325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326
  (exit $ac_status); } && {
7327
   test -z "$ac_c_werror_flag" ||
7328
   test ! -s conftest.err
7329
       } && test -s conftest$ac_exeext &&
7330
       $as_test_x conftest$ac_exeext; then
7331
  ac_cv_func_shl_load=yes
7332
else
7333
  echo "$as_me: failed program was:" >&5
7334
sed 's/^/| /' conftest.$ac_ext >&5
7335
7336
  ac_cv_func_shl_load=no
7337
fi
7338
7339
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7340
      conftest$ac_exeext conftest.$ac_ext
7341
fi
7342
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7343
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
7344
if test $ac_cv_func_shl_load = yes; then
7345
  lt_cv_dlopen="shl_load"
7346
else
7347
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7348
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
7349
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7350
  echo $ECHO_N "(cached) $ECHO_C" >&6
7351
else
7352
  ac_check_lib_save_LIBS=$LIBS
7353
LIBS="-ldld  $LIBS"
7354
cat >conftest.$ac_ext <<_ACEOF
7355
/* confdefs.h.  */
7356
_ACEOF
7357
cat confdefs.h >>conftest.$ac_ext
7358
cat >>conftest.$ac_ext <<_ACEOF
7359
/* end confdefs.h.  */
7360
7361
/* Override any GCC internal prototype to avoid an error.
7362
   Use char because int might match the return type of a GCC
7363
   builtin and then its argument prototype would still apply.  */
7364
#ifdef __cplusplus
7365
extern "C"
7366
#endif
7367
char shl_load ();
7368
int
7369
main ()
7370
{
7371
return shl_load ();
7372
  ;
7373
  return 0;
7374
}
7375
_ACEOF
7376
rm -f conftest.$ac_objext conftest$ac_exeext
7377
if { (ac_try="$ac_link"
7378
case "(($ac_try" in
7379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7380
  *) ac_try_echo=$ac_try;;
7381
esac
7382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7383
  (eval "$ac_link") 2>conftest.er1
7384
  ac_status=$?
7385
  grep -v '^ *+' conftest.er1 >conftest.err
7386
  rm -f conftest.er1
7387
  cat conftest.err >&5
7388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389
  (exit $ac_status); } && {
7390
   test -z "$ac_c_werror_flag" ||
7391
   test ! -s conftest.err
7392
       } && test -s conftest$ac_exeext &&
7393
       $as_test_x conftest$ac_exeext; then
7394
  ac_cv_lib_dld_shl_load=yes
7395
else
7396
  echo "$as_me: failed program was:" >&5
7397
sed 's/^/| /' conftest.$ac_ext >&5
7398
7399
  ac_cv_lib_dld_shl_load=no
7400
fi
7401
7402
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7403
      conftest$ac_exeext conftest.$ac_ext
7404
LIBS=$ac_check_lib_save_LIBS
7405
fi
7406
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7407
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
7408
if test $ac_cv_lib_dld_shl_load = yes; then
7409
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
7410
else
7411
  { echo "$as_me:$LINENO: checking for dlopen" >&5
7412
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
7413
if test "${ac_cv_func_dlopen+set}" = set; then
7414
  echo $ECHO_N "(cached) $ECHO_C" >&6
7415
else
7416
  cat >conftest.$ac_ext <<_ACEOF
7417
/* confdefs.h.  */
7418
_ACEOF
7419
cat confdefs.h >>conftest.$ac_ext
7420
cat >>conftest.$ac_ext <<_ACEOF
7421
/* end confdefs.h.  */
7422
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
7423
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7424
#define dlopen innocuous_dlopen
7425
7426
/* System header to define __stub macros and hopefully few prototypes,
7427
    which can conflict with char dlopen (); below.
7428
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7429
    <limits.h> exists even on freestanding compilers.  */
7430
7431
#ifdef __STDC__
7432
# include <limits.h>
7433
#else
7434
# include <assert.h>
7435
#endif
7436
7437
#undef dlopen
7438
7439
/* Override any GCC internal prototype to avoid an error.
7440
   Use char because int might match the return type of a GCC
7441
   builtin and then its argument prototype would still apply.  */
7442
#ifdef __cplusplus
7443
extern "C"
7444
#endif
7445
char dlopen ();
6225
/* The GNU C library defines this for functions which it implements
7446
/* The GNU C library defines this for functions which it implements
6226
    to always fail with ENOSYS.  Some functions are actually named
7447
    to always fail with ENOSYS.  Some functions are actually named
6227
    something starting with __ and the normal name is an alias.  */
7448
    something starting with __ and the normal name is an alias.  */
6228
#if defined (__stub_shl_load) || defined (__stub___shl_load)
7449
#if defined __stub_dlopen || defined __stub___dlopen
6229
choke me
7450
choke me
6230
#else
6231
f = shl_load;
6232
#endif
7451
#endif
6233
7452
7453
int
7454
main ()
7455
{
7456
return dlopen ();
6234
  ;
7457
  ;
6235
  return 0;
7458
  return 0;
6236
}
7459
}
6237
_ACEOF
7460
_ACEOF
6238
rm -f conftest.$ac_objext conftest$ac_exeext
7461
rm -f conftest.$ac_objext conftest$ac_exeext
7462
if { (ac_try="$ac_link"
7463
case "(($ac_try" in
7464
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7465
  *) ac_try_echo=$ac_try;;
7466
esac
6239
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7467
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6240
  (eval $ac_link) 2>&5
7468
  (eval "$ac_link") 2>conftest.er1
6241
  ac_status=$?
7469
  ac_status=$?
7470
  grep -v '^ *+' conftest.er1 >conftest.err
7471
  rm -f conftest.er1
7472
  cat conftest.err >&5
6242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243
  (exit $ac_status); } &&
7474
  (exit $ac_status); } && {
7475
   test -z "$ac_c_werror_flag" ||
7476
   test ! -s conftest.err
6244
         { ac_try='test -s conftest$ac_exeext'
7477
       } && test -s conftest$ac_exeext &&
7478
       $as_test_x conftest$ac_exeext; then
7479
  ac_cv_func_dlopen=yes
7480
else
7481
  echo "$as_me: failed program was:" >&5
7482
sed 's/^/| /' conftest.$ac_ext >&5
7483
7484
  ac_cv_func_dlopen=no
7485
fi
7486
7487
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7488
      conftest$ac_exeext conftest.$ac_ext
7489
fi
7490
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7491
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
7492
if test $ac_cv_func_dlopen = yes; then
7493
  lt_cv_dlopen="dlopen"
7494
else
7495
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7496
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
7497
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7498
  echo $ECHO_N "(cached) $ECHO_C" >&6
7499
else
7500
  ac_check_lib_save_LIBS=$LIBS
7501
LIBS="-ldl  $LIBS"
7502
cat >conftest.$ac_ext <<_ACEOF
7503
/* confdefs.h.  */
7504
_ACEOF
7505
cat confdefs.h >>conftest.$ac_ext
7506
cat >>conftest.$ac_ext <<_ACEOF
7507
/* end confdefs.h.  */
7508
7509
/* Override any GCC internal prototype to avoid an error.
7510
   Use char because int might match the return type of a GCC
7511
   builtin and then its argument prototype would still apply.  */
7512
#ifdef __cplusplus
7513
extern "C"
7514
#endif
7515
char dlopen ();
7516
int
7517
main ()
7518
{
7519
return dlopen ();
7520
  ;
7521
  return 0;
7522
}
7523
_ACEOF
7524
rm -f conftest.$ac_objext conftest$ac_exeext
7525
if { (ac_try="$ac_link"
7526
case "(($ac_try" in
7527
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7528
  *) ac_try_echo=$ac_try;;
7529
esac
6245
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7530
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6246
  (eval $ac_try) 2>&5
7531
  (eval "$ac_link") 2>conftest.er1
6247
  ac_status=$?
7532
  ac_status=$?
7533
  grep -v '^ *+' conftest.er1 >conftest.err
7534
  rm -f conftest.er1
7535
  cat conftest.err >&5
6248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249
  (exit $ac_status); }; }; then
7537
  (exit $ac_status); } && {
6250
  ac_cv_func_shl_load=yes
7538
   test -z "$ac_c_werror_flag" ||
7539
   test ! -s conftest.err
7540
       } && test -s conftest$ac_exeext &&
7541
       $as_test_x conftest$ac_exeext; then
7542
  ac_cv_lib_dl_dlopen=yes
6251
else
7543
else
6252
  echo "$as_me: failed program was:" >&5
7544
  echo "$as_me: failed program was:" >&5
7545
sed 's/^/| /' conftest.$ac_ext >&5
7546
7547
  ac_cv_lib_dl_dlopen=no
7548
fi
7549
7550
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7551
      conftest$ac_exeext conftest.$ac_ext
7552
LIBS=$ac_check_lib_save_LIBS
7553
fi
7554
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7555
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
7556
if test $ac_cv_lib_dl_dlopen = yes; then
7557
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7558
else
7559
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7560
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
7561
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7562
  echo $ECHO_N "(cached) $ECHO_C" >&6
7563
else
7564
  ac_check_lib_save_LIBS=$LIBS
7565
LIBS="-lsvld  $LIBS"
6253
cat conftest.$ac_ext >&5
7566
cat >conftest.$ac_ext <<_ACEOF
6254
ac_cv_func_shl_load=no
7567
/* confdefs.h.  */
6255
fi
7568
_ACEOF
7569
cat confdefs.h >>conftest.$ac_ext
7570
cat >>conftest.$ac_ext <<_ACEOF
7571
/* end confdefs.h.  */
7572
7573
/* Override any GCC internal prototype to avoid an error.
7574
   Use char because int might match the return type of a GCC
7575
   builtin and then its argument prototype would still apply.  */
7576
#ifdef __cplusplus
7577
extern "C"
7578
#endif
7579
char dlopen ();
7580
int
7581
main ()
7582
{
7583
return dlopen ();
7584
  ;
7585
  return 0;
7586
}
7587
_ACEOF
6256
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7588
rm -f conftest.$ac_objext conftest$ac_exeext
7589
if { (ac_try="$ac_link"
7590
case "(($ac_try" in
7591
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7592
  *) ac_try_echo=$ac_try;;
7593
esac
7594
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7595
  (eval "$ac_link") 2>conftest.er1
7596
  ac_status=$?
7597
  grep -v '^ *+' conftest.er1 >conftest.err
7598
  rm -f conftest.er1
7599
  cat conftest.err >&5
7600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601
  (exit $ac_status); } && {
7602
   test -z "$ac_c_werror_flag" ||
7603
   test ! -s conftest.err
7604
       } && test -s conftest$ac_exeext &&
7605
       $as_test_x conftest$ac_exeext; then
7606
  ac_cv_lib_svld_dlopen=yes
7607
else
7608
  echo "$as_me: failed program was:" >&5
7609
sed 's/^/| /' conftest.$ac_ext >&5
7610
7611
  ac_cv_lib_svld_dlopen=no
6257
fi
7612
fi
7613
7614
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7615
      conftest$ac_exeext conftest.$ac_ext
7616
LIBS=$ac_check_lib_save_LIBS
7617
fi
6258
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7618
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
6259
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7619
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
6260
if test $ac_cv_func_shl_load = yes; then
7620
if test $ac_cv_lib_svld_dlopen = yes; then
6261
  lt_cv_dlopen="shl_load"
7621
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
6262
else
7622
else
6263
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7623
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
6264
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7624
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
6265
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7625
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
6266
  echo $ECHO_N "(cached) $ECHO_C" >&6
7626
  echo $ECHO_N "(cached) $ECHO_C" >&6
6267
else
7627
else
6268
  ac_check_lib_save_LIBS=$LIBS
7628
  ac_check_lib_save_LIBS=$LIBS
6269
LIBS="-ldld  $LIBS"
7629
LIBS="-ldld  $LIBS"
6270
cat >conftest.$ac_ext <<_ACEOF
7630
cat >conftest.$ac_ext <<_ACEOF
6271
#line $LINENO "configure"
7631
/* confdefs.h.  */
6272
#include "confdefs.h"
7632
_ACEOF
7633
cat confdefs.h >>conftest.$ac_ext
7634
cat >>conftest.$ac_ext <<_ACEOF
7635
/* end confdefs.h.  */
6273
7636
6274
/* Override any gcc2 internal prototype to avoid an error.  */
7637
/* Override any GCC internal prototype to avoid an error.
7638
   Use char because int might match the return type of a GCC
7639
   builtin and then its argument prototype would still apply.  */
6275
#ifdef __cplusplus
7640
#ifdef __cplusplus
6276
extern "C"
7641
extern "C"
6277
#endif
7642
#endif
6278
/* We use char because int might match the return type of a gcc2
7643
char dld_link ();
6279
   builtin and then its argument prototype would still apply.  */
6280
char shl_load ();
6281
#ifdef F77_DUMMY_MAIN
6282
#  ifdef __cplusplus
6283
     extern "C"
6284
#  endif
6285
   int F77_DUMMY_MAIN() { return 1; }
6286
#endif
6287
int
7644
int
6288
main ()
7645
main ()
6289
{
7646
{
6290
shl_load ();
7647
return dld_link ();
6291
  ;
7648
  ;
6292
  return 0;
7649
  return 0;
6293
}
7650
}
6294
_ACEOF
7651
_ACEOF
6295
rm -f conftest.$ac_objext conftest$ac_exeext
7652
rm -f conftest.$ac_objext conftest$ac_exeext
7653
if { (ac_try="$ac_link"
7654
case "(($ac_try" in
7655
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7656
  *) ac_try_echo=$ac_try;;
7657
esac
6296
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7658
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6297
  (eval $ac_link) 2>&5
7659
  (eval "$ac_link") 2>conftest.er1
6298
  ac_status=$?
7660
  ac_status=$?
7661
  grep -v '^ *+' conftest.er1 >conftest.err
7662
  rm -f conftest.er1
7663
  cat conftest.err >&5
6299
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300
  (exit $ac_status); } &&
7665
  (exit $ac_status); } && {
7666
   test -z "$ac_c_werror_flag" ||
7667
   test ! -s conftest.err
6301
         { ac_try='test -s conftest$ac_exeext'
7668
       } && test -s conftest$ac_exeext &&
6302
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7669
       $as_test_x conftest$ac_exeext; then
6303
  (eval $ac_try) 2>&5
6304
  ac_status=$?
6305
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306
  (exit $ac_status); }; }; then
6307
  ac_cv_lib_dld_shl_load=yes
7670
  ac_cv_lib_dld_dld_link=yes
6308
else
7671
else
6309
  echo "$as_me: failed program was:" >&5
7672
  echo "$as_me: failed program was:" >&5
6310
cat conftest.$ac_ext >&5
7673
sed 's/^/| /' conftest.$ac_ext >&5
7674
6311
ac_cv_lib_dld_shl_load=no
7675
  ac_cv_lib_dld_dld_link=no
6312
fi
7676
fi
6313
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7677
7678
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7679
      conftest$ac_exeext conftest.$ac_ext
6314
LIBS=$ac_check_lib_save_LIBS
7680
LIBS=$ac_check_lib_save_LIBS
6315
fi
7681
fi
6316
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6317
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
6318
if test $ac_cv_lib_dld_shl_load = yes; then
6319
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
6320
else
6321
  echo "$as_me:$LINENO: checking for dlopen" >&5
6322
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
6323
if test "${ac_cv_func_dlopen+set}" = set; then
6324
  echo $ECHO_N "(cached) $ECHO_C" >&6
6325
else
6326
  cat >conftest.$ac_ext <<_ACEOF
6327
#line $LINENO "configure"
6328
#include "confdefs.h"
6329
/* System header to define __stub macros and hopefully few prototypes,
6330
    which can conflict with char dlopen (); below.  */
6331
#include <assert.h>
6332
/* Override any gcc2 internal prototype to avoid an error.  */
6333
#ifdef __cplusplus
6334
extern "C"
6335
#endif
6336
/* We use char because int might match the return type of a gcc2
6337
   builtin and then its argument prototype would still apply.  */
6338
char dlopen ();
6339
char (*f) ();
6340
6341
#ifdef F77_DUMMY_MAIN
6342
#  ifdef __cplusplus
6343
     extern "C"
6344
#  endif
6345
   int F77_DUMMY_MAIN() { return 1; }
6346
#endif
6347
int
6348
main ()
6349
{
6350
/* The GNU C library defines this for functions which it implements
6351
    to always fail with ENOSYS.  Some functions are actually named
6352
    something starting with __ and the normal name is an alias.  */
6353
#if defined (__stub_dlopen) || defined (__stub___dlopen)
6354
choke me
6355
#else
6356
f = dlopen;
6357
#endif
6358
6359
  ;
6360
  return 0;
6361
}
6362
_ACEOF
6363
rm -f conftest.$ac_objext conftest$ac_exeext
6364
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6365
  (eval $ac_link) 2>&5
6366
  ac_status=$?
6367
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368
  (exit $ac_status); } &&
6369
         { ac_try='test -s conftest$ac_exeext'
6370
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6371
  (eval $ac_try) 2>&5
6372
  ac_status=$?
6373
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374
  (exit $ac_status); }; }; then
6375
  ac_cv_func_dlopen=yes
6376
else
6377
  echo "$as_me: failed program was:" >&5
6378
cat conftest.$ac_ext >&5
6379
ac_cv_func_dlopen=no
6380
fi
6381
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6382
fi
6383
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
6384
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
6385
if test $ac_cv_func_dlopen = yes; then
6386
  lt_cv_dlopen="dlopen"
6387
else
6388
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6389
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6390
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6391
  echo $ECHO_N "(cached) $ECHO_C" >&6
6392
else
6393
  ac_check_lib_save_LIBS=$LIBS
6394
LIBS="-ldl  $LIBS"
6395
cat >conftest.$ac_ext <<_ACEOF
6396
#line $LINENO "configure"
6397
#include "confdefs.h"
6398
6399
/* Override any gcc2 internal prototype to avoid an error.  */
6400
#ifdef __cplusplus
6401
extern "C"
6402
#endif
6403
/* We use char because int might match the return type of a gcc2
6404
   builtin and then its argument prototype would still apply.  */
6405
char dlopen ();
6406
#ifdef F77_DUMMY_MAIN
6407
#  ifdef __cplusplus
6408
     extern "C"
6409
#  endif
6410
   int F77_DUMMY_MAIN() { return 1; }
6411
#endif
6412
int
6413
main ()
6414
{
6415
dlopen ();
6416
  ;
6417
  return 0;
6418
}
6419
_ACEOF
6420
rm -f conftest.$ac_objext conftest$ac_exeext
6421
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6422
  (eval $ac_link) 2>&5
6423
  ac_status=$?
6424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425
  (exit $ac_status); } &&
6426
         { ac_try='test -s conftest$ac_exeext'
6427
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428
  (eval $ac_try) 2>&5
6429
  ac_status=$?
6430
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431
  (exit $ac_status); }; }; then
6432
  ac_cv_lib_dl_dlopen=yes
6433
else
6434
  echo "$as_me: failed program was:" >&5
6435
cat conftest.$ac_ext >&5
6436
ac_cv_lib_dl_dlopen=no
6437
fi
6438
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6439
LIBS=$ac_check_lib_save_LIBS
6440
fi
6441
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6442
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6443
if test $ac_cv_lib_dl_dlopen = yes; then
6444
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6445
else
6446
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
6447
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
6448
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
6449
  echo $ECHO_N "(cached) $ECHO_C" >&6
6450
else
6451
  ac_check_lib_save_LIBS=$LIBS
6452
LIBS="-lsvld  $LIBS"
6453
cat >conftest.$ac_ext <<_ACEOF
6454
#line $LINENO "configure"
6455
#include "confdefs.h"
6456
6457
/* Override any gcc2 internal prototype to avoid an error.  */
6458
#ifdef __cplusplus
6459
extern "C"
6460
#endif
6461
/* We use char because int might match the return type of a gcc2
6462
   builtin and then its argument prototype would still apply.  */
6463
char dlopen ();
6464
#ifdef F77_DUMMY_MAIN
6465
#  ifdef __cplusplus
6466
     extern "C"
6467
#  endif
6468
   int F77_DUMMY_MAIN() { return 1; }
6469
#endif
6470
int
6471
main ()
6472
{
6473
dlopen ();
6474
  ;
6475
  return 0;
6476
}
6477
_ACEOF
6478
rm -f conftest.$ac_objext conftest$ac_exeext
6479
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6480
  (eval $ac_link) 2>&5
6481
  ac_status=$?
6482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483
  (exit $ac_status); } &&
6484
         { ac_try='test -s conftest$ac_exeext'
6485
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6486
  (eval $ac_try) 2>&5
6487
  ac_status=$?
6488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489
  (exit $ac_status); }; }; then
6490
  ac_cv_lib_svld_dlopen=yes
6491
else
6492
  echo "$as_me: failed program was:" >&5
6493
cat conftest.$ac_ext >&5
6494
ac_cv_lib_svld_dlopen=no
6495
fi
6496
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6497
LIBS=$ac_check_lib_save_LIBS
6498
fi
6499
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
6500
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
6501
if test $ac_cv_lib_svld_dlopen = yes; then
6502
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
6503
else
6504
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
6505
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
6506
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
6507
  echo $ECHO_N "(cached) $ECHO_C" >&6
6508
else
6509
  ac_check_lib_save_LIBS=$LIBS
6510
LIBS="-ldld  $LIBS"
6511
cat >conftest.$ac_ext <<_ACEOF
6512
#line $LINENO "configure"
6513
#include "confdefs.h"
6514
6515
/* Override any gcc2 internal prototype to avoid an error.  */
6516
#ifdef __cplusplus
6517
extern "C"
6518
#endif
6519
/* We use char because int might match the return type of a gcc2
6520
   builtin and then its argument prototype would still apply.  */
6521
char dld_link ();
6522
#ifdef F77_DUMMY_MAIN
6523
#  ifdef __cplusplus
6524
     extern "C"
6525
#  endif
6526
   int F77_DUMMY_MAIN() { return 1; }
6527
#endif
6528
int
6529
main ()
6530
{
6531
dld_link ();
6532
  ;
6533
  return 0;
6534
}
6535
_ACEOF
6536
rm -f conftest.$ac_objext conftest$ac_exeext
6537
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6538
  (eval $ac_link) 2>&5
6539
  ac_status=$?
6540
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541
  (exit $ac_status); } &&
6542
         { ac_try='test -s conftest$ac_exeext'
6543
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544
  (eval $ac_try) 2>&5
6545
  ac_status=$?
6546
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547
  (exit $ac_status); }; }; then
6548
  ac_cv_lib_dld_dld_link=yes
6549
else
6550
  echo "$as_me: failed program was:" >&5
6551
cat conftest.$ac_ext >&5
6552
ac_cv_lib_dld_dld_link=no
6553
fi
6554
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6555
LIBS=$ac_check_lib_save_LIBS
6556
fi
6557
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7682
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
6558
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
7683
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
6559
if test $ac_cv_lib_dld_dld_link = yes; then
7684
if test $ac_cv_lib_dld_dld_link = yes; then
6560
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
7685
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
6561
fi
7686
fi
6562
7687
6563
7688
...
...
6593
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
7718
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
6594
7719
6595
    save_LIBS="$LIBS"
7720
    save_LIBS="$LIBS"
6596
    LIBS="$lt_cv_dlopen_libs $LIBS"
7721
    LIBS="$lt_cv_dlopen_libs $LIBS"
6597
7722
6598
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
7723
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
6599
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
7724
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
6600
if test "${lt_cv_dlopen_self+set}" = set; then
7725
if test "${lt_cv_dlopen_self+set}" = set; then
6601
  echo $ECHO_N "(cached) $ECHO_C" >&6
7726
  echo $ECHO_N "(cached) $ECHO_C" >&6
6602
else
7727
else
6603
      if test "$cross_compiling" = yes; then :
7728
      if test "$cross_compiling" = yes; then :
6604
  lt_cv_dlopen_self=cross
7729
  lt_cv_dlopen_self=cross
6605
else
7730
else
6606
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7731
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6607
  lt_status=$lt_dlunknown
7732
  lt_status=$lt_dlunknown
6608
  cat > conftest.$ac_ext <<EOF
7733
  cat > conftest.$ac_ext <<EOF
6609
#line 6609 "configure"
7734
#line 7734 "configure"
6610
#include "confdefs.h"
7735
#include "confdefs.h"
6611
7736
6612
#if HAVE_DLFCN_H
7737
#if HAVE_DLFCN_H
6613
#include <dlfcn.h>
7738
#include <dlfcn.h>
6614
#endif
7739
#endif
...
...
6686
fi
7811
fi
6687
rm -fr conftest*
7812
rm -fr conftest*
6688
7813
6689
7814
6690
fi
7815
fi
6691
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
7816
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
6692
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
7817
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
6693
7818
6694
    if test "x$lt_cv_dlopen_self" = xyes; then
7819
    if test "x$lt_cv_dlopen_self" = xyes; then
6695
      LDFLAGS="$LDFLAGS $link_static_flag"
7820
      LDFLAGS="$LDFLAGS $link_static_flag"
6696
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
7821
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
6697
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
7822
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
6698
if test "${lt_cv_dlopen_self_static+set}" = set; then
7823
if test "${lt_cv_dlopen_self_static+set}" = set; then
6699
  echo $ECHO_N "(cached) $ECHO_C" >&6
7824
  echo $ECHO_N "(cached) $ECHO_C" >&6
6700
else
7825
else
6701
      if test "$cross_compiling" = yes; then :
7826
      if test "$cross_compiling" = yes; then :
6702
  lt_cv_dlopen_self_static=cross
7827
  lt_cv_dlopen_self_static=cross
6703
else
7828
else
6704
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7829
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6705
  lt_status=$lt_dlunknown
7830
  lt_status=$lt_dlunknown
6706
  cat > conftest.$ac_ext <<EOF
7831
  cat > conftest.$ac_ext <<EOF
6707
#line 6707 "configure"
7832
#line 7832 "configure"
6708
#include "confdefs.h"
7833
#include "confdefs.h"
6709
7834
6710
#if HAVE_DLFCN_H
7835
#if HAVE_DLFCN_H
6711
#include <dlfcn.h>
7836
#include <dlfcn.h>
6712
#endif
7837
#endif
...
...
6784
fi
7909
fi
6785
rm -fr conftest*
7910
rm -fr conftest*
6786
7911
6787
7912
6788
fi
7913
fi
6789
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
7914
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
6790
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
7915
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
6791
    fi
7916
    fi
6792
7917
6793
    CPPFLAGS="$save_CPPFLAGS"
7918
    CPPFLAGS="$save_CPPFLAGS"
6794
    LDFLAGS="$save_LDFLAGS"
7919
    LDFLAGS="$save_LDFLAGS"
6795
    LIBS="$save_LIBS"
7920
    LIBS="$save_LIBS"
...
...
6815
    ;;
7940
    ;;
6816
  '$CC '*)
7941
  '$CC '*)
6817
    # Test whether the compiler implicitly links with -lc since on some
7942
    # Test whether the compiler implicitly links with -lc since on some
6818
    # systems, -lgcc has to come before -lc. If gcc already passes -lc
7943
    # systems, -lgcc has to come before -lc. If gcc already passes -lc
6819
    # to ld, don't add -lc before -lgcc.
7944
    # to ld, don't add -lc before -lgcc.
6820
    echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7945
    { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
6821
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7946
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
6822
    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
7947
    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
6823
  echo $ECHO_N "(cached) $ECHO_C" >&6
7948
  echo $ECHO_N "(cached) $ECHO_C" >&6
6824
else
7949
else
6825
  $rm conftest*
7950
  $rm conftest*
6826
    echo 'static int dummy;' > conftest.$ac_ext
7951
    echo 'static int dummy;' > conftest.$ac_ext
...
...
6856
    else
7981
    else
6857
      cat conftest.err 1>&5
7982
      cat conftest.err 1>&5
6858
    fi
7983
    fi
6859
fi
7984
fi
6860
7985
6861
    echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
7986
    { echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
6862
echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
7987
echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6; }
6863
    ;;
7988
    ;;
6864
  esac
7989
  esac
6865
fi
7990
fi
6866
need_lc=${lt_cv_archive_cmds_need_lc-yes}
7991
need_lc=${lt_cv_archive_cmds_need_lc-yes}
6867
7992
...
...
7432
8557
7433
8558
7434
8559
7435
# Extract the first word of "perl", so it can be a program name with args.
8560
# Extract the first word of "perl", so it can be a program name with args.
7436
set dummy perl; ac_word=$2
8561
set dummy perl; ac_word=$2
7437
echo "$as_me:$LINENO: checking for $ac_word" >&5
8562
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7438
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8563
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7439
if test "${ac_cv_path_PERL+set}" = set; then
8564
if test "${ac_cv_path_PERL+set}" = set; then
7440
  echo $ECHO_N "(cached) $ECHO_C" >&6
8565
  echo $ECHO_N "(cached) $ECHO_C" >&6
7441
else
8566
else
7442
  case $PERL in
8567
  case $PERL in
7443
  [\\/]* | ?:[\\/]*)
8568
  [\\/]* | ?:[\\/]*)
...
...
7448
for as_dir in $PATH
8573
for as_dir in $PATH
7449
do
8574
do
7450
  IFS=$as_save_IFS
8575
  IFS=$as_save_IFS
7451
  test -z "$as_dir" && as_dir=.
8576
  test -z "$as_dir" && as_dir=.
7452
  for ac_exec_ext in '' $ac_executable_extensions; do
8577
  for ac_exec_ext in '' $ac_executable_extensions; do
7453
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8578
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7454
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
8579
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7455
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8580
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7456
    break 2
8581
    break 2
7457
  fi
8582
  fi
7458
done
8583
done
7459
done
8584
done
8585
IFS=$as_save_IFS
7460
8586
7461
  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
8587
  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
7462
  ;;
8588
  ;;
7463
esac
8589
esac
7464
fi
8590
fi
7465
PERL=$ac_cv_path_PERL
8591
PERL=$ac_cv_path_PERL
7466
7467
if test -n "$PERL"; then
8592
if test -n "$PERL"; then
7468
  echo "$as_me:$LINENO: result: $PERL" >&5
8593
  { echo "$as_me:$LINENO: result: $PERL" >&5
7469
echo "${ECHO_T}$PERL" >&6
8594
echo "${ECHO_T}$PERL" >&6; }
7470
else
8595
else
7471
  echo "$as_me:$LINENO: result: no" >&5
8596
  { echo "$as_me:$LINENO: result: no" >&5
7472
echo "${ECHO_T}no" >&6
8597
echo "${ECHO_T}no" >&6; }
7473
fi
8598
fi
8599
7474
8600
7475
# Extract the first word of "sh", so it can be a program name with args.
8601
# Extract the first word of "sh", so it can be a program name with args.
7476
set dummy sh; ac_word=$2
8602
set dummy sh; ac_word=$2
7477
echo "$as_me:$LINENO: checking for $ac_word" >&5
8603
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7478
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8604
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7479
if test "${ac_cv_path_SH+set}" = set; then
8605
if test "${ac_cv_path_SH+set}" = set; then
7480
  echo $ECHO_N "(cached) $ECHO_C" >&6
8606
  echo $ECHO_N "(cached) $ECHO_C" >&6
7481
else
8607
else
7482
  case $SH in
8608
  case $SH in
7483
  [\\/]* | ?:[\\/]*)
8609
  [\\/]* | ?:[\\/]*)
...
...
7488
for as_dir in $PATH
8614
for as_dir in $PATH
7489
do
8615
do
7490
  IFS=$as_save_IFS
8616
  IFS=$as_save_IFS
7491
  test -z "$as_dir" && as_dir=.
8617
  test -z "$as_dir" && as_dir=.
7492
  for ac_exec_ext in '' $ac_executable_extensions; do
8618
  for ac_exec_ext in '' $ac_executable_extensions; do
7493
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8619
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7494
    ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
8620
    ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
7495
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8621
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7496
    break 2
8622
    break 2
7497
  fi
8623
  fi
7498
done
8624
done
7499
done
8625
done
8626
IFS=$as_save_IFS
7500
8627
7501
  test -z "$ac_cv_path_SH" && ac_cv_path_SH="/bin/sh"
8628
  test -z "$ac_cv_path_SH" && ac_cv_path_SH="/bin/sh"
7502
  ;;
8629
  ;;
7503
esac
8630
esac
7504
fi
8631
fi
7505
SH=$ac_cv_path_SH
8632
SH=$ac_cv_path_SH
7506
7507
if test -n "$SH"; then
8633
if test -n "$SH"; then
7508
  echo "$as_me:$LINENO: result: $SH" >&5
8634
  { echo "$as_me:$LINENO: result: $SH" >&5
7509
echo "${ECHO_T}$SH" >&6
8635
echo "${ECHO_T}$SH" >&6; }
7510
else
8636
else
7511
  echo "$as_me:$LINENO: result: no" >&5
8637
  { echo "$as_me:$LINENO: result: no" >&5
7512
echo "${ECHO_T}no" >&6
8638
echo "${ECHO_T}no" >&6; }
7513
fi
8639
fi
7514
8640
7515
8641
8642
7516
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8643
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
7517
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
8644
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
7518
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8645
    # Check whether --enable-maintainer-mode was given.
7519
if test "${enable_maintainer_mode+set}" = set; then
8646
if test "${enable_maintainer_mode+set}" = set; then
7520
  enableval="$enable_maintainer_mode"
8647
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
7521
  USE_MAINTAINER_MODE=$enableval
7522
else
8648
else
7523
  USE_MAINTAINER_MODE=no
8649
  USE_MAINTAINER_MODE=no
7524
fi;
8650
fi
8651
7525
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8652
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
7526
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
8653
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
7527
8654
7528
8655
7529
if test $USE_MAINTAINER_MODE = yes; then
8656
if test $USE_MAINTAINER_MODE = yes; then
7530
  MAINTAINER_MODE_TRUE=
8657
  MAINTAINER_MODE_TRUE=
7531
  MAINTAINER_MODE_FALSE='#'
8658
  MAINTAINER_MODE_FALSE='#'
...
...
7552
  prefix="$acl_final_prefix"
8679
  prefix="$acl_final_prefix"
7553
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
8680
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
7554
  prefix="$acl_save_prefix"
8681
  prefix="$acl_save_prefix"
7555
8682
7556
8683
7557
# Check whether --with-gnu-ld or --without-gnu-ld was given.
8684
# Check whether --with-gnu-ld was given.
7558
if test "${with_gnu_ld+set}" = set; then
8685
if test "${with_gnu_ld+set}" = set; then
7559
  withval="$with_gnu_ld"
7560
  test "$withval" = no || with_gnu_ld=yes
8686
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7561
else
8687
else
7562
  with_gnu_ld=no
8688
  with_gnu_ld=no
7563
fi;
8689
fi
8690
7564
ac_prog=ld
8691
ac_prog=ld
7565
if test "$GCC" = yes; then
8692
if test "$GCC" = yes; then
7566
  # Check if gcc -print-prog-name=ld gives a path.
8693
  # Check if gcc -print-prog-name=ld gives a path.
7567
  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8694
  { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7568
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8695
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
7569
  case $host in
8696
  case $host in
7570
  *-*-mingw*)
8697
  *-*-mingw*)
7571
    # gcc leaves a trailing carriage return which upsets mingw
8698
    # gcc leaves a trailing carriage return which upsets mingw
7572
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8699
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7573
  *)
8700
  *)
...
...
7592
    # If it is relative, then search for the first ld in PATH.
8719
    # If it is relative, then search for the first ld in PATH.
7593
    with_gnu_ld=unknown
8720
    with_gnu_ld=unknown
7594
    ;;
8721
    ;;
7595
  esac
8722
  esac
7596
elif test "$with_gnu_ld" = yes; then
8723
elif test "$with_gnu_ld" = yes; then
7597
  echo "$as_me:$LINENO: checking for GNU ld" >&5
8724
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
7598
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8725
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
7599
else
8726
else
7600
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8727
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7601
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8728
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
7602
fi
8729
fi
7603
if test "${acl_cv_path_LD+set}" = set; then
8730
if test "${acl_cv_path_LD+set}" = set; then
7604
  echo $ECHO_N "(cached) $ECHO_C" >&6
8731
  echo $ECHO_N "(cached) $ECHO_C" >&6
7605
else
8732
else
7606
  if test -z "$LD"; then
8733
  if test -z "$LD"; then
...
...
7625
fi
8752
fi
7626
fi
8753
fi
7627
8754
7628
LD="$acl_cv_path_LD"
8755
LD="$acl_cv_path_LD"
7629
if test -n "$LD"; then
8756
if test -n "$LD"; then
7630
  echo "$as_me:$LINENO: result: $LD" >&5
8757
  { echo "$as_me:$LINENO: result: $LD" >&5
7631
echo "${ECHO_T}$LD" >&6
8758
echo "${ECHO_T}$LD" >&6; }
7632
else
8759
else
7633
  echo "$as_me:$LINENO: result: no" >&5
8760
  { echo "$as_me:$LINENO: result: no" >&5
7634
echo "${ECHO_T}no" >&6
8761
echo "${ECHO_T}no" >&6; }
7635
fi
8762
fi
7636
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8763
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7637
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8764
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7638
   { (exit 1); exit 1; }; }
8765
   { (exit 1); exit 1; }; }
7639
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8766
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7640
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8767
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
7641
if test "${acl_cv_prog_gnu_ld+set}" = set; then
8768
if test "${acl_cv_prog_gnu_ld+set}" = set; then
7642
  echo $ECHO_N "(cached) $ECHO_C" >&6
8769
  echo $ECHO_N "(cached) $ECHO_C" >&6
7643
else
8770
else
7644
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8771
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7645
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8772
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
7646
  acl_cv_prog_gnu_ld=yes
8773
  acl_cv_prog_gnu_ld=yes
7647
else
8774
else
7648
  acl_cv_prog_gnu_ld=no
8775
  acl_cv_prog_gnu_ld=no
7649
fi
8776
fi
7650
fi
8777
fi
7651
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8778
{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7652
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
8779
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
7653
with_gnu_ld=$acl_cv_prog_gnu_ld
8780
with_gnu_ld=$acl_cv_prog_gnu_ld
7654
8781
7655
8782
7656
8783
7657
                                                echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8784
                                                { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7658
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
8785
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
7659
if test "${acl_cv_rpath+set}" = set; then
8786
if test "${acl_cv_rpath+set}" = set; then
7660
  echo $ECHO_N "(cached) $ECHO_C" >&6
8787
  echo $ECHO_N "(cached) $ECHO_C" >&6
7661
else
8788
else
7662
8789
7663
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
8790
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
...
...
7665
    . ./conftest.sh
8792
    . ./conftest.sh
7666
    rm -f ./conftest.sh
8793
    rm -f ./conftest.sh
7667
    acl_cv_rpath=done
8794
    acl_cv_rpath=done
7668
8795
7669
fi
8796
fi
7670
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8797
{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7671
echo "${ECHO_T}$acl_cv_rpath" >&6
8798
echo "${ECHO_T}$acl_cv_rpath" >&6; }
7672
  wl="$acl_cv_wl"
8799
  wl="$acl_cv_wl"
7673
  libext="$acl_cv_libext"
8800
  libext="$acl_cv_libext"
7674
  shlibext="$acl_cv_shlibext"
8801
  shlibext="$acl_cv_shlibext"
7675
  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
8802
  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
7676
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
8803
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
7677
  hardcode_direct="$acl_cv_hardcode_direct"
8804
  hardcode_direct="$acl_cv_hardcode_direct"
7678
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
8805
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
7679
  sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
8806
  sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
7680
  sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
8807
  sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
7681
    # Check whether --enable-rpath or --disable-rpath was given.
8808
    # Check whether --enable-rpath was given.
7682
if test "${enable_rpath+set}" = set; then
8809
if test "${enable_rpath+set}" = set; then
7683
  enableval="$enable_rpath"
8810
  enableval=$enable_rpath; :
7684
  :
7685
else
8811
else
7686
  enable_rpath=yes
8812
  enable_rpath=yes
7687
fi;
8813
fi
8814
7688
8815
7689
8816
7690
8817
7691
8818
7692
8819
...
...
7704
8831
7705
  exec_prefix="$acl_save_exec_prefix"
8832
  exec_prefix="$acl_save_exec_prefix"
7706
  prefix="$acl_save_prefix"
8833
  prefix="$acl_save_prefix"
7707
8834
7708
8835
7709
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8836
# Check whether --with-libiconv-prefix was given.
7710
if test "${with_libiconv_prefix+set}" = set; then
8837
if test "${with_libiconv_prefix+set}" = set; then
7711
  withval="$with_libiconv_prefix"
8838
  withval=$with_libiconv_prefix;
7712
7713
    if test "X$withval" = "Xno"; then
8839
    if test "X$withval" = "Xno"; then
7714
      use_additional=no
8840
      use_additional=no
7715
    else
8841
    else
7716
      if test "X$withval" = "X"; then
8842
      if test "X$withval" = "X"; then
7717
8843
...
...
7730
        additional_includedir="$withval/include"
8856
        additional_includedir="$withval/include"
7731
        additional_libdir="$withval/lib"
8857
        additional_libdir="$withval/lib"
7732
      fi
8858
      fi
7733
    fi
8859
    fi
7734
8860
7735
fi;
8861
fi
8862
7736
      LIBICONV=
8863
      LIBICONV=
7737
  LTLIBICONV=
8864
  LTLIBICONV=
7738
  INCICONV=
8865
  INCICONV=
7739
  rpathdirs=
8866
  rpathdirs=
7740
  ltrpathdirs=
8867
  ltrpathdirs=
...
...
8097
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9224
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8098
    fi
9225
    fi
8099
  done
9226
  done
8100
9227
8101
9228
8102
  echo "$as_me:$LINENO: checking for iconv" >&5
9229
  { echo "$as_me:$LINENO: checking for iconv" >&5
8103
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9230
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
8104
if test "${am_cv_func_iconv+set}" = set; then
9231
if test "${am_cv_func_iconv+set}" = set; then
8105
  echo $ECHO_N "(cached) $ECHO_C" >&6
9232
  echo $ECHO_N "(cached) $ECHO_C" >&6
8106
else
9233
else
8107
9234
8108
    am_cv_func_iconv="no, consider installing GNU libiconv"
9235
    am_cv_func_iconv="no, consider installing GNU libiconv"
8109
    am_cv_lib_iconv=no
9236
    am_cv_lib_iconv=no
8110
    cat >conftest.$ac_ext <<_ACEOF
9237
    cat >conftest.$ac_ext <<_ACEOF
8111
#line $LINENO "configure"
9238
/* confdefs.h.  */
8112
#include "confdefs.h"
9239
_ACEOF
9240
cat confdefs.h >>conftest.$ac_ext
9241
cat >>conftest.$ac_ext <<_ACEOF
9242
/* end confdefs.h.  */
8113
#include <stdlib.h>
9243
#include <stdlib.h>
8114
#include <iconv.h>
9244
#include <iconv.h>
8115
#ifdef F77_DUMMY_MAIN
8116
#  ifdef __cplusplus
8117
     extern "C"
8118
#  endif
8119
   int F77_DUMMY_MAIN() { return 1; }
8120
#endif
8121
int
9245
int
8122
main ()
9246
main ()
8123
{
9247
{
8124
iconv_t cd = iconv_open("","");
9248
iconv_t cd = iconv_open("","");
8125
       iconv(cd,NULL,NULL,NULL,NULL);
9249
       iconv(cd,NULL,NULL,NULL,NULL);
...
...
8127
  ;
9251
  ;
8128
  return 0;
9252
  return 0;
8129
}
9253
}
8130
_ACEOF
9254
_ACEOF
8131
rm -f conftest.$ac_objext conftest$ac_exeext
9255
rm -f conftest.$ac_objext conftest$ac_exeext
9256
if { (ac_try="$ac_link"
9257
case "(($ac_try" in
9258
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9259
  *) ac_try_echo=$ac_try;;
9260
esac
8132
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9261
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8133
  (eval $ac_link) 2>&5
9262
  (eval "$ac_link") 2>conftest.er1
8134
  ac_status=$?
9263
  ac_status=$?
9264
  grep -v '^ *+' conftest.er1 >conftest.err
9265
  rm -f conftest.er1
9266
  cat conftest.err >&5
8135
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136
  (exit $ac_status); } &&
9268
  (exit $ac_status); } && {
9269
   test -z "$ac_c_werror_flag" ||
9270
   test ! -s conftest.err
8137
         { ac_try='test -s conftest$ac_exeext'
9271
       } && test -s conftest$ac_exeext &&
8138
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9272
       $as_test_x conftest$ac_exeext; then
8139
  (eval $ac_try) 2>&5
8140
  ac_status=$?
8141
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142
  (exit $ac_status); }; }; then
8143
  am_cv_func_iconv=yes
9273
  am_cv_func_iconv=yes
8144
else
9274
else
8145
  echo "$as_me: failed program was:" >&5
9275
  echo "$as_me: failed program was:" >&5
8146
cat conftest.$ac_ext >&5
9276
sed 's/^/| /' conftest.$ac_ext >&5
9277
9278
8147
fi
9279
fi
8148
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9280
9281
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9282
      conftest$ac_exeext conftest.$ac_ext
8149
    if test "$am_cv_func_iconv" != yes; then
9283
    if test "$am_cv_func_iconv" != yes; then
8150
      am_save_LIBS="$LIBS"
9284
      am_save_LIBS="$LIBS"
8151
      LIBS="$LIBS $LIBICONV"
9285
      LIBS="$LIBS $LIBICONV"
8152
      cat >conftest.$ac_ext <<_ACEOF
9286
      cat >conftest.$ac_ext <<_ACEOF
8153
#line $LINENO "configure"
9287
/* confdefs.h.  */
8154
#include "confdefs.h"
9288
_ACEOF
9289
cat confdefs.h >>conftest.$ac_ext
9290
cat >>conftest.$ac_ext <<_ACEOF
9291
/* end confdefs.h.  */
8155
#include <stdlib.h>
9292
#include <stdlib.h>
8156
#include <iconv.h>
9293
#include <iconv.h>
8157
#ifdef F77_DUMMY_MAIN
8158
#  ifdef __cplusplus
8159
     extern "C"
8160
#  endif
8161
   int F77_DUMMY_MAIN() { return 1; }
8162
#endif
8163
int
9294
int
8164
main ()
9295
main ()
8165
{
9296
{
8166
iconv_t cd = iconv_open("","");
9297
iconv_t cd = iconv_open("","");
8167
         iconv(cd,NULL,NULL,NULL,NULL);
9298
         iconv(cd,NULL,NULL,NULL,NULL);
...
...
8169
  ;
9300
  ;
8170
  return 0;
9301
  return 0;
8171
}
9302
}
8172
_ACEOF
9303
_ACEOF
8173
rm -f conftest.$ac_objext conftest$ac_exeext
9304
rm -f conftest.$ac_objext conftest$ac_exeext
9305
if { (ac_try="$ac_link"
9306
case "(($ac_try" in
9307
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9308
  *) ac_try_echo=$ac_try;;
9309
esac
8174
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9310
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8175
  (eval $ac_link) 2>&5
9311
  (eval "$ac_link") 2>conftest.er1
8176
  ac_status=$?
9312
  ac_status=$?
9313
  grep -v '^ *+' conftest.er1 >conftest.err
9314
  rm -f conftest.er1
9315
  cat conftest.err >&5
8177
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178
  (exit $ac_status); } &&
9317
  (exit $ac_status); } && {
9318
   test -z "$ac_c_werror_flag" ||
9319
   test ! -s conftest.err
8179
         { ac_try='test -s conftest$ac_exeext'
9320
       } && test -s conftest$ac_exeext &&
8180
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9321
       $as_test_x conftest$ac_exeext; then
8181
  (eval $ac_try) 2>&5
8182
  ac_status=$?
8183
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184
  (exit $ac_status); }; }; then
8185
  am_cv_lib_iconv=yes
9322
  am_cv_lib_iconv=yes
8186
        am_cv_func_iconv=yes
9323
        am_cv_func_iconv=yes
8187
else
9324
else
8188
  echo "$as_me: failed program was:" >&5
9325
  echo "$as_me: failed program was:" >&5
8189
cat conftest.$ac_ext >&5
9326
sed 's/^/| /' conftest.$ac_ext >&5
9327
9328
8190
fi
9329
fi
8191
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9330
9331
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9332
      conftest$ac_exeext conftest.$ac_ext
8192
      LIBS="$am_save_LIBS"
9333
      LIBS="$am_save_LIBS"
8193
    fi
9334
    fi
8194
9335
8195
fi
9336
fi
8196
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9337
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8197
echo "${ECHO_T}$am_cv_func_iconv" >&6
9338
echo "${ECHO_T}$am_cv_func_iconv" >&6; }
8198
  if test "$am_cv_func_iconv" = yes; then
9339
  if test "$am_cv_func_iconv" = yes; then
8199
9340
8200
cat >>confdefs.h <<\_ACEOF
9341
cat >>confdefs.h <<\_ACEOF
8201
#define HAVE_ICONV 1
9342
#define HAVE_ICONV 1
8202
_ACEOF
9343
_ACEOF
8203
9344
8204
  fi
9345
  fi
8205
  if test "$am_cv_lib_iconv" = yes; then
9346
  if test "$am_cv_lib_iconv" = yes; then
8206
    echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9347
    { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8207
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9348
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
8208
    echo "$as_me:$LINENO: result: $LIBICONV" >&5
9349
    { echo "$as_me:$LINENO: result: $LIBICONV" >&5
8209
echo "${ECHO_T}$LIBICONV" >&6
9350
echo "${ECHO_T}$LIBICONV" >&6; }
8210
  else
9351
  else
8211
            CPPFLAGS="$am_save_CPPFLAGS"
9352
            CPPFLAGS="$am_save_CPPFLAGS"
8212
    LIBICONV=
9353
    LIBICONV=
8213
    LTLIBICONV=
9354
    LTLIBICONV=
8214
  fi
9355
  fi
8215
9356
8216
9357
8217
9358
8218
  if test "$am_cv_func_iconv" = yes; then
9359
  if test "$am_cv_func_iconv" = yes; then
8219
    echo "$as_me:$LINENO: checking for iconv declaration" >&5
9360
    { echo "$as_me:$LINENO: checking for iconv declaration" >&5
8220
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9361
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
8221
    if test "${am_cv_proto_iconv+set}" = set; then
9362
    if test "${am_cv_proto_iconv+set}" = set; then
8222
  echo $ECHO_N "(cached) $ECHO_C" >&6
9363
  echo $ECHO_N "(cached) $ECHO_C" >&6
8223
else
9364
else
8224
9365
8225
      cat >conftest.$ac_ext <<_ACEOF
9366
      cat >conftest.$ac_ext <<_ACEOF
8226
#line $LINENO "configure"
9367
/* confdefs.h.  */
8227
#include "confdefs.h"
9368
_ACEOF
9369
cat confdefs.h >>conftest.$ac_ext
9370
cat >>conftest.$ac_ext <<_ACEOF
9371
/* end confdefs.h.  */
8228
9372
8229
#include <stdlib.h>
9373
#include <stdlib.h>
8230
#include <iconv.h>
9374
#include <iconv.h>
8231
extern
9375
extern
8232
#ifdef __cplusplus
9376
#ifdef __cplusplus
...
...
8236
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9380
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8237
#else
9381
#else
8238
size_t iconv();
9382
size_t iconv();
8239
#endif
9383
#endif
8240
9384
8241
#ifdef F77_DUMMY_MAIN
8242
#  ifdef __cplusplus
8243
     extern "C"
8244
#  endif
8245
   int F77_DUMMY_MAIN() { return 1; }
8246
#endif
8247
int
9385
int
8248
main ()
9386
main ()
8249
{
9387
{
8250
9388
8251
  ;
9389
  ;
8252
  return 0;
9390
  return 0;
8253
}
9391
}
8254
_ACEOF
9392
_ACEOF
8255
rm -f conftest.$ac_objext
9393
rm -f conftest.$ac_objext
9394
if { (ac_try="$ac_compile"
9395
case "(($ac_try" in
9396
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9397
  *) ac_try_echo=$ac_try;;
9398
esac
8256
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9399
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8257
  (eval $ac_compile) 2>&5
9400
  (eval "$ac_compile") 2>conftest.er1
8258
  ac_status=$?
9401
  ac_status=$?
9402
  grep -v '^ *+' conftest.er1 >conftest.err
9403
  rm -f conftest.er1
9404
  cat conftest.err >&5
8259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260
  (exit $ac_status); } &&
9406
  (exit $ac_status); } && {
8261
         { ac_try='test -s conftest.$ac_objext'
9407
   test -z "$ac_c_werror_flag" ||
8262
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9408
   test ! -s conftest.err
8263
  (eval $ac_try) 2>&5
9409
       } && test -s conftest.$ac_objext; then
8264
  ac_status=$?
8265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266
  (exit $ac_status); }; }; then
8267
  am_cv_proto_iconv_arg1=""
9410
  am_cv_proto_iconv_arg1=""
8268
else
9411
else
8269
  echo "$as_me: failed program was:" >&5
9412
  echo "$as_me: failed program was:" >&5
8270
cat conftest.$ac_ext >&5
9413
sed 's/^/| /' conftest.$ac_ext >&5
9414
8271
am_cv_proto_iconv_arg1="const"
9415
  am_cv_proto_iconv_arg1="const"
8272
fi
9416
fi
9417
8273
rm -f conftest.$ac_objext conftest.$ac_ext
9418
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8274
      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
9419
      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
8275
fi
9420
fi
8276
9421
8277
    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9422
    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8278
    echo "$as_me:$LINENO: result: ${ac_t:-
9423
    { echo "$as_me:$LINENO: result: ${ac_t:-
8279
         }$am_cv_proto_iconv" >&5
9424
         }$am_cv_proto_iconv" >&5
8280
echo "${ECHO_T}${ac_t:-
9425
echo "${ECHO_T}${ac_t:-
8281
         }$am_cv_proto_iconv" >&6
9426
         }$am_cv_proto_iconv" >&6; }
8282
9427
8283
cat >>confdefs.h <<_ACEOF
9428
cat >>confdefs.h <<_ACEOF
8284
#define ICONV_CONST $am_cv_proto_iconv_arg1
9429
#define ICONV_CONST $am_cv_proto_iconv_arg1
8285
_ACEOF
9430
_ACEOF
8286
9431
...
...
8289
9434
8290
9435
8291
for ac_func in iconv_open
9436
for ac_func in iconv_open
8292
do
9437
do
8293
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9438
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8294
echo "$as_me:$LINENO: checking for $ac_func" >&5
9439
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8295
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9440
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8296
if eval "test \"\${$as_ac_var+set}\" = set"; then
9441
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8297
  echo $ECHO_N "(cached) $ECHO_C" >&6
9442
  echo $ECHO_N "(cached) $ECHO_C" >&6
8298
else
9443
else
8299
  cat >conftest.$ac_ext <<_ACEOF
9444
  cat >conftest.$ac_ext <<_ACEOF
8300
#line $LINENO "configure"
9445
/* confdefs.h.  */
8301
#include "confdefs.h"
9446
_ACEOF
9447
cat confdefs.h >>conftest.$ac_ext
9448
cat >>conftest.$ac_ext <<_ACEOF
9449
/* end confdefs.h.  */
9450
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9451
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9452
#define $ac_func innocuous_$ac_func
9453
8302
/* System header to define __stub macros and hopefully few prototypes,
9454
/* System header to define __stub macros and hopefully few prototypes,
8303
    which can conflict with char $ac_func (); below.  */
9455
    which can conflict with char $ac_func (); below.
9456
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9457
    <limits.h> exists even on freestanding compilers.  */
9458
9459
#ifdef __STDC__
9460
# include <limits.h>
9461
#else
8304
#include <assert.h>
9462
# include <assert.h>
9463
#endif
9464
9465
#undef $ac_func
9466
8305
/* Override any gcc2 internal prototype to avoid an error.  */
9467
/* Override any GCC internal prototype to avoid an error.
9468
   Use char because int might match the return type of a GCC
9469
   builtin and then its argument prototype would still apply.  */
8306
#ifdef __cplusplus
9470
#ifdef __cplusplus
8307
extern "C"
9471
extern "C"
8308
#endif
9472
#endif
8309
/* We use char because int might match the return type of a gcc2
8310
   builtin and then its argument prototype would still apply.  */
8311
char $ac_func ();
9473
char $ac_func ();
8312
char (*f) ();
9474
/* The GNU C library defines this for functions which it implements
8313
9475
    to always fail with ENOSYS.  Some functions are actually named
8314
#ifdef F77_DUMMY_MAIN
9476
    something starting with __ and the normal name is an alias.  */
8315
#  ifdef __cplusplus
9477
#if defined __stub_$ac_func || defined __stub___$ac_func
8316
     extern "C"
9478
choke me
8317
#  endif
8318
   int F77_DUMMY_MAIN() { return 1; }
8319
#endif
9479
#endif
9480
8320
int
9481
int
8321
main ()
9482
main ()
8322
{
9483
{
8323
/* The GNU C library defines this for functions which it implements
9484
return $ac_func ();
8324
    to always fail with ENOSYS.  Some functions are actually named
8325
    something starting with __ and the normal name is an alias.  */
8326
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8327
choke me
8328
#else
8329
f = $ac_func;
8330
#endif
8331
8332
  ;
9485
  ;
8333
  return 0;
9486
  return 0;
8334
}
9487
}
8335
_ACEOF
9488
_ACEOF
8336
rm -f conftest.$ac_objext conftest$ac_exeext
9489
rm -f conftest.$ac_objext conftest$ac_exeext
9490
if { (ac_try="$ac_link"
9491
case "(($ac_try" in
9492
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9493
  *) ac_try_echo=$ac_try;;
9494
esac
8337
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9495
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8338
  (eval $ac_link) 2>&5
9496
  (eval "$ac_link") 2>conftest.er1
8339
  ac_status=$?
9497
  ac_status=$?
9498
  grep -v '^ *+' conftest.er1 >conftest.err
9499
  rm -f conftest.er1
9500
  cat conftest.err >&5
8340
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341
  (exit $ac_status); } &&
9502
  (exit $ac_status); } && {
9503
   test -z "$ac_c_werror_flag" ||
9504
   test ! -s conftest.err
8342
         { ac_try='test -s conftest$ac_exeext'
9505
       } && test -s conftest$ac_exeext &&
8343
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9506
       $as_test_x conftest$ac_exeext; then
8344
  (eval $ac_try) 2>&5
8345
  ac_status=$?
8346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347
  (exit $ac_status); }; }; then
8348
  eval "$as_ac_var=yes"
9507
  eval "$as_ac_var=yes"
8349
else
9508
else
8350
  echo "$as_me: failed program was:" >&5
9509
  echo "$as_me: failed program was:" >&5
8351
cat conftest.$ac_ext >&5
9510
sed 's/^/| /' conftest.$ac_ext >&5
9511
8352
eval "$as_ac_var=no"
9512
  eval "$as_ac_var=no"
8353
fi
9513
fi
8354
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9514
9515
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9516
      conftest$ac_exeext conftest.$ac_ext
8355
fi
9517
fi
8356
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9518
ac_res=`eval echo '${'$as_ac_var'}'`
8357
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9519
         { echo "$as_me:$LINENO: result: $ac_res" >&5
9520
echo "${ECHO_T}$ac_res" >&6; }
8358
if test `eval echo '${'$as_ac_var'}'` = yes; then
9521
if test `eval echo '${'$as_ac_var'}'` = yes; then
8359
  cat >>confdefs.h <<_ACEOF
9522
  cat >>confdefs.h <<_ACEOF
8360
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9523
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8361
_ACEOF
9524
_ACEOF
8362
9525
...
...
8376
9539
8377
9540
8378
for ac_func in vsnprintf
9541
for ac_func in vsnprintf
8379
do
9542
do
8380
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9543
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8381
echo "$as_me:$LINENO: checking for $ac_func" >&5
9544
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8382
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9545
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8383
if eval "test \"\${$as_ac_var+set}\" = set"; then
9546
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8384
  echo $ECHO_N "(cached) $ECHO_C" >&6
9547
  echo $ECHO_N "(cached) $ECHO_C" >&6
8385
else
9548
else
8386
  cat >conftest.$ac_ext <<_ACEOF
9549
  cat >conftest.$ac_ext <<_ACEOF
8387
#line $LINENO "configure"
9550
/* confdefs.h.  */
8388
#include "confdefs.h"
9551
_ACEOF
9552
cat confdefs.h >>conftest.$ac_ext
9553
cat >>conftest.$ac_ext <<_ACEOF
9554
/* end confdefs.h.  */
9555
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9556
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9557
#define $ac_func innocuous_$ac_func
9558
8389
/* System header to define __stub macros and hopefully few prototypes,
9559
/* System header to define __stub macros and hopefully few prototypes,
8390
    which can conflict with char $ac_func (); below.  */
9560
    which can conflict with char $ac_func (); below.
9561
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9562
    <limits.h> exists even on freestanding compilers.  */
9563
9564
#ifdef __STDC__
9565
# include <limits.h>
9566
#else
8391
#include <assert.h>
9567
# include <assert.h>
9568
#endif
9569
9570
#undef $ac_func
9571
8392
/* Override any gcc2 internal prototype to avoid an error.  */
9572
/* Override any GCC internal prototype to avoid an error.
9573
   Use char because int might match the return type of a GCC
9574
   builtin and then its argument prototype would still apply.  */
8393
#ifdef __cplusplus
9575
#ifdef __cplusplus
8394
extern "C"
9576
extern "C"
8395
#endif
9577
#endif
8396
/* We use char because int might match the return type of a gcc2
8397
   builtin and then its argument prototype would still apply.  */
8398
char $ac_func ();
9578
char $ac_func ();
8399
char (*f) ();
9579
/* The GNU C library defines this for functions which it implements
8400
9580
    to always fail with ENOSYS.  Some functions are actually named
8401
#ifdef F77_DUMMY_MAIN
9581
    something starting with __ and the normal name is an alias.  */
8402
#  ifdef __cplusplus
9582
#if defined __stub_$ac_func || defined __stub___$ac_func
8403
     extern "C"
9583
choke me
8404
#  endif
8405
   int F77_DUMMY_MAIN() { return 1; }
8406
#endif
9584
#endif
9585
8407
int
9586
int
8408
main ()
9587
main ()
8409
{
9588
{
9589
return $ac_func ();
9590
  ;
9591
  return 0;
9592
}
9593
_ACEOF
9594
rm -f conftest.$ac_objext conftest$ac_exeext
9595
if { (ac_try="$ac_link"
9596
case "(($ac_try" in
9597
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9598
  *) ac_try_echo=$ac_try;;
9599
esac
9600
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9601
  (eval "$ac_link") 2>conftest.er1
9602
  ac_status=$?
9603
  grep -v '^ *+' conftest.er1 >conftest.err
9604
  rm -f conftest.er1
9605
  cat conftest.err >&5
9606
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607
  (exit $ac_status); } && {
9608
   test -z "$ac_c_werror_flag" ||
9609
   test ! -s conftest.err
9610
       } && test -s conftest$ac_exeext &&
9611
       $as_test_x conftest$ac_exeext; then
9612
  eval "$as_ac_var=yes"
9613
else
9614
  echo "$as_me: failed program was:" >&5
9615
sed 's/^/| /' conftest.$ac_ext >&5
9616
9617
  eval "$as_ac_var=no"
9618
fi
9619
9620
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9621
      conftest$ac_exeext conftest.$ac_ext
9622
fi
9623
ac_res=`eval echo '${'$as_ac_var'}'`
9624
         { echo "$as_me:$LINENO: result: $ac_res" >&5
9625
echo "${ECHO_T}$ac_res" >&6; }
9626
if test `eval echo '${'$as_ac_var'}'` = yes; then
9627
  cat >>confdefs.h <<_ACEOF
9628
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9629
_ACEOF
9630
9631
fi
9632
done
9633
9634
9635
9636
9637
for ac_func in getopt_long
9638
do
9639
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9640
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9641
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9642
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9643
  echo $ECHO_N "(cached) $ECHO_C" >&6
9644
else
9645
  cat >conftest.$ac_ext <<_ACEOF
9646
/* confdefs.h.  */
9647
_ACEOF
9648
cat confdefs.h >>conftest.$ac_ext
9649
cat >>conftest.$ac_ext <<_ACEOF
9650
/* end confdefs.h.  */
9651
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9652
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9653
#define $ac_func innocuous_$ac_func
9654
9655
/* System header to define __stub macros and hopefully few prototypes,
9656
    which can conflict with char $ac_func (); below.
9657
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9658
    <limits.h> exists even on freestanding compilers.  */
9659
9660
#ifdef __STDC__
9661
# include <limits.h>
9662
#else
9663
# include <assert.h>
9664
#endif
9665
9666
#undef $ac_func
9667
9668
/* Override any GCC internal prototype to avoid an error.
9669
   Use char because int might match the return type of a GCC
9670
   builtin and then its argument prototype would still apply.  */
9671
#ifdef __cplusplus
9672
extern "C"
9673
#endif
9674
char $ac_func ();
8410
/* The GNU C library defines this for functions which it implements
9675
/* The GNU C library defines this for functions which it implements
8411
    to always fail with ENOSYS.  Some functions are actually named
9676
    to always fail with ENOSYS.  Some functions are actually named
8412
    something starting with __ and the normal name is an alias.  */
9677
    something starting with __ and the normal name is an alias.  */
8413
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9678
#if defined __stub_$ac_func || defined __stub___$ac_func
8414
choke me
9679
choke me
8415
#else
8416
f = $ac_func;
8417
#endif
9680
#endif
8418
9681
9682
int
9683
main ()
9684
{
9685
return $ac_func ();
8419
  ;
9686
  ;
8420
  return 0;
9687
  return 0;
8421
}
9688
}
8422
_ACEOF
9689
_ACEOF
8423
rm -f conftest.$ac_objext conftest$ac_exeext
9690
rm -f conftest.$ac_objext conftest$ac_exeext
9691
if { (ac_try="$ac_link"
9692
case "(($ac_try" in
9693
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9694
  *) ac_try_echo=$ac_try;;
9695
esac
8424
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9696
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8425
  (eval $ac_link) 2>&5
9697
  (eval "$ac_link") 2>conftest.er1
8426
  ac_status=$?
9698
  ac_status=$?
9699
  grep -v '^ *+' conftest.er1 >conftest.err
9700
  rm -f conftest.er1
9701
  cat conftest.err >&5
8427
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428
  (exit $ac_status); } &&
9703
  (exit $ac_status); } && {
9704
   test -z "$ac_c_werror_flag" ||
9705
   test ! -s conftest.err
8429
         { ac_try='test -s conftest$ac_exeext'
9706
       } && test -s conftest$ac_exeext &&
8430
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9707
       $as_test_x conftest$ac_exeext; then
8431
  (eval $ac_try) 2>&5
8432
  ac_status=$?
8433
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434
  (exit $ac_status); }; }; then
8435
  eval "$as_ac_var=yes"
9708
  eval "$as_ac_var=yes"
8436
else
9709
else
8437
  echo "$as_me: failed program was:" >&5
9710
  echo "$as_me: failed program was:" >&5
8438
cat conftest.$ac_ext >&5
9711
sed 's/^/| /' conftest.$ac_ext >&5
9712
8439
eval "$as_ac_var=no"
9713
  eval "$as_ac_var=no"
8440
fi
9714
fi
8441
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9715
9716
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9717
      conftest$ac_exeext conftest.$ac_ext
8442
fi
9718
fi
8443
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9719
ac_res=`eval echo '${'$as_ac_var'}'`
8444
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9720
         { echo "$as_me:$LINENO: result: $ac_res" >&5
9721
echo "${ECHO_T}$ac_res" >&6; }
8445
if test `eval echo '${'$as_ac_var'}'` = yes; then
9722
if test `eval echo '${'$as_ac_var'}'` = yes; then
8446
  cat >>confdefs.h <<_ACEOF
9723
  cat >>confdefs.h <<_ACEOF
8447
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9724
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8448
_ACEOF
9725
_ACEOF
8449
9726
9727
else
9728
  case " $LIBOBJS " in
9729
  *" getopt.$ac_objext "* ) ;;
9730
  *) LIBOBJS="$LIBOBJS getopt.$ac_objext"
9731
 ;;
9732
esac
9733
8450
fi
9734
fi
8451
done
9735
done
8452
9736
8453
9737
8454
8455
8456
for ac_func in getopt_long
8457
do
8458
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8459
echo "$as_me:$LINENO: checking for $ac_func" >&5
8460
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8461
if eval "test \"\${$as_ac_var+set}\" = set"; then
8462
  echo $ECHO_N "(cached) $ECHO_C" >&6
8463
else
8464
  cat >conftest.$ac_ext <<_ACEOF
8465
#line $LINENO "configure"
8466
#include "confdefs.h"
8467
/* System header to define __stub macros and hopefully few prototypes,
8468
    which can conflict with char $ac_func (); below.  */
8469
#include <assert.h>
8470
/* Override any gcc2 internal prototype to avoid an error.  */
8471
#ifdef __cplusplus
8472
extern "C"
8473
#endif
8474
/* We use char because int might match the return type of a gcc2
8475
   builtin and then its argument prototype would still apply.  */
8476
char $ac_func ();
8477
char (*f) ();
8478
8479
#ifdef F77_DUMMY_MAIN
8480
#  ifdef __cplusplus
8481
     extern "C"
8482
#  endif
8483
   int F77_DUMMY_MAIN() { return 1; }
8484
#endif
8485
int
8486
main ()
8487
{
8488
/* The GNU C library defines this for functions which it implements
8489
    to always fail with ENOSYS.  Some functions are actually named
8490
    something starting with __ and the normal name is an alias.  */
8491
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8492
choke me
8493
#else
8494
f = $ac_func;
8495
#endif
8496
8497
  ;
8498
  return 0;
8499
}
8500
_ACEOF
8501
rm -f conftest.$ac_objext conftest$ac_exeext
8502
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8503
  (eval $ac_link) 2>&5
8504
  ac_status=$?
8505
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506
  (exit $ac_status); } &&
8507
         { ac_try='test -s conftest$ac_exeext'
8508
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8509
  (eval $ac_try) 2>&5
8510
  ac_status=$?
8511
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512
  (exit $ac_status); }; }; then
8513
  eval "$as_ac_var=yes"
8514
else
8515
  echo "$as_me: failed program was:" >&5
8516
cat conftest.$ac_ext >&5
8517
eval "$as_ac_var=no"
8518
fi
8519
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8520
fi
8521
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8522
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8523
if test `eval echo '${'$as_ac_var'}'` = yes; then
8524
  cat >>confdefs.h <<_ACEOF
8525
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8526
_ACEOF
8527
8528
else
8529
  LIBOBJS="$LIBOBJS getopt.$ac_objext"
8530
fi
8531
done
8532
8533
8534
ac_config_files="$ac_config_files Makefile unac.pc unac.spec t_unac builder"
9738
ac_config_files="$ac_config_files Makefile unac.pc unac.spec t_unac builder"
9739
8535
ac_config_commands="$ac_config_commands default"
9740
ac_config_commands="$ac_config_commands default"
9741
8536
cat >confcache <<\_ACEOF
9742
cat >confcache <<\_ACEOF
8537
# This file is a shell script that caches the results of configure
9743
# This file is a shell script that caches the results of configure
8538
# tests run on this system so they can be shared between configure
9744
# tests run on this system so they can be shared between configure
8539
# scripts and configure runs, see configure's option --config-cache.
9745
# scripts and configure runs, see configure's option --config-cache.
8540
# It is not useful on other systems.  If it contains results you don't
9746
# It is not useful on other systems.  If it contains results you don't
8541
# want to keep, you may remove or edit it.
9747
# want to keep, you may remove or edit it.
8542
#
9748
#
8543
# config.status only pays attention to the cache file if you give it
9749
# config.status only pays attention to the cache file if you give it
8544
# the --recheck option to rerun configure.
9750
# the --recheck option to rerun configure.
8545
#
9751
#
8546
# `ac_cv_env_foo' variables (set or unset) will be overriden when
9752
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8547
# loading this file, other *unset* `ac_cv_foo' will be assigned the
9753
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8548
# following values.
9754
# following values.
8549
9755
8550
_ACEOF
9756
_ACEOF
8551
9757
8552
# The following way of writing the cache mishandles newlines in values,
9758
# The following way of writing the cache mishandles newlines in values,
8553
# but we know of no workaround that is simple, portable, and efficient.
9759
# but we know of no workaround that is simple, portable, and efficient.
8554
# So, don't put newlines in cache variables' values.
9760
# So, we kill variables containing newlines.
8555
# Ultrix sh set writes to stderr and can't be redirected directly,
9761
# Ultrix sh set writes to stderr and can't be redirected directly,
8556
# and sets the high bit in the cache file unless we assign to the vars.
9762
# and sets the high bit in the cache file unless we assign to the vars.
8557
{
9763
(
9764
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9765
    eval ac_val=\$$ac_var
9766
    case $ac_val in #(
9767
    *${as_nl}*)
9768
      case $ac_var in #(
9769
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9770
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9771
      esac
9772
      case $ac_var in #(
9773
      _ | IFS | as_nl) ;; #(
9774
      *) $as_unset $ac_var ;;
9775
      esac ;;
9776
    esac
9777
  done
9778
8558
  (set) 2>&1 |
9779
  (set) 2>&1 |
8559
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
9780
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
8560
    *ac_space=\ *)
9781
    *${as_nl}ac_space=\ *)
8561
      # `set' does not quote correctly, so add quotes (double-quote
9782
      # `set' does not quote correctly, so add quotes (double-quote
8562
      # substitution turns \\\\ into \\, and sed turns \\ into \).
9783
      # substitution turns \\\\ into \\, and sed turns \\ into \).
8563
      sed -n \
9784
      sed -n \
8564
        "s/'/'\\\\''/g;
9785
  "s/'/'\\\\''/g;
8565
       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9786
      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8566
      ;;
9787
      ;; #(
8567
    *)
9788
    *)
8568
      # `set' quotes correctly as required by POSIX, so do not add quotes.
9789
      # `set' quotes correctly as required by POSIX, so do not add quotes.
8569
      sed -n \
8570
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9790
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8571
      ;;
9791
      ;;
8572
    esac;
9792
    esac |
9793
    sort
8573
} |
9794
) |
8574
  sed '
9795
  sed '
9796
     /^ac_cv_env_/b end
8575
     t clear
9797
     t clear
8576
     : clear
9798
     :clear
8577
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9799
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8578
     t end
9800
     t end
8579
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9801
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8580
     : end' >>confcache
9802
     :end' >>confcache
8581
if cmp -s $cache_file confcache; then :; else
9803
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8582
  if test -w $cache_file; then
9804
  if test -w "$cache_file"; then
8583
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9805
    test "x$cache_file" != "x/dev/null" &&
9806
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9807
echo "$as_me: updating cache $cache_file" >&6;}
8584
    cat confcache >$cache_file
9808
    cat confcache >$cache_file
8585
  else
9809
  else
9810
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8586
    echo "not updating unwritable cache $cache_file"
9811
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8587
  fi
9812
  fi
8588
fi
9813
fi
8589
rm -f confcache
9814
rm -f confcache
8590
9815
8591
test "x$prefix" = xNONE && prefix=$ac_default_prefix
9816
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8592
# Let make expand exec_prefix.
9817
# Let make expand exec_prefix.
8593
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9818
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8594
9819
8595
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8596
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8597
# trailing colons and then remove the whole line if VPATH becomes empty
8598
# (actually we leave an empty line to preserve line numbers).
8599
if test "x$srcdir" = x.; then
8600
  ac_vpsub='/^[   ]*VPATH[    ]*=/{
8601
s/:*\$(srcdir):*/:/;
8602
s/:*\${srcdir}:*/:/;
8603
s/:*@srcdir@:*/:/;
8604
s/^\([^=]*=[  ]*\):*/\1/;
8605
s/:*$//;
8606
s/^[^=]*=[    ]*$//;
8607
}'
8608
fi
8609
8610
DEFS=-DHAVE_CONFIG_H
9820
DEFS=-DHAVE_CONFIG_H
9821
9822
ac_libobjs=
9823
ac_ltlibobjs=
9824
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9825
  # 1. Remove the extension, and $U if already installed.
9826
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9827
  ac_i=`echo "$ac_i" | sed "$ac_script"`
9828
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9829
  #    will be set to the directory where LIBOBJS objects are built.
9830
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9831
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9832
done
9833
LIBOBJS=$ac_libobjs
9834
9835
LTLIBOBJS=$ac_ltlibobjs
9836
8611
9837
8612
9838
8613
: ${CONFIG_STATUS=./config.status}
9839
: ${CONFIG_STATUS=./config.status}
8614
ac_clean_files_save=$ac_clean_files
9840
ac_clean_files_save=$ac_clean_files
8615
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9841
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
...
...
8621
# Run this file to recreate the current configuration.
9847
# Run this file to recreate the current configuration.
8622
# Compiler output produced by configure, useful for debugging
9848
# Compiler output produced by configure, useful for debugging
8623
# configure, is in config.log if it exists.
9849
# configure, is in config.log if it exists.
8624
9850
8625
debug=false
9851
debug=false
9852
ac_cs_recheck=false
9853
ac_cs_silent=false
8626
SHELL=\${CONFIG_SHELL-$SHELL}
9854
SHELL=\${CONFIG_SHELL-$SHELL}
8627
_ACEOF
9855
_ACEOF
8628
9856
8629
cat >>$CONFIG_STATUS <<\_ACEOF
9857
cat >>$CONFIG_STATUS <<\_ACEOF
8630
8631
## --------------------- ##
9858
## --------------------- ##
8632
## M4sh Initialization.  ##
9859
## M4sh Initialization.  ##
8633
## --------------------- ##
9860
## --------------------- ##
8634
9861
8635
# Be Bourne compatible
9862
# Be more Bourne compatible
9863
DUALCASE=1; export DUALCASE # for MKS sh
8636
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9864
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8637
  emulate sh
9865
  emulate sh
8638
  NULLCMD=:
9866
  NULLCMD=:
8639
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9867
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8640
  set -o posix
9868
  # is contrary to our usage.  Disable this feature.
8641
fi
9869
  alias -g '${1+"$@"}'='"$@"'
8642
9870
  setopt NO_GLOB_SUBST
8643
# NLS nuisances.
8644
# Support unset when possible.
8645
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8646
  as_unset=unset
8647
else
9871
else
8648
  as_unset=false
9872
  case `(set -o) 2>/dev/null` in
8649
fi
9873
  *posix*) set -o posix ;;
9874
esac
8650
9875
8651
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
9876
fi
8652
    { $as_unset LANG || test "${LANG+set}" != set; } ||
8653
      { LANG=C; export LANG; }
8654
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
8655
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
8656
      { LC_ALL=C; export LC_ALL; }
8657
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
8658
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
8659
      { LC_TIME=C; export LC_TIME; }
8660
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
8661
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
8662
      { LC_CTYPE=C; export LC_CTYPE; }
8663
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
8664
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
8665
      { LANGUAGE=C; export LANGUAGE; }
8666
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
8667
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
8668
      { LC_COLLATE=C; export LC_COLLATE; }
8669
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
8670
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
8671
      { LC_NUMERIC=C; export LC_NUMERIC; }
8672
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
8673
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
8674
      { LC_MESSAGES=C; export LC_MESSAGES; }
8675
9877
8676
9878
8677
# Name of the executable.
8678
as_me=`(basename "$0") 2>/dev/null ||
8679
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8680
   X"$0" : 'X\(//\)$' \| \
8681
   X"$0" : 'X\(/\)$' \| \
8682
   .     : '\(.\)' 2>/dev/null ||
8683
echo X/"$0" |
8684
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8685
        /^X\/\(\/\/\)$/{ s//\1/; q; }
8686
        /^X\/\(\/\).*/{ s//\1/; q; }
8687
        s/.*/./; q'`
8688
9879
8689
# PATH needs CR, and LINENO needs CR and PATH.
9880
9881
# PATH needs CR
8690
# Avoid depending upon Character Ranges.
9882
# Avoid depending upon Character Ranges.
8691
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9883
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8692
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9884
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8693
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9885
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8694
as_cr_digits='0123456789'
9886
as_cr_digits='0123456789'
8695
as_cr_alnum=$as_cr_Letters$as_cr_digits
9887
as_cr_alnum=$as_cr_Letters$as_cr_digits
8696
9888
8697
# The user is always right.
9889
# The user is always right.
8698
if test "${PATH_SEPARATOR+set}" != set; then
9890
if test "${PATH_SEPARATOR+set}" != set; then
8699
  echo "#! /bin/sh" >conftest.sh
9891
  echo "#! /bin/sh" >conf$$.sh
8700
  echo  "exit 0"   >>conftest.sh
9892
  echo  "exit 0"   >>conf$$.sh
8701
  chmod +x conftest.sh
9893
  chmod +x conf$$.sh
8702
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
9894
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8703
    PATH_SEPARATOR=';'
9895
    PATH_SEPARATOR=';'
8704
  else
9896
  else
8705
    PATH_SEPARATOR=:
9897
    PATH_SEPARATOR=:
8706
  fi
9898
  fi
8707
  rm -f conftest.sh
9899
  rm -f conf$$.sh
8708
fi
9900
fi
8709
9901
9902
# Support unset when possible.
9903
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9904
  as_unset=unset
9905
else
9906
  as_unset=false
9907
fi
8710
9908
8711
  as_lineno_1=$LINENO
9909
8712
  as_lineno_2=$LINENO
9910
# IFS
8713
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9911
# We need space, tab and new line, in precisely that order.  Quoting is
8714
  test "x$as_lineno_1" != "x$as_lineno_2" &&
9912
# there to prevent editors from complaining about space-tab.
8715
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
9913
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9914
# splitting by setting IFS to empty value.)
9915
as_nl='
9916
'
9917
IFS=" ""  $as_nl"
9918
8716
  # Find who we are.  Look in the path if we contain no path at all
9919
# Find who we are.  Look in the path if we contain no directory separator.
8717
  # relative or not.
8718
  case $0 in
9920
case $0 in
8719
    *[\\/]* ) as_myself=$0 ;;
9921
  *[\\/]* ) as_myself=$0 ;;
8720
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9922
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8721
for as_dir in $PATH
9923
for as_dir in $PATH
8722
do
9924
do
8723
  IFS=$as_save_IFS
9925
  IFS=$as_save_IFS
8724
  test -z "$as_dir" && as_dir=.
9926
  test -z "$as_dir" && as_dir=.
8725
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9927
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8726
done
9928
done
9929
IFS=$as_save_IFS
8727
9930
8728
       ;;
9931
     ;;
8729
  esac
9932
esac
8730
  # We did not find ourselves, most probably we were run as `sh COMMAND'
9933
# We did not find ourselves, most probably we were run as `sh COMMAND'
8731
  # in which case we are not to be found in the path.
9934
# in which case we are not to be found in the path.
8732
  if test "x$as_myself" = x; then
9935
if test "x$as_myself" = x; then
8733
    as_myself=$0
9936
  as_myself=$0
9937
fi
9938
if test ! -f "$as_myself"; then
9939
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9940
  { (exit 1); exit 1; }
9941
fi
9942
9943
# Work around bugs in pre-3.0 UWIN ksh.
9944
for as_var in ENV MAIL MAILPATH
9945
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9946
done
9947
PS1='$ '
9948
PS2='> '
9949
PS4='+ '
9950
9951
# NLS nuisances.
9952
for as_var in \
9953
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9954
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9955
  LC_TELEPHONE LC_TIME
9956
do
9957
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9958
    eval $as_var=C; export $as_var
9959
  else
9960
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8734
  fi
9961
  fi
8735
  if test ! -f "$as_myself"; then
8736
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8737
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8738
   { (exit 1); exit 1; }; }
8739
  fi
8740
  case $CONFIG_SHELL in
8741
  '')
8742
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8743
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8744
do
9962
done
8745
  IFS=$as_save_IFS
9963
8746
  test -z "$as_dir" && as_dir=.
9964
# Required to use basename.
8747
  for as_base in sh bash ksh sh5; do
9965
if expr a : '\(a\)' >/dev/null 2>&1 &&
8748
   case $as_dir in
9966
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8749
   /*)
9967
  as_expr=expr
8750
     if ("$as_dir/$as_base" -c '
9968
else
9969
  as_expr=false
9970
fi
9971
9972
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9973
  as_basename=basename
9974
else
9975
  as_basename=false
9976
fi
9977
9978
9979
# Name of the executable.
9980
as_me=`$as_basename -- "$0" ||
9981
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9982
   X"$0" : 'X\(//\)$' \| \
9983
   X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9984
echo X/"$0" |
9985
    sed '/^.*\/\([^/][^/]*\)\/*$/{
9986
      s//\1/
9987
      q
9988
    }
9989
    /^X\/\(\/\/\)$/{
9990
      s//\1/
9991
      q
9992
    }
9993
    /^X\/\(\/\).*/{
9994
      s//\1/
9995
      q
9996
    }
9997
    s/.*/./; q'`
9998
9999
# CDPATH.
10000
$as_unset CDPATH
10001
10002
10003
8751
  as_lineno_1=$LINENO
10004
  as_lineno_1=$LINENO
8752
  as_lineno_2=$LINENO
10005
  as_lineno_2=$LINENO
8753
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8754
  test "x$as_lineno_1" != "x$as_lineno_2" &&
10006
  test "x$as_lineno_1" != "x$as_lineno_2" &&
8755
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
10007
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8756
       CONFIG_SHELL=$as_dir/$as_base
8757
       export CONFIG_SHELL
8758
       exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8759
     fi;;
8760
   esac
8761
       done
8762
done
8763
;;
8764
  esac
8765
10008
8766
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10009
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8767
  # uniformly replaced by the line number.  The first 'sed' inserts a
10010
  # uniformly replaced by the line number.  The first 'sed' inserts a
8768
  # line-number line before each line; the second 'sed' does the real
10011
  # line-number line after each line using $LINENO; the second 'sed'
8769
  # work.  The second script uses 'N' to pair each line-number line
10012
  # does the real work.  The second script uses 'N' to pair each
8770
  # with the numbered line, and appends trailing '-' during
10013
  # line-number line with the line containing $LINENO, and appends
8771
  # substitution so that $LINENO is not a special case at line end.
10014
  # trailing '-' during substitution so that $LINENO is not a special
10015
  # case at line end.
8772
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10016
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8773
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
10017
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
10018
  # E. McMahon (1931-1989) for sed's syntax.  :-)
10019
  sed -n '
10020
    p
10021
    /[$]LINENO/=
8774
  sed '=' <$as_myself |
10022
  ' <$as_myself |
8775
    sed '
10023
    sed '
10024
      s/[$]LINENO.*/&-/
10025
      t lineno
10026
      b
10027
      :lineno
8776
      N
10028
      N
8777
      s,$,-,
8778
      : loop
10029
      :loop
8779
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10030
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8780
      t loop
10031
      t loop
8781
      s,-$,,
10032
      s/-\n.*//
8782
      s,^['$as_cr_digits']*\n,,
8783
    ' >$as_me.lineno &&
10033
    ' >$as_me.lineno &&
8784
  chmod +x $as_me.lineno ||
10034
  chmod +x "$as_me.lineno" ||
8785
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8786
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10035
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8787
   { (exit 1); exit 1; }; }
10036
   { (exit 1); exit 1; }; }
8788
10037
8789
  # Don't try to exec as it changes $[0], causing all sort of problems
10038
  # Don't try to exec as it changes $[0], causing all sort of problems
8790
  # (the dirname of $[0] is not the place where we might find the
10039
  # (the dirname of $[0] is not the place where we might find the
8791
  # original and so on.  Autoconf is especially sensible to this).
10040
  # original and so on.  Autoconf is especially sensitive to this).
8792
  . ./$as_me.lineno
10041
  . "./$as_me.lineno"
8793
  # Exit status is that of the last command.
10042
  # Exit status is that of the last command.
8794
  exit
10043
  exit
8795
}
10044
}
8796
10045
8797
10046
8798
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10047
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8799
  *c*,-n*) ECHO_N= ECHO_C='
10048
  as_dirname=dirname
10049
else
10050
  as_dirname=false
10051
fi
10052
10053
ECHO_C= ECHO_N= ECHO_T=
10054
case `echo -n x` in
10055
-n*)
10056
  case `echo 'x\c'` in
10057
  *c*) ECHO_T='   ';; # ECHO_T is single tab character.
10058
  *)   ECHO_C='\c';;
10059
  esac;;
10060
*)
8800
' ECHO_T='  ' ;;
10061
  ECHO_N='-n';;
8801
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8802
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8803
esac
10062
esac
8804
10063
8805
if expr a : '\(a\)' >/dev/null 2>&1; then
10064
if expr a : '\(a\)' >/dev/null 2>&1 &&
10065
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8806
  as_expr=expr
10066
  as_expr=expr
8807
else
10067
else
8808
  as_expr=false
10068
  as_expr=false
8809
fi
10069
fi
8810
10070
8811
rm -f conf$$ conf$$.exe conf$$.file
10071
rm -f conf$$ conf$$.exe conf$$.file
10072
if test -d conf$$.dir; then
10073
  rm -f conf$$.dir/conf$$.file
10074
else
10075
  rm -f conf$$.dir
10076
  mkdir conf$$.dir
10077
fi
8812
echo >conf$$.file
10078
echo >conf$$.file
8813
if ln -s conf$$.file conf$$ 2>/dev/null; then
10079
if ln -s conf$$.file conf$$ 2>/dev/null; then
8814
  # We could just check for DJGPP; but this test a) works b) is more generic
10080
  as_ln_s='ln -s'
8815
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10081
  # ... but there are two gotchas:
8816
  if test -f conf$$.exe; then
10082
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8817
    # Don't use ln at all; we don't have any links
10083
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10084
  # In both cases, we have to default to `cp -p'.
10085
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8818
    as_ln_s='cp -p'
10086
    as_ln_s='cp -p'
8819
  else
8820
    as_ln_s='ln -s'
8821
  fi
8822
elif ln conf$$.file conf$$ 2>/dev/null; then
10087
elif ln conf$$.file conf$$ 2>/dev/null; then
8823
  as_ln_s=ln
10088
  as_ln_s=ln
8824
else
10089
else
8825
  as_ln_s='cp -p'
10090
  as_ln_s='cp -p'
8826
fi
10091
fi
8827
rm -f conf$$ conf$$.exe conf$$.file
10092
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10093
rmdir conf$$.dir 2>/dev/null
8828
10094
10095
if mkdir -p . 2>/dev/null; then
10096
  as_mkdir_p=:
10097
else
10098
  test -d ./-p && rmdir ./-p
10099
  as_mkdir_p=false
10100
fi
10101
10102
if test -x / >/dev/null 2>&1; then
10103
  as_test_x='test -x'
10104
else
10105
  if ls -dL / >/dev/null 2>&1; then
10106
    as_ls_L_option=L
10107
  else
10108
    as_ls_L_option=
10109
  fi
10110
  as_test_x='
10111
    eval sh -c '\''
10112
      if test -d "$1"; then
10113
        test -d "$1/.";
10114
      else
10115
  case $1 in
10116
        -*)set "./$1";;
10117
  esac;
10118
  case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10119
  ???[sx]*):;;*)false;;esac;fi
10120
    '\'' sh
10121
  '
10122
fi
8829
as_executable_p="test -f"
10123
as_executable_p=$as_test_x
8830
10124
8831
# Sed expression to map a string onto a valid CPP name.
10125
# Sed expression to map a string onto a valid CPP name.
8832
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
10126
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8833
10127
8834
# Sed expression to map a string onto a valid variable name.
10128
# Sed expression to map a string onto a valid variable name.
8835
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
10129
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8836
10130
8837
8838
# IFS
8839
# We need space, tab and new line, in precisely that order.
8840
as_nl='
8841
'
8842
IFS="     $as_nl"
8843
8844
# CDPATH.
8845
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
8846
10131
8847
exec 6>&1
10132
exec 6>&1
8848
10133
8849
# Open the log real soon, to keep \$[0] and so on meaningful, and to
10134
# Save the log message, to keep $[0] and so on meaningful, and to
8850
# report actual input values of CONFIG_FILES etc. instead of their
10135
# report actual input values of CONFIG_FILES etc. instead of their
8851
# values after options handling.  Logging --version etc. is OK.
10136
# values after options handling.
8852
exec 5>>config.log
10137
ac_log="
8853
{
8854
  echo
8855
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8856
## Running $as_me. ##
8857
_ASBOX
8858
} >&5
8859
cat >&5 <<_CSEOF
8860
8861
This file was extended by $as_me, which was
10138
This file was extended by $as_me, which was
8862
generated by GNU Autoconf 2.53.  Invocation command line was
10139
generated by GNU Autoconf 2.61.  Invocation command line was
8863
10140
8864
  CONFIG_FILES    = $CONFIG_FILES
10141
  CONFIG_FILES    = $CONFIG_FILES
8865
  CONFIG_HEADERS  = $CONFIG_HEADERS
10142
  CONFIG_HEADERS  = $CONFIG_HEADERS
8866
  CONFIG_LINKS    = $CONFIG_LINKS
10143
  CONFIG_LINKS    = $CONFIG_LINKS
8867
  CONFIG_COMMANDS = $CONFIG_COMMANDS
10144
  CONFIG_COMMANDS = $CONFIG_COMMANDS
8868
  $ $0 $@
10145
  $ $0 $@
8869
10146
8870
_CSEOF
8871
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10147
on `(hostname || uname -n) 2>/dev/null | sed 1q`
8872
echo >&5
10148
"
8873
_ACEOF
8874
10149
10150
_ACEOF
10151
10152
cat >>$CONFIG_STATUS <<_ACEOF
8875
# Files that config.status was made for.
10153
# Files that config.status was made for.
8876
if test -n "$ac_config_files"; then
10154
config_files="$ac_config_files"
8877
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10155
config_headers="$ac_config_headers"
8878
fi
10156
config_commands="$ac_config_commands"
8879
10157
8880
if test -n "$ac_config_headers"; then
10158
_ACEOF
8881
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8882
fi
8883
8884
if test -n "$ac_config_links"; then
8885
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8886
fi
8887
8888
if test -n "$ac_config_commands"; then
8889
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8890
fi
8891
10159
8892
cat >>$CONFIG_STATUS <<\_ACEOF
10160
cat >>$CONFIG_STATUS <<\_ACEOF
8893
8894
ac_cs_usage="\
10161
ac_cs_usage="\
8895
\`$as_me' instantiates files from templates according to the
10162
\`$as_me' instantiates files from templates according to the
8896
current configuration.
10163
current configuration.
8897
10164
8898
Usage: $0 [OPTIONS] [FILE]...
10165
Usage: $0 [OPTIONS] [FILE]...
8899
10166
8900
  -h, --help       print this help, then exit
10167
  -h, --help       print this help, then exit
8901
  -V, --version    print version number, then exit
10168
  -V, --version    print version number and configuration settings, then exit
10169
  -q, --quiet      do not print progress messages
8902
  -d, --debug      don't remove temporary files
10170
  -d, --debug      don't remove temporary files
8903
      --recheck    update $as_me by reconfiguring in the same conditions
10171
      --recheck    update $as_me by reconfiguring in the same conditions
8904
  --file=FILE[:TEMPLATE]
10172
  --file=FILE[:TEMPLATE]
8905
                   instantiate the configuration file FILE
10173
         instantiate the configuration file FILE
8906
  --header=FILE[:TEMPLATE]
10174
  --header=FILE[:TEMPLATE]
8907
                   instantiate the configuration header FILE
10175
         instantiate the configuration header FILE
8908
10176
8909
Configuration files:
10177
Configuration files:
8910
$config_files
10178
$config_files
8911
10179
8912
Configuration headers:
10180
Configuration headers:
...
...
8914
10182
8915
Configuration commands:
10183
Configuration commands:
8916
$config_commands
10184
$config_commands
8917
10185
8918
Report bugs to <bug-autoconf@gnu.org>."
10186
Report bugs to <bug-autoconf@gnu.org>."
8919
_ACEOF
8920
10187
10188
_ACEOF
8921
cat >>$CONFIG_STATUS <<_ACEOF
10189
cat >>$CONFIG_STATUS <<_ACEOF
8922
ac_cs_version="\\
10190
ac_cs_version="\\
8923
config.status
10191
config.status
8924
configured by $0, generated by GNU Autoconf 2.53,
10192
configured by $0, generated by GNU Autoconf 2.61,
8925
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10193
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8926
10194
8927
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8928
Free Software Foundation, Inc.
10195
Copyright (C) 2006 Free Software Foundation, Inc.
8929
This config.status script is free software; the Free Software Foundation
10196
This config.status script is free software; the Free Software Foundation
8930
gives unlimited permission to copy, distribute and modify it."
10197
gives unlimited permission to copy, distribute and modify it."
10198
10199
ac_pwd='$ac_pwd'
8931
srcdir=$srcdir
10200
srcdir='$srcdir'
8932
INSTALL="$INSTALL"
10201
INSTALL='$INSTALL'
8933
_ACEOF
10202
_ACEOF
8934
10203
8935
cat >>$CONFIG_STATUS <<\_ACEOF
10204
cat >>$CONFIG_STATUS <<\_ACEOF
8936
# If no file are specified by the user, then we need to provide default
10205
# If no file are specified by the user, then we need to provide default
8937
# value.  By we need to know if files were specified by the user.
10206
# value.  By we need to know if files were specified by the user.
8938
ac_need_defaults=:
10207
ac_need_defaults=:
8939
while test $# != 0
10208
while test $# != 0
8940
do
10209
do
8941
  case $1 in
10210
  case $1 in
8942
  --*=*)
10211
  --*=*)
8943
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
10212
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8944
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10213
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8945
    shift
10214
    ac_shift=:
8946
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
8947
    shift
8948
    ;;
10215
    ;;
8949
  -*);;
10216
  *)
8950
  *) # This is not an option, so the user has probably given explicit
10217
    ac_option=$1
8951
     # arguments.
10218
    ac_optarg=$2
8952
     ac_need_defaults=false;;
10219
    ac_shift=shift
10220
    ;;
8953
  esac
10221
  esac
8954
10222
8955
  case $1 in
10223
  case $ac_option in
8956
  # Handling of the options.
10224
  # Handling of the options.
8957
_ACEOF
8958
cat >>$CONFIG_STATUS <<_ACEOF
8959
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10225
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8960
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
10226
    ac_cs_recheck=: ;;
8961
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
10227
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8962
_ACEOF
8963
cat >>$CONFIG_STATUS <<\_ACEOF
8964
  --version | --vers* | -V )
8965
    echo "$ac_cs_version"; exit 0 ;;
10228
    echo "$ac_cs_version"; exit ;;
10229
  --debug | --debu | --deb | --de | --d | -d )
10230
    debug=: ;;
10231
  --file | --fil | --fi | --f )
10232
    $ac_shift
10233
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10234
    ac_need_defaults=false;;
10235
  --header | --heade | --head | --hea )
10236
    $ac_shift
10237
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10238
    ac_need_defaults=false;;
8966
  --he | --h)
10239
  --he | --h)
8967
    # Conflict between --help and --header
10240
    # Conflict between --help and --header
8968
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
8969
Try \`$0 --help' for more information." >&5
8970
echo "$as_me: error: ambiguous option: $1
10241
    { echo "$as_me: error: ambiguous option: $1
8971
Try \`$0 --help' for more information." >&2;}
10242
Try \`$0 --help' for more information." >&2
8972
   { (exit 1); exit 1; }; };;
10243
   { (exit 1); exit 1; }; };;
8973
  --help | --hel | -h )
10244
  --help | --hel | -h )
8974
    echo "$ac_cs_usage"; exit 0 ;;
10245
    echo "$ac_cs_usage"; exit ;;
8975
  --debug | --d* | -d )
10246
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8976
    debug=: ;;
10247
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8977
  --file | --fil | --fi | --f )
10248
    ac_cs_silent=: ;;
8978
    shift
8979
    CONFIG_FILES="$CONFIG_FILES $1"
8980
    ac_need_defaults=false;;
8981
  --header | --heade | --head | --hea )
8982
    shift
8983
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
8984
    ac_need_defaults=false;;
8985
10249
8986
  # This is an error.
10250
  # This is an error.
8987
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8988
Try \`$0 --help' for more information." >&5
8989
echo "$as_me: error: unrecognized option: $1
10251
  -*) { echo "$as_me: error: unrecognized option: $1
8990
Try \`$0 --help' for more information." >&2;}
10252
Try \`$0 --help' for more information." >&2
8991
   { (exit 1); exit 1; }; } ;;
10253
   { (exit 1); exit 1; }; } ;;
8992
10254
8993
  *) ac_config_targets="$ac_config_targets $1" ;;
10255
  *) ac_config_targets="$ac_config_targets $1"
10256
     ac_need_defaults=false ;;
8994
10257
8995
  esac
10258
  esac
8996
  shift
10259
  shift
8997
done
10260
done
8998
10261
8999
_ACEOF
10262
ac_configure_extra_args=
9000
10263
10264
if $ac_cs_silent; then
10265
  exec 6>/dev/null
10266
  ac_configure_extra_args="$ac_configure_extra_args --silent"
10267
fi
10268
10269
_ACEOF
10270
cat >>$CONFIG_STATUS <<_ACEOF
10271
if \$ac_cs_recheck; then
10272
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10273
  CONFIG_SHELL=$SHELL
10274
  export CONFIG_SHELL
10275
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10276
fi
10277
10278
_ACEOF
10279
cat >>$CONFIG_STATUS <<\_ACEOF
10280
exec 5>>config.log
10281
{
10282
  echo
10283
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10284
## Running $as_me. ##
10285
_ASBOX
10286
  echo "$ac_log"
10287
} >&5
10288
10289
_ACEOF
9001
cat >>$CONFIG_STATUS <<_ACEOF
10290
cat >>$CONFIG_STATUS <<_ACEOF
9002
#
10291
#
9003
# INIT-COMMANDS section.
10292
# INIT-COMMANDS
9004
#
10293
#
9005
9006
AMDEP_TRUE="$AMDEP_TRUE"
10294
AMDEP_TRUE="$AMDEP_TRUE"
9007
ac_aux_dir="$ac_aux_dir"
10295
ac_aux_dir="$ac_aux_dir"
9008
10296
9009
_ACEOF
10297
_ACEOF
9010
10298
9011
9012
9013
cat >>$CONFIG_STATUS <<\_ACEOF
10299
cat >>$CONFIG_STATUS <<\_ACEOF
10300
10301
# Handling of arguments.
9014
for ac_config_target in $ac_config_targets
10302
for ac_config_target in $ac_config_targets
9015
do
10303
do
9016
  case "$ac_config_target" in
10304
  case $ac_config_target in
9017
  # Handling of arguments.
10305
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9018
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9019
  "unac.pc" ) CONFIG_FILES="$CONFIG_FILES unac.pc" ;;
9020
  "unac.spec" ) CONFIG_FILES="$CONFIG_FILES unac.spec" ;;
9021
  "t_unac" ) CONFIG_FILES="$CONFIG_FILES t_unac" ;;
9022
  "builder" ) CONFIG_FILES="$CONFIG_FILES builder" ;;
9023
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
10306
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
10307
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10308
    "unac.pc") CONFIG_FILES="$CONFIG_FILES unac.pc" ;;
10309
    "unac.spec") CONFIG_FILES="$CONFIG_FILES unac.spec" ;;
10310
    "t_unac") CONFIG_FILES="$CONFIG_FILES t_unac" ;;
10311
    "builder") CONFIG_FILES="$CONFIG_FILES builder" ;;
9024
  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
10312
    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
9025
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10313
9026
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10314
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9027
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10315
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9028
   { (exit 1); exit 1; }; };;
10316
   { (exit 1); exit 1; }; };;
9029
  esac
10317
  esac
9030
done
10318
done
10319
9031
10320
9032
# If the user did not use the arguments to specify the items to instantiate,
10321
# If the user did not use the arguments to specify the items to instantiate,
9033
# then the envvar interface is used.  Set only those that are not.
10322
# then the envvar interface is used.  Set only those that are not.
9034
# We use the long form for the default assignment because of an extremely
10323
# We use the long form for the default assignment because of an extremely
9035
# bizarre bug on SunOS 4.1.3.
10324
# bizarre bug on SunOS 4.1.3.
...
...
9037
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10326
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9038
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10327
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9039
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10328
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9040
fi
10329
fi
9041
10330
9042
# Create a temporary directory, and hook for its removal unless debugging.
10331
# Have a temporary directory for convenience.  Make it in the build tree
10332
# simply because there is no reason against having it here, and in addition,
10333
# creating and moving files from /tmp can sometimes cause problems.
10334
# Hook for its removal unless debugging.
10335
# Note that there is a small window in which the directory will not be cleaned:
10336
# after its creation but before its name has been assigned to `$tmp'.
9043
$debug ||
10337
$debug ||
9044
{
10338
{
9045
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10339
  tmp=
10340
  trap 'exit_status=$?
10341
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10342
' 0
9046
  trap '{ (exit 1); exit 1; }' 1 2 13 15
10343
  trap '{ (exit 1); exit 1; }' 1 2 13 15
9047
}
10344
}
9048
9049
# Create a (secure) tmp directory for tmp files.
10345
# Create a (secure) tmp directory for tmp files.
9050
: ${TMPDIR=/tmp}
10346
9051
{
10347
{
9052
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
10348
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9053
  test -n "$tmp" && test -d "$tmp"
10349
  test -n "$tmp" && test -d "$tmp"
9054
}  ||
10350
}  ||
9055
{
10351
{
9056
  tmp=$TMPDIR/cs$$-$RANDOM
10352
  tmp=./conf$$-$RANDOM
9057
  (umask 077 && mkdir $tmp)
10353
  (umask 077 && mkdir "$tmp")
9058
} ||
10354
} ||
9059
{
10355
{
9060
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
10356
   echo "$me: cannot create a temporary directory in ." >&2
9061
   { (exit 1); exit 1; }
10357
   { (exit 1); exit 1; }
9062
}
10358
}
9063
10359
9064
_ACEOF
9065
9066
cat >>$CONFIG_STATUS <<_ACEOF
9067
9068
#
10360
#
9069
# CONFIG_FILES section.
10361
# Set up the sed scripts for CONFIG_FILES section.
9070
#
10362
#
9071
10363
9072
# No need to generate the scripts if there are no CONFIG_FILES.
10364
# No need to generate the scripts if there are no CONFIG_FILES.
9073
# This happens for instance when ./config.status config.h
10365
# This happens for instance when ./config.status config.h
9074
if test -n "\$CONFIG_FILES"; then
10366
if test -n "$CONFIG_FILES"; then
9075
  # Protect against being on the right side of a sed subst in config.status.
10367
9076
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9077
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9078
s,@SHELL@,$SHELL,;t t
9079
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9080
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9081
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9082
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9083
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9084
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9085
s,@exec_prefix@,$exec_prefix,;t t
9086
s,@prefix@,$prefix,;t t
9087
s,@program_transform_name@,$program_transform_name,;t t
9088
s,@bindir@,$bindir,;t t
9089
s,@sbindir@,$sbindir,;t t
9090
s,@libexecdir@,$libexecdir,;t t
9091
s,@datadir@,$datadir,;t t
9092
s,@sysconfdir@,$sysconfdir,;t t
9093
s,@sharedstatedir@,$sharedstatedir,;t t
9094
s,@localstatedir@,$localstatedir,;t t
9095
s,@libdir@,$libdir,;t t
9096
s,@includedir@,$includedir,;t t
9097
s,@oldincludedir@,$oldincludedir,;t t
9098
s,@infodir@,$infodir,;t t
9099
s,@mandir@,$mandir,;t t
9100
s,@build_alias@,$build_alias,;t t
9101
s,@host_alias@,$host_alias,;t t
9102
s,@target_alias@,$target_alias,;t t
9103
s,@DEFS@,$DEFS,;t t
9104
s,@ECHO_C@,$ECHO_C,;t t
9105
s,@ECHO_N@,$ECHO_N,;t t
9106
s,@ECHO_T@,$ECHO_T,;t t
9107
s,@LIBS@,$LIBS,;t t
9108
s,@MAJOR_VERSION@,$MAJOR_VERSION,;t t
9109
s,@MINOR_VERSION@,$MINOR_VERSION,;t t
9110
s,@MICRO_VERSION@,$MICRO_VERSION,;t t
9111
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9112
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9113
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9114
s,@PACKAGE@,$PACKAGE,;t t
9115
s,@VERSION@,$VERSION,;t t
9116
s,@EXEEXT@,$EXEEXT,;t t
9117
s,@OBJEXT@,$OBJEXT,;t t
9118
s,@ACLOCAL@,$ACLOCAL,;t t
9119
s,@AUTOCONF@,$AUTOCONF,;t t
9120
s,@AUTOMAKE@,$AUTOMAKE,;t t
9121
s,@AUTOHEADER@,$AUTOHEADER,;t t
9122
s,@MAKEINFO@,$MAKEINFO,;t t
9123
s,@AMTAR@,$AMTAR,;t t
9124
s,@install_sh@,$install_sh,;t t
9125
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9126
s,@AWK@,$AWK,;t t
9127
s,@SET_MAKE@,$SET_MAKE,;t t
9128
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9129
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9130
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9131
s,@DEPDIR@,$DEPDIR,;t t
9132
s,@UNICODE_VERSION@,$UNICODE_VERSION,;t t
9133
s,@CC@,$CC,;t t
9134
s,@CFLAGS@,$CFLAGS,;t t
9135
s,@LDFLAGS@,$LDFLAGS,;t t
9136
s,@CPPFLAGS@,$CPPFLAGS,;t t
9137
s,@ac_ct_CC@,$ac_ct_CC,;t t
9138
s,@am__include@,$am__include,;t t
9139
s,@am__quote@,$am__quote,;t t
9140
s,@CCDEPMODE@,$CCDEPMODE,;t t
9141
s,@CPP@,$CPP,;t t
9142
s,@build@,$build,;t t
9143
s,@build_cpu@,$build_cpu,;t t
9144
s,@build_vendor@,$build_vendor,;t t
9145
s,@build_os@,$build_os,;t t
9146
s,@host@,$host,;t t
9147
s,@host_cpu@,$host_cpu,;t t
9148
s,@host_vendor@,$host_vendor,;t t
9149
s,@host_os@,$host_os,;t t
9150
s,@LN_S@,$LN_S,;t t
9151
s,@ECHO@,$ECHO,;t t
9152
s,@RANLIB@,$RANLIB,;t t
9153
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9154
s,@STRIP@,$STRIP,;t t
9155
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9156
s,@LIBTOOL@,$LIBTOOL,;t t
9157
s,@PERL@,$PERL,;t t
9158
s,@SH@,$SH,;t t
9159
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9160
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9161
s,@MAINT@,$MAINT,;t t
9162
s,@LIBICONV@,$LIBICONV,;t t
9163
s,@LTLIBICONV@,$LTLIBICONV,;t t
9164
s,@LIBOBJS@,$LIBOBJS,;t t
9165
CEOF
10368
_ACEOF
9166
10369
9167
_ACEOF
9168
10370
10371
10372
ac_delim='%!_!# '
10373
for ac_last_try in false false false false false :; do
10374
  cat >conf$$subs.sed <<_ACEOF
10375
SHELL!$SHELL$ac_delim
10376
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10377
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10378
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10379
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10380
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10381
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10382
exec_prefix!$exec_prefix$ac_delim
10383
prefix!$prefix$ac_delim
10384
program_transform_name!$program_transform_name$ac_delim
10385
bindir!$bindir$ac_delim
10386
sbindir!$sbindir$ac_delim
10387
libexecdir!$libexecdir$ac_delim
10388
datarootdir!$datarootdir$ac_delim
10389
datadir!$datadir$ac_delim
10390
sysconfdir!$sysconfdir$ac_delim
10391
sharedstatedir!$sharedstatedir$ac_delim
10392
localstatedir!$localstatedir$ac_delim
10393
includedir!$includedir$ac_delim
10394
oldincludedir!$oldincludedir$ac_delim
10395
docdir!$docdir$ac_delim
10396
infodir!$infodir$ac_delim
10397
htmldir!$htmldir$ac_delim
10398
dvidir!$dvidir$ac_delim
10399
pdfdir!$pdfdir$ac_delim
10400
psdir!$psdir$ac_delim
10401
libdir!$libdir$ac_delim
10402
localedir!$localedir$ac_delim
10403
mandir!$mandir$ac_delim
10404
DEFS!$DEFS$ac_delim
10405
ECHO_C!$ECHO_C$ac_delim
10406
ECHO_N!$ECHO_N$ac_delim
10407
ECHO_T!$ECHO_T$ac_delim
10408
LIBS!$LIBS$ac_delim
10409
build_alias!$build_alias$ac_delim
10410
host_alias!$host_alias$ac_delim
10411
target_alias!$target_alias$ac_delim
10412
MAJOR_VERSION!$MAJOR_VERSION$ac_delim
10413
MINOR_VERSION!$MINOR_VERSION$ac_delim
10414
MICRO_VERSION!$MICRO_VERSION$ac_delim
10415
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10416
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10417
INSTALL_DATA!$INSTALL_DATA$ac_delim
10418
PACKAGE!$PACKAGE$ac_delim
10419
VERSION!$VERSION$ac_delim
10420
EXEEXT!$EXEEXT$ac_delim
10421
OBJEXT!$OBJEXT$ac_delim
10422
ACLOCAL!$ACLOCAL$ac_delim
10423
AUTOCONF!$AUTOCONF$ac_delim
10424
AUTOMAKE!$AUTOMAKE$ac_delim
10425
AUTOHEADER!$AUTOHEADER$ac_delim
10426
MAKEINFO!$MAKEINFO$ac_delim
10427
AMTAR!$AMTAR$ac_delim
10428
install_sh!$install_sh$ac_delim
10429
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10430
AWK!$AWK$ac_delim
10431
SET_MAKE!$SET_MAKE$ac_delim
10432
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10433
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10434
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10435
DEPDIR!$DEPDIR$ac_delim
10436
UNICODE_VERSION!$UNICODE_VERSION$ac_delim
10437
CC!$CC$ac_delim
10438
CFLAGS!$CFLAGS$ac_delim
10439
LDFLAGS!$LDFLAGS$ac_delim
10440
CPPFLAGS!$CPPFLAGS$ac_delim
10441
ac_ct_CC!$ac_ct_CC$ac_delim
10442
am__include!$am__include$ac_delim
10443
am__quote!$am__quote$ac_delim
10444
CCDEPMODE!$CCDEPMODE$ac_delim
10445
CPP!$CPP$ac_delim
10446
GREP!$GREP$ac_delim
10447
EGREP!$EGREP$ac_delim
10448
build!$build$ac_delim
10449
build_cpu!$build_cpu$ac_delim
10450
build_vendor!$build_vendor$ac_delim
10451
build_os!$build_os$ac_delim
10452
host!$host$ac_delim
10453
host_cpu!$host_cpu$ac_delim
10454
host_vendor!$host_vendor$ac_delim
10455
host_os!$host_os$ac_delim
10456
LN_S!$LN_S$ac_delim
10457
ECHO!$ECHO$ac_delim
10458
RANLIB!$RANLIB$ac_delim
10459
STRIP!$STRIP$ac_delim
10460
LIBTOOL!$LIBTOOL$ac_delim
10461
PERL!$PERL$ac_delim
10462
SH!$SH$ac_delim
10463
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
10464
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
10465
MAINT!$MAINT$ac_delim
10466
LIBICONV!$LIBICONV$ac_delim
10467
LTLIBICONV!$LTLIBICONV$ac_delim
10468
LIBOBJS!$LIBOBJS$ac_delim
10469
LTLIBOBJS!$LTLIBOBJS$ac_delim
10470
_ACEOF
10471
10472
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 95; then
10473
    break
10474
  elif $ac_last_try; then
10475
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10476
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10477
   { (exit 1); exit 1; }; }
10478
  else
10479
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10480
  fi
10481
done
10482
10483
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10484
if test -n "$ac_eof"; then
10485
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10486
  ac_eof=`expr $ac_eof + 1`
10487
fi
10488
10489
cat >>$CONFIG_STATUS <<_ACEOF
10490
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10491
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10492
_ACEOF
10493
sed '
10494
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10495
s/^/s,@/; s/!/@,|#_!!_#|/
10496
:n
10497
t n
10498
s/'"$ac_delim"'$/,g/; t
10499
s/$/\\/; p
10500
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10501
' >>$CONFIG_STATUS <conf$$subs.sed
10502
rm -f conf$$subs.sed
10503
cat >>$CONFIG_STATUS <<_ACEOF
10504
:end
10505
s/|#_!!_#|//g
10506
CEOF$ac_eof
10507
_ACEOF
10508
10509
10510
# VPATH may cause trouble with some makes, so we remove $(srcdir),
10511
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10512
# trailing colons and then remove the whole line if VPATH becomes empty
10513
# (actually we leave an empty line to preserve line numbers).
10514
if test "x$srcdir" = x.; then
10515
  ac_vpsub='/^[    ]*VPATH[    ]*=/{
10516
s/:*\$(srcdir):*/:/
10517
s/:*\${srcdir}:*/:/
10518
s/:*@srcdir@:*/:/
10519
s/^\([^=]*=[   ]*\):*/\1/
10520
s/:*$//
10521
s/^[^=]*=[     ]*$//
10522
}'
10523
fi
10524
9169
  cat >>$CONFIG_STATUS <<\_ACEOF
10525
cat >>$CONFIG_STATUS <<\_ACEOF
9170
  # Split the substitutions into bite-sized pieces for seds with
10526
fi # test -n "$CONFIG_FILES"
9171
  # small command number limits, like on Digital OSF/1 and HP-UX.
10527
9172
  ac_max_sed_lines=48
10528
9173
  ac_sed_frag=1 # Number of current file.
10529
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
9174
  ac_beg=1 # First line for current file.
10530
do
9175
  ac_end=$ac_max_sed_lines # Line after last line for current file.
10531
  case $ac_tag in
9176
  ac_more_lines=:
10532
  :[FHLC]) ac_mode=$ac_tag; continue;;
9177
  ac_sed_cmds=
10533
  esac
9178
  while $ac_more_lines; do
10534
  case $ac_mode$ac_tag in
9179
    if test $ac_beg -gt 1; then
10535
  :[FHL]*:*);;
9180
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10536
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9181
    else
10537
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9182
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10538
   { (exit 1); exit 1; }; };;
10539
  :[FH]-) ac_tag=-:-;;
10540
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10541
  esac
10542
  ac_save_IFS=$IFS
10543
  IFS=:
10544
  set x $ac_tag
10545
  IFS=$ac_save_IFS
10546
  shift
10547
  ac_file=$1
10548
  shift
10549
10550
  case $ac_mode in
10551
  :L) ac_source=$1;;
10552
  :[FH])
10553
    ac_file_inputs=
10554
    for ac_f
10555
    do
10556
      case $ac_f in
10557
      -) ac_f="$tmp/stdin";;
10558
      *) # Look for the file first in the build tree, then in the source tree
10559
   # (if the path is not absolute).  The absolute path cannot be DOS-style,
10560
   # because $ac_f cannot contain `:'.
10561
   test -f "$ac_f" ||
10562
     case $ac_f in
10563
     [\\/$]*) false;;
10564
     *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10565
     esac ||
10566
     { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10567
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10568
   { (exit 1); exit 1; }; };;
10569
      esac
10570
      ac_file_inputs="$ac_file_inputs $ac_f"
10571
    done
10572
10573
    # Let's still pretend it is `configure' which instantiates (i.e., don't
10574
    # use $as_me), people would be surprised to read:
10575
    #    /* config.h.  Generated by config.status.  */
10576
    configure_input="Generated from "`IFS=:
10577
    echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10578
    if test x"$ac_file" != x-; then
10579
      configure_input="$ac_file.  $configure_input"
10580
      { echo "$as_me:$LINENO: creating $ac_file" >&5
10581
echo "$as_me: creating $ac_file" >&6;}
9183
    fi
10582
    fi
9184
    if test ! -s $tmp/subs.frag; then
9185
      ac_more_lines=false
9186
    else
9187
      # The purpose of the label and of the branching condition is to
9188
      # speed up the sed processing (if there are no `@' at all, there
9189
      # is no need to browse any of the substitutions).
9190
      # These are the two extra sed commands mentioned above.
9191
      (echo ':t
9192
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9193
      if test -z "$ac_sed_cmds"; then
9194
      ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9195
      else
9196
      ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9197
      fi
9198
      ac_sed_frag=`expr $ac_sed_frag + 1`
9199
      ac_beg=$ac_end
9200
      ac_end=`expr $ac_end + $ac_max_sed_lines`
9201
    fi
9202
  done
9203
  if test -z "$ac_sed_cmds"; then
9204
    ac_sed_cmds=cat
9205
  fi
9206
fi # test -n "$CONFIG_FILES"
9207
10583
9208
_ACEOF
9209
cat >>$CONFIG_STATUS <<\_ACEOF
9210
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9211
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9212
  case $ac_file in
10584
    case $ac_tag in
9213
  - | *:- | *:-:* ) # input from stdin
10585
    *:-:* | *:-) cat >"$tmp/stdin";;
9214
        cat >$tmp/stdin
9215
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9216
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9217
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9218
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9219
  * )   ac_file_in=$ac_file.in ;;
9220
  esac
10586
    esac
9221
9222
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9223
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9224
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9225
         X"$ac_file" : 'X\(//\)[^/]' \| \
9226
         X"$ac_file" : 'X\(//\)$' \| \
9227
         X"$ac_file" : 'X\(/\)' \| \
9228
         .     : '\(.\)' 2>/dev/null ||
9229
echo X"$ac_file" |
9230
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9231
        /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9232
        /^X\(\/\/\)$/{ s//\1/; q; }
9233
        /^X\(\/\).*/{ s//\1/; q; }
9234
        s/.*/./; q'`
9235
  { case "$ac_dir" in
9236
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9237
  *)                      as_incr_dir=.;;
9238
esac
9239
as_dummy="$ac_dir"
9240
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9241
  case $as_mkdir_dir in
9242
    # Skip DOS drivespec
9243
    ?:) as_incr_dir=$as_mkdir_dir ;;
9244
    *)
9245
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
9246
      test -d "$as_incr_dir" ||
9247
        mkdir "$as_incr_dir" ||
9248
  { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
9249
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9250
   { (exit 1); exit 1; }; }
9251
    ;;
10587
    ;;
9252
  esac
10588
  esac
9253
done; }
9254
10589
10590
  ac_dir=`$as_dirname -- "$ac_file" ||
10591
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10592
   X"$ac_file" : 'X\(//\)[^/]' \| \
10593
   X"$ac_file" : 'X\(//\)$' \| \
10594
   X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10595
echo X"$ac_file" |
10596
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10597
      s//\1/
10598
      q
10599
    }
10600
    /^X\(\/\/\)[^/].*/{
10601
      s//\1/
10602
      q
10603
    }
10604
    /^X\(\/\/\)$/{
10605
      s//\1/
10606
      q
10607
    }
10608
    /^X\(\/\).*/{
10609
      s//\1/
10610
      q
10611
    }
10612
    s/.*/./; q'`
10613
  { as_dir="$ac_dir"
10614
  case $as_dir in #(
10615
  -*) as_dir=./$as_dir;;
10616
  esac
10617
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10618
    as_dirs=
10619
    while :; do
10620
      case $as_dir in #(
10621
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10622
      *) as_qdir=$as_dir;;
10623
      esac
10624
      as_dirs="'$as_qdir' $as_dirs"
10625
      as_dir=`$as_dirname -- "$as_dir" ||
10626
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10627
   X"$as_dir" : 'X\(//\)[^/]' \| \
10628
   X"$as_dir" : 'X\(//\)$' \| \
10629
   X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10630
echo X"$as_dir" |
10631
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10632
      s//\1/
10633
      q
10634
    }
10635
    /^X\(\/\/\)[^/].*/{
10636
      s//\1/
10637
      q
10638
    }
10639
    /^X\(\/\/\)$/{
10640
      s//\1/
10641
      q
10642
    }
10643
    /^X\(\/\).*/{
10644
      s//\1/
10645
      q
10646
    }
10647
    s/.*/./; q'`
10648
      test -d "$as_dir" && break
10649
    done
10650
    test -z "$as_dirs" || eval "mkdir $as_dirs"
10651
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10652
echo "$as_me: error: cannot create directory $as_dir" >&2;}
10653
   { (exit 1); exit 1; }; }; }
9255
  ac_builddir=.
10654
  ac_builddir=.
9256
10655
9257
if test "$ac_dir" != .; then
10656
case "$ac_dir" in
10657
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10658
*)
9258
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10659
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9259
  # A "../" for each directory in $ac_dir_suffix.
10660
  # A ".." for each directory in $ac_dir_suffix.
9260
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10661
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9261
else
10662
  case $ac_top_builddir_sub in
9262
  ac_dir_suffix= ac_top_builddir=
10663
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9263
fi
10664
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10665
  esac ;;
10666
esac
10667
ac_abs_top_builddir=$ac_pwd
10668
ac_abs_builddir=$ac_pwd$ac_dir_suffix
10669
# for backward compatibility:
10670
ac_top_builddir=$ac_top_build_prefix
9264
10671
9265
case $srcdir in
10672
case $srcdir in
9266
  .)  # No --srcdir option.  We are building in place.
10673
  .)  # We are building in place.
9267
    ac_srcdir=.
10674
    ac_srcdir=.
9268
    if test -z "$ac_top_builddir"; then
10675
    ac_top_srcdir=$ac_top_builddir_sub
9269
       ac_top_srcdir=.
10676
    ac_abs_top_srcdir=$ac_pwd ;;
9270
    else
9271
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9272
    fi ;;
9273
  [\\/]* | ?:[\\/]* )  # Absolute path.
10677
  [\\/]* | ?:[\\/]* )  # Absolute name.
9274
    ac_srcdir=$srcdir$ac_dir_suffix;
10678
    ac_srcdir=$srcdir$ac_dir_suffix;
9275
    ac_top_srcdir=$srcdir ;;
10679
    ac_top_srcdir=$srcdir
10680
    ac_abs_top_srcdir=$srcdir ;;
9276
  *) # Relative path.
10681
  *) # Relative name.
9277
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10682
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9278
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
10683
    ac_top_srcdir=$ac_top_build_prefix$srcdir
10684
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9279
esac
10685
esac
9280
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10686
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9281
# absolute.
9282
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
9283
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
9284
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9285
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9286
10687
10688
10689
  case $ac_mode in
10690
  :F)
10691
  #
10692
  # CONFIG_FILE
10693
  #
9287
10694
9288
  case $INSTALL in
10695
  case $INSTALL in
9289
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10696
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9290
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10697
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9291
  esac
10698
  esac
9292
9293
  if test x"$ac_file" != x-; then
9294
    { echo "$as_me:$LINENO: creating $ac_file" >&5
9295
echo "$as_me: creating $ac_file" >&6;}
9296
    rm -f "$ac_file"
9297
  fi
9298
  # Let's still pretend it is `configure' which instantiates (i.e., don't
9299
  # use $as_me), people would be surprised to read:
9300
  #    /* config.h.  Generated by config.status.  */
9301
  if test x"$ac_file" = x-; then
9302
    configure_input=
9303
  else
9304
    configure_input="$ac_file.  "
9305
  fi
9306
  configure_input=$configure_input"Generated from `echo $ac_file_in |
9307
                                     sed 's,.*/,,'` by configure."
9308
9309
  # First look for the input files in the build tree, otherwise in the
9310
  # src tree.
9311
  ac_file_inputs=`IFS=:
9312
    for f in $ac_file_in; do
9313
      case $f in
9314
      -) echo $tmp/stdin ;;
9315
      [\\/$]*)
9316
         # Absolute (can't be DOS-style, as IFS=:)
9317
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9318
echo "$as_me: error: cannot find input file: $f" >&2;}
9319
   { (exit 1); exit 1; }; }
9320
         echo $f;;
9321
      *) # Relative
9322
         if test -f "$f"; then
9323
           # Build tree
9324
           echo $f
9325
         elif test -f "$srcdir/$f"; then
9326
           # Source tree
9327
           echo $srcdir/$f
9328
         else
9329
           # /dev/null tree
9330
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9331
echo "$as_me: error: cannot find input file: $f" >&2;}
9332
   { (exit 1); exit 1; }; }
9333
         fi;;
9334
      esac
9335
    done` || { (exit 1); exit 1; }
9336
_ACEOF
10699
_ACEOF
10700
10701
cat >>$CONFIG_STATUS <<\_ACEOF
10702
# If the template does not know about datarootdir, expand it.
10703
# FIXME: This hack should be removed a few years after 2.60.
10704
ac_datarootdir_hack=; ac_datarootdir_seen=
10705
10706
case `sed -n '/datarootdir/ {
10707
  p
10708
  q
10709
}
10710
/@datadir@/p
10711
/@docdir@/p
10712
/@infodir@/p
10713
/@localedir@/p
10714
/@mandir@/p
10715
' $ac_file_inputs` in
10716
*datarootdir*) ac_datarootdir_seen=yes;;
10717
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10718
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10719
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10720
_ACEOF
10721
cat >>$CONFIG_STATUS <<_ACEOF
10722
  ac_datarootdir_hack='
10723
  s&@datadir@&$datadir&g
10724
  s&@docdir@&$docdir&g
10725
  s&@infodir@&$infodir&g
10726
  s&@localedir@&$localedir&g
10727
  s&@mandir@&$mandir&g
10728
    s&\\\${datarootdir}&$datarootdir&g' ;;
10729
esac
10730
_ACEOF
10731
10732
# Neutralize VPATH when `$srcdir' = `.'.
10733
# Shell code in configure.ac might set extrasub.
10734
# FIXME: do we really want to maintain this feature?
9337
cat >>$CONFIG_STATUS <<_ACEOF
10735
cat >>$CONFIG_STATUS <<_ACEOF
9338
  sed "$ac_vpsub
10736
  sed "$ac_vpsub
9339
$extrasub
10737
$extrasub
9340
_ACEOF
10738
_ACEOF
9341
cat >>$CONFIG_STATUS <<\_ACEOF
10739
cat >>$CONFIG_STATUS <<\_ACEOF
9342
:t
10740
:t
9343
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10741
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9344
s,@configure_input@,$configure_input,;t t
10742
s&@configure_input@&$configure_input&;t t
10743
s&@top_builddir@&$ac_top_builddir_sub&;t t
9345
s,@srcdir@,$ac_srcdir,;t t
10744
s&@srcdir@&$ac_srcdir&;t t
9346
s,@abs_srcdir@,$ac_abs_srcdir,;t t
10745
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9347
s,@top_srcdir@,$ac_top_srcdir,;t t
10746
s&@top_srcdir@&$ac_top_srcdir&;t t
9348
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
10747
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9349
s,@builddir@,$ac_builddir,;t t
10748
s&@builddir@&$ac_builddir&;t t
9350
s,@abs_builddir@,$ac_abs_builddir,;t t
10749
s&@abs_builddir@&$ac_abs_builddir&;t t
9351
s,@top_builddir@,$ac_top_builddir,;t t
9352
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
10750
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9353
s,@INSTALL@,$ac_INSTALL,;t t
10751
s&@INSTALL@&$ac_INSTALL&;t t
9354
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10752
$ac_datarootdir_hack
10753
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
10754
10755
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10756
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10757
  { ac_out=`sed -n '/^[    ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10758
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10759
which seems to be undefined.  Please make sure it is defined." >&5
10760
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10761
which seems to be undefined.  Please make sure it is defined." >&2;}
10762
9355
  rm -f $tmp/stdin
10763
  rm -f "$tmp/stdin"
9356
  if test x"$ac_file" != x-; then
10764
  case $ac_file in
9357
    mv $tmp/out $ac_file
10765
  -) cat "$tmp/out"; rm -f "$tmp/out";;
9358
  else
10766
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9359
    cat $tmp/out
10767
  esac
9360
    rm -f $tmp/out
10768
 ;;
9361
  fi
10769
  :H)
9362
10770
  #
9363
done
10771
  # CONFIG_HEADER
10772
  #
9364
_ACEOF
10773
_ACEOF
9365
cat >>$CONFIG_STATUS <<\_ACEOF
9366
10774
9367
#
10775
# Transform confdefs.h into a sed script `conftest.defines', that
9368
# CONFIG_HEADER section.
10776
# substitutes the proper values into config.h.in to produce config.h.
9369
#
10777
rm -f conftest.defines conftest.tail
9370
10778
# First, append a space to every undef/define line, to ease matching.
10779
echo 's/$/ /' >conftest.defines
10780
# Then, protect against being on the right side of a sed subst, or in
10781
# an unquoted here document, in config.status.  If some macros were
10782
# called several times there might be several #defines for the same
10783
# symbol, which is useless.  But do not sort them, since the last
10784
# AC_DEFINE must be honored.
10785
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9371
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10786
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9372
# NAME is the cpp macro being defined and VALUE is the value it is being given.
10787
# NAME is the cpp macro being defined, VALUE is the value it is being given.
9373
#
10788
# PARAMS is the parameter list in the macro definition--in most cases, it's
9374
# ac_d sets the value in "#define NAME VALUE" lines.
10789
# just an empty string.
9375
ac_dA='s,^\([     ]*\)#\([    ]*define[   ][  ]*\)'
10790
ac_dA='s,^\\([     #]*\\)[^    ]*\\([  ]*'
9376
ac_dB='[  ].*$,\1#\2'
10791
ac_dB='\\)[    (].*,\\1define\\2'
9377
ac_dC=' '
10792
ac_dC=' '
9378
ac_dD=',;t'
10793
ac_dD=' ,'
9379
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9380
ac_uA='s,^\([     ]*\)#\([    ]*\)undef\([    ][  ]*\)'
9381
ac_uB='$,\1#\2define\3'
9382
ac_uC=' '
9383
ac_uD=',;t'
9384
10794
9385
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10795
uniq confdefs.h |
9386
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10796
  sed -n '
9387
  case $ac_file in
10797
  t rset
9388
  - | *:- | *:-:* ) # input from stdin
10798
  :rset
9389
        cat >$tmp/stdin
10799
  s/^[     ]*#[    ]*define[   ][  ]*//
9390
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10800
  t ok
9391
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10801
  d
9392
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10802
  :ok
9393
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9394
  * )   ac_file_in=$ac_file.in ;;
9395
  esac
9396
9397
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9398
echo "$as_me: creating $ac_file" >&6;}
9399
9400
  # First look for the input files in the build tree, otherwise in the
9401
  # src tree.
9402
  ac_file_inputs=`IFS=:
9403
    for f in $ac_file_in; do
9404
      case $f in
9405
      -) echo $tmp/stdin ;;
9406
      [\\/$]*)
9407
         # Absolute (can't be DOS-style, as IFS=:)
9408
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9409
echo "$as_me: error: cannot find input file: $f" >&2;}
9410
   { (exit 1); exit 1; }; }
9411
         echo $f;;
9412
      *) # Relative
9413
         if test -f "$f"; then
9414
           # Build tree
9415
           echo $f
9416
         elif test -f "$srcdir/$f"; then
9417
           # Source tree
9418
           echo $srcdir/$f
9419
         else
9420
           # /dev/null tree
9421
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9422
echo "$as_me: error: cannot find input file: $f" >&2;}
9423
   { (exit 1); exit 1; }; }
9424
         fi;;
9425
      esac
9426
    done` || { (exit 1); exit 1; }
9427
  # Remove the trailing spaces.
9428
  sed 's/[    ]*$//' $ac_file_inputs >$tmp/in
9429
9430
_ACEOF
9431
9432
# Transform confdefs.h into two sed scripts, `conftest.defines' and
9433
# `conftest.undefs', that substitutes the proper values into
9434
# config.h.in to produce config.h.  The first handles `#define'
9435
# templates, and the second `#undef' templates.
9436
# And first: Protect against being on the right side of a sed subst in
9437
# config.status.  Protect against being in an unquoted here document
9438
# in config.status.
9439
rm -f conftest.defines conftest.undefs
9440
# Using a here document instead of a string reduces the quoting nightmare.
9441
# Putting comments in sed scripts is not portable.
9442
#
9443
# `end' is used to avoid that the second main sed command (meant for
9444
# 0-ary CPP macros) applies to n-ary macro definitions.
9445
# See the Autoconf documentation for `clear'.
9446
cat >confdef2sed.sed <<\_ACEOF
9447
s/[\\&,]/\\&/g
10803
  s/[\\&,]/\\&/g
9448
s,[\\$`],\\&,g
10804
  s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9449
t clear
10805
  s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9450
: clear
10806
  ' >>conftest.defines
9451
s,^[  ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9452
t end
9453
s,^[  ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9454
: end
9455
_ACEOF
9456
# If some macros were called several times there might be several times
9457
# the same #defines, which is useless.  Nevertheless, we may not want to
9458
# sort them, since we want the *last* AC-DEFINE to be honored.
9459
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9460
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9461
rm -f confdef2sed.sed
9462
10807
10808
# Remove the space that was appended to ease matching.
9463
# This sed command replaces #undef with comments.  This is necessary, for
10809
# Then replace #undef with comments.  This is necessary, for
9464
# example, in the case of _POSIX_SOURCE, which is predefined and required
10810
# example, in the case of _POSIX_SOURCE, which is predefined and required
9465
# on some systems where configure will not decide to define it.
10811
# on some systems where configure will not decide to define it.
9466
cat >>conftest.undefs <<\_ACEOF
10812
# (The regexp can be short, since the line contains either #define or #undef.)
9467
s,^[  ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10813
echo 's/ $//
9468
_ACEOF
10814
s,^[   #]*u.*,/* & */,' >>conftest.defines
9469
10815
9470
# Break up conftest.defines because some shells have a limit on the size
10816
# Break up conftest.defines:
9471
# of here documents, and old seds have small limits too (100 cmds).
10817
ac_max_sed_lines=50
9472
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10818
9473
echo '  if egrep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10819
# First sed command is:    sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9474
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10820
# Second one is:   sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9475
echo '  :' >>$CONFIG_STATUS
10821
# Third one will be:   sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9476
rm -f conftest.tail
10822
# et cetera.
9477
while grep . conftest.defines >/dev/null
10823
ac_in='$ac_file_inputs'
10824
ac_out='"$tmp/out1"'
10825
ac_nxt='"$tmp/out2"'
10826
10827
while :
9478
do
10828
do
9479
  # Write a limited-size here document to $tmp/defines.sed.
10829
  # Write a here document:
9480
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10830
    cat >>$CONFIG_STATUS <<_ACEOF
9481
  # Speed up: don't consider the non `#define' lines.
10831
    # First, check the format of the line:
9482
  echo '/^[   ]*#[    ]*define/!b' >>$CONFIG_STATUS
10832
    cat >"\$tmp/defines.sed" <<\\CEOF
9483
  # Work around the forget-to-reset-the-flag bug.
10833
/^[    ]*#[    ]*undef[    ][  ]*$ac_word_re[  ]*\$/b def
9484
  echo 't clr' >>$CONFIG_STATUS
10834
/^[    ]*#[    ]*define[   ][  ]*$ac_word_re[(     ]/b def
9485
  echo ': clr' >>$CONFIG_STATUS
10835
b
10836
:def
10837
_ACEOF
9486
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10838
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9487
  echo 'CEOF
10839
  echo 'CEOF
9488
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
10840
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9489
  rm -f $tmp/in
10841
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9490
  mv $tmp/out $tmp/in
9491
' >>$CONFIG_STATUS
9492
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
10842
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
10843
  grep . conftest.tail >/dev/null || break
9493
  rm -f conftest.defines
10844
  rm -f conftest.defines
9494
  mv conftest.tail conftest.defines
10845
  mv conftest.tail conftest.defines
9495
done
10846
done
9496
rm -f conftest.defines
10847
rm -f conftest.defines conftest.tail
9497
echo '  fi # egrep' >>$CONFIG_STATUS
9498
echo >>$CONFIG_STATUS
9499
10848
9500
# Break up conftest.undefs because some shells have a limit on the size
10849
echo "ac_result=$ac_in" >>$CONFIG_STATUS
9501
# of here documents, and old seds have small limits too (100 cmds).
9502
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
9503
rm -f conftest.tail
9504
while grep . conftest.undefs >/dev/null
9505
do
9506
  # Write a limited-size here document to $tmp/undefs.sed.
9507
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9508
  # Speed up: don't consider the non `#undef'
9509
  echo '/^[   ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9510
  # Work around the forget-to-reset-the-flag bug.
9511
  echo 't clr' >>$CONFIG_STATUS
9512
  echo ': clr' >>$CONFIG_STATUS
9513
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9514
  echo 'CEOF
9515
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9516
  rm -f $tmp/in
9517
  mv $tmp/out $tmp/in
9518
' >>$CONFIG_STATUS
9519
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9520
  rm -f conftest.undefs
9521
  mv conftest.tail conftest.undefs
9522
done
9523
rm -f conftest.undefs
9524
9525
cat >>$CONFIG_STATUS <<\_ACEOF
10850
cat >>$CONFIG_STATUS <<\_ACEOF
9526
  # Let's still pretend it is `configure' which instantiates (i.e., don't
9527
  # use $as_me), people would be surprised to read:
9528
  #    /* config.h.  Generated by config.status.  */
9529
  if test x"$ac_file" = x-; then
9530
    echo "/* Generated by configure.  */" >$tmp/config.h
9531
  else
9532
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
9533
  fi
9534
  cat $tmp/in >>$tmp/config.h
9535
  rm -f $tmp/in
9536
  if test x"$ac_file" != x-; then
10851
  if test x"$ac_file" != x-; then
10852
    echo "/* $configure_input  */" >"$tmp/config.h"
10853
    cat "$ac_result" >>"$tmp/config.h"
9537
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
10854
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
9538
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10855
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9539
echo "$as_me: $ac_file is unchanged" >&6;}
10856
echo "$as_me: $ac_file is unchanged" >&6;}
9540
    else
10857
    else
9541
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9542
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9543
         X"$ac_file" : 'X\(//\)[^/]' \| \
9544
         X"$ac_file" : 'X\(//\)$' \| \
9545
         X"$ac_file" : 'X\(/\)' \| \
9546
         .     : '\(.\)' 2>/dev/null ||
9547
echo X"$ac_file" |
9548
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9549
        /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9550
        /^X\(\/\/\)$/{ s//\1/; q; }
9551
        /^X\(\/\).*/{ s//\1/; q; }
9552
        s/.*/./; q'`
9553
      { case "$ac_dir" in
9554
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9555
  *)                      as_incr_dir=.;;
9556
esac
9557
as_dummy="$ac_dir"
9558
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9559
  case $as_mkdir_dir in
9560
    # Skip DOS drivespec
9561
    ?:) as_incr_dir=$as_mkdir_dir ;;
9562
    *)
9563
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
9564
      test -d "$as_incr_dir" ||
9565
        mkdir "$as_incr_dir" ||
9566
  { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
9567
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9568
   { (exit 1); exit 1; }; }
9569
    ;;
9570
  esac
9571
done; }
9572
9573
      rm -f $ac_file
10858
      rm -f $ac_file
9574
      mv $tmp/config.h $ac_file
10859
      mv "$tmp/config.h" $ac_file
9575
    fi
10860
    fi
9576
  else
10861
  else
9577
    cat $tmp/config.h
10862
    echo "/* $configure_input  */"
9578
    rm -f $tmp/config.h
10863
    cat "$ac_result"
9579
  fi
10864
  fi
9580
  # Run the commands associated with the file.
10865
  rm -f "$tmp/out12"
10866
 ;;
10867
10868
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10869
echo "$as_me: executing $ac_file commands" >&6;}
10870
 ;;
10871
  esac
10872
10873
9581
  case $ac_file in
10874
  case $ac_file$ac_mode in
9582
    config.h ) # update the timestamp
10875
    "config.h":H) # update the timestamp
9583
echo timestamp >"./stamp-h1"
10876
echo timestamp >"./stamp-h1"
9584
 ;;
10877
 ;;
9585
  esac
9586
done
9587
_ACEOF
9588
cat >>$CONFIG_STATUS <<\_ACEOF
9589
9590
#
9591
# CONFIG_COMMANDS section.
9592
#
9593
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9594
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9595
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9596
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9597
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9598
         X"$ac_dest" : 'X\(//\)[^/]' \| \
9599
         X"$ac_dest" : 'X\(//\)$' \| \
9600
         X"$ac_dest" : 'X\(/\)' \| \
9601
         .     : '\(.\)' 2>/dev/null ||
9602
echo X"$ac_dest" |
9603
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9604
        /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9605
        /^X\(\/\/\)$/{ s//\1/; q; }
9606
        /^X\(\/\).*/{ s//\1/; q; }
9607
        s/.*/./; q'`
9608
  ac_builddir=.
9609
9610
if test "$ac_dir" != .; then
9611
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9612
  # A "../" for each directory in $ac_dir_suffix.
9613
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9614
else
9615
  ac_dir_suffix= ac_top_builddir=
9616
fi
9617
9618
case $srcdir in
9619
  .)  # No --srcdir option.  We are building in place.
9620
    ac_srcdir=.
9621
    if test -z "$ac_top_builddir"; then
9622
       ac_top_srcdir=.
9623
    else
9624
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9625
    fi ;;
9626
  [\\/]* | ?:[\\/]* )  # Absolute path.
9627
    ac_srcdir=$srcdir$ac_dir_suffix;
9628
    ac_top_srcdir=$srcdir ;;
9629
  *) # Relative path.
9630
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9631
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9632
esac
9633
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9634
# absolute.
9635
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
9636
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
9637
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9638
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9639
9640
9641
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9642
echo "$as_me: executing $ac_dest commands" >&6;}
9643
  case $ac_dest in
9644
    default-1 )
10878
    "default-1":C)
9645
test x"$AMDEP_TRUE" != x"" ||
10879
test x"$AMDEP_TRUE" != x"" ||
9646
for mf in $CONFIG_FILES; do
10880
for mf in $CONFIG_FILES; do
9647
  case "$mf" in
10881
  case "$mf" in
9648
  Makefile) dirpart=.;;
10882
  Makefile) dirpart=.;;
9649
  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
10883
  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
...
...
9678
    # echo "creating $dirpart/$file"
10912
    # echo "creating $dirpart/$file"
9679
    echo '# dummy' > "$dirpart/$file"
10913
    echo '# dummy' > "$dirpart/$file"
9680
  done
10914
  done
9681
done
10915
done
9682
 ;;
10916
 ;;
9683
    default ) chmod +x t_unac ;;
10917
    "default":C) chmod +x t_unac ;;
10918
9684
  esac
10919
  esac
9685
done
10920
done # for ac_tag
9686
_ACEOF
9687
10921
9688
cat >>$CONFIG_STATUS <<\_ACEOF
9689
10922
9690
{ (exit 0); exit 0; }
10923
{ (exit 0); exit 0; }
9691
_ACEOF
10924
_ACEOF
9692
chmod +x $CONFIG_STATUS
10925
chmod +x $CONFIG_STATUS
9693
ac_clean_files=$ac_clean_files_save
10926
ac_clean_files=$ac_clean_files_save
...
...
9701
# effectively closing config.log, so it can be properly (re)opened and
10934
# effectively closing config.log, so it can be properly (re)opened and
9702
# appended to by config.status.  When coming back to configure, we
10935
# appended to by config.status.  When coming back to configure, we
9703
# need to make the FD available again.
10936
# need to make the FD available again.
9704
if test "$no_create" != yes; then
10937
if test "$no_create" != yes; then
9705
  ac_cs_success=:
10938
  ac_cs_success=:
10939
  ac_config_status_args=
10940
  test "$silent" = yes &&
10941
    ac_config_status_args="$ac_config_status_args --quiet"
9706
  exec 5>/dev/null
10942
  exec 5>/dev/null
9707
  $SHELL $CONFIG_STATUS || ac_cs_success=false
10943
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9708
  exec 5>>config.log
10944
  exec 5>>config.log
9709
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10945
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9710
  # would make configure fail if this is the last instruction.
10946
  # would make configure fail if this is the last instruction.
9711
  $ac_cs_success || { (exit 1); exit 1; }
10947
  $ac_cs_success || { (exit 1); exit 1; }
9712
fi
10948
fi