~ubuntu-branches/debian/squeeze/ghostscript/squeeze

« back to all changes in this revision

Viewing changes to jasper/autom4te.cache/output.1

  • Committer: Bazaar Package Importer
  • Author(s): Masayuki Hatta (mhatta)
  • Date: 2009-01-04 12:09:59 UTC
  • mfrom: (16.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090104120959-m9lbagj775ucg0h3
Tags: 8.63.dfsg.1-2
libgs-dev: put versioned dependency on libgs8 - closes: #510691

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@%:@! /bin/sh
2
 
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.61 for jasper 1.701.0-gs5.
4
 
@%:@ 
5
 
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
 
@%:@ This configure script is free software; the Free Software Foundation
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
 
 
551
 
 
552
 
 
553
 
# Check that we are running under the correct shell.
554
 
SHELL=${CONFIG_SHELL-/bin/sh}
555
 
 
556
 
case X$ECHO in
557
 
X*--fallback-echo)
558
 
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
 
  ;;
561
 
esac
562
 
 
563
 
echo=${ECHO-echo}
564
 
if test "X$1" = X--no-reexec; then
565
 
  # Discard the --no-reexec flag, and continue.
566
 
  shift
567
 
elif test "X$1" = X--fallback-echo; then
568
 
  # Avoid inline document here, it may be left over
569
 
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
572
 
  :
573
 
else
574
 
  # Restart under the correct shell.
575
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
576
 
fi
577
 
 
578
 
if test "X$1" = X--fallback-echo; then
579
 
  # used as fallback echo
580
 
  shift
581
 
  cat <<EOF
582
 
$*
583
 
EOF
584
 
  exit 0
585
 
fi
586
 
 
587
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
588
 
# if CDPATH is set.
589
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
 
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
618
 
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
 
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
666
 
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
674
 
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
686
 
      fi
687
 
    fi
688
 
  fi
689
 
fi
690
 
fi
691
 
 
692
 
# Copy echo and quote the copy suitably for passing to libtool from
693
 
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
 
fi
698
 
 
699
 
 
700
 
 
701
 
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
 
exec 7<&0 </dev/null 6>&1
707
 
 
708
 
# Name of the host.
709
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710
 
# so uname gets run too.
711
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
 
 
713
 
#
714
 
# Initializations.
715
 
#
716
 
ac_default_prefix=/usr/local
717
 
ac_clean_files=
718
 
ac_config_libobj_dir=.
719
 
LIB@&t@OBJS=
720
 
cross_compiling=no
721
 
subdirs=
722
 
MFLAGS=
723
 
MAKEFLAGS=
724
 
SHELL=${CONFIG_SHELL-/bin/sh}
725
 
 
726
 
# Identity of this package.
727
 
PACKAGE_NAME='jasper'
728
 
PACKAGE_TARNAME='jasper'
729
 
PACKAGE_VERSION='1.701.0-gs5'
730
 
PACKAGE_STRING='jasper 1.701.0-gs5'
731
 
PACKAGE_BUGREPORT=''
732
 
 
733
 
ac_unique_file="README"
734
 
# Factoring default headers for most tests.
735
 
ac_includes_default="\
736
 
#include <stdio.h>
737
 
#ifdef HAVE_SYS_TYPES_H
738
 
# include <sys/types.h>
739
 
#endif
740
 
#ifdef HAVE_SYS_STAT_H
741
 
# include <sys/stat.h>
742
 
#endif
743
 
#ifdef STDC_HEADERS
744
 
# include <stdlib.h>
745
 
# include <stddef.h>
746
 
#else
747
 
# ifdef HAVE_STDLIB_H
748
 
#  include <stdlib.h>
749
 
# endif
750
 
#endif
751
 
#ifdef HAVE_STRING_H
752
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753
 
#  include <memory.h>
754
 
# endif
755
 
# include <string.h>
756
 
#endif
757
 
#ifdef HAVE_STRINGS_H
758
 
# include <strings.h>
759
 
#endif
760
 
#ifdef HAVE_INTTYPES_H
761
 
# include <inttypes.h>
762
 
#endif
763
 
#ifdef HAVE_STDINT_H
764
 
# include <stdint.h>
765
 
#endif
766
 
#ifdef HAVE_UNISTD_H
767
 
# include <unistd.h>
768
 
#endif"
769
 
 
770
 
ac_subst_vars='SHELL
771
 
PATH_SEPARATOR
772
 
PACKAGE_NAME
773
 
PACKAGE_TARNAME
774
 
PACKAGE_VERSION
775
 
PACKAGE_STRING
776
 
PACKAGE_BUGREPORT
777
 
exec_prefix
778
 
prefix
779
 
program_transform_name
780
 
bindir
781
 
sbindir
782
 
libexecdir
783
 
datarootdir
784
 
datadir
785
 
sysconfdir
786
 
sharedstatedir
787
 
localstatedir
788
 
includedir
789
 
oldincludedir
790
 
docdir
791
 
infodir
792
 
htmldir
793
 
dvidir
794
 
pdfdir
795
 
psdir
796
 
libdir
797
 
localedir
798
 
mandir
799
 
DEFS
800
 
ECHO_C
801
 
ECHO_N
802
 
ECHO_T
803
 
LIBS
804
 
build_alias
805
 
host_alias
806
 
target_alias
807
 
build
808
 
build_cpu
809
 
build_vendor
810
 
build_os
811
 
host
812
 
host_cpu
813
 
host_vendor
814
 
host_os
815
 
target
816
 
target_cpu
817
 
target_vendor
818
 
target_os
819
 
INSTALL_PROGRAM
820
 
INSTALL_SCRIPT
821
 
INSTALL_DATA
822
 
am__isrc
823
 
CYGPATH_W
824
 
PACKAGE
825
 
VERSION
826
 
ACLOCAL
827
 
AUTOCONF
828
 
AUTOMAKE
829
 
AUTOHEADER
830
 
MAKEINFO
831
 
install_sh
832
 
STRIP
833
 
INSTALL_STRIP_PROGRAM
834
 
mkdir_p
835
 
AWK
836
 
SET_MAKE
837
 
am__leading_dot
838
 
AMTAR
839
 
am__tar
840
 
am__untar
841
 
JAS_MAJOR_VERSION
842
 
JAS_MINOR_VERSION
843
 
JAS_MICRO_VERSION
844
 
JAS_VERSION
845
 
JAS_RPM_RELEASE
846
 
LT_RELEASE
847
 
LT_CURRENT
848
 
LT_REVISION
849
 
LT_AGE
850
 
CC
851
 
CFLAGS
852
 
LDFLAGS
853
 
CPPFLAGS
854
 
ac_ct_CC
855
 
EXEEXT
856
 
OBJEXT
857
 
DEPDIR
858
 
am__include
859
 
am__quote
860
 
AMDEP_TRUE
861
 
AMDEP_FALSE
862
 
AMDEPBACKSLASH
863
 
CCDEPMODE
864
 
am__fastdepCC_TRUE
865
 
am__fastdepCC_FALSE
866
 
CPP
867
 
LN_S
868
 
RANLIB
869
 
SED
870
 
GREP
871
 
EGREP
872
 
ECHO
873
 
AR
874
 
CXX
875
 
CXXFLAGS
876
 
ac_ct_CXX
877
 
CXXDEPMODE
878
 
am__fastdepCXX_TRUE
879
 
am__fastdepCXX_FALSE
880
 
CXXCPP
881
 
F77
882
 
FFLAGS
883
 
ac_ct_F77
884
 
LIBTOOL
885
 
XMKMF
886
 
X_CFLAGS
887
 
X_PRE_LIBS
888
 
X_LIBS
889
 
X_EXTRA_LIBS
890
 
HAVE_LIBJPEG_TRUE
891
 
HAVE_LIBJPEG_FALSE
892
 
HAVE_OPENGL_TRUE
893
 
HAVE_OPENGL_FALSE
894
 
OPENGL_LIBS
895
 
HAVE_SDL
896
 
HAVE_SDL_TRUE
897
 
HAVE_SDL_FALSE
898
 
SDL_CFLAGS
899
 
SDL_LIBS
900
 
LIB@&t@OBJS
901
 
LTLIBOBJS'
902
 
ac_subst_files=''
903
 
      ac_precious_vars='build_alias
904
 
host_alias
905
 
target_alias
906
 
CC
907
 
CFLAGS
908
 
LDFLAGS
909
 
LIBS
910
 
CPPFLAGS
911
 
CPP
912
 
CXX
913
 
CXXFLAGS
914
 
CCC
915
 
CXXCPP
916
 
F77
917
 
FFLAGS
918
 
XMKMF'
919
 
 
920
 
 
921
 
# Initialize some variables set by options.
922
 
ac_init_help=
923
 
ac_init_version=false
924
 
# The variables have the same names as the options, with
925
 
# dashes changed to underlines.
926
 
cache_file=/dev/null
927
 
exec_prefix=NONE
928
 
no_create=
929
 
no_recursion=
930
 
prefix=NONE
931
 
program_prefix=NONE
932
 
program_suffix=NONE
933
 
program_transform_name=s,x,x,
934
 
silent=
935
 
site=
936
 
srcdir=
937
 
verbose=
938
 
x_includes=NONE
939
 
x_libraries=NONE
940
 
 
941
 
# Installation directory options.
942
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
943
 
# and all the variables that are supposed to be based on exec_prefix
944
 
# by default will actually change.
945
 
# Use braces instead of parens because sh, perl, etc. also accept them.
946
 
# (The list follows the same order as the GNU Coding Standards.)
947
 
bindir='${exec_prefix}/bin'
948
 
sbindir='${exec_prefix}/sbin'
949
 
libexecdir='${exec_prefix}/libexec'
950
 
datarootdir='${prefix}/share'
951
 
datadir='${datarootdir}'
952
 
sysconfdir='${prefix}/etc'
953
 
sharedstatedir='${prefix}/com'
954
 
localstatedir='${prefix}/var'
955
 
includedir='${prefix}/include'
956
 
oldincludedir='/usr/include'
957
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
958
 
infodir='${datarootdir}/info'
959
 
htmldir='${docdir}'
960
 
dvidir='${docdir}'
961
 
pdfdir='${docdir}'
962
 
psdir='${docdir}'
963
 
libdir='${exec_prefix}/lib'
964
 
localedir='${datarootdir}/locale'
965
 
mandir='${datarootdir}/man'
966
 
 
967
 
ac_prev=
968
 
ac_dashdash=
969
 
for ac_option
970
 
do
971
 
  # If the previous option needs an argument, assign it.
972
 
  if test -n "$ac_prev"; then
973
 
    eval $ac_prev=\$ac_option
974
 
    ac_prev=
975
 
    continue
976
 
  fi
977
 
 
978
 
  case $ac_option in
979
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
980
 
  *)    ac_optarg=yes ;;
981
 
  esac
982
 
 
983
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
984
 
 
985
 
  case $ac_dashdash$ac_option in
986
 
  --)
987
 
    ac_dashdash=yes ;;
988
 
 
989
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
990
 
    ac_prev=bindir ;;
991
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
992
 
    bindir=$ac_optarg ;;
993
 
 
994
 
  -build | --build | --buil | --bui | --bu)
995
 
    ac_prev=build_alias ;;
996
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
997
 
    build_alias=$ac_optarg ;;
998
 
 
999
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1000
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1001
 
    ac_prev=cache_file ;;
1002
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1003
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1004
 
    cache_file=$ac_optarg ;;
1005
 
 
1006
 
  --config-cache | -C)
1007
 
    cache_file=config.cache ;;
1008
 
 
1009
 
  -datadir | --datadir | --datadi | --datad)
1010
 
    ac_prev=datadir ;;
1011
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1012
 
    datadir=$ac_optarg ;;
1013
 
 
1014
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1015
 
  | --dataroo | --dataro | --datar)
1016
 
    ac_prev=datarootdir ;;
1017
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1018
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1019
 
    datarootdir=$ac_optarg ;;
1020
 
 
1021
 
  -disable-* | --disable-*)
1022
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1023
 
    # Reject names that are not valid shell variable names.
1024
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1025
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1026
 
   { (exit 1); exit 1; }; }
1027
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1028
 
    eval enable_$ac_feature=no ;;
1029
 
 
1030
 
  -docdir | --docdir | --docdi | --doc | --do)
1031
 
    ac_prev=docdir ;;
1032
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1033
 
    docdir=$ac_optarg ;;
1034
 
 
1035
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1036
 
    ac_prev=dvidir ;;
1037
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1038
 
    dvidir=$ac_optarg ;;
1039
 
 
1040
 
  -enable-* | --enable-*)
1041
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042
 
    # Reject names that are not valid shell variable names.
1043
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1044
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1045
 
   { (exit 1); exit 1; }; }
1046
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1047
 
    eval enable_$ac_feature=\$ac_optarg ;;
1048
 
 
1049
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1050
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1051
 
  | --exec | --exe | --ex)
1052
 
    ac_prev=exec_prefix ;;
1053
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1054
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1055
 
  | --exec=* | --exe=* | --ex=*)
1056
 
    exec_prefix=$ac_optarg ;;
1057
 
 
1058
 
  -gas | --gas | --ga | --g)
1059
 
    # Obsolete; use --with-gas.
1060
 
    with_gas=yes ;;
1061
 
 
1062
 
  -help | --help | --hel | --he | -h)
1063
 
    ac_init_help=long ;;
1064
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1065
 
    ac_init_help=recursive ;;
1066
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1067
 
    ac_init_help=short ;;
1068
 
 
1069
 
  -host | --host | --hos | --ho)
1070
 
    ac_prev=host_alias ;;
1071
 
  -host=* | --host=* | --hos=* | --ho=*)
1072
 
    host_alias=$ac_optarg ;;
1073
 
 
1074
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1075
 
    ac_prev=htmldir ;;
1076
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1077
 
  | --ht=*)
1078
 
    htmldir=$ac_optarg ;;
1079
 
 
1080
 
  -includedir | --includedir | --includedi | --included | --include \
1081
 
  | --includ | --inclu | --incl | --inc)
1082
 
    ac_prev=includedir ;;
1083
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1084
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1085
 
    includedir=$ac_optarg ;;
1086
 
 
1087
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1088
 
    ac_prev=infodir ;;
1089
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1090
 
    infodir=$ac_optarg ;;
1091
 
 
1092
 
  -libdir | --libdir | --libdi | --libd)
1093
 
    ac_prev=libdir ;;
1094
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1095
 
    libdir=$ac_optarg ;;
1096
 
 
1097
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1098
 
  | --libexe | --libex | --libe)
1099
 
    ac_prev=libexecdir ;;
1100
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1101
 
  | --libexe=* | --libex=* | --libe=*)
1102
 
    libexecdir=$ac_optarg ;;
1103
 
 
1104
 
  -localedir | --localedir | --localedi | --localed | --locale)
1105
 
    ac_prev=localedir ;;
1106
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1107
 
    localedir=$ac_optarg ;;
1108
 
 
1109
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1110
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1111
 
    ac_prev=localstatedir ;;
1112
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1113
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1114
 
    localstatedir=$ac_optarg ;;
1115
 
 
1116
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1117
 
    ac_prev=mandir ;;
1118
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1119
 
    mandir=$ac_optarg ;;
1120
 
 
1121
 
  -nfp | --nfp | --nf)
1122
 
    # Obsolete; use --without-fp.
1123
 
    with_fp=no ;;
1124
 
 
1125
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1126
 
  | --no-cr | --no-c | -n)
1127
 
    no_create=yes ;;
1128
 
 
1129
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1130
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1131
 
    no_recursion=yes ;;
1132
 
 
1133
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1134
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1135
 
  | --oldin | --oldi | --old | --ol | --o)
1136
 
    ac_prev=oldincludedir ;;
1137
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1138
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1139
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1140
 
    oldincludedir=$ac_optarg ;;
1141
 
 
1142
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1143
 
    ac_prev=prefix ;;
1144
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1145
 
    prefix=$ac_optarg ;;
1146
 
 
1147
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1148
 
  | --program-pre | --program-pr | --program-p)
1149
 
    ac_prev=program_prefix ;;
1150
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1151
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1152
 
    program_prefix=$ac_optarg ;;
1153
 
 
1154
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1155
 
  | --program-suf | --program-su | --program-s)
1156
 
    ac_prev=program_suffix ;;
1157
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1158
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1159
 
    program_suffix=$ac_optarg ;;
1160
 
 
1161
 
  -program-transform-name | --program-transform-name \
1162
 
  | --program-transform-nam | --program-transform-na \
1163
 
  | --program-transform-n | --program-transform- \
1164
 
  | --program-transform | --program-transfor \
1165
 
  | --program-transfo | --program-transf \
1166
 
  | --program-trans | --program-tran \
1167
 
  | --progr-tra | --program-tr | --program-t)
1168
 
    ac_prev=program_transform_name ;;
1169
 
  -program-transform-name=* | --program-transform-name=* \
1170
 
  | --program-transform-nam=* | --program-transform-na=* \
1171
 
  | --program-transform-n=* | --program-transform-=* \
1172
 
  | --program-transform=* | --program-transfor=* \
1173
 
  | --program-transfo=* | --program-transf=* \
1174
 
  | --program-trans=* | --program-tran=* \
1175
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1176
 
    program_transform_name=$ac_optarg ;;
1177
 
 
1178
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1179
 
    ac_prev=pdfdir ;;
1180
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1181
 
    pdfdir=$ac_optarg ;;
1182
 
 
1183
 
  -psdir | --psdir | --psdi | --psd | --ps)
1184
 
    ac_prev=psdir ;;
1185
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1186
 
    psdir=$ac_optarg ;;
1187
 
 
1188
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1189
 
  | -silent | --silent | --silen | --sile | --sil)
1190
 
    silent=yes ;;
1191
 
 
1192
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1193
 
    ac_prev=sbindir ;;
1194
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1195
 
  | --sbi=* | --sb=*)
1196
 
    sbindir=$ac_optarg ;;
1197
 
 
1198
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1199
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1200
 
  | --sharedst | --shareds | --shared | --share | --shar \
1201
 
  | --sha | --sh)
1202
 
    ac_prev=sharedstatedir ;;
1203
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1204
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1205
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1206
 
  | --sha=* | --sh=*)
1207
 
    sharedstatedir=$ac_optarg ;;
1208
 
 
1209
 
  -site | --site | --sit)
1210
 
    ac_prev=site ;;
1211
 
  -site=* | --site=* | --sit=*)
1212
 
    site=$ac_optarg ;;
1213
 
 
1214
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1215
 
    ac_prev=srcdir ;;
1216
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1217
 
    srcdir=$ac_optarg ;;
1218
 
 
1219
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1220
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1221
 
    ac_prev=sysconfdir ;;
1222
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1223
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1224
 
    sysconfdir=$ac_optarg ;;
1225
 
 
1226
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1227
 
    ac_prev=target_alias ;;
1228
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1229
 
    target_alias=$ac_optarg ;;
1230
 
 
1231
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1232
 
    verbose=yes ;;
1233
 
 
1234
 
  -version | --version | --versio | --versi | --vers | -V)
1235
 
    ac_init_version=: ;;
1236
 
 
1237
 
  -with-* | --with-*)
1238
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1239
 
    # Reject names that are not valid shell variable names.
1240
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1241
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1242
 
   { (exit 1); exit 1; }; }
1243
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1244
 
    eval with_$ac_package=\$ac_optarg ;;
1245
 
 
1246
 
  -without-* | --without-*)
1247
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1248
 
    # Reject names that are not valid shell variable names.
1249
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1250
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1251
 
   { (exit 1); exit 1; }; }
1252
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1253
 
    eval with_$ac_package=no ;;
1254
 
 
1255
 
  --x)
1256
 
    # Obsolete; use --with-x.
1257
 
    with_x=yes ;;
1258
 
 
1259
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1260
 
  | --x-incl | --x-inc | --x-in | --x-i)
1261
 
    ac_prev=x_includes ;;
1262
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1263
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1264
 
    x_includes=$ac_optarg ;;
1265
 
 
1266
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1267
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1268
 
    ac_prev=x_libraries ;;
1269
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1270
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1271
 
    x_libraries=$ac_optarg ;;
1272
 
 
1273
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1274
 
Try \`$0 --help' for more information." >&2
1275
 
   { (exit 1); exit 1; }; }
1276
 
    ;;
1277
 
 
1278
 
  *=*)
1279
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1280
 
    # Reject names that are not valid shell variable names.
1281
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1282
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1283
 
   { (exit 1); exit 1; }; }
1284
 
    eval $ac_envvar=\$ac_optarg
1285
 
    export $ac_envvar ;;
1286
 
 
1287
 
  *)
1288
 
    # FIXME: should be removed in autoconf 3.0.
1289
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1290
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1291
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1292
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1293
 
    ;;
1294
 
 
1295
 
  esac
1296
 
done
1297
 
 
1298
 
if test -n "$ac_prev"; then
1299
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1300
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1301
 
   { (exit 1); exit 1; }; }
1302
 
fi
1303
 
 
1304
 
# Be sure to have absolute directory names.
1305
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1306
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1307
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1308
 
                libdir localedir mandir
1309
 
do
1310
 
  eval ac_val=\$$ac_var
1311
 
  case $ac_val in
1312
 
    [\\/$]* | ?:[\\/]* )  continue;;
1313
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1314
 
  esac
1315
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1316
 
   { (exit 1); exit 1; }; }
1317
 
done
1318
 
 
1319
 
# There might be people who depend on the old broken behavior: `$host'
1320
 
# used to hold the argument of --host etc.
1321
 
# FIXME: To remove some day.
1322
 
build=$build_alias
1323
 
host=$host_alias
1324
 
target=$target_alias
1325
 
 
1326
 
# FIXME: To remove some day.
1327
 
if test "x$host_alias" != x; then
1328
 
  if test "x$build_alias" = x; then
1329
 
    cross_compiling=maybe
1330
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1331
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1332
 
  elif test "x$build_alias" != "x$host_alias"; then
1333
 
    cross_compiling=yes
1334
 
  fi
1335
 
fi
1336
 
 
1337
 
ac_tool_prefix=
1338
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1339
 
 
1340
 
test "$silent" = yes && exec 6>/dev/null
1341
 
 
1342
 
 
1343
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1344
 
ac_ls_di=`ls -di .` &&
1345
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1346
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1347
 
   { (exit 1); exit 1; }; }
1348
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1349
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1350
 
   { (exit 1); exit 1; }; }
1351
 
 
1352
 
 
1353
 
# Find the source files, if location was not specified.
1354
 
if test -z "$srcdir"; then
1355
 
  ac_srcdir_defaulted=yes
1356
 
  # Try the directory containing this script, then the parent directory.
1357
 
  ac_confdir=`$as_dirname -- "$0" ||
1358
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1359
 
         X"$0" : 'X\(//\)[^/]' \| \
1360
 
         X"$0" : 'X\(//\)$' \| \
1361
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1362
 
echo X"$0" |
1363
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364
 
            s//\1/
1365
 
            q
1366
 
          }
1367
 
          /^X\(\/\/\)[^/].*/{
1368
 
            s//\1/
1369
 
            q
1370
 
          }
1371
 
          /^X\(\/\/\)$/{
1372
 
            s//\1/
1373
 
            q
1374
 
          }
1375
 
          /^X\(\/\).*/{
1376
 
            s//\1/
1377
 
            q
1378
 
          }
1379
 
          s/.*/./; q'`
1380
 
  srcdir=$ac_confdir
1381
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1382
 
    srcdir=..
1383
 
  fi
1384
 
else
1385
 
  ac_srcdir_defaulted=no
1386
 
fi
1387
 
if test ! -r "$srcdir/$ac_unique_file"; then
1388
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1389
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1390
 
   { (exit 1); exit 1; }; }
1391
 
fi
1392
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1393
 
ac_abs_confdir=`(
1394
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1395
 
   { (exit 1); exit 1; }; }
1396
 
        pwd)`
1397
 
# When building in place, set srcdir=.
1398
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1399
 
  srcdir=.
1400
 
fi
1401
 
# Remove unnecessary trailing slashes from srcdir.
1402
 
# Double slashes in file names in object file debugging info
1403
 
# mess up M-x gdb in Emacs.
1404
 
case $srcdir in
1405
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1406
 
esac
1407
 
for ac_var in $ac_precious_vars; do
1408
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1409
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1410
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1411
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1412
 
done
1413
 
 
1414
 
#
1415
 
# Report the --help message.
1416
 
#
1417
 
if test "$ac_init_help" = "long"; then
1418
 
  # Omit some internal or obsolete options to make the list less imposing.
1419
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1420
 
  cat <<_ACEOF
1421
 
\`configure' configures jasper 1.701.0-gs5 to adapt to many kinds of systems.
1422
 
 
1423
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1424
 
 
1425
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1426
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1427
 
 
1428
 
Defaults for the options are specified in brackets.
1429
 
 
1430
 
Configuration:
1431
 
  -h, --help              display this help and exit
1432
 
      --help=short        display options specific to this package
1433
 
      --help=recursive    display the short help of all the included packages
1434
 
  -V, --version           display version information and exit
1435
 
  -q, --quiet, --silent   do not print \`checking...' messages
1436
 
      --cache-file=FILE   cache test results in FILE [disabled]
1437
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1438
 
  -n, --no-create         do not create output files
1439
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1440
 
 
1441
 
Installation directories:
1442
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1443
 
                          [$ac_default_prefix]
1444
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1445
 
                          [PREFIX]
1446
 
 
1447
 
By default, \`make install' will install all the files in
1448
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1449
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1450
 
for instance \`--prefix=\$HOME'.
1451
 
 
1452
 
For better control, use the options below.
1453
 
 
1454
 
Fine tuning of the installation directories:
1455
 
  --bindir=DIR           user executables [EPREFIX/bin]
1456
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1457
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1458
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1459
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1460
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1461
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1462
 
  --includedir=DIR       C header files [PREFIX/include]
1463
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1464
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1465
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1466
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1467
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1468
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1469
 
  --docdir=DIR           documentation root @<:@DATAROOTDIR/doc/jasper@:>@
1470
 
  --htmldir=DIR          html documentation [DOCDIR]
1471
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1472
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1473
 
  --psdir=DIR            ps documentation [DOCDIR]
1474
 
_ACEOF
1475
 
 
1476
 
  cat <<\_ACEOF
1477
 
 
1478
 
Program names:
1479
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1480
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1481
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1482
 
 
1483
 
X features:
1484
 
  --x-includes=DIR    X include files are in DIR
1485
 
  --x-libraries=DIR   X library files are in DIR
1486
 
 
1487
 
System types:
1488
 
  --build=BUILD     configure for building on BUILD [guessed]
1489
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1490
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1491
 
_ACEOF
1492
 
fi
1493
 
 
1494
 
if test -n "$ac_init_help"; then
1495
 
  case $ac_init_help in
1496
 
     short | recursive ) echo "Configuration of jasper 1.701.0-gs5:";;
1497
 
   esac
1498
 
  cat <<\_ACEOF
1499
 
 
1500
 
Optional Features:
1501
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1502
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1503
 
  --disable-dependency-tracking  speeds up one-time build
1504
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1505
 
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=no@:>@
1506
 
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1507
 
  --enable-fast-install@<:@=PKGS@:>@ 
1508
 
                          optimize for fast installation @<:@default=yes@:>@
1509
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1510
 
  --disable-libjpeg    Force the IJG JPEG library to be ignored
1511
 
  --disable-opengl    Disable use of OpenGL. 
1512
 
  --enable-dmalloc    use special memory allocator for debugging
1513
 
  --enable-debug    add extra code for debugging
1514
 
 
1515
 
Optional Packages:
1516
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1517
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1518
 
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1519
 
  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1520
 
                          both@:>@
1521
 
  --with-tags@<:@=TAGS@:>@      include additional configurations @<:@automatic@:>@
1522
 
  --with-x                use the X Window System
1523
 
  --with-glut-include-dir=DIR    Set GLUT include directory.
1524
 
  --with-glut-lib-dir=DIR        Set GLUT library directory.
1525
 
 
1526
 
Some influential environment variables:
1527
 
  CC          C compiler command
1528
 
  CFLAGS      C compiler flags
1529
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1530
 
              nonstandard directory <lib dir>
1531
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1532
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1533
 
              you have headers in a nonstandard directory <include dir>
1534
 
  CPP         C preprocessor
1535
 
  CXX         C++ compiler command
1536
 
  CXXFLAGS    C++ compiler flags
1537
 
  CXXCPP      C++ preprocessor
1538
 
  F77         Fortran 77 compiler command
1539
 
  FFLAGS      Fortran 77 compiler flags
1540
 
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1541
 
 
1542
 
Use these variables to override the choices made by `configure' or to help
1543
 
it to find libraries and programs with nonstandard names/locations.
1544
 
 
1545
 
_ACEOF
1546
 
ac_status=$?
1547
 
fi
1548
 
 
1549
 
if test "$ac_init_help" = "recursive"; then
1550
 
  # If there are subdirs, report their specific --help.
1551
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1552
 
    test -d "$ac_dir" || continue
1553
 
    ac_builddir=.
1554
 
 
1555
 
case "$ac_dir" in
1556
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557
 
*)
1558
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1559
 
  # A ".." for each directory in $ac_dir_suffix.
1560
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1561
 
  case $ac_top_builddir_sub in
1562
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1563
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1564
 
  esac ;;
1565
 
esac
1566
 
ac_abs_top_builddir=$ac_pwd
1567
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1568
 
# for backward compatibility:
1569
 
ac_top_builddir=$ac_top_build_prefix
1570
 
 
1571
 
case $srcdir in
1572
 
  .)  # We are building in place.
1573
 
    ac_srcdir=.
1574
 
    ac_top_srcdir=$ac_top_builddir_sub
1575
 
    ac_abs_top_srcdir=$ac_pwd ;;
1576
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1577
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1578
 
    ac_top_srcdir=$srcdir
1579
 
    ac_abs_top_srcdir=$srcdir ;;
1580
 
  *) # Relative name.
1581
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1582
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1583
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1584
 
esac
1585
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1586
 
 
1587
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1588
 
    # Check for guested configure.
1589
 
    if test -f "$ac_srcdir/configure.gnu"; then
1590
 
      echo &&
1591
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1592
 
    elif test -f "$ac_srcdir/configure"; then
1593
 
      echo &&
1594
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1595
 
    else
1596
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1597
 
    fi || ac_status=$?
1598
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1599
 
  done
1600
 
fi
1601
 
 
1602
 
test -n "$ac_init_help" && exit $ac_status
1603
 
if $ac_init_version; then
1604
 
  cat <<\_ACEOF
1605
 
jasper configure 1.701.0-gs5
1606
 
generated by GNU Autoconf 2.61
1607
 
 
1608
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1609
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1610
 
This configure script is free software; the Free Software Foundation
1611
 
gives unlimited permission to copy, distribute and modify it.
1612
 
_ACEOF
1613
 
  exit
1614
 
fi
1615
 
cat >config.log <<_ACEOF
1616
 
This file contains any messages produced by compilers while
1617
 
running configure, to aid debugging if configure makes a mistake.
1618
 
 
1619
 
It was created by jasper $as_me 1.701.0-gs5, which was
1620
 
generated by GNU Autoconf 2.61.  Invocation command line was
1621
 
 
1622
 
  $ $0 $@
1623
 
 
1624
 
_ACEOF
1625
 
exec 5>>config.log
1626
 
{
1627
 
cat <<_ASUNAME
1628
 
@%:@@%:@ --------- @%:@@%:@
1629
 
@%:@@%:@ Platform. @%:@@%:@
1630
 
@%:@@%:@ --------- @%:@@%:@
1631
 
 
1632
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1633
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1634
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1635
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1636
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1637
 
 
1638
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1639
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1640
 
 
1641
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1642
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1643
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1644
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1645
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1646
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1647
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1648
 
 
1649
 
_ASUNAME
1650
 
 
1651
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1652
 
for as_dir in $PATH
1653
 
do
1654
 
  IFS=$as_save_IFS
1655
 
  test -z "$as_dir" && as_dir=.
1656
 
  echo "PATH: $as_dir"
1657
 
done
1658
 
IFS=$as_save_IFS
1659
 
 
1660
 
} >&5
1661
 
 
1662
 
cat >&5 <<_ACEOF
1663
 
 
1664
 
 
1665
 
@%:@@%:@ ----------- @%:@@%:@
1666
 
@%:@@%:@ Core tests. @%:@@%:@
1667
 
@%:@@%:@ ----------- @%:@@%:@
1668
 
 
1669
 
_ACEOF
1670
 
 
1671
 
 
1672
 
# Keep a trace of the command line.
1673
 
# Strip out --no-create and --no-recursion so they do not pile up.
1674
 
# Strip out --silent because we don't want to record it for future runs.
1675
 
# Also quote any args containing shell meta-characters.
1676
 
# Make two passes to allow for proper duplicate-argument suppression.
1677
 
ac_configure_args=
1678
 
ac_configure_args0=
1679
 
ac_configure_args1=
1680
 
ac_must_keep_next=false
1681
 
for ac_pass in 1 2
1682
 
do
1683
 
  for ac_arg
1684
 
  do
1685
 
    case $ac_arg in
1686
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1687
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1688
 
    | -silent | --silent | --silen | --sile | --sil)
1689
 
      continue ;;
1690
 
    *\'*)
1691
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1692
 
    esac
1693
 
    case $ac_pass in
1694
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1695
 
    2)
1696
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1697
 
      if test $ac_must_keep_next = true; then
1698
 
        ac_must_keep_next=false # Got value, back to normal.
1699
 
      else
1700
 
        case $ac_arg in
1701
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1702
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1703
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1704
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1705
 
            case "$ac_configure_args0 " in
1706
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1707
 
            esac
1708
 
            ;;
1709
 
          -* ) ac_must_keep_next=true ;;
1710
 
        esac
1711
 
      fi
1712
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1713
 
      ;;
1714
 
    esac
1715
 
  done
1716
 
done
1717
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1718
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1719
 
 
1720
 
# When interrupted or exit'd, cleanup temporary files, and complete
1721
 
# config.log.  We remove comments because anyway the quotes in there
1722
 
# would cause problems or look ugly.
1723
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1724
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1725
 
trap 'exit_status=$?
1726
 
  # Save into config.log some information that might help in debugging.
1727
 
  {
1728
 
    echo
1729
 
 
1730
 
    cat <<\_ASBOX
1731
 
@%:@@%:@ ---------------- @%:@@%:@
1732
 
@%:@@%:@ Cache variables. @%:@@%:@
1733
 
@%:@@%:@ ---------------- @%:@@%:@
1734
 
_ASBOX
1735
 
    echo
1736
 
    # The following way of writing the cache mishandles newlines in values,
1737
 
(
1738
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1739
 
    eval ac_val=\$$ac_var
1740
 
    case $ac_val in #(
1741
 
    *${as_nl}*)
1742
 
      case $ac_var in #(
1743
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1744
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1745
 
      esac
1746
 
      case $ac_var in #(
1747
 
      _ | IFS | as_nl) ;; #(
1748
 
      *) $as_unset $ac_var ;;
1749
 
      esac ;;
1750
 
    esac
1751
 
  done
1752
 
  (set) 2>&1 |
1753
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1754
 
    *${as_nl}ac_space=\ *)
1755
 
      sed -n \
1756
 
        "s/'\''/'\''\\\\'\'''\''/g;
1757
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1758
 
      ;; #(
1759
 
    *)
1760
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1761
 
      ;;
1762
 
    esac |
1763
 
    sort
1764
 
)
1765
 
    echo
1766
 
 
1767
 
    cat <<\_ASBOX
1768
 
@%:@@%:@ ----------------- @%:@@%:@
1769
 
@%:@@%:@ Output variables. @%:@@%:@
1770
 
@%:@@%:@ ----------------- @%:@@%:@
1771
 
_ASBOX
1772
 
    echo
1773
 
    for ac_var in $ac_subst_vars
1774
 
    do
1775
 
      eval ac_val=\$$ac_var
1776
 
      case $ac_val in
1777
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1778
 
      esac
1779
 
      echo "$ac_var='\''$ac_val'\''"
1780
 
    done | sort
1781
 
    echo
1782
 
 
1783
 
    if test -n "$ac_subst_files"; then
1784
 
      cat <<\_ASBOX
1785
 
@%:@@%:@ ------------------- @%:@@%:@
1786
 
@%:@@%:@ File substitutions. @%:@@%:@
1787
 
@%:@@%:@ ------------------- @%:@@%:@
1788
 
_ASBOX
1789
 
      echo
1790
 
      for ac_var in $ac_subst_files
1791
 
      do
1792
 
        eval ac_val=\$$ac_var
1793
 
        case $ac_val in
1794
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1795
 
        esac
1796
 
        echo "$ac_var='\''$ac_val'\''"
1797
 
      done | sort
1798
 
      echo
1799
 
    fi
1800
 
 
1801
 
    if test -s confdefs.h; then
1802
 
      cat <<\_ASBOX
1803
 
@%:@@%:@ ----------- @%:@@%:@
1804
 
@%:@@%:@ confdefs.h. @%:@@%:@
1805
 
@%:@@%:@ ----------- @%:@@%:@
1806
 
_ASBOX
1807
 
      echo
1808
 
      cat confdefs.h
1809
 
      echo
1810
 
    fi
1811
 
    test "$ac_signal" != 0 &&
1812
 
      echo "$as_me: caught signal $ac_signal"
1813
 
    echo "$as_me: exit $exit_status"
1814
 
  } >&5
1815
 
  rm -f core *.core core.conftest.* &&
1816
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1817
 
    exit $exit_status
1818
 
' 0
1819
 
for ac_signal in 1 2 13 15; do
1820
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1821
 
done
1822
 
ac_signal=0
1823
 
 
1824
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1825
 
rm -f -r conftest* confdefs.h
1826
 
 
1827
 
# Predefined preprocessor variables.
1828
 
 
1829
 
cat >>confdefs.h <<_ACEOF
1830
 
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1831
 
_ACEOF
1832
 
 
1833
 
 
1834
 
cat >>confdefs.h <<_ACEOF
1835
 
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1836
 
_ACEOF
1837
 
 
1838
 
 
1839
 
cat >>confdefs.h <<_ACEOF
1840
 
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1841
 
_ACEOF
1842
 
 
1843
 
 
1844
 
cat >>confdefs.h <<_ACEOF
1845
 
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1846
 
_ACEOF
1847
 
 
1848
 
 
1849
 
cat >>confdefs.h <<_ACEOF
1850
 
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1851
 
_ACEOF
1852
 
 
1853
 
 
1854
 
# Let the site file select an alternate cache file if it wants to.
1855
 
# Prefer explicitly selected file to automatically selected ones.
1856
 
if test -n "$CONFIG_SITE"; then
1857
 
  set x "$CONFIG_SITE"
1858
 
elif test "x$prefix" != xNONE; then
1859
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1860
 
else
1861
 
  set x "$ac_default_prefix/share/config.site" \
1862
 
        "$ac_default_prefix/etc/config.site"
1863
 
fi
1864
 
shift
1865
 
for ac_site_file
1866
 
do
1867
 
  if test -r "$ac_site_file"; then
1868
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1869
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1870
 
    sed 's/^/| /' "$ac_site_file" >&5
1871
 
    . "$ac_site_file"
1872
 
  fi
1873
 
done
1874
 
 
1875
 
if test -r "$cache_file"; then
1876
 
  # Some versions of bash will fail to source /dev/null (special
1877
 
  # files actually), so we avoid doing that.
1878
 
  if test -f "$cache_file"; then
1879
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1880
 
echo "$as_me: loading cache $cache_file" >&6;}
1881
 
    case $cache_file in
1882
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1883
 
      *)                      . "./$cache_file";;
1884
 
    esac
1885
 
  fi
1886
 
else
1887
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1888
 
echo "$as_me: creating cache $cache_file" >&6;}
1889
 
  >$cache_file
1890
 
fi
1891
 
 
1892
 
# Check that the precious variables saved in the cache have kept the same
1893
 
# value.
1894
 
ac_cache_corrupted=false
1895
 
for ac_var in $ac_precious_vars; do
1896
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1897
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1898
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1899
 
  eval ac_new_val=\$ac_env_${ac_var}_value
1900
 
  case $ac_old_set,$ac_new_set in
1901
 
    set,)
1902
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1903
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1904
 
      ac_cache_corrupted=: ;;
1905
 
    ,set)
1906
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1907
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1908
 
      ac_cache_corrupted=: ;;
1909
 
    ,);;
1910
 
    *)
1911
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1912
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1913
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1914
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1915
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1916
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1917
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1918
 
        ac_cache_corrupted=:
1919
 
      fi;;
1920
 
  esac
1921
 
  # Pass precious variables to config.status.
1922
 
  if test "$ac_new_set" = set; then
1923
 
    case $ac_new_val in
1924
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1925
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1926
 
    esac
1927
 
    case " $ac_configure_args " in
1928
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1929
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1930
 
    esac
1931
 
  fi
1932
 
done
1933
 
if $ac_cache_corrupted; then
1934
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1935
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1936
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1937
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1938
 
   { (exit 1); exit 1; }; }
1939
 
fi
1940
 
 
1941
 
 
1942
 
 
1943
 
 
1944
 
 
1945
 
 
1946
 
 
1947
 
 
1948
 
 
1949
 
 
1950
 
 
1951
 
 
1952
 
 
1953
 
 
1954
 
 
1955
 
 
1956
 
 
1957
 
 
1958
 
 
1959
 
 
1960
 
 
1961
 
 
1962
 
 
1963
 
 
1964
 
 
1965
 
ac_ext=c
1966
 
ac_cpp='$CPP $CPPFLAGS'
1967
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1968
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1969
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1970
 
 
1971
 
 
1972
 
 
1973
 
 
1974
 
ac_aux_dir=
1975
 
for ac_dir in acaux "$srcdir"/acaux; do
1976
 
  if test -f "$ac_dir/install-sh"; then
1977
 
    ac_aux_dir=$ac_dir
1978
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1979
 
    break
1980
 
  elif test -f "$ac_dir/install.sh"; then
1981
 
    ac_aux_dir=$ac_dir
1982
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1983
 
    break
1984
 
  elif test -f "$ac_dir/shtool"; then
1985
 
    ac_aux_dir=$ac_dir
1986
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1987
 
    break
1988
 
  fi
1989
 
done
1990
 
if test -z "$ac_aux_dir"; then
1991
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in acaux \"$srcdir\"/acaux" >&5
1992
 
echo "$as_me: error: cannot find install-sh or install.sh in acaux \"$srcdir\"/acaux" >&2;}
1993
 
   { (exit 1); exit 1; }; }
1994
 
fi
1995
 
 
1996
 
# These three variables are undocumented and unsupported,
1997
 
# and are intended to be withdrawn in a future Autoconf release.
1998
 
# They can cause serious problems if a builder's source tree is in a directory
1999
 
# whose full name contains unusual characters.
2000
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2001
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2002
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2003
 
 
2004
 
 
2005
 
 
2006
 
# Detect the canonical host and target build environment.
2007
 
# Note: This precedes automake initialization to avoid warnings.
2008
 
# Make sure we can run config.sub.
2009
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2010
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2011
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2012
 
   { (exit 1); exit 1; }; }
2013
 
 
2014
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2015
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2016
 
if test "${ac_cv_build+set}" = set; then
2017
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2018
 
else
2019
 
  ac_build_alias=$build_alias
2020
 
test "x$ac_build_alias" = x &&
2021
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2022
 
test "x$ac_build_alias" = x &&
2023
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2024
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2025
 
   { (exit 1); exit 1; }; }
2026
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2027
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2028
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2029
 
   { (exit 1); exit 1; }; }
2030
 
 
2031
 
fi
2032
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2033
 
echo "${ECHO_T}$ac_cv_build" >&6; }
2034
 
case $ac_cv_build in
2035
 
*-*-*) ;;
2036
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2037
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2038
 
   { (exit 1); exit 1; }; };;
2039
 
esac
2040
 
build=$ac_cv_build
2041
 
ac_save_IFS=$IFS; IFS='-'
2042
 
set x $ac_cv_build
2043
 
shift
2044
 
build_cpu=$1
2045
 
build_vendor=$2
2046
 
shift; shift
2047
 
# Remember, the first character of IFS is used to create $*,
2048
 
# except with old shells:
2049
 
build_os=$*
2050
 
IFS=$ac_save_IFS
2051
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2052
 
 
2053
 
 
2054
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2055
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2056
 
if test "${ac_cv_host+set}" = set; then
2057
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2058
 
else
2059
 
  if test "x$host_alias" = x; then
2060
 
  ac_cv_host=$ac_cv_build
2061
 
else
2062
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2063
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2064
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2065
 
   { (exit 1); exit 1; }; }
2066
 
fi
2067
 
 
2068
 
fi
2069
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2070
 
echo "${ECHO_T}$ac_cv_host" >&6; }
2071
 
case $ac_cv_host in
2072
 
*-*-*) ;;
2073
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2074
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2075
 
   { (exit 1); exit 1; }; };;
2076
 
esac
2077
 
host=$ac_cv_host
2078
 
ac_save_IFS=$IFS; IFS='-'
2079
 
set x $ac_cv_host
2080
 
shift
2081
 
host_cpu=$1
2082
 
host_vendor=$2
2083
 
shift; shift
2084
 
# Remember, the first character of IFS is used to create $*,
2085
 
# except with old shells:
2086
 
host_os=$*
2087
 
IFS=$ac_save_IFS
2088
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2089
 
 
2090
 
 
2091
 
{ echo "$as_me:$LINENO: checking target system type" >&5
2092
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2093
 
if test "${ac_cv_target+set}" = set; then
2094
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2095
 
else
2096
 
  if test "x$target_alias" = x; then
2097
 
  ac_cv_target=$ac_cv_host
2098
 
else
2099
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2100
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2101
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2102
 
   { (exit 1); exit 1; }; }
2103
 
fi
2104
 
 
2105
 
fi
2106
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2107
 
echo "${ECHO_T}$ac_cv_target" >&6; }
2108
 
case $ac_cv_target in
2109
 
*-*-*) ;;
2110
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2111
 
echo "$as_me: error: invalid value of canonical target" >&2;}
2112
 
   { (exit 1); exit 1; }; };;
2113
 
esac
2114
 
target=$ac_cv_target
2115
 
ac_save_IFS=$IFS; IFS='-'
2116
 
set x $ac_cv_target
2117
 
shift
2118
 
target_cpu=$1
2119
 
target_vendor=$2
2120
 
shift; shift
2121
 
# Remember, the first character of IFS is used to create $*,
2122
 
# except with old shells:
2123
 
target_os=$*
2124
 
IFS=$ac_save_IFS
2125
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2126
 
 
2127
 
 
2128
 
# The aliases save the names the user supplied, while $host etc.
2129
 
# will get canonicalized.
2130
 
test -n "$target_alias" &&
2131
 
  test "$program_prefix$program_suffix$program_transform_name" = \
2132
 
    NONENONEs,x,x, &&
2133
 
  program_prefix=${target_alias}-
2134
 
 
2135
 
# Initialize automake.
2136
 
am__api_version='1.10'
2137
 
 
2138
 
# Find a good install program.  We prefer a C program (faster),
2139
 
# so one script is as good as another.  But avoid the broken or
2140
 
# incompatible versions:
2141
 
# SysV /etc/install, /usr/sbin/install
2142
 
# SunOS /usr/etc/install
2143
 
# IRIX /sbin/install
2144
 
# AIX /bin/install
2145
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2146
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2147
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2148
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2149
 
# OS/2's system install, which has a completely different semantic
2150
 
# ./install, which can be erroneously created by make from ./install.sh.
2151
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2152
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2153
 
if test -z "$INSTALL"; then
2154
 
if test "${ac_cv_path_install+set}" = set; then
2155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2156
 
else
2157
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158
 
for as_dir in $PATH
2159
 
do
2160
 
  IFS=$as_save_IFS
2161
 
  test -z "$as_dir" && as_dir=.
2162
 
  # Account for people who put trailing slashes in PATH elements.
2163
 
case $as_dir/ in
2164
 
  ./ | .// | /cC/* | \
2165
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2166
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2167
 
  /usr/ucb/* ) ;;
2168
 
  *)
2169
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2170
 
    # Don't use installbsd from OSF since it installs stuff as root
2171
 
    # by default.
2172
 
    for ac_prog in ginstall scoinst install; do
2173
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2174
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2175
 
          if test $ac_prog = install &&
2176
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2177
 
            # AIX install.  It has an incompatible calling convention.
2178
 
            :
2179
 
          elif test $ac_prog = install &&
2180
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2181
 
            # program-specific install script used by HP pwplus--don't use.
2182
 
            :
2183
 
          else
2184
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2185
 
            break 3
2186
 
          fi
2187
 
        fi
2188
 
      done
2189
 
    done
2190
 
    ;;
2191
 
esac
2192
 
done
2193
 
IFS=$as_save_IFS
2194
 
 
2195
 
 
2196
 
fi
2197
 
  if test "${ac_cv_path_install+set}" = set; then
2198
 
    INSTALL=$ac_cv_path_install
2199
 
  else
2200
 
    # As a last resort, use the slow shell script.  Don't cache a
2201
 
    # value for INSTALL within a source directory, because that will
2202
 
    # break other packages using the cache if that directory is
2203
 
    # removed, or if the value is a relative name.
2204
 
    INSTALL=$ac_install_sh
2205
 
  fi
2206
 
fi
2207
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2208
 
echo "${ECHO_T}$INSTALL" >&6; }
2209
 
 
2210
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2211
 
# It thinks the first close brace ends the variable substitution.
2212
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2213
 
 
2214
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2215
 
 
2216
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2217
 
 
2218
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2219
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2220
 
# Just in case
2221
 
sleep 1
2222
 
echo timestamp > conftest.file
2223
 
# Do `set' in a subshell so we don't clobber the current shell's
2224
 
# arguments.  Must try -L first in case configure is actually a
2225
 
# symlink; some systems play weird games with the mod time of symlinks
2226
 
# (eg FreeBSD returns the mod time of the symlink's containing
2227
 
# directory).
2228
 
if (
2229
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2230
 
   if test "$*" = "X"; then
2231
 
      # -L didn't work.
2232
 
      set X `ls -t $srcdir/configure conftest.file`
2233
 
   fi
2234
 
   rm -f conftest.file
2235
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2236
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2237
 
 
2238
 
      # If neither matched, then we have a broken ls.  This can happen
2239
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2240
 
      # broken ls alias from the environment.  This has actually
2241
 
      # happened.  Such a system could not be considered "sane".
2242
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2243
 
alias in your environment" >&5
2244
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2245
 
alias in your environment" >&2;}
2246
 
   { (exit 1); exit 1; }; }
2247
 
   fi
2248
 
 
2249
 
   test "$2" = conftest.file
2250
 
   )
2251
 
then
2252
 
   # Ok.
2253
 
   :
2254
 
else
2255
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2256
 
Check your system clock" >&5
2257
 
echo "$as_me: error: newly created file is older than distributed files!
2258
 
Check your system clock" >&2;}
2259
 
   { (exit 1); exit 1; }; }
2260
 
fi
2261
 
{ echo "$as_me:$LINENO: result: yes" >&5
2262
 
echo "${ECHO_T}yes" >&6; }
2263
 
test "$program_prefix" != NONE &&
2264
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2265
 
# Use a double $ so make ignores it.
2266
 
test "$program_suffix" != NONE &&
2267
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2268
 
# Double any \ or $.  echo might interpret backslashes.
2269
 
# By default was `s,x,x', remove it if useless.
2270
 
cat <<\_ACEOF >conftest.sed
2271
 
s/[\\$]/&&/g;s/;s,x,x,$//
2272
 
_ACEOF
2273
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2274
 
rm -f conftest.sed
2275
 
 
2276
 
# expand $ac_aux_dir to an absolute path
2277
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2278
 
 
2279
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2280
 
# Use eval to expand $SHELL
2281
 
if eval "$MISSING --run true"; then
2282
 
  am_missing_run="$MISSING --run "
2283
 
else
2284
 
  am_missing_run=
2285
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2286
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2287
 
fi
2288
 
 
2289
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2290
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2291
 
if test -z "$MKDIR_P"; then
2292
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2294
 
else
2295
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2297
 
do
2298
 
  IFS=$as_save_IFS
2299
 
  test -z "$as_dir" && as_dir=.
2300
 
  for ac_prog in mkdir gmkdir; do
2301
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2302
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2303
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2304
 
             'mkdir (GNU coreutils) '* | \
2305
 
             'mkdir (coreutils) '* | \
2306
 
             'mkdir (fileutils) '4.1*)
2307
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2308
 
               break 3;;
2309
 
           esac
2310
 
         done
2311
 
       done
2312
 
done
2313
 
IFS=$as_save_IFS
2314
 
 
2315
 
fi
2316
 
 
2317
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2318
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2319
 
  else
2320
 
    # As a last resort, use the slow shell script.  Don't cache a
2321
 
    # value for MKDIR_P within a source directory, because that will
2322
 
    # break other packages using the cache if that directory is
2323
 
    # removed, or if the value is a relative name.
2324
 
    test -d ./--version && rmdir ./--version
2325
 
    MKDIR_P="$ac_install_sh -d"
2326
 
  fi
2327
 
fi
2328
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2329
 
echo "${ECHO_T}$MKDIR_P" >&6; }
2330
 
 
2331
 
mkdir_p="$MKDIR_P"
2332
 
case $mkdir_p in
2333
 
  [\\/$]* | ?:[\\/]*) ;;
2334
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2335
 
esac
2336
 
 
2337
 
for ac_prog in gawk mawk nawk awk
2338
 
do
2339
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2340
 
set dummy $ac_prog; ac_word=$2
2341
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2342
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2343
 
if test "${ac_cv_prog_AWK+set}" = set; then
2344
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2345
 
else
2346
 
  if test -n "$AWK"; then
2347
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2348
 
else
2349
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350
 
for as_dir in $PATH
2351
 
do
2352
 
  IFS=$as_save_IFS
2353
 
  test -z "$as_dir" && as_dir=.
2354
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2355
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2356
 
    ac_cv_prog_AWK="$ac_prog"
2357
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358
 
    break 2
2359
 
  fi
2360
 
done
2361
 
done
2362
 
IFS=$as_save_IFS
2363
 
 
2364
 
fi
2365
 
fi
2366
 
AWK=$ac_cv_prog_AWK
2367
 
if test -n "$AWK"; then
2368
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2369
 
echo "${ECHO_T}$AWK" >&6; }
2370
 
else
2371
 
  { echo "$as_me:$LINENO: result: no" >&5
2372
 
echo "${ECHO_T}no" >&6; }
2373
 
fi
2374
 
 
2375
 
 
2376
 
  test -n "$AWK" && break
2377
 
done
2378
 
 
2379
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2380
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2381
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2382
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2383
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2384
 
else
2385
 
  cat >conftest.make <<\_ACEOF
2386
 
SHELL = /bin/sh
2387
 
all:
2388
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2389
 
_ACEOF
2390
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2391
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2392
 
  *@@@%%%=?*=@@@%%%*)
2393
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2394
 
  *)
2395
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2396
 
esac
2397
 
rm -f conftest.make
2398
 
fi
2399
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2400
 
  { echo "$as_me:$LINENO: result: yes" >&5
2401
 
echo "${ECHO_T}yes" >&6; }
2402
 
  SET_MAKE=
2403
 
else
2404
 
  { echo "$as_me:$LINENO: result: no" >&5
2405
 
echo "${ECHO_T}no" >&6; }
2406
 
  SET_MAKE="MAKE=${MAKE-make}"
2407
 
fi
2408
 
 
2409
 
rm -rf .tst 2>/dev/null
2410
 
mkdir .tst 2>/dev/null
2411
 
if test -d .tst; then
2412
 
  am__leading_dot=.
2413
 
else
2414
 
  am__leading_dot=_
2415
 
fi
2416
 
rmdir .tst 2>/dev/null
2417
 
 
2418
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2419
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2420
 
  # is not polluted with repeated "-I."
2421
 
  am__isrc=' -I$(srcdir)'
2422
 
  # test to see if srcdir already configured
2423
 
  if test -f $srcdir/config.status; then
2424
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2425
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2426
 
   { (exit 1); exit 1; }; }
2427
 
  fi
2428
 
fi
2429
 
 
2430
 
# test whether we have cygpath
2431
 
if test -z "$CYGPATH_W"; then
2432
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2433
 
    CYGPATH_W='cygpath -w'
2434
 
  else
2435
 
    CYGPATH_W=echo
2436
 
  fi
2437
 
fi
2438
 
 
2439
 
 
2440
 
# Define the identity of the package.
2441
 
 PACKAGE='jasper'
2442
 
 VERSION='1.701.0-gs5'
2443
 
 
2444
 
 
2445
 
cat >>confdefs.h <<_ACEOF
2446
 
@%:@define PACKAGE "$PACKAGE"
2447
 
_ACEOF
2448
 
 
2449
 
 
2450
 
cat >>confdefs.h <<_ACEOF
2451
 
@%:@define VERSION "$VERSION"
2452
 
_ACEOF
2453
 
 
2454
 
# Some tools Automake needs.
2455
 
 
2456
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2457
 
 
2458
 
 
2459
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2460
 
 
2461
 
 
2462
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2463
 
 
2464
 
 
2465
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2466
 
 
2467
 
 
2468
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2469
 
 
2470
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2471
 
 
2472
 
# Installed binaries are usually stripped using `strip' when the user
2473
 
# run `make install-strip'.  However `strip' might not be the right
2474
 
# tool to use in cross-compilation environments, therefore Automake
2475
 
# will honor the `STRIP' environment variable to overrule this program.
2476
 
if test "$cross_compiling" != no; then
2477
 
  if test -n "$ac_tool_prefix"; then
2478
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2479
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2480
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2481
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2482
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2483
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2484
 
else
2485
 
  if test -n "$STRIP"; then
2486
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2487
 
else
2488
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489
 
for as_dir in $PATH
2490
 
do
2491
 
  IFS=$as_save_IFS
2492
 
  test -z "$as_dir" && as_dir=.
2493
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2494
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2495
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2496
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2497
 
    break 2
2498
 
  fi
2499
 
done
2500
 
done
2501
 
IFS=$as_save_IFS
2502
 
 
2503
 
fi
2504
 
fi
2505
 
STRIP=$ac_cv_prog_STRIP
2506
 
if test -n "$STRIP"; then
2507
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2508
 
echo "${ECHO_T}$STRIP" >&6; }
2509
 
else
2510
 
  { echo "$as_me:$LINENO: result: no" >&5
2511
 
echo "${ECHO_T}no" >&6; }
2512
 
fi
2513
 
 
2514
 
 
2515
 
fi
2516
 
if test -z "$ac_cv_prog_STRIP"; then
2517
 
  ac_ct_STRIP=$STRIP
2518
 
  # Extract the first word of "strip", so it can be a program name with args.
2519
 
set dummy strip; ac_word=$2
2520
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2521
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2522
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2523
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2524
 
else
2525
 
  if test -n "$ac_ct_STRIP"; then
2526
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2527
 
else
2528
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529
 
for as_dir in $PATH
2530
 
do
2531
 
  IFS=$as_save_IFS
2532
 
  test -z "$as_dir" && as_dir=.
2533
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2534
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535
 
    ac_cv_prog_ac_ct_STRIP="strip"
2536
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537
 
    break 2
2538
 
  fi
2539
 
done
2540
 
done
2541
 
IFS=$as_save_IFS
2542
 
 
2543
 
fi
2544
 
fi
2545
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2546
 
if test -n "$ac_ct_STRIP"; then
2547
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2548
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2549
 
else
2550
 
  { echo "$as_me:$LINENO: result: no" >&5
2551
 
echo "${ECHO_T}no" >&6; }
2552
 
fi
2553
 
 
2554
 
  if test "x$ac_ct_STRIP" = x; then
2555
 
    STRIP=":"
2556
 
  else
2557
 
    case $cross_compiling:$ac_tool_warned in
2558
 
yes:)
2559
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2560
 
whose name does not start with the host triplet.  If you think this
2561
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2562
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2563
 
whose name does not start with the host triplet.  If you think this
2564
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2565
 
ac_tool_warned=yes ;;
2566
 
esac
2567
 
    STRIP=$ac_ct_STRIP
2568
 
  fi
2569
 
else
2570
 
  STRIP="$ac_cv_prog_STRIP"
2571
 
fi
2572
 
 
2573
 
fi
2574
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2575
 
 
2576
 
# We need awk for the "check" target.  The system "awk" is bad on
2577
 
# some platforms.
2578
 
# Always define AMTAR for backward compatibility.
2579
 
 
2580
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2581
 
 
2582
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2583
 
 
2584
 
 
2585
 
 
2586
 
 
2587
 
 
2588
 
 
2589
 
# Initialize version information parameters.
2590
 
JAS_MAJOR_VERSION=1
2591
 
JAS_MINOR_VERSION=701
2592
 
JAS_MICRO_VERSION=0-gs5
2593
 
JAS_VERSION=1.701.0-gs5
2594
 
 
2595
 
 
2596
 
 
2597
 
 
2598
 
cat >>confdefs.h <<_ACEOF
2599
 
@%:@define JAS_VERSION "$JAS_VERSION"
2600
 
_ACEOF
2601
 
 
2602
 
JAS_RPM_RELEASE=1
2603
 
 
2604
 
 
2605
 
# Initialize version information for libtool.
2606
 
LT_RELEASE=1.701
2607
 
LT_CURRENT=1
2608
 
LT_REVISION=0
2609
 
LT_AGE=0
2610
 
 
2611
 
 
2612
 
 
2613
 
 
2614
 
 
2615
 
# Indicate a configure-based build is being used.
2616
 
cat >>confdefs.h <<\_ACEOF
2617
 
@%:@define JAS_CONFIGURE 1
2618
 
_ACEOF
2619
 
 
2620
 
 
2621
 
############################################################
2622
 
# Configuration header file.
2623
 
############################################################
2624
 
 
2625
 
 
2626
 
 
2627
 
 
2628
 
 
2629
 
 
2630
 
 
2631
 
 
2632
 
 
2633
 
 
2634
 
 
2635
 
 
2636
 
 
2637
 
 
2638
 
 
2639
 
 
2640
 
 
2641
 
 
2642
 
 
2643
 
 
2644
 
############################################################
2645
 
# Checks for programs.
2646
 
############################################################
2647
 
 
2648
 
for ac_prog in gawk mawk nawk awk
2649
 
do
2650
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2651
 
set dummy $ac_prog; ac_word=$2
2652
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2653
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2654
 
if test "${ac_cv_prog_AWK+set}" = set; then
2655
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2656
 
else
2657
 
  if test -n "$AWK"; then
2658
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2659
 
else
2660
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661
 
for as_dir in $PATH
2662
 
do
2663
 
  IFS=$as_save_IFS
2664
 
  test -z "$as_dir" && as_dir=.
2665
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2666
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2667
 
    ac_cv_prog_AWK="$ac_prog"
2668
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2669
 
    break 2
2670
 
  fi
2671
 
done
2672
 
done
2673
 
IFS=$as_save_IFS
2674
 
 
2675
 
fi
2676
 
fi
2677
 
AWK=$ac_cv_prog_AWK
2678
 
if test -n "$AWK"; then
2679
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2680
 
echo "${ECHO_T}$AWK" >&6; }
2681
 
else
2682
 
  { echo "$as_me:$LINENO: result: no" >&5
2683
 
echo "${ECHO_T}no" >&6; }
2684
 
fi
2685
 
 
2686
 
 
2687
 
  test -n "$AWK" && break
2688
 
done
2689
 
 
2690
 
ac_ext=c
2691
 
ac_cpp='$CPP $CPPFLAGS'
2692
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2693
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2694
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2695
 
if test -n "$ac_tool_prefix"; then
2696
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2697
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2698
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2699
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2700
 
if test "${ac_cv_prog_CC+set}" = set; then
2701
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2702
 
else
2703
 
  if test -n "$CC"; then
2704
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2705
 
else
2706
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707
 
for as_dir in $PATH
2708
 
do
2709
 
  IFS=$as_save_IFS
2710
 
  test -z "$as_dir" && as_dir=.
2711
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2712
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2714
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2715
 
    break 2
2716
 
  fi
2717
 
done
2718
 
done
2719
 
IFS=$as_save_IFS
2720
 
 
2721
 
fi
2722
 
fi
2723
 
CC=$ac_cv_prog_CC
2724
 
if test -n "$CC"; then
2725
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2726
 
echo "${ECHO_T}$CC" >&6; }
2727
 
else
2728
 
  { echo "$as_me:$LINENO: result: no" >&5
2729
 
echo "${ECHO_T}no" >&6; }
2730
 
fi
2731
 
 
2732
 
 
2733
 
fi
2734
 
if test -z "$ac_cv_prog_CC"; then
2735
 
  ac_ct_CC=$CC
2736
 
  # Extract the first word of "gcc", so it can be a program name with args.
2737
 
set dummy gcc; ac_word=$2
2738
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2739
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2740
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2742
 
else
2743
 
  if test -n "$ac_ct_CC"; then
2744
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2745
 
else
2746
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747
 
for as_dir in $PATH
2748
 
do
2749
 
  IFS=$as_save_IFS
2750
 
  test -z "$as_dir" && as_dir=.
2751
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2752
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2753
 
    ac_cv_prog_ac_ct_CC="gcc"
2754
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755
 
    break 2
2756
 
  fi
2757
 
done
2758
 
done
2759
 
IFS=$as_save_IFS
2760
 
 
2761
 
fi
2762
 
fi
2763
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2764
 
if test -n "$ac_ct_CC"; then
2765
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2766
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
2767
 
else
2768
 
  { echo "$as_me:$LINENO: result: no" >&5
2769
 
echo "${ECHO_T}no" >&6; }
2770
 
fi
2771
 
 
2772
 
  if test "x$ac_ct_CC" = x; then
2773
 
    CC=""
2774
 
  else
2775
 
    case $cross_compiling:$ac_tool_warned in
2776
 
yes:)
2777
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2778
 
whose name does not start with the host triplet.  If you think this
2779
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2780
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2781
 
whose name does not start with the host triplet.  If you think this
2782
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2783
 
ac_tool_warned=yes ;;
2784
 
esac
2785
 
    CC=$ac_ct_CC
2786
 
  fi
2787
 
else
2788
 
  CC="$ac_cv_prog_CC"
2789
 
fi
2790
 
 
2791
 
if test -z "$CC"; then
2792
 
          if test -n "$ac_tool_prefix"; then
2793
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2794
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2795
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2796
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2797
 
if test "${ac_cv_prog_CC+set}" = set; then
2798
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2799
 
else
2800
 
  if test -n "$CC"; then
2801
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2802
 
else
2803
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804
 
for as_dir in $PATH
2805
 
do
2806
 
  IFS=$as_save_IFS
2807
 
  test -z "$as_dir" && as_dir=.
2808
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2809
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2810
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2811
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812
 
    break 2
2813
 
  fi
2814
 
done
2815
 
done
2816
 
IFS=$as_save_IFS
2817
 
 
2818
 
fi
2819
 
fi
2820
 
CC=$ac_cv_prog_CC
2821
 
if test -n "$CC"; then
2822
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2823
 
echo "${ECHO_T}$CC" >&6; }
2824
 
else
2825
 
  { echo "$as_me:$LINENO: result: no" >&5
2826
 
echo "${ECHO_T}no" >&6; }
2827
 
fi
2828
 
 
2829
 
 
2830
 
  fi
2831
 
fi
2832
 
if test -z "$CC"; then
2833
 
  # Extract the first word of "cc", so it can be a program name with args.
2834
 
set dummy cc; ac_word=$2
2835
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2836
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2837
 
if test "${ac_cv_prog_CC+set}" = set; then
2838
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2839
 
else
2840
 
  if test -n "$CC"; then
2841
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2842
 
else
2843
 
  ac_prog_rejected=no
2844
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2845
 
for as_dir in $PATH
2846
 
do
2847
 
  IFS=$as_save_IFS
2848
 
  test -z "$as_dir" && as_dir=.
2849
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2850
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2851
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2852
 
       ac_prog_rejected=yes
2853
 
       continue
2854
 
     fi
2855
 
    ac_cv_prog_CC="cc"
2856
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2857
 
    break 2
2858
 
  fi
2859
 
done
2860
 
done
2861
 
IFS=$as_save_IFS
2862
 
 
2863
 
if test $ac_prog_rejected = yes; then
2864
 
  # We found a bogon in the path, so make sure we never use it.
2865
 
  set dummy $ac_cv_prog_CC
2866
 
  shift
2867
 
  if test $@%:@ != 0; then
2868
 
    # We chose a different compiler from the bogus one.
2869
 
    # However, it has the same basename, so the bogon will be chosen
2870
 
    # first if we set CC to just the basename; use the full file name.
2871
 
    shift
2872
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2873
 
  fi
2874
 
fi
2875
 
fi
2876
 
fi
2877
 
CC=$ac_cv_prog_CC
2878
 
if test -n "$CC"; then
2879
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2880
 
echo "${ECHO_T}$CC" >&6; }
2881
 
else
2882
 
  { echo "$as_me:$LINENO: result: no" >&5
2883
 
echo "${ECHO_T}no" >&6; }
2884
 
fi
2885
 
 
2886
 
 
2887
 
fi
2888
 
if test -z "$CC"; then
2889
 
  if test -n "$ac_tool_prefix"; then
2890
 
  for ac_prog in cl.exe
2891
 
  do
2892
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2893
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2894
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2895
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2896
 
if test "${ac_cv_prog_CC+set}" = set; then
2897
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2898
 
else
2899
 
  if test -n "$CC"; then
2900
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2901
 
else
2902
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903
 
for as_dir in $PATH
2904
 
do
2905
 
  IFS=$as_save_IFS
2906
 
  test -z "$as_dir" && as_dir=.
2907
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2908
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2910
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2911
 
    break 2
2912
 
  fi
2913
 
done
2914
 
done
2915
 
IFS=$as_save_IFS
2916
 
 
2917
 
fi
2918
 
fi
2919
 
CC=$ac_cv_prog_CC
2920
 
if test -n "$CC"; then
2921
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2922
 
echo "${ECHO_T}$CC" >&6; }
2923
 
else
2924
 
  { echo "$as_me:$LINENO: result: no" >&5
2925
 
echo "${ECHO_T}no" >&6; }
2926
 
fi
2927
 
 
2928
 
 
2929
 
    test -n "$CC" && break
2930
 
  done
2931
 
fi
2932
 
if test -z "$CC"; then
2933
 
  ac_ct_CC=$CC
2934
 
  for ac_prog in cl.exe
2935
 
do
2936
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2937
 
set dummy $ac_prog; ac_word=$2
2938
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2939
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2940
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2941
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2942
 
else
2943
 
  if test -n "$ac_ct_CC"; then
2944
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2945
 
else
2946
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947
 
for as_dir in $PATH
2948
 
do
2949
 
  IFS=$as_save_IFS
2950
 
  test -z "$as_dir" && as_dir=.
2951
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2952
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
2954
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2955
 
    break 2
2956
 
  fi
2957
 
done
2958
 
done
2959
 
IFS=$as_save_IFS
2960
 
 
2961
 
fi
2962
 
fi
2963
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2964
 
if test -n "$ac_ct_CC"; then
2965
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2966
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
2967
 
else
2968
 
  { echo "$as_me:$LINENO: result: no" >&5
2969
 
echo "${ECHO_T}no" >&6; }
2970
 
fi
2971
 
 
2972
 
 
2973
 
  test -n "$ac_ct_CC" && break
2974
 
done
2975
 
 
2976
 
  if test "x$ac_ct_CC" = x; then
2977
 
    CC=""
2978
 
  else
2979
 
    case $cross_compiling:$ac_tool_warned in
2980
 
yes:)
2981
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2982
 
whose name does not start with the host triplet.  If you think this
2983
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2984
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2985
 
whose name does not start with the host triplet.  If you think this
2986
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2987
 
ac_tool_warned=yes ;;
2988
 
esac
2989
 
    CC=$ac_ct_CC
2990
 
  fi
2991
 
fi
2992
 
 
2993
 
fi
2994
 
 
2995
 
 
2996
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2997
 
See \`config.log' for more details." >&5
2998
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2999
 
See \`config.log' for more details." >&2;}
3000
 
   { (exit 1); exit 1; }; }
3001
 
 
3002
 
# Provide some information about the compiler.
3003
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3004
 
ac_compiler=`set X $ac_compile; echo $2`
3005
 
{ (ac_try="$ac_compiler --version >&5"
3006
 
case "(($ac_try" in
3007
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008
 
  *) ac_try_echo=$ac_try;;
3009
 
esac
3010
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3011
 
  (eval "$ac_compiler --version >&5") 2>&5
3012
 
  ac_status=$?
3013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014
 
  (exit $ac_status); }
3015
 
{ (ac_try="$ac_compiler -v >&5"
3016
 
case "(($ac_try" in
3017
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018
 
  *) ac_try_echo=$ac_try;;
3019
 
esac
3020
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3021
 
  (eval "$ac_compiler -v >&5") 2>&5
3022
 
  ac_status=$?
3023
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024
 
  (exit $ac_status); }
3025
 
{ (ac_try="$ac_compiler -V >&5"
3026
 
case "(($ac_try" in
3027
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028
 
  *) ac_try_echo=$ac_try;;
3029
 
esac
3030
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3031
 
  (eval "$ac_compiler -V >&5") 2>&5
3032
 
  ac_status=$?
3033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034
 
  (exit $ac_status); }
3035
 
 
3036
 
cat >conftest.$ac_ext <<_ACEOF
3037
 
/* confdefs.h.  */
3038
 
_ACEOF
3039
 
cat confdefs.h >>conftest.$ac_ext
3040
 
cat >>conftest.$ac_ext <<_ACEOF
3041
 
/* end confdefs.h.  */
3042
 
 
3043
 
int
3044
 
main ()
3045
 
{
3046
 
 
3047
 
  ;
3048
 
  return 0;
3049
 
}
3050
 
_ACEOF
3051
 
ac_clean_files_save=$ac_clean_files
3052
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3053
 
# Try to create an executable without -o first, disregard a.out.
3054
 
# It will help us diagnose broken compilers, and finding out an intuition
3055
 
# of exeext.
3056
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3057
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3058
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3059
 
#
3060
 
# List of possible output files, starting from the most likely.
3061
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3062
 
# only as a last resort.  b.out is created by i960 compilers.
3063
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3064
 
#
3065
 
# The IRIX 6 linker writes into existing files which may not be
3066
 
# executable, retaining their permissions.  Remove them first so a
3067
 
# subsequent execution test works.
3068
 
ac_rmfiles=
3069
 
for ac_file in $ac_files
3070
 
do
3071
 
  case $ac_file in
3072
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3073
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3074
 
  esac
3075
 
done
3076
 
rm -f $ac_rmfiles
3077
 
 
3078
 
if { (ac_try="$ac_link_default"
3079
 
case "(($ac_try" in
3080
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081
 
  *) ac_try_echo=$ac_try;;
3082
 
esac
3083
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3084
 
  (eval "$ac_link_default") 2>&5
3085
 
  ac_status=$?
3086
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087
 
  (exit $ac_status); }; then
3088
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3089
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3090
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3091
 
# so that the user can short-circuit this test for compilers unknown to
3092
 
# Autoconf.
3093
 
for ac_file in $ac_files ''
3094
 
do
3095
 
  test -f "$ac_file" || continue
3096
 
  case $ac_file in
3097
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3098
 
        ;;
3099
 
    [ab].out )
3100
 
        # We found the default executable, but exeext='' is most
3101
 
        # certainly right.
3102
 
        break;;
3103
 
    *.* )
3104
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3105
 
        then :; else
3106
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3107
 
        fi
3108
 
        # We set ac_cv_exeext here because the later test for it is not
3109
 
        # safe: cross compilers may not add the suffix if given an `-o'
3110
 
        # argument, so we may need to know it at that point already.
3111
 
        # Even if this section looks crufty: it has the advantage of
3112
 
        # actually working.
3113
 
        break;;
3114
 
    * )
3115
 
        break;;
3116
 
  esac
3117
 
done
3118
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3119
 
 
3120
 
else
3121
 
  ac_file=''
3122
 
fi
3123
 
 
3124
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3125
 
echo "${ECHO_T}$ac_file" >&6; }
3126
 
if test -z "$ac_file"; then
3127
 
  echo "$as_me: failed program was:" >&5
3128
 
sed 's/^/| /' conftest.$ac_ext >&5
3129
 
 
3130
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3131
 
See \`config.log' for more details." >&5
3132
 
echo "$as_me: error: C compiler cannot create executables
3133
 
See \`config.log' for more details." >&2;}
3134
 
   { (exit 77); exit 77; }; }
3135
 
fi
3136
 
 
3137
 
ac_exeext=$ac_cv_exeext
3138
 
 
3139
 
# Check that the compiler produces executables we can run.  If not, either
3140
 
# the compiler is broken, or we cross compile.
3141
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3142
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3143
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3144
 
# If not cross compiling, check that we can run a simple program.
3145
 
if test "$cross_compiling" != yes; then
3146
 
  if { ac_try='./$ac_file'
3147
 
  { (case "(($ac_try" in
3148
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149
 
  *) ac_try_echo=$ac_try;;
3150
 
esac
3151
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3152
 
  (eval "$ac_try") 2>&5
3153
 
  ac_status=$?
3154
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155
 
  (exit $ac_status); }; }; then
3156
 
    cross_compiling=no
3157
 
  else
3158
 
    if test "$cross_compiling" = maybe; then
3159
 
        cross_compiling=yes
3160
 
    else
3161
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3162
 
If you meant to cross compile, use \`--host'.
3163
 
See \`config.log' for more details." >&5
3164
 
echo "$as_me: error: cannot run C compiled programs.
3165
 
If you meant to cross compile, use \`--host'.
3166
 
See \`config.log' for more details." >&2;}
3167
 
   { (exit 1); exit 1; }; }
3168
 
    fi
3169
 
  fi
3170
 
fi
3171
 
{ echo "$as_me:$LINENO: result: yes" >&5
3172
 
echo "${ECHO_T}yes" >&6; }
3173
 
 
3174
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3175
 
ac_clean_files=$ac_clean_files_save
3176
 
# Check that the compiler produces executables we can run.  If not, either
3177
 
# the compiler is broken, or we cross compile.
3178
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3179
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3180
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3181
 
echo "${ECHO_T}$cross_compiling" >&6; }
3182
 
 
3183
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3184
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3185
 
if { (ac_try="$ac_link"
3186
 
case "(($ac_try" in
3187
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188
 
  *) ac_try_echo=$ac_try;;
3189
 
esac
3190
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3191
 
  (eval "$ac_link") 2>&5
3192
 
  ac_status=$?
3193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194
 
  (exit $ac_status); }; then
3195
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3196
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3197
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3198
 
# `rm'.
3199
 
for ac_file in conftest.exe conftest conftest.*; do
3200
 
  test -f "$ac_file" || continue
3201
 
  case $ac_file in
3202
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3203
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3204
 
          break;;
3205
 
    * ) break;;
3206
 
  esac
3207
 
done
3208
 
else
3209
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3210
 
See \`config.log' for more details." >&5
3211
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3212
 
See \`config.log' for more details." >&2;}
3213
 
   { (exit 1); exit 1; }; }
3214
 
fi
3215
 
 
3216
 
rm -f conftest$ac_cv_exeext
3217
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3218
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3219
 
 
3220
 
rm -f conftest.$ac_ext
3221
 
EXEEXT=$ac_cv_exeext
3222
 
ac_exeext=$EXEEXT
3223
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3224
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3225
 
if test "${ac_cv_objext+set}" = set; then
3226
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3227
 
else
3228
 
  cat >conftest.$ac_ext <<_ACEOF
3229
 
/* confdefs.h.  */
3230
 
_ACEOF
3231
 
cat confdefs.h >>conftest.$ac_ext
3232
 
cat >>conftest.$ac_ext <<_ACEOF
3233
 
/* end confdefs.h.  */
3234
 
 
3235
 
int
3236
 
main ()
3237
 
{
3238
 
 
3239
 
  ;
3240
 
  return 0;
3241
 
}
3242
 
_ACEOF
3243
 
rm -f conftest.o conftest.obj
3244
 
if { (ac_try="$ac_compile"
3245
 
case "(($ac_try" in
3246
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247
 
  *) ac_try_echo=$ac_try;;
3248
 
esac
3249
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3250
 
  (eval "$ac_compile") 2>&5
3251
 
  ac_status=$?
3252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253
 
  (exit $ac_status); }; then
3254
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3255
 
  test -f "$ac_file" || continue;
3256
 
  case $ac_file in
3257
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3258
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3259
 
       break;;
3260
 
  esac
3261
 
done
3262
 
else
3263
 
  echo "$as_me: failed program was:" >&5
3264
 
sed 's/^/| /' conftest.$ac_ext >&5
3265
 
 
3266
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3267
 
See \`config.log' for more details." >&5
3268
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3269
 
See \`config.log' for more details." >&2;}
3270
 
   { (exit 1); exit 1; }; }
3271
 
fi
3272
 
 
3273
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3274
 
fi
3275
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3276
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
3277
 
OBJEXT=$ac_cv_objext
3278
 
ac_objext=$OBJEXT
3279
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3280
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3281
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3282
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3283
 
else
3284
 
  cat >conftest.$ac_ext <<_ACEOF
3285
 
/* confdefs.h.  */
3286
 
_ACEOF
3287
 
cat confdefs.h >>conftest.$ac_ext
3288
 
cat >>conftest.$ac_ext <<_ACEOF
3289
 
/* end confdefs.h.  */
3290
 
 
3291
 
int
3292
 
main ()
3293
 
{
3294
 
#ifndef __GNUC__
3295
 
       choke me
3296
 
#endif
3297
 
 
3298
 
  ;
3299
 
  return 0;
3300
 
}
3301
 
_ACEOF
3302
 
rm -f conftest.$ac_objext
3303
 
if { (ac_try="$ac_compile"
3304
 
case "(($ac_try" in
3305
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306
 
  *) ac_try_echo=$ac_try;;
3307
 
esac
3308
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3309
 
  (eval "$ac_compile") 2>conftest.er1
3310
 
  ac_status=$?
3311
 
  grep -v '^ *+' conftest.er1 >conftest.err
3312
 
  rm -f conftest.er1
3313
 
  cat conftest.err >&5
3314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315
 
  (exit $ac_status); } && {
3316
 
         test -z "$ac_c_werror_flag" ||
3317
 
         test ! -s conftest.err
3318
 
       } && test -s conftest.$ac_objext; then
3319
 
  ac_compiler_gnu=yes
3320
 
else
3321
 
  echo "$as_me: failed program was:" >&5
3322
 
sed 's/^/| /' conftest.$ac_ext >&5
3323
 
 
3324
 
        ac_compiler_gnu=no
3325
 
fi
3326
 
 
3327
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3329
 
 
3330
 
fi
3331
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3332
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3333
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
3334
 
ac_test_CFLAGS=${CFLAGS+set}
3335
 
ac_save_CFLAGS=$CFLAGS
3336
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3337
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3338
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3339
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3340
 
else
3341
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3342
 
   ac_c_werror_flag=yes
3343
 
   ac_cv_prog_cc_g=no
3344
 
   CFLAGS="-g"
3345
 
   cat >conftest.$ac_ext <<_ACEOF
3346
 
/* confdefs.h.  */
3347
 
_ACEOF
3348
 
cat confdefs.h >>conftest.$ac_ext
3349
 
cat >>conftest.$ac_ext <<_ACEOF
3350
 
/* end confdefs.h.  */
3351
 
 
3352
 
int
3353
 
main ()
3354
 
{
3355
 
 
3356
 
  ;
3357
 
  return 0;
3358
 
}
3359
 
_ACEOF
3360
 
rm -f conftest.$ac_objext
3361
 
if { (ac_try="$ac_compile"
3362
 
case "(($ac_try" in
3363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364
 
  *) ac_try_echo=$ac_try;;
3365
 
esac
3366
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3367
 
  (eval "$ac_compile") 2>conftest.er1
3368
 
  ac_status=$?
3369
 
  grep -v '^ *+' conftest.er1 >conftest.err
3370
 
  rm -f conftest.er1
3371
 
  cat conftest.err >&5
3372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373
 
  (exit $ac_status); } && {
3374
 
         test -z "$ac_c_werror_flag" ||
3375
 
         test ! -s conftest.err
3376
 
       } && test -s conftest.$ac_objext; then
3377
 
  ac_cv_prog_cc_g=yes
3378
 
else
3379
 
  echo "$as_me: failed program was:" >&5
3380
 
sed 's/^/| /' conftest.$ac_ext >&5
3381
 
 
3382
 
        CFLAGS=""
3383
 
      cat >conftest.$ac_ext <<_ACEOF
3384
 
/* confdefs.h.  */
3385
 
_ACEOF
3386
 
cat confdefs.h >>conftest.$ac_ext
3387
 
cat >>conftest.$ac_ext <<_ACEOF
3388
 
/* end confdefs.h.  */
3389
 
 
3390
 
int
3391
 
main ()
3392
 
{
3393
 
 
3394
 
  ;
3395
 
  return 0;
3396
 
}
3397
 
_ACEOF
3398
 
rm -f conftest.$ac_objext
3399
 
if { (ac_try="$ac_compile"
3400
 
case "(($ac_try" in
3401
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402
 
  *) ac_try_echo=$ac_try;;
3403
 
esac
3404
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3405
 
  (eval "$ac_compile") 2>conftest.er1
3406
 
  ac_status=$?
3407
 
  grep -v '^ *+' conftest.er1 >conftest.err
3408
 
  rm -f conftest.er1
3409
 
  cat conftest.err >&5
3410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411
 
  (exit $ac_status); } && {
3412
 
         test -z "$ac_c_werror_flag" ||
3413
 
         test ! -s conftest.err
3414
 
       } && test -s conftest.$ac_objext; then
3415
 
  :
3416
 
else
3417
 
  echo "$as_me: failed program was:" >&5
3418
 
sed 's/^/| /' conftest.$ac_ext >&5
3419
 
 
3420
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3421
 
         CFLAGS="-g"
3422
 
         cat >conftest.$ac_ext <<_ACEOF
3423
 
/* confdefs.h.  */
3424
 
_ACEOF
3425
 
cat confdefs.h >>conftest.$ac_ext
3426
 
cat >>conftest.$ac_ext <<_ACEOF
3427
 
/* end confdefs.h.  */
3428
 
 
3429
 
int
3430
 
main ()
3431
 
{
3432
 
 
3433
 
  ;
3434
 
  return 0;
3435
 
}
3436
 
_ACEOF
3437
 
rm -f conftest.$ac_objext
3438
 
if { (ac_try="$ac_compile"
3439
 
case "(($ac_try" in
3440
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441
 
  *) ac_try_echo=$ac_try;;
3442
 
esac
3443
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3444
 
  (eval "$ac_compile") 2>conftest.er1
3445
 
  ac_status=$?
3446
 
  grep -v '^ *+' conftest.er1 >conftest.err
3447
 
  rm -f conftest.er1
3448
 
  cat conftest.err >&5
3449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450
 
  (exit $ac_status); } && {
3451
 
         test -z "$ac_c_werror_flag" ||
3452
 
         test ! -s conftest.err
3453
 
       } && test -s conftest.$ac_objext; then
3454
 
  ac_cv_prog_cc_g=yes
3455
 
else
3456
 
  echo "$as_me: failed program was:" >&5
3457
 
sed 's/^/| /' conftest.$ac_ext >&5
3458
 
 
3459
 
        
3460
 
fi
3461
 
 
3462
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463
 
fi
3464
 
 
3465
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466
 
fi
3467
 
 
3468
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3470
 
fi
3471
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3472
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3473
 
if test "$ac_test_CFLAGS" = set; then
3474
 
  CFLAGS=$ac_save_CFLAGS
3475
 
elif test $ac_cv_prog_cc_g = yes; then
3476
 
  if test "$GCC" = yes; then
3477
 
    CFLAGS="-g -O2"
3478
 
  else
3479
 
    CFLAGS="-g"
3480
 
  fi
3481
 
else
3482
 
  if test "$GCC" = yes; then
3483
 
    CFLAGS="-O2"
3484
 
  else
3485
 
    CFLAGS=
3486
 
  fi
3487
 
fi
3488
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3489
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3490
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3491
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3492
 
else
3493
 
  ac_cv_prog_cc_c89=no
3494
 
ac_save_CC=$CC
3495
 
cat >conftest.$ac_ext <<_ACEOF
3496
 
/* confdefs.h.  */
3497
 
_ACEOF
3498
 
cat confdefs.h >>conftest.$ac_ext
3499
 
cat >>conftest.$ac_ext <<_ACEOF
3500
 
/* end confdefs.h.  */
3501
 
#include <stdarg.h>
3502
 
#include <stdio.h>
3503
 
#include <sys/types.h>
3504
 
#include <sys/stat.h>
3505
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3506
 
struct buf { int x; };
3507
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3508
 
static char *e (p, i)
3509
 
     char **p;
3510
 
     int i;
3511
 
{
3512
 
  return p[i];
3513
 
}
3514
 
static char *f (char * (*g) (char **, int), char **p, ...)
3515
 
{
3516
 
  char *s;
3517
 
  va_list v;
3518
 
  va_start (v,p);
3519
 
  s = g (p, va_arg (v,int));
3520
 
  va_end (v);
3521
 
  return s;
3522
 
}
3523
 
 
3524
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3525
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3526
 
   These don't provoke an error unfortunately, instead are silently treated
3527
 
   as 'x'.  The following induces an error, until -std is added to get
3528
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3529
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3530
 
   that's true only with -std.  */
3531
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3532
 
 
3533
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3534
 
   inside strings and character constants.  */
3535
 
#define FOO(x) 'x'
3536
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3537
 
 
3538
 
int test (int i, double x);
3539
 
struct s1 {int (*f) (int a);};
3540
 
struct s2 {int (*f) (double a);};
3541
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3542
 
int argc;
3543
 
char **argv;
3544
 
int
3545
 
main ()
3546
 
{
3547
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3548
 
  ;
3549
 
  return 0;
3550
 
}
3551
 
_ACEOF
3552
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3553
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3554
 
do
3555
 
  CC="$ac_save_CC $ac_arg"
3556
 
  rm -f conftest.$ac_objext
3557
 
if { (ac_try="$ac_compile"
3558
 
case "(($ac_try" in
3559
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3560
 
  *) ac_try_echo=$ac_try;;
3561
 
esac
3562
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3563
 
  (eval "$ac_compile") 2>conftest.er1
3564
 
  ac_status=$?
3565
 
  grep -v '^ *+' conftest.er1 >conftest.err
3566
 
  rm -f conftest.er1
3567
 
  cat conftest.err >&5
3568
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569
 
  (exit $ac_status); } && {
3570
 
         test -z "$ac_c_werror_flag" ||
3571
 
         test ! -s conftest.err
3572
 
       } && test -s conftest.$ac_objext; then
3573
 
  ac_cv_prog_cc_c89=$ac_arg
3574
 
else
3575
 
  echo "$as_me: failed program was:" >&5
3576
 
sed 's/^/| /' conftest.$ac_ext >&5
3577
 
 
3578
 
        
3579
 
fi
3580
 
 
3581
 
rm -f core conftest.err conftest.$ac_objext 
3582
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3583
 
done
3584
 
rm -f conftest.$ac_ext
3585
 
CC=$ac_save_CC
3586
 
 
3587
 
fi
3588
 
# AC_CACHE_VAL
3589
 
case "x$ac_cv_prog_cc_c89" in
3590
 
  x)
3591
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3592
 
echo "${ECHO_T}none needed" >&6; } ;;
3593
 
  xno)
3594
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3595
 
echo "${ECHO_T}unsupported" >&6; } ;;
3596
 
  *)
3597
 
    CC="$CC $ac_cv_prog_cc_c89"
3598
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3599
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3600
 
esac
3601
 
 
3602
 
 
3603
 
ac_ext=c
3604
 
ac_cpp='$CPP $CPPFLAGS'
3605
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3608
 
DEPDIR="${am__leading_dot}deps"
3609
 
 
3610
 
ac_config_commands="$ac_config_commands depfiles"
3611
 
 
3612
 
 
3613
 
am_make=${MAKE-make}
3614
 
cat > confinc << 'END'
3615
 
am__doit:
3616
 
        @echo done
3617
 
.PHONY: am__doit
3618
 
END
3619
 
# If we don't find an include directive, just comment out the code.
3620
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3621
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3622
 
am__include="#"
3623
 
am__quote=
3624
 
_am_result=none
3625
 
# First try GNU make style include.
3626
 
echo "include confinc" > confmf
3627
 
# We grep out `Entering directory' and `Leaving directory'
3628
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3629
 
# In particular we don't look at `^make:' because GNU make might
3630
 
# be invoked under some other name (usually "gmake"), in which
3631
 
# case it prints its new name instead of `make'.
3632
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3633
 
   am__include=include
3634
 
   am__quote=
3635
 
   _am_result=GNU
3636
 
fi
3637
 
# Now try BSD make style include.
3638
 
if test "$am__include" = "#"; then
3639
 
   echo '.include "confinc"' > confmf
3640
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3641
 
      am__include=.include
3642
 
      am__quote="\""
3643
 
      _am_result=BSD
3644
 
   fi
3645
 
fi
3646
 
 
3647
 
 
3648
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3649
 
echo "${ECHO_T}$_am_result" >&6; }
3650
 
rm -f confinc confmf
3651
 
 
3652
 
# Check whether --enable-dependency-tracking was given.
3653
 
if test "${enable_dependency_tracking+set}" = set; then
3654
 
  enableval=$enable_dependency_tracking; 
3655
 
fi
3656
 
 
3657
 
if test "x$enable_dependency_tracking" != xno; then
3658
 
  am_depcomp="$ac_aux_dir/depcomp"
3659
 
  AMDEPBACKSLASH='\'
3660
 
fi
3661
 
 if test "x$enable_dependency_tracking" != xno; then
3662
 
  AMDEP_TRUE=
3663
 
  AMDEP_FALSE='#'
3664
 
else
3665
 
  AMDEP_TRUE='#'
3666
 
  AMDEP_FALSE=
3667
 
fi
3668
 
 
3669
 
 
3670
 
 
3671
 
depcc="$CC"   am_compiler_list=
3672
 
 
3673
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3674
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3675
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3676
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3677
 
else
3678
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3679
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3680
 
  # making bogus files that we don't know about and never remove.  For
3681
 
  # instance it was reported that on HP-UX the gcc test will end up
3682
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3683
 
  # in D'.
3684
 
  mkdir conftest.dir
3685
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3686
 
  # using a relative directory.
3687
 
  cp "$am_depcomp" conftest.dir
3688
 
  cd conftest.dir
3689
 
  # We will build objects and dependencies in a subdirectory because
3690
 
  # it helps to detect inapplicable dependency modes.  For instance
3691
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3692
 
  # side effect of compilation, but ICC will put the dependencies in
3693
 
  # the current directory while Tru64 will put them in the object
3694
 
  # directory.
3695
 
  mkdir sub
3696
 
 
3697
 
  am_cv_CC_dependencies_compiler_type=none
3698
 
  if test "$am_compiler_list" = ""; then
3699
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3700
 
  fi
3701
 
  for depmode in $am_compiler_list; do
3702
 
    # Setup a source with many dependencies, because some compilers
3703
 
    # like to wrap large dependency lists on column 80 (with \), and
3704
 
    # we should not choose a depcomp mode which is confused by this.
3705
 
    #
3706
 
    # We need to recreate these files for each test, as the compiler may
3707
 
    # overwrite some of them when testing with obscure command lines.
3708
 
    # This happens at least with the AIX C compiler.
3709
 
    : > sub/conftest.c
3710
 
    for i in 1 2 3 4 5 6; do
3711
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3712
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3713
 
      # Solaris 8's {/usr,}/bin/sh.
3714
 
      touch sub/conftst$i.h
3715
 
    done
3716
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3717
 
 
3718
 
    case $depmode in
3719
 
    nosideeffect)
3720
 
      # after this tag, mechanisms are not by side-effect, so they'll
3721
 
      # only be used when explicitly requested
3722
 
      if test "x$enable_dependency_tracking" = xyes; then
3723
 
        continue
3724
 
      else
3725
 
        break
3726
 
      fi
3727
 
      ;;
3728
 
    none) break ;;
3729
 
    esac
3730
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3731
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3732
 
    # handle `-M -o', and we need to detect this.
3733
 
    if depmode=$depmode \
3734
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3735
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3736
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3737
 
         >/dev/null 2>conftest.err &&
3738
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3739
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3740
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3741
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3742
 
      # icc doesn't choke on unknown options, it will just issue warnings
3743
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3744
 
      # that says an option was ignored or not supported.
3745
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3746
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3747
 
      # The diagnosis changed in icc 8.0:
3748
 
      #   icc: Command line remark: option '-MP' not supported
3749
 
      if (grep 'ignoring option' conftest.err ||
3750
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3751
 
        am_cv_CC_dependencies_compiler_type=$depmode
3752
 
        break
3753
 
      fi
3754
 
    fi
3755
 
  done
3756
 
 
3757
 
  cd ..
3758
 
  rm -rf conftest.dir
3759
 
else
3760
 
  am_cv_CC_dependencies_compiler_type=none
3761
 
fi
3762
 
 
3763
 
fi
3764
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3765
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3766
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3767
 
 
3768
 
 if 
3769
 
  test "x$enable_dependency_tracking" != xno \
3770
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3771
 
  am__fastdepCC_TRUE=
3772
 
  am__fastdepCC_FALSE='#'
3773
 
else
3774
 
  am__fastdepCC_TRUE='#'
3775
 
  am__fastdepCC_FALSE=
3776
 
fi
3777
 
 
3778
 
 
3779
 
ac_ext=c
3780
 
ac_cpp='$CPP $CPPFLAGS'
3781
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3782
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3783
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3784
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3785
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3786
 
# On Suns, sometimes $CPP names a directory.
3787
 
if test -n "$CPP" && test -d "$CPP"; then
3788
 
  CPP=
3789
 
fi
3790
 
if test -z "$CPP"; then
3791
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3792
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3793
 
else
3794
 
      # Double quotes because CPP needs to be expanded
3795
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3796
 
    do
3797
 
      ac_preproc_ok=false
3798
 
for ac_c_preproc_warn_flag in '' yes
3799
 
do
3800
 
  # Use a header file that comes with gcc, so configuring glibc
3801
 
  # with a fresh cross-compiler works.
3802
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3803
 
  # <limits.h> exists even on freestanding compilers.
3804
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3805
 
  # not just through cpp. "Syntax error" is here to catch this case.
3806
 
  cat >conftest.$ac_ext <<_ACEOF
3807
 
/* confdefs.h.  */
3808
 
_ACEOF
3809
 
cat confdefs.h >>conftest.$ac_ext
3810
 
cat >>conftest.$ac_ext <<_ACEOF
3811
 
/* end confdefs.h.  */
3812
 
@%:@ifdef __STDC__
3813
 
@%:@ include <limits.h>
3814
 
@%:@else
3815
 
@%:@ include <assert.h>
3816
 
@%:@endif
3817
 
                     Syntax error
3818
 
_ACEOF
3819
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3820
 
case "(($ac_try" in
3821
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822
 
  *) ac_try_echo=$ac_try;;
3823
 
esac
3824
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3825
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3826
 
  ac_status=$?
3827
 
  grep -v '^ *+' conftest.er1 >conftest.err
3828
 
  rm -f conftest.er1
3829
 
  cat conftest.err >&5
3830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831
 
  (exit $ac_status); } >/dev/null && {
3832
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3833
 
         test ! -s conftest.err
3834
 
       }; then
3835
 
  :
3836
 
else
3837
 
  echo "$as_me: failed program was:" >&5
3838
 
sed 's/^/| /' conftest.$ac_ext >&5
3839
 
 
3840
 
  # Broken: fails on valid input.
3841
 
continue
3842
 
fi
3843
 
 
3844
 
rm -f conftest.err conftest.$ac_ext
3845
 
 
3846
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3847
 
  # can be detected and how.
3848
 
  cat >conftest.$ac_ext <<_ACEOF
3849
 
/* confdefs.h.  */
3850
 
_ACEOF
3851
 
cat confdefs.h >>conftest.$ac_ext
3852
 
cat >>conftest.$ac_ext <<_ACEOF
3853
 
/* end confdefs.h.  */
3854
 
@%:@include <ac_nonexistent.h>
3855
 
_ACEOF
3856
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3857
 
case "(($ac_try" in
3858
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3859
 
  *) ac_try_echo=$ac_try;;
3860
 
esac
3861
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3862
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3863
 
  ac_status=$?
3864
 
  grep -v '^ *+' conftest.er1 >conftest.err
3865
 
  rm -f conftest.er1
3866
 
  cat conftest.err >&5
3867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868
 
  (exit $ac_status); } >/dev/null && {
3869
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3870
 
         test ! -s conftest.err
3871
 
       }; then
3872
 
  # Broken: success on invalid input.
3873
 
continue
3874
 
else
3875
 
  echo "$as_me: failed program was:" >&5
3876
 
sed 's/^/| /' conftest.$ac_ext >&5
3877
 
 
3878
 
  # Passes both tests.
3879
 
ac_preproc_ok=:
3880
 
break
3881
 
fi
3882
 
 
3883
 
rm -f conftest.err conftest.$ac_ext
3884
 
 
3885
 
done
3886
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3887
 
rm -f conftest.err conftest.$ac_ext
3888
 
if $ac_preproc_ok; then
3889
 
  break
3890
 
fi
3891
 
 
3892
 
    done
3893
 
    ac_cv_prog_CPP=$CPP
3894
 
  
3895
 
fi
3896
 
  CPP=$ac_cv_prog_CPP
3897
 
else
3898
 
  ac_cv_prog_CPP=$CPP
3899
 
fi
3900
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3901
 
echo "${ECHO_T}$CPP" >&6; }
3902
 
ac_preproc_ok=false
3903
 
for ac_c_preproc_warn_flag in '' yes
3904
 
do
3905
 
  # Use a header file that comes with gcc, so configuring glibc
3906
 
  # with a fresh cross-compiler works.
3907
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3908
 
  # <limits.h> exists even on freestanding compilers.
3909
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3910
 
  # not just through cpp. "Syntax error" is here to catch this case.
3911
 
  cat >conftest.$ac_ext <<_ACEOF
3912
 
/* confdefs.h.  */
3913
 
_ACEOF
3914
 
cat confdefs.h >>conftest.$ac_ext
3915
 
cat >>conftest.$ac_ext <<_ACEOF
3916
 
/* end confdefs.h.  */
3917
 
@%:@ifdef __STDC__
3918
 
@%:@ include <limits.h>
3919
 
@%:@else
3920
 
@%:@ include <assert.h>
3921
 
@%:@endif
3922
 
                     Syntax error
3923
 
_ACEOF
3924
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3925
 
case "(($ac_try" in
3926
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927
 
  *) ac_try_echo=$ac_try;;
3928
 
esac
3929
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3930
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3931
 
  ac_status=$?
3932
 
  grep -v '^ *+' conftest.er1 >conftest.err
3933
 
  rm -f conftest.er1
3934
 
  cat conftest.err >&5
3935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936
 
  (exit $ac_status); } >/dev/null && {
3937
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3938
 
         test ! -s conftest.err
3939
 
       }; then
3940
 
  :
3941
 
else
3942
 
  echo "$as_me: failed program was:" >&5
3943
 
sed 's/^/| /' conftest.$ac_ext >&5
3944
 
 
3945
 
  # Broken: fails on valid input.
3946
 
continue
3947
 
fi
3948
 
 
3949
 
rm -f conftest.err conftest.$ac_ext
3950
 
 
3951
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3952
 
  # can be detected and how.
3953
 
  cat >conftest.$ac_ext <<_ACEOF
3954
 
/* confdefs.h.  */
3955
 
_ACEOF
3956
 
cat confdefs.h >>conftest.$ac_ext
3957
 
cat >>conftest.$ac_ext <<_ACEOF
3958
 
/* end confdefs.h.  */
3959
 
@%:@include <ac_nonexistent.h>
3960
 
_ACEOF
3961
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3962
 
case "(($ac_try" in
3963
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3964
 
  *) ac_try_echo=$ac_try;;
3965
 
esac
3966
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3967
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3968
 
  ac_status=$?
3969
 
  grep -v '^ *+' conftest.er1 >conftest.err
3970
 
  rm -f conftest.er1
3971
 
  cat conftest.err >&5
3972
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973
 
  (exit $ac_status); } >/dev/null && {
3974
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3975
 
         test ! -s conftest.err
3976
 
       }; then
3977
 
  # Broken: success on invalid input.
3978
 
continue
3979
 
else
3980
 
  echo "$as_me: failed program was:" >&5
3981
 
sed 's/^/| /' conftest.$ac_ext >&5
3982
 
 
3983
 
  # Passes both tests.
3984
 
ac_preproc_ok=:
3985
 
break
3986
 
fi
3987
 
 
3988
 
rm -f conftest.err conftest.$ac_ext
3989
 
 
3990
 
done
3991
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3992
 
rm -f conftest.err conftest.$ac_ext
3993
 
if $ac_preproc_ok; then
3994
 
  :
3995
 
else
3996
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3997
 
See \`config.log' for more details." >&5
3998
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3999
 
See \`config.log' for more details." >&2;}
4000
 
   { (exit 1); exit 1; }; }
4001
 
fi
4002
 
 
4003
 
ac_ext=c
4004
 
ac_cpp='$CPP $CPPFLAGS'
4005
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4006
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4007
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4008
 
 
4009
 
# Find a good install program.  We prefer a C program (faster),
4010
 
# so one script is as good as another.  But avoid the broken or
4011
 
# incompatible versions:
4012
 
# SysV /etc/install, /usr/sbin/install
4013
 
# SunOS /usr/etc/install
4014
 
# IRIX /sbin/install
4015
 
# AIX /bin/install
4016
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
4017
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4018
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4019
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4020
 
# OS/2's system install, which has a completely different semantic
4021
 
# ./install, which can be erroneously created by make from ./install.sh.
4022
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4023
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4024
 
if test -z "$INSTALL"; then
4025
 
if test "${ac_cv_path_install+set}" = set; then
4026
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4027
 
else
4028
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029
 
for as_dir in $PATH
4030
 
do
4031
 
  IFS=$as_save_IFS
4032
 
  test -z "$as_dir" && as_dir=.
4033
 
  # Account for people who put trailing slashes in PATH elements.
4034
 
case $as_dir/ in
4035
 
  ./ | .// | /cC/* | \
4036
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4037
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4038
 
  /usr/ucb/* ) ;;
4039
 
  *)
4040
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
4041
 
    # Don't use installbsd from OSF since it installs stuff as root
4042
 
    # by default.
4043
 
    for ac_prog in ginstall scoinst install; do
4044
 
      for ac_exec_ext in '' $ac_executable_extensions; do
4045
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4046
 
          if test $ac_prog = install &&
4047
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4048
 
            # AIX install.  It has an incompatible calling convention.
4049
 
            :
4050
 
          elif test $ac_prog = install &&
4051
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4052
 
            # program-specific install script used by HP pwplus--don't use.
4053
 
            :
4054
 
          else
4055
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4056
 
            break 3
4057
 
          fi
4058
 
        fi
4059
 
      done
4060
 
    done
4061
 
    ;;
4062
 
esac
4063
 
done
4064
 
IFS=$as_save_IFS
4065
 
 
4066
 
 
4067
 
fi
4068
 
  if test "${ac_cv_path_install+set}" = set; then
4069
 
    INSTALL=$ac_cv_path_install
4070
 
  else
4071
 
    # As a last resort, use the slow shell script.  Don't cache a
4072
 
    # value for INSTALL within a source directory, because that will
4073
 
    # break other packages using the cache if that directory is
4074
 
    # removed, or if the value is a relative name.
4075
 
    INSTALL=$ac_install_sh
4076
 
  fi
4077
 
fi
4078
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4079
 
echo "${ECHO_T}$INSTALL" >&6; }
4080
 
 
4081
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4082
 
# It thinks the first close brace ends the variable substitution.
4083
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4084
 
 
4085
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4086
 
 
4087
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4088
 
 
4089
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4090
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4091
 
LN_S=$as_ln_s
4092
 
if test "$LN_S" = "ln -s"; then
4093
 
  { echo "$as_me:$LINENO: result: yes" >&5
4094
 
echo "${ECHO_T}yes" >&6; }
4095
 
else
4096
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4097
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4098
 
fi
4099
 
 
4100
 
if test -n "$ac_tool_prefix"; then
4101
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4102
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4103
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4104
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4105
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
4106
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4107
 
else
4108
 
  if test -n "$RANLIB"; then
4109
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4110
 
else
4111
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112
 
for as_dir in $PATH
4113
 
do
4114
 
  IFS=$as_save_IFS
4115
 
  test -z "$as_dir" && as_dir=.
4116
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4117
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4118
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4119
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4120
 
    break 2
4121
 
  fi
4122
 
done
4123
 
done
4124
 
IFS=$as_save_IFS
4125
 
 
4126
 
fi
4127
 
fi
4128
 
RANLIB=$ac_cv_prog_RANLIB
4129
 
if test -n "$RANLIB"; then
4130
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
4131
 
echo "${ECHO_T}$RANLIB" >&6; }
4132
 
else
4133
 
  { echo "$as_me:$LINENO: result: no" >&5
4134
 
echo "${ECHO_T}no" >&6; }
4135
 
fi
4136
 
 
4137
 
 
4138
 
fi
4139
 
if test -z "$ac_cv_prog_RANLIB"; then
4140
 
  ac_ct_RANLIB=$RANLIB
4141
 
  # Extract the first word of "ranlib", so it can be a program name with args.
4142
 
set dummy ranlib; ac_word=$2
4143
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4144
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4145
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4146
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4147
 
else
4148
 
  if test -n "$ac_ct_RANLIB"; then
4149
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4150
 
else
4151
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4152
 
for as_dir in $PATH
4153
 
do
4154
 
  IFS=$as_save_IFS
4155
 
  test -z "$as_dir" && as_dir=.
4156
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4157
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4158
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
4159
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4160
 
    break 2
4161
 
  fi
4162
 
done
4163
 
done
4164
 
IFS=$as_save_IFS
4165
 
 
4166
 
fi
4167
 
fi
4168
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4169
 
if test -n "$ac_ct_RANLIB"; then
4170
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4171
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4172
 
else
4173
 
  { echo "$as_me:$LINENO: result: no" >&5
4174
 
echo "${ECHO_T}no" >&6; }
4175
 
fi
4176
 
 
4177
 
  if test "x$ac_ct_RANLIB" = x; then
4178
 
    RANLIB=":"
4179
 
  else
4180
 
    case $cross_compiling:$ac_tool_warned in
4181
 
yes:)
4182
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4183
 
whose name does not start with the host triplet.  If you think this
4184
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4185
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4186
 
whose name does not start with the host triplet.  If you think this
4187
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4188
 
ac_tool_warned=yes ;;
4189
 
esac
4190
 
    RANLIB=$ac_ct_RANLIB
4191
 
  fi
4192
 
else
4193
 
  RANLIB="$ac_cv_prog_RANLIB"
4194
 
fi
4195
 
 
4196
 
 
4197
 
# Check whether --enable-shared was given.
4198
 
if test "${enable_shared+set}" = set; then
4199
 
  enableval=$enable_shared; p=${PACKAGE-default}
4200
 
    case $enableval in
4201
 
    yes) enable_shared=yes ;;
4202
 
    no) enable_shared=no ;;
4203
 
    *)
4204
 
      enable_shared=no
4205
 
      # Look at the argument we got.  We use all the common list separators.
4206
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4207
 
      for pkg in $enableval; do
4208
 
        IFS="$lt_save_ifs"
4209
 
        if test "X$pkg" = "X$p"; then
4210
 
          enable_shared=yes
4211
 
        fi
4212
 
      done
4213
 
      IFS="$lt_save_ifs"
4214
 
      ;;
4215
 
    esac
4216
 
else
4217
 
  enable_shared=no
4218
 
fi
4219
 
 
4220
 
 
4221
 
 
4222
 
# Check whether --enable-static was given.
4223
 
if test "${enable_static+set}" = set; then
4224
 
  enableval=$enable_static; p=${PACKAGE-default}
4225
 
    case $enableval in
4226
 
    yes) enable_static=yes ;;
4227
 
    no) enable_static=no ;;
4228
 
    *)
4229
 
     enable_static=no
4230
 
      # Look at the argument we got.  We use all the common list separators.
4231
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4232
 
      for pkg in $enableval; do
4233
 
        IFS="$lt_save_ifs"
4234
 
        if test "X$pkg" = "X$p"; then
4235
 
          enable_static=yes
4236
 
        fi
4237
 
      done
4238
 
      IFS="$lt_save_ifs"
4239
 
      ;;
4240
 
    esac
4241
 
else
4242
 
  enable_static=yes
4243
 
fi
4244
 
 
4245
 
 
4246
 
# Check whether --enable-fast-install was given.
4247
 
if test "${enable_fast_install+set}" = set; then
4248
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
4249
 
    case $enableval in
4250
 
    yes) enable_fast_install=yes ;;
4251
 
    no) enable_fast_install=no ;;
4252
 
    *)
4253
 
      enable_fast_install=no
4254
 
      # Look at the argument we got.  We use all the common list separators.
4255
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4256
 
      for pkg in $enableval; do
4257
 
        IFS="$lt_save_ifs"
4258
 
        if test "X$pkg" = "X$p"; then
4259
 
          enable_fast_install=yes
4260
 
        fi
4261
 
      done
4262
 
      IFS="$lt_save_ifs"
4263
 
      ;;
4264
 
    esac
4265
 
else
4266
 
  enable_fast_install=yes
4267
 
fi
4268
 
 
4269
 
 
4270
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4271
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4272
 
if test "${lt_cv_path_SED+set}" = set; then
4273
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4274
 
else
4275
 
  # Loop through the user's path and test for sed and gsed.
4276
 
# Then use that list of sed's as ones to test for truncation.
4277
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278
 
for as_dir in $PATH
4279
 
do
4280
 
  IFS=$as_save_IFS
4281
 
  test -z "$as_dir" && as_dir=.
4282
 
  for lt_ac_prog in sed gsed; do
4283
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4284
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4285
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4286
 
      fi
4287
 
    done
4288
 
  done
4289
 
done
4290
 
IFS=$as_save_IFS
4291
 
lt_ac_max=0
4292
 
lt_ac_count=0
4293
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4294
 
# along with /bin/sed that truncates output.
4295
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4296
 
  test ! -f $lt_ac_sed && continue
4297
 
  cat /dev/null > conftest.in
4298
 
  lt_ac_count=0
4299
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4300
 
  # Check for GNU sed and select it if it is found.
4301
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4302
 
    lt_cv_path_SED=$lt_ac_sed
4303
 
    break
4304
 
  fi
4305
 
  while true; do
4306
 
    cat conftest.in conftest.in >conftest.tmp
4307
 
    mv conftest.tmp conftest.in
4308
 
    cp conftest.in conftest.nl
4309
 
    echo >>conftest.nl
4310
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4311
 
    cmp -s conftest.out conftest.nl || break
4312
 
    # 10000 chars as input seems more than enough
4313
 
    test $lt_ac_count -gt 10 && break
4314
 
    lt_ac_count=`expr $lt_ac_count + 1`
4315
 
    if test $lt_ac_count -gt $lt_ac_max; then
4316
 
      lt_ac_max=$lt_ac_count
4317
 
      lt_cv_path_SED=$lt_ac_sed
4318
 
    fi
4319
 
  done
4320
 
done
4321
 
 
4322
 
fi
4323
 
 
4324
 
SED=$lt_cv_path_SED
4325
 
 
4326
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4327
 
echo "${ECHO_T}$SED" >&6; }
4328
 
 
4329
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4330
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4331
 
if test "${ac_cv_path_GREP+set}" = set; then
4332
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4333
 
else
4334
 
  # Extract the first word of "grep ggrep" to use in msg output
4335
 
if test -z "$GREP"; then
4336
 
set dummy grep ggrep; ac_prog_name=$2
4337
 
if test "${ac_cv_path_GREP+set}" = set; then
4338
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4339
 
else
4340
 
  ac_path_GREP_found=false
4341
 
# Loop through the user's path and test for each of PROGNAME-LIST
4342
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4344
 
do
4345
 
  IFS=$as_save_IFS
4346
 
  test -z "$as_dir" && as_dir=.
4347
 
  for ac_prog in grep ggrep; do
4348
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4349
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4350
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4351
 
    # Check for GNU ac_path_GREP and select it if it is found.
4352
 
  # Check for GNU $ac_path_GREP
4353
 
case `"$ac_path_GREP" --version 2>&1` in
4354
 
*GNU*)
4355
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4356
 
*)
4357
 
  ac_count=0
4358
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4359
 
  while :
4360
 
  do
4361
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4362
 
    mv "conftest.tmp" "conftest.in"
4363
 
    cp "conftest.in" "conftest.nl"
4364
 
    echo 'GREP' >> "conftest.nl"
4365
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4366
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4367
 
    ac_count=`expr $ac_count + 1`
4368
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4369
 
      # Best one so far, save it but keep looking for a better one
4370
 
      ac_cv_path_GREP="$ac_path_GREP"
4371
 
      ac_path_GREP_max=$ac_count
4372
 
    fi
4373
 
    # 10*(2^10) chars as input seems more than enough
4374
 
    test $ac_count -gt 10 && break
4375
 
  done
4376
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4377
 
esac
4378
 
 
4379
 
 
4380
 
    $ac_path_GREP_found && break 3
4381
 
  done
4382
 
done
4383
 
 
4384
 
done
4385
 
IFS=$as_save_IFS
4386
 
 
4387
 
 
4388
 
fi
4389
 
 
4390
 
GREP="$ac_cv_path_GREP"
4391
 
if test -z "$GREP"; then
4392
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4393
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4394
 
   { (exit 1); exit 1; }; }
4395
 
fi
4396
 
 
4397
 
else
4398
 
  ac_cv_path_GREP=$GREP
4399
 
fi
4400
 
 
4401
 
 
4402
 
fi
4403
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4404
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4405
 
 GREP="$ac_cv_path_GREP"
4406
 
 
4407
 
 
4408
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4409
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4410
 
if test "${ac_cv_path_EGREP+set}" = set; then
4411
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4412
 
else
4413
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4414
 
   then ac_cv_path_EGREP="$GREP -E"
4415
 
   else
4416
 
     # Extract the first word of "egrep" to use in msg output
4417
 
if test -z "$EGREP"; then
4418
 
set dummy egrep; ac_prog_name=$2
4419
 
if test "${ac_cv_path_EGREP+set}" = set; then
4420
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4421
 
else
4422
 
  ac_path_EGREP_found=false
4423
 
# Loop through the user's path and test for each of PROGNAME-LIST
4424
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4425
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4426
 
do
4427
 
  IFS=$as_save_IFS
4428
 
  test -z "$as_dir" && as_dir=.
4429
 
  for ac_prog in egrep; do
4430
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4431
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4432
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4433
 
    # Check for GNU ac_path_EGREP and select it if it is found.
4434
 
  # Check for GNU $ac_path_EGREP
4435
 
case `"$ac_path_EGREP" --version 2>&1` in
4436
 
*GNU*)
4437
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4438
 
*)
4439
 
  ac_count=0
4440
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4441
 
  while :
4442
 
  do
4443
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4444
 
    mv "conftest.tmp" "conftest.in"
4445
 
    cp "conftest.in" "conftest.nl"
4446
 
    echo 'EGREP' >> "conftest.nl"
4447
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4448
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4449
 
    ac_count=`expr $ac_count + 1`
4450
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4451
 
      # Best one so far, save it but keep looking for a better one
4452
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4453
 
      ac_path_EGREP_max=$ac_count
4454
 
    fi
4455
 
    # 10*(2^10) chars as input seems more than enough
4456
 
    test $ac_count -gt 10 && break
4457
 
  done
4458
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4459
 
esac
4460
 
 
4461
 
 
4462
 
    $ac_path_EGREP_found && break 3
4463
 
  done
4464
 
done
4465
 
 
4466
 
done
4467
 
IFS=$as_save_IFS
4468
 
 
4469
 
 
4470
 
fi
4471
 
 
4472
 
EGREP="$ac_cv_path_EGREP"
4473
 
if test -z "$EGREP"; then
4474
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4475
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4476
 
   { (exit 1); exit 1; }; }
4477
 
fi
4478
 
 
4479
 
else
4480
 
  ac_cv_path_EGREP=$EGREP
4481
 
fi
4482
 
 
4483
 
 
4484
 
   fi
4485
 
fi
4486
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4487
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4488
 
 EGREP="$ac_cv_path_EGREP"
4489
 
 
4490
 
 
4491
 
 
4492
 
# Check whether --with-gnu-ld was given.
4493
 
if test "${with_gnu_ld+set}" = set; then
4494
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4495
 
else
4496
 
  with_gnu_ld=no
4497
 
fi
4498
 
 
4499
 
ac_prog=ld
4500
 
if test "$GCC" = yes; then
4501
 
  # Check if gcc -print-prog-name=ld gives a path.
4502
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4503
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4504
 
  case $host in
4505
 
  *-*-mingw*)
4506
 
    # gcc leaves a trailing carriage return which upsets mingw
4507
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4508
 
  *)
4509
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4510
 
  esac
4511
 
  case $ac_prog in
4512
 
    # Accept absolute paths.
4513
 
    [\\/]* | ?:[\\/]*)
4514
 
      re_direlt='/[^/][^/]*/\.\./'
4515
 
      # Canonicalize the pathname of ld
4516
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4517
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4518
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4519
 
      done
4520
 
      test -z "$LD" && LD="$ac_prog"
4521
 
      ;;
4522
 
  "")
4523
 
    # If it fails, then pretend we aren't using GCC.
4524
 
    ac_prog=ld
4525
 
    ;;
4526
 
  *)
4527
 
    # If it is relative, then search for the first ld in PATH.
4528
 
    with_gnu_ld=unknown
4529
 
    ;;
4530
 
  esac
4531
 
elif test "$with_gnu_ld" = yes; then
4532
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4533
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4534
 
else
4535
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4536
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4537
 
fi
4538
 
if test "${lt_cv_path_LD+set}" = set; then
4539
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4540
 
else
4541
 
  if test -z "$LD"; then
4542
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4543
 
  for ac_dir in $PATH; do
4544
 
    IFS="$lt_save_ifs"
4545
 
    test -z "$ac_dir" && ac_dir=.
4546
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4547
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4548
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4549
 
      # but apparently some variants of GNU ld only accept -v.
4550
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4551
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4552
 
      *GNU* | *'with BFD'*)
4553
 
        test "$with_gnu_ld" != no && break
4554
 
        ;;
4555
 
      *)
4556
 
        test "$with_gnu_ld" != yes && break
4557
 
        ;;
4558
 
      esac
4559
 
    fi
4560
 
  done
4561
 
  IFS="$lt_save_ifs"
4562
 
else
4563
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4564
 
fi
4565
 
fi
4566
 
 
4567
 
LD="$lt_cv_path_LD"
4568
 
if test -n "$LD"; then
4569
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4570
 
echo "${ECHO_T}$LD" >&6; }
4571
 
else
4572
 
  { echo "$as_me:$LINENO: result: no" >&5
4573
 
echo "${ECHO_T}no" >&6; }
4574
 
fi
4575
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4576
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4577
 
   { (exit 1); exit 1; }; }
4578
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4579
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4580
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4581
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4582
 
else
4583
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4584
 
case `$LD -v 2>&1 </dev/null` in
4585
 
*GNU* | *'with BFD'*)
4586
 
  lt_cv_prog_gnu_ld=yes
4587
 
  ;;
4588
 
*)
4589
 
  lt_cv_prog_gnu_ld=no
4590
 
  ;;
4591
 
esac
4592
 
fi
4593
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4594
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4595
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4596
 
 
4597
 
 
4598
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4599
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4600
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4601
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4602
 
else
4603
 
  lt_cv_ld_reload_flag='-r'
4604
 
fi
4605
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4606
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4607
 
reload_flag=$lt_cv_ld_reload_flag
4608
 
case $reload_flag in
4609
 
"" | " "*) ;;
4610
 
*) reload_flag=" $reload_flag" ;;
4611
 
esac
4612
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4613
 
case $host_os in
4614
 
  darwin*)
4615
 
    if test "$GCC" = yes; then
4616
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4617
 
    else
4618
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4619
 
    fi
4620
 
    ;;
4621
 
esac
4622
 
 
4623
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4624
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4625
 
if test "${lt_cv_path_NM+set}" = set; then
4626
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4627
 
else
4628
 
  if test -n "$NM"; then
4629
 
  # Let the user override the test.
4630
 
  lt_cv_path_NM="$NM"
4631
 
else
4632
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4633
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4634
 
    lt_nm_to_check="$lt_nm_to_check nm"
4635
 
  fi
4636
 
  for lt_tmp_nm in $lt_nm_to_check; do
4637
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4638
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4639
 
      IFS="$lt_save_ifs"
4640
 
      test -z "$ac_dir" && ac_dir=.
4641
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4642
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4643
 
        # Check to see if the nm accepts a BSD-compat flag.
4644
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4645
 
        #   nm: unknown option "B" ignored
4646
 
        # Tru64's nm complains that /dev/null is an invalid object file
4647
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4648
 
        */dev/null* | *'Invalid file or object type'*)
4649
 
          lt_cv_path_NM="$tmp_nm -B"
4650
 
          break
4651
 
          ;;
4652
 
        *)
4653
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4654
 
          */dev/null*)
4655
 
            lt_cv_path_NM="$tmp_nm -p"
4656
 
            break
4657
 
            ;;
4658
 
          *)
4659
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4660
 
            continue # so that we can try to find one that supports BSD flags
4661
 
            ;;
4662
 
          esac
4663
 
          ;;
4664
 
        esac
4665
 
      fi
4666
 
    done
4667
 
    IFS="$lt_save_ifs"
4668
 
  done
4669
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4670
 
fi
4671
 
fi
4672
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4673
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4674
 
NM="$lt_cv_path_NM"
4675
 
 
4676
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4677
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4678
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
4679
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4680
 
else
4681
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4682
 
lt_cv_file_magic_test_file=
4683
 
lt_cv_deplibs_check_method='unknown'
4684
 
# Need to set the preceding variable on all platforms that support
4685
 
# interlibrary dependencies.
4686
 
# 'none' -- dependencies not supported.
4687
 
# `unknown' -- same as none, but documents that we really don't know.
4688
 
# 'pass_all' -- all dependencies passed with no checks.
4689
 
# 'test_compile' -- check by making test program.
4690
 
# 'file_magic [[regex]]' -- check by looking for files in library path
4691
 
# which responds to the $file_magic_cmd with a given extended regex.
4692
 
# If you have `file' or equivalent on your system and you're not sure
4693
 
# whether `pass_all' will *always* work, you probably want this one.
4694
 
 
4695
 
case $host_os in
4696
 
aix4* | aix5*)
4697
 
  lt_cv_deplibs_check_method=pass_all
4698
 
  ;;
4699
 
 
4700
 
beos*)
4701
 
  lt_cv_deplibs_check_method=pass_all
4702
 
  ;;
4703
 
 
4704
 
bsdi[45]*)
4705
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4706
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4707
 
  lt_cv_file_magic_test_file=/shlib/libc.so
4708
 
  ;;
4709
 
 
4710
 
cygwin*)
4711
 
  # func_win32_libid is a shell function defined in ltmain.sh
4712
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4713
 
  lt_cv_file_magic_cmd='func_win32_libid'
4714
 
  ;;
4715
 
 
4716
 
mingw* | pw32*)
4717
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
4718
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4719
 
  # unless we find 'file', for example because we are cross-compiling.
4720
 
  if ( file / ) >/dev/null 2>&1; then
4721
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4722
 
    lt_cv_file_magic_cmd='func_win32_libid'
4723
 
  else
4724
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4725
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4726
 
  fi
4727
 
  ;;
4728
 
 
4729
 
darwin* | rhapsody*)
4730
 
  lt_cv_deplibs_check_method=pass_all
4731
 
  ;;
4732
 
 
4733
 
freebsd* | dragonfly*)
4734
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4735
 
    case $host_cpu in
4736
 
    i*86 )
4737
 
      # Not sure whether the presence of OpenBSD here was a mistake.
4738
 
      # Let's accept both of them until this is cleared up.
4739
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4740
 
      lt_cv_file_magic_cmd=/usr/bin/file
4741
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4742
 
      ;;
4743
 
    esac
4744
 
  else
4745
 
    lt_cv_deplibs_check_method=pass_all
4746
 
  fi
4747
 
  ;;
4748
 
 
4749
 
gnu*)
4750
 
  lt_cv_deplibs_check_method=pass_all
4751
 
  ;;
4752
 
 
4753
 
hpux10.20* | hpux11*)
4754
 
  lt_cv_file_magic_cmd=/usr/bin/file
4755
 
  case $host_cpu in
4756
 
  ia64*)
4757
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4758
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4759
 
    ;;
4760
 
  hppa*64*)
4761
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4762
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4763
 
    ;;
4764
 
  *)
4765
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4766
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4767
 
    ;;
4768
 
  esac
4769
 
  ;;
4770
 
 
4771
 
interix[3-9]*)
4772
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4773
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4774
 
  ;;
4775
 
 
4776
 
irix5* | irix6* | nonstopux*)
4777
 
  case $LD in
4778
 
  *-32|*"-32 ") libmagic=32-bit;;
4779
 
  *-n32|*"-n32 ") libmagic=N32;;
4780
 
  *-64|*"-64 ") libmagic=64-bit;;
4781
 
  *) libmagic=never-match;;
4782
 
  esac
4783
 
  lt_cv_deplibs_check_method=pass_all
4784
 
  ;;
4785
 
 
4786
 
# This must be Linux ELF.
4787
 
linux* | k*bsd*-gnu)
4788
 
  lt_cv_deplibs_check_method=pass_all
4789
 
  ;;
4790
 
 
4791
 
netbsd* | netbsdelf*-gnu)
4792
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4793
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4794
 
  else
4795
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4796
 
  fi
4797
 
  ;;
4798
 
 
4799
 
newos6*)
4800
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4801
 
  lt_cv_file_magic_cmd=/usr/bin/file
4802
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4803
 
  ;;
4804
 
 
4805
 
nto-qnx*)
4806
 
  lt_cv_deplibs_check_method=unknown
4807
 
  ;;
4808
 
 
4809
 
openbsd*)
4810
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4811
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4812
 
  else
4813
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4814
 
  fi
4815
 
  ;;
4816
 
 
4817
 
osf3* | osf4* | osf5*)
4818
 
  lt_cv_deplibs_check_method=pass_all
4819
 
  ;;
4820
 
 
4821
 
rdos*)
4822
 
  lt_cv_deplibs_check_method=pass_all
4823
 
  ;;
4824
 
 
4825
 
solaris*)
4826
 
  lt_cv_deplibs_check_method=pass_all
4827
 
  ;;
4828
 
 
4829
 
sysv4 | sysv4.3*)
4830
 
  case $host_vendor in
4831
 
  motorola)
4832
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4833
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4834
 
    ;;
4835
 
  ncr)
4836
 
    lt_cv_deplibs_check_method=pass_all
4837
 
    ;;
4838
 
  sequent)
4839
 
    lt_cv_file_magic_cmd='/bin/file'
4840
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4841
 
    ;;
4842
 
  sni)
4843
 
    lt_cv_file_magic_cmd='/bin/file'
4844
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4845
 
    lt_cv_file_magic_test_file=/lib/libc.so
4846
 
    ;;
4847
 
  siemens)
4848
 
    lt_cv_deplibs_check_method=pass_all
4849
 
    ;;
4850
 
  pc)
4851
 
    lt_cv_deplibs_check_method=pass_all
4852
 
    ;;
4853
 
  esac
4854
 
  ;;
4855
 
 
4856
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4857
 
  lt_cv_deplibs_check_method=pass_all
4858
 
  ;;
4859
 
esac
4860
 
 
4861
 
fi
4862
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4863
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4864
 
file_magic_cmd=$lt_cv_file_magic_cmd
4865
 
deplibs_check_method=$lt_cv_deplibs_check_method
4866
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4867
 
 
4868
 
 
4869
 
 
4870
 
 
4871
 
# If no C compiler was specified, use CC.
4872
 
LTCC=${LTCC-"$CC"}
4873
 
 
4874
 
# If no C compiler flags were specified, use CFLAGS.
4875
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4876
 
 
4877
 
# Allow CC to be a program name with arguments.
4878
 
compiler=$CC
4879
 
 
4880
 
 
4881
 
# Check whether --enable-libtool-lock was given.
4882
 
if test "${enable_libtool_lock+set}" = set; then
4883
 
  enableval=$enable_libtool_lock; 
4884
 
fi
4885
 
 
4886
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4887
 
 
4888
 
# Some flags need to be propagated to the compiler or linker for good
4889
 
# libtool support.
4890
 
case $host in
4891
 
ia64-*-hpux*)
4892
 
  # Find out which ABI we are using.
4893
 
  echo 'int i;' > conftest.$ac_ext
4894
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4895
 
  (eval $ac_compile) 2>&5
4896
 
  ac_status=$?
4897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898
 
  (exit $ac_status); }; then
4899
 
    case `/usr/bin/file conftest.$ac_objext` in
4900
 
    *ELF-32*)
4901
 
      HPUX_IA64_MODE="32"
4902
 
      ;;
4903
 
    *ELF-64*)
4904
 
      HPUX_IA64_MODE="64"
4905
 
      ;;
4906
 
    esac
4907
 
  fi
4908
 
  rm -rf conftest*
4909
 
  ;;
4910
 
*-*-irix6*)
4911
 
  # Find out which ABI we are using.
4912
 
  echo '#line __oline__ "configure"' > conftest.$ac_ext
4913
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4914
 
  (eval $ac_compile) 2>&5
4915
 
  ac_status=$?
4916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917
 
  (exit $ac_status); }; then
4918
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4919
 
    case `/usr/bin/file conftest.$ac_objext` in
4920
 
    *32-bit*)
4921
 
      LD="${LD-ld} -melf32bsmip"
4922
 
      ;;
4923
 
    *N32*)
4924
 
      LD="${LD-ld} -melf32bmipn32"
4925
 
      ;;
4926
 
    *64-bit*)
4927
 
      LD="${LD-ld} -melf64bmip"
4928
 
      ;;
4929
 
    esac
4930
 
   else
4931
 
    case `/usr/bin/file conftest.$ac_objext` in
4932
 
    *32-bit*)
4933
 
      LD="${LD-ld} -32"
4934
 
      ;;
4935
 
    *N32*)
4936
 
      LD="${LD-ld} -n32"
4937
 
      ;;
4938
 
    *64-bit*)
4939
 
      LD="${LD-ld} -64"
4940
 
      ;;
4941
 
    esac
4942
 
   fi
4943
 
  fi
4944
 
  rm -rf conftest*
4945
 
  ;;
4946
 
 
4947
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4948
 
s390*-*linux*|sparc*-*linux*)
4949
 
  # Find out which ABI we are using.
4950
 
  echo 'int i;' > conftest.$ac_ext
4951
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4952
 
  (eval $ac_compile) 2>&5
4953
 
  ac_status=$?
4954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955
 
  (exit $ac_status); }; then
4956
 
    case `/usr/bin/file conftest.o` in
4957
 
    *32-bit*)
4958
 
      case $host in
4959
 
        x86_64-*kfreebsd*-gnu)
4960
 
          LD="${LD-ld} -m elf_i386_fbsd"
4961
 
          ;;
4962
 
        x86_64-*linux*)
4963
 
          LD="${LD-ld} -m elf_i386"
4964
 
          ;;
4965
 
        ppc64-*linux*|powerpc64-*linux*)
4966
 
          LD="${LD-ld} -m elf32ppclinux"
4967
 
          ;;
4968
 
        s390x-*linux*)
4969
 
          LD="${LD-ld} -m elf_s390"
4970
 
          ;;
4971
 
        sparc64-*linux*)
4972
 
          LD="${LD-ld} -m elf32_sparc"
4973
 
          ;;
4974
 
      esac
4975
 
      ;;
4976
 
    *64-bit*)
4977
 
      case $host in
4978
 
        x86_64-*kfreebsd*-gnu)
4979
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
4980
 
          ;;
4981
 
        x86_64-*linux*)
4982
 
          LD="${LD-ld} -m elf_x86_64"
4983
 
          ;;
4984
 
        ppc*-*linux*|powerpc*-*linux*)
4985
 
          LD="${LD-ld} -m elf64ppc"
4986
 
          ;;
4987
 
        s390*-*linux*)
4988
 
          LD="${LD-ld} -m elf64_s390"
4989
 
          ;;
4990
 
        sparc*-*linux*)
4991
 
          LD="${LD-ld} -m elf64_sparc"
4992
 
          ;;
4993
 
      esac
4994
 
      ;;
4995
 
    esac
4996
 
  fi
4997
 
  rm -rf conftest*
4998
 
  ;;
4999
 
 
5000
 
*-*-sco3.2v5*)
5001
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5002
 
  SAVE_CFLAGS="$CFLAGS"
5003
 
  CFLAGS="$CFLAGS -belf"
5004
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5005
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5006
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
5007
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5008
 
else
5009
 
  ac_ext=c
5010
 
ac_cpp='$CPP $CPPFLAGS'
5011
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5012
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5013
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5014
 
 
5015
 
     cat >conftest.$ac_ext <<_ACEOF
5016
 
/* confdefs.h.  */
5017
 
_ACEOF
5018
 
cat confdefs.h >>conftest.$ac_ext
5019
 
cat >>conftest.$ac_ext <<_ACEOF
5020
 
/* end confdefs.h.  */
5021
 
 
5022
 
int
5023
 
main ()
5024
 
{
5025
 
 
5026
 
  ;
5027
 
  return 0;
5028
 
}
5029
 
_ACEOF
5030
 
rm -f conftest.$ac_objext conftest$ac_exeext
5031
 
if { (ac_try="$ac_link"
5032
 
case "(($ac_try" in
5033
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5034
 
  *) ac_try_echo=$ac_try;;
5035
 
esac
5036
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5037
 
  (eval "$ac_link") 2>conftest.er1
5038
 
  ac_status=$?
5039
 
  grep -v '^ *+' conftest.er1 >conftest.err
5040
 
  rm -f conftest.er1
5041
 
  cat conftest.err >&5
5042
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043
 
  (exit $ac_status); } && {
5044
 
         test -z "$ac_c_werror_flag" ||
5045
 
         test ! -s conftest.err
5046
 
       } && test -s conftest$ac_exeext &&
5047
 
       $as_test_x conftest$ac_exeext; then
5048
 
  lt_cv_cc_needs_belf=yes
5049
 
else
5050
 
  echo "$as_me: failed program was:" >&5
5051
 
sed 's/^/| /' conftest.$ac_ext >&5
5052
 
 
5053
 
        lt_cv_cc_needs_belf=no
5054
 
fi
5055
 
 
5056
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5057
 
      conftest$ac_exeext conftest.$ac_ext
5058
 
     ac_ext=c
5059
 
ac_cpp='$CPP $CPPFLAGS'
5060
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5061
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5062
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5063
 
 
5064
 
fi
5065
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5066
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5067
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5068
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5069
 
    CFLAGS="$SAVE_CFLAGS"
5070
 
  fi
5071
 
  ;;
5072
 
sparc*-*solaris*)
5073
 
  # Find out which ABI we are using.
5074
 
  echo 'int i;' > conftest.$ac_ext
5075
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5076
 
  (eval $ac_compile) 2>&5
5077
 
  ac_status=$?
5078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079
 
  (exit $ac_status); }; then
5080
 
    case `/usr/bin/file conftest.o` in
5081
 
    *64-bit*)
5082
 
      case $lt_cv_prog_gnu_ld in
5083
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5084
 
      *)    LD="${LD-ld} -64" ;;
5085
 
      esac
5086
 
      ;;
5087
 
    esac
5088
 
  fi
5089
 
  rm -rf conftest*
5090
 
  ;;
5091
 
 
5092
 
 
5093
 
esac
5094
 
 
5095
 
need_locks="$enable_libtool_lock"
5096
 
 
5097
 
 
5098
 
 
5099
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5100
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5101
 
if test "${ac_cv_header_stdc+set}" = set; then
5102
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5103
 
else
5104
 
  cat >conftest.$ac_ext <<_ACEOF
5105
 
/* confdefs.h.  */
5106
 
_ACEOF
5107
 
cat confdefs.h >>conftest.$ac_ext
5108
 
cat >>conftest.$ac_ext <<_ACEOF
5109
 
/* end confdefs.h.  */
5110
 
#include <stdlib.h>
5111
 
#include <stdarg.h>
5112
 
#include <string.h>
5113
 
#include <float.h>
5114
 
 
5115
 
int
5116
 
main ()
5117
 
{
5118
 
 
5119
 
  ;
5120
 
  return 0;
5121
 
}
5122
 
_ACEOF
5123
 
rm -f conftest.$ac_objext
5124
 
if { (ac_try="$ac_compile"
5125
 
case "(($ac_try" in
5126
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5127
 
  *) ac_try_echo=$ac_try;;
5128
 
esac
5129
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5130
 
  (eval "$ac_compile") 2>conftest.er1
5131
 
  ac_status=$?
5132
 
  grep -v '^ *+' conftest.er1 >conftest.err
5133
 
  rm -f conftest.er1
5134
 
  cat conftest.err >&5
5135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136
 
  (exit $ac_status); } && {
5137
 
         test -z "$ac_c_werror_flag" ||
5138
 
         test ! -s conftest.err
5139
 
       } && test -s conftest.$ac_objext; then
5140
 
  ac_cv_header_stdc=yes
5141
 
else
5142
 
  echo "$as_me: failed program was:" >&5
5143
 
sed 's/^/| /' conftest.$ac_ext >&5
5144
 
 
5145
 
        ac_cv_header_stdc=no
5146
 
fi
5147
 
 
5148
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5149
 
 
5150
 
if test $ac_cv_header_stdc = yes; then
5151
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5152
 
  cat >conftest.$ac_ext <<_ACEOF
5153
 
/* confdefs.h.  */
5154
 
_ACEOF
5155
 
cat confdefs.h >>conftest.$ac_ext
5156
 
cat >>conftest.$ac_ext <<_ACEOF
5157
 
/* end confdefs.h.  */
5158
 
#include <string.h>
5159
 
 
5160
 
_ACEOF
5161
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5162
 
  $EGREP "memchr" >/dev/null 2>&1; then
5163
 
  :
5164
 
else
5165
 
  ac_cv_header_stdc=no
5166
 
fi
5167
 
rm -f conftest*
5168
 
 
5169
 
fi
5170
 
 
5171
 
if test $ac_cv_header_stdc = yes; then
5172
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5173
 
  cat >conftest.$ac_ext <<_ACEOF
5174
 
/* confdefs.h.  */
5175
 
_ACEOF
5176
 
cat confdefs.h >>conftest.$ac_ext
5177
 
cat >>conftest.$ac_ext <<_ACEOF
5178
 
/* end confdefs.h.  */
5179
 
#include <stdlib.h>
5180
 
 
5181
 
_ACEOF
5182
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5183
 
  $EGREP "free" >/dev/null 2>&1; then
5184
 
  :
5185
 
else
5186
 
  ac_cv_header_stdc=no
5187
 
fi
5188
 
rm -f conftest*
5189
 
 
5190
 
fi
5191
 
 
5192
 
if test $ac_cv_header_stdc = yes; then
5193
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5194
 
  if test "$cross_compiling" = yes; then
5195
 
  :
5196
 
else
5197
 
  cat >conftest.$ac_ext <<_ACEOF
5198
 
/* confdefs.h.  */
5199
 
_ACEOF
5200
 
cat confdefs.h >>conftest.$ac_ext
5201
 
cat >>conftest.$ac_ext <<_ACEOF
5202
 
/* end confdefs.h.  */
5203
 
#include <ctype.h>
5204
 
#include <stdlib.h>
5205
 
#if ((' ' & 0x0FF) == 0x020)
5206
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5207
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5208
 
#else
5209
 
# define ISLOWER(c) \
5210
 
                   (('a' <= (c) && (c) <= 'i') \
5211
 
                     || ('j' <= (c) && (c) <= 'r') \
5212
 
                     || ('s' <= (c) && (c) <= 'z'))
5213
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5214
 
#endif
5215
 
 
5216
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5217
 
int
5218
 
main ()
5219
 
{
5220
 
  int i;
5221
 
  for (i = 0; i < 256; i++)
5222
 
    if (XOR (islower (i), ISLOWER (i))
5223
 
        || toupper (i) != TOUPPER (i))
5224
 
      return 2;
5225
 
  return 0;
5226
 
}
5227
 
_ACEOF
5228
 
rm -f conftest$ac_exeext
5229
 
if { (ac_try="$ac_link"
5230
 
case "(($ac_try" in
5231
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5232
 
  *) ac_try_echo=$ac_try;;
5233
 
esac
5234
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5235
 
  (eval "$ac_link") 2>&5
5236
 
  ac_status=$?
5237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5239
 
  { (case "(($ac_try" in
5240
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5241
 
  *) ac_try_echo=$ac_try;;
5242
 
esac
5243
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5244
 
  (eval "$ac_try") 2>&5
5245
 
  ac_status=$?
5246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247
 
  (exit $ac_status); }; }; then
5248
 
  :
5249
 
else
5250
 
  echo "$as_me: program exited with status $ac_status" >&5
5251
 
echo "$as_me: failed program was:" >&5
5252
 
sed 's/^/| /' conftest.$ac_ext >&5
5253
 
 
5254
 
( exit $ac_status )
5255
 
ac_cv_header_stdc=no
5256
 
fi
5257
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5258
 
fi
5259
 
 
5260
 
 
5261
 
fi
5262
 
fi
5263
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5264
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5265
 
if test $ac_cv_header_stdc = yes; then
5266
 
  
5267
 
cat >>confdefs.h <<\_ACEOF
5268
 
@%:@define STDC_HEADERS 1
5269
 
_ACEOF
5270
 
 
5271
 
fi
5272
 
 
5273
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5274
 
 
5275
 
 
5276
 
 
5277
 
 
5278
 
 
5279
 
 
5280
 
 
5281
 
 
5282
 
 
5283
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5284
 
                  inttypes.h stdint.h unistd.h
5285
 
do
5286
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5287
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5288
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5289
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5290
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5291
 
else
5292
 
  cat >conftest.$ac_ext <<_ACEOF
5293
 
/* confdefs.h.  */
5294
 
_ACEOF
5295
 
cat confdefs.h >>conftest.$ac_ext
5296
 
cat >>conftest.$ac_ext <<_ACEOF
5297
 
/* end confdefs.h.  */
5298
 
$ac_includes_default
5299
 
 
5300
 
@%:@include <$ac_header>
5301
 
_ACEOF
5302
 
rm -f conftest.$ac_objext
5303
 
if { (ac_try="$ac_compile"
5304
 
case "(($ac_try" in
5305
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5306
 
  *) ac_try_echo=$ac_try;;
5307
 
esac
5308
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5309
 
  (eval "$ac_compile") 2>conftest.er1
5310
 
  ac_status=$?
5311
 
  grep -v '^ *+' conftest.er1 >conftest.err
5312
 
  rm -f conftest.er1
5313
 
  cat conftest.err >&5
5314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315
 
  (exit $ac_status); } && {
5316
 
         test -z "$ac_c_werror_flag" ||
5317
 
         test ! -s conftest.err
5318
 
       } && test -s conftest.$ac_objext; then
5319
 
  eval "$as_ac_Header=yes"
5320
 
else
5321
 
  echo "$as_me: failed program was:" >&5
5322
 
sed 's/^/| /' conftest.$ac_ext >&5
5323
 
 
5324
 
        eval "$as_ac_Header=no"
5325
 
fi
5326
 
 
5327
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5328
 
fi
5329
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5330
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5331
 
echo "${ECHO_T}$ac_res" >&6; }
5332
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5333
 
  cat >>confdefs.h <<_ACEOF
5334
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5335
 
_ACEOF
5336
 
 
5337
 
fi
5338
 
 
5339
 
done
5340
 
 
5341
 
 
5342
 
 
5343
 
for ac_header in dlfcn.h
5344
 
do
5345
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5346
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5347
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5348
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5349
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5350
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5351
 
fi
5352
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5353
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5354
 
echo "${ECHO_T}$ac_res" >&6; }
5355
 
else
5356
 
  # Is the header compilable?
5357
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5358
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5359
 
cat >conftest.$ac_ext <<_ACEOF
5360
 
/* confdefs.h.  */
5361
 
_ACEOF
5362
 
cat confdefs.h >>conftest.$ac_ext
5363
 
cat >>conftest.$ac_ext <<_ACEOF
5364
 
/* end confdefs.h.  */
5365
 
$ac_includes_default
5366
 
@%:@include <$ac_header>
5367
 
_ACEOF
5368
 
rm -f conftest.$ac_objext
5369
 
if { (ac_try="$ac_compile"
5370
 
case "(($ac_try" in
5371
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5372
 
  *) ac_try_echo=$ac_try;;
5373
 
esac
5374
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5375
 
  (eval "$ac_compile") 2>conftest.er1
5376
 
  ac_status=$?
5377
 
  grep -v '^ *+' conftest.er1 >conftest.err
5378
 
  rm -f conftest.er1
5379
 
  cat conftest.err >&5
5380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381
 
  (exit $ac_status); } && {
5382
 
         test -z "$ac_c_werror_flag" ||
5383
 
         test ! -s conftest.err
5384
 
       } && test -s conftest.$ac_objext; then
5385
 
  ac_header_compiler=yes
5386
 
else
5387
 
  echo "$as_me: failed program was:" >&5
5388
 
sed 's/^/| /' conftest.$ac_ext >&5
5389
 
 
5390
 
        ac_header_compiler=no
5391
 
fi
5392
 
 
5393
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5394
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5395
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5396
 
 
5397
 
# Is the header present?
5398
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5399
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5400
 
cat >conftest.$ac_ext <<_ACEOF
5401
 
/* confdefs.h.  */
5402
 
_ACEOF
5403
 
cat confdefs.h >>conftest.$ac_ext
5404
 
cat >>conftest.$ac_ext <<_ACEOF
5405
 
/* end confdefs.h.  */
5406
 
@%:@include <$ac_header>
5407
 
_ACEOF
5408
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5409
 
case "(($ac_try" in
5410
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5411
 
  *) ac_try_echo=$ac_try;;
5412
 
esac
5413
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5414
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5415
 
  ac_status=$?
5416
 
  grep -v '^ *+' conftest.er1 >conftest.err
5417
 
  rm -f conftest.er1
5418
 
  cat conftest.err >&5
5419
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420
 
  (exit $ac_status); } >/dev/null && {
5421
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5422
 
         test ! -s conftest.err
5423
 
       }; then
5424
 
  ac_header_preproc=yes
5425
 
else
5426
 
  echo "$as_me: failed program was:" >&5
5427
 
sed 's/^/| /' conftest.$ac_ext >&5
5428
 
 
5429
 
  ac_header_preproc=no
5430
 
fi
5431
 
 
5432
 
rm -f conftest.err conftest.$ac_ext
5433
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5434
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5435
 
 
5436
 
# So?  What about this header?
5437
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5438
 
  yes:no: )
5439
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5440
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5441
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5442
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5443
 
    ac_header_preproc=yes
5444
 
    ;;
5445
 
  no:yes:* )
5446
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5447
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5448
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5449
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5450
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5451
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5452
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5453
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5454
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5455
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5456
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5457
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5458
 
    
5459
 
    ;;
5460
 
esac
5461
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5462
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5463
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5465
 
else
5466
 
  eval "$as_ac_Header=\$ac_header_preproc"
5467
 
fi
5468
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5469
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5470
 
echo "${ECHO_T}$ac_res" >&6; }
5471
 
 
5472
 
fi
5473
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5474
 
  cat >>confdefs.h <<_ACEOF
5475
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5476
 
_ACEOF
5477
 
 
5478
 
fi
5479
 
 
5480
 
done
5481
 
 
5482
 
ac_ext=cpp
5483
 
ac_cpp='$CXXCPP $CPPFLAGS'
5484
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5485
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5486
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5487
 
if test -z "$CXX"; then
5488
 
  if test -n "$CCC"; then
5489
 
    CXX=$CCC
5490
 
  else
5491
 
    if test -n "$ac_tool_prefix"; then
5492
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5493
 
  do
5494
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5495
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5496
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5497
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5498
 
if test "${ac_cv_prog_CXX+set}" = set; then
5499
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5500
 
else
5501
 
  if test -n "$CXX"; then
5502
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5503
 
else
5504
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505
 
for as_dir in $PATH
5506
 
do
5507
 
  IFS=$as_save_IFS
5508
 
  test -z "$as_dir" && as_dir=.
5509
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5510
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5511
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5512
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5513
 
    break 2
5514
 
  fi
5515
 
done
5516
 
done
5517
 
IFS=$as_save_IFS
5518
 
 
5519
 
fi
5520
 
fi
5521
 
CXX=$ac_cv_prog_CXX
5522
 
if test -n "$CXX"; then
5523
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5524
 
echo "${ECHO_T}$CXX" >&6; }
5525
 
else
5526
 
  { echo "$as_me:$LINENO: result: no" >&5
5527
 
echo "${ECHO_T}no" >&6; }
5528
 
fi
5529
 
 
5530
 
 
5531
 
    test -n "$CXX" && break
5532
 
  done
5533
 
fi
5534
 
if test -z "$CXX"; then
5535
 
  ac_ct_CXX=$CXX
5536
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5537
 
do
5538
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5539
 
set dummy $ac_prog; ac_word=$2
5540
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5541
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5542
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5543
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5544
 
else
5545
 
  if test -n "$ac_ct_CXX"; then
5546
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5547
 
else
5548
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549
 
for as_dir in $PATH
5550
 
do
5551
 
  IFS=$as_save_IFS
5552
 
  test -z "$as_dir" && as_dir=.
5553
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5554
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5555
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5556
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5557
 
    break 2
5558
 
  fi
5559
 
done
5560
 
done
5561
 
IFS=$as_save_IFS
5562
 
 
5563
 
fi
5564
 
fi
5565
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5566
 
if test -n "$ac_ct_CXX"; then
5567
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5568
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5569
 
else
5570
 
  { echo "$as_me:$LINENO: result: no" >&5
5571
 
echo "${ECHO_T}no" >&6; }
5572
 
fi
5573
 
 
5574
 
 
5575
 
  test -n "$ac_ct_CXX" && break
5576
 
done
5577
 
 
5578
 
  if test "x$ac_ct_CXX" = x; then
5579
 
    CXX="g++"
5580
 
  else
5581
 
    case $cross_compiling:$ac_tool_warned in
5582
 
yes:)
5583
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5584
 
whose name does not start with the host triplet.  If you think this
5585
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5586
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5587
 
whose name does not start with the host triplet.  If you think this
5588
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5589
 
ac_tool_warned=yes ;;
5590
 
esac
5591
 
    CXX=$ac_ct_CXX
5592
 
  fi
5593
 
fi
5594
 
 
5595
 
  fi
5596
 
fi
5597
 
# Provide some information about the compiler.
5598
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5599
 
ac_compiler=`set X $ac_compile; echo $2`
5600
 
{ (ac_try="$ac_compiler --version >&5"
5601
 
case "(($ac_try" in
5602
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5603
 
  *) ac_try_echo=$ac_try;;
5604
 
esac
5605
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5606
 
  (eval "$ac_compiler --version >&5") 2>&5
5607
 
  ac_status=$?
5608
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609
 
  (exit $ac_status); }
5610
 
{ (ac_try="$ac_compiler -v >&5"
5611
 
case "(($ac_try" in
5612
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5613
 
  *) ac_try_echo=$ac_try;;
5614
 
esac
5615
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5616
 
  (eval "$ac_compiler -v >&5") 2>&5
5617
 
  ac_status=$?
5618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619
 
  (exit $ac_status); }
5620
 
{ (ac_try="$ac_compiler -V >&5"
5621
 
case "(($ac_try" in
5622
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5623
 
  *) ac_try_echo=$ac_try;;
5624
 
esac
5625
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5626
 
  (eval "$ac_compiler -V >&5") 2>&5
5627
 
  ac_status=$?
5628
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629
 
  (exit $ac_status); }
5630
 
 
5631
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5632
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5633
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5634
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5635
 
else
5636
 
  cat >conftest.$ac_ext <<_ACEOF
5637
 
/* confdefs.h.  */
5638
 
_ACEOF
5639
 
cat confdefs.h >>conftest.$ac_ext
5640
 
cat >>conftest.$ac_ext <<_ACEOF
5641
 
/* end confdefs.h.  */
5642
 
 
5643
 
int
5644
 
main ()
5645
 
{
5646
 
#ifndef __GNUC__
5647
 
       choke me
5648
 
#endif
5649
 
 
5650
 
  ;
5651
 
  return 0;
5652
 
}
5653
 
_ACEOF
5654
 
rm -f conftest.$ac_objext
5655
 
if { (ac_try="$ac_compile"
5656
 
case "(($ac_try" in
5657
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5658
 
  *) ac_try_echo=$ac_try;;
5659
 
esac
5660
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5661
 
  (eval "$ac_compile") 2>conftest.er1
5662
 
  ac_status=$?
5663
 
  grep -v '^ *+' conftest.er1 >conftest.err
5664
 
  rm -f conftest.er1
5665
 
  cat conftest.err >&5
5666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667
 
  (exit $ac_status); } && {
5668
 
         test -z "$ac_cxx_werror_flag" ||
5669
 
         test ! -s conftest.err
5670
 
       } && test -s conftest.$ac_objext; then
5671
 
  ac_compiler_gnu=yes
5672
 
else
5673
 
  echo "$as_me: failed program was:" >&5
5674
 
sed 's/^/| /' conftest.$ac_ext >&5
5675
 
 
5676
 
        ac_compiler_gnu=no
5677
 
fi
5678
 
 
5679
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5680
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5681
 
 
5682
 
fi
5683
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5684
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5685
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5686
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5687
 
ac_save_CXXFLAGS=$CXXFLAGS
5688
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5689
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5690
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5691
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5692
 
else
5693
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5694
 
   ac_cxx_werror_flag=yes
5695
 
   ac_cv_prog_cxx_g=no
5696
 
   CXXFLAGS="-g"
5697
 
   cat >conftest.$ac_ext <<_ACEOF
5698
 
/* confdefs.h.  */
5699
 
_ACEOF
5700
 
cat confdefs.h >>conftest.$ac_ext
5701
 
cat >>conftest.$ac_ext <<_ACEOF
5702
 
/* end confdefs.h.  */
5703
 
 
5704
 
int
5705
 
main ()
5706
 
{
5707
 
 
5708
 
  ;
5709
 
  return 0;
5710
 
}
5711
 
_ACEOF
5712
 
rm -f conftest.$ac_objext
5713
 
if { (ac_try="$ac_compile"
5714
 
case "(($ac_try" in
5715
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5716
 
  *) ac_try_echo=$ac_try;;
5717
 
esac
5718
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5719
 
  (eval "$ac_compile") 2>conftest.er1
5720
 
  ac_status=$?
5721
 
  grep -v '^ *+' conftest.er1 >conftest.err
5722
 
  rm -f conftest.er1
5723
 
  cat conftest.err >&5
5724
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725
 
  (exit $ac_status); } && {
5726
 
         test -z "$ac_cxx_werror_flag" ||
5727
 
         test ! -s conftest.err
5728
 
       } && test -s conftest.$ac_objext; then
5729
 
  ac_cv_prog_cxx_g=yes
5730
 
else
5731
 
  echo "$as_me: failed program was:" >&5
5732
 
sed 's/^/| /' conftest.$ac_ext >&5
5733
 
 
5734
 
        CXXFLAGS=""
5735
 
      cat >conftest.$ac_ext <<_ACEOF
5736
 
/* confdefs.h.  */
5737
 
_ACEOF
5738
 
cat confdefs.h >>conftest.$ac_ext
5739
 
cat >>conftest.$ac_ext <<_ACEOF
5740
 
/* end confdefs.h.  */
5741
 
 
5742
 
int
5743
 
main ()
5744
 
{
5745
 
 
5746
 
  ;
5747
 
  return 0;
5748
 
}
5749
 
_ACEOF
5750
 
rm -f conftest.$ac_objext
5751
 
if { (ac_try="$ac_compile"
5752
 
case "(($ac_try" in
5753
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5754
 
  *) ac_try_echo=$ac_try;;
5755
 
esac
5756
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5757
 
  (eval "$ac_compile") 2>conftest.er1
5758
 
  ac_status=$?
5759
 
  grep -v '^ *+' conftest.er1 >conftest.err
5760
 
  rm -f conftest.er1
5761
 
  cat conftest.err >&5
5762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763
 
  (exit $ac_status); } && {
5764
 
         test -z "$ac_cxx_werror_flag" ||
5765
 
         test ! -s conftest.err
5766
 
       } && test -s conftest.$ac_objext; then
5767
 
  :
5768
 
else
5769
 
  echo "$as_me: failed program was:" >&5
5770
 
sed 's/^/| /' conftest.$ac_ext >&5
5771
 
 
5772
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5773
 
         CXXFLAGS="-g"
5774
 
         cat >conftest.$ac_ext <<_ACEOF
5775
 
/* confdefs.h.  */
5776
 
_ACEOF
5777
 
cat confdefs.h >>conftest.$ac_ext
5778
 
cat >>conftest.$ac_ext <<_ACEOF
5779
 
/* end confdefs.h.  */
5780
 
 
5781
 
int
5782
 
main ()
5783
 
{
5784
 
 
5785
 
  ;
5786
 
  return 0;
5787
 
}
5788
 
_ACEOF
5789
 
rm -f conftest.$ac_objext
5790
 
if { (ac_try="$ac_compile"
5791
 
case "(($ac_try" in
5792
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5793
 
  *) ac_try_echo=$ac_try;;
5794
 
esac
5795
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5796
 
  (eval "$ac_compile") 2>conftest.er1
5797
 
  ac_status=$?
5798
 
  grep -v '^ *+' conftest.er1 >conftest.err
5799
 
  rm -f conftest.er1
5800
 
  cat conftest.err >&5
5801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802
 
  (exit $ac_status); } && {
5803
 
         test -z "$ac_cxx_werror_flag" ||
5804
 
         test ! -s conftest.err
5805
 
       } && test -s conftest.$ac_objext; then
5806
 
  ac_cv_prog_cxx_g=yes
5807
 
else
5808
 
  echo "$as_me: failed program was:" >&5
5809
 
sed 's/^/| /' conftest.$ac_ext >&5
5810
 
 
5811
 
        
5812
 
fi
5813
 
 
5814
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5815
 
fi
5816
 
 
5817
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5818
 
fi
5819
 
 
5820
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5821
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5822
 
fi
5823
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5824
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5825
 
if test "$ac_test_CXXFLAGS" = set; then
5826
 
  CXXFLAGS=$ac_save_CXXFLAGS
5827
 
elif test $ac_cv_prog_cxx_g = yes; then
5828
 
  if test "$GXX" = yes; then
5829
 
    CXXFLAGS="-g -O2"
5830
 
  else
5831
 
    CXXFLAGS="-g"
5832
 
  fi
5833
 
else
5834
 
  if test "$GXX" = yes; then
5835
 
    CXXFLAGS="-O2"
5836
 
  else
5837
 
    CXXFLAGS=
5838
 
  fi
5839
 
fi
5840
 
ac_ext=cpp
5841
 
ac_cpp='$CXXCPP $CPPFLAGS'
5842
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5843
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5844
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5845
 
 
5846
 
depcc="$CXX"  am_compiler_list=
5847
 
 
5848
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5849
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5850
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5851
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5852
 
else
5853
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5854
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5855
 
  # making bogus files that we don't know about and never remove.  For
5856
 
  # instance it was reported that on HP-UX the gcc test will end up
5857
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5858
 
  # in D'.
5859
 
  mkdir conftest.dir
5860
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5861
 
  # using a relative directory.
5862
 
  cp "$am_depcomp" conftest.dir
5863
 
  cd conftest.dir
5864
 
  # We will build objects and dependencies in a subdirectory because
5865
 
  # it helps to detect inapplicable dependency modes.  For instance
5866
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5867
 
  # side effect of compilation, but ICC will put the dependencies in
5868
 
  # the current directory while Tru64 will put them in the object
5869
 
  # directory.
5870
 
  mkdir sub
5871
 
 
5872
 
  am_cv_CXX_dependencies_compiler_type=none
5873
 
  if test "$am_compiler_list" = ""; then
5874
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5875
 
  fi
5876
 
  for depmode in $am_compiler_list; do
5877
 
    # Setup a source with many dependencies, because some compilers
5878
 
    # like to wrap large dependency lists on column 80 (with \), and
5879
 
    # we should not choose a depcomp mode which is confused by this.
5880
 
    #
5881
 
    # We need to recreate these files for each test, as the compiler may
5882
 
    # overwrite some of them when testing with obscure command lines.
5883
 
    # This happens at least with the AIX C compiler.
5884
 
    : > sub/conftest.c
5885
 
    for i in 1 2 3 4 5 6; do
5886
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5887
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5888
 
      # Solaris 8's {/usr,}/bin/sh.
5889
 
      touch sub/conftst$i.h
5890
 
    done
5891
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5892
 
 
5893
 
    case $depmode in
5894
 
    nosideeffect)
5895
 
      # after this tag, mechanisms are not by side-effect, so they'll
5896
 
      # only be used when explicitly requested
5897
 
      if test "x$enable_dependency_tracking" = xyes; then
5898
 
        continue
5899
 
      else
5900
 
        break
5901
 
      fi
5902
 
      ;;
5903
 
    none) break ;;
5904
 
    esac
5905
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5906
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5907
 
    # handle `-M -o', and we need to detect this.
5908
 
    if depmode=$depmode \
5909
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5910
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5911
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5912
 
         >/dev/null 2>conftest.err &&
5913
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5914
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5915
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5916
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5917
 
      # icc doesn't choke on unknown options, it will just issue warnings
5918
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5919
 
      # that says an option was ignored or not supported.
5920
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5921
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5922
 
      # The diagnosis changed in icc 8.0:
5923
 
      #   icc: Command line remark: option '-MP' not supported
5924
 
      if (grep 'ignoring option' conftest.err ||
5925
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5926
 
        am_cv_CXX_dependencies_compiler_type=$depmode
5927
 
        break
5928
 
      fi
5929
 
    fi
5930
 
  done
5931
 
 
5932
 
  cd ..
5933
 
  rm -rf conftest.dir
5934
 
else
5935
 
  am_cv_CXX_dependencies_compiler_type=none
5936
 
fi
5937
 
 
5938
 
fi
5939
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5940
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5941
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5942
 
 
5943
 
 if 
5944
 
  test "x$enable_dependency_tracking" != xno \
5945
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5946
 
  am__fastdepCXX_TRUE=
5947
 
  am__fastdepCXX_FALSE='#'
5948
 
else
5949
 
  am__fastdepCXX_TRUE='#'
5950
 
  am__fastdepCXX_FALSE=
5951
 
fi
5952
 
 
5953
 
 
5954
 
 
5955
 
 
5956
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5957
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5958
 
    (test "X$CXX" != "Xg++"))) ; then
5959
 
  ac_ext=cpp
5960
 
ac_cpp='$CXXCPP $CPPFLAGS'
5961
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5962
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5963
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5964
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5965
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5966
 
if test -z "$CXXCPP"; then
5967
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5968
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5969
 
else
5970
 
      # Double quotes because CXXCPP needs to be expanded
5971
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
5972
 
    do
5973
 
      ac_preproc_ok=false
5974
 
for ac_cxx_preproc_warn_flag in '' yes
5975
 
do
5976
 
  # Use a header file that comes with gcc, so configuring glibc
5977
 
  # with a fresh cross-compiler works.
5978
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5979
 
  # <limits.h> exists even on freestanding compilers.
5980
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5981
 
  # not just through cpp. "Syntax error" is here to catch this case.
5982
 
  cat >conftest.$ac_ext <<_ACEOF
5983
 
/* confdefs.h.  */
5984
 
_ACEOF
5985
 
cat confdefs.h >>conftest.$ac_ext
5986
 
cat >>conftest.$ac_ext <<_ACEOF
5987
 
/* end confdefs.h.  */
5988
 
@%:@ifdef __STDC__
5989
 
@%:@ include <limits.h>
5990
 
@%:@else
5991
 
@%:@ include <assert.h>
5992
 
@%:@endif
5993
 
                     Syntax error
5994
 
_ACEOF
5995
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5996
 
case "(($ac_try" in
5997
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5998
 
  *) ac_try_echo=$ac_try;;
5999
 
esac
6000
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6001
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6002
 
  ac_status=$?
6003
 
  grep -v '^ *+' conftest.er1 >conftest.err
6004
 
  rm -f conftest.er1
6005
 
  cat conftest.err >&5
6006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007
 
  (exit $ac_status); } >/dev/null && {
6008
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6009
 
         test ! -s conftest.err
6010
 
       }; then
6011
 
  :
6012
 
else
6013
 
  echo "$as_me: failed program was:" >&5
6014
 
sed 's/^/| /' conftest.$ac_ext >&5
6015
 
 
6016
 
  # Broken: fails on valid input.
6017
 
continue
6018
 
fi
6019
 
 
6020
 
rm -f conftest.err conftest.$ac_ext
6021
 
 
6022
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6023
 
  # can be detected and how.
6024
 
  cat >conftest.$ac_ext <<_ACEOF
6025
 
/* confdefs.h.  */
6026
 
_ACEOF
6027
 
cat confdefs.h >>conftest.$ac_ext
6028
 
cat >>conftest.$ac_ext <<_ACEOF
6029
 
/* end confdefs.h.  */
6030
 
@%:@include <ac_nonexistent.h>
6031
 
_ACEOF
6032
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6033
 
case "(($ac_try" in
6034
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6035
 
  *) ac_try_echo=$ac_try;;
6036
 
esac
6037
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6038
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6039
 
  ac_status=$?
6040
 
  grep -v '^ *+' conftest.er1 >conftest.err
6041
 
  rm -f conftest.er1
6042
 
  cat conftest.err >&5
6043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044
 
  (exit $ac_status); } >/dev/null && {
6045
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6046
 
         test ! -s conftest.err
6047
 
       }; then
6048
 
  # Broken: success on invalid input.
6049
 
continue
6050
 
else
6051
 
  echo "$as_me: failed program was:" >&5
6052
 
sed 's/^/| /' conftest.$ac_ext >&5
6053
 
 
6054
 
  # Passes both tests.
6055
 
ac_preproc_ok=:
6056
 
break
6057
 
fi
6058
 
 
6059
 
rm -f conftest.err conftest.$ac_ext
6060
 
 
6061
 
done
6062
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6063
 
rm -f conftest.err conftest.$ac_ext
6064
 
if $ac_preproc_ok; then
6065
 
  break
6066
 
fi
6067
 
 
6068
 
    done
6069
 
    ac_cv_prog_CXXCPP=$CXXCPP
6070
 
  
6071
 
fi
6072
 
  CXXCPP=$ac_cv_prog_CXXCPP
6073
 
else
6074
 
  ac_cv_prog_CXXCPP=$CXXCPP
6075
 
fi
6076
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6077
 
echo "${ECHO_T}$CXXCPP" >&6; }
6078
 
ac_preproc_ok=false
6079
 
for ac_cxx_preproc_warn_flag in '' yes
6080
 
do
6081
 
  # Use a header file that comes with gcc, so configuring glibc
6082
 
  # with a fresh cross-compiler works.
6083
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6084
 
  # <limits.h> exists even on freestanding compilers.
6085
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6086
 
  # not just through cpp. "Syntax error" is here to catch this case.
6087
 
  cat >conftest.$ac_ext <<_ACEOF
6088
 
/* confdefs.h.  */
6089
 
_ACEOF
6090
 
cat confdefs.h >>conftest.$ac_ext
6091
 
cat >>conftest.$ac_ext <<_ACEOF
6092
 
/* end confdefs.h.  */
6093
 
@%:@ifdef __STDC__
6094
 
@%:@ include <limits.h>
6095
 
@%:@else
6096
 
@%:@ include <assert.h>
6097
 
@%:@endif
6098
 
                     Syntax error
6099
 
_ACEOF
6100
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6101
 
case "(($ac_try" in
6102
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6103
 
  *) ac_try_echo=$ac_try;;
6104
 
esac
6105
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6106
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6107
 
  ac_status=$?
6108
 
  grep -v '^ *+' conftest.er1 >conftest.err
6109
 
  rm -f conftest.er1
6110
 
  cat conftest.err >&5
6111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112
 
  (exit $ac_status); } >/dev/null && {
6113
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6114
 
         test ! -s conftest.err
6115
 
       }; then
6116
 
  :
6117
 
else
6118
 
  echo "$as_me: failed program was:" >&5
6119
 
sed 's/^/| /' conftest.$ac_ext >&5
6120
 
 
6121
 
  # Broken: fails on valid input.
6122
 
continue
6123
 
fi
6124
 
 
6125
 
rm -f conftest.err conftest.$ac_ext
6126
 
 
6127
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6128
 
  # can be detected and how.
6129
 
  cat >conftest.$ac_ext <<_ACEOF
6130
 
/* confdefs.h.  */
6131
 
_ACEOF
6132
 
cat confdefs.h >>conftest.$ac_ext
6133
 
cat >>conftest.$ac_ext <<_ACEOF
6134
 
/* end confdefs.h.  */
6135
 
@%:@include <ac_nonexistent.h>
6136
 
_ACEOF
6137
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6138
 
case "(($ac_try" in
6139
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6140
 
  *) ac_try_echo=$ac_try;;
6141
 
esac
6142
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6143
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6144
 
  ac_status=$?
6145
 
  grep -v '^ *+' conftest.er1 >conftest.err
6146
 
  rm -f conftest.er1
6147
 
  cat conftest.err >&5
6148
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149
 
  (exit $ac_status); } >/dev/null && {
6150
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6151
 
         test ! -s conftest.err
6152
 
       }; then
6153
 
  # Broken: success on invalid input.
6154
 
continue
6155
 
else
6156
 
  echo "$as_me: failed program was:" >&5
6157
 
sed 's/^/| /' conftest.$ac_ext >&5
6158
 
 
6159
 
  # Passes both tests.
6160
 
ac_preproc_ok=:
6161
 
break
6162
 
fi
6163
 
 
6164
 
rm -f conftest.err conftest.$ac_ext
6165
 
 
6166
 
done
6167
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6168
 
rm -f conftest.err conftest.$ac_ext
6169
 
if $ac_preproc_ok; then
6170
 
  :
6171
 
else
6172
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6173
 
See \`config.log' for more details." >&5
6174
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6175
 
See \`config.log' for more details." >&2;}
6176
 
   { (exit 1); exit 1; }; }
6177
 
fi
6178
 
 
6179
 
ac_ext=cpp
6180
 
ac_cpp='$CXXCPP $CPPFLAGS'
6181
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6182
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6183
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6184
 
 
6185
 
fi
6186
 
 
6187
 
 
6188
 
ac_ext=f
6189
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6190
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6191
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6192
 
if test -n "$ac_tool_prefix"; then
6193
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6194
 
  do
6195
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6196
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6197
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6198
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6199
 
if test "${ac_cv_prog_F77+set}" = set; then
6200
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6201
 
else
6202
 
  if test -n "$F77"; then
6203
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6204
 
else
6205
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206
 
for as_dir in $PATH
6207
 
do
6208
 
  IFS=$as_save_IFS
6209
 
  test -z "$as_dir" && as_dir=.
6210
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6211
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6212
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6213
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6214
 
    break 2
6215
 
  fi
6216
 
done
6217
 
done
6218
 
IFS=$as_save_IFS
6219
 
 
6220
 
fi
6221
 
fi
6222
 
F77=$ac_cv_prog_F77
6223
 
if test -n "$F77"; then
6224
 
  { echo "$as_me:$LINENO: result: $F77" >&5
6225
 
echo "${ECHO_T}$F77" >&6; }
6226
 
else
6227
 
  { echo "$as_me:$LINENO: result: no" >&5
6228
 
echo "${ECHO_T}no" >&6; }
6229
 
fi
6230
 
 
6231
 
 
6232
 
    test -n "$F77" && break
6233
 
  done
6234
 
fi
6235
 
if test -z "$F77"; then
6236
 
  ac_ct_F77=$F77
6237
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6238
 
do
6239
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6240
 
set dummy $ac_prog; ac_word=$2
6241
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6242
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6243
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6244
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6245
 
else
6246
 
  if test -n "$ac_ct_F77"; then
6247
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6248
 
else
6249
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250
 
for as_dir in $PATH
6251
 
do
6252
 
  IFS=$as_save_IFS
6253
 
  test -z "$as_dir" && as_dir=.
6254
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6255
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6256
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6257
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6258
 
    break 2
6259
 
  fi
6260
 
done
6261
 
done
6262
 
IFS=$as_save_IFS
6263
 
 
6264
 
fi
6265
 
fi
6266
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6267
 
if test -n "$ac_ct_F77"; then
6268
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6269
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
6270
 
else
6271
 
  { echo "$as_me:$LINENO: result: no" >&5
6272
 
echo "${ECHO_T}no" >&6; }
6273
 
fi
6274
 
 
6275
 
 
6276
 
  test -n "$ac_ct_F77" && break
6277
 
done
6278
 
 
6279
 
  if test "x$ac_ct_F77" = x; then
6280
 
    F77=""
6281
 
  else
6282
 
    case $cross_compiling:$ac_tool_warned in
6283
 
yes:)
6284
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6285
 
whose name does not start with the host triplet.  If you think this
6286
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6287
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6288
 
whose name does not start with the host triplet.  If you think this
6289
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6290
 
ac_tool_warned=yes ;;
6291
 
esac
6292
 
    F77=$ac_ct_F77
6293
 
  fi
6294
 
fi
6295
 
 
6296
 
 
6297
 
# Provide some information about the compiler.
6298
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6299
 
ac_compiler=`set X $ac_compile; echo $2`
6300
 
{ (ac_try="$ac_compiler --version >&5"
6301
 
case "(($ac_try" in
6302
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6303
 
  *) ac_try_echo=$ac_try;;
6304
 
esac
6305
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306
 
  (eval "$ac_compiler --version >&5") 2>&5
6307
 
  ac_status=$?
6308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309
 
  (exit $ac_status); }
6310
 
{ (ac_try="$ac_compiler -v >&5"
6311
 
case "(($ac_try" in
6312
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6313
 
  *) ac_try_echo=$ac_try;;
6314
 
esac
6315
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6316
 
  (eval "$ac_compiler -v >&5") 2>&5
6317
 
  ac_status=$?
6318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319
 
  (exit $ac_status); }
6320
 
{ (ac_try="$ac_compiler -V >&5"
6321
 
case "(($ac_try" in
6322
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6323
 
  *) ac_try_echo=$ac_try;;
6324
 
esac
6325
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6326
 
  (eval "$ac_compiler -V >&5") 2>&5
6327
 
  ac_status=$?
6328
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329
 
  (exit $ac_status); }
6330
 
rm -f a.out
6331
 
 
6332
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6333
 
# input file.  (Note that this only needs to work for GNU compilers.)
6334
 
ac_save_ext=$ac_ext
6335
 
ac_ext=F
6336
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6337
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6338
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6339
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6340
 
else
6341
 
  cat >conftest.$ac_ext <<_ACEOF
6342
 
      program main
6343
 
#ifndef __GNUC__
6344
 
       choke me
6345
 
#endif
6346
 
 
6347
 
      end
6348
 
_ACEOF
6349
 
rm -f conftest.$ac_objext
6350
 
if { (ac_try="$ac_compile"
6351
 
case "(($ac_try" in
6352
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353
 
  *) ac_try_echo=$ac_try;;
6354
 
esac
6355
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356
 
  (eval "$ac_compile") 2>conftest.er1
6357
 
  ac_status=$?
6358
 
  grep -v '^ *+' conftest.er1 >conftest.err
6359
 
  rm -f conftest.er1
6360
 
  cat conftest.err >&5
6361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362
 
  (exit $ac_status); } && {
6363
 
         test -z "$ac_f77_werror_flag" ||
6364
 
         test ! -s conftest.err
6365
 
       } && test -s conftest.$ac_objext; then
6366
 
  ac_compiler_gnu=yes
6367
 
else
6368
 
  echo "$as_me: failed program was:" >&5
6369
 
sed 's/^/| /' conftest.$ac_ext >&5
6370
 
 
6371
 
        ac_compiler_gnu=no
6372
 
fi
6373
 
 
6374
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6375
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6376
 
 
6377
 
fi
6378
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6379
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6380
 
ac_ext=$ac_save_ext
6381
 
ac_test_FFLAGS=${FFLAGS+set}
6382
 
ac_save_FFLAGS=$FFLAGS
6383
 
FFLAGS=
6384
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6385
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6386
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6387
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6388
 
else
6389
 
  FFLAGS=-g
6390
 
cat >conftest.$ac_ext <<_ACEOF
6391
 
      program main
6392
 
 
6393
 
      end
6394
 
_ACEOF
6395
 
rm -f conftest.$ac_objext
6396
 
if { (ac_try="$ac_compile"
6397
 
case "(($ac_try" in
6398
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6399
 
  *) ac_try_echo=$ac_try;;
6400
 
esac
6401
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6402
 
  (eval "$ac_compile") 2>conftest.er1
6403
 
  ac_status=$?
6404
 
  grep -v '^ *+' conftest.er1 >conftest.err
6405
 
  rm -f conftest.er1
6406
 
  cat conftest.err >&5
6407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408
 
  (exit $ac_status); } && {
6409
 
         test -z "$ac_f77_werror_flag" ||
6410
 
         test ! -s conftest.err
6411
 
       } && test -s conftest.$ac_objext; then
6412
 
  ac_cv_prog_f77_g=yes
6413
 
else
6414
 
  echo "$as_me: failed program was:" >&5
6415
 
sed 's/^/| /' conftest.$ac_ext >&5
6416
 
 
6417
 
        ac_cv_prog_f77_g=no
6418
 
fi
6419
 
 
6420
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6421
 
 
6422
 
fi
6423
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6424
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6425
 
if test "$ac_test_FFLAGS" = set; then
6426
 
  FFLAGS=$ac_save_FFLAGS
6427
 
elif test $ac_cv_prog_f77_g = yes; then
6428
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6429
 
    FFLAGS="-g -O2"
6430
 
  else
6431
 
    FFLAGS="-g"
6432
 
  fi
6433
 
else
6434
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6435
 
    FFLAGS="-O2"
6436
 
  else
6437
 
    FFLAGS=
6438
 
  fi
6439
 
fi
6440
 
 
6441
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6442
 
ac_ext=c
6443
 
ac_cpp='$CPP $CPPFLAGS'
6444
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6445
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6446
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6447
 
 
6448
 
 
6449
 
 
6450
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6451
 
 
6452
 
# find the maximum length of command line arguments
6453
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6454
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6455
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6456
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6457
 
else
6458
 
    i=0
6459
 
  teststring="ABCD"
6460
 
 
6461
 
  case $build_os in
6462
 
  msdosdjgpp*)
6463
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6464
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6465
 
    # during glob expansion).  Even if it were fixed, the result of this
6466
 
    # check would be larger than it should be.
6467
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6468
 
    ;;
6469
 
 
6470
 
  gnu*)
6471
 
    # Under GNU Hurd, this test is not required because there is
6472
 
    # no limit to the length of command line arguments.
6473
 
    # Libtool will interpret -1 as no limit whatsoever
6474
 
    lt_cv_sys_max_cmd_len=-1;
6475
 
    ;;
6476
 
 
6477
 
  cygwin* | mingw*)
6478
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6479
 
    # about 5 minutes as the teststring grows exponentially.
6480
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6481
 
    # you end up with a "frozen" computer, even though with patience
6482
 
    # the test eventually succeeds (with a max line length of 256k).
6483
 
    # Instead, let's just punt: use the minimum linelength reported by
6484
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6485
 
    lt_cv_sys_max_cmd_len=8192;
6486
 
    ;;
6487
 
 
6488
 
  amigaos*)
6489
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6490
 
    # So we just punt and use a minimum line length of 8192.
6491
 
    lt_cv_sys_max_cmd_len=8192;
6492
 
    ;;
6493
 
 
6494
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6495
 
    # This has been around since 386BSD, at least.  Likely further.
6496
 
    if test -x /sbin/sysctl; then
6497
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6498
 
    elif test -x /usr/sbin/sysctl; then
6499
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6500
 
    else
6501
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6502
 
    fi
6503
 
    # And add a safety zone
6504
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6505
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6506
 
    ;;
6507
 
 
6508
 
  interix*)
6509
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6510
 
    lt_cv_sys_max_cmd_len=196608
6511
 
    ;;
6512
 
 
6513
 
  osf*)
6514
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6515
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6516
 
    # nice to cause kernel panics so lets avoid the loop below.
6517
 
    # First set a reasonable default.
6518
 
    lt_cv_sys_max_cmd_len=16384
6519
 
    #
6520
 
    if test -x /sbin/sysconfig; then
6521
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6522
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6523
 
      esac
6524
 
    fi
6525
 
    ;;
6526
 
  sco3.2v5*)
6527
 
    lt_cv_sys_max_cmd_len=102400
6528
 
    ;;
6529
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6530
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6531
 
    if test -n "$kargmax"; then
6532
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6533
 
    else
6534
 
      lt_cv_sys_max_cmd_len=32768
6535
 
    fi
6536
 
    ;;
6537
 
  *)
6538
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6539
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6540
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6541
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6542
 
    else
6543
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6544
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6545
 
               = "XX$teststring") >/dev/null 2>&1 &&
6546
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
6547
 
              lt_cv_sys_max_cmd_len=$new_result &&
6548
 
              test $i != 17 # 1/2 MB should be enough
6549
 
      do
6550
 
        i=`expr $i + 1`
6551
 
        teststring=$teststring$teststring
6552
 
      done
6553
 
      teststring=
6554
 
      # Add a significant safety factor because C++ compilers can tack on massive
6555
 
      # amounts of additional arguments before passing them to the linker.
6556
 
      # It appears as though 1/2 is a usable value.
6557
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6558
 
    fi
6559
 
    ;;
6560
 
  esac
6561
 
 
6562
 
fi
6563
 
 
6564
 
if test -n $lt_cv_sys_max_cmd_len ; then
6565
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6566
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6567
 
else
6568
 
  { echo "$as_me:$LINENO: result: none" >&5
6569
 
echo "${ECHO_T}none" >&6; }
6570
 
fi
6571
 
 
6572
 
 
6573
 
 
6574
 
 
6575
 
 
6576
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6577
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6578
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6579
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6580
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6581
 
else
6582
 
  
6583
 
# These are sane defaults that work on at least a few old systems.
6584
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6585
 
 
6586
 
# Character class describing NM global symbol codes.
6587
 
symcode='[BCDEGRST]'
6588
 
 
6589
 
# Regexp to match symbols that can be accessed directly from C.
6590
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6591
 
 
6592
 
# Transform an extracted symbol line into a proper C declaration
6593
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6594
 
 
6595
 
# Transform an extracted symbol line into symbol name and symbol address
6596
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6597
 
 
6598
 
# Define system-specific variables.
6599
 
case $host_os in
6600
 
aix*)
6601
 
  symcode='[BCDT]'
6602
 
  ;;
6603
 
cygwin* | mingw* | pw32*)
6604
 
  symcode='[ABCDGISTW]'
6605
 
  ;;
6606
 
hpux*) # Its linker distinguishes data from code symbols
6607
 
  if test "$host_cpu" = ia64; then
6608
 
    symcode='[ABCDEGRST]'
6609
 
  fi
6610
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6611
 
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6612
 
  ;;
6613
 
linux* | k*bsd*-gnu)
6614
 
  if test "$host_cpu" = ia64; then
6615
 
    symcode='[ABCDGIRSTW]'
6616
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6617
 
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6618
 
  fi
6619
 
  ;;
6620
 
irix* | nonstopux*)
6621
 
  symcode='[BCDEGRST]'
6622
 
  ;;
6623
 
osf*)
6624
 
  symcode='[BCDEGQRST]'
6625
 
  ;;
6626
 
solaris*)
6627
 
  symcode='[BDRT]'
6628
 
  ;;
6629
 
sco3.2v5*)
6630
 
  symcode='[DT]'
6631
 
  ;;
6632
 
sysv4.2uw2*)
6633
 
  symcode='[DT]'
6634
 
  ;;
6635
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6636
 
  symcode='[ABDT]'
6637
 
  ;;
6638
 
sysv4)
6639
 
  symcode='[DFNSTU]'
6640
 
  ;;
6641
 
esac
6642
 
 
6643
 
# Handle CRLF in mingw tool chain
6644
 
opt_cr=
6645
 
case $build_os in
6646
 
mingw*)
6647
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6648
 
  ;;
6649
 
esac
6650
 
 
6651
 
# If we're using GNU nm, then use its standard symbol codes.
6652
 
case `$NM -V 2>&1` in
6653
 
*GNU* | *'with BFD'*)
6654
 
  symcode='[ABCDGIRSTW]' ;;
6655
 
esac
6656
 
 
6657
 
# Try without a prefix undercore, then with it.
6658
 
for ac_symprfx in "" "_"; do
6659
 
 
6660
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6661
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6662
 
 
6663
 
  # Write the raw and C identifiers.
6664
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6665
 
 
6666
 
  # Check to see that the pipe works correctly.
6667
 
  pipe_works=no
6668
 
 
6669
 
  rm -f conftest*
6670
 
  cat > conftest.$ac_ext <<EOF
6671
 
#ifdef __cplusplus
6672
 
extern "C" {
6673
 
#endif
6674
 
char nm_test_var;
6675
 
void nm_test_func(){}
6676
 
#ifdef __cplusplus
6677
 
}
6678
 
#endif
6679
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6680
 
EOF
6681
 
 
6682
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683
 
  (eval $ac_compile) 2>&5
6684
 
  ac_status=$?
6685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686
 
  (exit $ac_status); }; then
6687
 
    # Now try to grab the symbols.
6688
 
    nlist=conftest.nm
6689
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6690
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6691
 
  ac_status=$?
6692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693
 
  (exit $ac_status); } && test -s "$nlist"; then
6694
 
      # Try sorting and uniquifying the output.
6695
 
      if sort "$nlist" | uniq > "$nlist"T; then
6696
 
        mv -f "$nlist"T "$nlist"
6697
 
      else
6698
 
        rm -f "$nlist"T
6699
 
      fi
6700
 
 
6701
 
      # Make sure that we snagged all the symbols we need.
6702
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6703
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6704
 
          cat <<EOF > conftest.$ac_ext
6705
 
#ifdef __cplusplus
6706
 
extern "C" {
6707
 
#endif
6708
 
 
6709
 
EOF
6710
 
          # Now generate the symbol file.
6711
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6712
 
 
6713
 
          cat <<EOF >> conftest.$ac_ext
6714
 
#if defined (__STDC__) && __STDC__
6715
 
# define lt_ptr_t void *
6716
 
#else
6717
 
# define lt_ptr_t char *
6718
 
# define const
6719
 
#endif
6720
 
 
6721
 
/* The mapping between symbol names and symbols. */
6722
 
const struct {
6723
 
  const char *name;
6724
 
  lt_ptr_t address;
6725
 
}
6726
 
lt_preloaded_symbols[] =
6727
 
{
6728
 
EOF
6729
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6730
 
          cat <<\EOF >> conftest.$ac_ext
6731
 
  {0, (lt_ptr_t) 0}
6732
 
};
6733
 
 
6734
 
#ifdef __cplusplus
6735
 
}
6736
 
#endif
6737
 
EOF
6738
 
          # Now try linking the two files.
6739
 
          mv conftest.$ac_objext conftstm.$ac_objext
6740
 
          lt_save_LIBS="$LIBS"
6741
 
          lt_save_CFLAGS="$CFLAGS"
6742
 
          LIBS="conftstm.$ac_objext"
6743
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6744
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6745
 
  (eval $ac_link) 2>&5
6746
 
  ac_status=$?
6747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6749
 
            pipe_works=yes
6750
 
          fi
6751
 
          LIBS="$lt_save_LIBS"
6752
 
          CFLAGS="$lt_save_CFLAGS"
6753
 
        else
6754
 
          echo "cannot find nm_test_func in $nlist" >&5
6755
 
        fi
6756
 
      else
6757
 
        echo "cannot find nm_test_var in $nlist" >&5
6758
 
      fi
6759
 
    else
6760
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6761
 
    fi
6762
 
  else
6763
 
    echo "$progname: failed program was:" >&5
6764
 
    cat conftest.$ac_ext >&5
6765
 
  fi
6766
 
  rm -f conftest* conftst*
6767
 
 
6768
 
  # Do not use the global_symbol_pipe unless it works.
6769
 
  if test "$pipe_works" = yes; then
6770
 
    break
6771
 
  else
6772
 
    lt_cv_sys_global_symbol_pipe=
6773
 
  fi
6774
 
done
6775
 
 
6776
 
fi
6777
 
 
6778
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6779
 
  lt_cv_sys_global_symbol_to_cdecl=
6780
 
fi
6781
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6782
 
  { echo "$as_me:$LINENO: result: failed" >&5
6783
 
echo "${ECHO_T}failed" >&6; }
6784
 
else
6785
 
  { echo "$as_me:$LINENO: result: ok" >&5
6786
 
echo "${ECHO_T}ok" >&6; }
6787
 
fi
6788
 
 
6789
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6790
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6791
 
if test "${lt_cv_objdir+set}" = set; then
6792
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6793
 
else
6794
 
  rm -f .libs 2>/dev/null
6795
 
mkdir .libs 2>/dev/null
6796
 
if test -d .libs; then
6797
 
  lt_cv_objdir=.libs
6798
 
else
6799
 
  # MS-DOS does not allow filenames that begin with a dot.
6800
 
  lt_cv_objdir=_libs
6801
 
fi
6802
 
rmdir .libs 2>/dev/null
6803
 
fi
6804
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6805
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6806
 
objdir=$lt_cv_objdir
6807
 
 
6808
 
 
6809
 
 
6810
 
 
6811
 
 
6812
 
case $host_os in
6813
 
aix3*)
6814
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6815
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6816
 
  # vanish in a puff of smoke.
6817
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6818
 
    COLLECT_NAMES=
6819
 
    export COLLECT_NAMES
6820
 
  fi
6821
 
  ;;
6822
 
esac
6823
 
 
6824
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6825
 
# metacharacters that are still active within double-quoted strings.
6826
 
Xsed='sed -e 1s/^X//'
6827
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6828
 
 
6829
 
# Same as above, but do not quote variable references.
6830
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6831
 
 
6832
 
# Sed substitution to delay expansion of an escaped shell variable in a
6833
 
# double_quote_subst'ed string.
6834
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6835
 
 
6836
 
# Sed substitution to avoid accidental globbing in evaled expressions
6837
 
no_glob_subst='s/\*/\\\*/g'
6838
 
 
6839
 
# Constants:
6840
 
rm="rm -f"
6841
 
 
6842
 
# Global variables:
6843
 
default_ofile=libtool
6844
 
can_build_shared=yes
6845
 
 
6846
 
# All known linkers require a `.a' archive for static linking (except MSVC,
6847
 
# which needs '.lib').
6848
 
libext=a
6849
 
ltmain="$ac_aux_dir/ltmain.sh"
6850
 
ofile="$default_ofile"
6851
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
6852
 
 
6853
 
if test -n "$ac_tool_prefix"; then
6854
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6855
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6856
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6857
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6858
 
if test "${ac_cv_prog_AR+set}" = set; then
6859
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6860
 
else
6861
 
  if test -n "$AR"; then
6862
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6863
 
else
6864
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865
 
for as_dir in $PATH
6866
 
do
6867
 
  IFS=$as_save_IFS
6868
 
  test -z "$as_dir" && as_dir=.
6869
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6870
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6871
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6872
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6873
 
    break 2
6874
 
  fi
6875
 
done
6876
 
done
6877
 
IFS=$as_save_IFS
6878
 
 
6879
 
fi
6880
 
fi
6881
 
AR=$ac_cv_prog_AR
6882
 
if test -n "$AR"; then
6883
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6884
 
echo "${ECHO_T}$AR" >&6; }
6885
 
else
6886
 
  { echo "$as_me:$LINENO: result: no" >&5
6887
 
echo "${ECHO_T}no" >&6; }
6888
 
fi
6889
 
 
6890
 
 
6891
 
fi
6892
 
if test -z "$ac_cv_prog_AR"; then
6893
 
  ac_ct_AR=$AR
6894
 
  # Extract the first word of "ar", so it can be a program name with args.
6895
 
set dummy ar; ac_word=$2
6896
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6897
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6898
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6899
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6900
 
else
6901
 
  if test -n "$ac_ct_AR"; then
6902
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6903
 
else
6904
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905
 
for as_dir in $PATH
6906
 
do
6907
 
  IFS=$as_save_IFS
6908
 
  test -z "$as_dir" && as_dir=.
6909
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6910
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6911
 
    ac_cv_prog_ac_ct_AR="ar"
6912
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6913
 
    break 2
6914
 
  fi
6915
 
done
6916
 
done
6917
 
IFS=$as_save_IFS
6918
 
 
6919
 
fi
6920
 
fi
6921
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6922
 
if test -n "$ac_ct_AR"; then
6923
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6924
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6925
 
else
6926
 
  { echo "$as_me:$LINENO: result: no" >&5
6927
 
echo "${ECHO_T}no" >&6; }
6928
 
fi
6929
 
 
6930
 
  if test "x$ac_ct_AR" = x; then
6931
 
    AR="false"
6932
 
  else
6933
 
    case $cross_compiling:$ac_tool_warned in
6934
 
yes:)
6935
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6936
 
whose name does not start with the host triplet.  If you think this
6937
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6938
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6939
 
whose name does not start with the host triplet.  If you think this
6940
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6941
 
ac_tool_warned=yes ;;
6942
 
esac
6943
 
    AR=$ac_ct_AR
6944
 
  fi
6945
 
else
6946
 
  AR="$ac_cv_prog_AR"
6947
 
fi
6948
 
 
6949
 
if test -n "$ac_tool_prefix"; then
6950
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6951
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6952
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6953
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6954
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6955
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6956
 
else
6957
 
  if test -n "$RANLIB"; then
6958
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6959
 
else
6960
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6961
 
for as_dir in $PATH
6962
 
do
6963
 
  IFS=$as_save_IFS
6964
 
  test -z "$as_dir" && as_dir=.
6965
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6966
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6967
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6968
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6969
 
    break 2
6970
 
  fi
6971
 
done
6972
 
done
6973
 
IFS=$as_save_IFS
6974
 
 
6975
 
fi
6976
 
fi
6977
 
RANLIB=$ac_cv_prog_RANLIB
6978
 
if test -n "$RANLIB"; then
6979
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6980
 
echo "${ECHO_T}$RANLIB" >&6; }
6981
 
else
6982
 
  { echo "$as_me:$LINENO: result: no" >&5
6983
 
echo "${ECHO_T}no" >&6; }
6984
 
fi
6985
 
 
6986
 
 
6987
 
fi
6988
 
if test -z "$ac_cv_prog_RANLIB"; then
6989
 
  ac_ct_RANLIB=$RANLIB
6990
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6991
 
set dummy ranlib; ac_word=$2
6992
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6993
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6994
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6995
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6996
 
else
6997
 
  if test -n "$ac_ct_RANLIB"; then
6998
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6999
 
else
7000
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7001
 
for as_dir in $PATH
7002
 
do
7003
 
  IFS=$as_save_IFS
7004
 
  test -z "$as_dir" && as_dir=.
7005
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7006
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7007
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7008
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7009
 
    break 2
7010
 
  fi
7011
 
done
7012
 
done
7013
 
IFS=$as_save_IFS
7014
 
 
7015
 
fi
7016
 
fi
7017
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7018
 
if test -n "$ac_ct_RANLIB"; then
7019
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7020
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7021
 
else
7022
 
  { echo "$as_me:$LINENO: result: no" >&5
7023
 
echo "${ECHO_T}no" >&6; }
7024
 
fi
7025
 
 
7026
 
  if test "x$ac_ct_RANLIB" = x; then
7027
 
    RANLIB=":"
7028
 
  else
7029
 
    case $cross_compiling:$ac_tool_warned in
7030
 
yes:)
7031
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7032
 
whose name does not start with the host triplet.  If you think this
7033
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7034
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7035
 
whose name does not start with the host triplet.  If you think this
7036
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7037
 
ac_tool_warned=yes ;;
7038
 
esac
7039
 
    RANLIB=$ac_ct_RANLIB
7040
 
  fi
7041
 
else
7042
 
  RANLIB="$ac_cv_prog_RANLIB"
7043
 
fi
7044
 
 
7045
 
if test -n "$ac_tool_prefix"; then
7046
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7047
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7048
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7049
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7050
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7051
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7052
 
else
7053
 
  if test -n "$STRIP"; then
7054
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7055
 
else
7056
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7057
 
for as_dir in $PATH
7058
 
do
7059
 
  IFS=$as_save_IFS
7060
 
  test -z "$as_dir" && as_dir=.
7061
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7062
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7063
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7064
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7065
 
    break 2
7066
 
  fi
7067
 
done
7068
 
done
7069
 
IFS=$as_save_IFS
7070
 
 
7071
 
fi
7072
 
fi
7073
 
STRIP=$ac_cv_prog_STRIP
7074
 
if test -n "$STRIP"; then
7075
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
7076
 
echo "${ECHO_T}$STRIP" >&6; }
7077
 
else
7078
 
  { echo "$as_me:$LINENO: result: no" >&5
7079
 
echo "${ECHO_T}no" >&6; }
7080
 
fi
7081
 
 
7082
 
 
7083
 
fi
7084
 
if test -z "$ac_cv_prog_STRIP"; then
7085
 
  ac_ct_STRIP=$STRIP
7086
 
  # Extract the first word of "strip", so it can be a program name with args.
7087
 
set dummy strip; ac_word=$2
7088
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7089
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7090
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7091
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7092
 
else
7093
 
  if test -n "$ac_ct_STRIP"; then
7094
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7095
 
else
7096
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097
 
for as_dir in $PATH
7098
 
do
7099
 
  IFS=$as_save_IFS
7100
 
  test -z "$as_dir" && as_dir=.
7101
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7102
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7103
 
    ac_cv_prog_ac_ct_STRIP="strip"
7104
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7105
 
    break 2
7106
 
  fi
7107
 
done
7108
 
done
7109
 
IFS=$as_save_IFS
7110
 
 
7111
 
fi
7112
 
fi
7113
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7114
 
if test -n "$ac_ct_STRIP"; then
7115
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7116
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7117
 
else
7118
 
  { echo "$as_me:$LINENO: result: no" >&5
7119
 
echo "${ECHO_T}no" >&6; }
7120
 
fi
7121
 
 
7122
 
  if test "x$ac_ct_STRIP" = x; then
7123
 
    STRIP=":"
7124
 
  else
7125
 
    case $cross_compiling:$ac_tool_warned in
7126
 
yes:)
7127
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7128
 
whose name does not start with the host triplet.  If you think this
7129
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7130
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7131
 
whose name does not start with the host triplet.  If you think this
7132
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7133
 
ac_tool_warned=yes ;;
7134
 
esac
7135
 
    STRIP=$ac_ct_STRIP
7136
 
  fi
7137
 
else
7138
 
  STRIP="$ac_cv_prog_STRIP"
7139
 
fi
7140
 
 
7141
 
 
7142
 
old_CC="$CC"
7143
 
old_CFLAGS="$CFLAGS"
7144
 
 
7145
 
# Set sane defaults for various variables
7146
 
test -z "$AR" && AR=ar
7147
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7148
 
test -z "$AS" && AS=as
7149
 
test -z "$CC" && CC=cc
7150
 
test -z "$LTCC" && LTCC=$CC
7151
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7152
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7153
 
test -z "$LD" && LD=ld
7154
 
test -z "$LN_S" && LN_S="ln -s"
7155
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7156
 
test -z "$NM" && NM=nm
7157
 
test -z "$SED" && SED=sed
7158
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7159
 
test -z "$RANLIB" && RANLIB=:
7160
 
test -z "$STRIP" && STRIP=:
7161
 
test -z "$ac_objext" && ac_objext=o
7162
 
 
7163
 
# Determine commands to create old-style static archives.
7164
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7165
 
old_postinstall_cmds='chmod 644 $oldlib'
7166
 
old_postuninstall_cmds=
7167
 
 
7168
 
if test -n "$RANLIB"; then
7169
 
  case $host_os in
7170
 
  openbsd*)
7171
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7172
 
    ;;
7173
 
  *)
7174
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7175
 
    ;;
7176
 
  esac
7177
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7178
 
fi
7179
 
 
7180
 
for cc_temp in $compiler""; do
7181
 
  case $cc_temp in
7182
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7183
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7184
 
    \-*) ;;
7185
 
    *) break;;
7186
 
  esac
7187
 
done
7188
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7189
 
 
7190
 
 
7191
 
# Only perform the check for file, if the check method requires it
7192
 
case $deplibs_check_method in
7193
 
file_magic*)
7194
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7195
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7196
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7197
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7198
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7199
 
else
7200
 
  case $MAGIC_CMD in
7201
 
[\\/*] |  ?:[\\/]*)
7202
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7203
 
  ;;
7204
 
*)
7205
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7206
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7207
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7208
 
  for ac_dir in $ac_dummy; do
7209
 
    IFS="$lt_save_ifs"
7210
 
    test -z "$ac_dir" && ac_dir=.
7211
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7212
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7213
 
      if test -n "$file_magic_test_file"; then
7214
 
        case $deplibs_check_method in
7215
 
        "file_magic "*)
7216
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7217
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7218
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7219
 
            $EGREP "$file_magic_regex" > /dev/null; then
7220
 
            :
7221
 
          else
7222
 
            cat <<EOF 1>&2
7223
 
 
7224
 
*** Warning: the command libtool uses to detect shared libraries,
7225
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7226
 
*** The result is that libtool may fail to recognize shared libraries
7227
 
*** as such.  This will affect the creation of libtool libraries that
7228
 
*** depend on shared libraries, but programs linked with such libtool
7229
 
*** libraries will work regardless of this problem.  Nevertheless, you
7230
 
*** may want to report the problem to your system manager and/or to
7231
 
*** bug-libtool@gnu.org
7232
 
 
7233
 
EOF
7234
 
          fi ;;
7235
 
        esac
7236
 
      fi
7237
 
      break
7238
 
    fi
7239
 
  done
7240
 
  IFS="$lt_save_ifs"
7241
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7242
 
  ;;
7243
 
esac
7244
 
fi
7245
 
 
7246
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7247
 
if test -n "$MAGIC_CMD"; then
7248
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7249
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7250
 
else
7251
 
  { echo "$as_me:$LINENO: result: no" >&5
7252
 
echo "${ECHO_T}no" >&6; }
7253
 
fi
7254
 
 
7255
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7256
 
  if test -n "$ac_tool_prefix"; then
7257
 
    { echo "$as_me:$LINENO: checking for file" >&5
7258
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7259
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7260
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7261
 
else
7262
 
  case $MAGIC_CMD in
7263
 
[\\/*] |  ?:[\\/]*)
7264
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7265
 
  ;;
7266
 
*)
7267
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7268
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7269
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7270
 
  for ac_dir in $ac_dummy; do
7271
 
    IFS="$lt_save_ifs"
7272
 
    test -z "$ac_dir" && ac_dir=.
7273
 
    if test -f $ac_dir/file; then
7274
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7275
 
      if test -n "$file_magic_test_file"; then
7276
 
        case $deplibs_check_method in
7277
 
        "file_magic "*)
7278
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7279
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7280
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7281
 
            $EGREP "$file_magic_regex" > /dev/null; then
7282
 
            :
7283
 
          else
7284
 
            cat <<EOF 1>&2
7285
 
 
7286
 
*** Warning: the command libtool uses to detect shared libraries,
7287
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7288
 
*** The result is that libtool may fail to recognize shared libraries
7289
 
*** as such.  This will affect the creation of libtool libraries that
7290
 
*** depend on shared libraries, but programs linked with such libtool
7291
 
*** libraries will work regardless of this problem.  Nevertheless, you
7292
 
*** may want to report the problem to your system manager and/or to
7293
 
*** bug-libtool@gnu.org
7294
 
 
7295
 
EOF
7296
 
          fi ;;
7297
 
        esac
7298
 
      fi
7299
 
      break
7300
 
    fi
7301
 
  done
7302
 
  IFS="$lt_save_ifs"
7303
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7304
 
  ;;
7305
 
esac
7306
 
fi
7307
 
 
7308
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7309
 
if test -n "$MAGIC_CMD"; then
7310
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7311
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7312
 
else
7313
 
  { echo "$as_me:$LINENO: result: no" >&5
7314
 
echo "${ECHO_T}no" >&6; }
7315
 
fi
7316
 
 
7317
 
  else
7318
 
    MAGIC_CMD=:
7319
 
  fi
7320
 
fi
7321
 
 
7322
 
  fi
7323
 
  ;;
7324
 
esac
7325
 
 
7326
 
enable_dlopen=no
7327
 
enable_win32_dll=no
7328
 
 
7329
 
# Check whether --enable-libtool-lock was given.
7330
 
if test "${enable_libtool_lock+set}" = set; then
7331
 
  enableval=$enable_libtool_lock; 
7332
 
fi
7333
 
 
7334
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7335
 
 
7336
 
 
7337
 
# Check whether --with-pic was given.
7338
 
if test "${with_pic+set}" = set; then
7339
 
  withval=$with_pic; pic_mode="$withval"
7340
 
else
7341
 
  pic_mode=default
7342
 
fi
7343
 
 
7344
 
test -z "$pic_mode" && pic_mode=default
7345
 
 
7346
 
# Use C for the default configuration in the libtool script
7347
 
tagname=
7348
 
lt_save_CC="$CC"
7349
 
ac_ext=c
7350
 
ac_cpp='$CPP $CPPFLAGS'
7351
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7352
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7353
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7354
 
 
7355
 
 
7356
 
# Source file extension for C test sources.
7357
 
ac_ext=c
7358
 
 
7359
 
# Object file extension for compiled C test sources.
7360
 
objext=o
7361
 
objext=$objext
7362
 
 
7363
 
# Code to be used in simple compile tests
7364
 
lt_simple_compile_test_code="int some_variable = 0;"
7365
 
 
7366
 
# Code to be used in simple link tests
7367
 
lt_simple_link_test_code='int main(){return(0);}'
7368
 
 
7369
 
 
7370
 
# If no C compiler was specified, use CC.
7371
 
LTCC=${LTCC-"$CC"}
7372
 
 
7373
 
# If no C compiler flags were specified, use CFLAGS.
7374
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7375
 
 
7376
 
# Allow CC to be a program name with arguments.
7377
 
compiler=$CC
7378
 
 
7379
 
 
7380
 
# save warnings/boilerplate of simple test code
7381
 
ac_outfile=conftest.$ac_objext
7382
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7383
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7384
 
_lt_compiler_boilerplate=`cat conftest.err`
7385
 
$rm conftest*
7386
 
 
7387
 
ac_outfile=conftest.$ac_objext
7388
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7389
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7390
 
_lt_linker_boilerplate=`cat conftest.err`
7391
 
$rm conftest*
7392
 
 
7393
 
 
7394
 
## CAVEAT EMPTOR:
7395
 
## There is no encapsulation within the following macros, do not change
7396
 
## the running order or otherwise move them around unless you know exactly
7397
 
## what you are doing...
7398
 
 
7399
 
lt_prog_compiler_no_builtin_flag=
7400
 
 
7401
 
if test "$GCC" = yes; then
7402
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7403
 
 
7404
 
  
7405
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7406
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7407
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7408
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7409
 
else
7410
 
  lt_cv_prog_compiler_rtti_exceptions=no
7411
 
  ac_outfile=conftest.$ac_objext
7412
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7413
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7414
 
   # Insert the option either (1) after the last *FLAGS variable, or
7415
 
   # (2) before a word containing "conftest.", or (3) at the end.
7416
 
   # Note that $ac_compile itself does not contain backslashes and begins
7417
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7418
 
   # The option is referenced via a variable to avoid confusing sed.
7419
 
   lt_compile=`echo "$ac_compile" | $SED \
7420
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7421
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7422
 
   -e 's:$: $lt_compiler_flag:'`
7423
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7424
 
   (eval "$lt_compile" 2>conftest.err)
7425
 
   ac_status=$?
7426
 
   cat conftest.err >&5
7427
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7428
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7429
 
     # The compiler can only warn and ignore the option if not recognized
7430
 
     # So say no if there are warnings other than the usual output.
7431
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7432
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7433
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7434
 
       lt_cv_prog_compiler_rtti_exceptions=yes
7435
 
     fi
7436
 
   fi
7437
 
   $rm conftest*
7438
 
 
7439
 
fi
7440
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7441
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7442
 
 
7443
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7444
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7445
 
else
7446
 
    :
7447
 
fi
7448
 
 
7449
 
fi
7450
 
 
7451
 
lt_prog_compiler_wl=
7452
 
lt_prog_compiler_pic=
7453
 
lt_prog_compiler_static=
7454
 
 
7455
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7456
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7457
 
 
7458
 
  if test "$GCC" = yes; then
7459
 
    lt_prog_compiler_wl='-Wl,'
7460
 
    lt_prog_compiler_static='-static'
7461
 
 
7462
 
    case $host_os in
7463
 
      aix*)
7464
 
      # All AIX code is PIC.
7465
 
      if test "$host_cpu" = ia64; then
7466
 
        # AIX 5 now supports IA64 processor
7467
 
        lt_prog_compiler_static='-Bstatic'
7468
 
      fi
7469
 
      ;;
7470
 
 
7471
 
    amigaos*)
7472
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7473
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7474
 
      # like `-m68040'.
7475
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7476
 
      ;;
7477
 
 
7478
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7479
 
      # PIC is the default for these OSes.
7480
 
      ;;
7481
 
 
7482
 
    mingw* | cygwin* | pw32* | os2*)
7483
 
      # This hack is so that the source file can tell whether it is being
7484
 
      # built for inclusion in a dll (and should export symbols for example).
7485
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7486
 
      # (--disable-auto-import) libraries
7487
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7488
 
      ;;
7489
 
 
7490
 
    darwin* | rhapsody*)
7491
 
      # PIC is the default on this platform
7492
 
      # Common symbols not allowed in MH_DYLIB files
7493
 
      lt_prog_compiler_pic='-fno-common'
7494
 
      ;;
7495
 
 
7496
 
    interix[3-9]*)
7497
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7498
 
      # Instead, we relocate shared libraries at runtime.
7499
 
      ;;
7500
 
 
7501
 
    msdosdjgpp*)
7502
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7503
 
      # on systems that don't support them.
7504
 
      lt_prog_compiler_can_build_shared=no
7505
 
      enable_shared=no
7506
 
      ;;
7507
 
 
7508
 
    sysv4*MP*)
7509
 
      if test -d /usr/nec; then
7510
 
        lt_prog_compiler_pic=-Kconform_pic
7511
 
      fi
7512
 
      ;;
7513
 
 
7514
 
    hpux*)
7515
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7516
 
      # not for PA HP-UX.
7517
 
      case $host_cpu in
7518
 
      hppa*64*|ia64*)
7519
 
        # +Z the default
7520
 
        ;;
7521
 
      *)
7522
 
        lt_prog_compiler_pic='-fPIC'
7523
 
        ;;
7524
 
      esac
7525
 
      ;;
7526
 
 
7527
 
    *)
7528
 
      lt_prog_compiler_pic='-fPIC'
7529
 
      ;;
7530
 
    esac
7531
 
  else
7532
 
    # PORTME Check for flag to pass linker flags through the system compiler.
7533
 
    case $host_os in
7534
 
    aix*)
7535
 
      lt_prog_compiler_wl='-Wl,'
7536
 
      if test "$host_cpu" = ia64; then
7537
 
        # AIX 5 now supports IA64 processor
7538
 
        lt_prog_compiler_static='-Bstatic'
7539
 
      else
7540
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7541
 
      fi
7542
 
      ;;
7543
 
      darwin*)
7544
 
        # PIC is the default on this platform
7545
 
        # Common symbols not allowed in MH_DYLIB files
7546
 
       case $cc_basename in
7547
 
         xlc*)
7548
 
         lt_prog_compiler_pic='-qnocommon'
7549
 
         lt_prog_compiler_wl='-Wl,'
7550
 
         ;;
7551
 
       esac
7552
 
       ;;
7553
 
 
7554
 
    mingw* | cygwin* | pw32* | os2*)
7555
 
      # This hack is so that the source file can tell whether it is being
7556
 
      # built for inclusion in a dll (and should export symbols for example).
7557
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7558
 
      ;;
7559
 
 
7560
 
    hpux9* | hpux10* | hpux11*)
7561
 
      lt_prog_compiler_wl='-Wl,'
7562
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7563
 
      # not for PA HP-UX.
7564
 
      case $host_cpu in
7565
 
      hppa*64*|ia64*)
7566
 
        # +Z the default
7567
 
        ;;
7568
 
      *)
7569
 
        lt_prog_compiler_pic='+Z'
7570
 
        ;;
7571
 
      esac
7572
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7573
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
7574
 
      ;;
7575
 
 
7576
 
    irix5* | irix6* | nonstopux*)
7577
 
      lt_prog_compiler_wl='-Wl,'
7578
 
      # PIC (with -KPIC) is the default.
7579
 
      lt_prog_compiler_static='-non_shared'
7580
 
      ;;
7581
 
 
7582
 
    newsos6)
7583
 
      lt_prog_compiler_pic='-KPIC'
7584
 
      lt_prog_compiler_static='-Bstatic'
7585
 
      ;;
7586
 
 
7587
 
    linux* | k*bsd*-gnu)
7588
 
      case $cc_basename in
7589
 
      icc* | ecc*)
7590
 
        lt_prog_compiler_wl='-Wl,'
7591
 
        lt_prog_compiler_pic='-KPIC'
7592
 
        lt_prog_compiler_static='-static'
7593
 
        ;;
7594
 
      pgcc* | pgf77* | pgf90* | pgf95*)
7595
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
7596
 
        # which looks to be a dead project)
7597
 
        lt_prog_compiler_wl='-Wl,'
7598
 
        lt_prog_compiler_pic='-fpic'
7599
 
        lt_prog_compiler_static='-Bstatic'
7600
 
        ;;
7601
 
      ccc*)
7602
 
        lt_prog_compiler_wl='-Wl,'
7603
 
        # All Alpha code is PIC.
7604
 
        lt_prog_compiler_static='-non_shared'
7605
 
        ;;
7606
 
      *)
7607
 
        case `$CC -V 2>&1 | sed 5q` in
7608
 
        *Sun\ C*)
7609
 
          # Sun C 5.9
7610
 
          lt_prog_compiler_pic='-KPIC'
7611
 
          lt_prog_compiler_static='-Bstatic'
7612
 
          lt_prog_compiler_wl='-Wl,'
7613
 
          ;;
7614
 
        *Sun\ F*)
7615
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7616
 
          lt_prog_compiler_pic='-KPIC'
7617
 
          lt_prog_compiler_static='-Bstatic'
7618
 
          lt_prog_compiler_wl=''
7619
 
          ;;
7620
 
        esac
7621
 
        ;;
7622
 
      esac
7623
 
      ;;
7624
 
 
7625
 
    osf3* | osf4* | osf5*)
7626
 
      lt_prog_compiler_wl='-Wl,'
7627
 
      # All OSF/1 code is PIC.
7628
 
      lt_prog_compiler_static='-non_shared'
7629
 
      ;;
7630
 
 
7631
 
    rdos*)
7632
 
      lt_prog_compiler_static='-non_shared'
7633
 
      ;;
7634
 
 
7635
 
    solaris*)
7636
 
      lt_prog_compiler_pic='-KPIC'
7637
 
      lt_prog_compiler_static='-Bstatic'
7638
 
      case $cc_basename in
7639
 
      f77* | f90* | f95*)
7640
 
        lt_prog_compiler_wl='-Qoption ld ';;
7641
 
      *)
7642
 
        lt_prog_compiler_wl='-Wl,';;
7643
 
      esac
7644
 
      ;;
7645
 
 
7646
 
    sunos4*)
7647
 
      lt_prog_compiler_wl='-Qoption ld '
7648
 
      lt_prog_compiler_pic='-PIC'
7649
 
      lt_prog_compiler_static='-Bstatic'
7650
 
      ;;
7651
 
 
7652
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
7653
 
      lt_prog_compiler_wl='-Wl,'
7654
 
      lt_prog_compiler_pic='-KPIC'
7655
 
      lt_prog_compiler_static='-Bstatic'
7656
 
      ;;
7657
 
 
7658
 
    sysv4*MP*)
7659
 
      if test -d /usr/nec ;then
7660
 
        lt_prog_compiler_pic='-Kconform_pic'
7661
 
        lt_prog_compiler_static='-Bstatic'
7662
 
      fi
7663
 
      ;;
7664
 
 
7665
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7666
 
      lt_prog_compiler_wl='-Wl,'
7667
 
      lt_prog_compiler_pic='-KPIC'
7668
 
      lt_prog_compiler_static='-Bstatic'
7669
 
      ;;
7670
 
 
7671
 
    unicos*)
7672
 
      lt_prog_compiler_wl='-Wl,'
7673
 
      lt_prog_compiler_can_build_shared=no
7674
 
      ;;
7675
 
 
7676
 
    uts4*)
7677
 
      lt_prog_compiler_pic='-pic'
7678
 
      lt_prog_compiler_static='-Bstatic'
7679
 
      ;;
7680
 
 
7681
 
    *)
7682
 
      lt_prog_compiler_can_build_shared=no
7683
 
      ;;
7684
 
    esac
7685
 
  fi
7686
 
 
7687
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7688
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7689
 
 
7690
 
#
7691
 
# Check to make sure the PIC flag actually works.
7692
 
#
7693
 
if test -n "$lt_prog_compiler_pic"; then
7694
 
  
7695
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7696
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7697
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7698
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7699
 
else
7700
 
  lt_prog_compiler_pic_works=no
7701
 
  ac_outfile=conftest.$ac_objext
7702
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7703
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7704
 
   # Insert the option either (1) after the last *FLAGS variable, or
7705
 
   # (2) before a word containing "conftest.", or (3) at the end.
7706
 
   # Note that $ac_compile itself does not contain backslashes and begins
7707
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7708
 
   # The option is referenced via a variable to avoid confusing sed.
7709
 
   lt_compile=`echo "$ac_compile" | $SED \
7710
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7711
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7712
 
   -e 's:$: $lt_compiler_flag:'`
7713
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7714
 
   (eval "$lt_compile" 2>conftest.err)
7715
 
   ac_status=$?
7716
 
   cat conftest.err >&5
7717
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7718
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7719
 
     # The compiler can only warn and ignore the option if not recognized
7720
 
     # So say no if there are warnings other than the usual output.
7721
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7722
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7723
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7724
 
       lt_prog_compiler_pic_works=yes
7725
 
     fi
7726
 
   fi
7727
 
   $rm conftest*
7728
 
 
7729
 
fi
7730
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7731
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7732
 
 
7733
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
7734
 
    case $lt_prog_compiler_pic in
7735
 
     "" | " "*) ;;
7736
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7737
 
     esac
7738
 
else
7739
 
    lt_prog_compiler_pic=
7740
 
     lt_prog_compiler_can_build_shared=no
7741
 
fi
7742
 
 
7743
 
fi
7744
 
case $host_os in
7745
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7746
 
  *djgpp*)
7747
 
    lt_prog_compiler_pic=
7748
 
    ;;
7749
 
  *)
7750
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7751
 
    ;;
7752
 
esac
7753
 
 
7754
 
#
7755
 
# Check to make sure the static flag actually works.
7756
 
#
7757
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7758
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7759
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7760
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7762
 
else
7763
 
  lt_prog_compiler_static_works=no
7764
 
   save_LDFLAGS="$LDFLAGS"
7765
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7766
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7767
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7768
 
     # The linker can only warn and ignore the option if not recognized
7769
 
     # So say no if there are warnings
7770
 
     if test -s conftest.err; then
7771
 
       # Append any errors to the config.log.
7772
 
       cat conftest.err 1>&5
7773
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7774
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7775
 
       if diff conftest.exp conftest.er2 >/dev/null; then
7776
 
         lt_prog_compiler_static_works=yes
7777
 
       fi
7778
 
     else
7779
 
       lt_prog_compiler_static_works=yes
7780
 
     fi
7781
 
   fi
7782
 
   $rm conftest*
7783
 
   LDFLAGS="$save_LDFLAGS"
7784
 
 
7785
 
fi
7786
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7787
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7788
 
 
7789
 
if test x"$lt_prog_compiler_static_works" = xyes; then
7790
 
    :
7791
 
else
7792
 
    lt_prog_compiler_static=
7793
 
fi
7794
 
 
7795
 
 
7796
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7797
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7798
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7799
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7800
 
else
7801
 
  lt_cv_prog_compiler_c_o=no
7802
 
   $rm -r conftest 2>/dev/null
7803
 
   mkdir conftest
7804
 
   cd conftest
7805
 
   mkdir out
7806
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7807
 
 
7808
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7809
 
   # Insert the option either (1) after the last *FLAGS variable, or
7810
 
   # (2) before a word containing "conftest.", or (3) at the end.
7811
 
   # Note that $ac_compile itself does not contain backslashes and begins
7812
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7813
 
   lt_compile=`echo "$ac_compile" | $SED \
7814
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7815
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7816
 
   -e 's:$: $lt_compiler_flag:'`
7817
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7818
 
   (eval "$lt_compile" 2>out/conftest.err)
7819
 
   ac_status=$?
7820
 
   cat out/conftest.err >&5
7821
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7822
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7823
 
   then
7824
 
     # The compiler can only warn and ignore the option if not recognized
7825
 
     # So say no if there are warnings
7826
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7827
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7828
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7829
 
       lt_cv_prog_compiler_c_o=yes
7830
 
     fi
7831
 
   fi
7832
 
   chmod u+w . 2>&5
7833
 
   $rm conftest*
7834
 
   # SGI C++ compiler will create directory out/ii_files/ for
7835
 
   # template instantiation
7836
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7837
 
   $rm out/* && rmdir out
7838
 
   cd ..
7839
 
   rmdir conftest
7840
 
   $rm conftest*
7841
 
 
7842
 
fi
7843
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7844
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7845
 
 
7846
 
 
7847
 
hard_links="nottested"
7848
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7849
 
  # do not overwrite the value of need_locks provided by the user
7850
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7851
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7852
 
  hard_links=yes
7853
 
  $rm conftest*
7854
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7855
 
  touch conftest.a
7856
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
7857
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7858
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7859
 
echo "${ECHO_T}$hard_links" >&6; }
7860
 
  if test "$hard_links" = no; then
7861
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7862
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7863
 
    need_locks=warn
7864
 
  fi
7865
 
else
7866
 
  need_locks=no
7867
 
fi
7868
 
 
7869
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7870
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7871
 
 
7872
 
  runpath_var=
7873
 
  allow_undefined_flag=
7874
 
  enable_shared_with_static_runtimes=no
7875
 
  archive_cmds=
7876
 
  archive_expsym_cmds=
7877
 
  old_archive_From_new_cmds=
7878
 
  old_archive_from_expsyms_cmds=
7879
 
  export_dynamic_flag_spec=
7880
 
  whole_archive_flag_spec=
7881
 
  thread_safe_flag_spec=
7882
 
  hardcode_libdir_flag_spec=
7883
 
  hardcode_libdir_flag_spec_ld=
7884
 
  hardcode_libdir_separator=
7885
 
  hardcode_direct=no
7886
 
  hardcode_minus_L=no
7887
 
  hardcode_shlibpath_var=unsupported
7888
 
  link_all_deplibs=unknown
7889
 
  hardcode_automatic=no
7890
 
  module_cmds=
7891
 
  module_expsym_cmds=
7892
 
  always_export_symbols=no
7893
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7894
 
  # include_expsyms should be a list of space-separated symbols to be *always*
7895
 
  # included in the symbol list
7896
 
  include_expsyms=
7897
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
7898
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7899
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7900
 
  # as well as any symbol that contains `d'.
7901
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7902
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7903
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
7904
 
  # the symbol is explicitly referenced.  Since portable code cannot
7905
 
  # rely on this symbol name, it's probably fine to never include it in
7906
 
  # preloaded symbol tables.
7907
 
  extract_expsyms_cmds=
7908
 
  # Just being paranoid about ensuring that cc_basename is set.
7909
 
  for cc_temp in $compiler""; do
7910
 
  case $cc_temp in
7911
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7912
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7913
 
    \-*) ;;
7914
 
    *) break;;
7915
 
  esac
7916
 
done
7917
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7918
 
 
7919
 
  case $host_os in
7920
 
  cygwin* | mingw* | pw32*)
7921
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7922
 
    # When not using gcc, we currently assume that we are using
7923
 
    # Microsoft Visual C++.
7924
 
    if test "$GCC" != yes; then
7925
 
      with_gnu_ld=no
7926
 
    fi
7927
 
    ;;
7928
 
  interix*)
7929
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
7930
 
    with_gnu_ld=yes
7931
 
    ;;
7932
 
  openbsd*)
7933
 
    with_gnu_ld=no
7934
 
    ;;
7935
 
  esac
7936
 
 
7937
 
  ld_shlibs=yes
7938
 
  if test "$with_gnu_ld" = yes; then
7939
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
7940
 
    wlarc='${wl}'
7941
 
 
7942
 
    # Set some defaults for GNU ld with shared library support. These
7943
 
    # are reset later if shared libraries are not supported. Putting them
7944
 
    # here allows them to be overridden if necessary.
7945
 
    runpath_var=LD_RUN_PATH
7946
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7947
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
7948
 
    # ancient GNU ld didn't support --whole-archive et. al.
7949
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7950
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7951
 
      else
7952
 
        whole_archive_flag_spec=
7953
 
    fi
7954
 
    supports_anon_versioning=no
7955
 
    case `$LD -v 2>/dev/null` in
7956
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7957
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7958
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7959
 
      *\ 2.11.*) ;; # other 2.11 versions
7960
 
      *) supports_anon_versioning=yes ;;
7961
 
    esac
7962
 
 
7963
 
    # See if GNU ld supports shared libraries.
7964
 
    case $host_os in
7965
 
    aix3* | aix4* | aix5*)
7966
 
      # On AIX/PPC, the GNU linker is very broken
7967
 
      if test "$host_cpu" != ia64; then
7968
 
        ld_shlibs=no
7969
 
        cat <<EOF 1>&2
7970
 
 
7971
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7972
 
*** to be unable to reliably create shared libraries on AIX.
7973
 
*** Therefore, libtool is disabling shared libraries support.  If you
7974
 
*** really care for shared libraries, you may want to modify your PATH
7975
 
*** so that a non-GNU linker is found, and then restart.
7976
 
 
7977
 
EOF
7978
 
      fi
7979
 
      ;;
7980
 
 
7981
 
    amigaos*)
7982
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7983
 
      hardcode_libdir_flag_spec='-L$libdir'
7984
 
      hardcode_minus_L=yes
7985
 
 
7986
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7987
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
7988
 
      # to version 4, is to share data among multiple programs linked
7989
 
      # with the same dynamic library.  Since this doesn't match the
7990
 
      # behavior of shared libraries on other platforms, we can't use
7991
 
      # them.
7992
 
      ld_shlibs=no
7993
 
      ;;
7994
 
 
7995
 
    beos*)
7996
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7997
 
        allow_undefined_flag=unsupported
7998
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7999
 
        # support --undefined.  This deserves some investigation.  FIXME
8000
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8001
 
      else
8002
 
        ld_shlibs=no
8003
 
      fi
8004
 
      ;;
8005
 
 
8006
 
    cygwin* | mingw* | pw32*)
8007
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8008
 
      # as there is no search path for DLLs.
8009
 
      hardcode_libdir_flag_spec='-L$libdir'
8010
 
      allow_undefined_flag=unsupported
8011
 
      always_export_symbols=no
8012
 
      enable_shared_with_static_runtimes=yes
8013
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8014
 
 
8015
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8016
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8017
 
        # If the export-symbols file already is a .def file (1st line
8018
 
        # is EXPORTS), use it as is; otherwise, prepend...
8019
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8020
 
          cp $export_symbols $output_objdir/$soname.def;
8021
 
        else
8022
 
          echo EXPORTS > $output_objdir/$soname.def;
8023
 
          cat $export_symbols >> $output_objdir/$soname.def;
8024
 
        fi~
8025
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8026
 
      else
8027
 
        ld_shlibs=no
8028
 
      fi
8029
 
      ;;
8030
 
 
8031
 
    interix[3-9]*)
8032
 
      hardcode_direct=no
8033
 
      hardcode_shlibpath_var=no
8034
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8035
 
      export_dynamic_flag_spec='${wl}-E'
8036
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8037
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8038
 
      # default) and relocated if they conflict, which is a slow very memory
8039
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
8040
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8041
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8042
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8043
 
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8044
 
      ;;
8045
 
 
8046
 
    gnu* | linux* | k*bsd*-gnu)
8047
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8048
 
        tmp_addflag=
8049
 
        case $cc_basename,$host_cpu in
8050
 
        pgcc*)                          # Portland Group C compiler
8051
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8052
 
          tmp_addflag=' $pic_flag'
8053
 
          ;;
8054
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8055
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8056
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
8057
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
8058
 
          tmp_addflag=' -i_dynamic' ;;
8059
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8060
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8061
 
        ifc* | ifort*)                  # Intel Fortran compiler
8062
 
          tmp_addflag=' -nofor_main' ;;
8063
 
        esac
8064
 
        case `$CC -V 2>&1 | sed 5q` in
8065
 
        *Sun\ C*)                       # Sun C 5.9
8066
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8067
 
          tmp_sharedflag='-G' ;;
8068
 
        *Sun\ F*)                       # Sun Fortran 8.3
8069
 
          tmp_sharedflag='-G' ;;
8070
 
        *)
8071
 
          tmp_sharedflag='-shared' ;;
8072
 
        esac
8073
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8074
 
 
8075
 
        if test $supports_anon_versioning = yes; then
8076
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8077
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8078
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8079
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8080
 
        fi
8081
 
        link_all_deplibs=no
8082
 
      else
8083
 
        ld_shlibs=no
8084
 
      fi
8085
 
      ;;
8086
 
 
8087
 
    netbsd* | netbsdelf*-gnu)
8088
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8089
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8090
 
        wlarc=
8091
 
      else
8092
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8093
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8094
 
      fi
8095
 
      ;;
8096
 
 
8097
 
    solaris*)
8098
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8099
 
        ld_shlibs=no
8100
 
        cat <<EOF 1>&2
8101
 
 
8102
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8103
 
*** create shared libraries on Solaris systems.  Therefore, libtool
8104
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8105
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
8106
 
*** your PATH or compiler configuration so that the native linker is
8107
 
*** used, and then restart.
8108
 
 
8109
 
EOF
8110
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8111
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8112
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8113
 
      else
8114
 
        ld_shlibs=no
8115
 
      fi
8116
 
      ;;
8117
 
 
8118
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8119
 
      case `$LD -v 2>&1` in
8120
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8121
 
        ld_shlibs=no
8122
 
        cat <<_LT_EOF 1>&2
8123
 
 
8124
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8125
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8126
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8127
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8128
 
*** your PATH or compiler configuration so that the native linker is
8129
 
*** used, and then restart.
8130
 
 
8131
 
_LT_EOF
8132
 
        ;;
8133
 
        *)
8134
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8135
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8136
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8137
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8138
 
          else
8139
 
            ld_shlibs=no
8140
 
          fi
8141
 
        ;;
8142
 
      esac
8143
 
      ;;
8144
 
 
8145
 
    sunos4*)
8146
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8147
 
      wlarc=
8148
 
      hardcode_direct=yes
8149
 
      hardcode_shlibpath_var=no
8150
 
      ;;
8151
 
 
8152
 
    *)
8153
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8154
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8155
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8156
 
      else
8157
 
        ld_shlibs=no
8158
 
      fi
8159
 
      ;;
8160
 
    esac
8161
 
 
8162
 
    if test "$ld_shlibs" = no; then
8163
 
      runpath_var=
8164
 
      hardcode_libdir_flag_spec=
8165
 
      export_dynamic_flag_spec=
8166
 
      whole_archive_flag_spec=
8167
 
    fi
8168
 
  else
8169
 
    # PORTME fill in a description of your system's linker (not GNU ld)
8170
 
    case $host_os in
8171
 
    aix3*)
8172
 
      allow_undefined_flag=unsupported
8173
 
      always_export_symbols=yes
8174
 
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8175
 
      # Note: this linker hardcodes the directories in LIBPATH if there
8176
 
      # are no directories specified by -L.
8177
 
      hardcode_minus_L=yes
8178
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8179
 
        # Neither direct hardcoding nor static linking is supported with a
8180
 
        # broken collect2.
8181
 
        hardcode_direct=unsupported
8182
 
      fi
8183
 
      ;;
8184
 
 
8185
 
    aix4* | aix5*)
8186
 
      if test "$host_cpu" = ia64; then
8187
 
        # On IA64, the linker does run time linking by default, so we don't
8188
 
        # have to do anything special.
8189
 
        aix_use_runtimelinking=no
8190
 
        exp_sym_flag='-Bexport'
8191
 
        no_entry_flag=""
8192
 
      else
8193
 
        # If we're using GNU nm, then we don't want the "-C" option.
8194
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8195
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8196
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8197
 
        else
8198
 
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8199
 
        fi
8200
 
        aix_use_runtimelinking=no
8201
 
 
8202
 
        # Test if we are trying to use run time linking or normal
8203
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8204
 
        # need to do runtime linking.
8205
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8206
 
          for ld_flag in $LDFLAGS; do
8207
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8208
 
            aix_use_runtimelinking=yes
8209
 
            break
8210
 
          fi
8211
 
          done
8212
 
          ;;
8213
 
        esac
8214
 
 
8215
 
        exp_sym_flag='-bexport'
8216
 
        no_entry_flag='-bnoentry'
8217
 
      fi
8218
 
 
8219
 
      # When large executables or shared objects are built, AIX ld can
8220
 
      # have problems creating the table of contents.  If linking a library
8221
 
      # or program results in "error TOC overflow" add -mminimal-toc to
8222
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8223
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8224
 
 
8225
 
      archive_cmds=''
8226
 
      hardcode_direct=yes
8227
 
      hardcode_libdir_separator=':'
8228
 
      link_all_deplibs=yes
8229
 
 
8230
 
      if test "$GCC" = yes; then
8231
 
        case $host_os in aix4.[012]|aix4.[012].*)
8232
 
        # We only want to do this on AIX 4.2 and lower, the check
8233
 
        # below for broken collect2 doesn't work under 4.3+
8234
 
          collect2name=`${CC} -print-prog-name=collect2`
8235
 
          if test -f "$collect2name" && \
8236
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
8237
 
          then
8238
 
          # We have reworked collect2
8239
 
          :
8240
 
          else
8241
 
          # We have old collect2
8242
 
          hardcode_direct=unsupported
8243
 
          # It fails to find uninstalled libraries when the uninstalled
8244
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8245
 
          # to unsupported forces relinking
8246
 
          hardcode_minus_L=yes
8247
 
          hardcode_libdir_flag_spec='-L$libdir'
8248
 
          hardcode_libdir_separator=
8249
 
          fi
8250
 
          ;;
8251
 
        esac
8252
 
        shared_flag='-shared'
8253
 
        if test "$aix_use_runtimelinking" = yes; then
8254
 
          shared_flag="$shared_flag "'${wl}-G'
8255
 
        fi
8256
 
      else
8257
 
        # not using gcc
8258
 
        if test "$host_cpu" = ia64; then
8259
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8260
 
        # chokes on -Wl,-G. The following line is correct:
8261
 
          shared_flag='-G'
8262
 
        else
8263
 
          if test "$aix_use_runtimelinking" = yes; then
8264
 
            shared_flag='${wl}-G'
8265
 
          else
8266
 
            shared_flag='${wl}-bM:SRE'
8267
 
          fi
8268
 
        fi
8269
 
      fi
8270
 
 
8271
 
      # It seems that -bexpall does not export symbols beginning with
8272
 
      # underscore (_), so it is better to generate a list of symbols to export.
8273
 
      always_export_symbols=yes
8274
 
      if test "$aix_use_runtimelinking" = yes; then
8275
 
        # Warning - without using the other runtime loading flags (-brtl),
8276
 
        # -berok will link without error, but may produce a broken library.
8277
 
        allow_undefined_flag='-berok'
8278
 
       # Determine the default libpath from the value encoded in an empty executable.
8279
 
       cat >conftest.$ac_ext <<_ACEOF
8280
 
/* confdefs.h.  */
8281
 
_ACEOF
8282
 
cat confdefs.h >>conftest.$ac_ext
8283
 
cat >>conftest.$ac_ext <<_ACEOF
8284
 
/* end confdefs.h.  */
8285
 
 
8286
 
int
8287
 
main ()
8288
 
{
8289
 
 
8290
 
  ;
8291
 
  return 0;
8292
 
}
8293
 
_ACEOF
8294
 
rm -f conftest.$ac_objext conftest$ac_exeext
8295
 
if { (ac_try="$ac_link"
8296
 
case "(($ac_try" in
8297
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8298
 
  *) ac_try_echo=$ac_try;;
8299
 
esac
8300
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8301
 
  (eval "$ac_link") 2>conftest.er1
8302
 
  ac_status=$?
8303
 
  grep -v '^ *+' conftest.er1 >conftest.err
8304
 
  rm -f conftest.er1
8305
 
  cat conftest.err >&5
8306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8307
 
  (exit $ac_status); } && {
8308
 
         test -z "$ac_c_werror_flag" ||
8309
 
         test ! -s conftest.err
8310
 
       } && test -s conftest$ac_exeext &&
8311
 
       $as_test_x conftest$ac_exeext; then
8312
 
  
8313
 
lt_aix_libpath_sed='
8314
 
    /Import File Strings/,/^$/ {
8315
 
        /^0/ {
8316
 
            s/^0  *\(.*\)$/\1/
8317
 
            p
8318
 
        }
8319
 
    }'
8320
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8321
 
# Check for a 64-bit object if we didn't find anything.
8322
 
if test -z "$aix_libpath"; then
8323
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8324
 
fi
8325
 
else
8326
 
  echo "$as_me: failed program was:" >&5
8327
 
sed 's/^/| /' conftest.$ac_ext >&5
8328
 
 
8329
 
        
8330
 
fi
8331
 
 
8332
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8333
 
      conftest$ac_exeext conftest.$ac_ext
8334
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8335
 
 
8336
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8337
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8338
 
       else
8339
 
        if test "$host_cpu" = ia64; then
8340
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8341
 
          allow_undefined_flag="-z nodefs"
8342
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8343
 
        else
8344
 
         # Determine the default libpath from the value encoded in an empty executable.
8345
 
         cat >conftest.$ac_ext <<_ACEOF
8346
 
/* confdefs.h.  */
8347
 
_ACEOF
8348
 
cat confdefs.h >>conftest.$ac_ext
8349
 
cat >>conftest.$ac_ext <<_ACEOF
8350
 
/* end confdefs.h.  */
8351
 
 
8352
 
int
8353
 
main ()
8354
 
{
8355
 
 
8356
 
  ;
8357
 
  return 0;
8358
 
}
8359
 
_ACEOF
8360
 
rm -f conftest.$ac_objext conftest$ac_exeext
8361
 
if { (ac_try="$ac_link"
8362
 
case "(($ac_try" in
8363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8364
 
  *) ac_try_echo=$ac_try;;
8365
 
esac
8366
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8367
 
  (eval "$ac_link") 2>conftest.er1
8368
 
  ac_status=$?
8369
 
  grep -v '^ *+' conftest.er1 >conftest.err
8370
 
  rm -f conftest.er1
8371
 
  cat conftest.err >&5
8372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373
 
  (exit $ac_status); } && {
8374
 
         test -z "$ac_c_werror_flag" ||
8375
 
         test ! -s conftest.err
8376
 
       } && test -s conftest$ac_exeext &&
8377
 
       $as_test_x conftest$ac_exeext; then
8378
 
  
8379
 
lt_aix_libpath_sed='
8380
 
    /Import File Strings/,/^$/ {
8381
 
        /^0/ {
8382
 
            s/^0  *\(.*\)$/\1/
8383
 
            p
8384
 
        }
8385
 
    }'
8386
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8387
 
# Check for a 64-bit object if we didn't find anything.
8388
 
if test -z "$aix_libpath"; then
8389
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8390
 
fi
8391
 
else
8392
 
  echo "$as_me: failed program was:" >&5
8393
 
sed 's/^/| /' conftest.$ac_ext >&5
8394
 
 
8395
 
        
8396
 
fi
8397
 
 
8398
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8399
 
      conftest$ac_exeext conftest.$ac_ext
8400
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8401
 
 
8402
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8403
 
          # Warning - without using the other run time loading flags,
8404
 
          # -berok will link without error, but may produce a broken library.
8405
 
          no_undefined_flag=' ${wl}-bernotok'
8406
 
          allow_undefined_flag=' ${wl}-berok'
8407
 
          # Exported symbols can be pulled into shared objects from archives
8408
 
          whole_archive_flag_spec='$convenience'
8409
 
          archive_cmds_need_lc=yes
8410
 
          # This is similar to how AIX traditionally builds its shared libraries.
8411
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8412
 
        fi
8413
 
      fi
8414
 
      ;;
8415
 
 
8416
 
    amigaos*)
8417
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8418
 
      hardcode_libdir_flag_spec='-L$libdir'
8419
 
      hardcode_minus_L=yes
8420
 
      # see comment about different semantics on the GNU ld section
8421
 
      ld_shlibs=no
8422
 
      ;;
8423
 
 
8424
 
    bsdi[45]*)
8425
 
      export_dynamic_flag_spec=-rdynamic
8426
 
      ;;
8427
 
 
8428
 
    cygwin* | mingw* | pw32*)
8429
 
      # When not using gcc, we currently assume that we are using
8430
 
      # Microsoft Visual C++.
8431
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8432
 
      # no search path for DLLs.
8433
 
      hardcode_libdir_flag_spec=' '
8434
 
      allow_undefined_flag=unsupported
8435
 
      # Tell ltmain to make .lib files, not .a files.
8436
 
      libext=lib
8437
 
      # Tell ltmain to make .dll files, not .so files.
8438
 
      shrext_cmds=".dll"
8439
 
      # FIXME: Setting linknames here is a bad hack.
8440
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8441
 
      # The linker will automatically build a .lib file if we build a DLL.
8442
 
      old_archive_From_new_cmds='true'
8443
 
      # FIXME: Should let the user specify the lib program.
8444
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8445
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8446
 
      enable_shared_with_static_runtimes=yes
8447
 
      ;;
8448
 
 
8449
 
    darwin* | rhapsody*)
8450
 
      case $host_os in
8451
 
        rhapsody* | darwin1.[012])
8452
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8453
 
         ;;
8454
 
       *) # Darwin 1.3 on
8455
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8456
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8457
 
         else
8458
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8459
 
             10.[012])
8460
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8461
 
               ;;
8462
 
             10.*)
8463
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8464
 
               ;;
8465
 
           esac
8466
 
         fi
8467
 
         ;;
8468
 
      esac
8469
 
      archive_cmds_need_lc=no
8470
 
      hardcode_direct=no
8471
 
      hardcode_automatic=yes
8472
 
      hardcode_shlibpath_var=unsupported
8473
 
      whole_archive_flag_spec=''
8474
 
      link_all_deplibs=yes
8475
 
    if test "$GCC" = yes ; then
8476
 
        output_verbose_link_cmd='echo'
8477
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8478
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8479
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8480
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8481
 
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8482
 
    else
8483
 
      case $cc_basename in
8484
 
        xlc*)
8485
 
         output_verbose_link_cmd='echo'
8486
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8487
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8488
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8489
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8490
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8491
 
          ;;
8492
 
       *)
8493
 
         ld_shlibs=no
8494
 
          ;;
8495
 
      esac
8496
 
    fi
8497
 
      ;;
8498
 
 
8499
 
    dgux*)
8500
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8501
 
      hardcode_libdir_flag_spec='-L$libdir'
8502
 
      hardcode_shlibpath_var=no
8503
 
      ;;
8504
 
 
8505
 
    freebsd1*)
8506
 
      ld_shlibs=no
8507
 
      ;;
8508
 
 
8509
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8510
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8511
 
    # does not break anything, and helps significantly (at the cost of a little
8512
 
    # extra space).
8513
 
    freebsd2.2*)
8514
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8515
 
      hardcode_libdir_flag_spec='-R$libdir'
8516
 
      hardcode_direct=yes
8517
 
      hardcode_shlibpath_var=no
8518
 
      ;;
8519
 
 
8520
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8521
 
    freebsd2*)
8522
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8523
 
      hardcode_direct=yes
8524
 
      hardcode_minus_L=yes
8525
 
      hardcode_shlibpath_var=no
8526
 
      ;;
8527
 
 
8528
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8529
 
    freebsd* | dragonfly*)
8530
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8531
 
      hardcode_libdir_flag_spec='-R$libdir'
8532
 
      hardcode_direct=yes
8533
 
      hardcode_shlibpath_var=no
8534
 
      ;;
8535
 
 
8536
 
    hpux9*)
8537
 
      if test "$GCC" = yes; then
8538
 
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8539
 
      else
8540
 
        archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8541
 
      fi
8542
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8543
 
      hardcode_libdir_separator=:
8544
 
      hardcode_direct=yes
8545
 
 
8546
 
      # hardcode_minus_L: Not really in the search PATH,
8547
 
      # but as the default location of the library.
8548
 
      hardcode_minus_L=yes
8549
 
      export_dynamic_flag_spec='${wl}-E'
8550
 
      ;;
8551
 
 
8552
 
    hpux10*)
8553
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8554
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8555
 
      else
8556
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8557
 
      fi
8558
 
      if test "$with_gnu_ld" = no; then
8559
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8560
 
        hardcode_libdir_separator=:
8561
 
 
8562
 
        hardcode_direct=yes
8563
 
        export_dynamic_flag_spec='${wl}-E'
8564
 
 
8565
 
        # hardcode_minus_L: Not really in the search PATH,
8566
 
        # but as the default location of the library.
8567
 
        hardcode_minus_L=yes
8568
 
      fi
8569
 
      ;;
8570
 
 
8571
 
    hpux11*)
8572
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8573
 
        case $host_cpu in
8574
 
        hppa*64*)
8575
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8576
 
          ;;
8577
 
        ia64*)
8578
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8579
 
          ;;
8580
 
        *)
8581
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8582
 
          ;;
8583
 
        esac
8584
 
      else
8585
 
        case $host_cpu in
8586
 
        hppa*64*)
8587
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8588
 
          ;;
8589
 
        ia64*)
8590
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8591
 
          ;;
8592
 
        *)
8593
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8594
 
          ;;
8595
 
        esac
8596
 
      fi
8597
 
      if test "$with_gnu_ld" = no; then
8598
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8599
 
        hardcode_libdir_separator=:
8600
 
 
8601
 
        case $host_cpu in
8602
 
        hppa*64*|ia64*)
8603
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8604
 
          hardcode_direct=no
8605
 
          hardcode_shlibpath_var=no
8606
 
          ;;
8607
 
        *)
8608
 
          hardcode_direct=yes
8609
 
          export_dynamic_flag_spec='${wl}-E'
8610
 
 
8611
 
          # hardcode_minus_L: Not really in the search PATH,
8612
 
          # but as the default location of the library.
8613
 
          hardcode_minus_L=yes
8614
 
          ;;
8615
 
        esac
8616
 
      fi
8617
 
      ;;
8618
 
 
8619
 
    irix5* | irix6* | nonstopux*)
8620
 
      if test "$GCC" = yes; then
8621
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8622
 
      else
8623
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8624
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
8625
 
      fi
8626
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8627
 
      hardcode_libdir_separator=:
8628
 
      link_all_deplibs=yes
8629
 
      ;;
8630
 
 
8631
 
    netbsd* | netbsdelf*-gnu)
8632
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8633
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8634
 
      else
8635
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8636
 
      fi
8637
 
      hardcode_libdir_flag_spec='-R$libdir'
8638
 
      hardcode_direct=yes
8639
 
      hardcode_shlibpath_var=no
8640
 
      ;;
8641
 
 
8642
 
    newsos6)
8643
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8644
 
      hardcode_direct=yes
8645
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8646
 
      hardcode_libdir_separator=:
8647
 
      hardcode_shlibpath_var=no
8648
 
      ;;
8649
 
 
8650
 
    openbsd*)
8651
 
      if test -f /usr/libexec/ld.so; then
8652
 
        hardcode_direct=yes
8653
 
        hardcode_shlibpath_var=no
8654
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8655
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8656
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8657
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8658
 
          export_dynamic_flag_spec='${wl}-E'
8659
 
        else
8660
 
          case $host_os in
8661
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8662
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8663
 
             hardcode_libdir_flag_spec='-R$libdir'
8664
 
             ;;
8665
 
           *)
8666
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8667
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8668
 
             ;;
8669
 
          esac
8670
 
        fi
8671
 
      else
8672
 
        ld_shlibs=no
8673
 
      fi
8674
 
      ;;
8675
 
 
8676
 
    os2*)
8677
 
      hardcode_libdir_flag_spec='-L$libdir'
8678
 
      hardcode_minus_L=yes
8679
 
      allow_undefined_flag=unsupported
8680
 
      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8681
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8682
 
      ;;
8683
 
 
8684
 
    osf3*)
8685
 
      if test "$GCC" = yes; then
8686
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8687
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8688
 
      else
8689
 
        allow_undefined_flag=' -expect_unresolved \*'
8690
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8691
 
      fi
8692
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8693
 
      hardcode_libdir_separator=:
8694
 
      ;;
8695
 
 
8696
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8697
 
      if test "$GCC" = yes; then
8698
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8699
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8700
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8701
 
      else
8702
 
        allow_undefined_flag=' -expect_unresolved \*'
8703
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8704
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8705
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8706
 
 
8707
 
        # Both c and cxx compiler support -rpath directly
8708
 
        hardcode_libdir_flag_spec='-rpath $libdir'
8709
 
      fi
8710
 
      hardcode_libdir_separator=:
8711
 
      ;;
8712
 
 
8713
 
    solaris*)
8714
 
      no_undefined_flag=' -z text'
8715
 
      if test "$GCC" = yes; then
8716
 
        wlarc='${wl}'
8717
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8718
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8719
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8720
 
      else
8721
 
        wlarc=''
8722
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8723
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8724
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8725
 
      fi
8726
 
      hardcode_libdir_flag_spec='-R$libdir'
8727
 
      hardcode_shlibpath_var=no
8728
 
      case $host_os in
8729
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8730
 
      *)
8731
 
        # The compiler driver will combine and reorder linker options,
8732
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
8733
 
        # but is careful enough not to reorder.
8734
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8735
 
        if test "$GCC" = yes; then
8736
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8737
 
        else
8738
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8739
 
        fi
8740
 
        ;;
8741
 
      esac
8742
 
      link_all_deplibs=yes
8743
 
      ;;
8744
 
 
8745
 
    sunos4*)
8746
 
      if test "x$host_vendor" = xsequent; then
8747
 
        # Use $CC to link under sequent, because it throws in some extra .o
8748
 
        # files that make .init and .fini sections work.
8749
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8750
 
      else
8751
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8752
 
      fi
8753
 
      hardcode_libdir_flag_spec='-L$libdir'
8754
 
      hardcode_direct=yes
8755
 
      hardcode_minus_L=yes
8756
 
      hardcode_shlibpath_var=no
8757
 
      ;;
8758
 
 
8759
 
    sysv4)
8760
 
      case $host_vendor in
8761
 
        sni)
8762
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8763
 
          hardcode_direct=yes # is this really true???
8764
 
        ;;
8765
 
        siemens)
8766
 
          ## LD is ld it makes a PLAMLIB
8767
 
          ## CC just makes a GrossModule.
8768
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8769
 
          reload_cmds='$CC -r -o $output$reload_objs'
8770
 
          hardcode_direct=no
8771
 
        ;;
8772
 
        motorola)
8773
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8774
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8775
 
        ;;
8776
 
      esac
8777
 
      runpath_var='LD_RUN_PATH'
8778
 
      hardcode_shlibpath_var=no
8779
 
      ;;
8780
 
 
8781
 
    sysv4.3*)
8782
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8783
 
      hardcode_shlibpath_var=no
8784
 
      export_dynamic_flag_spec='-Bexport'
8785
 
      ;;
8786
 
 
8787
 
    sysv4*MP*)
8788
 
      if test -d /usr/nec; then
8789
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8790
 
        hardcode_shlibpath_var=no
8791
 
        runpath_var=LD_RUN_PATH
8792
 
        hardcode_runpath_var=yes
8793
 
        ld_shlibs=yes
8794
 
      fi
8795
 
      ;;
8796
 
 
8797
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8798
 
      no_undefined_flag='${wl}-z,text'
8799
 
      archive_cmds_need_lc=no
8800
 
      hardcode_shlibpath_var=no
8801
 
      runpath_var='LD_RUN_PATH'
8802
 
 
8803
 
      if test "$GCC" = yes; then
8804
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8805
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8806
 
      else
8807
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8808
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8809
 
      fi
8810
 
      ;;
8811
 
 
8812
 
    sysv5* | sco3.2v5* | sco5v6*)
8813
 
      # Note: We can NOT use -z defs as we might desire, because we do not
8814
 
      # link with -lc, and that would cause any symbols used from libc to
8815
 
      # always be unresolved, which means just about no library would
8816
 
      # ever link correctly.  If we're not using GNU ld we use -z text
8817
 
      # though, which does catch some bad symbols but isn't as heavy-handed
8818
 
      # as -z defs.
8819
 
      no_undefined_flag='${wl}-z,text'
8820
 
      allow_undefined_flag='${wl}-z,nodefs'
8821
 
      archive_cmds_need_lc=no
8822
 
      hardcode_shlibpath_var=no
8823
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8824
 
      hardcode_libdir_separator=':'
8825
 
      link_all_deplibs=yes
8826
 
      export_dynamic_flag_spec='${wl}-Bexport'
8827
 
      runpath_var='LD_RUN_PATH'
8828
 
 
8829
 
      if test "$GCC" = yes; then
8830
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8831
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8832
 
      else
8833
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8834
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8835
 
      fi
8836
 
      ;;
8837
 
 
8838
 
    uts4*)
8839
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8840
 
      hardcode_libdir_flag_spec='-L$libdir'
8841
 
      hardcode_shlibpath_var=no
8842
 
      ;;
8843
 
 
8844
 
    *)
8845
 
      ld_shlibs=no
8846
 
      ;;
8847
 
    esac
8848
 
  fi
8849
 
 
8850
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8851
 
echo "${ECHO_T}$ld_shlibs" >&6; }
8852
 
test "$ld_shlibs" = no && can_build_shared=no
8853
 
 
8854
 
#
8855
 
# Do we need to explicitly link libc?
8856
 
#
8857
 
case "x$archive_cmds_need_lc" in
8858
 
x|xyes)
8859
 
  # Assume -lc should be added
8860
 
  archive_cmds_need_lc=yes
8861
 
 
8862
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
8863
 
    case $archive_cmds in
8864
 
    *'~'*)
8865
 
      # FIXME: we may have to deal with multi-command sequences.
8866
 
      ;;
8867
 
    '$CC '*)
8868
 
      # Test whether the compiler implicitly links with -lc since on some
8869
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8870
 
      # to ld, don't add -lc before -lgcc.
8871
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8872
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8873
 
      $rm conftest*
8874
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8875
 
 
8876
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8877
 
  (eval $ac_compile) 2>&5
8878
 
  ac_status=$?
8879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880
 
  (exit $ac_status); } 2>conftest.err; then
8881
 
        soname=conftest
8882
 
        lib=conftest
8883
 
        libobjs=conftest.$ac_objext
8884
 
        deplibs=
8885
 
        wl=$lt_prog_compiler_wl
8886
 
        pic_flag=$lt_prog_compiler_pic
8887
 
        compiler_flags=-v
8888
 
        linker_flags=-v
8889
 
        verstring=
8890
 
        output_objdir=.
8891
 
        libname=conftest
8892
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8893
 
        allow_undefined_flag=
8894
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8895
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8896
 
  ac_status=$?
8897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898
 
  (exit $ac_status); }
8899
 
        then
8900
 
          archive_cmds_need_lc=no
8901
 
        else
8902
 
          archive_cmds_need_lc=yes
8903
 
        fi
8904
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8905
 
      else
8906
 
        cat conftest.err 1>&5
8907
 
      fi
8908
 
      $rm conftest*
8909
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8910
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8911
 
      ;;
8912
 
    esac
8913
 
  fi
8914
 
  ;;
8915
 
esac
8916
 
 
8917
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8918
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8919
 
library_names_spec=
8920
 
libname_spec='lib$name'
8921
 
soname_spec=
8922
 
shrext_cmds=".so"
8923
 
postinstall_cmds=
8924
 
postuninstall_cmds=
8925
 
finish_cmds=
8926
 
finish_eval=
8927
 
shlibpath_var=
8928
 
shlibpath_overrides_runpath=unknown
8929
 
version_type=none
8930
 
dynamic_linker="$host_os ld.so"
8931
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8932
 
 
8933
 
if test "$GCC" = yes; then
8934
 
  case $host_os in
8935
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8936
 
    *) lt_awk_arg="/^libraries:/" ;;
8937
 
  esac
8938
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8939
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8940
 
    # if the path contains ";" then we assume it to be the separator
8941
 
    # otherwise default to the standard path separator (i.e. ":") - it is
8942
 
    # assumed that no part of a normal pathname contains ";" but that should
8943
 
    # okay in the real world where ";" in dirpaths is itself problematic.
8944
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8945
 
  else
8946
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8947
 
  fi
8948
 
  # Ok, now we have the path, separated by spaces, we can step through it
8949
 
  # and add multilib dir if necessary.
8950
 
  lt_tmp_lt_search_path_spec=
8951
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8952
 
  for lt_sys_path in $lt_search_path_spec; do
8953
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8954
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8955
 
    else
8956
 
      test -d "$lt_sys_path" && \
8957
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8958
 
    fi
8959
 
  done
8960
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
8961
 
BEGIN {RS=" "; FS="/|\n";} {
8962
 
  lt_foo="";
8963
 
  lt_count=0;
8964
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
8965
 
    if ($lt_i != "" && $lt_i != ".") {
8966
 
      if ($lt_i == "..") {
8967
 
        lt_count++;
8968
 
      } else {
8969
 
        if (lt_count == 0) {
8970
 
          lt_foo="/" $lt_i lt_foo;
8971
 
        } else {
8972
 
          lt_count--;
8973
 
        }
8974
 
      }
8975
 
    }
8976
 
  }
8977
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
8978
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
8979
 
}'`
8980
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
8981
 
else
8982
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8983
 
fi
8984
 
need_lib_prefix=unknown
8985
 
hardcode_into_libs=no
8986
 
 
8987
 
# when you set need_version to no, make sure it does not cause -set_version
8988
 
# flags to be left without arguments
8989
 
need_version=unknown
8990
 
 
8991
 
case $host_os in
8992
 
aix3*)
8993
 
  version_type=linux
8994
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8995
 
  shlibpath_var=LIBPATH
8996
 
 
8997
 
  # AIX 3 has no versioning support, so we append a major version to the name.
8998
 
  soname_spec='${libname}${release}${shared_ext}$major'
8999
 
  ;;
9000
 
 
9001
 
aix4* | aix5*)
9002
 
  version_type=linux
9003
 
  need_lib_prefix=no
9004
 
  need_version=no
9005
 
  hardcode_into_libs=yes
9006
 
  if test "$host_cpu" = ia64; then
9007
 
    # AIX 5 supports IA64
9008
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9009
 
    shlibpath_var=LD_LIBRARY_PATH
9010
 
  else
9011
 
    # With GCC up to 2.95.x, collect2 would create an import file
9012
 
    # for dependence libraries.  The import file would start with
9013
 
    # the line `#! .'.  This would cause the generated library to
9014
 
    # depend on `.', always an invalid library.  This was fixed in
9015
 
    # development snapshots of GCC prior to 3.0.
9016
 
    case $host_os in
9017
 
      aix4 | aix4.[01] | aix4.[01].*)
9018
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9019
 
           echo ' yes '
9020
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9021
 
        :
9022
 
      else
9023
 
        can_build_shared=no
9024
 
      fi
9025
 
      ;;
9026
 
    esac
9027
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9028
 
    # soname into executable. Probably we can add versioning support to
9029
 
    # collect2, so additional links can be useful in future.
9030
 
    if test "$aix_use_runtimelinking" = yes; then
9031
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9032
 
      # instead of lib<name>.a to let people know that these are not
9033
 
      # typical AIX shared libraries.
9034
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9035
 
    else
9036
 
      # We preserve .a as extension for shared libraries through AIX4.2
9037
 
      # and later when we are not doing run time linking.
9038
 
      library_names_spec='${libname}${release}.a $libname.a'
9039
 
      soname_spec='${libname}${release}${shared_ext}$major'
9040
 
    fi
9041
 
    shlibpath_var=LIBPATH
9042
 
  fi
9043
 
  ;;
9044
 
 
9045
 
amigaos*)
9046
 
  library_names_spec='$libname.ixlibrary $libname.a'
9047
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9048
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9049
 
  ;;
9050
 
 
9051
 
beos*)
9052
 
  library_names_spec='${libname}${shared_ext}'
9053
 
  dynamic_linker="$host_os ld.so"
9054
 
  shlibpath_var=LIBRARY_PATH
9055
 
  ;;
9056
 
 
9057
 
bsdi[45]*)
9058
 
  version_type=linux
9059
 
  need_version=no
9060
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9061
 
  soname_spec='${libname}${release}${shared_ext}$major'
9062
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9063
 
  shlibpath_var=LD_LIBRARY_PATH
9064
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9065
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9066
 
  # the default ld.so.conf also contains /usr/contrib/lib and
9067
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9068
 
  # libtool to hard-code these into programs
9069
 
  ;;
9070
 
 
9071
 
cygwin* | mingw* | pw32*)
9072
 
  version_type=windows
9073
 
  shrext_cmds=".dll"
9074
 
  need_version=no
9075
 
  need_lib_prefix=no
9076
 
 
9077
 
  case $GCC,$host_os in
9078
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
9079
 
    library_names_spec='$libname.dll.a'
9080
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9081
 
    postinstall_cmds='base_file=`basename \${file}`~
9082
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9083
 
      dldir=$destdir/`dirname \$dlpath`~
9084
 
      test -d \$dldir || mkdir -p \$dldir~
9085
 
      $install_prog $dir/$dlname \$dldir/$dlname~
9086
 
      chmod a+x \$dldir/$dlname'
9087
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9088
 
      dlpath=$dir/\$dldll~
9089
 
       $rm \$dlpath'
9090
 
    shlibpath_overrides_runpath=yes
9091
 
 
9092
 
    case $host_os in
9093
 
    cygwin*)
9094
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9095
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9096
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9097
 
      ;;
9098
 
    mingw*)
9099
 
      # MinGW DLLs use traditional 'lib' prefix
9100
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9101
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9102
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9103
 
        # It is most probably a Windows format PATH printed by
9104
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9105
 
        # path with ; separators, and with drive letters. We can handle the
9106
 
        # drive letters (cygwin fileutils understands them), so leave them,
9107
 
        # especially as we might pass files found there to a mingw objdump,
9108
 
        # which wouldn't understand a cygwinified path. Ahh.
9109
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9110
 
      else
9111
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9112
 
      fi
9113
 
      ;;
9114
 
    pw32*)
9115
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9116
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9117
 
      ;;
9118
 
    esac
9119
 
    ;;
9120
 
 
9121
 
  *)
9122
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9123
 
    ;;
9124
 
  esac
9125
 
  dynamic_linker='Win32 ld.exe'
9126
 
  # FIXME: first we should search . and the directory the executable is in
9127
 
  shlibpath_var=PATH
9128
 
  ;;
9129
 
 
9130
 
darwin* | rhapsody*)
9131
 
  dynamic_linker="$host_os dyld"
9132
 
  version_type=darwin
9133
 
  need_lib_prefix=no
9134
 
  need_version=no
9135
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9136
 
  soname_spec='${libname}${release}${major}$shared_ext'
9137
 
  shlibpath_overrides_runpath=yes
9138
 
  shlibpath_var=DYLD_LIBRARY_PATH
9139
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9140
 
  
9141
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 
9142
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9143
 
  ;;
9144
 
 
9145
 
dgux*)
9146
 
  version_type=linux
9147
 
  need_lib_prefix=no
9148
 
  need_version=no
9149
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9150
 
  soname_spec='${libname}${release}${shared_ext}$major'
9151
 
  shlibpath_var=LD_LIBRARY_PATH
9152
 
  ;;
9153
 
 
9154
 
freebsd1*)
9155
 
  dynamic_linker=no
9156
 
  ;;
9157
 
 
9158
 
freebsd* | dragonfly*)
9159
 
  # DragonFly does not have aout.  When/if they implement a new
9160
 
  # versioning mechanism, adjust this.
9161
 
  if test -x /usr/bin/objformat; then
9162
 
    objformat=`/usr/bin/objformat`
9163
 
  else
9164
 
    case $host_os in
9165
 
    freebsd[123]*) objformat=aout ;;
9166
 
    *) objformat=elf ;;
9167
 
    esac
9168
 
  fi
9169
 
  version_type=freebsd-$objformat
9170
 
  case $version_type in
9171
 
    freebsd-elf*)
9172
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9173
 
      need_version=no
9174
 
      need_lib_prefix=no
9175
 
      ;;
9176
 
    freebsd-*)
9177
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9178
 
      need_version=yes
9179
 
      ;;
9180
 
  esac
9181
 
  shlibpath_var=LD_LIBRARY_PATH
9182
 
  case $host_os in
9183
 
  freebsd2*)
9184
 
    shlibpath_overrides_runpath=yes
9185
 
    ;;
9186
 
  freebsd3.[01]* | freebsdelf3.[01]*)
9187
 
    shlibpath_overrides_runpath=yes
9188
 
    hardcode_into_libs=yes
9189
 
    ;;
9190
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9191
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9192
 
    shlibpath_overrides_runpath=no
9193
 
    hardcode_into_libs=yes
9194
 
    ;;
9195
 
  *) # from 4.6 on, and DragonFly
9196
 
    shlibpath_overrides_runpath=yes
9197
 
    hardcode_into_libs=yes
9198
 
    ;;
9199
 
  esac
9200
 
  ;;
9201
 
 
9202
 
gnu*)
9203
 
  version_type=linux
9204
 
  need_lib_prefix=no
9205
 
  need_version=no
9206
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9207
 
  soname_spec='${libname}${release}${shared_ext}$major'
9208
 
  shlibpath_var=LD_LIBRARY_PATH
9209
 
  hardcode_into_libs=yes
9210
 
  ;;
9211
 
 
9212
 
hpux9* | hpux10* | hpux11*)
9213
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
9214
 
  # link against other versions.
9215
 
  version_type=sunos
9216
 
  need_lib_prefix=no
9217
 
  need_version=no
9218
 
  case $host_cpu in
9219
 
  ia64*)
9220
 
    shrext_cmds='.so'
9221
 
    hardcode_into_libs=yes
9222
 
    dynamic_linker="$host_os dld.so"
9223
 
    shlibpath_var=LD_LIBRARY_PATH
9224
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9225
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9226
 
    soname_spec='${libname}${release}${shared_ext}$major'
9227
 
    if test "X$HPUX_IA64_MODE" = X32; then
9228
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9229
 
    else
9230
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9231
 
    fi
9232
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9233
 
    ;;
9234
 
   hppa*64*)
9235
 
     shrext_cmds='.sl'
9236
 
     hardcode_into_libs=yes
9237
 
     dynamic_linker="$host_os dld.sl"
9238
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9239
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9240
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9241
 
     soname_spec='${libname}${release}${shared_ext}$major'
9242
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9243
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9244
 
     ;;
9245
 
   *)
9246
 
    shrext_cmds='.sl'
9247
 
    dynamic_linker="$host_os dld.sl"
9248
 
    shlibpath_var=SHLIB_PATH
9249
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9250
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9251
 
    soname_spec='${libname}${release}${shared_ext}$major'
9252
 
    ;;
9253
 
  esac
9254
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9255
 
  postinstall_cmds='chmod 555 $lib'
9256
 
  ;;
9257
 
 
9258
 
interix[3-9]*)
9259
 
  version_type=linux
9260
 
  need_lib_prefix=no
9261
 
  need_version=no
9262
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9263
 
  soname_spec='${libname}${release}${shared_ext}$major'
9264
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9265
 
  shlibpath_var=LD_LIBRARY_PATH
9266
 
  shlibpath_overrides_runpath=no
9267
 
  hardcode_into_libs=yes
9268
 
  ;;
9269
 
 
9270
 
irix5* | irix6* | nonstopux*)
9271
 
  case $host_os in
9272
 
    nonstopux*) version_type=nonstopux ;;
9273
 
    *)
9274
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
9275
 
                version_type=linux
9276
 
        else
9277
 
                version_type=irix
9278
 
        fi ;;
9279
 
  esac
9280
 
  need_lib_prefix=no
9281
 
  need_version=no
9282
 
  soname_spec='${libname}${release}${shared_ext}$major'
9283
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9284
 
  case $host_os in
9285
 
  irix5* | nonstopux*)
9286
 
    libsuff= shlibsuff=
9287
 
    ;;
9288
 
  *)
9289
 
    case $LD in # libtool.m4 will add one of these switches to LD
9290
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9291
 
      libsuff= shlibsuff= libmagic=32-bit;;
9292
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9293
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
9294
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9295
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9296
 
    *) libsuff= shlibsuff= libmagic=never-match;;
9297
 
    esac
9298
 
    ;;
9299
 
  esac
9300
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9301
 
  shlibpath_overrides_runpath=no
9302
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9303
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9304
 
  hardcode_into_libs=yes
9305
 
  ;;
9306
 
 
9307
 
# No shared lib support for Linux oldld, aout, or coff.
9308
 
linux*oldld* | linux*aout* | linux*coff*)
9309
 
  dynamic_linker=no
9310
 
  ;;
9311
 
 
9312
 
# This must be Linux ELF.
9313
 
linux* | k*bsd*-gnu)
9314
 
  version_type=linux
9315
 
  need_lib_prefix=no
9316
 
  need_version=no
9317
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9318
 
  soname_spec='${libname}${release}${shared_ext}$major'
9319
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9320
 
  shlibpath_var=LD_LIBRARY_PATH
9321
 
  shlibpath_overrides_runpath=no
9322
 
  # This implies no fast_install, which is unacceptable.
9323
 
  # Some rework will be needed to allow for fast_install
9324
 
  # before this can be enabled.
9325
 
  hardcode_into_libs=yes
9326
 
 
9327
 
  # Append ld.so.conf contents to the search path
9328
 
  if test -f /etc/ld.so.conf; then
9329
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9330
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9331
 
  fi
9332
 
 
9333
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9334
 
  # powerpc, because MkLinux only supported shared libraries with the
9335
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
9336
 
  # most powerpc-linux boxes support dynamic linking these days and
9337
 
  # people can always --disable-shared, the test was removed, and we
9338
 
  # assume the GNU/Linux dynamic linker is in use.
9339
 
  dynamic_linker='GNU/Linux ld.so'
9340
 
  ;;
9341
 
 
9342
 
netbsdelf*-gnu)
9343
 
  version_type=linux
9344
 
  need_lib_prefix=no
9345
 
  need_version=no
9346
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9347
 
  soname_spec='${libname}${release}${shared_ext}$major'
9348
 
  shlibpath_var=LD_LIBRARY_PATH
9349
 
  shlibpath_overrides_runpath=no
9350
 
  hardcode_into_libs=yes
9351
 
  dynamic_linker='NetBSD ld.elf_so'
9352
 
  ;;
9353
 
 
9354
 
netbsd*)
9355
 
  version_type=sunos
9356
 
  need_lib_prefix=no
9357
 
  need_version=no
9358
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9359
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9360
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9361
 
    dynamic_linker='NetBSD (a.out) ld.so'
9362
 
  else
9363
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9364
 
    soname_spec='${libname}${release}${shared_ext}$major'
9365
 
    dynamic_linker='NetBSD ld.elf_so'
9366
 
  fi
9367
 
  shlibpath_var=LD_LIBRARY_PATH
9368
 
  shlibpath_overrides_runpath=yes
9369
 
  hardcode_into_libs=yes
9370
 
  ;;
9371
 
 
9372
 
newsos6)
9373
 
  version_type=linux
9374
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9375
 
  shlibpath_var=LD_LIBRARY_PATH
9376
 
  shlibpath_overrides_runpath=yes
9377
 
  ;;
9378
 
 
9379
 
nto-qnx*)
9380
 
  version_type=linux
9381
 
  need_lib_prefix=no
9382
 
  need_version=no
9383
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9384
 
  soname_spec='${libname}${release}${shared_ext}$major'
9385
 
  shlibpath_var=LD_LIBRARY_PATH
9386
 
  shlibpath_overrides_runpath=yes
9387
 
  ;;
9388
 
 
9389
 
openbsd*)
9390
 
  version_type=sunos
9391
 
  sys_lib_dlsearch_path_spec="/usr/lib"
9392
 
  need_lib_prefix=no
9393
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9394
 
  case $host_os in
9395
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9396
 
    *)                         need_version=no  ;;
9397
 
  esac
9398
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9399
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9400
 
  shlibpath_var=LD_LIBRARY_PATH
9401
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9402
 
    case $host_os in
9403
 
      openbsd2.[89] | openbsd2.[89].*)
9404
 
        shlibpath_overrides_runpath=no
9405
 
        ;;
9406
 
      *)
9407
 
        shlibpath_overrides_runpath=yes
9408
 
        ;;
9409
 
      esac
9410
 
  else
9411
 
    shlibpath_overrides_runpath=yes
9412
 
  fi
9413
 
  ;;
9414
 
 
9415
 
os2*)
9416
 
  libname_spec='$name'
9417
 
  shrext_cmds=".dll"
9418
 
  need_lib_prefix=no
9419
 
  library_names_spec='$libname${shared_ext} $libname.a'
9420
 
  dynamic_linker='OS/2 ld.exe'
9421
 
  shlibpath_var=LIBPATH
9422
 
  ;;
9423
 
 
9424
 
osf3* | osf4* | osf5*)
9425
 
  version_type=osf
9426
 
  need_lib_prefix=no
9427
 
  need_version=no
9428
 
  soname_spec='${libname}${release}${shared_ext}$major'
9429
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9430
 
  shlibpath_var=LD_LIBRARY_PATH
9431
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9432
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9433
 
  ;;
9434
 
 
9435
 
rdos*)
9436
 
  dynamic_linker=no
9437
 
  ;;
9438
 
 
9439
 
solaris*)
9440
 
  version_type=linux
9441
 
  need_lib_prefix=no
9442
 
  need_version=no
9443
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9444
 
  soname_spec='${libname}${release}${shared_ext}$major'
9445
 
  shlibpath_var=LD_LIBRARY_PATH
9446
 
  shlibpath_overrides_runpath=yes
9447
 
  hardcode_into_libs=yes
9448
 
  # ldd complains unless libraries are executable
9449
 
  postinstall_cmds='chmod +x $lib'
9450
 
  ;;
9451
 
 
9452
 
sunos4*)
9453
 
  version_type=sunos
9454
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9455
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9456
 
  shlibpath_var=LD_LIBRARY_PATH
9457
 
  shlibpath_overrides_runpath=yes
9458
 
  if test "$with_gnu_ld" = yes; then
9459
 
    need_lib_prefix=no
9460
 
  fi
9461
 
  need_version=yes
9462
 
  ;;
9463
 
 
9464
 
sysv4 | sysv4.3*)
9465
 
  version_type=linux
9466
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9467
 
  soname_spec='${libname}${release}${shared_ext}$major'
9468
 
  shlibpath_var=LD_LIBRARY_PATH
9469
 
  case $host_vendor in
9470
 
    sni)
9471
 
      shlibpath_overrides_runpath=no
9472
 
      need_lib_prefix=no
9473
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9474
 
      runpath_var=LD_RUN_PATH
9475
 
      ;;
9476
 
    siemens)
9477
 
      need_lib_prefix=no
9478
 
      ;;
9479
 
    motorola)
9480
 
      need_lib_prefix=no
9481
 
      need_version=no
9482
 
      shlibpath_overrides_runpath=no
9483
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9484
 
      ;;
9485
 
  esac
9486
 
  ;;
9487
 
 
9488
 
sysv4*MP*)
9489
 
  if test -d /usr/nec ;then
9490
 
    version_type=linux
9491
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9492
 
    soname_spec='$libname${shared_ext}.$major'
9493
 
    shlibpath_var=LD_LIBRARY_PATH
9494
 
  fi
9495
 
  ;;
9496
 
 
9497
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9498
 
  version_type=freebsd-elf
9499
 
  need_lib_prefix=no
9500
 
  need_version=no
9501
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9502
 
  soname_spec='${libname}${release}${shared_ext}$major'
9503
 
  shlibpath_var=LD_LIBRARY_PATH
9504
 
  hardcode_into_libs=yes
9505
 
  if test "$with_gnu_ld" = yes; then
9506
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9507
 
    shlibpath_overrides_runpath=no
9508
 
  else
9509
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9510
 
    shlibpath_overrides_runpath=yes
9511
 
    case $host_os in
9512
 
      sco3.2v5*)
9513
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9514
 
        ;;
9515
 
    esac
9516
 
  fi
9517
 
  sys_lib_dlsearch_path_spec='/usr/lib'
9518
 
  ;;
9519
 
 
9520
 
uts4*)
9521
 
  version_type=linux
9522
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9523
 
  soname_spec='${libname}${release}${shared_ext}$major'
9524
 
  shlibpath_var=LD_LIBRARY_PATH
9525
 
  ;;
9526
 
 
9527
 
*)
9528
 
  dynamic_linker=no
9529
 
  ;;
9530
 
esac
9531
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9532
 
echo "${ECHO_T}$dynamic_linker" >&6; }
9533
 
test "$dynamic_linker" = no && can_build_shared=no
9534
 
 
9535
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9536
 
if test "$GCC" = yes; then
9537
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9538
 
fi
9539
 
 
9540
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9541
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9542
 
hardcode_action=
9543
 
if test -n "$hardcode_libdir_flag_spec" || \
9544
 
   test -n "$runpath_var" || \
9545
 
   test "X$hardcode_automatic" = "Xyes" ; then
9546
 
 
9547
 
  # We can hardcode non-existant directories.
9548
 
  if test "$hardcode_direct" != no &&
9549
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9550
 
     # have to relink, otherwise we might link with an installed library
9551
 
     # when we should be linking with a yet-to-be-installed one
9552
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9553
 
     test "$hardcode_minus_L" != no; then
9554
 
    # Linking always hardcodes the temporary library directory.
9555
 
    hardcode_action=relink
9556
 
  else
9557
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9558
 
    hardcode_action=immediate
9559
 
  fi
9560
 
else
9561
 
  # We cannot hardcode anything, or else we can only hardcode existing
9562
 
  # directories.
9563
 
  hardcode_action=unsupported
9564
 
fi
9565
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9566
 
echo "${ECHO_T}$hardcode_action" >&6; }
9567
 
 
9568
 
if test "$hardcode_action" = relink; then
9569
 
  # Fast installation is not supported
9570
 
  enable_fast_install=no
9571
 
elif test "$shlibpath_overrides_runpath" = yes ||
9572
 
     test "$enable_shared" = no; then
9573
 
  # Fast installation is not necessary
9574
 
  enable_fast_install=needless
9575
 
fi
9576
 
 
9577
 
striplib=
9578
 
old_striplib=
9579
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9580
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9581
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9582
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9583
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9584
 
  { echo "$as_me:$LINENO: result: yes" >&5
9585
 
echo "${ECHO_T}yes" >&6; }
9586
 
else
9587
 
# FIXME - insert some real tests, host_os isn't really good enough
9588
 
  case $host_os in
9589
 
   darwin*)
9590
 
       if test -n "$STRIP" ; then
9591
 
         striplib="$STRIP -x"
9592
 
         old_striplib="$STRIP -S"
9593
 
         { echo "$as_me:$LINENO: result: yes" >&5
9594
 
echo "${ECHO_T}yes" >&6; }
9595
 
       else
9596
 
  { echo "$as_me:$LINENO: result: no" >&5
9597
 
echo "${ECHO_T}no" >&6; }
9598
 
fi
9599
 
       ;;
9600
 
   *)
9601
 
  { echo "$as_me:$LINENO: result: no" >&5
9602
 
echo "${ECHO_T}no" >&6; }
9603
 
    ;;
9604
 
  esac
9605
 
fi
9606
 
 
9607
 
if test "x$enable_dlopen" != xyes; then
9608
 
  enable_dlopen=unknown
9609
 
  enable_dlopen_self=unknown
9610
 
  enable_dlopen_self_static=unknown
9611
 
else
9612
 
  lt_cv_dlopen=no
9613
 
  lt_cv_dlopen_libs=
9614
 
 
9615
 
  case $host_os in
9616
 
  beos*)
9617
 
    lt_cv_dlopen="load_add_on"
9618
 
    lt_cv_dlopen_libs=
9619
 
    lt_cv_dlopen_self=yes
9620
 
    ;;
9621
 
 
9622
 
  mingw* | pw32*)
9623
 
    lt_cv_dlopen="LoadLibrary"
9624
 
    lt_cv_dlopen_libs=
9625
 
   ;;
9626
 
 
9627
 
  cygwin*)
9628
 
    lt_cv_dlopen="dlopen"
9629
 
    lt_cv_dlopen_libs=
9630
 
   ;;
9631
 
 
9632
 
  darwin*)
9633
 
  # if libdl is installed we need to link against it
9634
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9635
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9636
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9637
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9638
 
else
9639
 
  ac_check_lib_save_LIBS=$LIBS
9640
 
LIBS="-ldl  $LIBS"
9641
 
cat >conftest.$ac_ext <<_ACEOF
9642
 
/* confdefs.h.  */
9643
 
_ACEOF
9644
 
cat confdefs.h >>conftest.$ac_ext
9645
 
cat >>conftest.$ac_ext <<_ACEOF
9646
 
/* end confdefs.h.  */
9647
 
 
9648
 
/* Override any GCC internal prototype to avoid an error.
9649
 
   Use char because int might match the return type of a GCC
9650
 
   builtin and then its argument prototype would still apply.  */
9651
 
#ifdef __cplusplus
9652
 
extern "C"
9653
 
#endif
9654
 
char dlopen ();
9655
 
int
9656
 
main ()
9657
 
{
9658
 
return dlopen ();
9659
 
  ;
9660
 
  return 0;
9661
 
}
9662
 
_ACEOF
9663
 
rm -f conftest.$ac_objext conftest$ac_exeext
9664
 
if { (ac_try="$ac_link"
9665
 
case "(($ac_try" in
9666
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9667
 
  *) ac_try_echo=$ac_try;;
9668
 
esac
9669
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9670
 
  (eval "$ac_link") 2>conftest.er1
9671
 
  ac_status=$?
9672
 
  grep -v '^ *+' conftest.er1 >conftest.err
9673
 
  rm -f conftest.er1
9674
 
  cat conftest.err >&5
9675
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676
 
  (exit $ac_status); } && {
9677
 
         test -z "$ac_c_werror_flag" ||
9678
 
         test ! -s conftest.err
9679
 
       } && test -s conftest$ac_exeext &&
9680
 
       $as_test_x conftest$ac_exeext; then
9681
 
  ac_cv_lib_dl_dlopen=yes
9682
 
else
9683
 
  echo "$as_me: failed program was:" >&5
9684
 
sed 's/^/| /' conftest.$ac_ext >&5
9685
 
 
9686
 
        ac_cv_lib_dl_dlopen=no
9687
 
fi
9688
 
 
9689
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9690
 
      conftest$ac_exeext conftest.$ac_ext
9691
 
LIBS=$ac_check_lib_save_LIBS
9692
 
fi
9693
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9694
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9695
 
if test $ac_cv_lib_dl_dlopen = yes; then
9696
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9697
 
else
9698
 
  
9699
 
    lt_cv_dlopen="dyld"
9700
 
    lt_cv_dlopen_libs=
9701
 
    lt_cv_dlopen_self=yes
9702
 
    
9703
 
fi
9704
 
 
9705
 
   ;;
9706
 
 
9707
 
  *)
9708
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9709
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9710
 
if test "${ac_cv_func_shl_load+set}" = set; then
9711
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9712
 
else
9713
 
  cat >conftest.$ac_ext <<_ACEOF
9714
 
/* confdefs.h.  */
9715
 
_ACEOF
9716
 
cat confdefs.h >>conftest.$ac_ext
9717
 
cat >>conftest.$ac_ext <<_ACEOF
9718
 
/* end confdefs.h.  */
9719
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9720
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9721
 
#define shl_load innocuous_shl_load
9722
 
 
9723
 
/* System header to define __stub macros and hopefully few prototypes,
9724
 
    which can conflict with char shl_load (); below.
9725
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9726
 
    <limits.h> exists even on freestanding compilers.  */
9727
 
 
9728
 
#ifdef __STDC__
9729
 
# include <limits.h>
9730
 
#else
9731
 
# include <assert.h>
9732
 
#endif
9733
 
 
9734
 
#undef shl_load
9735
 
 
9736
 
/* Override any GCC internal prototype to avoid an error.
9737
 
   Use char because int might match the return type of a GCC
9738
 
   builtin and then its argument prototype would still apply.  */
9739
 
#ifdef __cplusplus
9740
 
extern "C"
9741
 
#endif
9742
 
char shl_load ();
9743
 
/* The GNU C library defines this for functions which it implements
9744
 
    to always fail with ENOSYS.  Some functions are actually named
9745
 
    something starting with __ and the normal name is an alias.  */
9746
 
#if defined __stub_shl_load || defined __stub___shl_load
9747
 
choke me
9748
 
#endif
9749
 
 
9750
 
int
9751
 
main ()
9752
 
{
9753
 
return shl_load ();
9754
 
  ;
9755
 
  return 0;
9756
 
}
9757
 
_ACEOF
9758
 
rm -f conftest.$ac_objext conftest$ac_exeext
9759
 
if { (ac_try="$ac_link"
9760
 
case "(($ac_try" in
9761
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9762
 
  *) ac_try_echo=$ac_try;;
9763
 
esac
9764
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9765
 
  (eval "$ac_link") 2>conftest.er1
9766
 
  ac_status=$?
9767
 
  grep -v '^ *+' conftest.er1 >conftest.err
9768
 
  rm -f conftest.er1
9769
 
  cat conftest.err >&5
9770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771
 
  (exit $ac_status); } && {
9772
 
         test -z "$ac_c_werror_flag" ||
9773
 
         test ! -s conftest.err
9774
 
       } && test -s conftest$ac_exeext &&
9775
 
       $as_test_x conftest$ac_exeext; then
9776
 
  ac_cv_func_shl_load=yes
9777
 
else
9778
 
  echo "$as_me: failed program was:" >&5
9779
 
sed 's/^/| /' conftest.$ac_ext >&5
9780
 
 
9781
 
        ac_cv_func_shl_load=no
9782
 
fi
9783
 
 
9784
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9785
 
      conftest$ac_exeext conftest.$ac_ext
9786
 
fi
9787
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9788
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9789
 
if test $ac_cv_func_shl_load = yes; then
9790
 
  lt_cv_dlopen="shl_load"
9791
 
else
9792
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9793
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9794
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9796
 
else
9797
 
  ac_check_lib_save_LIBS=$LIBS
9798
 
LIBS="-ldld  $LIBS"
9799
 
cat >conftest.$ac_ext <<_ACEOF
9800
 
/* confdefs.h.  */
9801
 
_ACEOF
9802
 
cat confdefs.h >>conftest.$ac_ext
9803
 
cat >>conftest.$ac_ext <<_ACEOF
9804
 
/* end confdefs.h.  */
9805
 
 
9806
 
/* Override any GCC internal prototype to avoid an error.
9807
 
   Use char because int might match the return type of a GCC
9808
 
   builtin and then its argument prototype would still apply.  */
9809
 
#ifdef __cplusplus
9810
 
extern "C"
9811
 
#endif
9812
 
char shl_load ();
9813
 
int
9814
 
main ()
9815
 
{
9816
 
return shl_load ();
9817
 
  ;
9818
 
  return 0;
9819
 
}
9820
 
_ACEOF
9821
 
rm -f conftest.$ac_objext conftest$ac_exeext
9822
 
if { (ac_try="$ac_link"
9823
 
case "(($ac_try" in
9824
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9825
 
  *) ac_try_echo=$ac_try;;
9826
 
esac
9827
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9828
 
  (eval "$ac_link") 2>conftest.er1
9829
 
  ac_status=$?
9830
 
  grep -v '^ *+' conftest.er1 >conftest.err
9831
 
  rm -f conftest.er1
9832
 
  cat conftest.err >&5
9833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834
 
  (exit $ac_status); } && {
9835
 
         test -z "$ac_c_werror_flag" ||
9836
 
         test ! -s conftest.err
9837
 
       } && test -s conftest$ac_exeext &&
9838
 
       $as_test_x conftest$ac_exeext; then
9839
 
  ac_cv_lib_dld_shl_load=yes
9840
 
else
9841
 
  echo "$as_me: failed program was:" >&5
9842
 
sed 's/^/| /' conftest.$ac_ext >&5
9843
 
 
9844
 
        ac_cv_lib_dld_shl_load=no
9845
 
fi
9846
 
 
9847
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9848
 
      conftest$ac_exeext conftest.$ac_ext
9849
 
LIBS=$ac_check_lib_save_LIBS
9850
 
fi
9851
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9852
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9853
 
if test $ac_cv_lib_dld_shl_load = yes; then
9854
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9855
 
else
9856
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9857
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9858
 
if test "${ac_cv_func_dlopen+set}" = set; then
9859
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9860
 
else
9861
 
  cat >conftest.$ac_ext <<_ACEOF
9862
 
/* confdefs.h.  */
9863
 
_ACEOF
9864
 
cat confdefs.h >>conftest.$ac_ext
9865
 
cat >>conftest.$ac_ext <<_ACEOF
9866
 
/* end confdefs.h.  */
9867
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9868
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9869
 
#define dlopen innocuous_dlopen
9870
 
 
9871
 
/* System header to define __stub macros and hopefully few prototypes,
9872
 
    which can conflict with char dlopen (); below.
9873
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9874
 
    <limits.h> exists even on freestanding compilers.  */
9875
 
 
9876
 
#ifdef __STDC__
9877
 
# include <limits.h>
9878
 
#else
9879
 
# include <assert.h>
9880
 
#endif
9881
 
 
9882
 
#undef dlopen
9883
 
 
9884
 
/* Override any GCC internal prototype to avoid an error.
9885
 
   Use char because int might match the return type of a GCC
9886
 
   builtin and then its argument prototype would still apply.  */
9887
 
#ifdef __cplusplus
9888
 
extern "C"
9889
 
#endif
9890
 
char dlopen ();
9891
 
/* The GNU C library defines this for functions which it implements
9892
 
    to always fail with ENOSYS.  Some functions are actually named
9893
 
    something starting with __ and the normal name is an alias.  */
9894
 
#if defined __stub_dlopen || defined __stub___dlopen
9895
 
choke me
9896
 
#endif
9897
 
 
9898
 
int
9899
 
main ()
9900
 
{
9901
 
return dlopen ();
9902
 
  ;
9903
 
  return 0;
9904
 
}
9905
 
_ACEOF
9906
 
rm -f conftest.$ac_objext conftest$ac_exeext
9907
 
if { (ac_try="$ac_link"
9908
 
case "(($ac_try" in
9909
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9910
 
  *) ac_try_echo=$ac_try;;
9911
 
esac
9912
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9913
 
  (eval "$ac_link") 2>conftest.er1
9914
 
  ac_status=$?
9915
 
  grep -v '^ *+' conftest.er1 >conftest.err
9916
 
  rm -f conftest.er1
9917
 
  cat conftest.err >&5
9918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919
 
  (exit $ac_status); } && {
9920
 
         test -z "$ac_c_werror_flag" ||
9921
 
         test ! -s conftest.err
9922
 
       } && test -s conftest$ac_exeext &&
9923
 
       $as_test_x conftest$ac_exeext; then
9924
 
  ac_cv_func_dlopen=yes
9925
 
else
9926
 
  echo "$as_me: failed program was:" >&5
9927
 
sed 's/^/| /' conftest.$ac_ext >&5
9928
 
 
9929
 
        ac_cv_func_dlopen=no
9930
 
fi
9931
 
 
9932
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9933
 
      conftest$ac_exeext conftest.$ac_ext
9934
 
fi
9935
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9936
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9937
 
if test $ac_cv_func_dlopen = yes; then
9938
 
  lt_cv_dlopen="dlopen"
9939
 
else
9940
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9941
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9942
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9943
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9944
 
else
9945
 
  ac_check_lib_save_LIBS=$LIBS
9946
 
LIBS="-ldl  $LIBS"
9947
 
cat >conftest.$ac_ext <<_ACEOF
9948
 
/* confdefs.h.  */
9949
 
_ACEOF
9950
 
cat confdefs.h >>conftest.$ac_ext
9951
 
cat >>conftest.$ac_ext <<_ACEOF
9952
 
/* end confdefs.h.  */
9953
 
 
9954
 
/* Override any GCC internal prototype to avoid an error.
9955
 
   Use char because int might match the return type of a GCC
9956
 
   builtin and then its argument prototype would still apply.  */
9957
 
#ifdef __cplusplus
9958
 
extern "C"
9959
 
#endif
9960
 
char dlopen ();
9961
 
int
9962
 
main ()
9963
 
{
9964
 
return dlopen ();
9965
 
  ;
9966
 
  return 0;
9967
 
}
9968
 
_ACEOF
9969
 
rm -f conftest.$ac_objext conftest$ac_exeext
9970
 
if { (ac_try="$ac_link"
9971
 
case "(($ac_try" in
9972
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9973
 
  *) ac_try_echo=$ac_try;;
9974
 
esac
9975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9976
 
  (eval "$ac_link") 2>conftest.er1
9977
 
  ac_status=$?
9978
 
  grep -v '^ *+' conftest.er1 >conftest.err
9979
 
  rm -f conftest.er1
9980
 
  cat conftest.err >&5
9981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982
 
  (exit $ac_status); } && {
9983
 
         test -z "$ac_c_werror_flag" ||
9984
 
         test ! -s conftest.err
9985
 
       } && test -s conftest$ac_exeext &&
9986
 
       $as_test_x conftest$ac_exeext; then
9987
 
  ac_cv_lib_dl_dlopen=yes
9988
 
else
9989
 
  echo "$as_me: failed program was:" >&5
9990
 
sed 's/^/| /' conftest.$ac_ext >&5
9991
 
 
9992
 
        ac_cv_lib_dl_dlopen=no
9993
 
fi
9994
 
 
9995
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9996
 
      conftest$ac_exeext conftest.$ac_ext
9997
 
LIBS=$ac_check_lib_save_LIBS
9998
 
fi
9999
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10000
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10001
 
if test $ac_cv_lib_dl_dlopen = yes; then
10002
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10003
 
else
10004
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10005
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10006
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10007
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10008
 
else
10009
 
  ac_check_lib_save_LIBS=$LIBS
10010
 
LIBS="-lsvld  $LIBS"
10011
 
cat >conftest.$ac_ext <<_ACEOF
10012
 
/* confdefs.h.  */
10013
 
_ACEOF
10014
 
cat confdefs.h >>conftest.$ac_ext
10015
 
cat >>conftest.$ac_ext <<_ACEOF
10016
 
/* end confdefs.h.  */
10017
 
 
10018
 
/* Override any GCC internal prototype to avoid an error.
10019
 
   Use char because int might match the return type of a GCC
10020
 
   builtin and then its argument prototype would still apply.  */
10021
 
#ifdef __cplusplus
10022
 
extern "C"
10023
 
#endif
10024
 
char dlopen ();
10025
 
int
10026
 
main ()
10027
 
{
10028
 
return dlopen ();
10029
 
  ;
10030
 
  return 0;
10031
 
}
10032
 
_ACEOF
10033
 
rm -f conftest.$ac_objext conftest$ac_exeext
10034
 
if { (ac_try="$ac_link"
10035
 
case "(($ac_try" in
10036
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10037
 
  *) ac_try_echo=$ac_try;;
10038
 
esac
10039
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10040
 
  (eval "$ac_link") 2>conftest.er1
10041
 
  ac_status=$?
10042
 
  grep -v '^ *+' conftest.er1 >conftest.err
10043
 
  rm -f conftest.er1
10044
 
  cat conftest.err >&5
10045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046
 
  (exit $ac_status); } && {
10047
 
         test -z "$ac_c_werror_flag" ||
10048
 
         test ! -s conftest.err
10049
 
       } && test -s conftest$ac_exeext &&
10050
 
       $as_test_x conftest$ac_exeext; then
10051
 
  ac_cv_lib_svld_dlopen=yes
10052
 
else
10053
 
  echo "$as_me: failed program was:" >&5
10054
 
sed 's/^/| /' conftest.$ac_ext >&5
10055
 
 
10056
 
        ac_cv_lib_svld_dlopen=no
10057
 
fi
10058
 
 
10059
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10060
 
      conftest$ac_exeext conftest.$ac_ext
10061
 
LIBS=$ac_check_lib_save_LIBS
10062
 
fi
10063
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10064
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10065
 
if test $ac_cv_lib_svld_dlopen = yes; then
10066
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10067
 
else
10068
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10069
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10070
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10071
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10072
 
else
10073
 
  ac_check_lib_save_LIBS=$LIBS
10074
 
LIBS="-ldld  $LIBS"
10075
 
cat >conftest.$ac_ext <<_ACEOF
10076
 
/* confdefs.h.  */
10077
 
_ACEOF
10078
 
cat confdefs.h >>conftest.$ac_ext
10079
 
cat >>conftest.$ac_ext <<_ACEOF
10080
 
/* end confdefs.h.  */
10081
 
 
10082
 
/* Override any GCC internal prototype to avoid an error.
10083
 
   Use char because int might match the return type of a GCC
10084
 
   builtin and then its argument prototype would still apply.  */
10085
 
#ifdef __cplusplus
10086
 
extern "C"
10087
 
#endif
10088
 
char dld_link ();
10089
 
int
10090
 
main ()
10091
 
{
10092
 
return dld_link ();
10093
 
  ;
10094
 
  return 0;
10095
 
}
10096
 
_ACEOF
10097
 
rm -f conftest.$ac_objext conftest$ac_exeext
10098
 
if { (ac_try="$ac_link"
10099
 
case "(($ac_try" in
10100
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10101
 
  *) ac_try_echo=$ac_try;;
10102
 
esac
10103
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10104
 
  (eval "$ac_link") 2>conftest.er1
10105
 
  ac_status=$?
10106
 
  grep -v '^ *+' conftest.er1 >conftest.err
10107
 
  rm -f conftest.er1
10108
 
  cat conftest.err >&5
10109
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110
 
  (exit $ac_status); } && {
10111
 
         test -z "$ac_c_werror_flag" ||
10112
 
         test ! -s conftest.err
10113
 
       } && test -s conftest$ac_exeext &&
10114
 
       $as_test_x conftest$ac_exeext; then
10115
 
  ac_cv_lib_dld_dld_link=yes
10116
 
else
10117
 
  echo "$as_me: failed program was:" >&5
10118
 
sed 's/^/| /' conftest.$ac_ext >&5
10119
 
 
10120
 
        ac_cv_lib_dld_dld_link=no
10121
 
fi
10122
 
 
10123
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10124
 
      conftest$ac_exeext conftest.$ac_ext
10125
 
LIBS=$ac_check_lib_save_LIBS
10126
 
fi
10127
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10128
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10129
 
if test $ac_cv_lib_dld_dld_link = yes; then
10130
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10131
 
fi
10132
 
 
10133
 
              
10134
 
fi
10135
 
 
10136
 
            
10137
 
fi
10138
 
 
10139
 
          
10140
 
fi
10141
 
 
10142
 
        
10143
 
fi
10144
 
 
10145
 
      
10146
 
fi
10147
 
 
10148
 
    ;;
10149
 
  esac
10150
 
 
10151
 
  if test "x$lt_cv_dlopen" != xno; then
10152
 
    enable_dlopen=yes
10153
 
  else
10154
 
    enable_dlopen=no
10155
 
  fi
10156
 
 
10157
 
  case $lt_cv_dlopen in
10158
 
  dlopen)
10159
 
    save_CPPFLAGS="$CPPFLAGS"
10160
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10161
 
 
10162
 
    save_LDFLAGS="$LDFLAGS"
10163
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10164
 
 
10165
 
    save_LIBS="$LIBS"
10166
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
10167
 
 
10168
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10169
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10170
 
if test "${lt_cv_dlopen_self+set}" = set; then
10171
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10172
 
else
10173
 
          if test "$cross_compiling" = yes; then :
10174
 
  lt_cv_dlopen_self=cross
10175
 
else
10176
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10177
 
  lt_status=$lt_dlunknown
10178
 
  cat > conftest.$ac_ext <<EOF
10179
 
#line __oline__ "configure"
10180
 
#include "confdefs.h"
10181
 
 
10182
 
#if HAVE_DLFCN_H
10183
 
#include <dlfcn.h>
10184
 
#endif
10185
 
 
10186
 
#include <stdio.h>
10187
 
 
10188
 
#ifdef RTLD_GLOBAL
10189
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10190
 
#else
10191
 
#  ifdef DL_GLOBAL
10192
 
#    define LT_DLGLOBAL         DL_GLOBAL
10193
 
#  else
10194
 
#    define LT_DLGLOBAL         0
10195
 
#  endif
10196
 
#endif
10197
 
 
10198
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10199
 
   find out it does not work in some platform. */
10200
 
#ifndef LT_DLLAZY_OR_NOW
10201
 
#  ifdef RTLD_LAZY
10202
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10203
 
#  else
10204
 
#    ifdef DL_LAZY
10205
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10206
 
#    else
10207
 
#      ifdef RTLD_NOW
10208
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10209
 
#      else
10210
 
#        ifdef DL_NOW
10211
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10212
 
#        else
10213
 
#          define LT_DLLAZY_OR_NOW      0
10214
 
#        endif
10215
 
#      endif
10216
 
#    endif
10217
 
#  endif
10218
 
#endif
10219
 
 
10220
 
#ifdef __cplusplus
10221
 
extern "C" void exit (int);
10222
 
#endif
10223
 
 
10224
 
void fnord() { int i=42;}
10225
 
int main ()
10226
 
{
10227
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10228
 
  int status = $lt_dlunknown;
10229
 
 
10230
 
  if (self)
10231
 
    {
10232
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10233
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10234
 
      /* dlclose (self); */
10235
 
    }
10236
 
  else
10237
 
    puts (dlerror ());
10238
 
 
10239
 
    exit (status);
10240
 
}
10241
 
EOF
10242
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10243
 
  (eval $ac_link) 2>&5
10244
 
  ac_status=$?
10245
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10247
 
    (./conftest; exit; ) >&5 2>/dev/null
10248
 
    lt_status=$?
10249
 
    case x$lt_status in
10250
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10251
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10252
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10253
 
    esac
10254
 
  else :
10255
 
    # compilation failed
10256
 
    lt_cv_dlopen_self=no
10257
 
  fi
10258
 
fi
10259
 
rm -fr conftest*
10260
 
 
10261
 
    
10262
 
fi
10263
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10264
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10265
 
 
10266
 
    if test "x$lt_cv_dlopen_self" = xyes; then
10267
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10268
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10269
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10270
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
10271
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10272
 
else
10273
 
          if test "$cross_compiling" = yes; then :
10274
 
  lt_cv_dlopen_self_static=cross
10275
 
else
10276
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10277
 
  lt_status=$lt_dlunknown
10278
 
  cat > conftest.$ac_ext <<EOF
10279
 
#line __oline__ "configure"
10280
 
#include "confdefs.h"
10281
 
 
10282
 
#if HAVE_DLFCN_H
10283
 
#include <dlfcn.h>
10284
 
#endif
10285
 
 
10286
 
#include <stdio.h>
10287
 
 
10288
 
#ifdef RTLD_GLOBAL
10289
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10290
 
#else
10291
 
#  ifdef DL_GLOBAL
10292
 
#    define LT_DLGLOBAL         DL_GLOBAL
10293
 
#  else
10294
 
#    define LT_DLGLOBAL         0
10295
 
#  endif
10296
 
#endif
10297
 
 
10298
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10299
 
   find out it does not work in some platform. */
10300
 
#ifndef LT_DLLAZY_OR_NOW
10301
 
#  ifdef RTLD_LAZY
10302
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10303
 
#  else
10304
 
#    ifdef DL_LAZY
10305
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10306
 
#    else
10307
 
#      ifdef RTLD_NOW
10308
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10309
 
#      else
10310
 
#        ifdef DL_NOW
10311
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10312
 
#        else
10313
 
#          define LT_DLLAZY_OR_NOW      0
10314
 
#        endif
10315
 
#      endif
10316
 
#    endif
10317
 
#  endif
10318
 
#endif
10319
 
 
10320
 
#ifdef __cplusplus
10321
 
extern "C" void exit (int);
10322
 
#endif
10323
 
 
10324
 
void fnord() { int i=42;}
10325
 
int main ()
10326
 
{
10327
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10328
 
  int status = $lt_dlunknown;
10329
 
 
10330
 
  if (self)
10331
 
    {
10332
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10333
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10334
 
      /* dlclose (self); */
10335
 
    }
10336
 
  else
10337
 
    puts (dlerror ());
10338
 
 
10339
 
    exit (status);
10340
 
}
10341
 
EOF
10342
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10343
 
  (eval $ac_link) 2>&5
10344
 
  ac_status=$?
10345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10347
 
    (./conftest; exit; ) >&5 2>/dev/null
10348
 
    lt_status=$?
10349
 
    case x$lt_status in
10350
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10351
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10352
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10353
 
    esac
10354
 
  else :
10355
 
    # compilation failed
10356
 
    lt_cv_dlopen_self_static=no
10357
 
  fi
10358
 
fi
10359
 
rm -fr conftest*
10360
 
 
10361
 
      
10362
 
fi
10363
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10364
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10365
 
    fi
10366
 
 
10367
 
    CPPFLAGS="$save_CPPFLAGS"
10368
 
    LDFLAGS="$save_LDFLAGS"
10369
 
    LIBS="$save_LIBS"
10370
 
    ;;
10371
 
  esac
10372
 
 
10373
 
  case $lt_cv_dlopen_self in
10374
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10375
 
  *) enable_dlopen_self=unknown ;;
10376
 
  esac
10377
 
 
10378
 
  case $lt_cv_dlopen_self_static in
10379
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10380
 
  *) enable_dlopen_self_static=unknown ;;
10381
 
  esac
10382
 
fi
10383
 
 
10384
 
 
10385
 
# Report which library types will actually be built
10386
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10387
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10388
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10389
 
echo "${ECHO_T}$can_build_shared" >&6; }
10390
 
 
10391
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10392
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10393
 
test "$can_build_shared" = "no" && enable_shared=no
10394
 
 
10395
 
# On AIX, shared libraries and static libraries use the same namespace, and
10396
 
# are all built from PIC.
10397
 
case $host_os in
10398
 
aix3*)
10399
 
  test "$enable_shared" = yes && enable_static=no
10400
 
  if test -n "$RANLIB"; then
10401
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10402
 
    postinstall_cmds='$RANLIB $lib'
10403
 
  fi
10404
 
  ;;
10405
 
 
10406
 
aix4* | aix5*)
10407
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10408
 
    test "$enable_shared" = yes && enable_static=no
10409
 
  fi
10410
 
    ;;
10411
 
esac
10412
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10413
 
echo "${ECHO_T}$enable_shared" >&6; }
10414
 
 
10415
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10416
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10417
 
# Make sure either enable_shared or enable_static is yes.
10418
 
test "$enable_shared" = yes || enable_static=yes
10419
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10420
 
echo "${ECHO_T}$enable_static" >&6; }
10421
 
 
10422
 
# The else clause should only fire when bootstrapping the
10423
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10424
 
# with your package, and you will get complaints that there are
10425
 
# no rules to generate ltmain.sh.
10426
 
if test -f "$ltmain"; then
10427
 
  # See if we are running on zsh, and set the options which allow our commands through
10428
 
  # without removal of \ escapes.
10429
 
  if test -n "${ZSH_VERSION+set}" ; then
10430
 
    setopt NO_GLOB_SUBST
10431
 
  fi
10432
 
  # Now quote all the things that may contain metacharacters while being
10433
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10434
 
  # variables and quote the copies for generation of the libtool script.
10435
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10436
 
    SED SHELL STRIP \
10437
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10438
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10439
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10440
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10441
 
    lt_cv_sys_global_symbol_to_c_name_address \
10442
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10443
 
    old_postinstall_cmds old_postuninstall_cmds \
10444
 
    compiler \
10445
 
    CC \
10446
 
    LD \
10447
 
    lt_prog_compiler_wl \
10448
 
    lt_prog_compiler_pic \
10449
 
    lt_prog_compiler_static \
10450
 
    lt_prog_compiler_no_builtin_flag \
10451
 
    export_dynamic_flag_spec \
10452
 
    thread_safe_flag_spec \
10453
 
    whole_archive_flag_spec \
10454
 
    enable_shared_with_static_runtimes \
10455
 
    old_archive_cmds \
10456
 
    old_archive_from_new_cmds \
10457
 
    predep_objects \
10458
 
    postdep_objects \
10459
 
    predeps \
10460
 
    postdeps \
10461
 
    compiler_lib_search_path \
10462
 
    archive_cmds \
10463
 
    archive_expsym_cmds \
10464
 
    postinstall_cmds \
10465
 
    postuninstall_cmds \
10466
 
    old_archive_from_expsyms_cmds \
10467
 
    allow_undefined_flag \
10468
 
    no_undefined_flag \
10469
 
    export_symbols_cmds \
10470
 
    hardcode_libdir_flag_spec \
10471
 
    hardcode_libdir_flag_spec_ld \
10472
 
    hardcode_libdir_separator \
10473
 
    hardcode_automatic \
10474
 
    module_cmds \
10475
 
    module_expsym_cmds \
10476
 
    lt_cv_prog_compiler_c_o \
10477
 
    fix_srcfile_path \
10478
 
    exclude_expsyms \
10479
 
    include_expsyms; do
10480
 
 
10481
 
    case $var in
10482
 
    old_archive_cmds | \
10483
 
    old_archive_from_new_cmds | \
10484
 
    archive_cmds | \
10485
 
    archive_expsym_cmds | \
10486
 
    module_cmds | \
10487
 
    module_expsym_cmds | \
10488
 
    old_archive_from_expsyms_cmds | \
10489
 
    export_symbols_cmds | \
10490
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10491
 
    postinstall_cmds | postuninstall_cmds | \
10492
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10493
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10494
 
      # Double-quote double-evaled strings.
10495
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10496
 
      ;;
10497
 
    *)
10498
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10499
 
      ;;
10500
 
    esac
10501
 
  done
10502
 
 
10503
 
  case $lt_echo in
10504
 
  *'\$0 --fallback-echo"')
10505
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10506
 
    ;;
10507
 
  esac
10508
 
 
10509
 
cfgfile="${ofile}T"
10510
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10511
 
  $rm -f "$cfgfile"
10512
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10513
 
echo "$as_me: creating $ofile" >&6;}
10514
 
 
10515
 
  cat <<__EOF__ >> "$cfgfile"
10516
 
#! $SHELL
10517
 
 
10518
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10519
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10520
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10521
 
#
10522
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10523
 
# Free Software Foundation, Inc.
10524
 
#
10525
 
# This file is part of GNU Libtool:
10526
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10527
 
#
10528
 
# This program is free software; you can redistribute it and/or modify
10529
 
# it under the terms of the GNU General Public License as published by
10530
 
# the Free Software Foundation; either version 2 of the License, or
10531
 
# (at your option) any later version.
10532
 
#
10533
 
# This program is distributed in the hope that it will be useful, but
10534
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10535
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10536
 
# General Public License for more details.
10537
 
#
10538
 
# You should have received a copy of the GNU General Public License
10539
 
# along with this program; if not, write to the Free Software
10540
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10541
 
#
10542
 
# As a special exception to the GNU General Public License, if you
10543
 
# distribute this file as part of a program that contains a
10544
 
# configuration script generated by Autoconf, you may include it under
10545
 
# the same distribution terms that you use for the rest of that program.
10546
 
 
10547
 
# A sed program that does not truncate output.
10548
 
SED=$lt_SED
10549
 
 
10550
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10551
 
Xsed="$SED -e 1s/^X//"
10552
 
 
10553
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10554
 
# if CDPATH is set.
10555
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10556
 
 
10557
 
# The names of the tagged configurations supported by this script.
10558
 
available_tags=
10559
 
 
10560
 
# ### BEGIN LIBTOOL CONFIG
10561
 
 
10562
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10563
 
 
10564
 
# Shell to use when invoking shell scripts.
10565
 
SHELL=$lt_SHELL
10566
 
 
10567
 
# Whether or not to build shared libraries.
10568
 
build_libtool_libs=$enable_shared
10569
 
 
10570
 
# Whether or not to build static libraries.
10571
 
build_old_libs=$enable_static
10572
 
 
10573
 
# Whether or not to add -lc for building shared libraries.
10574
 
build_libtool_need_lc=$archive_cmds_need_lc
10575
 
 
10576
 
# Whether or not to disallow shared libs when runtime libs are static
10577
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10578
 
 
10579
 
# Whether or not to optimize for fast installation.
10580
 
fast_install=$enable_fast_install
10581
 
 
10582
 
# The host system.
10583
 
host_alias=$host_alias
10584
 
host=$host
10585
 
host_os=$host_os
10586
 
 
10587
 
# The build system.
10588
 
build_alias=$build_alias
10589
 
build=$build
10590
 
build_os=$build_os
10591
 
 
10592
 
# An echo program that does not interpret backslashes.
10593
 
echo=$lt_echo
10594
 
 
10595
 
# The archiver.
10596
 
AR=$lt_AR
10597
 
AR_FLAGS=$lt_AR_FLAGS
10598
 
 
10599
 
# A C compiler.
10600
 
LTCC=$lt_LTCC
10601
 
 
10602
 
# LTCC compiler flags.
10603
 
LTCFLAGS=$lt_LTCFLAGS
10604
 
 
10605
 
# A language-specific compiler.
10606
 
CC=$lt_compiler
10607
 
 
10608
 
# Is the compiler the GNU C compiler?
10609
 
with_gcc=$GCC
10610
 
 
10611
 
# An ERE matcher.
10612
 
EGREP=$lt_EGREP
10613
 
 
10614
 
# The linker used to build libraries.
10615
 
LD=$lt_LD
10616
 
 
10617
 
# Whether we need hard or soft links.
10618
 
LN_S=$lt_LN_S
10619
 
 
10620
 
# A BSD-compatible nm program.
10621
 
NM=$lt_NM
10622
 
 
10623
 
# A symbol stripping program
10624
 
STRIP=$lt_STRIP
10625
 
 
10626
 
# Used to examine libraries when file_magic_cmd begins "file"
10627
 
MAGIC_CMD=$MAGIC_CMD
10628
 
 
10629
 
# Used on cygwin: DLL creation program.
10630
 
DLLTOOL="$DLLTOOL"
10631
 
 
10632
 
# Used on cygwin: object dumper.
10633
 
OBJDUMP="$OBJDUMP"
10634
 
 
10635
 
# Used on cygwin: assembler.
10636
 
AS="$AS"
10637
 
 
10638
 
# The name of the directory that contains temporary libtool files.
10639
 
objdir=$objdir
10640
 
 
10641
 
# How to create reloadable object files.
10642
 
reload_flag=$lt_reload_flag
10643
 
reload_cmds=$lt_reload_cmds
10644
 
 
10645
 
# How to pass a linker flag through the compiler.
10646
 
wl=$lt_lt_prog_compiler_wl
10647
 
 
10648
 
# Object file suffix (normally "o").
10649
 
objext="$ac_objext"
10650
 
 
10651
 
# Old archive suffix (normally "a").
10652
 
libext="$libext"
10653
 
 
10654
 
# Shared library suffix (normally ".so").
10655
 
shrext_cmds='$shrext_cmds'
10656
 
 
10657
 
# Executable file suffix (normally "").
10658
 
exeext="$exeext"
10659
 
 
10660
 
# Additional compiler flags for building library objects.
10661
 
pic_flag=$lt_lt_prog_compiler_pic
10662
 
pic_mode=$pic_mode
10663
 
 
10664
 
# What is the maximum length of a command?
10665
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10666
 
 
10667
 
# Does compiler simultaneously support -c and -o options?
10668
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10669
 
 
10670
 
# Must we lock files when doing compilation?
10671
 
need_locks=$lt_need_locks
10672
 
 
10673
 
# Do we need the lib prefix for modules?
10674
 
need_lib_prefix=$need_lib_prefix
10675
 
 
10676
 
# Do we need a version for libraries?
10677
 
need_version=$need_version
10678
 
 
10679
 
# Whether dlopen is supported.
10680
 
dlopen_support=$enable_dlopen
10681
 
 
10682
 
# Whether dlopen of programs is supported.
10683
 
dlopen_self=$enable_dlopen_self
10684
 
 
10685
 
# Whether dlopen of statically linked programs is supported.
10686
 
dlopen_self_static=$enable_dlopen_self_static
10687
 
 
10688
 
# Compiler flag to prevent dynamic linking.
10689
 
link_static_flag=$lt_lt_prog_compiler_static
10690
 
 
10691
 
# Compiler flag to turn off builtin functions.
10692
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10693
 
 
10694
 
# Compiler flag to allow reflexive dlopens.
10695
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10696
 
 
10697
 
# Compiler flag to generate shared objects directly from archives.
10698
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10699
 
 
10700
 
# Compiler flag to generate thread-safe objects.
10701
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10702
 
 
10703
 
# Library versioning type.
10704
 
version_type=$version_type
10705
 
 
10706
 
# Format of library name prefix.
10707
 
libname_spec=$lt_libname_spec
10708
 
 
10709
 
# List of archive names.  First name is the real one, the rest are links.
10710
 
# The last name is the one that the linker finds with -lNAME.
10711
 
library_names_spec=$lt_library_names_spec
10712
 
 
10713
 
# The coded name of the library, if different from the real name.
10714
 
soname_spec=$lt_soname_spec
10715
 
 
10716
 
# Commands used to build and install an old-style archive.
10717
 
RANLIB=$lt_RANLIB
10718
 
old_archive_cmds=$lt_old_archive_cmds
10719
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10720
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10721
 
 
10722
 
# Create an old-style archive from a shared archive.
10723
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10724
 
 
10725
 
# Create a temporary old-style archive to link instead of a shared archive.
10726
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10727
 
 
10728
 
# Commands used to build and install a shared archive.
10729
 
archive_cmds=$lt_archive_cmds
10730
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10731
 
postinstall_cmds=$lt_postinstall_cmds
10732
 
postuninstall_cmds=$lt_postuninstall_cmds
10733
 
 
10734
 
# Commands used to build a loadable module (assumed same as above if empty)
10735
 
module_cmds=$lt_module_cmds
10736
 
module_expsym_cmds=$lt_module_expsym_cmds
10737
 
 
10738
 
# Commands to strip libraries.
10739
 
old_striplib=$lt_old_striplib
10740
 
striplib=$lt_striplib
10741
 
 
10742
 
# Dependencies to place before the objects being linked to create a
10743
 
# shared library.
10744
 
predep_objects=$lt_predep_objects
10745
 
 
10746
 
# Dependencies to place after the objects being linked to create a
10747
 
# shared library.
10748
 
postdep_objects=$lt_postdep_objects
10749
 
 
10750
 
# Dependencies to place before the objects being linked to create a
10751
 
# shared library.
10752
 
predeps=$lt_predeps
10753
 
 
10754
 
# Dependencies to place after the objects being linked to create a
10755
 
# shared library.
10756
 
postdeps=$lt_postdeps
10757
 
 
10758
 
# The library search path used internally by the compiler when linking
10759
 
# a shared library.
10760
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10761
 
 
10762
 
# Method to check whether dependent libraries are shared objects.
10763
 
deplibs_check_method=$lt_deplibs_check_method
10764
 
 
10765
 
# Command to use when deplibs_check_method == file_magic.
10766
 
file_magic_cmd=$lt_file_magic_cmd
10767
 
 
10768
 
# Flag that allows shared libraries with undefined symbols to be built.
10769
 
allow_undefined_flag=$lt_allow_undefined_flag
10770
 
 
10771
 
# Flag that forces no undefined symbols.
10772
 
no_undefined_flag=$lt_no_undefined_flag
10773
 
 
10774
 
# Commands used to finish a libtool library installation in a directory.
10775
 
finish_cmds=$lt_finish_cmds
10776
 
 
10777
 
# Same as above, but a single script fragment to be evaled but not shown.
10778
 
finish_eval=$lt_finish_eval
10779
 
 
10780
 
# Take the output of nm and produce a listing of raw symbols and C names.
10781
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10782
 
 
10783
 
# Transform the output of nm in a proper C declaration
10784
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10785
 
 
10786
 
# Transform the output of nm in a C name address pair
10787
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10788
 
 
10789
 
# This is the shared library runtime path variable.
10790
 
runpath_var=$runpath_var
10791
 
 
10792
 
# This is the shared library path variable.
10793
 
shlibpath_var=$shlibpath_var
10794
 
 
10795
 
# Is shlibpath searched before the hard-coded library search path?
10796
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10797
 
 
10798
 
# How to hardcode a shared library path into an executable.
10799
 
hardcode_action=$hardcode_action
10800
 
 
10801
 
# Whether we should hardcode library paths into libraries.
10802
 
hardcode_into_libs=$hardcode_into_libs
10803
 
 
10804
 
# Flag to hardcode \$libdir into a binary during linking.
10805
 
# This must work even if \$libdir does not exist.
10806
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10807
 
 
10808
 
# If ld is used when linking, flag to hardcode \$libdir into
10809
 
# a binary during linking. This must work even if \$libdir does
10810
 
# not exist.
10811
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10812
 
 
10813
 
# Whether we need a single -rpath flag with a separated argument.
10814
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10815
 
 
10816
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10817
 
# resulting binary.
10818
 
hardcode_direct=$hardcode_direct
10819
 
 
10820
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10821
 
# resulting binary.
10822
 
hardcode_minus_L=$hardcode_minus_L
10823
 
 
10824
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10825
 
# the resulting binary.
10826
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10827
 
 
10828
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10829
 
# and all subsequent libraries and executables linked against it.
10830
 
hardcode_automatic=$hardcode_automatic
10831
 
 
10832
 
# Variables whose values should be saved in libtool wrapper scripts and
10833
 
# restored at relink time.
10834
 
variables_saved_for_relink="$variables_saved_for_relink"
10835
 
 
10836
 
# Whether libtool must link a program against all its dependency libraries.
10837
 
link_all_deplibs=$link_all_deplibs
10838
 
 
10839
 
# Compile-time system search path for libraries
10840
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10841
 
 
10842
 
# Run-time system search path for libraries
10843
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10844
 
 
10845
 
# Fix the shell variable \$srcfile for the compiler.
10846
 
fix_srcfile_path=$lt_fix_srcfile_path
10847
 
 
10848
 
# Set to yes if exported symbols are required.
10849
 
always_export_symbols=$always_export_symbols
10850
 
 
10851
 
# The commands to list exported symbols.
10852
 
export_symbols_cmds=$lt_export_symbols_cmds
10853
 
 
10854
 
# The commands to extract the exported symbol list from a shared archive.
10855
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10856
 
 
10857
 
# Symbols that should not be listed in the preloaded symbols.
10858
 
exclude_expsyms=$lt_exclude_expsyms
10859
 
 
10860
 
# Symbols that must always be exported.
10861
 
include_expsyms=$lt_include_expsyms
10862
 
 
10863
 
# ### END LIBTOOL CONFIG
10864
 
 
10865
 
__EOF__
10866
 
 
10867
 
 
10868
 
  case $host_os in
10869
 
  aix3*)
10870
 
    cat <<\EOF >> "$cfgfile"
10871
 
 
10872
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10873
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10874
 
# vanish in a puff of smoke.
10875
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10876
 
  COLLECT_NAMES=
10877
 
  export COLLECT_NAMES
10878
 
fi
10879
 
EOF
10880
 
    ;;
10881
 
  esac
10882
 
 
10883
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10884
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10885
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10886
 
  # is reportedly fixed, but why not run on old versions too?
10887
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10888
 
 
10889
 
  mv -f "$cfgfile" "$ofile" || \
10890
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10891
 
  chmod +x "$ofile"
10892
 
 
10893
 
else
10894
 
  # If there is no Makefile yet, we rely on a make rule to execute
10895
 
  # `config.status --recheck' to rerun these tests and create the
10896
 
  # libtool script then.
10897
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10898
 
  if test -f "$ltmain_in"; then
10899
 
    test -f Makefile && make "$ltmain"
10900
 
  fi
10901
 
fi
10902
 
 
10903
 
 
10904
 
ac_ext=c
10905
 
ac_cpp='$CPP $CPPFLAGS'
10906
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10907
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10908
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10909
 
 
10910
 
CC="$lt_save_CC"
10911
 
 
10912
 
 
10913
 
# Check whether --with-tags was given.
10914
 
if test "${with_tags+set}" = set; then
10915
 
  withval=$with_tags; tagnames="$withval"
10916
 
fi
10917
 
 
10918
 
 
10919
 
if test -f "$ltmain" && test -n "$tagnames"; then
10920
 
  if test ! -f "${ofile}"; then
10921
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10922
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10923
 
  fi
10924
 
 
10925
 
  if test -z "$LTCC"; then
10926
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10927
 
    if test -z "$LTCC"; then
10928
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10929
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10930
 
    else
10931
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10932
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10933
 
    fi
10934
 
  fi
10935
 
  if test -z "$LTCFLAGS"; then
10936
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10937
 
  fi
10938
 
 
10939
 
  # Extract list of available tagged configurations in $ofile.
10940
 
  # Note that this assumes the entire list is on one line.
10941
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10942
 
 
10943
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10944
 
  for tagname in $tagnames; do
10945
 
    IFS="$lt_save_ifs"
10946
 
    # Check whether tagname contains only valid characters
10947
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10948
 
    "") ;;
10949
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10950
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10951
 
   { (exit 1); exit 1; }; }
10952
 
        ;;
10953
 
    esac
10954
 
 
10955
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10956
 
    then
10957
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10958
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10959
 
   { (exit 1); exit 1; }; }
10960
 
    fi
10961
 
 
10962
 
    # Update the list of available tags.
10963
 
    if test -n "$tagname"; then
10964
 
      echo appending configuration tag \"$tagname\" to $ofile
10965
 
 
10966
 
      case $tagname in
10967
 
      CXX)
10968
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10969
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10970
 
            (test "X$CXX" != "Xg++"))) ; then
10971
 
          ac_ext=cpp
10972
 
ac_cpp='$CXXCPP $CPPFLAGS'
10973
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10974
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10975
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10976
 
 
10977
 
 
10978
 
 
10979
 
 
10980
 
archive_cmds_need_lc_CXX=no
10981
 
allow_undefined_flag_CXX=
10982
 
always_export_symbols_CXX=no
10983
 
archive_expsym_cmds_CXX=
10984
 
export_dynamic_flag_spec_CXX=
10985
 
hardcode_direct_CXX=no
10986
 
hardcode_libdir_flag_spec_CXX=
10987
 
hardcode_libdir_flag_spec_ld_CXX=
10988
 
hardcode_libdir_separator_CXX=
10989
 
hardcode_minus_L_CXX=no
10990
 
hardcode_shlibpath_var_CXX=unsupported
10991
 
hardcode_automatic_CXX=no
10992
 
module_cmds_CXX=
10993
 
module_expsym_cmds_CXX=
10994
 
link_all_deplibs_CXX=unknown
10995
 
old_archive_cmds_CXX=$old_archive_cmds
10996
 
no_undefined_flag_CXX=
10997
 
whole_archive_flag_spec_CXX=
10998
 
enable_shared_with_static_runtimes_CXX=no
10999
 
 
11000
 
# Dependencies to place before and after the object being linked:
11001
 
predep_objects_CXX=
11002
 
postdep_objects_CXX=
11003
 
predeps_CXX=
11004
 
postdeps_CXX=
11005
 
compiler_lib_search_path_CXX=
11006
 
 
11007
 
# Source file extension for C++ test sources.
11008
 
ac_ext=cpp
11009
 
 
11010
 
# Object file extension for compiled C++ test sources.
11011
 
objext=o
11012
 
objext_CXX=$objext
11013
 
 
11014
 
# Code to be used in simple compile tests
11015
 
lt_simple_compile_test_code="int some_variable = 0;"
11016
 
 
11017
 
# Code to be used in simple link tests
11018
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11019
 
 
11020
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11021
 
 
11022
 
# If no C compiler was specified, use CC.
11023
 
LTCC=${LTCC-"$CC"}
11024
 
 
11025
 
# If no C compiler flags were specified, use CFLAGS.
11026
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11027
 
 
11028
 
# Allow CC to be a program name with arguments.
11029
 
compiler=$CC
11030
 
 
11031
 
 
11032
 
# save warnings/boilerplate of simple test code
11033
 
ac_outfile=conftest.$ac_objext
11034
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11035
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11036
 
_lt_compiler_boilerplate=`cat conftest.err`
11037
 
$rm conftest*
11038
 
 
11039
 
ac_outfile=conftest.$ac_objext
11040
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11041
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11042
 
_lt_linker_boilerplate=`cat conftest.err`
11043
 
$rm conftest*
11044
 
 
11045
 
 
11046
 
# Allow CC to be a program name with arguments.
11047
 
lt_save_CC=$CC
11048
 
lt_save_LD=$LD
11049
 
lt_save_GCC=$GCC
11050
 
GCC=$GXX
11051
 
lt_save_with_gnu_ld=$with_gnu_ld
11052
 
lt_save_path_LD=$lt_cv_path_LD
11053
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11054
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11055
 
else
11056
 
  $as_unset lt_cv_prog_gnu_ld
11057
 
fi
11058
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11059
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11060
 
else
11061
 
  $as_unset lt_cv_path_LD
11062
 
fi
11063
 
test -z "${LDCXX+set}" || LD=$LDCXX
11064
 
CC=${CXX-"c++"}
11065
 
compiler=$CC
11066
 
compiler_CXX=$CC
11067
 
for cc_temp in $compiler""; do
11068
 
  case $cc_temp in
11069
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11070
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11071
 
    \-*) ;;
11072
 
    *) break;;
11073
 
  esac
11074
 
done
11075
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11076
 
 
11077
 
 
11078
 
# We don't want -fno-exception wen compiling C++ code, so set the
11079
 
# no_builtin_flag separately
11080
 
if test "$GXX" = yes; then
11081
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11082
 
else
11083
 
  lt_prog_compiler_no_builtin_flag_CXX=
11084
 
fi
11085
 
 
11086
 
if test "$GXX" = yes; then
11087
 
  # Set up default GNU C++ configuration
11088
 
 
11089
 
  
11090
 
# Check whether --with-gnu-ld was given.
11091
 
if test "${with_gnu_ld+set}" = set; then
11092
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11093
 
else
11094
 
  with_gnu_ld=no
11095
 
fi
11096
 
 
11097
 
ac_prog=ld
11098
 
if test "$GCC" = yes; then
11099
 
  # Check if gcc -print-prog-name=ld gives a path.
11100
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11101
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11102
 
  case $host in
11103
 
  *-*-mingw*)
11104
 
    # gcc leaves a trailing carriage return which upsets mingw
11105
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11106
 
  *)
11107
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11108
 
  esac
11109
 
  case $ac_prog in
11110
 
    # Accept absolute paths.
11111
 
    [\\/]* | ?:[\\/]*)
11112
 
      re_direlt='/[^/][^/]*/\.\./'
11113
 
      # Canonicalize the pathname of ld
11114
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11115
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11116
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11117
 
      done
11118
 
      test -z "$LD" && LD="$ac_prog"
11119
 
      ;;
11120
 
  "")
11121
 
    # If it fails, then pretend we aren't using GCC.
11122
 
    ac_prog=ld
11123
 
    ;;
11124
 
  *)
11125
 
    # If it is relative, then search for the first ld in PATH.
11126
 
    with_gnu_ld=unknown
11127
 
    ;;
11128
 
  esac
11129
 
elif test "$with_gnu_ld" = yes; then
11130
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11131
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11132
 
else
11133
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11134
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11135
 
fi
11136
 
if test "${lt_cv_path_LD+set}" = set; then
11137
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11138
 
else
11139
 
  if test -z "$LD"; then
11140
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11141
 
  for ac_dir in $PATH; do
11142
 
    IFS="$lt_save_ifs"
11143
 
    test -z "$ac_dir" && ac_dir=.
11144
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11145
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11146
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11147
 
      # but apparently some variants of GNU ld only accept -v.
11148
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11149
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11150
 
      *GNU* | *'with BFD'*)
11151
 
        test "$with_gnu_ld" != no && break
11152
 
        ;;
11153
 
      *)
11154
 
        test "$with_gnu_ld" != yes && break
11155
 
        ;;
11156
 
      esac
11157
 
    fi
11158
 
  done
11159
 
  IFS="$lt_save_ifs"
11160
 
else
11161
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11162
 
fi
11163
 
fi
11164
 
 
11165
 
LD="$lt_cv_path_LD"
11166
 
if test -n "$LD"; then
11167
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11168
 
echo "${ECHO_T}$LD" >&6; }
11169
 
else
11170
 
  { echo "$as_me:$LINENO: result: no" >&5
11171
 
echo "${ECHO_T}no" >&6; }
11172
 
fi
11173
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11174
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11175
 
   { (exit 1); exit 1; }; }
11176
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11177
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11178
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11179
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11180
 
else
11181
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11182
 
case `$LD -v 2>&1 </dev/null` in
11183
 
*GNU* | *'with BFD'*)
11184
 
  lt_cv_prog_gnu_ld=yes
11185
 
  ;;
11186
 
*)
11187
 
  lt_cv_prog_gnu_ld=no
11188
 
  ;;
11189
 
esac
11190
 
fi
11191
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11192
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11193
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11194
 
 
11195
 
 
11196
 
 
11197
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11198
 
  # archiving commands below assume that GNU ld is being used.
11199
 
  if test "$with_gnu_ld" = yes; then
11200
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11201
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11202
 
 
11203
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11204
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11205
 
 
11206
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11207
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11208
 
    #     investigate it a little bit more. (MM)
11209
 
    wlarc='${wl}'
11210
 
 
11211
 
    # ancient GNU ld didn't support --whole-archive et. al.
11212
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11213
 
        grep 'no-whole-archive' > /dev/null; then
11214
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11215
 
    else
11216
 
      whole_archive_flag_spec_CXX=
11217
 
    fi
11218
 
  else
11219
 
    with_gnu_ld=no
11220
 
    wlarc=
11221
 
 
11222
 
    # A generic and very simple default shared library creation
11223
 
    # command for GNU C++ for the case where it uses the native
11224
 
    # linker, instead of GNU ld.  If possible, this setting should
11225
 
    # overridden to take advantage of the native linker features on
11226
 
    # the platform it is being used on.
11227
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11228
 
  fi
11229
 
 
11230
 
  # Commands to make compiler produce verbose output that lists
11231
 
  # what "hidden" libraries, object files and flags are used when
11232
 
  # linking a shared library.
11233
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11234
 
 
11235
 
else
11236
 
  GXX=no
11237
 
  with_gnu_ld=no
11238
 
  wlarc=
11239
 
fi
11240
 
 
11241
 
# PORTME: fill in a description of your system's C++ link characteristics
11242
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11243
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11244
 
ld_shlibs_CXX=yes
11245
 
case $host_os in
11246
 
  aix3*)
11247
 
    # FIXME: insert proper C++ library support
11248
 
    ld_shlibs_CXX=no
11249
 
    ;;
11250
 
  aix4* | aix5*)
11251
 
    if test "$host_cpu" = ia64; then
11252
 
      # On IA64, the linker does run time linking by default, so we don't
11253
 
      # have to do anything special.
11254
 
      aix_use_runtimelinking=no
11255
 
      exp_sym_flag='-Bexport'
11256
 
      no_entry_flag=""
11257
 
    else
11258
 
      aix_use_runtimelinking=no
11259
 
 
11260
 
      # Test if we are trying to use run time linking or normal
11261
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11262
 
      # need to do runtime linking.
11263
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11264
 
        for ld_flag in $LDFLAGS; do
11265
 
          case $ld_flag in
11266
 
          *-brtl*)
11267
 
            aix_use_runtimelinking=yes
11268
 
            break
11269
 
            ;;
11270
 
          esac
11271
 
        done
11272
 
        ;;
11273
 
      esac
11274
 
 
11275
 
      exp_sym_flag='-bexport'
11276
 
      no_entry_flag='-bnoentry'
11277
 
    fi
11278
 
 
11279
 
    # When large executables or shared objects are built, AIX ld can
11280
 
    # have problems creating the table of contents.  If linking a library
11281
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11282
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11283
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11284
 
 
11285
 
    archive_cmds_CXX=''
11286
 
    hardcode_direct_CXX=yes
11287
 
    hardcode_libdir_separator_CXX=':'
11288
 
    link_all_deplibs_CXX=yes
11289
 
 
11290
 
    if test "$GXX" = yes; then
11291
 
      case $host_os in aix4.[012]|aix4.[012].*)
11292
 
      # We only want to do this on AIX 4.2 and lower, the check
11293
 
      # below for broken collect2 doesn't work under 4.3+
11294
 
        collect2name=`${CC} -print-prog-name=collect2`
11295
 
        if test -f "$collect2name" && \
11296
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11297
 
        then
11298
 
          # We have reworked collect2
11299
 
          :
11300
 
        else
11301
 
          # We have old collect2
11302
 
          hardcode_direct_CXX=unsupported
11303
 
          # It fails to find uninstalled libraries when the uninstalled
11304
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11305
 
          # to unsupported forces relinking
11306
 
          hardcode_minus_L_CXX=yes
11307
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11308
 
          hardcode_libdir_separator_CXX=
11309
 
        fi
11310
 
        ;;
11311
 
      esac
11312
 
      shared_flag='-shared'
11313
 
      if test "$aix_use_runtimelinking" = yes; then
11314
 
        shared_flag="$shared_flag "'${wl}-G'
11315
 
      fi
11316
 
    else
11317
 
      # not using gcc
11318
 
      if test "$host_cpu" = ia64; then
11319
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11320
 
        # chokes on -Wl,-G. The following line is correct:
11321
 
        shared_flag='-G'
11322
 
      else
11323
 
        if test "$aix_use_runtimelinking" = yes; then
11324
 
          shared_flag='${wl}-G'
11325
 
        else
11326
 
          shared_flag='${wl}-bM:SRE'
11327
 
        fi
11328
 
      fi
11329
 
    fi
11330
 
 
11331
 
    # It seems that -bexpall does not export symbols beginning with
11332
 
    # underscore (_), so it is better to generate a list of symbols to export.
11333
 
    always_export_symbols_CXX=yes
11334
 
    if test "$aix_use_runtimelinking" = yes; then
11335
 
      # Warning - without using the other runtime loading flags (-brtl),
11336
 
      # -berok will link without error, but may produce a broken library.
11337
 
      allow_undefined_flag_CXX='-berok'
11338
 
      # Determine the default libpath from the value encoded in an empty executable.
11339
 
      cat >conftest.$ac_ext <<_ACEOF
11340
 
/* confdefs.h.  */
11341
 
_ACEOF
11342
 
cat confdefs.h >>conftest.$ac_ext
11343
 
cat >>conftest.$ac_ext <<_ACEOF
11344
 
/* end confdefs.h.  */
11345
 
 
11346
 
int
11347
 
main ()
11348
 
{
11349
 
 
11350
 
  ;
11351
 
  return 0;
11352
 
}
11353
 
_ACEOF
11354
 
rm -f conftest.$ac_objext conftest$ac_exeext
11355
 
if { (ac_try="$ac_link"
11356
 
case "(($ac_try" in
11357
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11358
 
  *) ac_try_echo=$ac_try;;
11359
 
esac
11360
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11361
 
  (eval "$ac_link") 2>conftest.er1
11362
 
  ac_status=$?
11363
 
  grep -v '^ *+' conftest.er1 >conftest.err
11364
 
  rm -f conftest.er1
11365
 
  cat conftest.err >&5
11366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367
 
  (exit $ac_status); } && {
11368
 
         test -z "$ac_cxx_werror_flag" ||
11369
 
         test ! -s conftest.err
11370
 
       } && test -s conftest$ac_exeext &&
11371
 
       $as_test_x conftest$ac_exeext; then
11372
 
  
11373
 
lt_aix_libpath_sed='
11374
 
    /Import File Strings/,/^$/ {
11375
 
        /^0/ {
11376
 
            s/^0  *\(.*\)$/\1/
11377
 
            p
11378
 
        }
11379
 
    }'
11380
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11381
 
# Check for a 64-bit object if we didn't find anything.
11382
 
if test -z "$aix_libpath"; then
11383
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11384
 
fi
11385
 
else
11386
 
  echo "$as_me: failed program was:" >&5
11387
 
sed 's/^/| /' conftest.$ac_ext >&5
11388
 
 
11389
 
        
11390
 
fi
11391
 
 
11392
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11393
 
      conftest$ac_exeext conftest.$ac_ext
11394
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11395
 
 
11396
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11397
 
 
11398
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11399
 
     else
11400
 
      if test "$host_cpu" = ia64; then
11401
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11402
 
        allow_undefined_flag_CXX="-z nodefs"
11403
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11404
 
      else
11405
 
        # Determine the default libpath from the value encoded in an empty executable.
11406
 
        cat >conftest.$ac_ext <<_ACEOF
11407
 
/* confdefs.h.  */
11408
 
_ACEOF
11409
 
cat confdefs.h >>conftest.$ac_ext
11410
 
cat >>conftest.$ac_ext <<_ACEOF
11411
 
/* end confdefs.h.  */
11412
 
 
11413
 
int
11414
 
main ()
11415
 
{
11416
 
 
11417
 
  ;
11418
 
  return 0;
11419
 
}
11420
 
_ACEOF
11421
 
rm -f conftest.$ac_objext conftest$ac_exeext
11422
 
if { (ac_try="$ac_link"
11423
 
case "(($ac_try" in
11424
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11425
 
  *) ac_try_echo=$ac_try;;
11426
 
esac
11427
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11428
 
  (eval "$ac_link") 2>conftest.er1
11429
 
  ac_status=$?
11430
 
  grep -v '^ *+' conftest.er1 >conftest.err
11431
 
  rm -f conftest.er1
11432
 
  cat conftest.err >&5
11433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11434
 
  (exit $ac_status); } && {
11435
 
         test -z "$ac_cxx_werror_flag" ||
11436
 
         test ! -s conftest.err
11437
 
       } && test -s conftest$ac_exeext &&
11438
 
       $as_test_x conftest$ac_exeext; then
11439
 
  
11440
 
lt_aix_libpath_sed='
11441
 
    /Import File Strings/,/^$/ {
11442
 
        /^0/ {
11443
 
            s/^0  *\(.*\)$/\1/
11444
 
            p
11445
 
        }
11446
 
    }'
11447
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11448
 
# Check for a 64-bit object if we didn't find anything.
11449
 
if test -z "$aix_libpath"; then
11450
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11451
 
fi
11452
 
else
11453
 
  echo "$as_me: failed program was:" >&5
11454
 
sed 's/^/| /' conftest.$ac_ext >&5
11455
 
 
11456
 
        
11457
 
fi
11458
 
 
11459
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11460
 
      conftest$ac_exeext conftest.$ac_ext
11461
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11462
 
 
11463
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11464
 
        # Warning - without using the other run time loading flags,
11465
 
        # -berok will link without error, but may produce a broken library.
11466
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11467
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11468
 
        # Exported symbols can be pulled into shared objects from archives
11469
 
        whole_archive_flag_spec_CXX='$convenience'
11470
 
        archive_cmds_need_lc_CXX=yes
11471
 
        # This is similar to how AIX traditionally builds its shared libraries.
11472
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11473
 
      fi
11474
 
    fi
11475
 
    ;;
11476
 
 
11477
 
  beos*)
11478
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11479
 
      allow_undefined_flag_CXX=unsupported
11480
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11481
 
      # support --undefined.  This deserves some investigation.  FIXME
11482
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11483
 
    else
11484
 
      ld_shlibs_CXX=no
11485
 
    fi
11486
 
    ;;
11487
 
 
11488
 
  chorus*)
11489
 
    case $cc_basename in
11490
 
      *)
11491
 
        # FIXME: insert proper C++ library support
11492
 
        ld_shlibs_CXX=no
11493
 
        ;;
11494
 
    esac
11495
 
    ;;
11496
 
 
11497
 
  cygwin* | mingw* | pw32*)
11498
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11499
 
    # as there is no search path for DLLs.
11500
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11501
 
    allow_undefined_flag_CXX=unsupported
11502
 
    always_export_symbols_CXX=no
11503
 
    enable_shared_with_static_runtimes_CXX=yes
11504
 
 
11505
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11506
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11507
 
      # If the export-symbols file already is a .def file (1st line
11508
 
      # is EXPORTS), use it as is; otherwise, prepend...
11509
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11510
 
        cp $export_symbols $output_objdir/$soname.def;
11511
 
      else
11512
 
        echo EXPORTS > $output_objdir/$soname.def;
11513
 
        cat $export_symbols >> $output_objdir/$soname.def;
11514
 
      fi~
11515
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11516
 
    else
11517
 
      ld_shlibs_CXX=no
11518
 
    fi
11519
 
  ;;
11520
 
      darwin* | rhapsody*)
11521
 
        case $host_os in
11522
 
        rhapsody* | darwin1.[012])
11523
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11524
 
         ;;
11525
 
       *) # Darwin 1.3 on
11526
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11527
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11528
 
         else
11529
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11530
 
             10.[012])
11531
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11532
 
               ;;
11533
 
             10.*)
11534
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11535
 
               ;;
11536
 
           esac
11537
 
         fi
11538
 
         ;;
11539
 
        esac
11540
 
      archive_cmds_need_lc_CXX=no
11541
 
      hardcode_direct_CXX=no
11542
 
      hardcode_automatic_CXX=yes
11543
 
      hardcode_shlibpath_var_CXX=unsupported
11544
 
      whole_archive_flag_spec_CXX=''
11545
 
      link_all_deplibs_CXX=yes
11546
 
 
11547
 
    if test "$GXX" = yes ; then
11548
 
      lt_int_apple_cc_single_mod=no
11549
 
      output_verbose_link_cmd='echo'
11550
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11551
 
       lt_int_apple_cc_single_mod=yes
11552
 
      fi
11553
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11554
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11555
 
      else
11556
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11557
 
        fi
11558
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11559
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11560
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11561
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11562
 
          else
11563
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11564
 
          fi
11565
 
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11566
 
      else
11567
 
      case $cc_basename in
11568
 
        xlc*)
11569
 
         output_verbose_link_cmd='echo'
11570
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11571
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11572
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11573
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11574
 
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11575
 
          ;;
11576
 
       *)
11577
 
         ld_shlibs_CXX=no
11578
 
          ;;
11579
 
      esac
11580
 
      fi
11581
 
        ;;
11582
 
 
11583
 
  dgux*)
11584
 
    case $cc_basename in
11585
 
      ec++*)
11586
 
        # FIXME: insert proper C++ library support
11587
 
        ld_shlibs_CXX=no
11588
 
        ;;
11589
 
      ghcx*)
11590
 
        # Green Hills C++ Compiler
11591
 
        # FIXME: insert proper C++ library support
11592
 
        ld_shlibs_CXX=no
11593
 
        ;;
11594
 
      *)
11595
 
        # FIXME: insert proper C++ library support
11596
 
        ld_shlibs_CXX=no
11597
 
        ;;
11598
 
    esac
11599
 
    ;;
11600
 
  freebsd[12]*)
11601
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11602
 
    ld_shlibs_CXX=no
11603
 
    ;;
11604
 
  freebsd-elf*)
11605
 
    archive_cmds_need_lc_CXX=no
11606
 
    ;;
11607
 
  freebsd* | dragonfly*)
11608
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11609
 
    # conventions
11610
 
    ld_shlibs_CXX=yes
11611
 
    ;;
11612
 
  gnu*)
11613
 
    ;;
11614
 
  hpux9*)
11615
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11616
 
    hardcode_libdir_separator_CXX=:
11617
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11618
 
    hardcode_direct_CXX=yes
11619
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11620
 
                                # but as the default
11621
 
                                # location of the library.
11622
 
 
11623
 
    case $cc_basename in
11624
 
    CC*)
11625
 
      # FIXME: insert proper C++ library support
11626
 
      ld_shlibs_CXX=no
11627
 
      ;;
11628
 
    aCC*)
11629
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11630
 
      # Commands to make compiler produce verbose output that lists
11631
 
      # what "hidden" libraries, object files and flags are used when
11632
 
      # linking a shared library.
11633
 
      #
11634
 
      # There doesn't appear to be a way to prevent this compiler from
11635
 
      # explicitly linking system object files so we need to strip them
11636
 
      # from the output so that they don't get included in the library
11637
 
      # dependencies.
11638
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11639
 
      ;;
11640
 
    *)
11641
 
      if test "$GXX" = yes; then
11642
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11643
 
      else
11644
 
        # FIXME: insert proper C++ library support
11645
 
        ld_shlibs_CXX=no
11646
 
      fi
11647
 
      ;;
11648
 
    esac
11649
 
    ;;
11650
 
  hpux10*|hpux11*)
11651
 
    if test $with_gnu_ld = no; then
11652
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11653
 
      hardcode_libdir_separator_CXX=:
11654
 
 
11655
 
      case $host_cpu in
11656
 
      hppa*64*|ia64*) ;;
11657
 
      *)
11658
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11659
 
        ;;
11660
 
      esac
11661
 
    fi
11662
 
    case $host_cpu in
11663
 
    hppa*64*|ia64*)
11664
 
      hardcode_direct_CXX=no
11665
 
      hardcode_shlibpath_var_CXX=no
11666
 
      ;;
11667
 
    *)
11668
 
      hardcode_direct_CXX=yes
11669
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11670
 
                                              # but as the default
11671
 
                                              # location of the library.
11672
 
      ;;
11673
 
    esac
11674
 
 
11675
 
    case $cc_basename in
11676
 
      CC*)
11677
 
        # FIXME: insert proper C++ library support
11678
 
        ld_shlibs_CXX=no
11679
 
        ;;
11680
 
      aCC*)
11681
 
        case $host_cpu in
11682
 
        hppa*64*)
11683
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11684
 
          ;;
11685
 
        ia64*)
11686
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11687
 
          ;;
11688
 
        *)
11689
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11690
 
          ;;
11691
 
        esac
11692
 
        # Commands to make compiler produce verbose output that lists
11693
 
        # what "hidden" libraries, object files and flags are used when
11694
 
        # linking a shared library.
11695
 
        #
11696
 
        # There doesn't appear to be a way to prevent this compiler from
11697
 
        # explicitly linking system object files so we need to strip them
11698
 
        # from the output so that they don't get included in the library
11699
 
        # dependencies.
11700
 
        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11701
 
        ;;
11702
 
      *)
11703
 
        if test "$GXX" = yes; then
11704
 
          if test $with_gnu_ld = no; then
11705
 
            case $host_cpu in
11706
 
            hppa*64*)
11707
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11708
 
              ;;
11709
 
            ia64*)
11710
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11711
 
              ;;
11712
 
            *)
11713
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11714
 
              ;;
11715
 
            esac
11716
 
          fi
11717
 
        else
11718
 
          # FIXME: insert proper C++ library support
11719
 
          ld_shlibs_CXX=no
11720
 
        fi
11721
 
        ;;
11722
 
    esac
11723
 
    ;;
11724
 
  interix[3-9]*)
11725
 
    hardcode_direct_CXX=no
11726
 
    hardcode_shlibpath_var_CXX=no
11727
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11728
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11729
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11730
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11731
 
    # default) and relocated if they conflict, which is a slow very memory
11732
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11733
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11734
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11735
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11736
 
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11737
 
    ;;
11738
 
  irix5* | irix6*)
11739
 
    case $cc_basename in
11740
 
      CC*)
11741
 
        # SGI C++
11742
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11743
 
 
11744
 
        # Archives containing C++ object files must be created using
11745
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11746
 
        # necessary to make sure instantiated templates are included
11747
 
        # in the archive.
11748
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11749
 
        ;;
11750
 
      *)
11751
 
        if test "$GXX" = yes; then
11752
 
          if test "$with_gnu_ld" = no; then
11753
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11754
 
          else
11755
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11756
 
          fi
11757
 
        fi
11758
 
        link_all_deplibs_CXX=yes
11759
 
        ;;
11760
 
    esac
11761
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11762
 
    hardcode_libdir_separator_CXX=:
11763
 
    ;;
11764
 
  linux* | k*bsd*-gnu)
11765
 
    case $cc_basename in
11766
 
      KCC*)
11767
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11768
 
 
11769
 
        # KCC will only create a shared library if the output file
11770
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11771
 
        # to its proper name (with version) after linking.
11772
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11773
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11774
 
        # Commands to make compiler produce verbose output that lists
11775
 
        # what "hidden" libraries, object files and flags are used when
11776
 
        # linking a shared library.
11777
 
        #
11778
 
        # There doesn't appear to be a way to prevent this compiler from
11779
 
        # explicitly linking system object files so we need to strip them
11780
 
        # from the output so that they don't get included in the library
11781
 
        # dependencies.
11782
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11783
 
 
11784
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11785
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11786
 
 
11787
 
        # Archives containing C++ object files must be created using
11788
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11789
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11790
 
        ;;
11791
 
      icpc*)
11792
 
        # Intel C++
11793
 
        with_gnu_ld=yes
11794
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11795
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11796
 
        # earlier do not add the objects themselves.
11797
 
        case `$CC -V 2>&1` in
11798
 
        *"Version 7."*)
11799
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11800
 
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11801
 
          ;;
11802
 
        *)  # Version 8.0 or newer
11803
 
          tmp_idyn=
11804
 
          case $host_cpu in
11805
 
            ia64*) tmp_idyn=' -i_dynamic';;
11806
 
          esac
11807
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11808
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11809
 
          ;;
11810
 
        esac
11811
 
        archive_cmds_need_lc_CXX=no
11812
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11813
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11814
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11815
 
        ;;
11816
 
      pgCC*)
11817
 
        # Portland Group C++ compiler
11818
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11819
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11820
 
 
11821
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11822
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11823
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11824
 
        ;;
11825
 
      cxx*)
11826
 
        # Compaq C++
11827
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11828
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11829
 
 
11830
 
        runpath_var=LD_RUN_PATH
11831
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11832
 
        hardcode_libdir_separator_CXX=:
11833
 
 
11834
 
        # Commands to make compiler produce verbose output that lists
11835
 
        # what "hidden" libraries, object files and flags are used when
11836
 
        # linking a shared library.
11837
 
        #
11838
 
        # There doesn't appear to be a way to prevent this compiler from
11839
 
        # explicitly linking system object files so we need to strip them
11840
 
        # from the output so that they don't get included in the library
11841
 
        # dependencies.
11842
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11843
 
        ;;
11844
 
      *)
11845
 
        case `$CC -V 2>&1 | sed 5q` in
11846
 
        *Sun\ C*)
11847
 
          # Sun C++ 5.9
11848
 
          no_undefined_flag_CXX=' -zdefs'
11849
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11850
 
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11851
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
11852
 
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11853
 
 
11854
 
          # Not sure whether something based on
11855
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11856
 
          # would be better.
11857
 
          output_verbose_link_cmd='echo'
11858
 
 
11859
 
          # Archives containing C++ object files must be created using
11860
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11861
 
          # necessary to make sure instantiated templates are included
11862
 
          # in the archive.
11863
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11864
 
          ;;
11865
 
        esac
11866
 
        ;;
11867
 
    esac
11868
 
    ;;
11869
 
  lynxos*)
11870
 
    # FIXME: insert proper C++ library support
11871
 
    ld_shlibs_CXX=no
11872
 
    ;;
11873
 
  m88k*)
11874
 
    # FIXME: insert proper C++ library support
11875
 
    ld_shlibs_CXX=no
11876
 
    ;;
11877
 
  mvs*)
11878
 
    case $cc_basename in
11879
 
      cxx*)
11880
 
        # FIXME: insert proper C++ library support
11881
 
        ld_shlibs_CXX=no
11882
 
        ;;
11883
 
      *)
11884
 
        # FIXME: insert proper C++ library support
11885
 
        ld_shlibs_CXX=no
11886
 
        ;;
11887
 
    esac
11888
 
    ;;
11889
 
  netbsd* | netbsdelf*-gnu)
11890
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11891
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11892
 
      wlarc=
11893
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11894
 
      hardcode_direct_CXX=yes
11895
 
      hardcode_shlibpath_var_CXX=no
11896
 
    fi
11897
 
    # Workaround some broken pre-1.5 toolchains
11898
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11899
 
    ;;
11900
 
  openbsd2*)
11901
 
    # C++ shared libraries are fairly broken
11902
 
    ld_shlibs_CXX=no
11903
 
    ;;
11904
 
  openbsd*)
11905
 
    if test -f /usr/libexec/ld.so; then
11906
 
      hardcode_direct_CXX=yes
11907
 
      hardcode_shlibpath_var_CXX=no
11908
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11909
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11910
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11911
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11912
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11913
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11914
 
      fi
11915
 
      output_verbose_link_cmd='echo'
11916
 
    else
11917
 
      ld_shlibs_CXX=no
11918
 
    fi
11919
 
    ;;
11920
 
  osf3*)
11921
 
    case $cc_basename in
11922
 
      KCC*)
11923
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11924
 
 
11925
 
        # KCC will only create a shared library if the output file
11926
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11927
 
        # to its proper name (with version) after linking.
11928
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11929
 
 
11930
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11931
 
        hardcode_libdir_separator_CXX=:
11932
 
 
11933
 
        # Archives containing C++ object files must be created using
11934
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11935
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11936
 
 
11937
 
        ;;
11938
 
      RCC*)
11939
 
        # Rational C++ 2.4.1
11940
 
        # FIXME: insert proper C++ library support
11941
 
        ld_shlibs_CXX=no
11942
 
        ;;
11943
 
      cxx*)
11944
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11945
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11946
 
 
11947
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11948
 
        hardcode_libdir_separator_CXX=:
11949
 
 
11950
 
        # Commands to make compiler produce verbose output that lists
11951
 
        # what "hidden" libraries, object files and flags are used when
11952
 
        # linking a shared library.
11953
 
        #
11954
 
        # There doesn't appear to be a way to prevent this compiler from
11955
 
        # explicitly linking system object files so we need to strip them
11956
 
        # from the output so that they don't get included in the library
11957
 
        # dependencies.
11958
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11959
 
        ;;
11960
 
      *)
11961
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11962
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11963
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11964
 
 
11965
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11966
 
          hardcode_libdir_separator_CXX=:
11967
 
 
11968
 
          # Commands to make compiler produce verbose output that lists
11969
 
          # what "hidden" libraries, object files and flags are used when
11970
 
          # linking a shared library.
11971
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11972
 
 
11973
 
        else
11974
 
          # FIXME: insert proper C++ library support
11975
 
          ld_shlibs_CXX=no
11976
 
        fi
11977
 
        ;;
11978
 
    esac
11979
 
    ;;
11980
 
  osf4* | osf5*)
11981
 
    case $cc_basename in
11982
 
      KCC*)
11983
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11984
 
 
11985
 
        # KCC will only create a shared library if the output file
11986
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11987
 
        # to its proper name (with version) after linking.
11988
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11989
 
 
11990
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11991
 
        hardcode_libdir_separator_CXX=:
11992
 
 
11993
 
        # Archives containing C++ object files must be created using
11994
 
        # the KAI C++ compiler.
11995
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11996
 
        ;;
11997
 
      RCC*)
11998
 
        # Rational C++ 2.4.1
11999
 
        # FIXME: insert proper C++ library support
12000
 
        ld_shlibs_CXX=no
12001
 
        ;;
12002
 
      cxx*)
12003
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12004
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12005
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12006
 
          echo "-hidden">> $lib.exp~
12007
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12008
 
          $rm $lib.exp'
12009
 
 
12010
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12011
 
        hardcode_libdir_separator_CXX=:
12012
 
 
12013
 
        # Commands to make compiler produce verbose output that lists
12014
 
        # what "hidden" libraries, object files and flags are used when
12015
 
        # linking a shared library.
12016
 
        #
12017
 
        # There doesn't appear to be a way to prevent this compiler from
12018
 
        # explicitly linking system object files so we need to strip them
12019
 
        # from the output so that they don't get included in the library
12020
 
        # dependencies.
12021
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12022
 
        ;;
12023
 
      *)
12024
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12025
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12026
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12027
 
 
12028
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12029
 
          hardcode_libdir_separator_CXX=:
12030
 
 
12031
 
          # Commands to make compiler produce verbose output that lists
12032
 
          # what "hidden" libraries, object files and flags are used when
12033
 
          # linking a shared library.
12034
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12035
 
 
12036
 
        else
12037
 
          # FIXME: insert proper C++ library support
12038
 
          ld_shlibs_CXX=no
12039
 
        fi
12040
 
        ;;
12041
 
    esac
12042
 
    ;;
12043
 
  psos*)
12044
 
    # FIXME: insert proper C++ library support
12045
 
    ld_shlibs_CXX=no
12046
 
    ;;
12047
 
  sunos4*)
12048
 
    case $cc_basename in
12049
 
      CC*)
12050
 
        # Sun C++ 4.x
12051
 
        # FIXME: insert proper C++ library support
12052
 
        ld_shlibs_CXX=no
12053
 
        ;;
12054
 
      lcc*)
12055
 
        # Lucid
12056
 
        # FIXME: insert proper C++ library support
12057
 
        ld_shlibs_CXX=no
12058
 
        ;;
12059
 
      *)
12060
 
        # FIXME: insert proper C++ library support
12061
 
        ld_shlibs_CXX=no
12062
 
        ;;
12063
 
    esac
12064
 
    ;;
12065
 
  solaris*)
12066
 
    case $cc_basename in
12067
 
      CC*)
12068
 
        # Sun C++ 4.2, 5.x and Centerline C++
12069
 
        archive_cmds_need_lc_CXX=yes
12070
 
        no_undefined_flag_CXX=' -zdefs'
12071
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12072
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12073
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12074
 
 
12075
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12076
 
        hardcode_shlibpath_var_CXX=no
12077
 
        case $host_os in
12078
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12079
 
          *)
12080
 
            # The compiler driver will combine and reorder linker options,
12081
 
            # but understands `-z linker_flag'.
12082
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12083
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12084
 
            ;;
12085
 
        esac
12086
 
        link_all_deplibs_CXX=yes
12087
 
 
12088
 
        output_verbose_link_cmd='echo'
12089
 
 
12090
 
        # Archives containing C++ object files must be created using
12091
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12092
 
        # necessary to make sure instantiated templates are included
12093
 
        # in the archive.
12094
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12095
 
        ;;
12096
 
      gcx*)
12097
 
        # Green Hills C++ Compiler
12098
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12099
 
 
12100
 
        # The C++ compiler must be used to create the archive.
12101
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12102
 
        ;;
12103
 
      *)
12104
 
        # GNU C++ compiler with Solaris linker
12105
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12106
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12107
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12108
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12109
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12110
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12111
 
 
12112
 
            # Commands to make compiler produce verbose output that lists
12113
 
            # what "hidden" libraries, object files and flags are used when
12114
 
            # linking a shared library.
12115
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12116
 
          else
12117
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12118
 
            # platform.
12119
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12120
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12121
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12122
 
 
12123
 
            # Commands to make compiler produce verbose output that lists
12124
 
            # what "hidden" libraries, object files and flags are used when
12125
 
            # linking a shared library.
12126
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12127
 
          fi
12128
 
 
12129
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12130
 
          case $host_os in
12131
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12132
 
          *)
12133
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12134
 
            ;;
12135
 
          esac
12136
 
        fi
12137
 
        ;;
12138
 
    esac
12139
 
    ;;
12140
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12141
 
    no_undefined_flag_CXX='${wl}-z,text'
12142
 
    archive_cmds_need_lc_CXX=no
12143
 
    hardcode_shlibpath_var_CXX=no
12144
 
    runpath_var='LD_RUN_PATH'
12145
 
 
12146
 
    case $cc_basename in
12147
 
      CC*)
12148
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12149
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12150
 
        ;;
12151
 
      *)
12152
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12153
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12154
 
        ;;
12155
 
    esac
12156
 
    ;;
12157
 
  sysv5* | sco3.2v5* | sco5v6*)
12158
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12159
 
    # link with -lc, and that would cause any symbols used from libc to
12160
 
    # always be unresolved, which means just about no library would
12161
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12162
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12163
 
    # as -z defs.
12164
 
    # For security reasons, it is highly recommended that you always
12165
 
    # use absolute paths for naming shared libraries, and exclude the
12166
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12167
 
    # requires that you compile everything twice, which is a pain.
12168
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12169
 
    # non-empty value in the environment.  Most likely only useful for
12170
 
    # creating official distributions of packages.
12171
 
    # This is a hack until libtool officially supports absolute path
12172
 
    # names for shared libraries.
12173
 
    no_undefined_flag_CXX='${wl}-z,text'
12174
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12175
 
    archive_cmds_need_lc_CXX=no
12176
 
    hardcode_shlibpath_var_CXX=no
12177
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12178
 
    hardcode_libdir_separator_CXX=':'
12179
 
    link_all_deplibs_CXX=yes
12180
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12181
 
    runpath_var='LD_RUN_PATH'
12182
 
 
12183
 
    case $cc_basename in
12184
 
      CC*)
12185
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12186
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12187
 
        ;;
12188
 
      *)
12189
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12190
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12191
 
        ;;
12192
 
    esac
12193
 
    ;;
12194
 
  tandem*)
12195
 
    case $cc_basename in
12196
 
      NCC*)
12197
 
        # NonStop-UX NCC 3.20
12198
 
        # FIXME: insert proper C++ library support
12199
 
        ld_shlibs_CXX=no
12200
 
        ;;
12201
 
      *)
12202
 
        # FIXME: insert proper C++ library support
12203
 
        ld_shlibs_CXX=no
12204
 
        ;;
12205
 
    esac
12206
 
    ;;
12207
 
  vxworks*)
12208
 
    # FIXME: insert proper C++ library support
12209
 
    ld_shlibs_CXX=no
12210
 
    ;;
12211
 
  *)
12212
 
    # FIXME: insert proper C++ library support
12213
 
    ld_shlibs_CXX=no
12214
 
    ;;
12215
 
esac
12216
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12217
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12218
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12219
 
 
12220
 
GCC_CXX="$GXX"
12221
 
LD_CXX="$LD"
12222
 
 
12223
 
## CAVEAT EMPTOR:
12224
 
## There is no encapsulation within the following macros, do not change
12225
 
## the running order or otherwise move them around unless you know exactly
12226
 
## what you are doing...
12227
 
 
12228
 
cat > conftest.$ac_ext <<EOF
12229
 
class Foo
12230
 
{
12231
 
public:
12232
 
  Foo (void) { a = 0; }
12233
 
private:
12234
 
  int a;
12235
 
};
12236
 
EOF
12237
 
 
12238
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12239
 
  (eval $ac_compile) 2>&5
12240
 
  ac_status=$?
12241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242
 
  (exit $ac_status); }; then
12243
 
  # Parse the compiler output and extract the necessary
12244
 
  # objects, libraries and library flags.
12245
 
 
12246
 
  # Sentinel used to keep track of whether or not we are before
12247
 
  # the conftest object file.
12248
 
  pre_test_object_deps_done=no
12249
 
 
12250
 
  # The `*' in the case matches for architectures that use `case' in
12251
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12252
 
  # eval without this substitution.
12253
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12254
 
 
12255
 
  for p in `eval $output_verbose_link_cmd`; do
12256
 
    case $p in
12257
 
 
12258
 
    -L* | -R* | -l*)
12259
 
       # Some compilers place space between "-{L,R}" and the path.
12260
 
       # Remove the space.
12261
 
       if test $p = "-L" \
12262
 
          || test $p = "-R"; then
12263
 
         prev=$p
12264
 
         continue
12265
 
       else
12266
 
         prev=
12267
 
       fi
12268
 
 
12269
 
       if test "$pre_test_object_deps_done" = no; then
12270
 
         case $p in
12271
 
         -L* | -R*)
12272
 
           # Internal compiler library paths should come after those
12273
 
           # provided the user.  The postdeps already come after the
12274
 
           # user supplied libs so there is no need to process them.
12275
 
           if test -z "$compiler_lib_search_path_CXX"; then
12276
 
             compiler_lib_search_path_CXX="${prev}${p}"
12277
 
           else
12278
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12279
 
           fi
12280
 
           ;;
12281
 
         # The "-l" case would never come before the object being
12282
 
         # linked, so don't bother handling this case.
12283
 
         esac
12284
 
       else
12285
 
         if test -z "$postdeps_CXX"; then
12286
 
           postdeps_CXX="${prev}${p}"
12287
 
         else
12288
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12289
 
         fi
12290
 
       fi
12291
 
       ;;
12292
 
 
12293
 
    *.$objext)
12294
 
       # This assumes that the test object file only shows up
12295
 
       # once in the compiler output.
12296
 
       if test "$p" = "conftest.$objext"; then
12297
 
         pre_test_object_deps_done=yes
12298
 
         continue
12299
 
       fi
12300
 
 
12301
 
       if test "$pre_test_object_deps_done" = no; then
12302
 
         if test -z "$predep_objects_CXX"; then
12303
 
           predep_objects_CXX="$p"
12304
 
         else
12305
 
           predep_objects_CXX="$predep_objects_CXX $p"
12306
 
         fi
12307
 
       else
12308
 
         if test -z "$postdep_objects_CXX"; then
12309
 
           postdep_objects_CXX="$p"
12310
 
         else
12311
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12312
 
         fi
12313
 
       fi
12314
 
       ;;
12315
 
 
12316
 
    *) ;; # Ignore the rest.
12317
 
 
12318
 
    esac
12319
 
  done
12320
 
 
12321
 
  # Clean up.
12322
 
  rm -f a.out a.exe
12323
 
else
12324
 
  echo "libtool.m4: error: problem compiling CXX test program"
12325
 
fi
12326
 
 
12327
 
$rm -f confest.$objext
12328
 
 
12329
 
# PORTME: override above test on systems where it is broken
12330
 
case $host_os in
12331
 
interix[3-9]*)
12332
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12333
 
  # hack all around it, let's just trust "g++" to DTRT.
12334
 
  predep_objects_CXX=
12335
 
  postdep_objects_CXX=
12336
 
  postdeps_CXX=
12337
 
  ;;
12338
 
 
12339
 
linux*)
12340
 
  case `$CC -V 2>&1 | sed 5q` in
12341
 
  *Sun\ C*)
12342
 
    # Sun C++ 5.9
12343
 
    #
12344
 
    # The more standards-conforming stlport4 library is
12345
 
    # incompatible with the Cstd library. Avoid specifying
12346
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12347
 
    # -library=stlport4 depends on it.
12348
 
    case " $CXX $CXXFLAGS " in
12349
 
    *" -library=stlport4 "*)
12350
 
      solaris_use_stlport4=yes
12351
 
      ;;
12352
 
    esac
12353
 
    if test "$solaris_use_stlport4" != yes; then
12354
 
      postdeps_CXX='-library=Cstd -library=Crun'
12355
 
    fi
12356
 
    ;;
12357
 
  esac
12358
 
  ;;
12359
 
 
12360
 
solaris*)
12361
 
  case $cc_basename in
12362
 
  CC*)
12363
 
    # The more standards-conforming stlport4 library is
12364
 
    # incompatible with the Cstd library. Avoid specifying
12365
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12366
 
    # -library=stlport4 depends on it.
12367
 
    case " $CXX $CXXFLAGS " in
12368
 
    *" -library=stlport4 "*)
12369
 
      solaris_use_stlport4=yes
12370
 
      ;;
12371
 
    esac
12372
 
 
12373
 
    # Adding this requires a known-good setup of shared libraries for
12374
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12375
 
    # archive will be linked into the output, leading to subtle bugs.
12376
 
    if test "$solaris_use_stlport4" != yes; then
12377
 
      postdeps_CXX='-library=Cstd -library=Crun'
12378
 
    fi
12379
 
    ;;
12380
 
  esac
12381
 
  ;;
12382
 
esac
12383
 
 
12384
 
 
12385
 
case " $postdeps_CXX " in
12386
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12387
 
esac
12388
 
 
12389
 
lt_prog_compiler_wl_CXX=
12390
 
lt_prog_compiler_pic_CXX=
12391
 
lt_prog_compiler_static_CXX=
12392
 
 
12393
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12394
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12395
 
 
12396
 
  # C++ specific cases for pic, static, wl, etc.
12397
 
  if test "$GXX" = yes; then
12398
 
    lt_prog_compiler_wl_CXX='-Wl,'
12399
 
    lt_prog_compiler_static_CXX='-static'
12400
 
 
12401
 
    case $host_os in
12402
 
    aix*)
12403
 
      # All AIX code is PIC.
12404
 
      if test "$host_cpu" = ia64; then
12405
 
        # AIX 5 now supports IA64 processor
12406
 
        lt_prog_compiler_static_CXX='-Bstatic'
12407
 
      fi
12408
 
      ;;
12409
 
    amigaos*)
12410
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12411
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12412
 
      # like `-m68040'.
12413
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12414
 
      ;;
12415
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12416
 
      # PIC is the default for these OSes.
12417
 
      ;;
12418
 
    mingw* | cygwin* | os2* | pw32*)
12419
 
      # This hack is so that the source file can tell whether it is being
12420
 
      # built for inclusion in a dll (and should export symbols for example).
12421
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12422
 
      # (--disable-auto-import) libraries
12423
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12424
 
      ;;
12425
 
    darwin* | rhapsody*)
12426
 
      # PIC is the default on this platform
12427
 
      # Common symbols not allowed in MH_DYLIB files
12428
 
      lt_prog_compiler_pic_CXX='-fno-common'
12429
 
      ;;
12430
 
    *djgpp*)
12431
 
      # DJGPP does not support shared libraries at all
12432
 
      lt_prog_compiler_pic_CXX=
12433
 
      ;;
12434
 
    interix[3-9]*)
12435
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12436
 
      # Instead, we relocate shared libraries at runtime.
12437
 
      ;;
12438
 
    sysv4*MP*)
12439
 
      if test -d /usr/nec; then
12440
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12441
 
      fi
12442
 
      ;;
12443
 
    hpux*)
12444
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12445
 
      # not for PA HP-UX.
12446
 
      case $host_cpu in
12447
 
      hppa*64*|ia64*)
12448
 
        ;;
12449
 
      *)
12450
 
        lt_prog_compiler_pic_CXX='-fPIC'
12451
 
        ;;
12452
 
      esac
12453
 
      ;;
12454
 
    *)
12455
 
      lt_prog_compiler_pic_CXX='-fPIC'
12456
 
      ;;
12457
 
    esac
12458
 
  else
12459
 
    case $host_os in
12460
 
      aix4* | aix5*)
12461
 
        # All AIX code is PIC.
12462
 
        if test "$host_cpu" = ia64; then
12463
 
          # AIX 5 now supports IA64 processor
12464
 
          lt_prog_compiler_static_CXX='-Bstatic'
12465
 
        else
12466
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12467
 
        fi
12468
 
        ;;
12469
 
      chorus*)
12470
 
        case $cc_basename in
12471
 
        cxch68*)
12472
 
          # Green Hills C++ Compiler
12473
 
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12474
 
          ;;
12475
 
        esac
12476
 
        ;;
12477
 
       darwin*)
12478
 
         # PIC is the default on this platform
12479
 
         # Common symbols not allowed in MH_DYLIB files
12480
 
         case $cc_basename in
12481
 
           xlc*)
12482
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12483
 
           lt_prog_compiler_wl_CXX='-Wl,'
12484
 
           ;;
12485
 
         esac
12486
 
       ;;
12487
 
      dgux*)
12488
 
        case $cc_basename in
12489
 
          ec++*)
12490
 
            lt_prog_compiler_pic_CXX='-KPIC'
12491
 
            ;;
12492
 
          ghcx*)
12493
 
            # Green Hills C++ Compiler
12494
 
            lt_prog_compiler_pic_CXX='-pic'
12495
 
            ;;
12496
 
          *)
12497
 
            ;;
12498
 
        esac
12499
 
        ;;
12500
 
      freebsd* | dragonfly*)
12501
 
        # FreeBSD uses GNU C++
12502
 
        ;;
12503
 
      hpux9* | hpux10* | hpux11*)
12504
 
        case $cc_basename in
12505
 
          CC*)
12506
 
            lt_prog_compiler_wl_CXX='-Wl,'
12507
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12508
 
            if test "$host_cpu" != ia64; then
12509
 
              lt_prog_compiler_pic_CXX='+Z'
12510
 
            fi
12511
 
            ;;
12512
 
          aCC*)
12513
 
            lt_prog_compiler_wl_CXX='-Wl,'
12514
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12515
 
            case $host_cpu in
12516
 
            hppa*64*|ia64*)
12517
 
              # +Z the default
12518
 
              ;;
12519
 
            *)
12520
 
              lt_prog_compiler_pic_CXX='+Z'
12521
 
              ;;
12522
 
            esac
12523
 
            ;;
12524
 
          *)
12525
 
            ;;
12526
 
        esac
12527
 
        ;;
12528
 
      interix*)
12529
 
        # This is c89, which is MS Visual C++ (no shared libs)
12530
 
        # Anyone wants to do a port?
12531
 
        ;;
12532
 
      irix5* | irix6* | nonstopux*)
12533
 
        case $cc_basename in
12534
 
          CC*)
12535
 
            lt_prog_compiler_wl_CXX='-Wl,'
12536
 
            lt_prog_compiler_static_CXX='-non_shared'
12537
 
            # CC pic flag -KPIC is the default.
12538
 
            ;;
12539
 
          *)
12540
 
            ;;
12541
 
        esac
12542
 
        ;;
12543
 
      linux* | k*bsd*-gnu)
12544
 
        case $cc_basename in
12545
 
          KCC*)
12546
 
            # KAI C++ Compiler
12547
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12548
 
            lt_prog_compiler_pic_CXX='-fPIC'
12549
 
            ;;
12550
 
          icpc* | ecpc*)
12551
 
            # Intel C++
12552
 
            lt_prog_compiler_wl_CXX='-Wl,'
12553
 
            lt_prog_compiler_pic_CXX='-KPIC'
12554
 
            lt_prog_compiler_static_CXX='-static'
12555
 
            ;;
12556
 
          pgCC*)
12557
 
            # Portland Group C++ compiler.
12558
 
            lt_prog_compiler_wl_CXX='-Wl,'
12559
 
            lt_prog_compiler_pic_CXX='-fpic'
12560
 
            lt_prog_compiler_static_CXX='-Bstatic'
12561
 
            ;;
12562
 
          cxx*)
12563
 
            # Compaq C++
12564
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12565
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12566
 
            lt_prog_compiler_pic_CXX=
12567
 
            lt_prog_compiler_static_CXX='-non_shared'
12568
 
            ;;
12569
 
          *)
12570
 
            case `$CC -V 2>&1 | sed 5q` in
12571
 
            *Sun\ C*)
12572
 
              # Sun C++ 5.9
12573
 
              lt_prog_compiler_pic_CXX='-KPIC'
12574
 
              lt_prog_compiler_static_CXX='-Bstatic'
12575
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
12576
 
              ;;
12577
 
            esac
12578
 
            ;;
12579
 
        esac
12580
 
        ;;
12581
 
      lynxos*)
12582
 
        ;;
12583
 
      m88k*)
12584
 
        ;;
12585
 
      mvs*)
12586
 
        case $cc_basename in
12587
 
          cxx*)
12588
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12589
 
            ;;
12590
 
          *)
12591
 
            ;;
12592
 
        esac
12593
 
        ;;
12594
 
      netbsd* | netbsdelf*-gnu)
12595
 
        ;;
12596
 
      osf3* | osf4* | osf5*)
12597
 
        case $cc_basename in
12598
 
          KCC*)
12599
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12600
 
            ;;
12601
 
          RCC*)
12602
 
            # Rational C++ 2.4.1
12603
 
            lt_prog_compiler_pic_CXX='-pic'
12604
 
            ;;
12605
 
          cxx*)
12606
 
            # Digital/Compaq C++
12607
 
            lt_prog_compiler_wl_CXX='-Wl,'
12608
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12609
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12610
 
            lt_prog_compiler_pic_CXX=
12611
 
            lt_prog_compiler_static_CXX='-non_shared'
12612
 
            ;;
12613
 
          *)
12614
 
            ;;
12615
 
        esac
12616
 
        ;;
12617
 
      psos*)
12618
 
        ;;
12619
 
      solaris*)
12620
 
        case $cc_basename in
12621
 
          CC*)
12622
 
            # Sun C++ 4.2, 5.x and Centerline C++
12623
 
            lt_prog_compiler_pic_CXX='-KPIC'
12624
 
            lt_prog_compiler_static_CXX='-Bstatic'
12625
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
12626
 
            ;;
12627
 
          gcx*)
12628
 
            # Green Hills C++ Compiler
12629
 
            lt_prog_compiler_pic_CXX='-PIC'
12630
 
            ;;
12631
 
          *)
12632
 
            ;;
12633
 
        esac
12634
 
        ;;
12635
 
      sunos4*)
12636
 
        case $cc_basename in
12637
 
          CC*)
12638
 
            # Sun C++ 4.x
12639
 
            lt_prog_compiler_pic_CXX='-pic'
12640
 
            lt_prog_compiler_static_CXX='-Bstatic'
12641
 
            ;;
12642
 
          lcc*)
12643
 
            # Lucid
12644
 
            lt_prog_compiler_pic_CXX='-pic'
12645
 
            ;;
12646
 
          *)
12647
 
            ;;
12648
 
        esac
12649
 
        ;;
12650
 
      tandem*)
12651
 
        case $cc_basename in
12652
 
          NCC*)
12653
 
            # NonStop-UX NCC 3.20
12654
 
            lt_prog_compiler_pic_CXX='-KPIC'
12655
 
            ;;
12656
 
          *)
12657
 
            ;;
12658
 
        esac
12659
 
        ;;
12660
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12661
 
        case $cc_basename in
12662
 
          CC*)
12663
 
            lt_prog_compiler_wl_CXX='-Wl,'
12664
 
            lt_prog_compiler_pic_CXX='-KPIC'
12665
 
            lt_prog_compiler_static_CXX='-Bstatic'
12666
 
            ;;
12667
 
        esac
12668
 
        ;;
12669
 
      vxworks*)
12670
 
        ;;
12671
 
      *)
12672
 
        lt_prog_compiler_can_build_shared_CXX=no
12673
 
        ;;
12674
 
    esac
12675
 
  fi
12676
 
 
12677
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12678
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12679
 
 
12680
 
#
12681
 
# Check to make sure the PIC flag actually works.
12682
 
#
12683
 
if test -n "$lt_prog_compiler_pic_CXX"; then
12684
 
  
12685
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12686
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12687
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12688
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12689
 
else
12690
 
  lt_prog_compiler_pic_works_CXX=no
12691
 
  ac_outfile=conftest.$ac_objext
12692
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12693
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12694
 
   # Insert the option either (1) after the last *FLAGS variable, or
12695
 
   # (2) before a word containing "conftest.", or (3) at the end.
12696
 
   # Note that $ac_compile itself does not contain backslashes and begins
12697
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12698
 
   # The option is referenced via a variable to avoid confusing sed.
12699
 
   lt_compile=`echo "$ac_compile" | $SED \
12700
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12701
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12702
 
   -e 's:$: $lt_compiler_flag:'`
12703
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12704
 
   (eval "$lt_compile" 2>conftest.err)
12705
 
   ac_status=$?
12706
 
   cat conftest.err >&5
12707
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
12708
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12709
 
     # The compiler can only warn and ignore the option if not recognized
12710
 
     # So say no if there are warnings other than the usual output.
12711
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12712
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12713
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12714
 
       lt_prog_compiler_pic_works_CXX=yes
12715
 
     fi
12716
 
   fi
12717
 
   $rm conftest*
12718
 
 
12719
 
fi
12720
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12721
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12722
 
 
12723
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12724
 
    case $lt_prog_compiler_pic_CXX in
12725
 
     "" | " "*) ;;
12726
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12727
 
     esac
12728
 
else
12729
 
    lt_prog_compiler_pic_CXX=
12730
 
     lt_prog_compiler_can_build_shared_CXX=no
12731
 
fi
12732
 
 
12733
 
fi
12734
 
case $host_os in
12735
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12736
 
  *djgpp*)
12737
 
    lt_prog_compiler_pic_CXX=
12738
 
    ;;
12739
 
  *)
12740
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12741
 
    ;;
12742
 
esac
12743
 
 
12744
 
#
12745
 
# Check to make sure the static flag actually works.
12746
 
#
12747
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12748
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12749
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12750
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12751
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12752
 
else
12753
 
  lt_prog_compiler_static_works_CXX=no
12754
 
   save_LDFLAGS="$LDFLAGS"
12755
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12756
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12757
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12758
 
     # The linker can only warn and ignore the option if not recognized
12759
 
     # So say no if there are warnings
12760
 
     if test -s conftest.err; then
12761
 
       # Append any errors to the config.log.
12762
 
       cat conftest.err 1>&5
12763
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12764
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12765
 
       if diff conftest.exp conftest.er2 >/dev/null; then
12766
 
         lt_prog_compiler_static_works_CXX=yes
12767
 
       fi
12768
 
     else
12769
 
       lt_prog_compiler_static_works_CXX=yes
12770
 
     fi
12771
 
   fi
12772
 
   $rm conftest*
12773
 
   LDFLAGS="$save_LDFLAGS"
12774
 
 
12775
 
fi
12776
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12777
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12778
 
 
12779
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12780
 
    :
12781
 
else
12782
 
    lt_prog_compiler_static_CXX=
12783
 
fi
12784
 
 
12785
 
 
12786
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12787
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12788
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12790
 
else
12791
 
  lt_cv_prog_compiler_c_o_CXX=no
12792
 
   $rm -r conftest 2>/dev/null
12793
 
   mkdir conftest
12794
 
   cd conftest
12795
 
   mkdir out
12796
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12797
 
 
12798
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12799
 
   # Insert the option either (1) after the last *FLAGS variable, or
12800
 
   # (2) before a word containing "conftest.", or (3) at the end.
12801
 
   # Note that $ac_compile itself does not contain backslashes and begins
12802
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12803
 
   lt_compile=`echo "$ac_compile" | $SED \
12804
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12805
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12806
 
   -e 's:$: $lt_compiler_flag:'`
12807
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
12808
 
   (eval "$lt_compile" 2>out/conftest.err)
12809
 
   ac_status=$?
12810
 
   cat out/conftest.err >&5
12811
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
12812
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12813
 
   then
12814
 
     # The compiler can only warn and ignore the option if not recognized
12815
 
     # So say no if there are warnings
12816
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12817
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12818
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12819
 
       lt_cv_prog_compiler_c_o_CXX=yes
12820
 
     fi
12821
 
   fi
12822
 
   chmod u+w . 2>&5
12823
 
   $rm conftest*
12824
 
   # SGI C++ compiler will create directory out/ii_files/ for
12825
 
   # template instantiation
12826
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12827
 
   $rm out/* && rmdir out
12828
 
   cd ..
12829
 
   rmdir conftest
12830
 
   $rm conftest*
12831
 
 
12832
 
fi
12833
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12834
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12835
 
 
12836
 
 
12837
 
hard_links="nottested"
12838
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12839
 
  # do not overwrite the value of need_locks provided by the user
12840
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12841
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12842
 
  hard_links=yes
12843
 
  $rm conftest*
12844
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12845
 
  touch conftest.a
12846
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12847
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12848
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12849
 
echo "${ECHO_T}$hard_links" >&6; }
12850
 
  if test "$hard_links" = no; then
12851
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12852
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12853
 
    need_locks=warn
12854
 
  fi
12855
 
else
12856
 
  need_locks=no
12857
 
fi
12858
 
 
12859
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12860
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12861
 
 
12862
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12863
 
  case $host_os in
12864
 
  aix4* | aix5*)
12865
 
    # If we're using GNU nm, then we don't want the "-C" option.
12866
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12867
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12868
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12869
 
    else
12870
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12871
 
    fi
12872
 
    ;;
12873
 
  pw32*)
12874
 
    export_symbols_cmds_CXX="$ltdll_cmds"
12875
 
  ;;
12876
 
  cygwin* | mingw*)
12877
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12878
 
  ;;
12879
 
  linux* | k*bsd*-gnu)
12880
 
    link_all_deplibs_CXX=no
12881
 
  ;;
12882
 
  *)
12883
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12884
 
  ;;
12885
 
  esac
12886
 
 
12887
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12888
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12889
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12890
 
 
12891
 
#
12892
 
# Do we need to explicitly link libc?
12893
 
#
12894
 
case "x$archive_cmds_need_lc_CXX" in
12895
 
x|xyes)
12896
 
  # Assume -lc should be added
12897
 
  archive_cmds_need_lc_CXX=yes
12898
 
 
12899
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
12900
 
    case $archive_cmds_CXX in
12901
 
    *'~'*)
12902
 
      # FIXME: we may have to deal with multi-command sequences.
12903
 
      ;;
12904
 
    '$CC '*)
12905
 
      # Test whether the compiler implicitly links with -lc since on some
12906
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12907
 
      # to ld, don't add -lc before -lgcc.
12908
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12909
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12910
 
      $rm conftest*
12911
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12912
 
 
12913
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12914
 
  (eval $ac_compile) 2>&5
12915
 
  ac_status=$?
12916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917
 
  (exit $ac_status); } 2>conftest.err; then
12918
 
        soname=conftest
12919
 
        lib=conftest
12920
 
        libobjs=conftest.$ac_objext
12921
 
        deplibs=
12922
 
        wl=$lt_prog_compiler_wl_CXX
12923
 
        pic_flag=$lt_prog_compiler_pic_CXX
12924
 
        compiler_flags=-v
12925
 
        linker_flags=-v
12926
 
        verstring=
12927
 
        output_objdir=.
12928
 
        libname=conftest
12929
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12930
 
        allow_undefined_flag_CXX=
12931
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12932
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12933
 
  ac_status=$?
12934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935
 
  (exit $ac_status); }
12936
 
        then
12937
 
          archive_cmds_need_lc_CXX=no
12938
 
        else
12939
 
          archive_cmds_need_lc_CXX=yes
12940
 
        fi
12941
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12942
 
      else
12943
 
        cat conftest.err 1>&5
12944
 
      fi
12945
 
      $rm conftest*
12946
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12947
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12948
 
      ;;
12949
 
    esac
12950
 
  fi
12951
 
  ;;
12952
 
esac
12953
 
 
12954
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12955
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12956
 
library_names_spec=
12957
 
libname_spec='lib$name'
12958
 
soname_spec=
12959
 
shrext_cmds=".so"
12960
 
postinstall_cmds=
12961
 
postuninstall_cmds=
12962
 
finish_cmds=
12963
 
finish_eval=
12964
 
shlibpath_var=
12965
 
shlibpath_overrides_runpath=unknown
12966
 
version_type=none
12967
 
dynamic_linker="$host_os ld.so"
12968
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12969
 
 
12970
 
need_lib_prefix=unknown
12971
 
hardcode_into_libs=no
12972
 
 
12973
 
# when you set need_version to no, make sure it does not cause -set_version
12974
 
# flags to be left without arguments
12975
 
need_version=unknown
12976
 
 
12977
 
case $host_os in
12978
 
aix3*)
12979
 
  version_type=linux
12980
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12981
 
  shlibpath_var=LIBPATH
12982
 
 
12983
 
  # AIX 3 has no versioning support, so we append a major version to the name.
12984
 
  soname_spec='${libname}${release}${shared_ext}$major'
12985
 
  ;;
12986
 
 
12987
 
aix4* | aix5*)
12988
 
  version_type=linux
12989
 
  need_lib_prefix=no
12990
 
  need_version=no
12991
 
  hardcode_into_libs=yes
12992
 
  if test "$host_cpu" = ia64; then
12993
 
    # AIX 5 supports IA64
12994
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12995
 
    shlibpath_var=LD_LIBRARY_PATH
12996
 
  else
12997
 
    # With GCC up to 2.95.x, collect2 would create an import file
12998
 
    # for dependence libraries.  The import file would start with
12999
 
    # the line `#! .'.  This would cause the generated library to
13000
 
    # depend on `.', always an invalid library.  This was fixed in
13001
 
    # development snapshots of GCC prior to 3.0.
13002
 
    case $host_os in
13003
 
      aix4 | aix4.[01] | aix4.[01].*)
13004
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13005
 
           echo ' yes '
13006
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13007
 
        :
13008
 
      else
13009
 
        can_build_shared=no
13010
 
      fi
13011
 
      ;;
13012
 
    esac
13013
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13014
 
    # soname into executable. Probably we can add versioning support to
13015
 
    # collect2, so additional links can be useful in future.
13016
 
    if test "$aix_use_runtimelinking" = yes; then
13017
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13018
 
      # instead of lib<name>.a to let people know that these are not
13019
 
      # typical AIX shared libraries.
13020
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13021
 
    else
13022
 
      # We preserve .a as extension for shared libraries through AIX4.2
13023
 
      # and later when we are not doing run time linking.
13024
 
      library_names_spec='${libname}${release}.a $libname.a'
13025
 
      soname_spec='${libname}${release}${shared_ext}$major'
13026
 
    fi
13027
 
    shlibpath_var=LIBPATH
13028
 
  fi
13029
 
  ;;
13030
 
 
13031
 
amigaos*)
13032
 
  library_names_spec='$libname.ixlibrary $libname.a'
13033
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13034
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13035
 
  ;;
13036
 
 
13037
 
beos*)
13038
 
  library_names_spec='${libname}${shared_ext}'
13039
 
  dynamic_linker="$host_os ld.so"
13040
 
  shlibpath_var=LIBRARY_PATH
13041
 
  ;;
13042
 
 
13043
 
bsdi[45]*)
13044
 
  version_type=linux
13045
 
  need_version=no
13046
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13047
 
  soname_spec='${libname}${release}${shared_ext}$major'
13048
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13049
 
  shlibpath_var=LD_LIBRARY_PATH
13050
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13051
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13052
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13053
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13054
 
  # libtool to hard-code these into programs
13055
 
  ;;
13056
 
 
13057
 
cygwin* | mingw* | pw32*)
13058
 
  version_type=windows
13059
 
  shrext_cmds=".dll"
13060
 
  need_version=no
13061
 
  need_lib_prefix=no
13062
 
 
13063
 
  case $GCC,$host_os in
13064
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13065
 
    library_names_spec='$libname.dll.a'
13066
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13067
 
    postinstall_cmds='base_file=`basename \${file}`~
13068
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13069
 
      dldir=$destdir/`dirname \$dlpath`~
13070
 
      test -d \$dldir || mkdir -p \$dldir~
13071
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13072
 
      chmod a+x \$dldir/$dlname'
13073
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13074
 
      dlpath=$dir/\$dldll~
13075
 
       $rm \$dlpath'
13076
 
    shlibpath_overrides_runpath=yes
13077
 
 
13078
 
    case $host_os in
13079
 
    cygwin*)
13080
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13081
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13082
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13083
 
      ;;
13084
 
    mingw*)
13085
 
      # MinGW DLLs use traditional 'lib' prefix
13086
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13087
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13088
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13089
 
        # It is most probably a Windows format PATH printed by
13090
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13091
 
        # path with ; separators, and with drive letters. We can handle the
13092
 
        # drive letters (cygwin fileutils understands them), so leave them,
13093
 
        # especially as we might pass files found there to a mingw objdump,
13094
 
        # which wouldn't understand a cygwinified path. Ahh.
13095
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13096
 
      else
13097
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13098
 
      fi
13099
 
      ;;
13100
 
    pw32*)
13101
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13102
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13103
 
      ;;
13104
 
    esac
13105
 
    ;;
13106
 
 
13107
 
  *)
13108
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13109
 
    ;;
13110
 
  esac
13111
 
  dynamic_linker='Win32 ld.exe'
13112
 
  # FIXME: first we should search . and the directory the executable is in
13113
 
  shlibpath_var=PATH
13114
 
  ;;
13115
 
 
13116
 
darwin* | rhapsody*)
13117
 
  dynamic_linker="$host_os dyld"
13118
 
  version_type=darwin
13119
 
  need_lib_prefix=no
13120
 
  need_version=no
13121
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13122
 
  soname_spec='${libname}${release}${major}$shared_ext'
13123
 
  shlibpath_overrides_runpath=yes
13124
 
  shlibpath_var=DYLD_LIBRARY_PATH
13125
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13126
 
   
13127
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13128
 
  ;;
13129
 
 
13130
 
dgux*)
13131
 
  version_type=linux
13132
 
  need_lib_prefix=no
13133
 
  need_version=no
13134
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13135
 
  soname_spec='${libname}${release}${shared_ext}$major'
13136
 
  shlibpath_var=LD_LIBRARY_PATH
13137
 
  ;;
13138
 
 
13139
 
freebsd1*)
13140
 
  dynamic_linker=no
13141
 
  ;;
13142
 
 
13143
 
freebsd* | dragonfly*)
13144
 
  # DragonFly does not have aout.  When/if they implement a new
13145
 
  # versioning mechanism, adjust this.
13146
 
  if test -x /usr/bin/objformat; then
13147
 
    objformat=`/usr/bin/objformat`
13148
 
  else
13149
 
    case $host_os in
13150
 
    freebsd[123]*) objformat=aout ;;
13151
 
    *) objformat=elf ;;
13152
 
    esac
13153
 
  fi
13154
 
  version_type=freebsd-$objformat
13155
 
  case $version_type in
13156
 
    freebsd-elf*)
13157
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13158
 
      need_version=no
13159
 
      need_lib_prefix=no
13160
 
      ;;
13161
 
    freebsd-*)
13162
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13163
 
      need_version=yes
13164
 
      ;;
13165
 
  esac
13166
 
  shlibpath_var=LD_LIBRARY_PATH
13167
 
  case $host_os in
13168
 
  freebsd2*)
13169
 
    shlibpath_overrides_runpath=yes
13170
 
    ;;
13171
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13172
 
    shlibpath_overrides_runpath=yes
13173
 
    hardcode_into_libs=yes
13174
 
    ;;
13175
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13176
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13177
 
    shlibpath_overrides_runpath=no
13178
 
    hardcode_into_libs=yes
13179
 
    ;;
13180
 
  *) # from 4.6 on, and DragonFly
13181
 
    shlibpath_overrides_runpath=yes
13182
 
    hardcode_into_libs=yes
13183
 
    ;;
13184
 
  esac
13185
 
  ;;
13186
 
 
13187
 
gnu*)
13188
 
  version_type=linux
13189
 
  need_lib_prefix=no
13190
 
  need_version=no
13191
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13192
 
  soname_spec='${libname}${release}${shared_ext}$major'
13193
 
  shlibpath_var=LD_LIBRARY_PATH
13194
 
  hardcode_into_libs=yes
13195
 
  ;;
13196
 
 
13197
 
hpux9* | hpux10* | hpux11*)
13198
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13199
 
  # link against other versions.
13200
 
  version_type=sunos
13201
 
  need_lib_prefix=no
13202
 
  need_version=no
13203
 
  case $host_cpu in
13204
 
  ia64*)
13205
 
    shrext_cmds='.so'
13206
 
    hardcode_into_libs=yes
13207
 
    dynamic_linker="$host_os dld.so"
13208
 
    shlibpath_var=LD_LIBRARY_PATH
13209
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13210
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13211
 
    soname_spec='${libname}${release}${shared_ext}$major'
13212
 
    if test "X$HPUX_IA64_MODE" = X32; then
13213
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13214
 
    else
13215
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13216
 
    fi
13217
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13218
 
    ;;
13219
 
   hppa*64*)
13220
 
     shrext_cmds='.sl'
13221
 
     hardcode_into_libs=yes
13222
 
     dynamic_linker="$host_os dld.sl"
13223
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13224
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13225
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13226
 
     soname_spec='${libname}${release}${shared_ext}$major'
13227
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13228
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13229
 
     ;;
13230
 
   *)
13231
 
    shrext_cmds='.sl'
13232
 
    dynamic_linker="$host_os dld.sl"
13233
 
    shlibpath_var=SHLIB_PATH
13234
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13235
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236
 
    soname_spec='${libname}${release}${shared_ext}$major'
13237
 
    ;;
13238
 
  esac
13239
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13240
 
  postinstall_cmds='chmod 555 $lib'
13241
 
  ;;
13242
 
 
13243
 
interix[3-9]*)
13244
 
  version_type=linux
13245
 
  need_lib_prefix=no
13246
 
  need_version=no
13247
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13248
 
  soname_spec='${libname}${release}${shared_ext}$major'
13249
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13250
 
  shlibpath_var=LD_LIBRARY_PATH
13251
 
  shlibpath_overrides_runpath=no
13252
 
  hardcode_into_libs=yes
13253
 
  ;;
13254
 
 
13255
 
irix5* | irix6* | nonstopux*)
13256
 
  case $host_os in
13257
 
    nonstopux*) version_type=nonstopux ;;
13258
 
    *)
13259
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13260
 
                version_type=linux
13261
 
        else
13262
 
                version_type=irix
13263
 
        fi ;;
13264
 
  esac
13265
 
  need_lib_prefix=no
13266
 
  need_version=no
13267
 
  soname_spec='${libname}${release}${shared_ext}$major'
13268
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13269
 
  case $host_os in
13270
 
  irix5* | nonstopux*)
13271
 
    libsuff= shlibsuff=
13272
 
    ;;
13273
 
  *)
13274
 
    case $LD in # libtool.m4 will add one of these switches to LD
13275
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13276
 
      libsuff= shlibsuff= libmagic=32-bit;;
13277
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13278
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13279
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13280
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13281
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13282
 
    esac
13283
 
    ;;
13284
 
  esac
13285
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13286
 
  shlibpath_overrides_runpath=no
13287
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13288
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13289
 
  hardcode_into_libs=yes
13290
 
  ;;
13291
 
 
13292
 
# No shared lib support for Linux oldld, aout, or coff.
13293
 
linux*oldld* | linux*aout* | linux*coff*)
13294
 
  dynamic_linker=no
13295
 
  ;;
13296
 
 
13297
 
# This must be Linux ELF.
13298
 
linux* | k*bsd*-gnu)
13299
 
  version_type=linux
13300
 
  need_lib_prefix=no
13301
 
  need_version=no
13302
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13303
 
  soname_spec='${libname}${release}${shared_ext}$major'
13304
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13305
 
  shlibpath_var=LD_LIBRARY_PATH
13306
 
  shlibpath_overrides_runpath=no
13307
 
  # This implies no fast_install, which is unacceptable.
13308
 
  # Some rework will be needed to allow for fast_install
13309
 
  # before this can be enabled.
13310
 
  hardcode_into_libs=yes
13311
 
 
13312
 
  # Append ld.so.conf contents to the search path
13313
 
  if test -f /etc/ld.so.conf; then
13314
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13315
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13316
 
  fi
13317
 
 
13318
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13319
 
  # powerpc, because MkLinux only supported shared libraries with the
13320
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13321
 
  # most powerpc-linux boxes support dynamic linking these days and
13322
 
  # people can always --disable-shared, the test was removed, and we
13323
 
  # assume the GNU/Linux dynamic linker is in use.
13324
 
  dynamic_linker='GNU/Linux ld.so'
13325
 
  ;;
13326
 
 
13327
 
netbsdelf*-gnu)
13328
 
  version_type=linux
13329
 
  need_lib_prefix=no
13330
 
  need_version=no
13331
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13332
 
  soname_spec='${libname}${release}${shared_ext}$major'
13333
 
  shlibpath_var=LD_LIBRARY_PATH
13334
 
  shlibpath_overrides_runpath=no
13335
 
  hardcode_into_libs=yes
13336
 
  dynamic_linker='NetBSD ld.elf_so'
13337
 
  ;;
13338
 
 
13339
 
netbsd*)
13340
 
  version_type=sunos
13341
 
  need_lib_prefix=no
13342
 
  need_version=no
13343
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13344
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13345
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13346
 
    dynamic_linker='NetBSD (a.out) ld.so'
13347
 
  else
13348
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13349
 
    soname_spec='${libname}${release}${shared_ext}$major'
13350
 
    dynamic_linker='NetBSD ld.elf_so'
13351
 
  fi
13352
 
  shlibpath_var=LD_LIBRARY_PATH
13353
 
  shlibpath_overrides_runpath=yes
13354
 
  hardcode_into_libs=yes
13355
 
  ;;
13356
 
 
13357
 
newsos6)
13358
 
  version_type=linux
13359
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13360
 
  shlibpath_var=LD_LIBRARY_PATH
13361
 
  shlibpath_overrides_runpath=yes
13362
 
  ;;
13363
 
 
13364
 
nto-qnx*)
13365
 
  version_type=linux
13366
 
  need_lib_prefix=no
13367
 
  need_version=no
13368
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13369
 
  soname_spec='${libname}${release}${shared_ext}$major'
13370
 
  shlibpath_var=LD_LIBRARY_PATH
13371
 
  shlibpath_overrides_runpath=yes
13372
 
  ;;
13373
 
 
13374
 
openbsd*)
13375
 
  version_type=sunos
13376
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13377
 
  need_lib_prefix=no
13378
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13379
 
  case $host_os in
13380
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13381
 
    *)                         need_version=no  ;;
13382
 
  esac
13383
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13384
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13385
 
  shlibpath_var=LD_LIBRARY_PATH
13386
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13387
 
    case $host_os in
13388
 
      openbsd2.[89] | openbsd2.[89].*)
13389
 
        shlibpath_overrides_runpath=no
13390
 
        ;;
13391
 
      *)
13392
 
        shlibpath_overrides_runpath=yes
13393
 
        ;;
13394
 
      esac
13395
 
  else
13396
 
    shlibpath_overrides_runpath=yes
13397
 
  fi
13398
 
  ;;
13399
 
 
13400
 
os2*)
13401
 
  libname_spec='$name'
13402
 
  shrext_cmds=".dll"
13403
 
  need_lib_prefix=no
13404
 
  library_names_spec='$libname${shared_ext} $libname.a'
13405
 
  dynamic_linker='OS/2 ld.exe'
13406
 
  shlibpath_var=LIBPATH
13407
 
  ;;
13408
 
 
13409
 
osf3* | osf4* | osf5*)
13410
 
  version_type=osf
13411
 
  need_lib_prefix=no
13412
 
  need_version=no
13413
 
  soname_spec='${libname}${release}${shared_ext}$major'
13414
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13415
 
  shlibpath_var=LD_LIBRARY_PATH
13416
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13417
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13418
 
  ;;
13419
 
 
13420
 
rdos*)
13421
 
  dynamic_linker=no
13422
 
  ;;
13423
 
 
13424
 
solaris*)
13425
 
  version_type=linux
13426
 
  need_lib_prefix=no
13427
 
  need_version=no
13428
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13429
 
  soname_spec='${libname}${release}${shared_ext}$major'
13430
 
  shlibpath_var=LD_LIBRARY_PATH
13431
 
  shlibpath_overrides_runpath=yes
13432
 
  hardcode_into_libs=yes
13433
 
  # ldd complains unless libraries are executable
13434
 
  postinstall_cmds='chmod +x $lib'
13435
 
  ;;
13436
 
 
13437
 
sunos4*)
13438
 
  version_type=sunos
13439
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13440
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13441
 
  shlibpath_var=LD_LIBRARY_PATH
13442
 
  shlibpath_overrides_runpath=yes
13443
 
  if test "$with_gnu_ld" = yes; then
13444
 
    need_lib_prefix=no
13445
 
  fi
13446
 
  need_version=yes
13447
 
  ;;
13448
 
 
13449
 
sysv4 | sysv4.3*)
13450
 
  version_type=linux
13451
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13452
 
  soname_spec='${libname}${release}${shared_ext}$major'
13453
 
  shlibpath_var=LD_LIBRARY_PATH
13454
 
  case $host_vendor in
13455
 
    sni)
13456
 
      shlibpath_overrides_runpath=no
13457
 
      need_lib_prefix=no
13458
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13459
 
      runpath_var=LD_RUN_PATH
13460
 
      ;;
13461
 
    siemens)
13462
 
      need_lib_prefix=no
13463
 
      ;;
13464
 
    motorola)
13465
 
      need_lib_prefix=no
13466
 
      need_version=no
13467
 
      shlibpath_overrides_runpath=no
13468
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13469
 
      ;;
13470
 
  esac
13471
 
  ;;
13472
 
 
13473
 
sysv4*MP*)
13474
 
  if test -d /usr/nec ;then
13475
 
    version_type=linux
13476
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13477
 
    soname_spec='$libname${shared_ext}.$major'
13478
 
    shlibpath_var=LD_LIBRARY_PATH
13479
 
  fi
13480
 
  ;;
13481
 
 
13482
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13483
 
  version_type=freebsd-elf
13484
 
  need_lib_prefix=no
13485
 
  need_version=no
13486
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13487
 
  soname_spec='${libname}${release}${shared_ext}$major'
13488
 
  shlibpath_var=LD_LIBRARY_PATH
13489
 
  hardcode_into_libs=yes
13490
 
  if test "$with_gnu_ld" = yes; then
13491
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13492
 
    shlibpath_overrides_runpath=no
13493
 
  else
13494
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13495
 
    shlibpath_overrides_runpath=yes
13496
 
    case $host_os in
13497
 
      sco3.2v5*)
13498
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13499
 
        ;;
13500
 
    esac
13501
 
  fi
13502
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13503
 
  ;;
13504
 
 
13505
 
uts4*)
13506
 
  version_type=linux
13507
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13508
 
  soname_spec='${libname}${release}${shared_ext}$major'
13509
 
  shlibpath_var=LD_LIBRARY_PATH
13510
 
  ;;
13511
 
 
13512
 
*)
13513
 
  dynamic_linker=no
13514
 
  ;;
13515
 
esac
13516
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13517
 
echo "${ECHO_T}$dynamic_linker" >&6; }
13518
 
test "$dynamic_linker" = no && can_build_shared=no
13519
 
 
13520
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13521
 
if test "$GCC" = yes; then
13522
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13523
 
fi
13524
 
 
13525
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13526
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13527
 
hardcode_action_CXX=
13528
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13529
 
   test -n "$runpath_var_CXX" || \
13530
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13531
 
 
13532
 
  # We can hardcode non-existant directories.
13533
 
  if test "$hardcode_direct_CXX" != no &&
13534
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13535
 
     # have to relink, otherwise we might link with an installed library
13536
 
     # when we should be linking with a yet-to-be-installed one
13537
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13538
 
     test "$hardcode_minus_L_CXX" != no; then
13539
 
    # Linking always hardcodes the temporary library directory.
13540
 
    hardcode_action_CXX=relink
13541
 
  else
13542
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13543
 
    hardcode_action_CXX=immediate
13544
 
  fi
13545
 
else
13546
 
  # We cannot hardcode anything, or else we can only hardcode existing
13547
 
  # directories.
13548
 
  hardcode_action_CXX=unsupported
13549
 
fi
13550
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13551
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13552
 
 
13553
 
if test "$hardcode_action_CXX" = relink; then
13554
 
  # Fast installation is not supported
13555
 
  enable_fast_install=no
13556
 
elif test "$shlibpath_overrides_runpath" = yes ||
13557
 
     test "$enable_shared" = no; then
13558
 
  # Fast installation is not necessary
13559
 
  enable_fast_install=needless
13560
 
fi
13561
 
 
13562
 
 
13563
 
# The else clause should only fire when bootstrapping the
13564
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13565
 
# with your package, and you will get complaints that there are
13566
 
# no rules to generate ltmain.sh.
13567
 
if test -f "$ltmain"; then
13568
 
  # See if we are running on zsh, and set the options which allow our commands through
13569
 
  # without removal of \ escapes.
13570
 
  if test -n "${ZSH_VERSION+set}" ; then
13571
 
    setopt NO_GLOB_SUBST
13572
 
  fi
13573
 
  # Now quote all the things that may contain metacharacters while being
13574
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13575
 
  # variables and quote the copies for generation of the libtool script.
13576
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13577
 
    SED SHELL STRIP \
13578
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13579
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13580
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13581
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13582
 
    lt_cv_sys_global_symbol_to_c_name_address \
13583
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13584
 
    old_postinstall_cmds old_postuninstall_cmds \
13585
 
    compiler_CXX \
13586
 
    CC_CXX \
13587
 
    LD_CXX \
13588
 
    lt_prog_compiler_wl_CXX \
13589
 
    lt_prog_compiler_pic_CXX \
13590
 
    lt_prog_compiler_static_CXX \
13591
 
    lt_prog_compiler_no_builtin_flag_CXX \
13592
 
    export_dynamic_flag_spec_CXX \
13593
 
    thread_safe_flag_spec_CXX \
13594
 
    whole_archive_flag_spec_CXX \
13595
 
    enable_shared_with_static_runtimes_CXX \
13596
 
    old_archive_cmds_CXX \
13597
 
    old_archive_from_new_cmds_CXX \
13598
 
    predep_objects_CXX \
13599
 
    postdep_objects_CXX \
13600
 
    predeps_CXX \
13601
 
    postdeps_CXX \
13602
 
    compiler_lib_search_path_CXX \
13603
 
    archive_cmds_CXX \
13604
 
    archive_expsym_cmds_CXX \
13605
 
    postinstall_cmds_CXX \
13606
 
    postuninstall_cmds_CXX \
13607
 
    old_archive_from_expsyms_cmds_CXX \
13608
 
    allow_undefined_flag_CXX \
13609
 
    no_undefined_flag_CXX \
13610
 
    export_symbols_cmds_CXX \
13611
 
    hardcode_libdir_flag_spec_CXX \
13612
 
    hardcode_libdir_flag_spec_ld_CXX \
13613
 
    hardcode_libdir_separator_CXX \
13614
 
    hardcode_automatic_CXX \
13615
 
    module_cmds_CXX \
13616
 
    module_expsym_cmds_CXX \
13617
 
    lt_cv_prog_compiler_c_o_CXX \
13618
 
    fix_srcfile_path_CXX \
13619
 
    exclude_expsyms_CXX \
13620
 
    include_expsyms_CXX; do
13621
 
 
13622
 
    case $var in
13623
 
    old_archive_cmds_CXX | \
13624
 
    old_archive_from_new_cmds_CXX | \
13625
 
    archive_cmds_CXX | \
13626
 
    archive_expsym_cmds_CXX | \
13627
 
    module_cmds_CXX | \
13628
 
    module_expsym_cmds_CXX | \
13629
 
    old_archive_from_expsyms_cmds_CXX | \
13630
 
    export_symbols_cmds_CXX | \
13631
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13632
 
    postinstall_cmds | postuninstall_cmds | \
13633
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13634
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13635
 
      # Double-quote double-evaled strings.
13636
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13637
 
      ;;
13638
 
    *)
13639
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13640
 
      ;;
13641
 
    esac
13642
 
  done
13643
 
 
13644
 
  case $lt_echo in
13645
 
  *'\$0 --fallback-echo"')
13646
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13647
 
    ;;
13648
 
  esac
13649
 
 
13650
 
cfgfile="$ofile"
13651
 
 
13652
 
  cat <<__EOF__ >> "$cfgfile"
13653
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13654
 
 
13655
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13656
 
 
13657
 
# Shell to use when invoking shell scripts.
13658
 
SHELL=$lt_SHELL
13659
 
 
13660
 
# Whether or not to build shared libraries.
13661
 
build_libtool_libs=$enable_shared
13662
 
 
13663
 
# Whether or not to build static libraries.
13664
 
build_old_libs=$enable_static
13665
 
 
13666
 
# Whether or not to add -lc for building shared libraries.
13667
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13668
 
 
13669
 
# Whether or not to disallow shared libs when runtime libs are static
13670
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13671
 
 
13672
 
# Whether or not to optimize for fast installation.
13673
 
fast_install=$enable_fast_install
13674
 
 
13675
 
# The host system.
13676
 
host_alias=$host_alias
13677
 
host=$host
13678
 
host_os=$host_os
13679
 
 
13680
 
# The build system.
13681
 
build_alias=$build_alias
13682
 
build=$build
13683
 
build_os=$build_os
13684
 
 
13685
 
# An echo program that does not interpret backslashes.
13686
 
echo=$lt_echo
13687
 
 
13688
 
# The archiver.
13689
 
AR=$lt_AR
13690
 
AR_FLAGS=$lt_AR_FLAGS
13691
 
 
13692
 
# A C compiler.
13693
 
LTCC=$lt_LTCC
13694
 
 
13695
 
# LTCC compiler flags.
13696
 
LTCFLAGS=$lt_LTCFLAGS
13697
 
 
13698
 
# A language-specific compiler.
13699
 
CC=$lt_compiler_CXX
13700
 
 
13701
 
# Is the compiler the GNU C compiler?
13702
 
with_gcc=$GCC_CXX
13703
 
 
13704
 
# An ERE matcher.
13705
 
EGREP=$lt_EGREP
13706
 
 
13707
 
# The linker used to build libraries.
13708
 
LD=$lt_LD_CXX
13709
 
 
13710
 
# Whether we need hard or soft links.
13711
 
LN_S=$lt_LN_S
13712
 
 
13713
 
# A BSD-compatible nm program.
13714
 
NM=$lt_NM
13715
 
 
13716
 
# A symbol stripping program
13717
 
STRIP=$lt_STRIP
13718
 
 
13719
 
# Used to examine libraries when file_magic_cmd begins "file"
13720
 
MAGIC_CMD=$MAGIC_CMD
13721
 
 
13722
 
# Used on cygwin: DLL creation program.
13723
 
DLLTOOL="$DLLTOOL"
13724
 
 
13725
 
# Used on cygwin: object dumper.
13726
 
OBJDUMP="$OBJDUMP"
13727
 
 
13728
 
# Used on cygwin: assembler.
13729
 
AS="$AS"
13730
 
 
13731
 
# The name of the directory that contains temporary libtool files.
13732
 
objdir=$objdir
13733
 
 
13734
 
# How to create reloadable object files.
13735
 
reload_flag=$lt_reload_flag
13736
 
reload_cmds=$lt_reload_cmds
13737
 
 
13738
 
# How to pass a linker flag through the compiler.
13739
 
wl=$lt_lt_prog_compiler_wl_CXX
13740
 
 
13741
 
# Object file suffix (normally "o").
13742
 
objext="$ac_objext"
13743
 
 
13744
 
# Old archive suffix (normally "a").
13745
 
libext="$libext"
13746
 
 
13747
 
# Shared library suffix (normally ".so").
13748
 
shrext_cmds='$shrext_cmds'
13749
 
 
13750
 
# Executable file suffix (normally "").
13751
 
exeext="$exeext"
13752
 
 
13753
 
# Additional compiler flags for building library objects.
13754
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13755
 
pic_mode=$pic_mode
13756
 
 
13757
 
# What is the maximum length of a command?
13758
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13759
 
 
13760
 
# Does compiler simultaneously support -c and -o options?
13761
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13762
 
 
13763
 
# Must we lock files when doing compilation?
13764
 
need_locks=$lt_need_locks
13765
 
 
13766
 
# Do we need the lib prefix for modules?
13767
 
need_lib_prefix=$need_lib_prefix
13768
 
 
13769
 
# Do we need a version for libraries?
13770
 
need_version=$need_version
13771
 
 
13772
 
# Whether dlopen is supported.
13773
 
dlopen_support=$enable_dlopen
13774
 
 
13775
 
# Whether dlopen of programs is supported.
13776
 
dlopen_self=$enable_dlopen_self
13777
 
 
13778
 
# Whether dlopen of statically linked programs is supported.
13779
 
dlopen_self_static=$enable_dlopen_self_static
13780
 
 
13781
 
# Compiler flag to prevent dynamic linking.
13782
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13783
 
 
13784
 
# Compiler flag to turn off builtin functions.
13785
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13786
 
 
13787
 
# Compiler flag to allow reflexive dlopens.
13788
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13789
 
 
13790
 
# Compiler flag to generate shared objects directly from archives.
13791
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13792
 
 
13793
 
# Compiler flag to generate thread-safe objects.
13794
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13795
 
 
13796
 
# Library versioning type.
13797
 
version_type=$version_type
13798
 
 
13799
 
# Format of library name prefix.
13800
 
libname_spec=$lt_libname_spec
13801
 
 
13802
 
# List of archive names.  First name is the real one, the rest are links.
13803
 
# The last name is the one that the linker finds with -lNAME.
13804
 
library_names_spec=$lt_library_names_spec
13805
 
 
13806
 
# The coded name of the library, if different from the real name.
13807
 
soname_spec=$lt_soname_spec
13808
 
 
13809
 
# Commands used to build and install an old-style archive.
13810
 
RANLIB=$lt_RANLIB
13811
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13812
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13813
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13814
 
 
13815
 
# Create an old-style archive from a shared archive.
13816
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13817
 
 
13818
 
# Create a temporary old-style archive to link instead of a shared archive.
13819
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13820
 
 
13821
 
# Commands used to build and install a shared archive.
13822
 
archive_cmds=$lt_archive_cmds_CXX
13823
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13824
 
postinstall_cmds=$lt_postinstall_cmds
13825
 
postuninstall_cmds=$lt_postuninstall_cmds
13826
 
 
13827
 
# Commands used to build a loadable module (assumed same as above if empty)
13828
 
module_cmds=$lt_module_cmds_CXX
13829
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13830
 
 
13831
 
# Commands to strip libraries.
13832
 
old_striplib=$lt_old_striplib
13833
 
striplib=$lt_striplib
13834
 
 
13835
 
# Dependencies to place before the objects being linked to create a
13836
 
# shared library.
13837
 
predep_objects=$lt_predep_objects_CXX
13838
 
 
13839
 
# Dependencies to place after the objects being linked to create a
13840
 
# shared library.
13841
 
postdep_objects=$lt_postdep_objects_CXX
13842
 
 
13843
 
# Dependencies to place before the objects being linked to create a
13844
 
# shared library.
13845
 
predeps=$lt_predeps_CXX
13846
 
 
13847
 
# Dependencies to place after the objects being linked to create a
13848
 
# shared library.
13849
 
postdeps=$lt_postdeps_CXX
13850
 
 
13851
 
# The library search path used internally by the compiler when linking
13852
 
# a shared library.
13853
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13854
 
 
13855
 
# Method to check whether dependent libraries are shared objects.
13856
 
deplibs_check_method=$lt_deplibs_check_method
13857
 
 
13858
 
# Command to use when deplibs_check_method == file_magic.
13859
 
file_magic_cmd=$lt_file_magic_cmd
13860
 
 
13861
 
# Flag that allows shared libraries with undefined symbols to be built.
13862
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13863
 
 
13864
 
# Flag that forces no undefined symbols.
13865
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13866
 
 
13867
 
# Commands used to finish a libtool library installation in a directory.
13868
 
finish_cmds=$lt_finish_cmds
13869
 
 
13870
 
# Same as above, but a single script fragment to be evaled but not shown.
13871
 
finish_eval=$lt_finish_eval
13872
 
 
13873
 
# Take the output of nm and produce a listing of raw symbols and C names.
13874
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13875
 
 
13876
 
# Transform the output of nm in a proper C declaration
13877
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13878
 
 
13879
 
# Transform the output of nm in a C name address pair
13880
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13881
 
 
13882
 
# This is the shared library runtime path variable.
13883
 
runpath_var=$runpath_var
13884
 
 
13885
 
# This is the shared library path variable.
13886
 
shlibpath_var=$shlibpath_var
13887
 
 
13888
 
# Is shlibpath searched before the hard-coded library search path?
13889
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13890
 
 
13891
 
# How to hardcode a shared library path into an executable.
13892
 
hardcode_action=$hardcode_action_CXX
13893
 
 
13894
 
# Whether we should hardcode library paths into libraries.
13895
 
hardcode_into_libs=$hardcode_into_libs
13896
 
 
13897
 
# Flag to hardcode \$libdir into a binary during linking.
13898
 
# This must work even if \$libdir does not exist.
13899
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13900
 
 
13901
 
# If ld is used when linking, flag to hardcode \$libdir into
13902
 
# a binary during linking. This must work even if \$libdir does
13903
 
# not exist.
13904
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13905
 
 
13906
 
# Whether we need a single -rpath flag with a separated argument.
13907
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13908
 
 
13909
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13910
 
# resulting binary.
13911
 
hardcode_direct=$hardcode_direct_CXX
13912
 
 
13913
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13914
 
# resulting binary.
13915
 
hardcode_minus_L=$hardcode_minus_L_CXX
13916
 
 
13917
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13918
 
# the resulting binary.
13919
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13920
 
 
13921
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13922
 
# and all subsequent libraries and executables linked against it.
13923
 
hardcode_automatic=$hardcode_automatic_CXX
13924
 
 
13925
 
# Variables whose values should be saved in libtool wrapper scripts and
13926
 
# restored at relink time.
13927
 
variables_saved_for_relink="$variables_saved_for_relink"
13928
 
 
13929
 
# Whether libtool must link a program against all its dependency libraries.
13930
 
link_all_deplibs=$link_all_deplibs_CXX
13931
 
 
13932
 
# Compile-time system search path for libraries
13933
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13934
 
 
13935
 
# Run-time system search path for libraries
13936
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13937
 
 
13938
 
# Fix the shell variable \$srcfile for the compiler.
13939
 
fix_srcfile_path=$lt_fix_srcfile_path
13940
 
 
13941
 
# Set to yes if exported symbols are required.
13942
 
always_export_symbols=$always_export_symbols_CXX
13943
 
 
13944
 
# The commands to list exported symbols.
13945
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13946
 
 
13947
 
# The commands to extract the exported symbol list from a shared archive.
13948
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13949
 
 
13950
 
# Symbols that should not be listed in the preloaded symbols.
13951
 
exclude_expsyms=$lt_exclude_expsyms_CXX
13952
 
 
13953
 
# Symbols that must always be exported.
13954
 
include_expsyms=$lt_include_expsyms_CXX
13955
 
 
13956
 
# ### END LIBTOOL TAG CONFIG: $tagname
13957
 
 
13958
 
__EOF__
13959
 
 
13960
 
 
13961
 
else
13962
 
  # If there is no Makefile yet, we rely on a make rule to execute
13963
 
  # `config.status --recheck' to rerun these tests and create the
13964
 
  # libtool script then.
13965
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13966
 
  if test -f "$ltmain_in"; then
13967
 
    test -f Makefile && make "$ltmain"
13968
 
  fi
13969
 
fi
13970
 
 
13971
 
 
13972
 
ac_ext=c
13973
 
ac_cpp='$CPP $CPPFLAGS'
13974
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13975
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13976
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13977
 
 
13978
 
CC=$lt_save_CC
13979
 
LDCXX=$LD
13980
 
LD=$lt_save_LD
13981
 
GCC=$lt_save_GCC
13982
 
with_gnu_ldcxx=$with_gnu_ld
13983
 
with_gnu_ld=$lt_save_with_gnu_ld
13984
 
lt_cv_path_LDCXX=$lt_cv_path_LD
13985
 
lt_cv_path_LD=$lt_save_path_LD
13986
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13987
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13988
 
 
13989
 
        else
13990
 
          tagname=""
13991
 
        fi
13992
 
        ;;
13993
 
 
13994
 
      F77)
13995
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
13996
 
          
13997
 
ac_ext=f
13998
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13999
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14000
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14001
 
 
14002
 
 
14003
 
archive_cmds_need_lc_F77=no
14004
 
allow_undefined_flag_F77=
14005
 
always_export_symbols_F77=no
14006
 
archive_expsym_cmds_F77=
14007
 
export_dynamic_flag_spec_F77=
14008
 
hardcode_direct_F77=no
14009
 
hardcode_libdir_flag_spec_F77=
14010
 
hardcode_libdir_flag_spec_ld_F77=
14011
 
hardcode_libdir_separator_F77=
14012
 
hardcode_minus_L_F77=no
14013
 
hardcode_automatic_F77=no
14014
 
module_cmds_F77=
14015
 
module_expsym_cmds_F77=
14016
 
link_all_deplibs_F77=unknown
14017
 
old_archive_cmds_F77=$old_archive_cmds
14018
 
no_undefined_flag_F77=
14019
 
whole_archive_flag_spec_F77=
14020
 
enable_shared_with_static_runtimes_F77=no
14021
 
 
14022
 
# Source file extension for f77 test sources.
14023
 
ac_ext=f
14024
 
 
14025
 
# Object file extension for compiled f77 test sources.
14026
 
objext=o
14027
 
objext_F77=$objext
14028
 
 
14029
 
# Code to be used in simple compile tests
14030
 
lt_simple_compile_test_code="\
14031
 
      subroutine t
14032
 
      return
14033
 
      end
14034
 
"
14035
 
 
14036
 
# Code to be used in simple link tests
14037
 
lt_simple_link_test_code="\
14038
 
      program t
14039
 
      end
14040
 
"
14041
 
 
14042
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14043
 
 
14044
 
# If no C compiler was specified, use CC.
14045
 
LTCC=${LTCC-"$CC"}
14046
 
 
14047
 
# If no C compiler flags were specified, use CFLAGS.
14048
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14049
 
 
14050
 
# Allow CC to be a program name with arguments.
14051
 
compiler=$CC
14052
 
 
14053
 
 
14054
 
# save warnings/boilerplate of simple test code
14055
 
ac_outfile=conftest.$ac_objext
14056
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14057
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14058
 
_lt_compiler_boilerplate=`cat conftest.err`
14059
 
$rm conftest*
14060
 
 
14061
 
ac_outfile=conftest.$ac_objext
14062
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14063
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14064
 
_lt_linker_boilerplate=`cat conftest.err`
14065
 
$rm conftest*
14066
 
 
14067
 
 
14068
 
# Allow CC to be a program name with arguments.
14069
 
lt_save_CC="$CC"
14070
 
CC=${F77-"f77"}
14071
 
compiler=$CC
14072
 
compiler_F77=$CC
14073
 
for cc_temp in $compiler""; do
14074
 
  case $cc_temp in
14075
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14076
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14077
 
    \-*) ;;
14078
 
    *) break;;
14079
 
  esac
14080
 
done
14081
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14082
 
 
14083
 
 
14084
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14085
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14086
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14087
 
echo "${ECHO_T}$can_build_shared" >&6; }
14088
 
 
14089
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14090
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14091
 
test "$can_build_shared" = "no" && enable_shared=no
14092
 
 
14093
 
# On AIX, shared libraries and static libraries use the same namespace, and
14094
 
# are all built from PIC.
14095
 
case $host_os in
14096
 
aix3*)
14097
 
  test "$enable_shared" = yes && enable_static=no
14098
 
  if test -n "$RANLIB"; then
14099
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14100
 
    postinstall_cmds='$RANLIB $lib'
14101
 
  fi
14102
 
  ;;
14103
 
aix4* | aix5*)
14104
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14105
 
    test "$enable_shared" = yes && enable_static=no
14106
 
  fi
14107
 
  ;;
14108
 
esac
14109
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14110
 
echo "${ECHO_T}$enable_shared" >&6; }
14111
 
 
14112
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14113
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14114
 
# Make sure either enable_shared or enable_static is yes.
14115
 
test "$enable_shared" = yes || enable_static=yes
14116
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14117
 
echo "${ECHO_T}$enable_static" >&6; }
14118
 
 
14119
 
GCC_F77="$G77"
14120
 
LD_F77="$LD"
14121
 
 
14122
 
lt_prog_compiler_wl_F77=
14123
 
lt_prog_compiler_pic_F77=
14124
 
lt_prog_compiler_static_F77=
14125
 
 
14126
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14127
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14128
 
 
14129
 
  if test "$GCC" = yes; then
14130
 
    lt_prog_compiler_wl_F77='-Wl,'
14131
 
    lt_prog_compiler_static_F77='-static'
14132
 
 
14133
 
    case $host_os in
14134
 
      aix*)
14135
 
      # All AIX code is PIC.
14136
 
      if test "$host_cpu" = ia64; then
14137
 
        # AIX 5 now supports IA64 processor
14138
 
        lt_prog_compiler_static_F77='-Bstatic'
14139
 
      fi
14140
 
      ;;
14141
 
 
14142
 
    amigaos*)
14143
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14144
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14145
 
      # like `-m68040'.
14146
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14147
 
      ;;
14148
 
 
14149
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14150
 
      # PIC is the default for these OSes.
14151
 
      ;;
14152
 
 
14153
 
    mingw* | cygwin* | pw32* | os2*)
14154
 
      # This hack is so that the source file can tell whether it is being
14155
 
      # built for inclusion in a dll (and should export symbols for example).
14156
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14157
 
      # (--disable-auto-import) libraries
14158
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14159
 
      ;;
14160
 
 
14161
 
    darwin* | rhapsody*)
14162
 
      # PIC is the default on this platform
14163
 
      # Common symbols not allowed in MH_DYLIB files
14164
 
      lt_prog_compiler_pic_F77='-fno-common'
14165
 
      ;;
14166
 
 
14167
 
    interix[3-9]*)
14168
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14169
 
      # Instead, we relocate shared libraries at runtime.
14170
 
      ;;
14171
 
 
14172
 
    msdosdjgpp*)
14173
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14174
 
      # on systems that don't support them.
14175
 
      lt_prog_compiler_can_build_shared_F77=no
14176
 
      enable_shared=no
14177
 
      ;;
14178
 
 
14179
 
    sysv4*MP*)
14180
 
      if test -d /usr/nec; then
14181
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14182
 
      fi
14183
 
      ;;
14184
 
 
14185
 
    hpux*)
14186
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14187
 
      # not for PA HP-UX.
14188
 
      case $host_cpu in
14189
 
      hppa*64*|ia64*)
14190
 
        # +Z the default
14191
 
        ;;
14192
 
      *)
14193
 
        lt_prog_compiler_pic_F77='-fPIC'
14194
 
        ;;
14195
 
      esac
14196
 
      ;;
14197
 
 
14198
 
    *)
14199
 
      lt_prog_compiler_pic_F77='-fPIC'
14200
 
      ;;
14201
 
    esac
14202
 
  else
14203
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14204
 
    case $host_os in
14205
 
    aix*)
14206
 
      lt_prog_compiler_wl_F77='-Wl,'
14207
 
      if test "$host_cpu" = ia64; then
14208
 
        # AIX 5 now supports IA64 processor
14209
 
        lt_prog_compiler_static_F77='-Bstatic'
14210
 
      else
14211
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14212
 
      fi
14213
 
      ;;
14214
 
      darwin*)
14215
 
        # PIC is the default on this platform
14216
 
        # Common symbols not allowed in MH_DYLIB files
14217
 
       case $cc_basename in
14218
 
         xlc*)
14219
 
         lt_prog_compiler_pic_F77='-qnocommon'
14220
 
         lt_prog_compiler_wl_F77='-Wl,'
14221
 
         ;;
14222
 
       esac
14223
 
       ;;
14224
 
 
14225
 
    mingw* | cygwin* | pw32* | os2*)
14226
 
      # This hack is so that the source file can tell whether it is being
14227
 
      # built for inclusion in a dll (and should export symbols for example).
14228
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14229
 
      ;;
14230
 
 
14231
 
    hpux9* | hpux10* | hpux11*)
14232
 
      lt_prog_compiler_wl_F77='-Wl,'
14233
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14234
 
      # not for PA HP-UX.
14235
 
      case $host_cpu in
14236
 
      hppa*64*|ia64*)
14237
 
        # +Z the default
14238
 
        ;;
14239
 
      *)
14240
 
        lt_prog_compiler_pic_F77='+Z'
14241
 
        ;;
14242
 
      esac
14243
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14244
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14245
 
      ;;
14246
 
 
14247
 
    irix5* | irix6* | nonstopux*)
14248
 
      lt_prog_compiler_wl_F77='-Wl,'
14249
 
      # PIC (with -KPIC) is the default.
14250
 
      lt_prog_compiler_static_F77='-non_shared'
14251
 
      ;;
14252
 
 
14253
 
    newsos6)
14254
 
      lt_prog_compiler_pic_F77='-KPIC'
14255
 
      lt_prog_compiler_static_F77='-Bstatic'
14256
 
      ;;
14257
 
 
14258
 
    linux* | k*bsd*-gnu)
14259
 
      case $cc_basename in
14260
 
      icc* | ecc*)
14261
 
        lt_prog_compiler_wl_F77='-Wl,'
14262
 
        lt_prog_compiler_pic_F77='-KPIC'
14263
 
        lt_prog_compiler_static_F77='-static'
14264
 
        ;;
14265
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14266
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14267
 
        # which looks to be a dead project)
14268
 
        lt_prog_compiler_wl_F77='-Wl,'
14269
 
        lt_prog_compiler_pic_F77='-fpic'
14270
 
        lt_prog_compiler_static_F77='-Bstatic'
14271
 
        ;;
14272
 
      ccc*)
14273
 
        lt_prog_compiler_wl_F77='-Wl,'
14274
 
        # All Alpha code is PIC.
14275
 
        lt_prog_compiler_static_F77='-non_shared'
14276
 
        ;;
14277
 
      *)
14278
 
        case `$CC -V 2>&1 | sed 5q` in
14279
 
        *Sun\ C*)
14280
 
          # Sun C 5.9
14281
 
          lt_prog_compiler_pic_F77='-KPIC'
14282
 
          lt_prog_compiler_static_F77='-Bstatic'
14283
 
          lt_prog_compiler_wl_F77='-Wl,'
14284
 
          ;;
14285
 
        *Sun\ F*)
14286
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14287
 
          lt_prog_compiler_pic_F77='-KPIC'
14288
 
          lt_prog_compiler_static_F77='-Bstatic'
14289
 
          lt_prog_compiler_wl_F77=''
14290
 
          ;;
14291
 
        esac
14292
 
        ;;
14293
 
      esac
14294
 
      ;;
14295
 
 
14296
 
    osf3* | osf4* | osf5*)
14297
 
      lt_prog_compiler_wl_F77='-Wl,'
14298
 
      # All OSF/1 code is PIC.
14299
 
      lt_prog_compiler_static_F77='-non_shared'
14300
 
      ;;
14301
 
 
14302
 
    rdos*)
14303
 
      lt_prog_compiler_static_F77='-non_shared'
14304
 
      ;;
14305
 
 
14306
 
    solaris*)
14307
 
      lt_prog_compiler_pic_F77='-KPIC'
14308
 
      lt_prog_compiler_static_F77='-Bstatic'
14309
 
      case $cc_basename in
14310
 
      f77* | f90* | f95*)
14311
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14312
 
      *)
14313
 
        lt_prog_compiler_wl_F77='-Wl,';;
14314
 
      esac
14315
 
      ;;
14316
 
 
14317
 
    sunos4*)
14318
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14319
 
      lt_prog_compiler_pic_F77='-PIC'
14320
 
      lt_prog_compiler_static_F77='-Bstatic'
14321
 
      ;;
14322
 
 
14323
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14324
 
      lt_prog_compiler_wl_F77='-Wl,'
14325
 
      lt_prog_compiler_pic_F77='-KPIC'
14326
 
      lt_prog_compiler_static_F77='-Bstatic'
14327
 
      ;;
14328
 
 
14329
 
    sysv4*MP*)
14330
 
      if test -d /usr/nec ;then
14331
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14332
 
        lt_prog_compiler_static_F77='-Bstatic'
14333
 
      fi
14334
 
      ;;
14335
 
 
14336
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14337
 
      lt_prog_compiler_wl_F77='-Wl,'
14338
 
      lt_prog_compiler_pic_F77='-KPIC'
14339
 
      lt_prog_compiler_static_F77='-Bstatic'
14340
 
      ;;
14341
 
 
14342
 
    unicos*)
14343
 
      lt_prog_compiler_wl_F77='-Wl,'
14344
 
      lt_prog_compiler_can_build_shared_F77=no
14345
 
      ;;
14346
 
 
14347
 
    uts4*)
14348
 
      lt_prog_compiler_pic_F77='-pic'
14349
 
      lt_prog_compiler_static_F77='-Bstatic'
14350
 
      ;;
14351
 
 
14352
 
    *)
14353
 
      lt_prog_compiler_can_build_shared_F77=no
14354
 
      ;;
14355
 
    esac
14356
 
  fi
14357
 
 
14358
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14359
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14360
 
 
14361
 
#
14362
 
# Check to make sure the PIC flag actually works.
14363
 
#
14364
 
if test -n "$lt_prog_compiler_pic_F77"; then
14365
 
  
14366
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14367
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14368
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14369
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14370
 
else
14371
 
  lt_prog_compiler_pic_works_F77=no
14372
 
  ac_outfile=conftest.$ac_objext
14373
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14374
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14375
 
   # Insert the option either (1) after the last *FLAGS variable, or
14376
 
   # (2) before a word containing "conftest.", or (3) at the end.
14377
 
   # Note that $ac_compile itself does not contain backslashes and begins
14378
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14379
 
   # The option is referenced via a variable to avoid confusing sed.
14380
 
   lt_compile=`echo "$ac_compile" | $SED \
14381
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14382
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14383
 
   -e 's:$: $lt_compiler_flag:'`
14384
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14385
 
   (eval "$lt_compile" 2>conftest.err)
14386
 
   ac_status=$?
14387
 
   cat conftest.err >&5
14388
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
14389
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14390
 
     # The compiler can only warn and ignore the option if not recognized
14391
 
     # So say no if there are warnings other than the usual output.
14392
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14393
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14394
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14395
 
       lt_prog_compiler_pic_works_F77=yes
14396
 
     fi
14397
 
   fi
14398
 
   $rm conftest*
14399
 
 
14400
 
fi
14401
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14402
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14403
 
 
14404
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14405
 
    case $lt_prog_compiler_pic_F77 in
14406
 
     "" | " "*) ;;
14407
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14408
 
     esac
14409
 
else
14410
 
    lt_prog_compiler_pic_F77=
14411
 
     lt_prog_compiler_can_build_shared_F77=no
14412
 
fi
14413
 
 
14414
 
fi
14415
 
case $host_os in
14416
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14417
 
  *djgpp*)
14418
 
    lt_prog_compiler_pic_F77=
14419
 
    ;;
14420
 
  *)
14421
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14422
 
    ;;
14423
 
esac
14424
 
 
14425
 
#
14426
 
# Check to make sure the static flag actually works.
14427
 
#
14428
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14429
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14430
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14431
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14432
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14433
 
else
14434
 
  lt_prog_compiler_static_works_F77=no
14435
 
   save_LDFLAGS="$LDFLAGS"
14436
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14437
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14438
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14439
 
     # The linker can only warn and ignore the option if not recognized
14440
 
     # So say no if there are warnings
14441
 
     if test -s conftest.err; then
14442
 
       # Append any errors to the config.log.
14443
 
       cat conftest.err 1>&5
14444
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14445
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14446
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14447
 
         lt_prog_compiler_static_works_F77=yes
14448
 
       fi
14449
 
     else
14450
 
       lt_prog_compiler_static_works_F77=yes
14451
 
     fi
14452
 
   fi
14453
 
   $rm conftest*
14454
 
   LDFLAGS="$save_LDFLAGS"
14455
 
 
14456
 
fi
14457
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14458
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14459
 
 
14460
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14461
 
    :
14462
 
else
14463
 
    lt_prog_compiler_static_F77=
14464
 
fi
14465
 
 
14466
 
 
14467
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14468
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14469
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14470
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14471
 
else
14472
 
  lt_cv_prog_compiler_c_o_F77=no
14473
 
   $rm -r conftest 2>/dev/null
14474
 
   mkdir conftest
14475
 
   cd conftest
14476
 
   mkdir out
14477
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14478
 
 
14479
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14480
 
   # Insert the option either (1) after the last *FLAGS variable, or
14481
 
   # (2) before a word containing "conftest.", or (3) at the end.
14482
 
   # Note that $ac_compile itself does not contain backslashes and begins
14483
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14484
 
   lt_compile=`echo "$ac_compile" | $SED \
14485
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14486
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14487
 
   -e 's:$: $lt_compiler_flag:'`
14488
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14489
 
   (eval "$lt_compile" 2>out/conftest.err)
14490
 
   ac_status=$?
14491
 
   cat out/conftest.err >&5
14492
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
14493
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14494
 
   then
14495
 
     # The compiler can only warn and ignore the option if not recognized
14496
 
     # So say no if there are warnings
14497
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14498
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14499
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14500
 
       lt_cv_prog_compiler_c_o_F77=yes
14501
 
     fi
14502
 
   fi
14503
 
   chmod u+w . 2>&5
14504
 
   $rm conftest*
14505
 
   # SGI C++ compiler will create directory out/ii_files/ for
14506
 
   # template instantiation
14507
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14508
 
   $rm out/* && rmdir out
14509
 
   cd ..
14510
 
   rmdir conftest
14511
 
   $rm conftest*
14512
 
 
14513
 
fi
14514
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14515
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14516
 
 
14517
 
 
14518
 
hard_links="nottested"
14519
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14520
 
  # do not overwrite the value of need_locks provided by the user
14521
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14522
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14523
 
  hard_links=yes
14524
 
  $rm conftest*
14525
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14526
 
  touch conftest.a
14527
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14528
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14529
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14530
 
echo "${ECHO_T}$hard_links" >&6; }
14531
 
  if test "$hard_links" = no; then
14532
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14533
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14534
 
    need_locks=warn
14535
 
  fi
14536
 
else
14537
 
  need_locks=no
14538
 
fi
14539
 
 
14540
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14541
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14542
 
 
14543
 
  runpath_var=
14544
 
  allow_undefined_flag_F77=
14545
 
  enable_shared_with_static_runtimes_F77=no
14546
 
  archive_cmds_F77=
14547
 
  archive_expsym_cmds_F77=
14548
 
  old_archive_From_new_cmds_F77=
14549
 
  old_archive_from_expsyms_cmds_F77=
14550
 
  export_dynamic_flag_spec_F77=
14551
 
  whole_archive_flag_spec_F77=
14552
 
  thread_safe_flag_spec_F77=
14553
 
  hardcode_libdir_flag_spec_F77=
14554
 
  hardcode_libdir_flag_spec_ld_F77=
14555
 
  hardcode_libdir_separator_F77=
14556
 
  hardcode_direct_F77=no
14557
 
  hardcode_minus_L_F77=no
14558
 
  hardcode_shlibpath_var_F77=unsupported
14559
 
  link_all_deplibs_F77=unknown
14560
 
  hardcode_automatic_F77=no
14561
 
  module_cmds_F77=
14562
 
  module_expsym_cmds_F77=
14563
 
  always_export_symbols_F77=no
14564
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14565
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14566
 
  # included in the symbol list
14567
 
  include_expsyms_F77=
14568
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14569
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14570
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14571
 
  # as well as any symbol that contains `d'.
14572
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14573
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14574
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14575
 
  # the symbol is explicitly referenced.  Since portable code cannot
14576
 
  # rely on this symbol name, it's probably fine to never include it in
14577
 
  # preloaded symbol tables.
14578
 
  extract_expsyms_cmds=
14579
 
  # Just being paranoid about ensuring that cc_basename is set.
14580
 
  for cc_temp in $compiler""; do
14581
 
  case $cc_temp in
14582
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14583
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14584
 
    \-*) ;;
14585
 
    *) break;;
14586
 
  esac
14587
 
done
14588
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14589
 
 
14590
 
  case $host_os in
14591
 
  cygwin* | mingw* | pw32*)
14592
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14593
 
    # When not using gcc, we currently assume that we are using
14594
 
    # Microsoft Visual C++.
14595
 
    if test "$GCC" != yes; then
14596
 
      with_gnu_ld=no
14597
 
    fi
14598
 
    ;;
14599
 
  interix*)
14600
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14601
 
    with_gnu_ld=yes
14602
 
    ;;
14603
 
  openbsd*)
14604
 
    with_gnu_ld=no
14605
 
    ;;
14606
 
  esac
14607
 
 
14608
 
  ld_shlibs_F77=yes
14609
 
  if test "$with_gnu_ld" = yes; then
14610
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14611
 
    wlarc='${wl}'
14612
 
 
14613
 
    # Set some defaults for GNU ld with shared library support. These
14614
 
    # are reset later if shared libraries are not supported. Putting them
14615
 
    # here allows them to be overridden if necessary.
14616
 
    runpath_var=LD_RUN_PATH
14617
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14618
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14619
 
    # ancient GNU ld didn't support --whole-archive et. al.
14620
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14621
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14622
 
      else
14623
 
        whole_archive_flag_spec_F77=
14624
 
    fi
14625
 
    supports_anon_versioning=no
14626
 
    case `$LD -v 2>/dev/null` in
14627
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14628
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14629
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14630
 
      *\ 2.11.*) ;; # other 2.11 versions
14631
 
      *) supports_anon_versioning=yes ;;
14632
 
    esac
14633
 
 
14634
 
    # See if GNU ld supports shared libraries.
14635
 
    case $host_os in
14636
 
    aix3* | aix4* | aix5*)
14637
 
      # On AIX/PPC, the GNU linker is very broken
14638
 
      if test "$host_cpu" != ia64; then
14639
 
        ld_shlibs_F77=no
14640
 
        cat <<EOF 1>&2
14641
 
 
14642
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14643
 
*** to be unable to reliably create shared libraries on AIX.
14644
 
*** Therefore, libtool is disabling shared libraries support.  If you
14645
 
*** really care for shared libraries, you may want to modify your PATH
14646
 
*** so that a non-GNU linker is found, and then restart.
14647
 
 
14648
 
EOF
14649
 
      fi
14650
 
      ;;
14651
 
 
14652
 
    amigaos*)
14653
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14654
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14655
 
      hardcode_minus_L_F77=yes
14656
 
 
14657
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14658
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14659
 
      # to version 4, is to share data among multiple programs linked
14660
 
      # with the same dynamic library.  Since this doesn't match the
14661
 
      # behavior of shared libraries on other platforms, we can't use
14662
 
      # them.
14663
 
      ld_shlibs_F77=no
14664
 
      ;;
14665
 
 
14666
 
    beos*)
14667
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14668
 
        allow_undefined_flag_F77=unsupported
14669
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14670
 
        # support --undefined.  This deserves some investigation.  FIXME
14671
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14672
 
      else
14673
 
        ld_shlibs_F77=no
14674
 
      fi
14675
 
      ;;
14676
 
 
14677
 
    cygwin* | mingw* | pw32*)
14678
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14679
 
      # as there is no search path for DLLs.
14680
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14681
 
      allow_undefined_flag_F77=unsupported
14682
 
      always_export_symbols_F77=no
14683
 
      enable_shared_with_static_runtimes_F77=yes
14684
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14685
 
 
14686
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14687
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14688
 
        # If the export-symbols file already is a .def file (1st line
14689
 
        # is EXPORTS), use it as is; otherwise, prepend...
14690
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14691
 
          cp $export_symbols $output_objdir/$soname.def;
14692
 
        else
14693
 
          echo EXPORTS > $output_objdir/$soname.def;
14694
 
          cat $export_symbols >> $output_objdir/$soname.def;
14695
 
        fi~
14696
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14697
 
      else
14698
 
        ld_shlibs_F77=no
14699
 
      fi
14700
 
      ;;
14701
 
 
14702
 
    interix[3-9]*)
14703
 
      hardcode_direct_F77=no
14704
 
      hardcode_shlibpath_var_F77=no
14705
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14706
 
      export_dynamic_flag_spec_F77='${wl}-E'
14707
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14708
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14709
 
      # default) and relocated if they conflict, which is a slow very memory
14710
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14711
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14712
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14713
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14714
 
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14715
 
      ;;
14716
 
 
14717
 
    gnu* | linux* | k*bsd*-gnu)
14718
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14719
 
        tmp_addflag=
14720
 
        case $cc_basename,$host_cpu in
14721
 
        pgcc*)                          # Portland Group C compiler
14722
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14723
 
          tmp_addflag=' $pic_flag'
14724
 
          ;;
14725
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14726
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14727
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14728
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14729
 
          tmp_addflag=' -i_dynamic' ;;
14730
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14731
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14732
 
        ifc* | ifort*)                  # Intel Fortran compiler
14733
 
          tmp_addflag=' -nofor_main' ;;
14734
 
        esac
14735
 
        case `$CC -V 2>&1 | sed 5q` in
14736
 
        *Sun\ C*)                       # Sun C 5.9
14737
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14738
 
          tmp_sharedflag='-G' ;;
14739
 
        *Sun\ F*)                       # Sun Fortran 8.3
14740
 
          tmp_sharedflag='-G' ;;
14741
 
        *)
14742
 
          tmp_sharedflag='-shared' ;;
14743
 
        esac
14744
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14745
 
 
14746
 
        if test $supports_anon_versioning = yes; then
14747
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14748
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14749
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14750
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14751
 
        fi
14752
 
        link_all_deplibs_F77=no
14753
 
      else
14754
 
        ld_shlibs_F77=no
14755
 
      fi
14756
 
      ;;
14757
 
 
14758
 
    netbsd* | netbsdelf*-gnu)
14759
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14760
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14761
 
        wlarc=
14762
 
      else
14763
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14764
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14765
 
      fi
14766
 
      ;;
14767
 
 
14768
 
    solaris*)
14769
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14770
 
        ld_shlibs_F77=no
14771
 
        cat <<EOF 1>&2
14772
 
 
14773
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14774
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14775
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14776
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14777
 
*** your PATH or compiler configuration so that the native linker is
14778
 
*** used, and then restart.
14779
 
 
14780
 
EOF
14781
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14782
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14783
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14784
 
      else
14785
 
        ld_shlibs_F77=no
14786
 
      fi
14787
 
      ;;
14788
 
 
14789
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14790
 
      case `$LD -v 2>&1` in
14791
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14792
 
        ld_shlibs_F77=no
14793
 
        cat <<_LT_EOF 1>&2
14794
 
 
14795
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14796
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14797
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14798
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14799
 
*** your PATH or compiler configuration so that the native linker is
14800
 
*** used, and then restart.
14801
 
 
14802
 
_LT_EOF
14803
 
        ;;
14804
 
        *)
14805
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14806
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14807
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14808
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14809
 
          else
14810
 
            ld_shlibs_F77=no
14811
 
          fi
14812
 
        ;;
14813
 
      esac
14814
 
      ;;
14815
 
 
14816
 
    sunos4*)
14817
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14818
 
      wlarc=
14819
 
      hardcode_direct_F77=yes
14820
 
      hardcode_shlibpath_var_F77=no
14821
 
      ;;
14822
 
 
14823
 
    *)
14824
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14825
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14826
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14827
 
      else
14828
 
        ld_shlibs_F77=no
14829
 
      fi
14830
 
      ;;
14831
 
    esac
14832
 
 
14833
 
    if test "$ld_shlibs_F77" = no; then
14834
 
      runpath_var=
14835
 
      hardcode_libdir_flag_spec_F77=
14836
 
      export_dynamic_flag_spec_F77=
14837
 
      whole_archive_flag_spec_F77=
14838
 
    fi
14839
 
  else
14840
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14841
 
    case $host_os in
14842
 
    aix3*)
14843
 
      allow_undefined_flag_F77=unsupported
14844
 
      always_export_symbols_F77=yes
14845
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14846
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14847
 
      # are no directories specified by -L.
14848
 
      hardcode_minus_L_F77=yes
14849
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14850
 
        # Neither direct hardcoding nor static linking is supported with a
14851
 
        # broken collect2.
14852
 
        hardcode_direct_F77=unsupported
14853
 
      fi
14854
 
      ;;
14855
 
 
14856
 
    aix4* | aix5*)
14857
 
      if test "$host_cpu" = ia64; then
14858
 
        # On IA64, the linker does run time linking by default, so we don't
14859
 
        # have to do anything special.
14860
 
        aix_use_runtimelinking=no
14861
 
        exp_sym_flag='-Bexport'
14862
 
        no_entry_flag=""
14863
 
      else
14864
 
        # If we're using GNU nm, then we don't want the "-C" option.
14865
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14866
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14867
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14868
 
        else
14869
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14870
 
        fi
14871
 
        aix_use_runtimelinking=no
14872
 
 
14873
 
        # Test if we are trying to use run time linking or normal
14874
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14875
 
        # need to do runtime linking.
14876
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14877
 
          for ld_flag in $LDFLAGS; do
14878
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14879
 
            aix_use_runtimelinking=yes
14880
 
            break
14881
 
          fi
14882
 
          done
14883
 
          ;;
14884
 
        esac
14885
 
 
14886
 
        exp_sym_flag='-bexport'
14887
 
        no_entry_flag='-bnoentry'
14888
 
      fi
14889
 
 
14890
 
      # When large executables or shared objects are built, AIX ld can
14891
 
      # have problems creating the table of contents.  If linking a library
14892
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14893
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14894
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14895
 
 
14896
 
      archive_cmds_F77=''
14897
 
      hardcode_direct_F77=yes
14898
 
      hardcode_libdir_separator_F77=':'
14899
 
      link_all_deplibs_F77=yes
14900
 
 
14901
 
      if test "$GCC" = yes; then
14902
 
        case $host_os in aix4.[012]|aix4.[012].*)
14903
 
        # We only want to do this on AIX 4.2 and lower, the check
14904
 
        # below for broken collect2 doesn't work under 4.3+
14905
 
          collect2name=`${CC} -print-prog-name=collect2`
14906
 
          if test -f "$collect2name" && \
14907
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14908
 
          then
14909
 
          # We have reworked collect2
14910
 
          :
14911
 
          else
14912
 
          # We have old collect2
14913
 
          hardcode_direct_F77=unsupported
14914
 
          # It fails to find uninstalled libraries when the uninstalled
14915
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14916
 
          # to unsupported forces relinking
14917
 
          hardcode_minus_L_F77=yes
14918
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14919
 
          hardcode_libdir_separator_F77=
14920
 
          fi
14921
 
          ;;
14922
 
        esac
14923
 
        shared_flag='-shared'
14924
 
        if test "$aix_use_runtimelinking" = yes; then
14925
 
          shared_flag="$shared_flag "'${wl}-G'
14926
 
        fi
14927
 
      else
14928
 
        # not using gcc
14929
 
        if test "$host_cpu" = ia64; then
14930
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14931
 
        # chokes on -Wl,-G. The following line is correct:
14932
 
          shared_flag='-G'
14933
 
        else
14934
 
          if test "$aix_use_runtimelinking" = yes; then
14935
 
            shared_flag='${wl}-G'
14936
 
          else
14937
 
            shared_flag='${wl}-bM:SRE'
14938
 
          fi
14939
 
        fi
14940
 
      fi
14941
 
 
14942
 
      # It seems that -bexpall does not export symbols beginning with
14943
 
      # underscore (_), so it is better to generate a list of symbols to export.
14944
 
      always_export_symbols_F77=yes
14945
 
      if test "$aix_use_runtimelinking" = yes; then
14946
 
        # Warning - without using the other runtime loading flags (-brtl),
14947
 
        # -berok will link without error, but may produce a broken library.
14948
 
        allow_undefined_flag_F77='-berok'
14949
 
       # Determine the default libpath from the value encoded in an empty executable.
14950
 
       cat >conftest.$ac_ext <<_ACEOF
14951
 
      program main
14952
 
 
14953
 
      end
14954
 
_ACEOF
14955
 
rm -f conftest.$ac_objext conftest$ac_exeext
14956
 
if { (ac_try="$ac_link"
14957
 
case "(($ac_try" in
14958
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14959
 
  *) ac_try_echo=$ac_try;;
14960
 
esac
14961
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14962
 
  (eval "$ac_link") 2>conftest.er1
14963
 
  ac_status=$?
14964
 
  grep -v '^ *+' conftest.er1 >conftest.err
14965
 
  rm -f conftest.er1
14966
 
  cat conftest.err >&5
14967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968
 
  (exit $ac_status); } && {
14969
 
         test -z "$ac_f77_werror_flag" ||
14970
 
         test ! -s conftest.err
14971
 
       } && test -s conftest$ac_exeext &&
14972
 
       $as_test_x conftest$ac_exeext; then
14973
 
  
14974
 
lt_aix_libpath_sed='
14975
 
    /Import File Strings/,/^$/ {
14976
 
        /^0/ {
14977
 
            s/^0  *\(.*\)$/\1/
14978
 
            p
14979
 
        }
14980
 
    }'
14981
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14982
 
# Check for a 64-bit object if we didn't find anything.
14983
 
if test -z "$aix_libpath"; then
14984
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14985
 
fi
14986
 
else
14987
 
  echo "$as_me: failed program was:" >&5
14988
 
sed 's/^/| /' conftest.$ac_ext >&5
14989
 
 
14990
 
        
14991
 
fi
14992
 
 
14993
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14994
 
      conftest$ac_exeext conftest.$ac_ext
14995
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14996
 
 
14997
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14998
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14999
 
       else
15000
 
        if test "$host_cpu" = ia64; then
15001
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15002
 
          allow_undefined_flag_F77="-z nodefs"
15003
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15004
 
        else
15005
 
         # Determine the default libpath from the value encoded in an empty executable.
15006
 
         cat >conftest.$ac_ext <<_ACEOF
15007
 
      program main
15008
 
 
15009
 
      end
15010
 
_ACEOF
15011
 
rm -f conftest.$ac_objext conftest$ac_exeext
15012
 
if { (ac_try="$ac_link"
15013
 
case "(($ac_try" in
15014
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15015
 
  *) ac_try_echo=$ac_try;;
15016
 
esac
15017
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15018
 
  (eval "$ac_link") 2>conftest.er1
15019
 
  ac_status=$?
15020
 
  grep -v '^ *+' conftest.er1 >conftest.err
15021
 
  rm -f conftest.er1
15022
 
  cat conftest.err >&5
15023
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024
 
  (exit $ac_status); } && {
15025
 
         test -z "$ac_f77_werror_flag" ||
15026
 
         test ! -s conftest.err
15027
 
       } && test -s conftest$ac_exeext &&
15028
 
       $as_test_x conftest$ac_exeext; then
15029
 
  
15030
 
lt_aix_libpath_sed='
15031
 
    /Import File Strings/,/^$/ {
15032
 
        /^0/ {
15033
 
            s/^0  *\(.*\)$/\1/
15034
 
            p
15035
 
        }
15036
 
    }'
15037
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15038
 
# Check for a 64-bit object if we didn't find anything.
15039
 
if test -z "$aix_libpath"; then
15040
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15041
 
fi
15042
 
else
15043
 
  echo "$as_me: failed program was:" >&5
15044
 
sed 's/^/| /' conftest.$ac_ext >&5
15045
 
 
15046
 
        
15047
 
fi
15048
 
 
15049
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15050
 
      conftest$ac_exeext conftest.$ac_ext
15051
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15052
 
 
15053
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15054
 
          # Warning - without using the other run time loading flags,
15055
 
          # -berok will link without error, but may produce a broken library.
15056
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15057
 
          allow_undefined_flag_F77=' ${wl}-berok'
15058
 
          # Exported symbols can be pulled into shared objects from archives
15059
 
          whole_archive_flag_spec_F77='$convenience'
15060
 
          archive_cmds_need_lc_F77=yes
15061
 
          # This is similar to how AIX traditionally builds its shared libraries.
15062
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15063
 
        fi
15064
 
      fi
15065
 
      ;;
15066
 
 
15067
 
    amigaos*)
15068
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15069
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15070
 
      hardcode_minus_L_F77=yes
15071
 
      # see comment about different semantics on the GNU ld section
15072
 
      ld_shlibs_F77=no
15073
 
      ;;
15074
 
 
15075
 
    bsdi[45]*)
15076
 
      export_dynamic_flag_spec_F77=-rdynamic
15077
 
      ;;
15078
 
 
15079
 
    cygwin* | mingw* | pw32*)
15080
 
      # When not using gcc, we currently assume that we are using
15081
 
      # Microsoft Visual C++.
15082
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15083
 
      # no search path for DLLs.
15084
 
      hardcode_libdir_flag_spec_F77=' '
15085
 
      allow_undefined_flag_F77=unsupported
15086
 
      # Tell ltmain to make .lib files, not .a files.
15087
 
      libext=lib
15088
 
      # Tell ltmain to make .dll files, not .so files.
15089
 
      shrext_cmds=".dll"
15090
 
      # FIXME: Setting linknames here is a bad hack.
15091
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15092
 
      # The linker will automatically build a .lib file if we build a DLL.
15093
 
      old_archive_From_new_cmds_F77='true'
15094
 
      # FIXME: Should let the user specify the lib program.
15095
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15096
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15097
 
      enable_shared_with_static_runtimes_F77=yes
15098
 
      ;;
15099
 
 
15100
 
    darwin* | rhapsody*)
15101
 
      case $host_os in
15102
 
        rhapsody* | darwin1.[012])
15103
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15104
 
         ;;
15105
 
       *) # Darwin 1.3 on
15106
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15107
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15108
 
         else
15109
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15110
 
             10.[012])
15111
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15112
 
               ;;
15113
 
             10.*)
15114
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15115
 
               ;;
15116
 
           esac
15117
 
         fi
15118
 
         ;;
15119
 
      esac
15120
 
      archive_cmds_need_lc_F77=no
15121
 
      hardcode_direct_F77=no
15122
 
      hardcode_automatic_F77=yes
15123
 
      hardcode_shlibpath_var_F77=unsupported
15124
 
      whole_archive_flag_spec_F77=''
15125
 
      link_all_deplibs_F77=yes
15126
 
    if test "$GCC" = yes ; then
15127
 
        output_verbose_link_cmd='echo'
15128
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15129
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15130
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15131
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15132
 
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15133
 
    else
15134
 
      case $cc_basename in
15135
 
        xlc*)
15136
 
         output_verbose_link_cmd='echo'
15137
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15138
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15139
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15140
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15141
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15142
 
          ;;
15143
 
       *)
15144
 
         ld_shlibs_F77=no
15145
 
          ;;
15146
 
      esac
15147
 
    fi
15148
 
      ;;
15149
 
 
15150
 
    dgux*)
15151
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15152
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15153
 
      hardcode_shlibpath_var_F77=no
15154
 
      ;;
15155
 
 
15156
 
    freebsd1*)
15157
 
      ld_shlibs_F77=no
15158
 
      ;;
15159
 
 
15160
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15161
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15162
 
    # does not break anything, and helps significantly (at the cost of a little
15163
 
    # extra space).
15164
 
    freebsd2.2*)
15165
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15166
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15167
 
      hardcode_direct_F77=yes
15168
 
      hardcode_shlibpath_var_F77=no
15169
 
      ;;
15170
 
 
15171
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15172
 
    freebsd2*)
15173
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15174
 
      hardcode_direct_F77=yes
15175
 
      hardcode_minus_L_F77=yes
15176
 
      hardcode_shlibpath_var_F77=no
15177
 
      ;;
15178
 
 
15179
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15180
 
    freebsd* | dragonfly*)
15181
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15182
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15183
 
      hardcode_direct_F77=yes
15184
 
      hardcode_shlibpath_var_F77=no
15185
 
      ;;
15186
 
 
15187
 
    hpux9*)
15188
 
      if test "$GCC" = yes; then
15189
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15190
 
      else
15191
 
        archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15192
 
      fi
15193
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15194
 
      hardcode_libdir_separator_F77=:
15195
 
      hardcode_direct_F77=yes
15196
 
 
15197
 
      # hardcode_minus_L: Not really in the search PATH,
15198
 
      # but as the default location of the library.
15199
 
      hardcode_minus_L_F77=yes
15200
 
      export_dynamic_flag_spec_F77='${wl}-E'
15201
 
      ;;
15202
 
 
15203
 
    hpux10*)
15204
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15205
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15206
 
      else
15207
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15208
 
      fi
15209
 
      if test "$with_gnu_ld" = no; then
15210
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15211
 
        hardcode_libdir_separator_F77=:
15212
 
 
15213
 
        hardcode_direct_F77=yes
15214
 
        export_dynamic_flag_spec_F77='${wl}-E'
15215
 
 
15216
 
        # hardcode_minus_L: Not really in the search PATH,
15217
 
        # but as the default location of the library.
15218
 
        hardcode_minus_L_F77=yes
15219
 
      fi
15220
 
      ;;
15221
 
 
15222
 
    hpux11*)
15223
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15224
 
        case $host_cpu in
15225
 
        hppa*64*)
15226
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15227
 
          ;;
15228
 
        ia64*)
15229
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15230
 
          ;;
15231
 
        *)
15232
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15233
 
          ;;
15234
 
        esac
15235
 
      else
15236
 
        case $host_cpu in
15237
 
        hppa*64*)
15238
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15239
 
          ;;
15240
 
        ia64*)
15241
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15242
 
          ;;
15243
 
        *)
15244
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15245
 
          ;;
15246
 
        esac
15247
 
      fi
15248
 
      if test "$with_gnu_ld" = no; then
15249
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15250
 
        hardcode_libdir_separator_F77=:
15251
 
 
15252
 
        case $host_cpu in
15253
 
        hppa*64*|ia64*)
15254
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15255
 
          hardcode_direct_F77=no
15256
 
          hardcode_shlibpath_var_F77=no
15257
 
          ;;
15258
 
        *)
15259
 
          hardcode_direct_F77=yes
15260
 
          export_dynamic_flag_spec_F77='${wl}-E'
15261
 
 
15262
 
          # hardcode_minus_L: Not really in the search PATH,
15263
 
          # but as the default location of the library.
15264
 
          hardcode_minus_L_F77=yes
15265
 
          ;;
15266
 
        esac
15267
 
      fi
15268
 
      ;;
15269
 
 
15270
 
    irix5* | irix6* | nonstopux*)
15271
 
      if test "$GCC" = yes; then
15272
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15273
 
      else
15274
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15275
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15276
 
      fi
15277
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15278
 
      hardcode_libdir_separator_F77=:
15279
 
      link_all_deplibs_F77=yes
15280
 
      ;;
15281
 
 
15282
 
    netbsd* | netbsdelf*-gnu)
15283
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15284
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15285
 
      else
15286
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15287
 
      fi
15288
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15289
 
      hardcode_direct_F77=yes
15290
 
      hardcode_shlibpath_var_F77=no
15291
 
      ;;
15292
 
 
15293
 
    newsos6)
15294
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15295
 
      hardcode_direct_F77=yes
15296
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15297
 
      hardcode_libdir_separator_F77=:
15298
 
      hardcode_shlibpath_var_F77=no
15299
 
      ;;
15300
 
 
15301
 
    openbsd*)
15302
 
      if test -f /usr/libexec/ld.so; then
15303
 
        hardcode_direct_F77=yes
15304
 
        hardcode_shlibpath_var_F77=no
15305
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15306
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15307
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15308
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15309
 
          export_dynamic_flag_spec_F77='${wl}-E'
15310
 
        else
15311
 
          case $host_os in
15312
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15313
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15314
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
15315
 
             ;;
15316
 
           *)
15317
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15318
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15319
 
             ;;
15320
 
          esac
15321
 
        fi
15322
 
      else
15323
 
        ld_shlibs_F77=no
15324
 
      fi
15325
 
      ;;
15326
 
 
15327
 
    os2*)
15328
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15329
 
      hardcode_minus_L_F77=yes
15330
 
      allow_undefined_flag_F77=unsupported
15331
 
      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15332
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15333
 
      ;;
15334
 
 
15335
 
    osf3*)
15336
 
      if test "$GCC" = yes; then
15337
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15338
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15339
 
      else
15340
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15341
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15342
 
      fi
15343
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15344
 
      hardcode_libdir_separator_F77=:
15345
 
      ;;
15346
 
 
15347
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15348
 
      if test "$GCC" = yes; then
15349
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15350
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15351
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15352
 
      else
15353
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15354
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15355
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15356
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15357
 
 
15358
 
        # Both c and cxx compiler support -rpath directly
15359
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15360
 
      fi
15361
 
      hardcode_libdir_separator_F77=:
15362
 
      ;;
15363
 
 
15364
 
    solaris*)
15365
 
      no_undefined_flag_F77=' -z text'
15366
 
      if test "$GCC" = yes; then
15367
 
        wlarc='${wl}'
15368
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15369
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15370
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15371
 
      else
15372
 
        wlarc=''
15373
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15374
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15375
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15376
 
      fi
15377
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15378
 
      hardcode_shlibpath_var_F77=no
15379
 
      case $host_os in
15380
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15381
 
      *)
15382
 
        # The compiler driver will combine and reorder linker options,
15383
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15384
 
        # but is careful enough not to reorder.
15385
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15386
 
        if test "$GCC" = yes; then
15387
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15388
 
        else
15389
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15390
 
        fi
15391
 
        ;;
15392
 
      esac
15393
 
      link_all_deplibs_F77=yes
15394
 
      ;;
15395
 
 
15396
 
    sunos4*)
15397
 
      if test "x$host_vendor" = xsequent; then
15398
 
        # Use $CC to link under sequent, because it throws in some extra .o
15399
 
        # files that make .init and .fini sections work.
15400
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15401
 
      else
15402
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15403
 
      fi
15404
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15405
 
      hardcode_direct_F77=yes
15406
 
      hardcode_minus_L_F77=yes
15407
 
      hardcode_shlibpath_var_F77=no
15408
 
      ;;
15409
 
 
15410
 
    sysv4)
15411
 
      case $host_vendor in
15412
 
        sni)
15413
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15414
 
          hardcode_direct_F77=yes # is this really true???
15415
 
        ;;
15416
 
        siemens)
15417
 
          ## LD is ld it makes a PLAMLIB
15418
 
          ## CC just makes a GrossModule.
15419
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15420
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15421
 
          hardcode_direct_F77=no
15422
 
        ;;
15423
 
        motorola)
15424
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15425
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15426
 
        ;;
15427
 
      esac
15428
 
      runpath_var='LD_RUN_PATH'
15429
 
      hardcode_shlibpath_var_F77=no
15430
 
      ;;
15431
 
 
15432
 
    sysv4.3*)
15433
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15434
 
      hardcode_shlibpath_var_F77=no
15435
 
      export_dynamic_flag_spec_F77='-Bexport'
15436
 
      ;;
15437
 
 
15438
 
    sysv4*MP*)
15439
 
      if test -d /usr/nec; then
15440
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15441
 
        hardcode_shlibpath_var_F77=no
15442
 
        runpath_var=LD_RUN_PATH
15443
 
        hardcode_runpath_var=yes
15444
 
        ld_shlibs_F77=yes
15445
 
      fi
15446
 
      ;;
15447
 
 
15448
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15449
 
      no_undefined_flag_F77='${wl}-z,text'
15450
 
      archive_cmds_need_lc_F77=no
15451
 
      hardcode_shlibpath_var_F77=no
15452
 
      runpath_var='LD_RUN_PATH'
15453
 
 
15454
 
      if test "$GCC" = yes; then
15455
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15456
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15457
 
      else
15458
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15459
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15460
 
      fi
15461
 
      ;;
15462
 
 
15463
 
    sysv5* | sco3.2v5* | sco5v6*)
15464
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15465
 
      # link with -lc, and that would cause any symbols used from libc to
15466
 
      # always be unresolved, which means just about no library would
15467
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15468
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15469
 
      # as -z defs.
15470
 
      no_undefined_flag_F77='${wl}-z,text'
15471
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15472
 
      archive_cmds_need_lc_F77=no
15473
 
      hardcode_shlibpath_var_F77=no
15474
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15475
 
      hardcode_libdir_separator_F77=':'
15476
 
      link_all_deplibs_F77=yes
15477
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15478
 
      runpath_var='LD_RUN_PATH'
15479
 
 
15480
 
      if test "$GCC" = yes; then
15481
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15482
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15483
 
      else
15484
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15485
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15486
 
      fi
15487
 
      ;;
15488
 
 
15489
 
    uts4*)
15490
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15491
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15492
 
      hardcode_shlibpath_var_F77=no
15493
 
      ;;
15494
 
 
15495
 
    *)
15496
 
      ld_shlibs_F77=no
15497
 
      ;;
15498
 
    esac
15499
 
  fi
15500
 
 
15501
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15502
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15503
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15504
 
 
15505
 
#
15506
 
# Do we need to explicitly link libc?
15507
 
#
15508
 
case "x$archive_cmds_need_lc_F77" in
15509
 
x|xyes)
15510
 
  # Assume -lc should be added
15511
 
  archive_cmds_need_lc_F77=yes
15512
 
 
15513
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15514
 
    case $archive_cmds_F77 in
15515
 
    *'~'*)
15516
 
      # FIXME: we may have to deal with multi-command sequences.
15517
 
      ;;
15518
 
    '$CC '*)
15519
 
      # Test whether the compiler implicitly links with -lc since on some
15520
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15521
 
      # to ld, don't add -lc before -lgcc.
15522
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15523
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15524
 
      $rm conftest*
15525
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15526
 
 
15527
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15528
 
  (eval $ac_compile) 2>&5
15529
 
  ac_status=$?
15530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531
 
  (exit $ac_status); } 2>conftest.err; then
15532
 
        soname=conftest
15533
 
        lib=conftest
15534
 
        libobjs=conftest.$ac_objext
15535
 
        deplibs=
15536
 
        wl=$lt_prog_compiler_wl_F77
15537
 
        pic_flag=$lt_prog_compiler_pic_F77
15538
 
        compiler_flags=-v
15539
 
        linker_flags=-v
15540
 
        verstring=
15541
 
        output_objdir=.
15542
 
        libname=conftest
15543
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15544
 
        allow_undefined_flag_F77=
15545
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15546
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15547
 
  ac_status=$?
15548
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549
 
  (exit $ac_status); }
15550
 
        then
15551
 
          archive_cmds_need_lc_F77=no
15552
 
        else
15553
 
          archive_cmds_need_lc_F77=yes
15554
 
        fi
15555
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15556
 
      else
15557
 
        cat conftest.err 1>&5
15558
 
      fi
15559
 
      $rm conftest*
15560
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15561
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15562
 
      ;;
15563
 
    esac
15564
 
  fi
15565
 
  ;;
15566
 
esac
15567
 
 
15568
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15569
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15570
 
library_names_spec=
15571
 
libname_spec='lib$name'
15572
 
soname_spec=
15573
 
shrext_cmds=".so"
15574
 
postinstall_cmds=
15575
 
postuninstall_cmds=
15576
 
finish_cmds=
15577
 
finish_eval=
15578
 
shlibpath_var=
15579
 
shlibpath_overrides_runpath=unknown
15580
 
version_type=none
15581
 
dynamic_linker="$host_os ld.so"
15582
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15583
 
 
15584
 
need_lib_prefix=unknown
15585
 
hardcode_into_libs=no
15586
 
 
15587
 
# when you set need_version to no, make sure it does not cause -set_version
15588
 
# flags to be left without arguments
15589
 
need_version=unknown
15590
 
 
15591
 
case $host_os in
15592
 
aix3*)
15593
 
  version_type=linux
15594
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15595
 
  shlibpath_var=LIBPATH
15596
 
 
15597
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15598
 
  soname_spec='${libname}${release}${shared_ext}$major'
15599
 
  ;;
15600
 
 
15601
 
aix4* | aix5*)
15602
 
  version_type=linux
15603
 
  need_lib_prefix=no
15604
 
  need_version=no
15605
 
  hardcode_into_libs=yes
15606
 
  if test "$host_cpu" = ia64; then
15607
 
    # AIX 5 supports IA64
15608
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15609
 
    shlibpath_var=LD_LIBRARY_PATH
15610
 
  else
15611
 
    # With GCC up to 2.95.x, collect2 would create an import file
15612
 
    # for dependence libraries.  The import file would start with
15613
 
    # the line `#! .'.  This would cause the generated library to
15614
 
    # depend on `.', always an invalid library.  This was fixed in
15615
 
    # development snapshots of GCC prior to 3.0.
15616
 
    case $host_os in
15617
 
      aix4 | aix4.[01] | aix4.[01].*)
15618
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15619
 
           echo ' yes '
15620
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15621
 
        :
15622
 
      else
15623
 
        can_build_shared=no
15624
 
      fi
15625
 
      ;;
15626
 
    esac
15627
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15628
 
    # soname into executable. Probably we can add versioning support to
15629
 
    # collect2, so additional links can be useful in future.
15630
 
    if test "$aix_use_runtimelinking" = yes; then
15631
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15632
 
      # instead of lib<name>.a to let people know that these are not
15633
 
      # typical AIX shared libraries.
15634
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15635
 
    else
15636
 
      # We preserve .a as extension for shared libraries through AIX4.2
15637
 
      # and later when we are not doing run time linking.
15638
 
      library_names_spec='${libname}${release}.a $libname.a'
15639
 
      soname_spec='${libname}${release}${shared_ext}$major'
15640
 
    fi
15641
 
    shlibpath_var=LIBPATH
15642
 
  fi
15643
 
  ;;
15644
 
 
15645
 
amigaos*)
15646
 
  library_names_spec='$libname.ixlibrary $libname.a'
15647
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15648
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15649
 
  ;;
15650
 
 
15651
 
beos*)
15652
 
  library_names_spec='${libname}${shared_ext}'
15653
 
  dynamic_linker="$host_os ld.so"
15654
 
  shlibpath_var=LIBRARY_PATH
15655
 
  ;;
15656
 
 
15657
 
bsdi[45]*)
15658
 
  version_type=linux
15659
 
  need_version=no
15660
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15661
 
  soname_spec='${libname}${release}${shared_ext}$major'
15662
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15663
 
  shlibpath_var=LD_LIBRARY_PATH
15664
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15665
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15666
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15667
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15668
 
  # libtool to hard-code these into programs
15669
 
  ;;
15670
 
 
15671
 
cygwin* | mingw* | pw32*)
15672
 
  version_type=windows
15673
 
  shrext_cmds=".dll"
15674
 
  need_version=no
15675
 
  need_lib_prefix=no
15676
 
 
15677
 
  case $GCC,$host_os in
15678
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15679
 
    library_names_spec='$libname.dll.a'
15680
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15681
 
    postinstall_cmds='base_file=`basename \${file}`~
15682
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15683
 
      dldir=$destdir/`dirname \$dlpath`~
15684
 
      test -d \$dldir || mkdir -p \$dldir~
15685
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15686
 
      chmod a+x \$dldir/$dlname'
15687
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15688
 
      dlpath=$dir/\$dldll~
15689
 
       $rm \$dlpath'
15690
 
    shlibpath_overrides_runpath=yes
15691
 
 
15692
 
    case $host_os in
15693
 
    cygwin*)
15694
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15695
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15696
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15697
 
      ;;
15698
 
    mingw*)
15699
 
      # MinGW DLLs use traditional 'lib' prefix
15700
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15701
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15702
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15703
 
        # It is most probably a Windows format PATH printed by
15704
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15705
 
        # path with ; separators, and with drive letters. We can handle the
15706
 
        # drive letters (cygwin fileutils understands them), so leave them,
15707
 
        # especially as we might pass files found there to a mingw objdump,
15708
 
        # which wouldn't understand a cygwinified path. Ahh.
15709
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15710
 
      else
15711
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15712
 
      fi
15713
 
      ;;
15714
 
    pw32*)
15715
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15716
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15717
 
      ;;
15718
 
    esac
15719
 
    ;;
15720
 
 
15721
 
  *)
15722
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15723
 
    ;;
15724
 
  esac
15725
 
  dynamic_linker='Win32 ld.exe'
15726
 
  # FIXME: first we should search . and the directory the executable is in
15727
 
  shlibpath_var=PATH
15728
 
  ;;
15729
 
 
15730
 
darwin* | rhapsody*)
15731
 
  dynamic_linker="$host_os dyld"
15732
 
  version_type=darwin
15733
 
  need_lib_prefix=no
15734
 
  need_version=no
15735
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15736
 
  soname_spec='${libname}${release}${major}$shared_ext'
15737
 
  shlibpath_overrides_runpath=yes
15738
 
  shlibpath_var=DYLD_LIBRARY_PATH
15739
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15740
 
   
15741
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15742
 
  ;;
15743
 
 
15744
 
dgux*)
15745
 
  version_type=linux
15746
 
  need_lib_prefix=no
15747
 
  need_version=no
15748
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15749
 
  soname_spec='${libname}${release}${shared_ext}$major'
15750
 
  shlibpath_var=LD_LIBRARY_PATH
15751
 
  ;;
15752
 
 
15753
 
freebsd1*)
15754
 
  dynamic_linker=no
15755
 
  ;;
15756
 
 
15757
 
freebsd* | dragonfly*)
15758
 
  # DragonFly does not have aout.  When/if they implement a new
15759
 
  # versioning mechanism, adjust this.
15760
 
  if test -x /usr/bin/objformat; then
15761
 
    objformat=`/usr/bin/objformat`
15762
 
  else
15763
 
    case $host_os in
15764
 
    freebsd[123]*) objformat=aout ;;
15765
 
    *) objformat=elf ;;
15766
 
    esac
15767
 
  fi
15768
 
  version_type=freebsd-$objformat
15769
 
  case $version_type in
15770
 
    freebsd-elf*)
15771
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15772
 
      need_version=no
15773
 
      need_lib_prefix=no
15774
 
      ;;
15775
 
    freebsd-*)
15776
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15777
 
      need_version=yes
15778
 
      ;;
15779
 
  esac
15780
 
  shlibpath_var=LD_LIBRARY_PATH
15781
 
  case $host_os in
15782
 
  freebsd2*)
15783
 
    shlibpath_overrides_runpath=yes
15784
 
    ;;
15785
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15786
 
    shlibpath_overrides_runpath=yes
15787
 
    hardcode_into_libs=yes
15788
 
    ;;
15789
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15790
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15791
 
    shlibpath_overrides_runpath=no
15792
 
    hardcode_into_libs=yes
15793
 
    ;;
15794
 
  *) # from 4.6 on, and DragonFly
15795
 
    shlibpath_overrides_runpath=yes
15796
 
    hardcode_into_libs=yes
15797
 
    ;;
15798
 
  esac
15799
 
  ;;
15800
 
 
15801
 
gnu*)
15802
 
  version_type=linux
15803
 
  need_lib_prefix=no
15804
 
  need_version=no
15805
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15806
 
  soname_spec='${libname}${release}${shared_ext}$major'
15807
 
  shlibpath_var=LD_LIBRARY_PATH
15808
 
  hardcode_into_libs=yes
15809
 
  ;;
15810
 
 
15811
 
hpux9* | hpux10* | hpux11*)
15812
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15813
 
  # link against other versions.
15814
 
  version_type=sunos
15815
 
  need_lib_prefix=no
15816
 
  need_version=no
15817
 
  case $host_cpu in
15818
 
  ia64*)
15819
 
    shrext_cmds='.so'
15820
 
    hardcode_into_libs=yes
15821
 
    dynamic_linker="$host_os dld.so"
15822
 
    shlibpath_var=LD_LIBRARY_PATH
15823
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15824
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15825
 
    soname_spec='${libname}${release}${shared_ext}$major'
15826
 
    if test "X$HPUX_IA64_MODE" = X32; then
15827
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15828
 
    else
15829
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15830
 
    fi
15831
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15832
 
    ;;
15833
 
   hppa*64*)
15834
 
     shrext_cmds='.sl'
15835
 
     hardcode_into_libs=yes
15836
 
     dynamic_linker="$host_os dld.sl"
15837
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15838
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15839
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15840
 
     soname_spec='${libname}${release}${shared_ext}$major'
15841
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15842
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15843
 
     ;;
15844
 
   *)
15845
 
    shrext_cmds='.sl'
15846
 
    dynamic_linker="$host_os dld.sl"
15847
 
    shlibpath_var=SHLIB_PATH
15848
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15849
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15850
 
    soname_spec='${libname}${release}${shared_ext}$major'
15851
 
    ;;
15852
 
  esac
15853
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15854
 
  postinstall_cmds='chmod 555 $lib'
15855
 
  ;;
15856
 
 
15857
 
interix[3-9]*)
15858
 
  version_type=linux
15859
 
  need_lib_prefix=no
15860
 
  need_version=no
15861
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15862
 
  soname_spec='${libname}${release}${shared_ext}$major'
15863
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15864
 
  shlibpath_var=LD_LIBRARY_PATH
15865
 
  shlibpath_overrides_runpath=no
15866
 
  hardcode_into_libs=yes
15867
 
  ;;
15868
 
 
15869
 
irix5* | irix6* | nonstopux*)
15870
 
  case $host_os in
15871
 
    nonstopux*) version_type=nonstopux ;;
15872
 
    *)
15873
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15874
 
                version_type=linux
15875
 
        else
15876
 
                version_type=irix
15877
 
        fi ;;
15878
 
  esac
15879
 
  need_lib_prefix=no
15880
 
  need_version=no
15881
 
  soname_spec='${libname}${release}${shared_ext}$major'
15882
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15883
 
  case $host_os in
15884
 
  irix5* | nonstopux*)
15885
 
    libsuff= shlibsuff=
15886
 
    ;;
15887
 
  *)
15888
 
    case $LD in # libtool.m4 will add one of these switches to LD
15889
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15890
 
      libsuff= shlibsuff= libmagic=32-bit;;
15891
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15892
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15893
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15894
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15895
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15896
 
    esac
15897
 
    ;;
15898
 
  esac
15899
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15900
 
  shlibpath_overrides_runpath=no
15901
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15902
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15903
 
  hardcode_into_libs=yes
15904
 
  ;;
15905
 
 
15906
 
# No shared lib support for Linux oldld, aout, or coff.
15907
 
linux*oldld* | linux*aout* | linux*coff*)
15908
 
  dynamic_linker=no
15909
 
  ;;
15910
 
 
15911
 
# This must be Linux ELF.
15912
 
linux* | k*bsd*-gnu)
15913
 
  version_type=linux
15914
 
  need_lib_prefix=no
15915
 
  need_version=no
15916
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15917
 
  soname_spec='${libname}${release}${shared_ext}$major'
15918
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15919
 
  shlibpath_var=LD_LIBRARY_PATH
15920
 
  shlibpath_overrides_runpath=no
15921
 
  # This implies no fast_install, which is unacceptable.
15922
 
  # Some rework will be needed to allow for fast_install
15923
 
  # before this can be enabled.
15924
 
  hardcode_into_libs=yes
15925
 
 
15926
 
  # Append ld.so.conf contents to the search path
15927
 
  if test -f /etc/ld.so.conf; then
15928
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15929
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15930
 
  fi
15931
 
 
15932
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15933
 
  # powerpc, because MkLinux only supported shared libraries with the
15934
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15935
 
  # most powerpc-linux boxes support dynamic linking these days and
15936
 
  # people can always --disable-shared, the test was removed, and we
15937
 
  # assume the GNU/Linux dynamic linker is in use.
15938
 
  dynamic_linker='GNU/Linux ld.so'
15939
 
  ;;
15940
 
 
15941
 
netbsdelf*-gnu)
15942
 
  version_type=linux
15943
 
  need_lib_prefix=no
15944
 
  need_version=no
15945
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15946
 
  soname_spec='${libname}${release}${shared_ext}$major'
15947
 
  shlibpath_var=LD_LIBRARY_PATH
15948
 
  shlibpath_overrides_runpath=no
15949
 
  hardcode_into_libs=yes
15950
 
  dynamic_linker='NetBSD ld.elf_so'
15951
 
  ;;
15952
 
 
15953
 
netbsd*)
15954
 
  version_type=sunos
15955
 
  need_lib_prefix=no
15956
 
  need_version=no
15957
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15958
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15959
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15960
 
    dynamic_linker='NetBSD (a.out) ld.so'
15961
 
  else
15962
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15963
 
    soname_spec='${libname}${release}${shared_ext}$major'
15964
 
    dynamic_linker='NetBSD ld.elf_so'
15965
 
  fi
15966
 
  shlibpath_var=LD_LIBRARY_PATH
15967
 
  shlibpath_overrides_runpath=yes
15968
 
  hardcode_into_libs=yes
15969
 
  ;;
15970
 
 
15971
 
newsos6)
15972
 
  version_type=linux
15973
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15974
 
  shlibpath_var=LD_LIBRARY_PATH
15975
 
  shlibpath_overrides_runpath=yes
15976
 
  ;;
15977
 
 
15978
 
nto-qnx*)
15979
 
  version_type=linux
15980
 
  need_lib_prefix=no
15981
 
  need_version=no
15982
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15983
 
  soname_spec='${libname}${release}${shared_ext}$major'
15984
 
  shlibpath_var=LD_LIBRARY_PATH
15985
 
  shlibpath_overrides_runpath=yes
15986
 
  ;;
15987
 
 
15988
 
openbsd*)
15989
 
  version_type=sunos
15990
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15991
 
  need_lib_prefix=no
15992
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15993
 
  case $host_os in
15994
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15995
 
    *)                         need_version=no  ;;
15996
 
  esac
15997
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15998
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15999
 
  shlibpath_var=LD_LIBRARY_PATH
16000
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16001
 
    case $host_os in
16002
 
      openbsd2.[89] | openbsd2.[89].*)
16003
 
        shlibpath_overrides_runpath=no
16004
 
        ;;
16005
 
      *)
16006
 
        shlibpath_overrides_runpath=yes
16007
 
        ;;
16008
 
      esac
16009
 
  else
16010
 
    shlibpath_overrides_runpath=yes
16011
 
  fi
16012
 
  ;;
16013
 
 
16014
 
os2*)
16015
 
  libname_spec='$name'
16016
 
  shrext_cmds=".dll"
16017
 
  need_lib_prefix=no
16018
 
  library_names_spec='$libname${shared_ext} $libname.a'
16019
 
  dynamic_linker='OS/2 ld.exe'
16020
 
  shlibpath_var=LIBPATH
16021
 
  ;;
16022
 
 
16023
 
osf3* | osf4* | osf5*)
16024
 
  version_type=osf
16025
 
  need_lib_prefix=no
16026
 
  need_version=no
16027
 
  soname_spec='${libname}${release}${shared_ext}$major'
16028
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16029
 
  shlibpath_var=LD_LIBRARY_PATH
16030
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16031
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16032
 
  ;;
16033
 
 
16034
 
rdos*)
16035
 
  dynamic_linker=no
16036
 
  ;;
16037
 
 
16038
 
solaris*)
16039
 
  version_type=linux
16040
 
  need_lib_prefix=no
16041
 
  need_version=no
16042
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16043
 
  soname_spec='${libname}${release}${shared_ext}$major'
16044
 
  shlibpath_var=LD_LIBRARY_PATH
16045
 
  shlibpath_overrides_runpath=yes
16046
 
  hardcode_into_libs=yes
16047
 
  # ldd complains unless libraries are executable
16048
 
  postinstall_cmds='chmod +x $lib'
16049
 
  ;;
16050
 
 
16051
 
sunos4*)
16052
 
  version_type=sunos
16053
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16054
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16055
 
  shlibpath_var=LD_LIBRARY_PATH
16056
 
  shlibpath_overrides_runpath=yes
16057
 
  if test "$with_gnu_ld" = yes; then
16058
 
    need_lib_prefix=no
16059
 
  fi
16060
 
  need_version=yes
16061
 
  ;;
16062
 
 
16063
 
sysv4 | sysv4.3*)
16064
 
  version_type=linux
16065
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16066
 
  soname_spec='${libname}${release}${shared_ext}$major'
16067
 
  shlibpath_var=LD_LIBRARY_PATH
16068
 
  case $host_vendor in
16069
 
    sni)
16070
 
      shlibpath_overrides_runpath=no
16071
 
      need_lib_prefix=no
16072
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16073
 
      runpath_var=LD_RUN_PATH
16074
 
      ;;
16075
 
    siemens)
16076
 
      need_lib_prefix=no
16077
 
      ;;
16078
 
    motorola)
16079
 
      need_lib_prefix=no
16080
 
      need_version=no
16081
 
      shlibpath_overrides_runpath=no
16082
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16083
 
      ;;
16084
 
  esac
16085
 
  ;;
16086
 
 
16087
 
sysv4*MP*)
16088
 
  if test -d /usr/nec ;then
16089
 
    version_type=linux
16090
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16091
 
    soname_spec='$libname${shared_ext}.$major'
16092
 
    shlibpath_var=LD_LIBRARY_PATH
16093
 
  fi
16094
 
  ;;
16095
 
 
16096
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16097
 
  version_type=freebsd-elf
16098
 
  need_lib_prefix=no
16099
 
  need_version=no
16100
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16101
 
  soname_spec='${libname}${release}${shared_ext}$major'
16102
 
  shlibpath_var=LD_LIBRARY_PATH
16103
 
  hardcode_into_libs=yes
16104
 
  if test "$with_gnu_ld" = yes; then
16105
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16106
 
    shlibpath_overrides_runpath=no
16107
 
  else
16108
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16109
 
    shlibpath_overrides_runpath=yes
16110
 
    case $host_os in
16111
 
      sco3.2v5*)
16112
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16113
 
        ;;
16114
 
    esac
16115
 
  fi
16116
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16117
 
  ;;
16118
 
 
16119
 
uts4*)
16120
 
  version_type=linux
16121
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16122
 
  soname_spec='${libname}${release}${shared_ext}$major'
16123
 
  shlibpath_var=LD_LIBRARY_PATH
16124
 
  ;;
16125
 
 
16126
 
*)
16127
 
  dynamic_linker=no
16128
 
  ;;
16129
 
esac
16130
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16131
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16132
 
test "$dynamic_linker" = no && can_build_shared=no
16133
 
 
16134
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16135
 
if test "$GCC" = yes; then
16136
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16137
 
fi
16138
 
 
16139
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16140
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16141
 
hardcode_action_F77=
16142
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16143
 
   test -n "$runpath_var_F77" || \
16144
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16145
 
 
16146
 
  # We can hardcode non-existant directories.
16147
 
  if test "$hardcode_direct_F77" != no &&
16148
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16149
 
     # have to relink, otherwise we might link with an installed library
16150
 
     # when we should be linking with a yet-to-be-installed one
16151
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16152
 
     test "$hardcode_minus_L_F77" != no; then
16153
 
    # Linking always hardcodes the temporary library directory.
16154
 
    hardcode_action_F77=relink
16155
 
  else
16156
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16157
 
    hardcode_action_F77=immediate
16158
 
  fi
16159
 
else
16160
 
  # We cannot hardcode anything, or else we can only hardcode existing
16161
 
  # directories.
16162
 
  hardcode_action_F77=unsupported
16163
 
fi
16164
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16165
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16166
 
 
16167
 
if test "$hardcode_action_F77" = relink; then
16168
 
  # Fast installation is not supported
16169
 
  enable_fast_install=no
16170
 
elif test "$shlibpath_overrides_runpath" = yes ||
16171
 
     test "$enable_shared" = no; then
16172
 
  # Fast installation is not necessary
16173
 
  enable_fast_install=needless
16174
 
fi
16175
 
 
16176
 
 
16177
 
# The else clause should only fire when bootstrapping the
16178
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16179
 
# with your package, and you will get complaints that there are
16180
 
# no rules to generate ltmain.sh.
16181
 
if test -f "$ltmain"; then
16182
 
  # See if we are running on zsh, and set the options which allow our commands through
16183
 
  # without removal of \ escapes.
16184
 
  if test -n "${ZSH_VERSION+set}" ; then
16185
 
    setopt NO_GLOB_SUBST
16186
 
  fi
16187
 
  # Now quote all the things that may contain metacharacters while being
16188
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16189
 
  # variables and quote the copies for generation of the libtool script.
16190
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16191
 
    SED SHELL STRIP \
16192
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16193
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16194
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16195
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16196
 
    lt_cv_sys_global_symbol_to_c_name_address \
16197
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16198
 
    old_postinstall_cmds old_postuninstall_cmds \
16199
 
    compiler_F77 \
16200
 
    CC_F77 \
16201
 
    LD_F77 \
16202
 
    lt_prog_compiler_wl_F77 \
16203
 
    lt_prog_compiler_pic_F77 \
16204
 
    lt_prog_compiler_static_F77 \
16205
 
    lt_prog_compiler_no_builtin_flag_F77 \
16206
 
    export_dynamic_flag_spec_F77 \
16207
 
    thread_safe_flag_spec_F77 \
16208
 
    whole_archive_flag_spec_F77 \
16209
 
    enable_shared_with_static_runtimes_F77 \
16210
 
    old_archive_cmds_F77 \
16211
 
    old_archive_from_new_cmds_F77 \
16212
 
    predep_objects_F77 \
16213
 
    postdep_objects_F77 \
16214
 
    predeps_F77 \
16215
 
    postdeps_F77 \
16216
 
    compiler_lib_search_path_F77 \
16217
 
    archive_cmds_F77 \
16218
 
    archive_expsym_cmds_F77 \
16219
 
    postinstall_cmds_F77 \
16220
 
    postuninstall_cmds_F77 \
16221
 
    old_archive_from_expsyms_cmds_F77 \
16222
 
    allow_undefined_flag_F77 \
16223
 
    no_undefined_flag_F77 \
16224
 
    export_symbols_cmds_F77 \
16225
 
    hardcode_libdir_flag_spec_F77 \
16226
 
    hardcode_libdir_flag_spec_ld_F77 \
16227
 
    hardcode_libdir_separator_F77 \
16228
 
    hardcode_automatic_F77 \
16229
 
    module_cmds_F77 \
16230
 
    module_expsym_cmds_F77 \
16231
 
    lt_cv_prog_compiler_c_o_F77 \
16232
 
    fix_srcfile_path_F77 \
16233
 
    exclude_expsyms_F77 \
16234
 
    include_expsyms_F77; do
16235
 
 
16236
 
    case $var in
16237
 
    old_archive_cmds_F77 | \
16238
 
    old_archive_from_new_cmds_F77 | \
16239
 
    archive_cmds_F77 | \
16240
 
    archive_expsym_cmds_F77 | \
16241
 
    module_cmds_F77 | \
16242
 
    module_expsym_cmds_F77 | \
16243
 
    old_archive_from_expsyms_cmds_F77 | \
16244
 
    export_symbols_cmds_F77 | \
16245
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16246
 
    postinstall_cmds | postuninstall_cmds | \
16247
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16248
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16249
 
      # Double-quote double-evaled strings.
16250
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16251
 
      ;;
16252
 
    *)
16253
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16254
 
      ;;
16255
 
    esac
16256
 
  done
16257
 
 
16258
 
  case $lt_echo in
16259
 
  *'\$0 --fallback-echo"')
16260
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16261
 
    ;;
16262
 
  esac
16263
 
 
16264
 
cfgfile="$ofile"
16265
 
 
16266
 
  cat <<__EOF__ >> "$cfgfile"
16267
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16268
 
 
16269
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16270
 
 
16271
 
# Shell to use when invoking shell scripts.
16272
 
SHELL=$lt_SHELL
16273
 
 
16274
 
# Whether or not to build shared libraries.
16275
 
build_libtool_libs=$enable_shared
16276
 
 
16277
 
# Whether or not to build static libraries.
16278
 
build_old_libs=$enable_static
16279
 
 
16280
 
# Whether or not to add -lc for building shared libraries.
16281
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16282
 
 
16283
 
# Whether or not to disallow shared libs when runtime libs are static
16284
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16285
 
 
16286
 
# Whether or not to optimize for fast installation.
16287
 
fast_install=$enable_fast_install
16288
 
 
16289
 
# The host system.
16290
 
host_alias=$host_alias
16291
 
host=$host
16292
 
host_os=$host_os
16293
 
 
16294
 
# The build system.
16295
 
build_alias=$build_alias
16296
 
build=$build
16297
 
build_os=$build_os
16298
 
 
16299
 
# An echo program that does not interpret backslashes.
16300
 
echo=$lt_echo
16301
 
 
16302
 
# The archiver.
16303
 
AR=$lt_AR
16304
 
AR_FLAGS=$lt_AR_FLAGS
16305
 
 
16306
 
# A C compiler.
16307
 
LTCC=$lt_LTCC
16308
 
 
16309
 
# LTCC compiler flags.
16310
 
LTCFLAGS=$lt_LTCFLAGS
16311
 
 
16312
 
# A language-specific compiler.
16313
 
CC=$lt_compiler_F77
16314
 
 
16315
 
# Is the compiler the GNU C compiler?
16316
 
with_gcc=$GCC_F77
16317
 
 
16318
 
# An ERE matcher.
16319
 
EGREP=$lt_EGREP
16320
 
 
16321
 
# The linker used to build libraries.
16322
 
LD=$lt_LD_F77
16323
 
 
16324
 
# Whether we need hard or soft links.
16325
 
LN_S=$lt_LN_S
16326
 
 
16327
 
# A BSD-compatible nm program.
16328
 
NM=$lt_NM
16329
 
 
16330
 
# A symbol stripping program
16331
 
STRIP=$lt_STRIP
16332
 
 
16333
 
# Used to examine libraries when file_magic_cmd begins "file"
16334
 
MAGIC_CMD=$MAGIC_CMD
16335
 
 
16336
 
# Used on cygwin: DLL creation program.
16337
 
DLLTOOL="$DLLTOOL"
16338
 
 
16339
 
# Used on cygwin: object dumper.
16340
 
OBJDUMP="$OBJDUMP"
16341
 
 
16342
 
# Used on cygwin: assembler.
16343
 
AS="$AS"
16344
 
 
16345
 
# The name of the directory that contains temporary libtool files.
16346
 
objdir=$objdir
16347
 
 
16348
 
# How to create reloadable object files.
16349
 
reload_flag=$lt_reload_flag
16350
 
reload_cmds=$lt_reload_cmds
16351
 
 
16352
 
# How to pass a linker flag through the compiler.
16353
 
wl=$lt_lt_prog_compiler_wl_F77
16354
 
 
16355
 
# Object file suffix (normally "o").
16356
 
objext="$ac_objext"
16357
 
 
16358
 
# Old archive suffix (normally "a").
16359
 
libext="$libext"
16360
 
 
16361
 
# Shared library suffix (normally ".so").
16362
 
shrext_cmds='$shrext_cmds'
16363
 
 
16364
 
# Executable file suffix (normally "").
16365
 
exeext="$exeext"
16366
 
 
16367
 
# Additional compiler flags for building library objects.
16368
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16369
 
pic_mode=$pic_mode
16370
 
 
16371
 
# What is the maximum length of a command?
16372
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16373
 
 
16374
 
# Does compiler simultaneously support -c and -o options?
16375
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16376
 
 
16377
 
# Must we lock files when doing compilation?
16378
 
need_locks=$lt_need_locks
16379
 
 
16380
 
# Do we need the lib prefix for modules?
16381
 
need_lib_prefix=$need_lib_prefix
16382
 
 
16383
 
# Do we need a version for libraries?
16384
 
need_version=$need_version
16385
 
 
16386
 
# Whether dlopen is supported.
16387
 
dlopen_support=$enable_dlopen
16388
 
 
16389
 
# Whether dlopen of programs is supported.
16390
 
dlopen_self=$enable_dlopen_self
16391
 
 
16392
 
# Whether dlopen of statically linked programs is supported.
16393
 
dlopen_self_static=$enable_dlopen_self_static
16394
 
 
16395
 
# Compiler flag to prevent dynamic linking.
16396
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16397
 
 
16398
 
# Compiler flag to turn off builtin functions.
16399
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16400
 
 
16401
 
# Compiler flag to allow reflexive dlopens.
16402
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16403
 
 
16404
 
# Compiler flag to generate shared objects directly from archives.
16405
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16406
 
 
16407
 
# Compiler flag to generate thread-safe objects.
16408
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16409
 
 
16410
 
# Library versioning type.
16411
 
version_type=$version_type
16412
 
 
16413
 
# Format of library name prefix.
16414
 
libname_spec=$lt_libname_spec
16415
 
 
16416
 
# List of archive names.  First name is the real one, the rest are links.
16417
 
# The last name is the one that the linker finds with -lNAME.
16418
 
library_names_spec=$lt_library_names_spec
16419
 
 
16420
 
# The coded name of the library, if different from the real name.
16421
 
soname_spec=$lt_soname_spec
16422
 
 
16423
 
# Commands used to build and install an old-style archive.
16424
 
RANLIB=$lt_RANLIB
16425
 
old_archive_cmds=$lt_old_archive_cmds_F77
16426
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16427
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16428
 
 
16429
 
# Create an old-style archive from a shared archive.
16430
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16431
 
 
16432
 
# Create a temporary old-style archive to link instead of a shared archive.
16433
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16434
 
 
16435
 
# Commands used to build and install a shared archive.
16436
 
archive_cmds=$lt_archive_cmds_F77
16437
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16438
 
postinstall_cmds=$lt_postinstall_cmds
16439
 
postuninstall_cmds=$lt_postuninstall_cmds
16440
 
 
16441
 
# Commands used to build a loadable module (assumed same as above if empty)
16442
 
module_cmds=$lt_module_cmds_F77
16443
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16444
 
 
16445
 
# Commands to strip libraries.
16446
 
old_striplib=$lt_old_striplib
16447
 
striplib=$lt_striplib
16448
 
 
16449
 
# Dependencies to place before the objects being linked to create a
16450
 
# shared library.
16451
 
predep_objects=$lt_predep_objects_F77
16452
 
 
16453
 
# Dependencies to place after the objects being linked to create a
16454
 
# shared library.
16455
 
postdep_objects=$lt_postdep_objects_F77
16456
 
 
16457
 
# Dependencies to place before the objects being linked to create a
16458
 
# shared library.
16459
 
predeps=$lt_predeps_F77
16460
 
 
16461
 
# Dependencies to place after the objects being linked to create a
16462
 
# shared library.
16463
 
postdeps=$lt_postdeps_F77
16464
 
 
16465
 
# The library search path used internally by the compiler when linking
16466
 
# a shared library.
16467
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16468
 
 
16469
 
# Method to check whether dependent libraries are shared objects.
16470
 
deplibs_check_method=$lt_deplibs_check_method
16471
 
 
16472
 
# Command to use when deplibs_check_method == file_magic.
16473
 
file_magic_cmd=$lt_file_magic_cmd
16474
 
 
16475
 
# Flag that allows shared libraries with undefined symbols to be built.
16476
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16477
 
 
16478
 
# Flag that forces no undefined symbols.
16479
 
no_undefined_flag=$lt_no_undefined_flag_F77
16480
 
 
16481
 
# Commands used to finish a libtool library installation in a directory.
16482
 
finish_cmds=$lt_finish_cmds
16483
 
 
16484
 
# Same as above, but a single script fragment to be evaled but not shown.
16485
 
finish_eval=$lt_finish_eval
16486
 
 
16487
 
# Take the output of nm and produce a listing of raw symbols and C names.
16488
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16489
 
 
16490
 
# Transform the output of nm in a proper C declaration
16491
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16492
 
 
16493
 
# Transform the output of nm in a C name address pair
16494
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16495
 
 
16496
 
# This is the shared library runtime path variable.
16497
 
runpath_var=$runpath_var
16498
 
 
16499
 
# This is the shared library path variable.
16500
 
shlibpath_var=$shlibpath_var
16501
 
 
16502
 
# Is shlibpath searched before the hard-coded library search path?
16503
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16504
 
 
16505
 
# How to hardcode a shared library path into an executable.
16506
 
hardcode_action=$hardcode_action_F77
16507
 
 
16508
 
# Whether we should hardcode library paths into libraries.
16509
 
hardcode_into_libs=$hardcode_into_libs
16510
 
 
16511
 
# Flag to hardcode \$libdir into a binary during linking.
16512
 
# This must work even if \$libdir does not exist.
16513
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16514
 
 
16515
 
# If ld is used when linking, flag to hardcode \$libdir into
16516
 
# a binary during linking. This must work even if \$libdir does
16517
 
# not exist.
16518
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16519
 
 
16520
 
# Whether we need a single -rpath flag with a separated argument.
16521
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16522
 
 
16523
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16524
 
# resulting binary.
16525
 
hardcode_direct=$hardcode_direct_F77
16526
 
 
16527
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16528
 
# resulting binary.
16529
 
hardcode_minus_L=$hardcode_minus_L_F77
16530
 
 
16531
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16532
 
# the resulting binary.
16533
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16534
 
 
16535
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16536
 
# and all subsequent libraries and executables linked against it.
16537
 
hardcode_automatic=$hardcode_automatic_F77
16538
 
 
16539
 
# Variables whose values should be saved in libtool wrapper scripts and
16540
 
# restored at relink time.
16541
 
variables_saved_for_relink="$variables_saved_for_relink"
16542
 
 
16543
 
# Whether libtool must link a program against all its dependency libraries.
16544
 
link_all_deplibs=$link_all_deplibs_F77
16545
 
 
16546
 
# Compile-time system search path for libraries
16547
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16548
 
 
16549
 
# Run-time system search path for libraries
16550
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16551
 
 
16552
 
# Fix the shell variable \$srcfile for the compiler.
16553
 
fix_srcfile_path=$lt_fix_srcfile_path
16554
 
 
16555
 
# Set to yes if exported symbols are required.
16556
 
always_export_symbols=$always_export_symbols_F77
16557
 
 
16558
 
# The commands to list exported symbols.
16559
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16560
 
 
16561
 
# The commands to extract the exported symbol list from a shared archive.
16562
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16563
 
 
16564
 
# Symbols that should not be listed in the preloaded symbols.
16565
 
exclude_expsyms=$lt_exclude_expsyms_F77
16566
 
 
16567
 
# Symbols that must always be exported.
16568
 
include_expsyms=$lt_include_expsyms_F77
16569
 
 
16570
 
# ### END LIBTOOL TAG CONFIG: $tagname
16571
 
 
16572
 
__EOF__
16573
 
 
16574
 
 
16575
 
else
16576
 
  # If there is no Makefile yet, we rely on a make rule to execute
16577
 
  # `config.status --recheck' to rerun these tests and create the
16578
 
  # libtool script then.
16579
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16580
 
  if test -f "$ltmain_in"; then
16581
 
    test -f Makefile && make "$ltmain"
16582
 
  fi
16583
 
fi
16584
 
 
16585
 
 
16586
 
ac_ext=c
16587
 
ac_cpp='$CPP $CPPFLAGS'
16588
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16589
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16590
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16591
 
 
16592
 
CC="$lt_save_CC"
16593
 
 
16594
 
        else
16595
 
          tagname=""
16596
 
        fi
16597
 
        ;;
16598
 
 
16599
 
      GCJ)
16600
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16601
 
          
16602
 
 
16603
 
# Source file extension for Java test sources.
16604
 
ac_ext=java
16605
 
 
16606
 
# Object file extension for compiled Java test sources.
16607
 
objext=o
16608
 
objext_GCJ=$objext
16609
 
 
16610
 
# Code to be used in simple compile tests
16611
 
lt_simple_compile_test_code="class foo {}"
16612
 
 
16613
 
# Code to be used in simple link tests
16614
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16615
 
 
16616
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16617
 
 
16618
 
# If no C compiler was specified, use CC.
16619
 
LTCC=${LTCC-"$CC"}
16620
 
 
16621
 
# If no C compiler flags were specified, use CFLAGS.
16622
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16623
 
 
16624
 
# Allow CC to be a program name with arguments.
16625
 
compiler=$CC
16626
 
 
16627
 
 
16628
 
# save warnings/boilerplate of simple test code
16629
 
ac_outfile=conftest.$ac_objext
16630
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16631
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16632
 
_lt_compiler_boilerplate=`cat conftest.err`
16633
 
$rm conftest*
16634
 
 
16635
 
ac_outfile=conftest.$ac_objext
16636
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16637
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16638
 
_lt_linker_boilerplate=`cat conftest.err`
16639
 
$rm conftest*
16640
 
 
16641
 
 
16642
 
# Allow CC to be a program name with arguments.
16643
 
lt_save_CC="$CC"
16644
 
CC=${GCJ-"gcj"}
16645
 
compiler=$CC
16646
 
compiler_GCJ=$CC
16647
 
for cc_temp in $compiler""; do
16648
 
  case $cc_temp in
16649
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16650
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16651
 
    \-*) ;;
16652
 
    *) break;;
16653
 
  esac
16654
 
done
16655
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16656
 
 
16657
 
 
16658
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16659
 
archive_cmds_need_lc_GCJ=no
16660
 
 
16661
 
old_archive_cmds_GCJ=$old_archive_cmds
16662
 
 
16663
 
## CAVEAT EMPTOR:
16664
 
## There is no encapsulation within the following macros, do not change
16665
 
## the running order or otherwise move them around unless you know exactly
16666
 
## what you are doing...
16667
 
 
16668
 
lt_prog_compiler_no_builtin_flag_GCJ=
16669
 
 
16670
 
if test "$GCC" = yes; then
16671
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16672
 
 
16673
 
  
16674
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16675
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16676
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16677
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16678
 
else
16679
 
  lt_cv_prog_compiler_rtti_exceptions=no
16680
 
  ac_outfile=conftest.$ac_objext
16681
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16682
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16683
 
   # Insert the option either (1) after the last *FLAGS variable, or
16684
 
   # (2) before a word containing "conftest.", or (3) at the end.
16685
 
   # Note that $ac_compile itself does not contain backslashes and begins
16686
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16687
 
   # The option is referenced via a variable to avoid confusing sed.
16688
 
   lt_compile=`echo "$ac_compile" | $SED \
16689
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16690
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16691
 
   -e 's:$: $lt_compiler_flag:'`
16692
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16693
 
   (eval "$lt_compile" 2>conftest.err)
16694
 
   ac_status=$?
16695
 
   cat conftest.err >&5
16696
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
16697
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16698
 
     # The compiler can only warn and ignore the option if not recognized
16699
 
     # So say no if there are warnings other than the usual output.
16700
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16701
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16702
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16703
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16704
 
     fi
16705
 
   fi
16706
 
   $rm conftest*
16707
 
 
16708
 
fi
16709
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16710
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16711
 
 
16712
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16713
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16714
 
else
16715
 
    :
16716
 
fi
16717
 
 
16718
 
fi
16719
 
 
16720
 
lt_prog_compiler_wl_GCJ=
16721
 
lt_prog_compiler_pic_GCJ=
16722
 
lt_prog_compiler_static_GCJ=
16723
 
 
16724
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16725
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16726
 
 
16727
 
  if test "$GCC" = yes; then
16728
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16729
 
    lt_prog_compiler_static_GCJ='-static'
16730
 
 
16731
 
    case $host_os in
16732
 
      aix*)
16733
 
      # All AIX code is PIC.
16734
 
      if test "$host_cpu" = ia64; then
16735
 
        # AIX 5 now supports IA64 processor
16736
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16737
 
      fi
16738
 
      ;;
16739
 
 
16740
 
    amigaos*)
16741
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16742
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16743
 
      # like `-m68040'.
16744
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16745
 
      ;;
16746
 
 
16747
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16748
 
      # PIC is the default for these OSes.
16749
 
      ;;
16750
 
 
16751
 
    mingw* | cygwin* | pw32* | os2*)
16752
 
      # This hack is so that the source file can tell whether it is being
16753
 
      # built for inclusion in a dll (and should export symbols for example).
16754
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16755
 
      # (--disable-auto-import) libraries
16756
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16757
 
      ;;
16758
 
 
16759
 
    darwin* | rhapsody*)
16760
 
      # PIC is the default on this platform
16761
 
      # Common symbols not allowed in MH_DYLIB files
16762
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16763
 
      ;;
16764
 
 
16765
 
    interix[3-9]*)
16766
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16767
 
      # Instead, we relocate shared libraries at runtime.
16768
 
      ;;
16769
 
 
16770
 
    msdosdjgpp*)
16771
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16772
 
      # on systems that don't support them.
16773
 
      lt_prog_compiler_can_build_shared_GCJ=no
16774
 
      enable_shared=no
16775
 
      ;;
16776
 
 
16777
 
    sysv4*MP*)
16778
 
      if test -d /usr/nec; then
16779
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16780
 
      fi
16781
 
      ;;
16782
 
 
16783
 
    hpux*)
16784
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16785
 
      # not for PA HP-UX.
16786
 
      case $host_cpu in
16787
 
      hppa*64*|ia64*)
16788
 
        # +Z the default
16789
 
        ;;
16790
 
      *)
16791
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16792
 
        ;;
16793
 
      esac
16794
 
      ;;
16795
 
 
16796
 
    *)
16797
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16798
 
      ;;
16799
 
    esac
16800
 
  else
16801
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16802
 
    case $host_os in
16803
 
    aix*)
16804
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16805
 
      if test "$host_cpu" = ia64; then
16806
 
        # AIX 5 now supports IA64 processor
16807
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16808
 
      else
16809
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16810
 
      fi
16811
 
      ;;
16812
 
      darwin*)
16813
 
        # PIC is the default on this platform
16814
 
        # Common symbols not allowed in MH_DYLIB files
16815
 
       case $cc_basename in
16816
 
         xlc*)
16817
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16818
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16819
 
         ;;
16820
 
       esac
16821
 
       ;;
16822
 
 
16823
 
    mingw* | cygwin* | pw32* | os2*)
16824
 
      # This hack is so that the source file can tell whether it is being
16825
 
      # built for inclusion in a dll (and should export symbols for example).
16826
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16827
 
      ;;
16828
 
 
16829
 
    hpux9* | hpux10* | hpux11*)
16830
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16831
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16832
 
      # not for PA HP-UX.
16833
 
      case $host_cpu in
16834
 
      hppa*64*|ia64*)
16835
 
        # +Z the default
16836
 
        ;;
16837
 
      *)
16838
 
        lt_prog_compiler_pic_GCJ='+Z'
16839
 
        ;;
16840
 
      esac
16841
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16842
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16843
 
      ;;
16844
 
 
16845
 
    irix5* | irix6* | nonstopux*)
16846
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16847
 
      # PIC (with -KPIC) is the default.
16848
 
      lt_prog_compiler_static_GCJ='-non_shared'
16849
 
      ;;
16850
 
 
16851
 
    newsos6)
16852
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16853
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16854
 
      ;;
16855
 
 
16856
 
    linux* | k*bsd*-gnu)
16857
 
      case $cc_basename in
16858
 
      icc* | ecc*)
16859
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16860
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16861
 
        lt_prog_compiler_static_GCJ='-static'
16862
 
        ;;
16863
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16864
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16865
 
        # which looks to be a dead project)
16866
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16867
 
        lt_prog_compiler_pic_GCJ='-fpic'
16868
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16869
 
        ;;
16870
 
      ccc*)
16871
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16872
 
        # All Alpha code is PIC.
16873
 
        lt_prog_compiler_static_GCJ='-non_shared'
16874
 
        ;;
16875
 
      *)
16876
 
        case `$CC -V 2>&1 | sed 5q` in
16877
 
        *Sun\ C*)
16878
 
          # Sun C 5.9
16879
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16880
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16881
 
          lt_prog_compiler_wl_GCJ='-Wl,'
16882
 
          ;;
16883
 
        *Sun\ F*)
16884
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
16885
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16886
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16887
 
          lt_prog_compiler_wl_GCJ=''
16888
 
          ;;
16889
 
        esac
16890
 
        ;;
16891
 
      esac
16892
 
      ;;
16893
 
 
16894
 
    osf3* | osf4* | osf5*)
16895
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16896
 
      # All OSF/1 code is PIC.
16897
 
      lt_prog_compiler_static_GCJ='-non_shared'
16898
 
      ;;
16899
 
 
16900
 
    rdos*)
16901
 
      lt_prog_compiler_static_GCJ='-non_shared'
16902
 
      ;;
16903
 
 
16904
 
    solaris*)
16905
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16906
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16907
 
      case $cc_basename in
16908
 
      f77* | f90* | f95*)
16909
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16910
 
      *)
16911
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
16912
 
      esac
16913
 
      ;;
16914
 
 
16915
 
    sunos4*)
16916
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16917
 
      lt_prog_compiler_pic_GCJ='-PIC'
16918
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16919
 
      ;;
16920
 
 
16921
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16922
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16923
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16924
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16925
 
      ;;
16926
 
 
16927
 
    sysv4*MP*)
16928
 
      if test -d /usr/nec ;then
16929
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16930
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16931
 
      fi
16932
 
      ;;
16933
 
 
16934
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16935
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16936
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16937
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16938
 
      ;;
16939
 
 
16940
 
    unicos*)
16941
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16942
 
      lt_prog_compiler_can_build_shared_GCJ=no
16943
 
      ;;
16944
 
 
16945
 
    uts4*)
16946
 
      lt_prog_compiler_pic_GCJ='-pic'
16947
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16948
 
      ;;
16949
 
 
16950
 
    *)
16951
 
      lt_prog_compiler_can_build_shared_GCJ=no
16952
 
      ;;
16953
 
    esac
16954
 
  fi
16955
 
 
16956
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16957
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16958
 
 
16959
 
#
16960
 
# Check to make sure the PIC flag actually works.
16961
 
#
16962
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
16963
 
  
16964
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16965
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16966
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16967
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16968
 
else
16969
 
  lt_prog_compiler_pic_works_GCJ=no
16970
 
  ac_outfile=conftest.$ac_objext
16971
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16972
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16973
 
   # Insert the option either (1) after the last *FLAGS variable, or
16974
 
   # (2) before a word containing "conftest.", or (3) at the end.
16975
 
   # Note that $ac_compile itself does not contain backslashes and begins
16976
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16977
 
   # The option is referenced via a variable to avoid confusing sed.
16978
 
   lt_compile=`echo "$ac_compile" | $SED \
16979
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16980
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16981
 
   -e 's:$: $lt_compiler_flag:'`
16982
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16983
 
   (eval "$lt_compile" 2>conftest.err)
16984
 
   ac_status=$?
16985
 
   cat conftest.err >&5
16986
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
16987
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16988
 
     # The compiler can only warn and ignore the option if not recognized
16989
 
     # So say no if there are warnings other than the usual output.
16990
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16991
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16992
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16993
 
       lt_prog_compiler_pic_works_GCJ=yes
16994
 
     fi
16995
 
   fi
16996
 
   $rm conftest*
16997
 
 
16998
 
fi
16999
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17000
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17001
 
 
17002
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17003
 
    case $lt_prog_compiler_pic_GCJ in
17004
 
     "" | " "*) ;;
17005
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17006
 
     esac
17007
 
else
17008
 
    lt_prog_compiler_pic_GCJ=
17009
 
     lt_prog_compiler_can_build_shared_GCJ=no
17010
 
fi
17011
 
 
17012
 
fi
17013
 
case $host_os in
17014
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17015
 
  *djgpp*)
17016
 
    lt_prog_compiler_pic_GCJ=
17017
 
    ;;
17018
 
  *)
17019
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17020
 
    ;;
17021
 
esac
17022
 
 
17023
 
#
17024
 
# Check to make sure the static flag actually works.
17025
 
#
17026
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17027
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17028
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17029
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17030
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17031
 
else
17032
 
  lt_prog_compiler_static_works_GCJ=no
17033
 
   save_LDFLAGS="$LDFLAGS"
17034
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17035
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17036
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17037
 
     # The linker can only warn and ignore the option if not recognized
17038
 
     # So say no if there are warnings
17039
 
     if test -s conftest.err; then
17040
 
       # Append any errors to the config.log.
17041
 
       cat conftest.err 1>&5
17042
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17043
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17044
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17045
 
         lt_prog_compiler_static_works_GCJ=yes
17046
 
       fi
17047
 
     else
17048
 
       lt_prog_compiler_static_works_GCJ=yes
17049
 
     fi
17050
 
   fi
17051
 
   $rm conftest*
17052
 
   LDFLAGS="$save_LDFLAGS"
17053
 
 
17054
 
fi
17055
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17056
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17057
 
 
17058
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
17059
 
    :
17060
 
else
17061
 
    lt_prog_compiler_static_GCJ=
17062
 
fi
17063
 
 
17064
 
 
17065
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17066
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17067
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17068
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17069
 
else
17070
 
  lt_cv_prog_compiler_c_o_GCJ=no
17071
 
   $rm -r conftest 2>/dev/null
17072
 
   mkdir conftest
17073
 
   cd conftest
17074
 
   mkdir out
17075
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17076
 
 
17077
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17078
 
   # Insert the option either (1) after the last *FLAGS variable, or
17079
 
   # (2) before a word containing "conftest.", or (3) at the end.
17080
 
   # Note that $ac_compile itself does not contain backslashes and begins
17081
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17082
 
   lt_compile=`echo "$ac_compile" | $SED \
17083
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17084
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17085
 
   -e 's:$: $lt_compiler_flag:'`
17086
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
17087
 
   (eval "$lt_compile" 2>out/conftest.err)
17088
 
   ac_status=$?
17089
 
   cat out/conftest.err >&5
17090
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
17091
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17092
 
   then
17093
 
     # The compiler can only warn and ignore the option if not recognized
17094
 
     # So say no if there are warnings
17095
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17096
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17097
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17098
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17099
 
     fi
17100
 
   fi
17101
 
   chmod u+w . 2>&5
17102
 
   $rm conftest*
17103
 
   # SGI C++ compiler will create directory out/ii_files/ for
17104
 
   # template instantiation
17105
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17106
 
   $rm out/* && rmdir out
17107
 
   cd ..
17108
 
   rmdir conftest
17109
 
   $rm conftest*
17110
 
 
17111
 
fi
17112
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17113
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17114
 
 
17115
 
 
17116
 
hard_links="nottested"
17117
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17118
 
  # do not overwrite the value of need_locks provided by the user
17119
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17120
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17121
 
  hard_links=yes
17122
 
  $rm conftest*
17123
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17124
 
  touch conftest.a
17125
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17126
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17127
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17128
 
echo "${ECHO_T}$hard_links" >&6; }
17129
 
  if test "$hard_links" = no; then
17130
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17131
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17132
 
    need_locks=warn
17133
 
  fi
17134
 
else
17135
 
  need_locks=no
17136
 
fi
17137
 
 
17138
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17139
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17140
 
 
17141
 
  runpath_var=
17142
 
  allow_undefined_flag_GCJ=
17143
 
  enable_shared_with_static_runtimes_GCJ=no
17144
 
  archive_cmds_GCJ=
17145
 
  archive_expsym_cmds_GCJ=
17146
 
  old_archive_From_new_cmds_GCJ=
17147
 
  old_archive_from_expsyms_cmds_GCJ=
17148
 
  export_dynamic_flag_spec_GCJ=
17149
 
  whole_archive_flag_spec_GCJ=
17150
 
  thread_safe_flag_spec_GCJ=
17151
 
  hardcode_libdir_flag_spec_GCJ=
17152
 
  hardcode_libdir_flag_spec_ld_GCJ=
17153
 
  hardcode_libdir_separator_GCJ=
17154
 
  hardcode_direct_GCJ=no
17155
 
  hardcode_minus_L_GCJ=no
17156
 
  hardcode_shlibpath_var_GCJ=unsupported
17157
 
  link_all_deplibs_GCJ=unknown
17158
 
  hardcode_automatic_GCJ=no
17159
 
  module_cmds_GCJ=
17160
 
  module_expsym_cmds_GCJ=
17161
 
  always_export_symbols_GCJ=no
17162
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17163
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17164
 
  # included in the symbol list
17165
 
  include_expsyms_GCJ=
17166
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17167
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17168
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17169
 
  # as well as any symbol that contains `d'.
17170
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17171
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17172
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17173
 
  # the symbol is explicitly referenced.  Since portable code cannot
17174
 
  # rely on this symbol name, it's probably fine to never include it in
17175
 
  # preloaded symbol tables.
17176
 
  extract_expsyms_cmds=
17177
 
  # Just being paranoid about ensuring that cc_basename is set.
17178
 
  for cc_temp in $compiler""; do
17179
 
  case $cc_temp in
17180
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17181
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17182
 
    \-*) ;;
17183
 
    *) break;;
17184
 
  esac
17185
 
done
17186
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17187
 
 
17188
 
  case $host_os in
17189
 
  cygwin* | mingw* | pw32*)
17190
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17191
 
    # When not using gcc, we currently assume that we are using
17192
 
    # Microsoft Visual C++.
17193
 
    if test "$GCC" != yes; then
17194
 
      with_gnu_ld=no
17195
 
    fi
17196
 
    ;;
17197
 
  interix*)
17198
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17199
 
    with_gnu_ld=yes
17200
 
    ;;
17201
 
  openbsd*)
17202
 
    with_gnu_ld=no
17203
 
    ;;
17204
 
  esac
17205
 
 
17206
 
  ld_shlibs_GCJ=yes
17207
 
  if test "$with_gnu_ld" = yes; then
17208
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17209
 
    wlarc='${wl}'
17210
 
 
17211
 
    # Set some defaults for GNU ld with shared library support. These
17212
 
    # are reset later if shared libraries are not supported. Putting them
17213
 
    # here allows them to be overridden if necessary.
17214
 
    runpath_var=LD_RUN_PATH
17215
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17216
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17217
 
    # ancient GNU ld didn't support --whole-archive et. al.
17218
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17219
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17220
 
      else
17221
 
        whole_archive_flag_spec_GCJ=
17222
 
    fi
17223
 
    supports_anon_versioning=no
17224
 
    case `$LD -v 2>/dev/null` in
17225
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17226
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17227
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17228
 
      *\ 2.11.*) ;; # other 2.11 versions
17229
 
      *) supports_anon_versioning=yes ;;
17230
 
    esac
17231
 
 
17232
 
    # See if GNU ld supports shared libraries.
17233
 
    case $host_os in
17234
 
    aix3* | aix4* | aix5*)
17235
 
      # On AIX/PPC, the GNU linker is very broken
17236
 
      if test "$host_cpu" != ia64; then
17237
 
        ld_shlibs_GCJ=no
17238
 
        cat <<EOF 1>&2
17239
 
 
17240
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17241
 
*** to be unable to reliably create shared libraries on AIX.
17242
 
*** Therefore, libtool is disabling shared libraries support.  If you
17243
 
*** really care for shared libraries, you may want to modify your PATH
17244
 
*** so that a non-GNU linker is found, and then restart.
17245
 
 
17246
 
EOF
17247
 
      fi
17248
 
      ;;
17249
 
 
17250
 
    amigaos*)
17251
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17252
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17253
 
      hardcode_minus_L_GCJ=yes
17254
 
 
17255
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17256
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17257
 
      # to version 4, is to share data among multiple programs linked
17258
 
      # with the same dynamic library.  Since this doesn't match the
17259
 
      # behavior of shared libraries on other platforms, we can't use
17260
 
      # them.
17261
 
      ld_shlibs_GCJ=no
17262
 
      ;;
17263
 
 
17264
 
    beos*)
17265
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17266
 
        allow_undefined_flag_GCJ=unsupported
17267
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17268
 
        # support --undefined.  This deserves some investigation.  FIXME
17269
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17270
 
      else
17271
 
        ld_shlibs_GCJ=no
17272
 
      fi
17273
 
      ;;
17274
 
 
17275
 
    cygwin* | mingw* | pw32*)
17276
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17277
 
      # as there is no search path for DLLs.
17278
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17279
 
      allow_undefined_flag_GCJ=unsupported
17280
 
      always_export_symbols_GCJ=no
17281
 
      enable_shared_with_static_runtimes_GCJ=yes
17282
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17283
 
 
17284
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17285
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17286
 
        # If the export-symbols file already is a .def file (1st line
17287
 
        # is EXPORTS), use it as is; otherwise, prepend...
17288
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17289
 
          cp $export_symbols $output_objdir/$soname.def;
17290
 
        else
17291
 
          echo EXPORTS > $output_objdir/$soname.def;
17292
 
          cat $export_symbols >> $output_objdir/$soname.def;
17293
 
        fi~
17294
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17295
 
      else
17296
 
        ld_shlibs_GCJ=no
17297
 
      fi
17298
 
      ;;
17299
 
 
17300
 
    interix[3-9]*)
17301
 
      hardcode_direct_GCJ=no
17302
 
      hardcode_shlibpath_var_GCJ=no
17303
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17304
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17305
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17306
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17307
 
      # default) and relocated if they conflict, which is a slow very memory
17308
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17309
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17310
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17311
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17312
 
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17313
 
      ;;
17314
 
 
17315
 
    gnu* | linux* | k*bsd*-gnu)
17316
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17317
 
        tmp_addflag=
17318
 
        case $cc_basename,$host_cpu in
17319
 
        pgcc*)                          # Portland Group C compiler
17320
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17321
 
          tmp_addflag=' $pic_flag'
17322
 
          ;;
17323
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17324
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17325
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17326
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17327
 
          tmp_addflag=' -i_dynamic' ;;
17328
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17329
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17330
 
        ifc* | ifort*)                  # Intel Fortran compiler
17331
 
          tmp_addflag=' -nofor_main' ;;
17332
 
        esac
17333
 
        case `$CC -V 2>&1 | sed 5q` in
17334
 
        *Sun\ C*)                       # Sun C 5.9
17335
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17336
 
          tmp_sharedflag='-G' ;;
17337
 
        *Sun\ F*)                       # Sun Fortran 8.3
17338
 
          tmp_sharedflag='-G' ;;
17339
 
        *)
17340
 
          tmp_sharedflag='-shared' ;;
17341
 
        esac
17342
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17343
 
 
17344
 
        if test $supports_anon_versioning = yes; then
17345
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17346
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17347
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17348
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17349
 
        fi
17350
 
        link_all_deplibs_GCJ=no
17351
 
      else
17352
 
        ld_shlibs_GCJ=no
17353
 
      fi
17354
 
      ;;
17355
 
 
17356
 
    netbsd* | netbsdelf*-gnu)
17357
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17358
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17359
 
        wlarc=
17360
 
      else
17361
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17362
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17363
 
      fi
17364
 
      ;;
17365
 
 
17366
 
    solaris*)
17367
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17368
 
        ld_shlibs_GCJ=no
17369
 
        cat <<EOF 1>&2
17370
 
 
17371
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17372
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17373
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17374
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17375
 
*** your PATH or compiler configuration so that the native linker is
17376
 
*** used, and then restart.
17377
 
 
17378
 
EOF
17379
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17380
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17381
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17382
 
      else
17383
 
        ld_shlibs_GCJ=no
17384
 
      fi
17385
 
      ;;
17386
 
 
17387
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17388
 
      case `$LD -v 2>&1` in
17389
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17390
 
        ld_shlibs_GCJ=no
17391
 
        cat <<_LT_EOF 1>&2
17392
 
 
17393
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17394
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17395
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17396
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17397
 
*** your PATH or compiler configuration so that the native linker is
17398
 
*** used, and then restart.
17399
 
 
17400
 
_LT_EOF
17401
 
        ;;
17402
 
        *)
17403
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17404
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17405
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17406
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17407
 
          else
17408
 
            ld_shlibs_GCJ=no
17409
 
          fi
17410
 
        ;;
17411
 
      esac
17412
 
      ;;
17413
 
 
17414
 
    sunos4*)
17415
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17416
 
      wlarc=
17417
 
      hardcode_direct_GCJ=yes
17418
 
      hardcode_shlibpath_var_GCJ=no
17419
 
      ;;
17420
 
 
17421
 
    *)
17422
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17423
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17424
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17425
 
      else
17426
 
        ld_shlibs_GCJ=no
17427
 
      fi
17428
 
      ;;
17429
 
    esac
17430
 
 
17431
 
    if test "$ld_shlibs_GCJ" = no; then
17432
 
      runpath_var=
17433
 
      hardcode_libdir_flag_spec_GCJ=
17434
 
      export_dynamic_flag_spec_GCJ=
17435
 
      whole_archive_flag_spec_GCJ=
17436
 
    fi
17437
 
  else
17438
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17439
 
    case $host_os in
17440
 
    aix3*)
17441
 
      allow_undefined_flag_GCJ=unsupported
17442
 
      always_export_symbols_GCJ=yes
17443
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17444
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17445
 
      # are no directories specified by -L.
17446
 
      hardcode_minus_L_GCJ=yes
17447
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17448
 
        # Neither direct hardcoding nor static linking is supported with a
17449
 
        # broken collect2.
17450
 
        hardcode_direct_GCJ=unsupported
17451
 
      fi
17452
 
      ;;
17453
 
 
17454
 
    aix4* | aix5*)
17455
 
      if test "$host_cpu" = ia64; then
17456
 
        # On IA64, the linker does run time linking by default, so we don't
17457
 
        # have to do anything special.
17458
 
        aix_use_runtimelinking=no
17459
 
        exp_sym_flag='-Bexport'
17460
 
        no_entry_flag=""
17461
 
      else
17462
 
        # If we're using GNU nm, then we don't want the "-C" option.
17463
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17464
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17465
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17466
 
        else
17467
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17468
 
        fi
17469
 
        aix_use_runtimelinking=no
17470
 
 
17471
 
        # Test if we are trying to use run time linking or normal
17472
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17473
 
        # need to do runtime linking.
17474
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17475
 
          for ld_flag in $LDFLAGS; do
17476
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17477
 
            aix_use_runtimelinking=yes
17478
 
            break
17479
 
          fi
17480
 
          done
17481
 
          ;;
17482
 
        esac
17483
 
 
17484
 
        exp_sym_flag='-bexport'
17485
 
        no_entry_flag='-bnoentry'
17486
 
      fi
17487
 
 
17488
 
      # When large executables or shared objects are built, AIX ld can
17489
 
      # have problems creating the table of contents.  If linking a library
17490
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17491
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17492
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17493
 
 
17494
 
      archive_cmds_GCJ=''
17495
 
      hardcode_direct_GCJ=yes
17496
 
      hardcode_libdir_separator_GCJ=':'
17497
 
      link_all_deplibs_GCJ=yes
17498
 
 
17499
 
      if test "$GCC" = yes; then
17500
 
        case $host_os in aix4.[012]|aix4.[012].*)
17501
 
        # We only want to do this on AIX 4.2 and lower, the check
17502
 
        # below for broken collect2 doesn't work under 4.3+
17503
 
          collect2name=`${CC} -print-prog-name=collect2`
17504
 
          if test -f "$collect2name" && \
17505
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17506
 
          then
17507
 
          # We have reworked collect2
17508
 
          :
17509
 
          else
17510
 
          # We have old collect2
17511
 
          hardcode_direct_GCJ=unsupported
17512
 
          # It fails to find uninstalled libraries when the uninstalled
17513
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17514
 
          # to unsupported forces relinking
17515
 
          hardcode_minus_L_GCJ=yes
17516
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17517
 
          hardcode_libdir_separator_GCJ=
17518
 
          fi
17519
 
          ;;
17520
 
        esac
17521
 
        shared_flag='-shared'
17522
 
        if test "$aix_use_runtimelinking" = yes; then
17523
 
          shared_flag="$shared_flag "'${wl}-G'
17524
 
        fi
17525
 
      else
17526
 
        # not using gcc
17527
 
        if test "$host_cpu" = ia64; then
17528
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17529
 
        # chokes on -Wl,-G. The following line is correct:
17530
 
          shared_flag='-G'
17531
 
        else
17532
 
          if test "$aix_use_runtimelinking" = yes; then
17533
 
            shared_flag='${wl}-G'
17534
 
          else
17535
 
            shared_flag='${wl}-bM:SRE'
17536
 
          fi
17537
 
        fi
17538
 
      fi
17539
 
 
17540
 
      # It seems that -bexpall does not export symbols beginning with
17541
 
      # underscore (_), so it is better to generate a list of symbols to export.
17542
 
      always_export_symbols_GCJ=yes
17543
 
      if test "$aix_use_runtimelinking" = yes; then
17544
 
        # Warning - without using the other runtime loading flags (-brtl),
17545
 
        # -berok will link without error, but may produce a broken library.
17546
 
        allow_undefined_flag_GCJ='-berok'
17547
 
       # Determine the default libpath from the value encoded in an empty executable.
17548
 
       cat >conftest.$ac_ext <<_ACEOF
17549
 
/* confdefs.h.  */
17550
 
_ACEOF
17551
 
cat confdefs.h >>conftest.$ac_ext
17552
 
cat >>conftest.$ac_ext <<_ACEOF
17553
 
/* end confdefs.h.  */
17554
 
 
17555
 
int
17556
 
main ()
17557
 
{
17558
 
 
17559
 
  ;
17560
 
  return 0;
17561
 
}
17562
 
_ACEOF
17563
 
rm -f conftest.$ac_objext conftest$ac_exeext
17564
 
if { (ac_try="$ac_link"
17565
 
case "(($ac_try" in
17566
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17567
 
  *) ac_try_echo=$ac_try;;
17568
 
esac
17569
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17570
 
  (eval "$ac_link") 2>conftest.er1
17571
 
  ac_status=$?
17572
 
  grep -v '^ *+' conftest.er1 >conftest.err
17573
 
  rm -f conftest.er1
17574
 
  cat conftest.err >&5
17575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576
 
  (exit $ac_status); } && {
17577
 
         test -z "$ac_c_werror_flag" ||
17578
 
         test ! -s conftest.err
17579
 
       } && test -s conftest$ac_exeext &&
17580
 
       $as_test_x conftest$ac_exeext; then
17581
 
  
17582
 
lt_aix_libpath_sed='
17583
 
    /Import File Strings/,/^$/ {
17584
 
        /^0/ {
17585
 
            s/^0  *\(.*\)$/\1/
17586
 
            p
17587
 
        }
17588
 
    }'
17589
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17590
 
# Check for a 64-bit object if we didn't find anything.
17591
 
if test -z "$aix_libpath"; then
17592
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17593
 
fi
17594
 
else
17595
 
  echo "$as_me: failed program was:" >&5
17596
 
sed 's/^/| /' conftest.$ac_ext >&5
17597
 
 
17598
 
        
17599
 
fi
17600
 
 
17601
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17602
 
      conftest$ac_exeext conftest.$ac_ext
17603
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17604
 
 
17605
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17606
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17607
 
       else
17608
 
        if test "$host_cpu" = ia64; then
17609
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17610
 
          allow_undefined_flag_GCJ="-z nodefs"
17611
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17612
 
        else
17613
 
         # Determine the default libpath from the value encoded in an empty executable.
17614
 
         cat >conftest.$ac_ext <<_ACEOF
17615
 
/* confdefs.h.  */
17616
 
_ACEOF
17617
 
cat confdefs.h >>conftest.$ac_ext
17618
 
cat >>conftest.$ac_ext <<_ACEOF
17619
 
/* end confdefs.h.  */
17620
 
 
17621
 
int
17622
 
main ()
17623
 
{
17624
 
 
17625
 
  ;
17626
 
  return 0;
17627
 
}
17628
 
_ACEOF
17629
 
rm -f conftest.$ac_objext conftest$ac_exeext
17630
 
if { (ac_try="$ac_link"
17631
 
case "(($ac_try" in
17632
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17633
 
  *) ac_try_echo=$ac_try;;
17634
 
esac
17635
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17636
 
  (eval "$ac_link") 2>conftest.er1
17637
 
  ac_status=$?
17638
 
  grep -v '^ *+' conftest.er1 >conftest.err
17639
 
  rm -f conftest.er1
17640
 
  cat conftest.err >&5
17641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642
 
  (exit $ac_status); } && {
17643
 
         test -z "$ac_c_werror_flag" ||
17644
 
         test ! -s conftest.err
17645
 
       } && test -s conftest$ac_exeext &&
17646
 
       $as_test_x conftest$ac_exeext; then
17647
 
  
17648
 
lt_aix_libpath_sed='
17649
 
    /Import File Strings/,/^$/ {
17650
 
        /^0/ {
17651
 
            s/^0  *\(.*\)$/\1/
17652
 
            p
17653
 
        }
17654
 
    }'
17655
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17656
 
# Check for a 64-bit object if we didn't find anything.
17657
 
if test -z "$aix_libpath"; then
17658
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17659
 
fi
17660
 
else
17661
 
  echo "$as_me: failed program was:" >&5
17662
 
sed 's/^/| /' conftest.$ac_ext >&5
17663
 
 
17664
 
        
17665
 
fi
17666
 
 
17667
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17668
 
      conftest$ac_exeext conftest.$ac_ext
17669
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17670
 
 
17671
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17672
 
          # Warning - without using the other run time loading flags,
17673
 
          # -berok will link without error, but may produce a broken library.
17674
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17675
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17676
 
          # Exported symbols can be pulled into shared objects from archives
17677
 
          whole_archive_flag_spec_GCJ='$convenience'
17678
 
          archive_cmds_need_lc_GCJ=yes
17679
 
          # This is similar to how AIX traditionally builds its shared libraries.
17680
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17681
 
        fi
17682
 
      fi
17683
 
      ;;
17684
 
 
17685
 
    amigaos*)
17686
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17687
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17688
 
      hardcode_minus_L_GCJ=yes
17689
 
      # see comment about different semantics on the GNU ld section
17690
 
      ld_shlibs_GCJ=no
17691
 
      ;;
17692
 
 
17693
 
    bsdi[45]*)
17694
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17695
 
      ;;
17696
 
 
17697
 
    cygwin* | mingw* | pw32*)
17698
 
      # When not using gcc, we currently assume that we are using
17699
 
      # Microsoft Visual C++.
17700
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17701
 
      # no search path for DLLs.
17702
 
      hardcode_libdir_flag_spec_GCJ=' '
17703
 
      allow_undefined_flag_GCJ=unsupported
17704
 
      # Tell ltmain to make .lib files, not .a files.
17705
 
      libext=lib
17706
 
      # Tell ltmain to make .dll files, not .so files.
17707
 
      shrext_cmds=".dll"
17708
 
      # FIXME: Setting linknames here is a bad hack.
17709
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17710
 
      # The linker will automatically build a .lib file if we build a DLL.
17711
 
      old_archive_From_new_cmds_GCJ='true'
17712
 
      # FIXME: Should let the user specify the lib program.
17713
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17714
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17715
 
      enable_shared_with_static_runtimes_GCJ=yes
17716
 
      ;;
17717
 
 
17718
 
    darwin* | rhapsody*)
17719
 
      case $host_os in
17720
 
        rhapsody* | darwin1.[012])
17721
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17722
 
         ;;
17723
 
       *) # Darwin 1.3 on
17724
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17725
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17726
 
         else
17727
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17728
 
             10.[012])
17729
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17730
 
               ;;
17731
 
             10.*)
17732
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17733
 
               ;;
17734
 
           esac
17735
 
         fi
17736
 
         ;;
17737
 
      esac
17738
 
      archive_cmds_need_lc_GCJ=no
17739
 
      hardcode_direct_GCJ=no
17740
 
      hardcode_automatic_GCJ=yes
17741
 
      hardcode_shlibpath_var_GCJ=unsupported
17742
 
      whole_archive_flag_spec_GCJ=''
17743
 
      link_all_deplibs_GCJ=yes
17744
 
    if test "$GCC" = yes ; then
17745
 
        output_verbose_link_cmd='echo'
17746
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17747
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17748
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17749
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17750
 
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17751
 
    else
17752
 
      case $cc_basename in
17753
 
        xlc*)
17754
 
         output_verbose_link_cmd='echo'
17755
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17756
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17757
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17758
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17759
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17760
 
          ;;
17761
 
       *)
17762
 
         ld_shlibs_GCJ=no
17763
 
          ;;
17764
 
      esac
17765
 
    fi
17766
 
      ;;
17767
 
 
17768
 
    dgux*)
17769
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17770
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17771
 
      hardcode_shlibpath_var_GCJ=no
17772
 
      ;;
17773
 
 
17774
 
    freebsd1*)
17775
 
      ld_shlibs_GCJ=no
17776
 
      ;;
17777
 
 
17778
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17779
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17780
 
    # does not break anything, and helps significantly (at the cost of a little
17781
 
    # extra space).
17782
 
    freebsd2.2*)
17783
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17784
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17785
 
      hardcode_direct_GCJ=yes
17786
 
      hardcode_shlibpath_var_GCJ=no
17787
 
      ;;
17788
 
 
17789
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17790
 
    freebsd2*)
17791
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17792
 
      hardcode_direct_GCJ=yes
17793
 
      hardcode_minus_L_GCJ=yes
17794
 
      hardcode_shlibpath_var_GCJ=no
17795
 
      ;;
17796
 
 
17797
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17798
 
    freebsd* | dragonfly*)
17799
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17800
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17801
 
      hardcode_direct_GCJ=yes
17802
 
      hardcode_shlibpath_var_GCJ=no
17803
 
      ;;
17804
 
 
17805
 
    hpux9*)
17806
 
      if test "$GCC" = yes; then
17807
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17808
 
      else
17809
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17810
 
      fi
17811
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17812
 
      hardcode_libdir_separator_GCJ=:
17813
 
      hardcode_direct_GCJ=yes
17814
 
 
17815
 
      # hardcode_minus_L: Not really in the search PATH,
17816
 
      # but as the default location of the library.
17817
 
      hardcode_minus_L_GCJ=yes
17818
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17819
 
      ;;
17820
 
 
17821
 
    hpux10*)
17822
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17823
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17824
 
      else
17825
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17826
 
      fi
17827
 
      if test "$with_gnu_ld" = no; then
17828
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17829
 
        hardcode_libdir_separator_GCJ=:
17830
 
 
17831
 
        hardcode_direct_GCJ=yes
17832
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17833
 
 
17834
 
        # hardcode_minus_L: Not really in the search PATH,
17835
 
        # but as the default location of the library.
17836
 
        hardcode_minus_L_GCJ=yes
17837
 
      fi
17838
 
      ;;
17839
 
 
17840
 
    hpux11*)
17841
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17842
 
        case $host_cpu in
17843
 
        hppa*64*)
17844
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17845
 
          ;;
17846
 
        ia64*)
17847
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17848
 
          ;;
17849
 
        *)
17850
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17851
 
          ;;
17852
 
        esac
17853
 
      else
17854
 
        case $host_cpu in
17855
 
        hppa*64*)
17856
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17857
 
          ;;
17858
 
        ia64*)
17859
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17860
 
          ;;
17861
 
        *)
17862
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17863
 
          ;;
17864
 
        esac
17865
 
      fi
17866
 
      if test "$with_gnu_ld" = no; then
17867
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17868
 
        hardcode_libdir_separator_GCJ=:
17869
 
 
17870
 
        case $host_cpu in
17871
 
        hppa*64*|ia64*)
17872
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17873
 
          hardcode_direct_GCJ=no
17874
 
          hardcode_shlibpath_var_GCJ=no
17875
 
          ;;
17876
 
        *)
17877
 
          hardcode_direct_GCJ=yes
17878
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17879
 
 
17880
 
          # hardcode_minus_L: Not really in the search PATH,
17881
 
          # but as the default location of the library.
17882
 
          hardcode_minus_L_GCJ=yes
17883
 
          ;;
17884
 
        esac
17885
 
      fi
17886
 
      ;;
17887
 
 
17888
 
    irix5* | irix6* | nonstopux*)
17889
 
      if test "$GCC" = yes; then
17890
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17891
 
      else
17892
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17893
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17894
 
      fi
17895
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17896
 
      hardcode_libdir_separator_GCJ=:
17897
 
      link_all_deplibs_GCJ=yes
17898
 
      ;;
17899
 
 
17900
 
    netbsd* | netbsdelf*-gnu)
17901
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17902
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17903
 
      else
17904
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17905
 
      fi
17906
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17907
 
      hardcode_direct_GCJ=yes
17908
 
      hardcode_shlibpath_var_GCJ=no
17909
 
      ;;
17910
 
 
17911
 
    newsos6)
17912
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17913
 
      hardcode_direct_GCJ=yes
17914
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17915
 
      hardcode_libdir_separator_GCJ=:
17916
 
      hardcode_shlibpath_var_GCJ=no
17917
 
      ;;
17918
 
 
17919
 
    openbsd*)
17920
 
      if test -f /usr/libexec/ld.so; then
17921
 
        hardcode_direct_GCJ=yes
17922
 
        hardcode_shlibpath_var_GCJ=no
17923
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17924
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17925
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17926
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17927
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17928
 
        else
17929
 
          case $host_os in
17930
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17931
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17932
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
17933
 
             ;;
17934
 
           *)
17935
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17936
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17937
 
             ;;
17938
 
          esac
17939
 
        fi
17940
 
      else
17941
 
        ld_shlibs_GCJ=no
17942
 
      fi
17943
 
      ;;
17944
 
 
17945
 
    os2*)
17946
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17947
 
      hardcode_minus_L_GCJ=yes
17948
 
      allow_undefined_flag_GCJ=unsupported
17949
 
      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
17950
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17951
 
      ;;
17952
 
 
17953
 
    osf3*)
17954
 
      if test "$GCC" = yes; then
17955
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17956
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17957
 
      else
17958
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17959
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17960
 
      fi
17961
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17962
 
      hardcode_libdir_separator_GCJ=:
17963
 
      ;;
17964
 
 
17965
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17966
 
      if test "$GCC" = yes; then
17967
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17968
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17969
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17970
 
      else
17971
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17972
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17973
 
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17974
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17975
 
 
17976
 
        # Both c and cxx compiler support -rpath directly
17977
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17978
 
      fi
17979
 
      hardcode_libdir_separator_GCJ=:
17980
 
      ;;
17981
 
 
17982
 
    solaris*)
17983
 
      no_undefined_flag_GCJ=' -z text'
17984
 
      if test "$GCC" = yes; then
17985
 
        wlarc='${wl}'
17986
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17987
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17988
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17989
 
      else
17990
 
        wlarc=''
17991
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17992
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17993
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17994
 
      fi
17995
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17996
 
      hardcode_shlibpath_var_GCJ=no
17997
 
      case $host_os in
17998
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17999
 
      *)
18000
 
        # The compiler driver will combine and reorder linker options,
18001
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18002
 
        # but is careful enough not to reorder.
18003
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18004
 
        if test "$GCC" = yes; then
18005
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18006
 
        else
18007
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18008
 
        fi
18009
 
        ;;
18010
 
      esac
18011
 
      link_all_deplibs_GCJ=yes
18012
 
      ;;
18013
 
 
18014
 
    sunos4*)
18015
 
      if test "x$host_vendor" = xsequent; then
18016
 
        # Use $CC to link under sequent, because it throws in some extra .o
18017
 
        # files that make .init and .fini sections work.
18018
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18019
 
      else
18020
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18021
 
      fi
18022
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18023
 
      hardcode_direct_GCJ=yes
18024
 
      hardcode_minus_L_GCJ=yes
18025
 
      hardcode_shlibpath_var_GCJ=no
18026
 
      ;;
18027
 
 
18028
 
    sysv4)
18029
 
      case $host_vendor in
18030
 
        sni)
18031
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18032
 
          hardcode_direct_GCJ=yes # is this really true???
18033
 
        ;;
18034
 
        siemens)
18035
 
          ## LD is ld it makes a PLAMLIB
18036
 
          ## CC just makes a GrossModule.
18037
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18038
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18039
 
          hardcode_direct_GCJ=no
18040
 
        ;;
18041
 
        motorola)
18042
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18043
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18044
 
        ;;
18045
 
      esac
18046
 
      runpath_var='LD_RUN_PATH'
18047
 
      hardcode_shlibpath_var_GCJ=no
18048
 
      ;;
18049
 
 
18050
 
    sysv4.3*)
18051
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18052
 
      hardcode_shlibpath_var_GCJ=no
18053
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18054
 
      ;;
18055
 
 
18056
 
    sysv4*MP*)
18057
 
      if test -d /usr/nec; then
18058
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18059
 
        hardcode_shlibpath_var_GCJ=no
18060
 
        runpath_var=LD_RUN_PATH
18061
 
        hardcode_runpath_var=yes
18062
 
        ld_shlibs_GCJ=yes
18063
 
      fi
18064
 
      ;;
18065
 
 
18066
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18067
 
      no_undefined_flag_GCJ='${wl}-z,text'
18068
 
      archive_cmds_need_lc_GCJ=no
18069
 
      hardcode_shlibpath_var_GCJ=no
18070
 
      runpath_var='LD_RUN_PATH'
18071
 
 
18072
 
      if test "$GCC" = yes; then
18073
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18074
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18075
 
      else
18076
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18077
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18078
 
      fi
18079
 
      ;;
18080
 
 
18081
 
    sysv5* | sco3.2v5* | sco5v6*)
18082
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18083
 
      # link with -lc, and that would cause any symbols used from libc to
18084
 
      # always be unresolved, which means just about no library would
18085
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18086
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18087
 
      # as -z defs.
18088
 
      no_undefined_flag_GCJ='${wl}-z,text'
18089
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18090
 
      archive_cmds_need_lc_GCJ=no
18091
 
      hardcode_shlibpath_var_GCJ=no
18092
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18093
 
      hardcode_libdir_separator_GCJ=':'
18094
 
      link_all_deplibs_GCJ=yes
18095
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18096
 
      runpath_var='LD_RUN_PATH'
18097
 
 
18098
 
      if test "$GCC" = yes; then
18099
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18100
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18101
 
      else
18102
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18103
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18104
 
      fi
18105
 
      ;;
18106
 
 
18107
 
    uts4*)
18108
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18109
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18110
 
      hardcode_shlibpath_var_GCJ=no
18111
 
      ;;
18112
 
 
18113
 
    *)
18114
 
      ld_shlibs_GCJ=no
18115
 
      ;;
18116
 
    esac
18117
 
  fi
18118
 
 
18119
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18120
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18121
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18122
 
 
18123
 
#
18124
 
# Do we need to explicitly link libc?
18125
 
#
18126
 
case "x$archive_cmds_need_lc_GCJ" in
18127
 
x|xyes)
18128
 
  # Assume -lc should be added
18129
 
  archive_cmds_need_lc_GCJ=yes
18130
 
 
18131
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18132
 
    case $archive_cmds_GCJ in
18133
 
    *'~'*)
18134
 
      # FIXME: we may have to deal with multi-command sequences.
18135
 
      ;;
18136
 
    '$CC '*)
18137
 
      # Test whether the compiler implicitly links with -lc since on some
18138
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18139
 
      # to ld, don't add -lc before -lgcc.
18140
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18141
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18142
 
      $rm conftest*
18143
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18144
 
 
18145
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18146
 
  (eval $ac_compile) 2>&5
18147
 
  ac_status=$?
18148
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149
 
  (exit $ac_status); } 2>conftest.err; then
18150
 
        soname=conftest
18151
 
        lib=conftest
18152
 
        libobjs=conftest.$ac_objext
18153
 
        deplibs=
18154
 
        wl=$lt_prog_compiler_wl_GCJ
18155
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18156
 
        compiler_flags=-v
18157
 
        linker_flags=-v
18158
 
        verstring=
18159
 
        output_objdir=.
18160
 
        libname=conftest
18161
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18162
 
        allow_undefined_flag_GCJ=
18163
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18164
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18165
 
  ac_status=$?
18166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167
 
  (exit $ac_status); }
18168
 
        then
18169
 
          archive_cmds_need_lc_GCJ=no
18170
 
        else
18171
 
          archive_cmds_need_lc_GCJ=yes
18172
 
        fi
18173
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18174
 
      else
18175
 
        cat conftest.err 1>&5
18176
 
      fi
18177
 
      $rm conftest*
18178
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18179
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18180
 
      ;;
18181
 
    esac
18182
 
  fi
18183
 
  ;;
18184
 
esac
18185
 
 
18186
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18187
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18188
 
library_names_spec=
18189
 
libname_spec='lib$name'
18190
 
soname_spec=
18191
 
shrext_cmds=".so"
18192
 
postinstall_cmds=
18193
 
postuninstall_cmds=
18194
 
finish_cmds=
18195
 
finish_eval=
18196
 
shlibpath_var=
18197
 
shlibpath_overrides_runpath=unknown
18198
 
version_type=none
18199
 
dynamic_linker="$host_os ld.so"
18200
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18201
 
 
18202
 
need_lib_prefix=unknown
18203
 
hardcode_into_libs=no
18204
 
 
18205
 
# when you set need_version to no, make sure it does not cause -set_version
18206
 
# flags to be left without arguments
18207
 
need_version=unknown
18208
 
 
18209
 
case $host_os in
18210
 
aix3*)
18211
 
  version_type=linux
18212
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18213
 
  shlibpath_var=LIBPATH
18214
 
 
18215
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18216
 
  soname_spec='${libname}${release}${shared_ext}$major'
18217
 
  ;;
18218
 
 
18219
 
aix4* | aix5*)
18220
 
  version_type=linux
18221
 
  need_lib_prefix=no
18222
 
  need_version=no
18223
 
  hardcode_into_libs=yes
18224
 
  if test "$host_cpu" = ia64; then
18225
 
    # AIX 5 supports IA64
18226
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18227
 
    shlibpath_var=LD_LIBRARY_PATH
18228
 
  else
18229
 
    # With GCC up to 2.95.x, collect2 would create an import file
18230
 
    # for dependence libraries.  The import file would start with
18231
 
    # the line `#! .'.  This would cause the generated library to
18232
 
    # depend on `.', always an invalid library.  This was fixed in
18233
 
    # development snapshots of GCC prior to 3.0.
18234
 
    case $host_os in
18235
 
      aix4 | aix4.[01] | aix4.[01].*)
18236
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18237
 
           echo ' yes '
18238
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18239
 
        :
18240
 
      else
18241
 
        can_build_shared=no
18242
 
      fi
18243
 
      ;;
18244
 
    esac
18245
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18246
 
    # soname into executable. Probably we can add versioning support to
18247
 
    # collect2, so additional links can be useful in future.
18248
 
    if test "$aix_use_runtimelinking" = yes; then
18249
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18250
 
      # instead of lib<name>.a to let people know that these are not
18251
 
      # typical AIX shared libraries.
18252
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18253
 
    else
18254
 
      # We preserve .a as extension for shared libraries through AIX4.2
18255
 
      # and later when we are not doing run time linking.
18256
 
      library_names_spec='${libname}${release}.a $libname.a'
18257
 
      soname_spec='${libname}${release}${shared_ext}$major'
18258
 
    fi
18259
 
    shlibpath_var=LIBPATH
18260
 
  fi
18261
 
  ;;
18262
 
 
18263
 
amigaos*)
18264
 
  library_names_spec='$libname.ixlibrary $libname.a'
18265
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18266
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18267
 
  ;;
18268
 
 
18269
 
beos*)
18270
 
  library_names_spec='${libname}${shared_ext}'
18271
 
  dynamic_linker="$host_os ld.so"
18272
 
  shlibpath_var=LIBRARY_PATH
18273
 
  ;;
18274
 
 
18275
 
bsdi[45]*)
18276
 
  version_type=linux
18277
 
  need_version=no
18278
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18279
 
  soname_spec='${libname}${release}${shared_ext}$major'
18280
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18281
 
  shlibpath_var=LD_LIBRARY_PATH
18282
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18283
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18284
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18285
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18286
 
  # libtool to hard-code these into programs
18287
 
  ;;
18288
 
 
18289
 
cygwin* | mingw* | pw32*)
18290
 
  version_type=windows
18291
 
  shrext_cmds=".dll"
18292
 
  need_version=no
18293
 
  need_lib_prefix=no
18294
 
 
18295
 
  case $GCC,$host_os in
18296
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18297
 
    library_names_spec='$libname.dll.a'
18298
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18299
 
    postinstall_cmds='base_file=`basename \${file}`~
18300
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18301
 
      dldir=$destdir/`dirname \$dlpath`~
18302
 
      test -d \$dldir || mkdir -p \$dldir~
18303
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18304
 
      chmod a+x \$dldir/$dlname'
18305
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18306
 
      dlpath=$dir/\$dldll~
18307
 
       $rm \$dlpath'
18308
 
    shlibpath_overrides_runpath=yes
18309
 
 
18310
 
    case $host_os in
18311
 
    cygwin*)
18312
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18313
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18314
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18315
 
      ;;
18316
 
    mingw*)
18317
 
      # MinGW DLLs use traditional 'lib' prefix
18318
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18319
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18320
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18321
 
        # It is most probably a Windows format PATH printed by
18322
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18323
 
        # path with ; separators, and with drive letters. We can handle the
18324
 
        # drive letters (cygwin fileutils understands them), so leave them,
18325
 
        # especially as we might pass files found there to a mingw objdump,
18326
 
        # which wouldn't understand a cygwinified path. Ahh.
18327
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18328
 
      else
18329
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18330
 
      fi
18331
 
      ;;
18332
 
    pw32*)
18333
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18334
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18335
 
      ;;
18336
 
    esac
18337
 
    ;;
18338
 
 
18339
 
  *)
18340
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18341
 
    ;;
18342
 
  esac
18343
 
  dynamic_linker='Win32 ld.exe'
18344
 
  # FIXME: first we should search . and the directory the executable is in
18345
 
  shlibpath_var=PATH
18346
 
  ;;
18347
 
 
18348
 
darwin* | rhapsody*)
18349
 
  dynamic_linker="$host_os dyld"
18350
 
  version_type=darwin
18351
 
  need_lib_prefix=no
18352
 
  need_version=no
18353
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18354
 
  soname_spec='${libname}${release}${major}$shared_ext'
18355
 
  shlibpath_overrides_runpath=yes
18356
 
  shlibpath_var=DYLD_LIBRARY_PATH
18357
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18358
 
   
18359
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18360
 
  ;;
18361
 
 
18362
 
dgux*)
18363
 
  version_type=linux
18364
 
  need_lib_prefix=no
18365
 
  need_version=no
18366
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18367
 
  soname_spec='${libname}${release}${shared_ext}$major'
18368
 
  shlibpath_var=LD_LIBRARY_PATH
18369
 
  ;;
18370
 
 
18371
 
freebsd1*)
18372
 
  dynamic_linker=no
18373
 
  ;;
18374
 
 
18375
 
freebsd* | dragonfly*)
18376
 
  # DragonFly does not have aout.  When/if they implement a new
18377
 
  # versioning mechanism, adjust this.
18378
 
  if test -x /usr/bin/objformat; then
18379
 
    objformat=`/usr/bin/objformat`
18380
 
  else
18381
 
    case $host_os in
18382
 
    freebsd[123]*) objformat=aout ;;
18383
 
    *) objformat=elf ;;
18384
 
    esac
18385
 
  fi
18386
 
  version_type=freebsd-$objformat
18387
 
  case $version_type in
18388
 
    freebsd-elf*)
18389
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18390
 
      need_version=no
18391
 
      need_lib_prefix=no
18392
 
      ;;
18393
 
    freebsd-*)
18394
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18395
 
      need_version=yes
18396
 
      ;;
18397
 
  esac
18398
 
  shlibpath_var=LD_LIBRARY_PATH
18399
 
  case $host_os in
18400
 
  freebsd2*)
18401
 
    shlibpath_overrides_runpath=yes
18402
 
    ;;
18403
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18404
 
    shlibpath_overrides_runpath=yes
18405
 
    hardcode_into_libs=yes
18406
 
    ;;
18407
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18408
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18409
 
    shlibpath_overrides_runpath=no
18410
 
    hardcode_into_libs=yes
18411
 
    ;;
18412
 
  *) # from 4.6 on, and DragonFly
18413
 
    shlibpath_overrides_runpath=yes
18414
 
    hardcode_into_libs=yes
18415
 
    ;;
18416
 
  esac
18417
 
  ;;
18418
 
 
18419
 
gnu*)
18420
 
  version_type=linux
18421
 
  need_lib_prefix=no
18422
 
  need_version=no
18423
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18424
 
  soname_spec='${libname}${release}${shared_ext}$major'
18425
 
  shlibpath_var=LD_LIBRARY_PATH
18426
 
  hardcode_into_libs=yes
18427
 
  ;;
18428
 
 
18429
 
hpux9* | hpux10* | hpux11*)
18430
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18431
 
  # link against other versions.
18432
 
  version_type=sunos
18433
 
  need_lib_prefix=no
18434
 
  need_version=no
18435
 
  case $host_cpu in
18436
 
  ia64*)
18437
 
    shrext_cmds='.so'
18438
 
    hardcode_into_libs=yes
18439
 
    dynamic_linker="$host_os dld.so"
18440
 
    shlibpath_var=LD_LIBRARY_PATH
18441
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18442
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18443
 
    soname_spec='${libname}${release}${shared_ext}$major'
18444
 
    if test "X$HPUX_IA64_MODE" = X32; then
18445
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18446
 
    else
18447
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18448
 
    fi
18449
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18450
 
    ;;
18451
 
   hppa*64*)
18452
 
     shrext_cmds='.sl'
18453
 
     hardcode_into_libs=yes
18454
 
     dynamic_linker="$host_os dld.sl"
18455
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18456
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18457
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18458
 
     soname_spec='${libname}${release}${shared_ext}$major'
18459
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18460
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18461
 
     ;;
18462
 
   *)
18463
 
    shrext_cmds='.sl'
18464
 
    dynamic_linker="$host_os dld.sl"
18465
 
    shlibpath_var=SHLIB_PATH
18466
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18467
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18468
 
    soname_spec='${libname}${release}${shared_ext}$major'
18469
 
    ;;
18470
 
  esac
18471
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18472
 
  postinstall_cmds='chmod 555 $lib'
18473
 
  ;;
18474
 
 
18475
 
interix[3-9]*)
18476
 
  version_type=linux
18477
 
  need_lib_prefix=no
18478
 
  need_version=no
18479
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18480
 
  soname_spec='${libname}${release}${shared_ext}$major'
18481
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18482
 
  shlibpath_var=LD_LIBRARY_PATH
18483
 
  shlibpath_overrides_runpath=no
18484
 
  hardcode_into_libs=yes
18485
 
  ;;
18486
 
 
18487
 
irix5* | irix6* | nonstopux*)
18488
 
  case $host_os in
18489
 
    nonstopux*) version_type=nonstopux ;;
18490
 
    *)
18491
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18492
 
                version_type=linux
18493
 
        else
18494
 
                version_type=irix
18495
 
        fi ;;
18496
 
  esac
18497
 
  need_lib_prefix=no
18498
 
  need_version=no
18499
 
  soname_spec='${libname}${release}${shared_ext}$major'
18500
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18501
 
  case $host_os in
18502
 
  irix5* | nonstopux*)
18503
 
    libsuff= shlibsuff=
18504
 
    ;;
18505
 
  *)
18506
 
    case $LD in # libtool.m4 will add one of these switches to LD
18507
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18508
 
      libsuff= shlibsuff= libmagic=32-bit;;
18509
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18510
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18511
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18512
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18513
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18514
 
    esac
18515
 
    ;;
18516
 
  esac
18517
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18518
 
  shlibpath_overrides_runpath=no
18519
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18520
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18521
 
  hardcode_into_libs=yes
18522
 
  ;;
18523
 
 
18524
 
# No shared lib support for Linux oldld, aout, or coff.
18525
 
linux*oldld* | linux*aout* | linux*coff*)
18526
 
  dynamic_linker=no
18527
 
  ;;
18528
 
 
18529
 
# This must be Linux ELF.
18530
 
linux* | k*bsd*-gnu)
18531
 
  version_type=linux
18532
 
  need_lib_prefix=no
18533
 
  need_version=no
18534
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18535
 
  soname_spec='${libname}${release}${shared_ext}$major'
18536
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18537
 
  shlibpath_var=LD_LIBRARY_PATH
18538
 
  shlibpath_overrides_runpath=no
18539
 
  # This implies no fast_install, which is unacceptable.
18540
 
  # Some rework will be needed to allow for fast_install
18541
 
  # before this can be enabled.
18542
 
  hardcode_into_libs=yes
18543
 
 
18544
 
  # Append ld.so.conf contents to the search path
18545
 
  if test -f /etc/ld.so.conf; then
18546
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18547
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18548
 
  fi
18549
 
 
18550
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18551
 
  # powerpc, because MkLinux only supported shared libraries with the
18552
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18553
 
  # most powerpc-linux boxes support dynamic linking these days and
18554
 
  # people can always --disable-shared, the test was removed, and we
18555
 
  # assume the GNU/Linux dynamic linker is in use.
18556
 
  dynamic_linker='GNU/Linux ld.so'
18557
 
  ;;
18558
 
 
18559
 
netbsdelf*-gnu)
18560
 
  version_type=linux
18561
 
  need_lib_prefix=no
18562
 
  need_version=no
18563
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18564
 
  soname_spec='${libname}${release}${shared_ext}$major'
18565
 
  shlibpath_var=LD_LIBRARY_PATH
18566
 
  shlibpath_overrides_runpath=no
18567
 
  hardcode_into_libs=yes
18568
 
  dynamic_linker='NetBSD ld.elf_so'
18569
 
  ;;
18570
 
 
18571
 
netbsd*)
18572
 
  version_type=sunos
18573
 
  need_lib_prefix=no
18574
 
  need_version=no
18575
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18576
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18577
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18578
 
    dynamic_linker='NetBSD (a.out) ld.so'
18579
 
  else
18580
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18581
 
    soname_spec='${libname}${release}${shared_ext}$major'
18582
 
    dynamic_linker='NetBSD ld.elf_so'
18583
 
  fi
18584
 
  shlibpath_var=LD_LIBRARY_PATH
18585
 
  shlibpath_overrides_runpath=yes
18586
 
  hardcode_into_libs=yes
18587
 
  ;;
18588
 
 
18589
 
newsos6)
18590
 
  version_type=linux
18591
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18592
 
  shlibpath_var=LD_LIBRARY_PATH
18593
 
  shlibpath_overrides_runpath=yes
18594
 
  ;;
18595
 
 
18596
 
nto-qnx*)
18597
 
  version_type=linux
18598
 
  need_lib_prefix=no
18599
 
  need_version=no
18600
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18601
 
  soname_spec='${libname}${release}${shared_ext}$major'
18602
 
  shlibpath_var=LD_LIBRARY_PATH
18603
 
  shlibpath_overrides_runpath=yes
18604
 
  ;;
18605
 
 
18606
 
openbsd*)
18607
 
  version_type=sunos
18608
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18609
 
  need_lib_prefix=no
18610
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18611
 
  case $host_os in
18612
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18613
 
    *)                         need_version=no  ;;
18614
 
  esac
18615
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18616
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18617
 
  shlibpath_var=LD_LIBRARY_PATH
18618
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18619
 
    case $host_os in
18620
 
      openbsd2.[89] | openbsd2.[89].*)
18621
 
        shlibpath_overrides_runpath=no
18622
 
        ;;
18623
 
      *)
18624
 
        shlibpath_overrides_runpath=yes
18625
 
        ;;
18626
 
      esac
18627
 
  else
18628
 
    shlibpath_overrides_runpath=yes
18629
 
  fi
18630
 
  ;;
18631
 
 
18632
 
os2*)
18633
 
  libname_spec='$name'
18634
 
  shrext_cmds=".dll"
18635
 
  need_lib_prefix=no
18636
 
  library_names_spec='$libname${shared_ext} $libname.a'
18637
 
  dynamic_linker='OS/2 ld.exe'
18638
 
  shlibpath_var=LIBPATH
18639
 
  ;;
18640
 
 
18641
 
osf3* | osf4* | osf5*)
18642
 
  version_type=osf
18643
 
  need_lib_prefix=no
18644
 
  need_version=no
18645
 
  soname_spec='${libname}${release}${shared_ext}$major'
18646
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18647
 
  shlibpath_var=LD_LIBRARY_PATH
18648
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18649
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18650
 
  ;;
18651
 
 
18652
 
rdos*)
18653
 
  dynamic_linker=no
18654
 
  ;;
18655
 
 
18656
 
solaris*)
18657
 
  version_type=linux
18658
 
  need_lib_prefix=no
18659
 
  need_version=no
18660
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18661
 
  soname_spec='${libname}${release}${shared_ext}$major'
18662
 
  shlibpath_var=LD_LIBRARY_PATH
18663
 
  shlibpath_overrides_runpath=yes
18664
 
  hardcode_into_libs=yes
18665
 
  # ldd complains unless libraries are executable
18666
 
  postinstall_cmds='chmod +x $lib'
18667
 
  ;;
18668
 
 
18669
 
sunos4*)
18670
 
  version_type=sunos
18671
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18672
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18673
 
  shlibpath_var=LD_LIBRARY_PATH
18674
 
  shlibpath_overrides_runpath=yes
18675
 
  if test "$with_gnu_ld" = yes; then
18676
 
    need_lib_prefix=no
18677
 
  fi
18678
 
  need_version=yes
18679
 
  ;;
18680
 
 
18681
 
sysv4 | sysv4.3*)
18682
 
  version_type=linux
18683
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18684
 
  soname_spec='${libname}${release}${shared_ext}$major'
18685
 
  shlibpath_var=LD_LIBRARY_PATH
18686
 
  case $host_vendor in
18687
 
    sni)
18688
 
      shlibpath_overrides_runpath=no
18689
 
      need_lib_prefix=no
18690
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18691
 
      runpath_var=LD_RUN_PATH
18692
 
      ;;
18693
 
    siemens)
18694
 
      need_lib_prefix=no
18695
 
      ;;
18696
 
    motorola)
18697
 
      need_lib_prefix=no
18698
 
      need_version=no
18699
 
      shlibpath_overrides_runpath=no
18700
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18701
 
      ;;
18702
 
  esac
18703
 
  ;;
18704
 
 
18705
 
sysv4*MP*)
18706
 
  if test -d /usr/nec ;then
18707
 
    version_type=linux
18708
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18709
 
    soname_spec='$libname${shared_ext}.$major'
18710
 
    shlibpath_var=LD_LIBRARY_PATH
18711
 
  fi
18712
 
  ;;
18713
 
 
18714
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18715
 
  version_type=freebsd-elf
18716
 
  need_lib_prefix=no
18717
 
  need_version=no
18718
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18719
 
  soname_spec='${libname}${release}${shared_ext}$major'
18720
 
  shlibpath_var=LD_LIBRARY_PATH
18721
 
  hardcode_into_libs=yes
18722
 
  if test "$with_gnu_ld" = yes; then
18723
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18724
 
    shlibpath_overrides_runpath=no
18725
 
  else
18726
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18727
 
    shlibpath_overrides_runpath=yes
18728
 
    case $host_os in
18729
 
      sco3.2v5*)
18730
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18731
 
        ;;
18732
 
    esac
18733
 
  fi
18734
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18735
 
  ;;
18736
 
 
18737
 
uts4*)
18738
 
  version_type=linux
18739
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18740
 
  soname_spec='${libname}${release}${shared_ext}$major'
18741
 
  shlibpath_var=LD_LIBRARY_PATH
18742
 
  ;;
18743
 
 
18744
 
*)
18745
 
  dynamic_linker=no
18746
 
  ;;
18747
 
esac
18748
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18749
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18750
 
test "$dynamic_linker" = no && can_build_shared=no
18751
 
 
18752
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18753
 
if test "$GCC" = yes; then
18754
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18755
 
fi
18756
 
 
18757
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18758
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18759
 
hardcode_action_GCJ=
18760
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18761
 
   test -n "$runpath_var_GCJ" || \
18762
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18763
 
 
18764
 
  # We can hardcode non-existant directories.
18765
 
  if test "$hardcode_direct_GCJ" != no &&
18766
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18767
 
     # have to relink, otherwise we might link with an installed library
18768
 
     # when we should be linking with a yet-to-be-installed one
18769
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18770
 
     test "$hardcode_minus_L_GCJ" != no; then
18771
 
    # Linking always hardcodes the temporary library directory.
18772
 
    hardcode_action_GCJ=relink
18773
 
  else
18774
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18775
 
    hardcode_action_GCJ=immediate
18776
 
  fi
18777
 
else
18778
 
  # We cannot hardcode anything, or else we can only hardcode existing
18779
 
  # directories.
18780
 
  hardcode_action_GCJ=unsupported
18781
 
fi
18782
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18783
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18784
 
 
18785
 
if test "$hardcode_action_GCJ" = relink; then
18786
 
  # Fast installation is not supported
18787
 
  enable_fast_install=no
18788
 
elif test "$shlibpath_overrides_runpath" = yes ||
18789
 
     test "$enable_shared" = no; then
18790
 
  # Fast installation is not necessary
18791
 
  enable_fast_install=needless
18792
 
fi
18793
 
 
18794
 
 
18795
 
# The else clause should only fire when bootstrapping the
18796
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18797
 
# with your package, and you will get complaints that there are
18798
 
# no rules to generate ltmain.sh.
18799
 
if test -f "$ltmain"; then
18800
 
  # See if we are running on zsh, and set the options which allow our commands through
18801
 
  # without removal of \ escapes.
18802
 
  if test -n "${ZSH_VERSION+set}" ; then
18803
 
    setopt NO_GLOB_SUBST
18804
 
  fi
18805
 
  # Now quote all the things that may contain metacharacters while being
18806
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18807
 
  # variables and quote the copies for generation of the libtool script.
18808
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18809
 
    SED SHELL STRIP \
18810
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18811
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18812
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18813
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18814
 
    lt_cv_sys_global_symbol_to_c_name_address \
18815
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18816
 
    old_postinstall_cmds old_postuninstall_cmds \
18817
 
    compiler_GCJ \
18818
 
    CC_GCJ \
18819
 
    LD_GCJ \
18820
 
    lt_prog_compiler_wl_GCJ \
18821
 
    lt_prog_compiler_pic_GCJ \
18822
 
    lt_prog_compiler_static_GCJ \
18823
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18824
 
    export_dynamic_flag_spec_GCJ \
18825
 
    thread_safe_flag_spec_GCJ \
18826
 
    whole_archive_flag_spec_GCJ \
18827
 
    enable_shared_with_static_runtimes_GCJ \
18828
 
    old_archive_cmds_GCJ \
18829
 
    old_archive_from_new_cmds_GCJ \
18830
 
    predep_objects_GCJ \
18831
 
    postdep_objects_GCJ \
18832
 
    predeps_GCJ \
18833
 
    postdeps_GCJ \
18834
 
    compiler_lib_search_path_GCJ \
18835
 
    archive_cmds_GCJ \
18836
 
    archive_expsym_cmds_GCJ \
18837
 
    postinstall_cmds_GCJ \
18838
 
    postuninstall_cmds_GCJ \
18839
 
    old_archive_from_expsyms_cmds_GCJ \
18840
 
    allow_undefined_flag_GCJ \
18841
 
    no_undefined_flag_GCJ \
18842
 
    export_symbols_cmds_GCJ \
18843
 
    hardcode_libdir_flag_spec_GCJ \
18844
 
    hardcode_libdir_flag_spec_ld_GCJ \
18845
 
    hardcode_libdir_separator_GCJ \
18846
 
    hardcode_automatic_GCJ \
18847
 
    module_cmds_GCJ \
18848
 
    module_expsym_cmds_GCJ \
18849
 
    lt_cv_prog_compiler_c_o_GCJ \
18850
 
    fix_srcfile_path_GCJ \
18851
 
    exclude_expsyms_GCJ \
18852
 
    include_expsyms_GCJ; do
18853
 
 
18854
 
    case $var in
18855
 
    old_archive_cmds_GCJ | \
18856
 
    old_archive_from_new_cmds_GCJ | \
18857
 
    archive_cmds_GCJ | \
18858
 
    archive_expsym_cmds_GCJ | \
18859
 
    module_cmds_GCJ | \
18860
 
    module_expsym_cmds_GCJ | \
18861
 
    old_archive_from_expsyms_cmds_GCJ | \
18862
 
    export_symbols_cmds_GCJ | \
18863
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18864
 
    postinstall_cmds | postuninstall_cmds | \
18865
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18866
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18867
 
      # Double-quote double-evaled strings.
18868
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18869
 
      ;;
18870
 
    *)
18871
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18872
 
      ;;
18873
 
    esac
18874
 
  done
18875
 
 
18876
 
  case $lt_echo in
18877
 
  *'\$0 --fallback-echo"')
18878
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18879
 
    ;;
18880
 
  esac
18881
 
 
18882
 
cfgfile="$ofile"
18883
 
 
18884
 
  cat <<__EOF__ >> "$cfgfile"
18885
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18886
 
 
18887
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18888
 
 
18889
 
# Shell to use when invoking shell scripts.
18890
 
SHELL=$lt_SHELL
18891
 
 
18892
 
# Whether or not to build shared libraries.
18893
 
build_libtool_libs=$enable_shared
18894
 
 
18895
 
# Whether or not to build static libraries.
18896
 
build_old_libs=$enable_static
18897
 
 
18898
 
# Whether or not to add -lc for building shared libraries.
18899
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18900
 
 
18901
 
# Whether or not to disallow shared libs when runtime libs are static
18902
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18903
 
 
18904
 
# Whether or not to optimize for fast installation.
18905
 
fast_install=$enable_fast_install
18906
 
 
18907
 
# The host system.
18908
 
host_alias=$host_alias
18909
 
host=$host
18910
 
host_os=$host_os
18911
 
 
18912
 
# The build system.
18913
 
build_alias=$build_alias
18914
 
build=$build
18915
 
build_os=$build_os
18916
 
 
18917
 
# An echo program that does not interpret backslashes.
18918
 
echo=$lt_echo
18919
 
 
18920
 
# The archiver.
18921
 
AR=$lt_AR
18922
 
AR_FLAGS=$lt_AR_FLAGS
18923
 
 
18924
 
# A C compiler.
18925
 
LTCC=$lt_LTCC
18926
 
 
18927
 
# LTCC compiler flags.
18928
 
LTCFLAGS=$lt_LTCFLAGS
18929
 
 
18930
 
# A language-specific compiler.
18931
 
CC=$lt_compiler_GCJ
18932
 
 
18933
 
# Is the compiler the GNU C compiler?
18934
 
with_gcc=$GCC_GCJ
18935
 
 
18936
 
# An ERE matcher.
18937
 
EGREP=$lt_EGREP
18938
 
 
18939
 
# The linker used to build libraries.
18940
 
LD=$lt_LD_GCJ
18941
 
 
18942
 
# Whether we need hard or soft links.
18943
 
LN_S=$lt_LN_S
18944
 
 
18945
 
# A BSD-compatible nm program.
18946
 
NM=$lt_NM
18947
 
 
18948
 
# A symbol stripping program
18949
 
STRIP=$lt_STRIP
18950
 
 
18951
 
# Used to examine libraries when file_magic_cmd begins "file"
18952
 
MAGIC_CMD=$MAGIC_CMD
18953
 
 
18954
 
# Used on cygwin: DLL creation program.
18955
 
DLLTOOL="$DLLTOOL"
18956
 
 
18957
 
# Used on cygwin: object dumper.
18958
 
OBJDUMP="$OBJDUMP"
18959
 
 
18960
 
# Used on cygwin: assembler.
18961
 
AS="$AS"
18962
 
 
18963
 
# The name of the directory that contains temporary libtool files.
18964
 
objdir=$objdir
18965
 
 
18966
 
# How to create reloadable object files.
18967
 
reload_flag=$lt_reload_flag
18968
 
reload_cmds=$lt_reload_cmds
18969
 
 
18970
 
# How to pass a linker flag through the compiler.
18971
 
wl=$lt_lt_prog_compiler_wl_GCJ
18972
 
 
18973
 
# Object file suffix (normally "o").
18974
 
objext="$ac_objext"
18975
 
 
18976
 
# Old archive suffix (normally "a").
18977
 
libext="$libext"
18978
 
 
18979
 
# Shared library suffix (normally ".so").
18980
 
shrext_cmds='$shrext_cmds'
18981
 
 
18982
 
# Executable file suffix (normally "").
18983
 
exeext="$exeext"
18984
 
 
18985
 
# Additional compiler flags for building library objects.
18986
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
18987
 
pic_mode=$pic_mode
18988
 
 
18989
 
# What is the maximum length of a command?
18990
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18991
 
 
18992
 
# Does compiler simultaneously support -c and -o options?
18993
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18994
 
 
18995
 
# Must we lock files when doing compilation?
18996
 
need_locks=$lt_need_locks
18997
 
 
18998
 
# Do we need the lib prefix for modules?
18999
 
need_lib_prefix=$need_lib_prefix
19000
 
 
19001
 
# Do we need a version for libraries?
19002
 
need_version=$need_version
19003
 
 
19004
 
# Whether dlopen is supported.
19005
 
dlopen_support=$enable_dlopen
19006
 
 
19007
 
# Whether dlopen of programs is supported.
19008
 
dlopen_self=$enable_dlopen_self
19009
 
 
19010
 
# Whether dlopen of statically linked programs is supported.
19011
 
dlopen_self_static=$enable_dlopen_self_static
19012
 
 
19013
 
# Compiler flag to prevent dynamic linking.
19014
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19015
 
 
19016
 
# Compiler flag to turn off builtin functions.
19017
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19018
 
 
19019
 
# Compiler flag to allow reflexive dlopens.
19020
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19021
 
 
19022
 
# Compiler flag to generate shared objects directly from archives.
19023
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19024
 
 
19025
 
# Compiler flag to generate thread-safe objects.
19026
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19027
 
 
19028
 
# Library versioning type.
19029
 
version_type=$version_type
19030
 
 
19031
 
# Format of library name prefix.
19032
 
libname_spec=$lt_libname_spec
19033
 
 
19034
 
# List of archive names.  First name is the real one, the rest are links.
19035
 
# The last name is the one that the linker finds with -lNAME.
19036
 
library_names_spec=$lt_library_names_spec
19037
 
 
19038
 
# The coded name of the library, if different from the real name.
19039
 
soname_spec=$lt_soname_spec
19040
 
 
19041
 
# Commands used to build and install an old-style archive.
19042
 
RANLIB=$lt_RANLIB
19043
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19044
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19045
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19046
 
 
19047
 
# Create an old-style archive from a shared archive.
19048
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19049
 
 
19050
 
# Create a temporary old-style archive to link instead of a shared archive.
19051
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19052
 
 
19053
 
# Commands used to build and install a shared archive.
19054
 
archive_cmds=$lt_archive_cmds_GCJ
19055
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19056
 
postinstall_cmds=$lt_postinstall_cmds
19057
 
postuninstall_cmds=$lt_postuninstall_cmds
19058
 
 
19059
 
# Commands used to build a loadable module (assumed same as above if empty)
19060
 
module_cmds=$lt_module_cmds_GCJ
19061
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19062
 
 
19063
 
# Commands to strip libraries.
19064
 
old_striplib=$lt_old_striplib
19065
 
striplib=$lt_striplib
19066
 
 
19067
 
# Dependencies to place before the objects being linked to create a
19068
 
# shared library.
19069
 
predep_objects=$lt_predep_objects_GCJ
19070
 
 
19071
 
# Dependencies to place after the objects being linked to create a
19072
 
# shared library.
19073
 
postdep_objects=$lt_postdep_objects_GCJ
19074
 
 
19075
 
# Dependencies to place before the objects being linked to create a
19076
 
# shared library.
19077
 
predeps=$lt_predeps_GCJ
19078
 
 
19079
 
# Dependencies to place after the objects being linked to create a
19080
 
# shared library.
19081
 
postdeps=$lt_postdeps_GCJ
19082
 
 
19083
 
# The library search path used internally by the compiler when linking
19084
 
# a shared library.
19085
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19086
 
 
19087
 
# Method to check whether dependent libraries are shared objects.
19088
 
deplibs_check_method=$lt_deplibs_check_method
19089
 
 
19090
 
# Command to use when deplibs_check_method == file_magic.
19091
 
file_magic_cmd=$lt_file_magic_cmd
19092
 
 
19093
 
# Flag that allows shared libraries with undefined symbols to be built.
19094
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19095
 
 
19096
 
# Flag that forces no undefined symbols.
19097
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19098
 
 
19099
 
# Commands used to finish a libtool library installation in a directory.
19100
 
finish_cmds=$lt_finish_cmds
19101
 
 
19102
 
# Same as above, but a single script fragment to be evaled but not shown.
19103
 
finish_eval=$lt_finish_eval
19104
 
 
19105
 
# Take the output of nm and produce a listing of raw symbols and C names.
19106
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19107
 
 
19108
 
# Transform the output of nm in a proper C declaration
19109
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19110
 
 
19111
 
# Transform the output of nm in a C name address pair
19112
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19113
 
 
19114
 
# This is the shared library runtime path variable.
19115
 
runpath_var=$runpath_var
19116
 
 
19117
 
# This is the shared library path variable.
19118
 
shlibpath_var=$shlibpath_var
19119
 
 
19120
 
# Is shlibpath searched before the hard-coded library search path?
19121
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19122
 
 
19123
 
# How to hardcode a shared library path into an executable.
19124
 
hardcode_action=$hardcode_action_GCJ
19125
 
 
19126
 
# Whether we should hardcode library paths into libraries.
19127
 
hardcode_into_libs=$hardcode_into_libs
19128
 
 
19129
 
# Flag to hardcode \$libdir into a binary during linking.
19130
 
# This must work even if \$libdir does not exist.
19131
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19132
 
 
19133
 
# If ld is used when linking, flag to hardcode \$libdir into
19134
 
# a binary during linking. This must work even if \$libdir does
19135
 
# not exist.
19136
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19137
 
 
19138
 
# Whether we need a single -rpath flag with a separated argument.
19139
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19140
 
 
19141
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19142
 
# resulting binary.
19143
 
hardcode_direct=$hardcode_direct_GCJ
19144
 
 
19145
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19146
 
# resulting binary.
19147
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19148
 
 
19149
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19150
 
# the resulting binary.
19151
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19152
 
 
19153
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19154
 
# and all subsequent libraries and executables linked against it.
19155
 
hardcode_automatic=$hardcode_automatic_GCJ
19156
 
 
19157
 
# Variables whose values should be saved in libtool wrapper scripts and
19158
 
# restored at relink time.
19159
 
variables_saved_for_relink="$variables_saved_for_relink"
19160
 
 
19161
 
# Whether libtool must link a program against all its dependency libraries.
19162
 
link_all_deplibs=$link_all_deplibs_GCJ
19163
 
 
19164
 
# Compile-time system search path for libraries
19165
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19166
 
 
19167
 
# Run-time system search path for libraries
19168
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19169
 
 
19170
 
# Fix the shell variable \$srcfile for the compiler.
19171
 
fix_srcfile_path=$lt_fix_srcfile_path
19172
 
 
19173
 
# Set to yes if exported symbols are required.
19174
 
always_export_symbols=$always_export_symbols_GCJ
19175
 
 
19176
 
# The commands to list exported symbols.
19177
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19178
 
 
19179
 
# The commands to extract the exported symbol list from a shared archive.
19180
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19181
 
 
19182
 
# Symbols that should not be listed in the preloaded symbols.
19183
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19184
 
 
19185
 
# Symbols that must always be exported.
19186
 
include_expsyms=$lt_include_expsyms_GCJ
19187
 
 
19188
 
# ### END LIBTOOL TAG CONFIG: $tagname
19189
 
 
19190
 
__EOF__
19191
 
 
19192
 
 
19193
 
else
19194
 
  # If there is no Makefile yet, we rely on a make rule to execute
19195
 
  # `config.status --recheck' to rerun these tests and create the
19196
 
  # libtool script then.
19197
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19198
 
  if test -f "$ltmain_in"; then
19199
 
    test -f Makefile && make "$ltmain"
19200
 
  fi
19201
 
fi
19202
 
 
19203
 
 
19204
 
ac_ext=c
19205
 
ac_cpp='$CPP $CPPFLAGS'
19206
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19207
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19208
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19209
 
 
19210
 
CC="$lt_save_CC"
19211
 
 
19212
 
        else
19213
 
          tagname=""
19214
 
        fi
19215
 
        ;;
19216
 
 
19217
 
      RC)
19218
 
        
19219
 
 
19220
 
# Source file extension for RC test sources.
19221
 
ac_ext=rc
19222
 
 
19223
 
# Object file extension for compiled RC test sources.
19224
 
objext=o
19225
 
objext_RC=$objext
19226
 
 
19227
 
# Code to be used in simple compile tests
19228
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19229
 
 
19230
 
# Code to be used in simple link tests
19231
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19232
 
 
19233
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19234
 
 
19235
 
# If no C compiler was specified, use CC.
19236
 
LTCC=${LTCC-"$CC"}
19237
 
 
19238
 
# If no C compiler flags were specified, use CFLAGS.
19239
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19240
 
 
19241
 
# Allow CC to be a program name with arguments.
19242
 
compiler=$CC
19243
 
 
19244
 
 
19245
 
# save warnings/boilerplate of simple test code
19246
 
ac_outfile=conftest.$ac_objext
19247
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19248
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19249
 
_lt_compiler_boilerplate=`cat conftest.err`
19250
 
$rm conftest*
19251
 
 
19252
 
ac_outfile=conftest.$ac_objext
19253
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19254
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19255
 
_lt_linker_boilerplate=`cat conftest.err`
19256
 
$rm conftest*
19257
 
 
19258
 
 
19259
 
# Allow CC to be a program name with arguments.
19260
 
lt_save_CC="$CC"
19261
 
CC=${RC-"windres"}
19262
 
compiler=$CC
19263
 
compiler_RC=$CC
19264
 
for cc_temp in $compiler""; do
19265
 
  case $cc_temp in
19266
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19267
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19268
 
    \-*) ;;
19269
 
    *) break;;
19270
 
  esac
19271
 
done
19272
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19273
 
 
19274
 
lt_cv_prog_compiler_c_o_RC=yes
19275
 
 
19276
 
# The else clause should only fire when bootstrapping the
19277
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19278
 
# with your package, and you will get complaints that there are
19279
 
# no rules to generate ltmain.sh.
19280
 
if test -f "$ltmain"; then
19281
 
  # See if we are running on zsh, and set the options which allow our commands through
19282
 
  # without removal of \ escapes.
19283
 
  if test -n "${ZSH_VERSION+set}" ; then
19284
 
    setopt NO_GLOB_SUBST
19285
 
  fi
19286
 
  # Now quote all the things that may contain metacharacters while being
19287
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19288
 
  # variables and quote the copies for generation of the libtool script.
19289
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19290
 
    SED SHELL STRIP \
19291
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19292
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19293
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19294
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19295
 
    lt_cv_sys_global_symbol_to_c_name_address \
19296
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19297
 
    old_postinstall_cmds old_postuninstall_cmds \
19298
 
    compiler_RC \
19299
 
    CC_RC \
19300
 
    LD_RC \
19301
 
    lt_prog_compiler_wl_RC \
19302
 
    lt_prog_compiler_pic_RC \
19303
 
    lt_prog_compiler_static_RC \
19304
 
    lt_prog_compiler_no_builtin_flag_RC \
19305
 
    export_dynamic_flag_spec_RC \
19306
 
    thread_safe_flag_spec_RC \
19307
 
    whole_archive_flag_spec_RC \
19308
 
    enable_shared_with_static_runtimes_RC \
19309
 
    old_archive_cmds_RC \
19310
 
    old_archive_from_new_cmds_RC \
19311
 
    predep_objects_RC \
19312
 
    postdep_objects_RC \
19313
 
    predeps_RC \
19314
 
    postdeps_RC \
19315
 
    compiler_lib_search_path_RC \
19316
 
    archive_cmds_RC \
19317
 
    archive_expsym_cmds_RC \
19318
 
    postinstall_cmds_RC \
19319
 
    postuninstall_cmds_RC \
19320
 
    old_archive_from_expsyms_cmds_RC \
19321
 
    allow_undefined_flag_RC \
19322
 
    no_undefined_flag_RC \
19323
 
    export_symbols_cmds_RC \
19324
 
    hardcode_libdir_flag_spec_RC \
19325
 
    hardcode_libdir_flag_spec_ld_RC \
19326
 
    hardcode_libdir_separator_RC \
19327
 
    hardcode_automatic_RC \
19328
 
    module_cmds_RC \
19329
 
    module_expsym_cmds_RC \
19330
 
    lt_cv_prog_compiler_c_o_RC \
19331
 
    fix_srcfile_path_RC \
19332
 
    exclude_expsyms_RC \
19333
 
    include_expsyms_RC; do
19334
 
 
19335
 
    case $var in
19336
 
    old_archive_cmds_RC | \
19337
 
    old_archive_from_new_cmds_RC | \
19338
 
    archive_cmds_RC | \
19339
 
    archive_expsym_cmds_RC | \
19340
 
    module_cmds_RC | \
19341
 
    module_expsym_cmds_RC | \
19342
 
    old_archive_from_expsyms_cmds_RC | \
19343
 
    export_symbols_cmds_RC | \
19344
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19345
 
    postinstall_cmds | postuninstall_cmds | \
19346
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19347
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19348
 
      # Double-quote double-evaled strings.
19349
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19350
 
      ;;
19351
 
    *)
19352
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19353
 
      ;;
19354
 
    esac
19355
 
  done
19356
 
 
19357
 
  case $lt_echo in
19358
 
  *'\$0 --fallback-echo"')
19359
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19360
 
    ;;
19361
 
  esac
19362
 
 
19363
 
cfgfile="$ofile"
19364
 
 
19365
 
  cat <<__EOF__ >> "$cfgfile"
19366
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19367
 
 
19368
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19369
 
 
19370
 
# Shell to use when invoking shell scripts.
19371
 
SHELL=$lt_SHELL
19372
 
 
19373
 
# Whether or not to build shared libraries.
19374
 
build_libtool_libs=$enable_shared
19375
 
 
19376
 
# Whether or not to build static libraries.
19377
 
build_old_libs=$enable_static
19378
 
 
19379
 
# Whether or not to add -lc for building shared libraries.
19380
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19381
 
 
19382
 
# Whether or not to disallow shared libs when runtime libs are static
19383
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19384
 
 
19385
 
# Whether or not to optimize for fast installation.
19386
 
fast_install=$enable_fast_install
19387
 
 
19388
 
# The host system.
19389
 
host_alias=$host_alias
19390
 
host=$host
19391
 
host_os=$host_os
19392
 
 
19393
 
# The build system.
19394
 
build_alias=$build_alias
19395
 
build=$build
19396
 
build_os=$build_os
19397
 
 
19398
 
# An echo program that does not interpret backslashes.
19399
 
echo=$lt_echo
19400
 
 
19401
 
# The archiver.
19402
 
AR=$lt_AR
19403
 
AR_FLAGS=$lt_AR_FLAGS
19404
 
 
19405
 
# A C compiler.
19406
 
LTCC=$lt_LTCC
19407
 
 
19408
 
# LTCC compiler flags.
19409
 
LTCFLAGS=$lt_LTCFLAGS
19410
 
 
19411
 
# A language-specific compiler.
19412
 
CC=$lt_compiler_RC
19413
 
 
19414
 
# Is the compiler the GNU C compiler?
19415
 
with_gcc=$GCC_RC
19416
 
 
19417
 
# An ERE matcher.
19418
 
EGREP=$lt_EGREP
19419
 
 
19420
 
# The linker used to build libraries.
19421
 
LD=$lt_LD_RC
19422
 
 
19423
 
# Whether we need hard or soft links.
19424
 
LN_S=$lt_LN_S
19425
 
 
19426
 
# A BSD-compatible nm program.
19427
 
NM=$lt_NM
19428
 
 
19429
 
# A symbol stripping program
19430
 
STRIP=$lt_STRIP
19431
 
 
19432
 
# Used to examine libraries when file_magic_cmd begins "file"
19433
 
MAGIC_CMD=$MAGIC_CMD
19434
 
 
19435
 
# Used on cygwin: DLL creation program.
19436
 
DLLTOOL="$DLLTOOL"
19437
 
 
19438
 
# Used on cygwin: object dumper.
19439
 
OBJDUMP="$OBJDUMP"
19440
 
 
19441
 
# Used on cygwin: assembler.
19442
 
AS="$AS"
19443
 
 
19444
 
# The name of the directory that contains temporary libtool files.
19445
 
objdir=$objdir
19446
 
 
19447
 
# How to create reloadable object files.
19448
 
reload_flag=$lt_reload_flag
19449
 
reload_cmds=$lt_reload_cmds
19450
 
 
19451
 
# How to pass a linker flag through the compiler.
19452
 
wl=$lt_lt_prog_compiler_wl_RC
19453
 
 
19454
 
# Object file suffix (normally "o").
19455
 
objext="$ac_objext"
19456
 
 
19457
 
# Old archive suffix (normally "a").
19458
 
libext="$libext"
19459
 
 
19460
 
# Shared library suffix (normally ".so").
19461
 
shrext_cmds='$shrext_cmds'
19462
 
 
19463
 
# Executable file suffix (normally "").
19464
 
exeext="$exeext"
19465
 
 
19466
 
# Additional compiler flags for building library objects.
19467
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19468
 
pic_mode=$pic_mode
19469
 
 
19470
 
# What is the maximum length of a command?
19471
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19472
 
 
19473
 
# Does compiler simultaneously support -c and -o options?
19474
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19475
 
 
19476
 
# Must we lock files when doing compilation?
19477
 
need_locks=$lt_need_locks
19478
 
 
19479
 
# Do we need the lib prefix for modules?
19480
 
need_lib_prefix=$need_lib_prefix
19481
 
 
19482
 
# Do we need a version for libraries?
19483
 
need_version=$need_version
19484
 
 
19485
 
# Whether dlopen is supported.
19486
 
dlopen_support=$enable_dlopen
19487
 
 
19488
 
# Whether dlopen of programs is supported.
19489
 
dlopen_self=$enable_dlopen_self
19490
 
 
19491
 
# Whether dlopen of statically linked programs is supported.
19492
 
dlopen_self_static=$enable_dlopen_self_static
19493
 
 
19494
 
# Compiler flag to prevent dynamic linking.
19495
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19496
 
 
19497
 
# Compiler flag to turn off builtin functions.
19498
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19499
 
 
19500
 
# Compiler flag to allow reflexive dlopens.
19501
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19502
 
 
19503
 
# Compiler flag to generate shared objects directly from archives.
19504
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19505
 
 
19506
 
# Compiler flag to generate thread-safe objects.
19507
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19508
 
 
19509
 
# Library versioning type.
19510
 
version_type=$version_type
19511
 
 
19512
 
# Format of library name prefix.
19513
 
libname_spec=$lt_libname_spec
19514
 
 
19515
 
# List of archive names.  First name is the real one, the rest are links.
19516
 
# The last name is the one that the linker finds with -lNAME.
19517
 
library_names_spec=$lt_library_names_spec
19518
 
 
19519
 
# The coded name of the library, if different from the real name.
19520
 
soname_spec=$lt_soname_spec
19521
 
 
19522
 
# Commands used to build and install an old-style archive.
19523
 
RANLIB=$lt_RANLIB
19524
 
old_archive_cmds=$lt_old_archive_cmds_RC
19525
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19526
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19527
 
 
19528
 
# Create an old-style archive from a shared archive.
19529
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19530
 
 
19531
 
# Create a temporary old-style archive to link instead of a shared archive.
19532
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19533
 
 
19534
 
# Commands used to build and install a shared archive.
19535
 
archive_cmds=$lt_archive_cmds_RC
19536
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19537
 
postinstall_cmds=$lt_postinstall_cmds
19538
 
postuninstall_cmds=$lt_postuninstall_cmds
19539
 
 
19540
 
# Commands used to build a loadable module (assumed same as above if empty)
19541
 
module_cmds=$lt_module_cmds_RC
19542
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19543
 
 
19544
 
# Commands to strip libraries.
19545
 
old_striplib=$lt_old_striplib
19546
 
striplib=$lt_striplib
19547
 
 
19548
 
# Dependencies to place before the objects being linked to create a
19549
 
# shared library.
19550
 
predep_objects=$lt_predep_objects_RC
19551
 
 
19552
 
# Dependencies to place after the objects being linked to create a
19553
 
# shared library.
19554
 
postdep_objects=$lt_postdep_objects_RC
19555
 
 
19556
 
# Dependencies to place before the objects being linked to create a
19557
 
# shared library.
19558
 
predeps=$lt_predeps_RC
19559
 
 
19560
 
# Dependencies to place after the objects being linked to create a
19561
 
# shared library.
19562
 
postdeps=$lt_postdeps_RC
19563
 
 
19564
 
# The library search path used internally by the compiler when linking
19565
 
# a shared library.
19566
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19567
 
 
19568
 
# Method to check whether dependent libraries are shared objects.
19569
 
deplibs_check_method=$lt_deplibs_check_method
19570
 
 
19571
 
# Command to use when deplibs_check_method == file_magic.
19572
 
file_magic_cmd=$lt_file_magic_cmd
19573
 
 
19574
 
# Flag that allows shared libraries with undefined symbols to be built.
19575
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19576
 
 
19577
 
# Flag that forces no undefined symbols.
19578
 
no_undefined_flag=$lt_no_undefined_flag_RC
19579
 
 
19580
 
# Commands used to finish a libtool library installation in a directory.
19581
 
finish_cmds=$lt_finish_cmds
19582
 
 
19583
 
# Same as above, but a single script fragment to be evaled but not shown.
19584
 
finish_eval=$lt_finish_eval
19585
 
 
19586
 
# Take the output of nm and produce a listing of raw symbols and C names.
19587
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19588
 
 
19589
 
# Transform the output of nm in a proper C declaration
19590
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19591
 
 
19592
 
# Transform the output of nm in a C name address pair
19593
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19594
 
 
19595
 
# This is the shared library runtime path variable.
19596
 
runpath_var=$runpath_var
19597
 
 
19598
 
# This is the shared library path variable.
19599
 
shlibpath_var=$shlibpath_var
19600
 
 
19601
 
# Is shlibpath searched before the hard-coded library search path?
19602
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19603
 
 
19604
 
# How to hardcode a shared library path into an executable.
19605
 
hardcode_action=$hardcode_action_RC
19606
 
 
19607
 
# Whether we should hardcode library paths into libraries.
19608
 
hardcode_into_libs=$hardcode_into_libs
19609
 
 
19610
 
# Flag to hardcode \$libdir into a binary during linking.
19611
 
# This must work even if \$libdir does not exist.
19612
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19613
 
 
19614
 
# If ld is used when linking, flag to hardcode \$libdir into
19615
 
# a binary during linking. This must work even if \$libdir does
19616
 
# not exist.
19617
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19618
 
 
19619
 
# Whether we need a single -rpath flag with a separated argument.
19620
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19621
 
 
19622
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19623
 
# resulting binary.
19624
 
hardcode_direct=$hardcode_direct_RC
19625
 
 
19626
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19627
 
# resulting binary.
19628
 
hardcode_minus_L=$hardcode_minus_L_RC
19629
 
 
19630
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19631
 
# the resulting binary.
19632
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19633
 
 
19634
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19635
 
# and all subsequent libraries and executables linked against it.
19636
 
hardcode_automatic=$hardcode_automatic_RC
19637
 
 
19638
 
# Variables whose values should be saved in libtool wrapper scripts and
19639
 
# restored at relink time.
19640
 
variables_saved_for_relink="$variables_saved_for_relink"
19641
 
 
19642
 
# Whether libtool must link a program against all its dependency libraries.
19643
 
link_all_deplibs=$link_all_deplibs_RC
19644
 
 
19645
 
# Compile-time system search path for libraries
19646
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19647
 
 
19648
 
# Run-time system search path for libraries
19649
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19650
 
 
19651
 
# Fix the shell variable \$srcfile for the compiler.
19652
 
fix_srcfile_path=$lt_fix_srcfile_path
19653
 
 
19654
 
# Set to yes if exported symbols are required.
19655
 
always_export_symbols=$always_export_symbols_RC
19656
 
 
19657
 
# The commands to list exported symbols.
19658
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19659
 
 
19660
 
# The commands to extract the exported symbol list from a shared archive.
19661
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19662
 
 
19663
 
# Symbols that should not be listed in the preloaded symbols.
19664
 
exclude_expsyms=$lt_exclude_expsyms_RC
19665
 
 
19666
 
# Symbols that must always be exported.
19667
 
include_expsyms=$lt_include_expsyms_RC
19668
 
 
19669
 
# ### END LIBTOOL TAG CONFIG: $tagname
19670
 
 
19671
 
__EOF__
19672
 
 
19673
 
 
19674
 
else
19675
 
  # If there is no Makefile yet, we rely on a make rule to execute
19676
 
  # `config.status --recheck' to rerun these tests and create the
19677
 
  # libtool script then.
19678
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19679
 
  if test -f "$ltmain_in"; then
19680
 
    test -f Makefile && make "$ltmain"
19681
 
  fi
19682
 
fi
19683
 
 
19684
 
 
19685
 
ac_ext=c
19686
 
ac_cpp='$CPP $CPPFLAGS'
19687
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19688
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19689
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19690
 
 
19691
 
CC="$lt_save_CC"
19692
 
 
19693
 
        ;;
19694
 
 
19695
 
      *)
19696
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19697
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19698
 
   { (exit 1); exit 1; }; }
19699
 
        ;;
19700
 
      esac
19701
 
 
19702
 
      # Append the new tag name to the list of available tags.
19703
 
      if test -n "$tagname" ; then
19704
 
      available_tags="$available_tags $tagname"
19705
 
    fi
19706
 
    fi
19707
 
  done
19708
 
  IFS="$lt_save_ifs"
19709
 
 
19710
 
  # Now substitute the updated list of available tags.
19711
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19712
 
    mv "${ofile}T" "$ofile"
19713
 
    chmod +x "$ofile"
19714
 
  else
19715
 
    rm -f "${ofile}T"
19716
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19717
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19718
 
   { (exit 1); exit 1; }; }
19719
 
  fi
19720
 
fi
19721
 
 
19722
 
 
19723
 
 
19724
 
# This can be used to rebuild libtool when needed
19725
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19726
 
 
19727
 
# Always use our own libtool.
19728
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19729
 
 
19730
 
# Prevent multiple expansion
19731
 
 
19732
 
 
19733
 
 
19734
 
 
19735
 
 
19736
 
 
19737
 
 
19738
 
 
19739
 
 
19740
 
 
19741
 
 
19742
 
  
19743
 
 
19744
 
  
19745
 
 
19746
 
 
19747
 
  
19748
 
       
19749
 
       
19750
 
 
19751
 
 
19752
 
{ echo "$as_me:$LINENO: checking for X" >&5
19753
 
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
19754
 
 
19755
 
 
19756
 
# Check whether --with-x was given.
19757
 
if test "${with_x+set}" = set; then
19758
 
  withval=$with_x; 
19759
 
fi
19760
 
 
19761
 
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19762
 
if test "x$with_x" = xno; then
19763
 
  # The user explicitly disabled X.
19764
 
  have_x=disabled
19765
 
else
19766
 
  case $x_includes,$x_libraries in #(
19767
 
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
19768
 
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
19769
 
   { (exit 1); exit 1; }; };; #(
19770
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
19771
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19772
 
else
19773
 
  # One or both of the vars are not set, and there is no cached value.
19774
 
ac_x_includes=no ac_x_libraries=no
19775
 
rm -f -r conftest.dir
19776
 
if mkdir conftest.dir; then
19777
 
  cd conftest.dir
19778
 
  cat >Imakefile <<'_ACEOF'
19779
 
incroot:
19780
 
        @echo incroot='${INCROOT}'
19781
 
usrlibdir:
19782
 
        @echo usrlibdir='${USRLIBDIR}'
19783
 
libdir:
19784
 
        @echo libdir='${LIBDIR}'
19785
 
_ACEOF
19786
 
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19787
 
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19788
 
    for ac_var in incroot usrlibdir libdir; do
19789
 
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
19790
 
    done
19791
 
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19792
 
    for ac_extension in a so sl; do
19793
 
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19794
 
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
19795
 
        ac_im_usrlibdir=$ac_im_libdir; break
19796
 
      fi
19797
 
    done
19798
 
    # Screen out bogus values from the imake configuration.  They are
19799
 
    # bogus both because they are the default anyway, and because
19800
 
    # using them would break gcc on systems where it needs fixed includes.
19801
 
    case $ac_im_incroot in
19802
 
        /usr/include) ac_x_includes= ;;
19803
 
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19804
 
    esac
19805
 
    case $ac_im_usrlibdir in
19806
 
        /usr/lib | /lib) ;;
19807
 
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19808
 
    esac
19809
 
  fi
19810
 
  cd ..
19811
 
  rm -f -r conftest.dir
19812
 
fi
19813
 
 
19814
 
# Standard set of common directories for X headers.
19815
 
# Check X11 before X11Rn because it is often a symlink to the current release.
19816
 
ac_x_header_dirs='
19817
 
/usr/X11/include
19818
 
/usr/X11R6/include
19819
 
/usr/X11R5/include
19820
 
/usr/X11R4/include
19821
 
 
19822
 
/usr/include/X11
19823
 
/usr/include/X11R6
19824
 
/usr/include/X11R5
19825
 
/usr/include/X11R4
19826
 
 
19827
 
/usr/local/X11/include
19828
 
/usr/local/X11R6/include
19829
 
/usr/local/X11R5/include
19830
 
/usr/local/X11R4/include
19831
 
 
19832
 
/usr/local/include/X11
19833
 
/usr/local/include/X11R6
19834
 
/usr/local/include/X11R5
19835
 
/usr/local/include/X11R4
19836
 
 
19837
 
/usr/X386/include
19838
 
/usr/x386/include
19839
 
/usr/XFree86/include/X11
19840
 
 
19841
 
/usr/include
19842
 
/usr/local/include
19843
 
/usr/unsupported/include
19844
 
/usr/athena/include
19845
 
/usr/local/x11r5/include
19846
 
/usr/lpp/Xamples/include
19847
 
 
19848
 
/usr/openwin/include
19849
 
/usr/openwin/share/include'
19850
 
 
19851
 
if test "$ac_x_includes" = no; then
19852
 
  # Guess where to find include files, by looking for Xlib.h.
19853
 
  # First, try using that file with no special directory specified.
19854
 
  cat >conftest.$ac_ext <<_ACEOF
19855
 
/* confdefs.h.  */
19856
 
_ACEOF
19857
 
cat confdefs.h >>conftest.$ac_ext
19858
 
cat >>conftest.$ac_ext <<_ACEOF
19859
 
/* end confdefs.h.  */
19860
 
@%:@include <X11/Xlib.h>
19861
 
_ACEOF
19862
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
19863
 
case "(($ac_try" in
19864
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19865
 
  *) ac_try_echo=$ac_try;;
19866
 
esac
19867
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19868
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19869
 
  ac_status=$?
19870
 
  grep -v '^ *+' conftest.er1 >conftest.err
19871
 
  rm -f conftest.er1
19872
 
  cat conftest.err >&5
19873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874
 
  (exit $ac_status); } >/dev/null && {
19875
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19876
 
         test ! -s conftest.err
19877
 
       }; then
19878
 
  # We can compile using X headers with no special include directory.
19879
 
ac_x_includes=
19880
 
else
19881
 
  echo "$as_me: failed program was:" >&5
19882
 
sed 's/^/| /' conftest.$ac_ext >&5
19883
 
 
19884
 
  for ac_dir in $ac_x_header_dirs; do
19885
 
  if test -r "$ac_dir/X11/Xlib.h"; then
19886
 
    ac_x_includes=$ac_dir
19887
 
    break
19888
 
  fi
19889
 
done
19890
 
fi
19891
 
 
19892
 
rm -f conftest.err conftest.$ac_ext
19893
 
fi # $ac_x_includes = no
19894
 
 
19895
 
if test "$ac_x_libraries" = no; then
19896
 
  # Check for the libraries.
19897
 
  # See if we find them without any special options.
19898
 
  # Don't add to $LIBS permanently.
19899
 
  ac_save_LIBS=$LIBS
19900
 
  LIBS="-lX11 $LIBS"
19901
 
  cat >conftest.$ac_ext <<_ACEOF
19902
 
/* confdefs.h.  */
19903
 
_ACEOF
19904
 
cat confdefs.h >>conftest.$ac_ext
19905
 
cat >>conftest.$ac_ext <<_ACEOF
19906
 
/* end confdefs.h.  */
19907
 
@%:@include <X11/Xlib.h>
19908
 
int
19909
 
main ()
19910
 
{
19911
 
XrmInitialize ()
19912
 
  ;
19913
 
  return 0;
19914
 
}
19915
 
_ACEOF
19916
 
rm -f conftest.$ac_objext conftest$ac_exeext
19917
 
if { (ac_try="$ac_link"
19918
 
case "(($ac_try" in
19919
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19920
 
  *) ac_try_echo=$ac_try;;
19921
 
esac
19922
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19923
 
  (eval "$ac_link") 2>conftest.er1
19924
 
  ac_status=$?
19925
 
  grep -v '^ *+' conftest.er1 >conftest.err
19926
 
  rm -f conftest.er1
19927
 
  cat conftest.err >&5
19928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929
 
  (exit $ac_status); } && {
19930
 
         test -z "$ac_c_werror_flag" ||
19931
 
         test ! -s conftest.err
19932
 
       } && test -s conftest$ac_exeext &&
19933
 
       $as_test_x conftest$ac_exeext; then
19934
 
  LIBS=$ac_save_LIBS
19935
 
# We can link X programs with no special library path.
19936
 
ac_x_libraries=
19937
 
else
19938
 
  echo "$as_me: failed program was:" >&5
19939
 
sed 's/^/| /' conftest.$ac_ext >&5
19940
 
 
19941
 
        LIBS=$ac_save_LIBS
19942
 
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19943
 
do
19944
 
  # Don't even attempt the hair of trying to link an X program!
19945
 
  for ac_extension in a so sl; do
19946
 
    if test -r "$ac_dir/libX11.$ac_extension"; then
19947
 
      ac_x_libraries=$ac_dir
19948
 
      break 2
19949
 
    fi
19950
 
  done
19951
 
done
19952
 
fi
19953
 
 
19954
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19955
 
      conftest$ac_exeext conftest.$ac_ext
19956
 
fi # $ac_x_libraries = no
19957
 
 
19958
 
case $ac_x_includes,$ac_x_libraries in #(
19959
 
  no,* | *,no | *\'*)
19960
 
    # Didn't find X, or a directory has "'" in its name.
19961
 
    ac_cv_have_x="have_x=no";; #(
19962
 
  *)
19963
 
    # Record where we found X for the cache.
19964
 
    ac_cv_have_x="have_x=yes\
19965
 
        ac_x_includes='$ac_x_includes'\
19966
 
        ac_x_libraries='$ac_x_libraries'"
19967
 
esac
19968
 
fi
19969
 
;; #(
19970
 
    *) have_x=yes;;
19971
 
  esac
19972
 
  eval "$ac_cv_have_x"
19973
 
fi # $with_x != no
19974
 
 
19975
 
if test "$have_x" != yes; then
19976
 
  { echo "$as_me:$LINENO: result: $have_x" >&5
19977
 
echo "${ECHO_T}$have_x" >&6; }
19978
 
  no_x=yes
19979
 
else
19980
 
  # If each of the values was on the command line, it overrides each guess.
19981
 
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19982
 
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19983
 
  # Update the cache value to reflect the command line values.
19984
 
  ac_cv_have_x="have_x=yes\
19985
 
        ac_x_includes='$x_includes'\
19986
 
        ac_x_libraries='$x_libraries'"
19987
 
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19988
 
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
19989
 
fi
19990
 
 
19991
 
if test "$no_x" = yes; then
19992
 
  # Not all programs may use this symbol, but it does not hurt to define it.
19993
 
  
19994
 
cat >>confdefs.h <<\_ACEOF
19995
 
@%:@define X_DISPLAY_MISSING 1
19996
 
_ACEOF
19997
 
 
19998
 
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19999
 
else
20000
 
  if test -n "$x_includes"; then
20001
 
    X_CFLAGS="$X_CFLAGS -I$x_includes"
20002
 
  fi
20003
 
 
20004
 
  # It would also be nice to do this for all -L options, not just this one.
20005
 
  if test -n "$x_libraries"; then
20006
 
    X_LIBS="$X_LIBS -L$x_libraries"
20007
 
    # For Solaris; some versions of Sun CC require a space after -R and
20008
 
    # others require no space.  Words are not sufficient . . . .
20009
 
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
20010
 
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
20011
 
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20012
 
    ac_xsave_c_werror_flag=$ac_c_werror_flag
20013
 
    ac_c_werror_flag=yes
20014
 
    cat >conftest.$ac_ext <<_ACEOF
20015
 
/* confdefs.h.  */
20016
 
_ACEOF
20017
 
cat confdefs.h >>conftest.$ac_ext
20018
 
cat >>conftest.$ac_ext <<_ACEOF
20019
 
/* end confdefs.h.  */
20020
 
 
20021
 
int
20022
 
main ()
20023
 
{
20024
 
 
20025
 
  ;
20026
 
  return 0;
20027
 
}
20028
 
_ACEOF
20029
 
rm -f conftest.$ac_objext conftest$ac_exeext
20030
 
if { (ac_try="$ac_link"
20031
 
case "(($ac_try" in
20032
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033
 
  *) ac_try_echo=$ac_try;;
20034
 
esac
20035
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036
 
  (eval "$ac_link") 2>conftest.er1
20037
 
  ac_status=$?
20038
 
  grep -v '^ *+' conftest.er1 >conftest.err
20039
 
  rm -f conftest.er1
20040
 
  cat conftest.err >&5
20041
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042
 
  (exit $ac_status); } && {
20043
 
         test -z "$ac_c_werror_flag" ||
20044
 
         test ! -s conftest.err
20045
 
       } && test -s conftest$ac_exeext &&
20046
 
       $as_test_x conftest$ac_exeext; then
20047
 
  { echo "$as_me:$LINENO: result: no" >&5
20048
 
echo "${ECHO_T}no" >&6; }
20049
 
       X_LIBS="$X_LIBS -R$x_libraries"
20050
 
else
20051
 
  echo "$as_me: failed program was:" >&5
20052
 
sed 's/^/| /' conftest.$ac_ext >&5
20053
 
 
20054
 
        LIBS="$ac_xsave_LIBS -R $x_libraries"
20055
 
       cat >conftest.$ac_ext <<_ACEOF
20056
 
/* confdefs.h.  */
20057
 
_ACEOF
20058
 
cat confdefs.h >>conftest.$ac_ext
20059
 
cat >>conftest.$ac_ext <<_ACEOF
20060
 
/* end confdefs.h.  */
20061
 
 
20062
 
int
20063
 
main ()
20064
 
{
20065
 
 
20066
 
  ;
20067
 
  return 0;
20068
 
}
20069
 
_ACEOF
20070
 
rm -f conftest.$ac_objext conftest$ac_exeext
20071
 
if { (ac_try="$ac_link"
20072
 
case "(($ac_try" in
20073
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20074
 
  *) ac_try_echo=$ac_try;;
20075
 
esac
20076
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20077
 
  (eval "$ac_link") 2>conftest.er1
20078
 
  ac_status=$?
20079
 
  grep -v '^ *+' conftest.er1 >conftest.err
20080
 
  rm -f conftest.er1
20081
 
  cat conftest.err >&5
20082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083
 
  (exit $ac_status); } && {
20084
 
         test -z "$ac_c_werror_flag" ||
20085
 
         test ! -s conftest.err
20086
 
       } && test -s conftest$ac_exeext &&
20087
 
       $as_test_x conftest$ac_exeext; then
20088
 
  { echo "$as_me:$LINENO: result: yes" >&5
20089
 
echo "${ECHO_T}yes" >&6; }
20090
 
          X_LIBS="$X_LIBS -R $x_libraries"
20091
 
else
20092
 
  echo "$as_me: failed program was:" >&5
20093
 
sed 's/^/| /' conftest.$ac_ext >&5
20094
 
 
20095
 
        { echo "$as_me:$LINENO: result: neither works" >&5
20096
 
echo "${ECHO_T}neither works" >&6; }
20097
 
fi
20098
 
 
20099
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20100
 
      conftest$ac_exeext conftest.$ac_ext
20101
 
fi
20102
 
 
20103
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20104
 
      conftest$ac_exeext conftest.$ac_ext
20105
 
    ac_c_werror_flag=$ac_xsave_c_werror_flag
20106
 
    LIBS=$ac_xsave_LIBS
20107
 
  fi
20108
 
 
20109
 
  # Check for system-dependent libraries X programs must link with.
20110
 
  # Do this before checking for the system-independent R6 libraries
20111
 
  # (-lICE), since we may need -lsocket or whatever for X linking.
20112
 
 
20113
 
  if test "$ISC" = yes; then
20114
 
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20115
 
  else
20116
 
    # Martyn Johnson says this is needed for Ultrix, if the X
20117
 
    # libraries were built with DECnet support.  And Karl Berry says
20118
 
    # the Alpha needs dnet_stub (dnet does not exist).
20119
 
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20120
 
    cat >conftest.$ac_ext <<_ACEOF
20121
 
/* confdefs.h.  */
20122
 
_ACEOF
20123
 
cat confdefs.h >>conftest.$ac_ext
20124
 
cat >>conftest.$ac_ext <<_ACEOF
20125
 
/* end confdefs.h.  */
20126
 
 
20127
 
/* Override any GCC internal prototype to avoid an error.
20128
 
   Use char because int might match the return type of a GCC
20129
 
   builtin and then its argument prototype would still apply.  */
20130
 
#ifdef __cplusplus
20131
 
extern "C"
20132
 
#endif
20133
 
char XOpenDisplay ();
20134
 
int
20135
 
main ()
20136
 
{
20137
 
return XOpenDisplay ();
20138
 
  ;
20139
 
  return 0;
20140
 
}
20141
 
_ACEOF
20142
 
rm -f conftest.$ac_objext conftest$ac_exeext
20143
 
if { (ac_try="$ac_link"
20144
 
case "(($ac_try" in
20145
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20146
 
  *) ac_try_echo=$ac_try;;
20147
 
esac
20148
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20149
 
  (eval "$ac_link") 2>conftest.er1
20150
 
  ac_status=$?
20151
 
  grep -v '^ *+' conftest.er1 >conftest.err
20152
 
  rm -f conftest.er1
20153
 
  cat conftest.err >&5
20154
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155
 
  (exit $ac_status); } && {
20156
 
         test -z "$ac_c_werror_flag" ||
20157
 
         test ! -s conftest.err
20158
 
       } && test -s conftest$ac_exeext &&
20159
 
       $as_test_x conftest$ac_exeext; then
20160
 
  :
20161
 
else
20162
 
  echo "$as_me: failed program was:" >&5
20163
 
sed 's/^/| /' conftest.$ac_ext >&5
20164
 
 
20165
 
        { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
20166
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
20167
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
20168
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20169
 
else
20170
 
  ac_check_lib_save_LIBS=$LIBS
20171
 
LIBS="-ldnet  $LIBS"
20172
 
cat >conftest.$ac_ext <<_ACEOF
20173
 
/* confdefs.h.  */
20174
 
_ACEOF
20175
 
cat confdefs.h >>conftest.$ac_ext
20176
 
cat >>conftest.$ac_ext <<_ACEOF
20177
 
/* end confdefs.h.  */
20178
 
 
20179
 
/* Override any GCC internal prototype to avoid an error.
20180
 
   Use char because int might match the return type of a GCC
20181
 
   builtin and then its argument prototype would still apply.  */
20182
 
#ifdef __cplusplus
20183
 
extern "C"
20184
 
#endif
20185
 
char dnet_ntoa ();
20186
 
int
20187
 
main ()
20188
 
{
20189
 
return dnet_ntoa ();
20190
 
  ;
20191
 
  return 0;
20192
 
}
20193
 
_ACEOF
20194
 
rm -f conftest.$ac_objext conftest$ac_exeext
20195
 
if { (ac_try="$ac_link"
20196
 
case "(($ac_try" in
20197
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20198
 
  *) ac_try_echo=$ac_try;;
20199
 
esac
20200
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20201
 
  (eval "$ac_link") 2>conftest.er1
20202
 
  ac_status=$?
20203
 
  grep -v '^ *+' conftest.er1 >conftest.err
20204
 
  rm -f conftest.er1
20205
 
  cat conftest.err >&5
20206
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207
 
  (exit $ac_status); } && {
20208
 
         test -z "$ac_c_werror_flag" ||
20209
 
         test ! -s conftest.err
20210
 
       } && test -s conftest$ac_exeext &&
20211
 
       $as_test_x conftest$ac_exeext; then
20212
 
  ac_cv_lib_dnet_dnet_ntoa=yes
20213
 
else
20214
 
  echo "$as_me: failed program was:" >&5
20215
 
sed 's/^/| /' conftest.$ac_ext >&5
20216
 
 
20217
 
        ac_cv_lib_dnet_dnet_ntoa=no
20218
 
fi
20219
 
 
20220
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20221
 
      conftest$ac_exeext conftest.$ac_ext
20222
 
LIBS=$ac_check_lib_save_LIBS
20223
 
fi
20224
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20225
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20226
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
20227
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20228
 
fi
20229
 
 
20230
 
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20231
 
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
20232
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
20233
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
20234
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20235
 
else
20236
 
  ac_check_lib_save_LIBS=$LIBS
20237
 
LIBS="-ldnet_stub  $LIBS"
20238
 
cat >conftest.$ac_ext <<_ACEOF
20239
 
/* confdefs.h.  */
20240
 
_ACEOF
20241
 
cat confdefs.h >>conftest.$ac_ext
20242
 
cat >>conftest.$ac_ext <<_ACEOF
20243
 
/* end confdefs.h.  */
20244
 
 
20245
 
/* Override any GCC internal prototype to avoid an error.
20246
 
   Use char because int might match the return type of a GCC
20247
 
   builtin and then its argument prototype would still apply.  */
20248
 
#ifdef __cplusplus
20249
 
extern "C"
20250
 
#endif
20251
 
char dnet_ntoa ();
20252
 
int
20253
 
main ()
20254
 
{
20255
 
return dnet_ntoa ();
20256
 
  ;
20257
 
  return 0;
20258
 
}
20259
 
_ACEOF
20260
 
rm -f conftest.$ac_objext conftest$ac_exeext
20261
 
if { (ac_try="$ac_link"
20262
 
case "(($ac_try" in
20263
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20264
 
  *) ac_try_echo=$ac_try;;
20265
 
esac
20266
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20267
 
  (eval "$ac_link") 2>conftest.er1
20268
 
  ac_status=$?
20269
 
  grep -v '^ *+' conftest.er1 >conftest.err
20270
 
  rm -f conftest.er1
20271
 
  cat conftest.err >&5
20272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273
 
  (exit $ac_status); } && {
20274
 
         test -z "$ac_c_werror_flag" ||
20275
 
         test ! -s conftest.err
20276
 
       } && test -s conftest$ac_exeext &&
20277
 
       $as_test_x conftest$ac_exeext; then
20278
 
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
20279
 
else
20280
 
  echo "$as_me: failed program was:" >&5
20281
 
sed 's/^/| /' conftest.$ac_ext >&5
20282
 
 
20283
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
20284
 
fi
20285
 
 
20286
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20287
 
      conftest$ac_exeext conftest.$ac_ext
20288
 
LIBS=$ac_check_lib_save_LIBS
20289
 
fi
20290
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20291
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20292
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
20293
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20294
 
fi
20295
 
 
20296
 
    fi
20297
 
fi
20298
 
 
20299
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20300
 
      conftest$ac_exeext conftest.$ac_ext
20301
 
    LIBS="$ac_xsave_LIBS"
20302
 
 
20303
 
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20304
 
    # to get the SysV transport functions.
20305
 
    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20306
 
    # needs -lnsl.
20307
 
    # The nsl library prevents programs from opening the X display
20308
 
    # on Irix 5.2, according to T.E. Dickey.
20309
 
    # The functions gethostbyname, getservbyname, and inet_addr are
20310
 
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20311
 
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
20312
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
20313
 
if test "${ac_cv_func_gethostbyname+set}" = set; then
20314
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20315
 
else
20316
 
  cat >conftest.$ac_ext <<_ACEOF
20317
 
/* confdefs.h.  */
20318
 
_ACEOF
20319
 
cat confdefs.h >>conftest.$ac_ext
20320
 
cat >>conftest.$ac_ext <<_ACEOF
20321
 
/* end confdefs.h.  */
20322
 
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
20323
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20324
 
#define gethostbyname innocuous_gethostbyname
20325
 
 
20326
 
/* System header to define __stub macros and hopefully few prototypes,
20327
 
    which can conflict with char gethostbyname (); below.
20328
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20329
 
    <limits.h> exists even on freestanding compilers.  */
20330
 
 
20331
 
#ifdef __STDC__
20332
 
# include <limits.h>
20333
 
#else
20334
 
# include <assert.h>
20335
 
#endif
20336
 
 
20337
 
#undef gethostbyname
20338
 
 
20339
 
/* Override any GCC internal prototype to avoid an error.
20340
 
   Use char because int might match the return type of a GCC
20341
 
   builtin and then its argument prototype would still apply.  */
20342
 
#ifdef __cplusplus
20343
 
extern "C"
20344
 
#endif
20345
 
char gethostbyname ();
20346
 
/* The GNU C library defines this for functions which it implements
20347
 
    to always fail with ENOSYS.  Some functions are actually named
20348
 
    something starting with __ and the normal name is an alias.  */
20349
 
#if defined __stub_gethostbyname || defined __stub___gethostbyname
20350
 
choke me
20351
 
#endif
20352
 
 
20353
 
int
20354
 
main ()
20355
 
{
20356
 
return gethostbyname ();
20357
 
  ;
20358
 
  return 0;
20359
 
}
20360
 
_ACEOF
20361
 
rm -f conftest.$ac_objext conftest$ac_exeext
20362
 
if { (ac_try="$ac_link"
20363
 
case "(($ac_try" in
20364
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20365
 
  *) ac_try_echo=$ac_try;;
20366
 
esac
20367
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20368
 
  (eval "$ac_link") 2>conftest.er1
20369
 
  ac_status=$?
20370
 
  grep -v '^ *+' conftest.er1 >conftest.err
20371
 
  rm -f conftest.er1
20372
 
  cat conftest.err >&5
20373
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374
 
  (exit $ac_status); } && {
20375
 
         test -z "$ac_c_werror_flag" ||
20376
 
         test ! -s conftest.err
20377
 
       } && test -s conftest$ac_exeext &&
20378
 
       $as_test_x conftest$ac_exeext; then
20379
 
  ac_cv_func_gethostbyname=yes
20380
 
else
20381
 
  echo "$as_me: failed program was:" >&5
20382
 
sed 's/^/| /' conftest.$ac_ext >&5
20383
 
 
20384
 
        ac_cv_func_gethostbyname=no
20385
 
fi
20386
 
 
20387
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20388
 
      conftest$ac_exeext conftest.$ac_ext
20389
 
fi
20390
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20391
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
20392
 
 
20393
 
    if test $ac_cv_func_gethostbyname = no; then
20394
 
      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20395
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
20396
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20397
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20398
 
else
20399
 
  ac_check_lib_save_LIBS=$LIBS
20400
 
LIBS="-lnsl  $LIBS"
20401
 
cat >conftest.$ac_ext <<_ACEOF
20402
 
/* confdefs.h.  */
20403
 
_ACEOF
20404
 
cat confdefs.h >>conftest.$ac_ext
20405
 
cat >>conftest.$ac_ext <<_ACEOF
20406
 
/* end confdefs.h.  */
20407
 
 
20408
 
/* Override any GCC internal prototype to avoid an error.
20409
 
   Use char because int might match the return type of a GCC
20410
 
   builtin and then its argument prototype would still apply.  */
20411
 
#ifdef __cplusplus
20412
 
extern "C"
20413
 
#endif
20414
 
char gethostbyname ();
20415
 
int
20416
 
main ()
20417
 
{
20418
 
return gethostbyname ();
20419
 
  ;
20420
 
  return 0;
20421
 
}
20422
 
_ACEOF
20423
 
rm -f conftest.$ac_objext conftest$ac_exeext
20424
 
if { (ac_try="$ac_link"
20425
 
case "(($ac_try" in
20426
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20427
 
  *) ac_try_echo=$ac_try;;
20428
 
esac
20429
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20430
 
  (eval "$ac_link") 2>conftest.er1
20431
 
  ac_status=$?
20432
 
  grep -v '^ *+' conftest.er1 >conftest.err
20433
 
  rm -f conftest.er1
20434
 
  cat conftest.err >&5
20435
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436
 
  (exit $ac_status); } && {
20437
 
         test -z "$ac_c_werror_flag" ||
20438
 
         test ! -s conftest.err
20439
 
       } && test -s conftest$ac_exeext &&
20440
 
       $as_test_x conftest$ac_exeext; then
20441
 
  ac_cv_lib_nsl_gethostbyname=yes
20442
 
else
20443
 
  echo "$as_me: failed program was:" >&5
20444
 
sed 's/^/| /' conftest.$ac_ext >&5
20445
 
 
20446
 
        ac_cv_lib_nsl_gethostbyname=no
20447
 
fi
20448
 
 
20449
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20450
 
      conftest$ac_exeext conftest.$ac_ext
20451
 
LIBS=$ac_check_lib_save_LIBS
20452
 
fi
20453
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20454
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
20455
 
if test $ac_cv_lib_nsl_gethostbyname = yes; then
20456
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20457
 
fi
20458
 
 
20459
 
      if test $ac_cv_lib_nsl_gethostbyname = no; then
20460
 
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20461
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
20462
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20463
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20464
 
else
20465
 
  ac_check_lib_save_LIBS=$LIBS
20466
 
LIBS="-lbsd  $LIBS"
20467
 
cat >conftest.$ac_ext <<_ACEOF
20468
 
/* confdefs.h.  */
20469
 
_ACEOF
20470
 
cat confdefs.h >>conftest.$ac_ext
20471
 
cat >>conftest.$ac_ext <<_ACEOF
20472
 
/* end confdefs.h.  */
20473
 
 
20474
 
/* Override any GCC internal prototype to avoid an error.
20475
 
   Use char because int might match the return type of a GCC
20476
 
   builtin and then its argument prototype would still apply.  */
20477
 
#ifdef __cplusplus
20478
 
extern "C"
20479
 
#endif
20480
 
char gethostbyname ();
20481
 
int
20482
 
main ()
20483
 
{
20484
 
return gethostbyname ();
20485
 
  ;
20486
 
  return 0;
20487
 
}
20488
 
_ACEOF
20489
 
rm -f conftest.$ac_objext conftest$ac_exeext
20490
 
if { (ac_try="$ac_link"
20491
 
case "(($ac_try" in
20492
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20493
 
  *) ac_try_echo=$ac_try;;
20494
 
esac
20495
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20496
 
  (eval "$ac_link") 2>conftest.er1
20497
 
  ac_status=$?
20498
 
  grep -v '^ *+' conftest.er1 >conftest.err
20499
 
  rm -f conftest.er1
20500
 
  cat conftest.err >&5
20501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502
 
  (exit $ac_status); } && {
20503
 
         test -z "$ac_c_werror_flag" ||
20504
 
         test ! -s conftest.err
20505
 
       } && test -s conftest$ac_exeext &&
20506
 
       $as_test_x conftest$ac_exeext; then
20507
 
  ac_cv_lib_bsd_gethostbyname=yes
20508
 
else
20509
 
  echo "$as_me: failed program was:" >&5
20510
 
sed 's/^/| /' conftest.$ac_ext >&5
20511
 
 
20512
 
        ac_cv_lib_bsd_gethostbyname=no
20513
 
fi
20514
 
 
20515
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20516
 
      conftest$ac_exeext conftest.$ac_ext
20517
 
LIBS=$ac_check_lib_save_LIBS
20518
 
fi
20519
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20520
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
20521
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
20522
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20523
 
fi
20524
 
 
20525
 
      fi
20526
 
    fi
20527
 
 
20528
 
    # lieder@skyler.mavd.honeywell.com says without -lsocket,
20529
 
    # socket/setsockopt and other routines are undefined under SCO ODT
20530
 
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
20531
 
    # on later versions), says Simon Leinen: it contains gethostby*
20532
 
    # variants that don't use the name server (or something).  -lsocket
20533
 
    # must be given before -lnsl if both are needed.  We assume that
20534
 
    # if connect needs -lnsl, so does gethostbyname.
20535
 
    { echo "$as_me:$LINENO: checking for connect" >&5
20536
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
20537
 
if test "${ac_cv_func_connect+set}" = set; then
20538
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20539
 
else
20540
 
  cat >conftest.$ac_ext <<_ACEOF
20541
 
/* confdefs.h.  */
20542
 
_ACEOF
20543
 
cat confdefs.h >>conftest.$ac_ext
20544
 
cat >>conftest.$ac_ext <<_ACEOF
20545
 
/* end confdefs.h.  */
20546
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
20547
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20548
 
#define connect innocuous_connect
20549
 
 
20550
 
/* System header to define __stub macros and hopefully few prototypes,
20551
 
    which can conflict with char connect (); below.
20552
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20553
 
    <limits.h> exists even on freestanding compilers.  */
20554
 
 
20555
 
#ifdef __STDC__
20556
 
# include <limits.h>
20557
 
#else
20558
 
# include <assert.h>
20559
 
#endif
20560
 
 
20561
 
#undef connect
20562
 
 
20563
 
/* Override any GCC internal prototype to avoid an error.
20564
 
   Use char because int might match the return type of a GCC
20565
 
   builtin and then its argument prototype would still apply.  */
20566
 
#ifdef __cplusplus
20567
 
extern "C"
20568
 
#endif
20569
 
char connect ();
20570
 
/* The GNU C library defines this for functions which it implements
20571
 
    to always fail with ENOSYS.  Some functions are actually named
20572
 
    something starting with __ and the normal name is an alias.  */
20573
 
#if defined __stub_connect || defined __stub___connect
20574
 
choke me
20575
 
#endif
20576
 
 
20577
 
int
20578
 
main ()
20579
 
{
20580
 
return connect ();
20581
 
  ;
20582
 
  return 0;
20583
 
}
20584
 
_ACEOF
20585
 
rm -f conftest.$ac_objext conftest$ac_exeext
20586
 
if { (ac_try="$ac_link"
20587
 
case "(($ac_try" in
20588
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20589
 
  *) ac_try_echo=$ac_try;;
20590
 
esac
20591
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20592
 
  (eval "$ac_link") 2>conftest.er1
20593
 
  ac_status=$?
20594
 
  grep -v '^ *+' conftest.er1 >conftest.err
20595
 
  rm -f conftest.er1
20596
 
  cat conftest.err >&5
20597
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598
 
  (exit $ac_status); } && {
20599
 
         test -z "$ac_c_werror_flag" ||
20600
 
         test ! -s conftest.err
20601
 
       } && test -s conftest$ac_exeext &&
20602
 
       $as_test_x conftest$ac_exeext; then
20603
 
  ac_cv_func_connect=yes
20604
 
else
20605
 
  echo "$as_me: failed program was:" >&5
20606
 
sed 's/^/| /' conftest.$ac_ext >&5
20607
 
 
20608
 
        ac_cv_func_connect=no
20609
 
fi
20610
 
 
20611
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20612
 
      conftest$ac_exeext conftest.$ac_ext
20613
 
fi
20614
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20615
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
20616
 
 
20617
 
    if test $ac_cv_func_connect = no; then
20618
 
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20619
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
20620
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
20621
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20622
 
else
20623
 
  ac_check_lib_save_LIBS=$LIBS
20624
 
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20625
 
cat >conftest.$ac_ext <<_ACEOF
20626
 
/* confdefs.h.  */
20627
 
_ACEOF
20628
 
cat confdefs.h >>conftest.$ac_ext
20629
 
cat >>conftest.$ac_ext <<_ACEOF
20630
 
/* end confdefs.h.  */
20631
 
 
20632
 
/* Override any GCC internal prototype to avoid an error.
20633
 
   Use char because int might match the return type of a GCC
20634
 
   builtin and then its argument prototype would still apply.  */
20635
 
#ifdef __cplusplus
20636
 
extern "C"
20637
 
#endif
20638
 
char connect ();
20639
 
int
20640
 
main ()
20641
 
{
20642
 
return connect ();
20643
 
  ;
20644
 
  return 0;
20645
 
}
20646
 
_ACEOF
20647
 
rm -f conftest.$ac_objext conftest$ac_exeext
20648
 
if { (ac_try="$ac_link"
20649
 
case "(($ac_try" in
20650
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20651
 
  *) ac_try_echo=$ac_try;;
20652
 
esac
20653
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20654
 
  (eval "$ac_link") 2>conftest.er1
20655
 
  ac_status=$?
20656
 
  grep -v '^ *+' conftest.er1 >conftest.err
20657
 
  rm -f conftest.er1
20658
 
  cat conftest.err >&5
20659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660
 
  (exit $ac_status); } && {
20661
 
         test -z "$ac_c_werror_flag" ||
20662
 
         test ! -s conftest.err
20663
 
       } && test -s conftest$ac_exeext &&
20664
 
       $as_test_x conftest$ac_exeext; then
20665
 
  ac_cv_lib_socket_connect=yes
20666
 
else
20667
 
  echo "$as_me: failed program was:" >&5
20668
 
sed 's/^/| /' conftest.$ac_ext >&5
20669
 
 
20670
 
        ac_cv_lib_socket_connect=no
20671
 
fi
20672
 
 
20673
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20674
 
      conftest$ac_exeext conftest.$ac_ext
20675
 
LIBS=$ac_check_lib_save_LIBS
20676
 
fi
20677
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20678
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
20679
 
if test $ac_cv_lib_socket_connect = yes; then
20680
 
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20681
 
fi
20682
 
 
20683
 
    fi
20684
 
 
20685
 
    # Guillermo Gomez says -lposix is necessary on A/UX.
20686
 
    { echo "$as_me:$LINENO: checking for remove" >&5
20687
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
20688
 
if test "${ac_cv_func_remove+set}" = set; then
20689
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20690
 
else
20691
 
  cat >conftest.$ac_ext <<_ACEOF
20692
 
/* confdefs.h.  */
20693
 
_ACEOF
20694
 
cat confdefs.h >>conftest.$ac_ext
20695
 
cat >>conftest.$ac_ext <<_ACEOF
20696
 
/* end confdefs.h.  */
20697
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
20698
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20699
 
#define remove innocuous_remove
20700
 
 
20701
 
/* System header to define __stub macros and hopefully few prototypes,
20702
 
    which can conflict with char remove (); below.
20703
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20704
 
    <limits.h> exists even on freestanding compilers.  */
20705
 
 
20706
 
#ifdef __STDC__
20707
 
# include <limits.h>
20708
 
#else
20709
 
# include <assert.h>
20710
 
#endif
20711
 
 
20712
 
#undef remove
20713
 
 
20714
 
/* Override any GCC internal prototype to avoid an error.
20715
 
   Use char because int might match the return type of a GCC
20716
 
   builtin and then its argument prototype would still apply.  */
20717
 
#ifdef __cplusplus
20718
 
extern "C"
20719
 
#endif
20720
 
char remove ();
20721
 
/* The GNU C library defines this for functions which it implements
20722
 
    to always fail with ENOSYS.  Some functions are actually named
20723
 
    something starting with __ and the normal name is an alias.  */
20724
 
#if defined __stub_remove || defined __stub___remove
20725
 
choke me
20726
 
#endif
20727
 
 
20728
 
int
20729
 
main ()
20730
 
{
20731
 
return remove ();
20732
 
  ;
20733
 
  return 0;
20734
 
}
20735
 
_ACEOF
20736
 
rm -f conftest.$ac_objext conftest$ac_exeext
20737
 
if { (ac_try="$ac_link"
20738
 
case "(($ac_try" in
20739
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20740
 
  *) ac_try_echo=$ac_try;;
20741
 
esac
20742
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20743
 
  (eval "$ac_link") 2>conftest.er1
20744
 
  ac_status=$?
20745
 
  grep -v '^ *+' conftest.er1 >conftest.err
20746
 
  rm -f conftest.er1
20747
 
  cat conftest.err >&5
20748
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749
 
  (exit $ac_status); } && {
20750
 
         test -z "$ac_c_werror_flag" ||
20751
 
         test ! -s conftest.err
20752
 
       } && test -s conftest$ac_exeext &&
20753
 
       $as_test_x conftest$ac_exeext; then
20754
 
  ac_cv_func_remove=yes
20755
 
else
20756
 
  echo "$as_me: failed program was:" >&5
20757
 
sed 's/^/| /' conftest.$ac_ext >&5
20758
 
 
20759
 
        ac_cv_func_remove=no
20760
 
fi
20761
 
 
20762
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20763
 
      conftest$ac_exeext conftest.$ac_ext
20764
 
fi
20765
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20766
 
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
20767
 
 
20768
 
    if test $ac_cv_func_remove = no; then
20769
 
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20770
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
20771
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
20772
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20773
 
else
20774
 
  ac_check_lib_save_LIBS=$LIBS
20775
 
LIBS="-lposix  $LIBS"
20776
 
cat >conftest.$ac_ext <<_ACEOF
20777
 
/* confdefs.h.  */
20778
 
_ACEOF
20779
 
cat confdefs.h >>conftest.$ac_ext
20780
 
cat >>conftest.$ac_ext <<_ACEOF
20781
 
/* end confdefs.h.  */
20782
 
 
20783
 
/* Override any GCC internal prototype to avoid an error.
20784
 
   Use char because int might match the return type of a GCC
20785
 
   builtin and then its argument prototype would still apply.  */
20786
 
#ifdef __cplusplus
20787
 
extern "C"
20788
 
#endif
20789
 
char remove ();
20790
 
int
20791
 
main ()
20792
 
{
20793
 
return remove ();
20794
 
  ;
20795
 
  return 0;
20796
 
}
20797
 
_ACEOF
20798
 
rm -f conftest.$ac_objext conftest$ac_exeext
20799
 
if { (ac_try="$ac_link"
20800
 
case "(($ac_try" in
20801
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20802
 
  *) ac_try_echo=$ac_try;;
20803
 
esac
20804
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20805
 
  (eval "$ac_link") 2>conftest.er1
20806
 
  ac_status=$?
20807
 
  grep -v '^ *+' conftest.er1 >conftest.err
20808
 
  rm -f conftest.er1
20809
 
  cat conftest.err >&5
20810
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811
 
  (exit $ac_status); } && {
20812
 
         test -z "$ac_c_werror_flag" ||
20813
 
         test ! -s conftest.err
20814
 
       } && test -s conftest$ac_exeext &&
20815
 
       $as_test_x conftest$ac_exeext; then
20816
 
  ac_cv_lib_posix_remove=yes
20817
 
else
20818
 
  echo "$as_me: failed program was:" >&5
20819
 
sed 's/^/| /' conftest.$ac_ext >&5
20820
 
 
20821
 
        ac_cv_lib_posix_remove=no
20822
 
fi
20823
 
 
20824
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20825
 
      conftest$ac_exeext conftest.$ac_ext
20826
 
LIBS=$ac_check_lib_save_LIBS
20827
 
fi
20828
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20829
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
20830
 
if test $ac_cv_lib_posix_remove = yes; then
20831
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20832
 
fi
20833
 
 
20834
 
    fi
20835
 
 
20836
 
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20837
 
    { echo "$as_me:$LINENO: checking for shmat" >&5
20838
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
20839
 
if test "${ac_cv_func_shmat+set}" = set; then
20840
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20841
 
else
20842
 
  cat >conftest.$ac_ext <<_ACEOF
20843
 
/* confdefs.h.  */
20844
 
_ACEOF
20845
 
cat confdefs.h >>conftest.$ac_ext
20846
 
cat >>conftest.$ac_ext <<_ACEOF
20847
 
/* end confdefs.h.  */
20848
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20849
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20850
 
#define shmat innocuous_shmat
20851
 
 
20852
 
/* System header to define __stub macros and hopefully few prototypes,
20853
 
    which can conflict with char shmat (); below.
20854
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20855
 
    <limits.h> exists even on freestanding compilers.  */
20856
 
 
20857
 
#ifdef __STDC__
20858
 
# include <limits.h>
20859
 
#else
20860
 
# include <assert.h>
20861
 
#endif
20862
 
 
20863
 
#undef shmat
20864
 
 
20865
 
/* Override any GCC internal prototype to avoid an error.
20866
 
   Use char because int might match the return type of a GCC
20867
 
   builtin and then its argument prototype would still apply.  */
20868
 
#ifdef __cplusplus
20869
 
extern "C"
20870
 
#endif
20871
 
char shmat ();
20872
 
/* The GNU C library defines this for functions which it implements
20873
 
    to always fail with ENOSYS.  Some functions are actually named
20874
 
    something starting with __ and the normal name is an alias.  */
20875
 
#if defined __stub_shmat || defined __stub___shmat
20876
 
choke me
20877
 
#endif
20878
 
 
20879
 
int
20880
 
main ()
20881
 
{
20882
 
return shmat ();
20883
 
  ;
20884
 
  return 0;
20885
 
}
20886
 
_ACEOF
20887
 
rm -f conftest.$ac_objext conftest$ac_exeext
20888
 
if { (ac_try="$ac_link"
20889
 
case "(($ac_try" in
20890
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20891
 
  *) ac_try_echo=$ac_try;;
20892
 
esac
20893
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20894
 
  (eval "$ac_link") 2>conftest.er1
20895
 
  ac_status=$?
20896
 
  grep -v '^ *+' conftest.er1 >conftest.err
20897
 
  rm -f conftest.er1
20898
 
  cat conftest.err >&5
20899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900
 
  (exit $ac_status); } && {
20901
 
         test -z "$ac_c_werror_flag" ||
20902
 
         test ! -s conftest.err
20903
 
       } && test -s conftest$ac_exeext &&
20904
 
       $as_test_x conftest$ac_exeext; then
20905
 
  ac_cv_func_shmat=yes
20906
 
else
20907
 
  echo "$as_me: failed program was:" >&5
20908
 
sed 's/^/| /' conftest.$ac_ext >&5
20909
 
 
20910
 
        ac_cv_func_shmat=no
20911
 
fi
20912
 
 
20913
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20914
 
      conftest$ac_exeext conftest.$ac_ext
20915
 
fi
20916
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20917
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
20918
 
 
20919
 
    if test $ac_cv_func_shmat = no; then
20920
 
      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20921
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
20922
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20923
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20924
 
else
20925
 
  ac_check_lib_save_LIBS=$LIBS
20926
 
LIBS="-lipc  $LIBS"
20927
 
cat >conftest.$ac_ext <<_ACEOF
20928
 
/* confdefs.h.  */
20929
 
_ACEOF
20930
 
cat confdefs.h >>conftest.$ac_ext
20931
 
cat >>conftest.$ac_ext <<_ACEOF
20932
 
/* end confdefs.h.  */
20933
 
 
20934
 
/* Override any GCC internal prototype to avoid an error.
20935
 
   Use char because int might match the return type of a GCC
20936
 
   builtin and then its argument prototype would still apply.  */
20937
 
#ifdef __cplusplus
20938
 
extern "C"
20939
 
#endif
20940
 
char shmat ();
20941
 
int
20942
 
main ()
20943
 
{
20944
 
return shmat ();
20945
 
  ;
20946
 
  return 0;
20947
 
}
20948
 
_ACEOF
20949
 
rm -f conftest.$ac_objext conftest$ac_exeext
20950
 
if { (ac_try="$ac_link"
20951
 
case "(($ac_try" in
20952
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20953
 
  *) ac_try_echo=$ac_try;;
20954
 
esac
20955
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20956
 
  (eval "$ac_link") 2>conftest.er1
20957
 
  ac_status=$?
20958
 
  grep -v '^ *+' conftest.er1 >conftest.err
20959
 
  rm -f conftest.er1
20960
 
  cat conftest.err >&5
20961
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962
 
  (exit $ac_status); } && {
20963
 
         test -z "$ac_c_werror_flag" ||
20964
 
         test ! -s conftest.err
20965
 
       } && test -s conftest$ac_exeext &&
20966
 
       $as_test_x conftest$ac_exeext; then
20967
 
  ac_cv_lib_ipc_shmat=yes
20968
 
else
20969
 
  echo "$as_me: failed program was:" >&5
20970
 
sed 's/^/| /' conftest.$ac_ext >&5
20971
 
 
20972
 
        ac_cv_lib_ipc_shmat=no
20973
 
fi
20974
 
 
20975
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20976
 
      conftest$ac_exeext conftest.$ac_ext
20977
 
LIBS=$ac_check_lib_save_LIBS
20978
 
fi
20979
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20980
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
20981
 
if test $ac_cv_lib_ipc_shmat = yes; then
20982
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20983
 
fi
20984
 
 
20985
 
    fi
20986
 
  fi
20987
 
 
20988
 
  # Check for libraries that X11R6 Xt/Xaw programs need.
20989
 
  ac_save_LDFLAGS=$LDFLAGS
20990
 
  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20991
 
  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20992
 
  # check for ICE first), but we must link in the order -lSM -lICE or
20993
 
  # we get undefined symbols.  So assume we have SM if we have ICE.
20994
 
  # These have to be linked with before -lX11, unlike the other
20995
 
  # libraries we check for below, so use a different variable.
20996
 
  # John Interrante, Karl Berry
20997
 
  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20998
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
20999
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21000
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21001
 
else
21002
 
  ac_check_lib_save_LIBS=$LIBS
21003
 
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21004
 
cat >conftest.$ac_ext <<_ACEOF
21005
 
/* confdefs.h.  */
21006
 
_ACEOF
21007
 
cat confdefs.h >>conftest.$ac_ext
21008
 
cat >>conftest.$ac_ext <<_ACEOF
21009
 
/* end confdefs.h.  */
21010
 
 
21011
 
/* Override any GCC internal prototype to avoid an error.
21012
 
   Use char because int might match the return type of a GCC
21013
 
   builtin and then its argument prototype would still apply.  */
21014
 
#ifdef __cplusplus
21015
 
extern "C"
21016
 
#endif
21017
 
char IceConnectionNumber ();
21018
 
int
21019
 
main ()
21020
 
{
21021
 
return IceConnectionNumber ();
21022
 
  ;
21023
 
  return 0;
21024
 
}
21025
 
_ACEOF
21026
 
rm -f conftest.$ac_objext conftest$ac_exeext
21027
 
if { (ac_try="$ac_link"
21028
 
case "(($ac_try" in
21029
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21030
 
  *) ac_try_echo=$ac_try;;
21031
 
esac
21032
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033
 
  (eval "$ac_link") 2>conftest.er1
21034
 
  ac_status=$?
21035
 
  grep -v '^ *+' conftest.er1 >conftest.err
21036
 
  rm -f conftest.er1
21037
 
  cat conftest.err >&5
21038
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039
 
  (exit $ac_status); } && {
21040
 
         test -z "$ac_c_werror_flag" ||
21041
 
         test ! -s conftest.err
21042
 
       } && test -s conftest$ac_exeext &&
21043
 
       $as_test_x conftest$ac_exeext; then
21044
 
  ac_cv_lib_ICE_IceConnectionNumber=yes
21045
 
else
21046
 
  echo "$as_me: failed program was:" >&5
21047
 
sed 's/^/| /' conftest.$ac_ext >&5
21048
 
 
21049
 
        ac_cv_lib_ICE_IceConnectionNumber=no
21050
 
fi
21051
 
 
21052
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21053
 
      conftest$ac_exeext conftest.$ac_ext
21054
 
LIBS=$ac_check_lib_save_LIBS
21055
 
fi
21056
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21057
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
21058
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21059
 
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21060
 
fi
21061
 
 
21062
 
  LDFLAGS=$ac_save_LDFLAGS
21063
 
 
21064
 
fi
21065
 
 
21066
 
 
21067
 
{ echo "$as_me:$LINENO: checking whether variable-length arrays are supported" >&5
21068
 
echo $ECHO_N "checking whether variable-length arrays are supported... $ECHO_C" >&6; }
21069
 
cat >conftest.$ac_ext <<_ACEOF
21070
 
/* confdefs.h.  */
21071
 
_ACEOF
21072
 
cat confdefs.h >>conftest.$ac_ext
21073
 
cat >>conftest.$ac_ext <<_ACEOF
21074
 
/* end confdefs.h.  */
21075
 
 
21076
 
int
21077
 
main ()
21078
 
{
21079
 
 
21080
 
        int n; int foo[n];
21081
 
 
21082
 
  ;
21083
 
  return 0;
21084
 
}
21085
 
_ACEOF
21086
 
rm -f conftest.$ac_objext
21087
 
if { (ac_try="$ac_compile"
21088
 
case "(($ac_try" in
21089
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21090
 
  *) ac_try_echo=$ac_try;;
21091
 
esac
21092
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21093
 
  (eval "$ac_compile") 2>conftest.er1
21094
 
  ac_status=$?
21095
 
  grep -v '^ *+' conftest.er1 >conftest.err
21096
 
  rm -f conftest.er1
21097
 
  cat conftest.err >&5
21098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099
 
  (exit $ac_status); } && {
21100
 
         test -z "$ac_c_werror_flag" ||
21101
 
         test ! -s conftest.err
21102
 
       } && test -s conftest.$ac_objext; then
21103
 
  { echo "$as_me:$LINENO: result: yes" >&5
21104
 
echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
21105
 
@%:@define HAVE_VLA 1
21106
 
_ACEOF
21107
 
 
21108
 
else
21109
 
  echo "$as_me: failed program was:" >&5
21110
 
sed 's/^/| /' conftest.$ac_ext >&5
21111
 
 
21112
 
        { echo "$as_me:$LINENO: result: no" >&5
21113
 
echo "${ECHO_T}no" >&6; }
21114
 
fi
21115
 
 
21116
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21117
 
 
21118
 
############################################################
21119
 
# Check for the IJG JPEG library.
21120
 
############################################################
21121
 
 
21122
 
# Allow the user to explicitly specify whether the JPEG library is present.
21123
 
# Check whether --enable-libjpeg was given.
21124
 
if test "${enable_libjpeg+set}" = set; then
21125
 
  enableval=$enable_libjpeg; 
21126
 
case "${enableval}" in
21127
 
yes)
21128
 
        ENABLE_LIBJPEG=yes;;
21129
 
no)
21130
 
        ENABLE_LIBJPEG=no;;
21131
 
*)
21132
 
        { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-libjpeg" >&5
21133
 
echo "$as_me: error: bad value ${enableval} for --disable-libjpeg" >&2;}
21134
 
   { (exit 1); exit 1; }; }
21135
 
        ;;
21136
 
esac
21137
 
 
21138
 
else
21139
 
  ENABLE_LIBJPEG=yes
21140
 
fi
21141
 
 
21142
 
 
21143
 
HAVE_LIBJPEG=no
21144
 
if test $ENABLE_LIBJPEG = yes; then
21145
 
        # Check for the JPEG library.
21146
 
        { echo "$as_me:$LINENO: checking for jpeg_destroy in -ljpeg" >&5
21147
 
echo $ECHO_N "checking for jpeg_destroy in -ljpeg... $ECHO_C" >&6; }
21148
 
if test "${ac_cv_lib_jpeg_jpeg_destroy+set}" = set; then
21149
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21150
 
else
21151
 
  ac_check_lib_save_LIBS=$LIBS
21152
 
LIBS="-ljpeg  $LIBS"
21153
 
cat >conftest.$ac_ext <<_ACEOF
21154
 
/* confdefs.h.  */
21155
 
_ACEOF
21156
 
cat confdefs.h >>conftest.$ac_ext
21157
 
cat >>conftest.$ac_ext <<_ACEOF
21158
 
/* end confdefs.h.  */
21159
 
 
21160
 
/* Override any GCC internal prototype to avoid an error.
21161
 
   Use char because int might match the return type of a GCC
21162
 
   builtin and then its argument prototype would still apply.  */
21163
 
#ifdef __cplusplus
21164
 
extern "C"
21165
 
#endif
21166
 
char jpeg_destroy ();
21167
 
int
21168
 
main ()
21169
 
{
21170
 
return jpeg_destroy ();
21171
 
  ;
21172
 
  return 0;
21173
 
}
21174
 
_ACEOF
21175
 
rm -f conftest.$ac_objext conftest$ac_exeext
21176
 
if { (ac_try="$ac_link"
21177
 
case "(($ac_try" in
21178
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21179
 
  *) ac_try_echo=$ac_try;;
21180
 
esac
21181
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21182
 
  (eval "$ac_link") 2>conftest.er1
21183
 
  ac_status=$?
21184
 
  grep -v '^ *+' conftest.er1 >conftest.err
21185
 
  rm -f conftest.er1
21186
 
  cat conftest.err >&5
21187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188
 
  (exit $ac_status); } && {
21189
 
         test -z "$ac_c_werror_flag" ||
21190
 
         test ! -s conftest.err
21191
 
       } && test -s conftest$ac_exeext &&
21192
 
       $as_test_x conftest$ac_exeext; then
21193
 
  ac_cv_lib_jpeg_jpeg_destroy=yes
21194
 
else
21195
 
  echo "$as_me: failed program was:" >&5
21196
 
sed 's/^/| /' conftest.$ac_ext >&5
21197
 
 
21198
 
        ac_cv_lib_jpeg_jpeg_destroy=no
21199
 
fi
21200
 
 
21201
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21202
 
      conftest$ac_exeext conftest.$ac_ext
21203
 
LIBS=$ac_check_lib_save_LIBS
21204
 
fi
21205
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy" >&5
21206
 
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy" >&6; }
21207
 
if test $ac_cv_lib_jpeg_jpeg_destroy = yes; then
21208
 
  HAVE_LIBJPEG=yes
21209
 
else
21210
 
  HAVE_LIBJPEG=no
21211
 
fi
21212
 
 
21213
 
        if test $HAVE_LIBJPEG = yes; then
21214
 
                LIBS="$LIBS -ljpeg"
21215
 
        fi
21216
 
fi
21217
 
 if test $HAVE_LIBJPEG = yes; then
21218
 
  HAVE_LIBJPEG_TRUE=
21219
 
  HAVE_LIBJPEG_FALSE='#'
21220
 
else
21221
 
  HAVE_LIBJPEG_TRUE='#'
21222
 
  HAVE_LIBJPEG_FALSE=
21223
 
fi
21224
 
 
21225
 
 
21226
 
############################################################
21227
 
# Check for OpenGL libraries.
21228
 
############################################################
21229
 
 
21230
 
 
21231
 
# Check whether --with-glut-include-dir was given.
21232
 
if test "${with_glut_include_dir+set}" = set; then
21233
 
  withval=$with_glut_include_dir; 
21234
 
        case "$withval" in
21235
 
        /*)
21236
 
                CFLAGS="$CFLAGS -I$withval"
21237
 
                CPPFLAGS="$CPPFLAGS -I$withval";;
21238
 
        *)
21239
 
                { { echo "$as_me:$LINENO: error: --with-glut-include-dir requires absolute path" >&5
21240
 
echo "$as_me: error: --with-glut-include-dir requires absolute path" >&2;}
21241
 
   { (exit 1); exit 1; }; }
21242
 
                ;;
21243
 
        esac
21244
 
 
21245
 
fi
21246
 
 
21247
 
 
21248
 
# Check whether --with-glut-lib-dir was given.
21249
 
if test "${with_glut_lib_dir+set}" = set; then
21250
 
  withval=$with_glut_lib_dir; 
21251
 
        case "$withval" in
21252
 
        /*)
21253
 
                LIBS="$LIBS -L$withval";;
21254
 
        *)
21255
 
                { { echo "$as_me:$LINENO: error: --with-glut-lib-dir requires absolute path" >&5
21256
 
echo "$as_me: error: --with-glut-lib-dir requires absolute path" >&2;}
21257
 
   { (exit 1); exit 1; }; }
21258
 
                ;;
21259
 
        esac
21260
 
 
21261
 
fi
21262
 
 
21263
 
 
21264
 
# Check whether --enable-opengl was given.
21265
 
if test "${enable_opengl+set}" = set; then
21266
 
  enableval=$enable_opengl; 
21267
 
        case "$enableval" in
21268
 
        yes)
21269
 
                ENABLE_OPENGL=yes;;
21270
 
        no)
21271
 
                ENABLE_OPENGL=no;;
21272
 
        *)
21273
 
                { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-libjpeg" >&5
21274
 
echo "$as_me: error: bad value ${enableval} for --disable-libjpeg" >&2;}
21275
 
   { (exit 1); exit 1; }; }
21276
 
                ;;
21277
 
        esac
21278
 
 
21279
 
else
21280
 
  ENABLE_OPENGL=yes
21281
 
fi
21282
 
 
21283
 
 
21284
 
HAVE_OPENGL=no
21285
 
OPENGL_LIBS=""
21286
 
if test $ENABLE_OPENGL = yes; then
21287
 
        if test $HAVE_OPENGL = no; then
21288
 
                TMPLIBS="-lglut -lGL -lGLU $X_PRE_LIBS -lX11 -lXmu -lXi -lXext -lXt $X_EXTRA_LIBS $X_LIBS"
21289
 
                { echo "$as_me:$LINENO: checking for glutInit in -lglut" >&5
21290
 
echo $ECHO_N "checking for glutInit in -lglut... $ECHO_C" >&6; }
21291
 
if test "${ac_cv_lib_glut_glutInit+set}" = set; then
21292
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21293
 
else
21294
 
  ac_check_lib_save_LIBS=$LIBS
21295
 
LIBS="-lglut $TMPLIBS $LIBS"
21296
 
cat >conftest.$ac_ext <<_ACEOF
21297
 
/* confdefs.h.  */
21298
 
_ACEOF
21299
 
cat confdefs.h >>conftest.$ac_ext
21300
 
cat >>conftest.$ac_ext <<_ACEOF
21301
 
/* end confdefs.h.  */
21302
 
 
21303
 
/* Override any GCC internal prototype to avoid an error.
21304
 
   Use char because int might match the return type of a GCC
21305
 
   builtin and then its argument prototype would still apply.  */
21306
 
#ifdef __cplusplus
21307
 
extern "C"
21308
 
#endif
21309
 
char glutInit ();
21310
 
int
21311
 
main ()
21312
 
{
21313
 
return glutInit ();
21314
 
  ;
21315
 
  return 0;
21316
 
}
21317
 
_ACEOF
21318
 
rm -f conftest.$ac_objext conftest$ac_exeext
21319
 
if { (ac_try="$ac_link"
21320
 
case "(($ac_try" in
21321
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21322
 
  *) ac_try_echo=$ac_try;;
21323
 
esac
21324
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325
 
  (eval "$ac_link") 2>conftest.er1
21326
 
  ac_status=$?
21327
 
  grep -v '^ *+' conftest.er1 >conftest.err
21328
 
  rm -f conftest.er1
21329
 
  cat conftest.err >&5
21330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331
 
  (exit $ac_status); } && {
21332
 
         test -z "$ac_c_werror_flag" ||
21333
 
         test ! -s conftest.err
21334
 
       } && test -s conftest$ac_exeext &&
21335
 
       $as_test_x conftest$ac_exeext; then
21336
 
  ac_cv_lib_glut_glutInit=yes
21337
 
else
21338
 
  echo "$as_me: failed program was:" >&5
21339
 
sed 's/^/| /' conftest.$ac_ext >&5
21340
 
 
21341
 
        ac_cv_lib_glut_glutInit=no
21342
 
fi
21343
 
 
21344
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21345
 
      conftest$ac_exeext conftest.$ac_ext
21346
 
LIBS=$ac_check_lib_save_LIBS
21347
 
fi
21348
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutInit" >&5
21349
 
echo "${ECHO_T}$ac_cv_lib_glut_glutInit" >&6; }
21350
 
if test $ac_cv_lib_glut_glutInit = yes; then
21351
 
  HAVE_OPENGL=yes;
21352
 
                  OPENGL_LIBS=$TMPLIBS
21353
 
else
21354
 
  HAVE_OPENGL=no
21355
 
fi
21356
 
 
21357
 
        fi
21358
 
        if test "${ac_cv_header_GL_glut_h+set}" = set; then
21359
 
  { echo "$as_me:$LINENO: checking for GL/glut.h" >&5
21360
 
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
21361
 
if test "${ac_cv_header_GL_glut_h+set}" = set; then
21362
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21363
 
fi
21364
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
21365
 
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
21366
 
else
21367
 
  # Is the header compilable?
21368
 
{ echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
21369
 
echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6; }
21370
 
cat >conftest.$ac_ext <<_ACEOF
21371
 
/* confdefs.h.  */
21372
 
_ACEOF
21373
 
cat confdefs.h >>conftest.$ac_ext
21374
 
cat >>conftest.$ac_ext <<_ACEOF
21375
 
/* end confdefs.h.  */
21376
 
$ac_includes_default
21377
 
@%:@include <GL/glut.h>
21378
 
_ACEOF
21379
 
rm -f conftest.$ac_objext
21380
 
if { (ac_try="$ac_compile"
21381
 
case "(($ac_try" in
21382
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21383
 
  *) ac_try_echo=$ac_try;;
21384
 
esac
21385
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21386
 
  (eval "$ac_compile") 2>conftest.er1
21387
 
  ac_status=$?
21388
 
  grep -v '^ *+' conftest.er1 >conftest.err
21389
 
  rm -f conftest.er1
21390
 
  cat conftest.err >&5
21391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392
 
  (exit $ac_status); } && {
21393
 
         test -z "$ac_c_werror_flag" ||
21394
 
         test ! -s conftest.err
21395
 
       } && test -s conftest.$ac_objext; then
21396
 
  ac_header_compiler=yes
21397
 
else
21398
 
  echo "$as_me: failed program was:" >&5
21399
 
sed 's/^/| /' conftest.$ac_ext >&5
21400
 
 
21401
 
        ac_header_compiler=no
21402
 
fi
21403
 
 
21404
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21405
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21406
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21407
 
 
21408
 
# Is the header present?
21409
 
{ echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
21410
 
echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6; }
21411
 
cat >conftest.$ac_ext <<_ACEOF
21412
 
/* confdefs.h.  */
21413
 
_ACEOF
21414
 
cat confdefs.h >>conftest.$ac_ext
21415
 
cat >>conftest.$ac_ext <<_ACEOF
21416
 
/* end confdefs.h.  */
21417
 
@%:@include <GL/glut.h>
21418
 
_ACEOF
21419
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21420
 
case "(($ac_try" in
21421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21422
 
  *) ac_try_echo=$ac_try;;
21423
 
esac
21424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21426
 
  ac_status=$?
21427
 
  grep -v '^ *+' conftest.er1 >conftest.err
21428
 
  rm -f conftest.er1
21429
 
  cat conftest.err >&5
21430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431
 
  (exit $ac_status); } >/dev/null && {
21432
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21433
 
         test ! -s conftest.err
21434
 
       }; then
21435
 
  ac_header_preproc=yes
21436
 
else
21437
 
  echo "$as_me: failed program was:" >&5
21438
 
sed 's/^/| /' conftest.$ac_ext >&5
21439
 
 
21440
 
  ac_header_preproc=no
21441
 
fi
21442
 
 
21443
 
rm -f conftest.err conftest.$ac_ext
21444
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21445
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21446
 
 
21447
 
# So?  What about this header?
21448
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21449
 
  yes:no: )
21450
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
21451
 
echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21452
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
21453
 
echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
21454
 
    ac_header_preproc=yes
21455
 
    ;;
21456
 
  no:yes:* )
21457
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
21458
 
echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
21459
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
21460
 
echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
21461
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
21462
 
echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
21463
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
21464
 
echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21465
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
21466
 
echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
21467
 
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
21468
 
echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
21469
 
    
21470
 
    ;;
21471
 
esac
21472
 
{ echo "$as_me:$LINENO: checking for GL/glut.h" >&5
21473
 
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
21474
 
if test "${ac_cv_header_GL_glut_h+set}" = set; then
21475
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21476
 
else
21477
 
  ac_cv_header_GL_glut_h=$ac_header_preproc
21478
 
fi
21479
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
21480
 
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
21481
 
 
21482
 
fi
21483
 
if test $ac_cv_header_GL_glut_h = yes; then
21484
 
  :
21485
 
else
21486
 
  HAVE_OPENGL=no; OPENGL_LIBS="";
21487
 
fi
21488
 
 
21489
 
 
21490
 
fi
21491
 
 
21492
 
 if test $HAVE_OPENGL = yes; then
21493
 
  HAVE_OPENGL_TRUE=
21494
 
  HAVE_OPENGL_FALSE='#'
21495
 
else
21496
 
  HAVE_OPENGL_TRUE='#'
21497
 
  HAVE_OPENGL_FALSE=
21498
 
fi
21499
 
 
21500
 
 
21501
 
{ echo "$as_me:$LINENO: checking whether OpenGL libraries and headers were detected" >&5
21502
 
echo $ECHO_N "checking whether OpenGL libraries and headers were detected... $ECHO_C" >&6; }
21503
 
{ echo "$as_me:$LINENO: result: $HAVE_OPENGL" >&5
21504
 
echo "${ECHO_T}$HAVE_OPENGL" >&6; }
21505
 
 
21506
 
############################################################
21507
 
# Check for SDL libraries.
21508
 
############################################################
21509
 
# Extract the first word of "sdl-config", so it can be a program name with args.
21510
 
set dummy sdl-config; ac_word=$2
21511
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21512
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21513
 
if test "${ac_cv_prog_HAVE_SDL+set}" = set; then
21514
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21515
 
else
21516
 
  if test -n "$HAVE_SDL"; then
21517
 
  ac_cv_prog_HAVE_SDL="$HAVE_SDL" # Let the user override the test.
21518
 
else
21519
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21520
 
for as_dir in $PATH
21521
 
do
21522
 
  IFS=$as_save_IFS
21523
 
  test -z "$as_dir" && as_dir=.
21524
 
  for ac_exec_ext in '' $ac_executable_extensions; do
21525
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21526
 
    ac_cv_prog_HAVE_SDL="yes"
21527
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21528
 
    break 2
21529
 
  fi
21530
 
done
21531
 
done
21532
 
IFS=$as_save_IFS
21533
 
 
21534
 
  test -z "$ac_cv_prog_HAVE_SDL" && ac_cv_prog_HAVE_SDL="no"
21535
 
fi
21536
 
fi
21537
 
HAVE_SDL=$ac_cv_prog_HAVE_SDL
21538
 
if test -n "$HAVE_SDL"; then
21539
 
  { echo "$as_me:$LINENO: result: $HAVE_SDL" >&5
21540
 
echo "${ECHO_T}$HAVE_SDL" >&6; }
21541
 
else
21542
 
  { echo "$as_me:$LINENO: result: no" >&5
21543
 
echo "${ECHO_T}no" >&6; }
21544
 
fi
21545
 
 
21546
 
 
21547
 
if test $HAVE_SDL = yes; then
21548
 
  SDL_CFLAGS=`sdl-config --cflags`
21549
 
  SDL_LIBS=`sdl-config --libs`
21550
 
fi
21551
 
 if test $HAVE_SDL = yes; then
21552
 
  HAVE_SDL_TRUE=
21553
 
  HAVE_SDL_FALSE='#'
21554
 
else
21555
 
  HAVE_SDL_TRUE='#'
21556
 
  HAVE_SDL_FALSE=
21557
 
fi
21558
 
 
21559
 
 
21560
 
 
21561
 
 
21562
 
############################################################
21563
 
# Check for other libraries.
21564
 
############################################################
21565
 
 
21566
 
# Check for the math library.
21567
 
 
21568
 
{ echo "$as_me:$LINENO: checking for main in -lm" >&5
21569
 
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
21570
 
if test "${ac_cv_lib_m_main+set}" = set; then
21571
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21572
 
else
21573
 
  ac_check_lib_save_LIBS=$LIBS
21574
 
LIBS="-lm  $LIBS"
21575
 
cat >conftest.$ac_ext <<_ACEOF
21576
 
/* confdefs.h.  */
21577
 
_ACEOF
21578
 
cat confdefs.h >>conftest.$ac_ext
21579
 
cat >>conftest.$ac_ext <<_ACEOF
21580
 
/* end confdefs.h.  */
21581
 
 
21582
 
 
21583
 
int
21584
 
main ()
21585
 
{
21586
 
return main ();
21587
 
  ;
21588
 
  return 0;
21589
 
}
21590
 
_ACEOF
21591
 
rm -f conftest.$ac_objext conftest$ac_exeext
21592
 
if { (ac_try="$ac_link"
21593
 
case "(($ac_try" in
21594
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21595
 
  *) ac_try_echo=$ac_try;;
21596
 
esac
21597
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21598
 
  (eval "$ac_link") 2>conftest.er1
21599
 
  ac_status=$?
21600
 
  grep -v '^ *+' conftest.er1 >conftest.err
21601
 
  rm -f conftest.er1
21602
 
  cat conftest.err >&5
21603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604
 
  (exit $ac_status); } && {
21605
 
         test -z "$ac_c_werror_flag" ||
21606
 
         test ! -s conftest.err
21607
 
       } && test -s conftest$ac_exeext &&
21608
 
       $as_test_x conftest$ac_exeext; then
21609
 
  ac_cv_lib_m_main=yes
21610
 
else
21611
 
  echo "$as_me: failed program was:" >&5
21612
 
sed 's/^/| /' conftest.$ac_ext >&5
21613
 
 
21614
 
        ac_cv_lib_m_main=no
21615
 
fi
21616
 
 
21617
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21618
 
      conftest$ac_exeext conftest.$ac_ext
21619
 
LIBS=$ac_check_lib_save_LIBS
21620
 
fi
21621
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
21622
 
echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
21623
 
if test $ac_cv_lib_m_main = yes; then
21624
 
  cat >>confdefs.h <<_ACEOF
21625
 
@%:@define HAVE_LIBM 1
21626
 
_ACEOF
21627
 
 
21628
 
  LIBS="-lm $LIBS"
21629
 
 
21630
 
fi
21631
 
 
21632
 
 
21633
 
############################################################
21634
 
# Check for header files.
21635
 
############################################################
21636
 
 
21637
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21638
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21639
 
if test "${ac_cv_header_stdc+set}" = set; then
21640
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21641
 
else
21642
 
  cat >conftest.$ac_ext <<_ACEOF
21643
 
/* confdefs.h.  */
21644
 
_ACEOF
21645
 
cat confdefs.h >>conftest.$ac_ext
21646
 
cat >>conftest.$ac_ext <<_ACEOF
21647
 
/* end confdefs.h.  */
21648
 
#include <stdlib.h>
21649
 
#include <stdarg.h>
21650
 
#include <string.h>
21651
 
#include <float.h>
21652
 
 
21653
 
int
21654
 
main ()
21655
 
{
21656
 
 
21657
 
  ;
21658
 
  return 0;
21659
 
}
21660
 
_ACEOF
21661
 
rm -f conftest.$ac_objext
21662
 
if { (ac_try="$ac_compile"
21663
 
case "(($ac_try" in
21664
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21665
 
  *) ac_try_echo=$ac_try;;
21666
 
esac
21667
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21668
 
  (eval "$ac_compile") 2>conftest.er1
21669
 
  ac_status=$?
21670
 
  grep -v '^ *+' conftest.er1 >conftest.err
21671
 
  rm -f conftest.er1
21672
 
  cat conftest.err >&5
21673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674
 
  (exit $ac_status); } && {
21675
 
         test -z "$ac_c_werror_flag" ||
21676
 
         test ! -s conftest.err
21677
 
       } && test -s conftest.$ac_objext; then
21678
 
  ac_cv_header_stdc=yes
21679
 
else
21680
 
  echo "$as_me: failed program was:" >&5
21681
 
sed 's/^/| /' conftest.$ac_ext >&5
21682
 
 
21683
 
        ac_cv_header_stdc=no
21684
 
fi
21685
 
 
21686
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21687
 
 
21688
 
if test $ac_cv_header_stdc = yes; then
21689
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21690
 
  cat >conftest.$ac_ext <<_ACEOF
21691
 
/* confdefs.h.  */
21692
 
_ACEOF
21693
 
cat confdefs.h >>conftest.$ac_ext
21694
 
cat >>conftest.$ac_ext <<_ACEOF
21695
 
/* end confdefs.h.  */
21696
 
#include <string.h>
21697
 
 
21698
 
_ACEOF
21699
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21700
 
  $EGREP "memchr" >/dev/null 2>&1; then
21701
 
  :
21702
 
else
21703
 
  ac_cv_header_stdc=no
21704
 
fi
21705
 
rm -f conftest*
21706
 
 
21707
 
fi
21708
 
 
21709
 
if test $ac_cv_header_stdc = yes; then
21710
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21711
 
  cat >conftest.$ac_ext <<_ACEOF
21712
 
/* confdefs.h.  */
21713
 
_ACEOF
21714
 
cat confdefs.h >>conftest.$ac_ext
21715
 
cat >>conftest.$ac_ext <<_ACEOF
21716
 
/* end confdefs.h.  */
21717
 
#include <stdlib.h>
21718
 
 
21719
 
_ACEOF
21720
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21721
 
  $EGREP "free" >/dev/null 2>&1; then
21722
 
  :
21723
 
else
21724
 
  ac_cv_header_stdc=no
21725
 
fi
21726
 
rm -f conftest*
21727
 
 
21728
 
fi
21729
 
 
21730
 
if test $ac_cv_header_stdc = yes; then
21731
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21732
 
  if test "$cross_compiling" = yes; then
21733
 
  :
21734
 
else
21735
 
  cat >conftest.$ac_ext <<_ACEOF
21736
 
/* confdefs.h.  */
21737
 
_ACEOF
21738
 
cat confdefs.h >>conftest.$ac_ext
21739
 
cat >>conftest.$ac_ext <<_ACEOF
21740
 
/* end confdefs.h.  */
21741
 
#include <ctype.h>
21742
 
#include <stdlib.h>
21743
 
#if ((' ' & 0x0FF) == 0x020)
21744
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21745
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21746
 
#else
21747
 
# define ISLOWER(c) \
21748
 
                   (('a' <= (c) && (c) <= 'i') \
21749
 
                     || ('j' <= (c) && (c) <= 'r') \
21750
 
                     || ('s' <= (c) && (c) <= 'z'))
21751
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21752
 
#endif
21753
 
 
21754
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21755
 
int
21756
 
main ()
21757
 
{
21758
 
  int i;
21759
 
  for (i = 0; i < 256; i++)
21760
 
    if (XOR (islower (i), ISLOWER (i))
21761
 
        || toupper (i) != TOUPPER (i))
21762
 
      return 2;
21763
 
  return 0;
21764
 
}
21765
 
_ACEOF
21766
 
rm -f conftest$ac_exeext
21767
 
if { (ac_try="$ac_link"
21768
 
case "(($ac_try" in
21769
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21770
 
  *) ac_try_echo=$ac_try;;
21771
 
esac
21772
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21773
 
  (eval "$ac_link") 2>&5
21774
 
  ac_status=$?
21775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21777
 
  { (case "(($ac_try" in
21778
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21779
 
  *) ac_try_echo=$ac_try;;
21780
 
esac
21781
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21782
 
  (eval "$ac_try") 2>&5
21783
 
  ac_status=$?
21784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785
 
  (exit $ac_status); }; }; then
21786
 
  :
21787
 
else
21788
 
  echo "$as_me: program exited with status $ac_status" >&5
21789
 
echo "$as_me: failed program was:" >&5
21790
 
sed 's/^/| /' conftest.$ac_ext >&5
21791
 
 
21792
 
( exit $ac_status )
21793
 
ac_cv_header_stdc=no
21794
 
fi
21795
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21796
 
fi
21797
 
 
21798
 
 
21799
 
fi
21800
 
fi
21801
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21802
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21803
 
if test $ac_cv_header_stdc = yes; then
21804
 
  
21805
 
cat >>confdefs.h <<\_ACEOF
21806
 
@%:@define STDC_HEADERS 1
21807
 
_ACEOF
21808
 
 
21809
 
fi
21810
 
 
21811
 
 
21812
 
 
21813
 
 
21814
 
 
21815
 
 
21816
 
 
21817
 
 
21818
 
 
21819
 
 
21820
 
 
21821
 
for ac_header in fcntl.h limits.h unistd.h stdint.h stdbool.h io.h windows.h sys/types.h stdlib.h stddef.h
21822
 
do
21823
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21824
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21825
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21826
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21827
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21828
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21829
 
fi
21830
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21831
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21832
 
echo "${ECHO_T}$ac_res" >&6; }
21833
 
else
21834
 
  # Is the header compilable?
21835
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21836
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21837
 
cat >conftest.$ac_ext <<_ACEOF
21838
 
/* confdefs.h.  */
21839
 
_ACEOF
21840
 
cat confdefs.h >>conftest.$ac_ext
21841
 
cat >>conftest.$ac_ext <<_ACEOF
21842
 
/* end confdefs.h.  */
21843
 
$ac_includes_default
21844
 
@%:@include <$ac_header>
21845
 
_ACEOF
21846
 
rm -f conftest.$ac_objext
21847
 
if { (ac_try="$ac_compile"
21848
 
case "(($ac_try" in
21849
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21850
 
  *) ac_try_echo=$ac_try;;
21851
 
esac
21852
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21853
 
  (eval "$ac_compile") 2>conftest.er1
21854
 
  ac_status=$?
21855
 
  grep -v '^ *+' conftest.er1 >conftest.err
21856
 
  rm -f conftest.er1
21857
 
  cat conftest.err >&5
21858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859
 
  (exit $ac_status); } && {
21860
 
         test -z "$ac_c_werror_flag" ||
21861
 
         test ! -s conftest.err
21862
 
       } && test -s conftest.$ac_objext; then
21863
 
  ac_header_compiler=yes
21864
 
else
21865
 
  echo "$as_me: failed program was:" >&5
21866
 
sed 's/^/| /' conftest.$ac_ext >&5
21867
 
 
21868
 
        ac_header_compiler=no
21869
 
fi
21870
 
 
21871
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21872
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21873
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21874
 
 
21875
 
# Is the header present?
21876
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21877
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21878
 
cat >conftest.$ac_ext <<_ACEOF
21879
 
/* confdefs.h.  */
21880
 
_ACEOF
21881
 
cat confdefs.h >>conftest.$ac_ext
21882
 
cat >>conftest.$ac_ext <<_ACEOF
21883
 
/* end confdefs.h.  */
21884
 
@%:@include <$ac_header>
21885
 
_ACEOF
21886
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21887
 
case "(($ac_try" in
21888
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21889
 
  *) ac_try_echo=$ac_try;;
21890
 
esac
21891
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21892
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21893
 
  ac_status=$?
21894
 
  grep -v '^ *+' conftest.er1 >conftest.err
21895
 
  rm -f conftest.er1
21896
 
  cat conftest.err >&5
21897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21898
 
  (exit $ac_status); } >/dev/null && {
21899
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21900
 
         test ! -s conftest.err
21901
 
       }; then
21902
 
  ac_header_preproc=yes
21903
 
else
21904
 
  echo "$as_me: failed program was:" >&5
21905
 
sed 's/^/| /' conftest.$ac_ext >&5
21906
 
 
21907
 
  ac_header_preproc=no
21908
 
fi
21909
 
 
21910
 
rm -f conftest.err conftest.$ac_ext
21911
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21912
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21913
 
 
21914
 
# So?  What about this header?
21915
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21916
 
  yes:no: )
21917
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21918
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21919
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21920
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21921
 
    ac_header_preproc=yes
21922
 
    ;;
21923
 
  no:yes:* )
21924
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21925
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21926
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21927
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21928
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21929
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21930
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21931
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21932
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21933
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21934
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21935
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21936
 
    
21937
 
    ;;
21938
 
esac
21939
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21940
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21941
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21942
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21943
 
else
21944
 
  eval "$as_ac_Header=\$ac_header_preproc"
21945
 
fi
21946
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21947
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21948
 
echo "${ECHO_T}$ac_res" >&6; }
21949
 
 
21950
 
fi
21951
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21952
 
  cat >>confdefs.h <<_ACEOF
21953
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21954
 
_ACEOF
21955
 
 
21956
 
fi
21957
 
 
21958
 
done
21959
 
 
21960
 
 
21961
 
############################################################
21962
 
# Check for typedefs, structures, and compiler characteristics.
21963
 
############################################################
21964
 
 
21965
 
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21966
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
21967
 
if test "${ac_cv_c_bigendian+set}" = set; then
21968
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21969
 
else
21970
 
  # See if sys/param.h defines the BYTE_ORDER macro.
21971
 
cat >conftest.$ac_ext <<_ACEOF
21972
 
/* confdefs.h.  */
21973
 
_ACEOF
21974
 
cat confdefs.h >>conftest.$ac_ext
21975
 
cat >>conftest.$ac_ext <<_ACEOF
21976
 
/* end confdefs.h.  */
21977
 
#include <sys/types.h>
21978
 
#include <sys/param.h>
21979
 
 
21980
 
int
21981
 
main ()
21982
 
{
21983
 
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
21984
 
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
21985
 
 bogus endian macros
21986
 
#endif
21987
 
 
21988
 
  ;
21989
 
  return 0;
21990
 
}
21991
 
_ACEOF
21992
 
rm -f conftest.$ac_objext
21993
 
if { (ac_try="$ac_compile"
21994
 
case "(($ac_try" in
21995
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21996
 
  *) ac_try_echo=$ac_try;;
21997
 
esac
21998
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21999
 
  (eval "$ac_compile") 2>conftest.er1
22000
 
  ac_status=$?
22001
 
  grep -v '^ *+' conftest.er1 >conftest.err
22002
 
  rm -f conftest.er1
22003
 
  cat conftest.err >&5
22004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005
 
  (exit $ac_status); } && {
22006
 
         test -z "$ac_c_werror_flag" ||
22007
 
         test ! -s conftest.err
22008
 
       } && test -s conftest.$ac_objext; then
22009
 
  # It does; now see whether it defined to BIG_ENDIAN or not.
22010
 
cat >conftest.$ac_ext <<_ACEOF
22011
 
/* confdefs.h.  */
22012
 
_ACEOF
22013
 
cat confdefs.h >>conftest.$ac_ext
22014
 
cat >>conftest.$ac_ext <<_ACEOF
22015
 
/* end confdefs.h.  */
22016
 
#include <sys/types.h>
22017
 
#include <sys/param.h>
22018
 
 
22019
 
int
22020
 
main ()
22021
 
{
22022
 
#if BYTE_ORDER != BIG_ENDIAN
22023
 
 not big endian
22024
 
#endif
22025
 
 
22026
 
  ;
22027
 
  return 0;
22028
 
}
22029
 
_ACEOF
22030
 
rm -f conftest.$ac_objext
22031
 
if { (ac_try="$ac_compile"
22032
 
case "(($ac_try" in
22033
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22034
 
  *) ac_try_echo=$ac_try;;
22035
 
esac
22036
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22037
 
  (eval "$ac_compile") 2>conftest.er1
22038
 
  ac_status=$?
22039
 
  grep -v '^ *+' conftest.er1 >conftest.err
22040
 
  rm -f conftest.er1
22041
 
  cat conftest.err >&5
22042
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043
 
  (exit $ac_status); } && {
22044
 
         test -z "$ac_c_werror_flag" ||
22045
 
         test ! -s conftest.err
22046
 
       } && test -s conftest.$ac_objext; then
22047
 
  ac_cv_c_bigendian=yes
22048
 
else
22049
 
  echo "$as_me: failed program was:" >&5
22050
 
sed 's/^/| /' conftest.$ac_ext >&5
22051
 
 
22052
 
        ac_cv_c_bigendian=no
22053
 
fi
22054
 
 
22055
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22056
 
else
22057
 
  echo "$as_me: failed program was:" >&5
22058
 
sed 's/^/| /' conftest.$ac_ext >&5
22059
 
 
22060
 
        # It does not; compile a test program.
22061
 
if test "$cross_compiling" = yes; then
22062
 
  # try to guess the endianness by grepping values into an object file
22063
 
  ac_cv_c_bigendian=unknown
22064
 
  cat >conftest.$ac_ext <<_ACEOF
22065
 
/* confdefs.h.  */
22066
 
_ACEOF
22067
 
cat confdefs.h >>conftest.$ac_ext
22068
 
cat >>conftest.$ac_ext <<_ACEOF
22069
 
/* end confdefs.h.  */
22070
 
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
22071
 
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
22072
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
22073
 
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
22074
 
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
22075
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
22076
 
int
22077
 
main ()
22078
 
{
22079
 
 _ascii (); _ebcdic (); 
22080
 
  ;
22081
 
  return 0;
22082
 
}
22083
 
_ACEOF
22084
 
rm -f conftest.$ac_objext
22085
 
if { (ac_try="$ac_compile"
22086
 
case "(($ac_try" in
22087
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22088
 
  *) ac_try_echo=$ac_try;;
22089
 
esac
22090
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22091
 
  (eval "$ac_compile") 2>conftest.er1
22092
 
  ac_status=$?
22093
 
  grep -v '^ *+' conftest.er1 >conftest.err
22094
 
  rm -f conftest.er1
22095
 
  cat conftest.err >&5
22096
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097
 
  (exit $ac_status); } && {
22098
 
         test -z "$ac_c_werror_flag" ||
22099
 
         test ! -s conftest.err
22100
 
       } && test -s conftest.$ac_objext; then
22101
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
22102
 
  ac_cv_c_bigendian=yes
22103
 
fi
22104
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
22105
 
  if test "$ac_cv_c_bigendian" = unknown; then
22106
 
    ac_cv_c_bigendian=no
22107
 
  else
22108
 
    # finding both strings is unlikely to happen, but who knows?
22109
 
    ac_cv_c_bigendian=unknown
22110
 
  fi
22111
 
fi
22112
 
else
22113
 
  echo "$as_me: failed program was:" >&5
22114
 
sed 's/^/| /' conftest.$ac_ext >&5
22115
 
 
22116
 
        
22117
 
fi
22118
 
 
22119
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22120
 
else
22121
 
  cat >conftest.$ac_ext <<_ACEOF
22122
 
/* confdefs.h.  */
22123
 
_ACEOF
22124
 
cat confdefs.h >>conftest.$ac_ext
22125
 
cat >>conftest.$ac_ext <<_ACEOF
22126
 
/* end confdefs.h.  */
22127
 
$ac_includes_default
22128
 
int
22129
 
main ()
22130
 
{
22131
 
 
22132
 
  /* Are we little or big endian?  From Harbison&Steele.  */
22133
 
  union
22134
 
  {
22135
 
    long int l;
22136
 
    char c[sizeof (long int)];
22137
 
  } u;
22138
 
  u.l = 1;
22139
 
  return u.c[sizeof (long int) - 1] == 1;
22140
 
 
22141
 
  ;
22142
 
  return 0;
22143
 
}
22144
 
_ACEOF
22145
 
rm -f conftest$ac_exeext
22146
 
if { (ac_try="$ac_link"
22147
 
case "(($ac_try" in
22148
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22149
 
  *) ac_try_echo=$ac_try;;
22150
 
esac
22151
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22152
 
  (eval "$ac_link") 2>&5
22153
 
  ac_status=$?
22154
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22156
 
  { (case "(($ac_try" in
22157
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22158
 
  *) ac_try_echo=$ac_try;;
22159
 
esac
22160
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22161
 
  (eval "$ac_try") 2>&5
22162
 
  ac_status=$?
22163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164
 
  (exit $ac_status); }; }; then
22165
 
  ac_cv_c_bigendian=no
22166
 
else
22167
 
  echo "$as_me: program exited with status $ac_status" >&5
22168
 
echo "$as_me: failed program was:" >&5
22169
 
sed 's/^/| /' conftest.$ac_ext >&5
22170
 
 
22171
 
( exit $ac_status )
22172
 
ac_cv_c_bigendian=yes
22173
 
fi
22174
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22175
 
fi
22176
 
 
22177
 
 
22178
 
fi
22179
 
 
22180
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22181
 
fi
22182
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22183
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22184
 
case $ac_cv_c_bigendian in
22185
 
  yes)
22186
 
    
22187
 
cat >>confdefs.h <<\_ACEOF
22188
 
@%:@define WORDS_BIGENDIAN 1
22189
 
_ACEOF
22190
 
 ;;
22191
 
  no)
22192
 
     ;;
22193
 
  *)
22194
 
    { { echo "$as_me:$LINENO: error: unknown endianness
22195
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
22196
 
echo "$as_me: error: unknown endianness
22197
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
22198
 
   { (exit 1); exit 1; }; } ;;
22199
 
esac
22200
 
 
22201
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
22202
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
22203
 
if test "${ac_cv_c_const+set}" = set; then
22204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22205
 
else
22206
 
  cat >conftest.$ac_ext <<_ACEOF
22207
 
/* confdefs.h.  */
22208
 
_ACEOF
22209
 
cat confdefs.h >>conftest.$ac_ext
22210
 
cat >>conftest.$ac_ext <<_ACEOF
22211
 
/* end confdefs.h.  */
22212
 
 
22213
 
int
22214
 
main ()
22215
 
{
22216
 
/* FIXME: Include the comments suggested by Paul. */
22217
 
#ifndef __cplusplus
22218
 
  /* Ultrix mips cc rejects this.  */
22219
 
  typedef int charset[2];
22220
 
  const charset cs;
22221
 
  /* SunOS 4.1.1 cc rejects this.  */
22222
 
  char const *const *pcpcc;
22223
 
  char **ppc;
22224
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
22225
 
  struct point {int x, y;};
22226
 
  static struct point const zero = {0,0};
22227
 
  /* AIX XL C 1.02.0.0 rejects this.
22228
 
     It does not let you subtract one const X* pointer from another in
22229
 
     an arm of an if-expression whose if-part is not a constant
22230
 
     expression */
22231
 
  const char *g = "string";
22232
 
  pcpcc = &g + (g ? g-g : 0);
22233
 
  /* HPUX 7.0 cc rejects these. */
22234
 
  ++pcpcc;
22235
 
  ppc = (char**) pcpcc;
22236
 
  pcpcc = (char const *const *) ppc;
22237
 
  { /* SCO 3.2v4 cc rejects this.  */
22238
 
    char *t;
22239
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
22240
 
 
22241
 
    *t++ = 0;
22242
 
    if (s) return 0;
22243
 
  }
22244
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
22245
 
    int x[] = {25, 17};
22246
 
    const int *foo = &x[0];
22247
 
    ++foo;
22248
 
  }
22249
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
22250
 
    typedef const int *iptr;
22251
 
    iptr p = 0;
22252
 
    ++p;
22253
 
  }
22254
 
  { /* AIX XL C 1.02.0.0 rejects this saying
22255
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
22256
 
    struct s { int j; const int *ap[3]; };
22257
 
    struct s *b; b->j = 5;
22258
 
  }
22259
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
22260
 
    const int foo = 10;
22261
 
    if (!foo) return 0;
22262
 
  }
22263
 
  return !cs[0] && !zero.x;
22264
 
#endif
22265
 
 
22266
 
  ;
22267
 
  return 0;
22268
 
}
22269
 
_ACEOF
22270
 
rm -f conftest.$ac_objext
22271
 
if { (ac_try="$ac_compile"
22272
 
case "(($ac_try" in
22273
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22274
 
  *) ac_try_echo=$ac_try;;
22275
 
esac
22276
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22277
 
  (eval "$ac_compile") 2>conftest.er1
22278
 
  ac_status=$?
22279
 
  grep -v '^ *+' conftest.er1 >conftest.err
22280
 
  rm -f conftest.er1
22281
 
  cat conftest.err >&5
22282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283
 
  (exit $ac_status); } && {
22284
 
         test -z "$ac_c_werror_flag" ||
22285
 
         test ! -s conftest.err
22286
 
       } && test -s conftest.$ac_objext; then
22287
 
  ac_cv_c_const=yes
22288
 
else
22289
 
  echo "$as_me: failed program was:" >&5
22290
 
sed 's/^/| /' conftest.$ac_ext >&5
22291
 
 
22292
 
        ac_cv_c_const=no
22293
 
fi
22294
 
 
22295
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22296
 
fi
22297
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
22298
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
22299
 
if test $ac_cv_c_const = no; then
22300
 
  
22301
 
cat >>confdefs.h <<\_ACEOF
22302
 
@%:@define const 
22303
 
_ACEOF
22304
 
 
22305
 
fi
22306
 
 
22307
 
{ echo "$as_me:$LINENO: checking for inline" >&5
22308
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
22309
 
if test "${ac_cv_c_inline+set}" = set; then
22310
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22311
 
else
22312
 
  ac_cv_c_inline=no
22313
 
for ac_kw in inline __inline__ __inline; do
22314
 
  cat >conftest.$ac_ext <<_ACEOF
22315
 
/* confdefs.h.  */
22316
 
_ACEOF
22317
 
cat confdefs.h >>conftest.$ac_ext
22318
 
cat >>conftest.$ac_ext <<_ACEOF
22319
 
/* end confdefs.h.  */
22320
 
#ifndef __cplusplus
22321
 
typedef int foo_t;
22322
 
static $ac_kw foo_t static_foo () {return 0; }
22323
 
$ac_kw foo_t foo () {return 0; }
22324
 
#endif
22325
 
 
22326
 
_ACEOF
22327
 
rm -f conftest.$ac_objext
22328
 
if { (ac_try="$ac_compile"
22329
 
case "(($ac_try" in
22330
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22331
 
  *) ac_try_echo=$ac_try;;
22332
 
esac
22333
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22334
 
  (eval "$ac_compile") 2>conftest.er1
22335
 
  ac_status=$?
22336
 
  grep -v '^ *+' conftest.er1 >conftest.err
22337
 
  rm -f conftest.er1
22338
 
  cat conftest.err >&5
22339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340
 
  (exit $ac_status); } && {
22341
 
         test -z "$ac_c_werror_flag" ||
22342
 
         test ! -s conftest.err
22343
 
       } && test -s conftest.$ac_objext; then
22344
 
  ac_cv_c_inline=$ac_kw
22345
 
else
22346
 
  echo "$as_me: failed program was:" >&5
22347
 
sed 's/^/| /' conftest.$ac_ext >&5
22348
 
 
22349
 
        
22350
 
fi
22351
 
 
22352
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22353
 
  test "$ac_cv_c_inline" != no && break
22354
 
done
22355
 
 
22356
 
fi
22357
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
22358
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
22359
 
 
22360
 
 
22361
 
case $ac_cv_c_inline in
22362
 
  inline | yes) ;;
22363
 
  *)
22364
 
    case $ac_cv_c_inline in
22365
 
      no) ac_val=;;
22366
 
      *) ac_val=$ac_cv_c_inline;;
22367
 
    esac
22368
 
    cat >>confdefs.h <<_ACEOF
22369
 
#ifndef __cplusplus
22370
 
#define inline $ac_val
22371
 
#endif
22372
 
_ACEOF
22373
 
    ;;
22374
 
esac
22375
 
 
22376
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
22377
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22378
 
if test "${ac_cv_type_size_t+set}" = set; then
22379
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22380
 
else
22381
 
  cat >conftest.$ac_ext <<_ACEOF
22382
 
/* confdefs.h.  */
22383
 
_ACEOF
22384
 
cat confdefs.h >>conftest.$ac_ext
22385
 
cat >>conftest.$ac_ext <<_ACEOF
22386
 
/* end confdefs.h.  */
22387
 
$ac_includes_default
22388
 
typedef size_t ac__type_new_;
22389
 
int
22390
 
main ()
22391
 
{
22392
 
if ((ac__type_new_ *) 0)
22393
 
  return 0;
22394
 
if (sizeof (ac__type_new_))
22395
 
  return 0;
22396
 
  ;
22397
 
  return 0;
22398
 
}
22399
 
_ACEOF
22400
 
rm -f conftest.$ac_objext
22401
 
if { (ac_try="$ac_compile"
22402
 
case "(($ac_try" in
22403
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22404
 
  *) ac_try_echo=$ac_try;;
22405
 
esac
22406
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22407
 
  (eval "$ac_compile") 2>conftest.er1
22408
 
  ac_status=$?
22409
 
  grep -v '^ *+' conftest.er1 >conftest.err
22410
 
  rm -f conftest.er1
22411
 
  cat conftest.err >&5
22412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413
 
  (exit $ac_status); } && {
22414
 
         test -z "$ac_c_werror_flag" ||
22415
 
         test ! -s conftest.err
22416
 
       } && test -s conftest.$ac_objext; then
22417
 
  ac_cv_type_size_t=yes
22418
 
else
22419
 
  echo "$as_me: failed program was:" >&5
22420
 
sed 's/^/| /' conftest.$ac_ext >&5
22421
 
 
22422
 
        ac_cv_type_size_t=no
22423
 
fi
22424
 
 
22425
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22426
 
fi
22427
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22428
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22429
 
if test $ac_cv_type_size_t = yes; then
22430
 
  :
22431
 
else
22432
 
  
22433
 
cat >>confdefs.h <<_ACEOF
22434
 
@%:@define size_t unsigned int
22435
 
_ACEOF
22436
 
 
22437
 
fi
22438
 
 
22439
 
{ echo "$as_me:$LINENO: checking for short" >&5
22440
 
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
22441
 
if test "${ac_cv_type_short+set}" = set; then
22442
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22443
 
else
22444
 
  cat >conftest.$ac_ext <<_ACEOF
22445
 
/* confdefs.h.  */
22446
 
_ACEOF
22447
 
cat confdefs.h >>conftest.$ac_ext
22448
 
cat >>conftest.$ac_ext <<_ACEOF
22449
 
/* end confdefs.h.  */
22450
 
$ac_includes_default
22451
 
typedef short ac__type_new_;
22452
 
int
22453
 
main ()
22454
 
{
22455
 
if ((ac__type_new_ *) 0)
22456
 
  return 0;
22457
 
if (sizeof (ac__type_new_))
22458
 
  return 0;
22459
 
  ;
22460
 
  return 0;
22461
 
}
22462
 
_ACEOF
22463
 
rm -f conftest.$ac_objext
22464
 
if { (ac_try="$ac_compile"
22465
 
case "(($ac_try" in
22466
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467
 
  *) ac_try_echo=$ac_try;;
22468
 
esac
22469
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470
 
  (eval "$ac_compile") 2>conftest.er1
22471
 
  ac_status=$?
22472
 
  grep -v '^ *+' conftest.er1 >conftest.err
22473
 
  rm -f conftest.er1
22474
 
  cat conftest.err >&5
22475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476
 
  (exit $ac_status); } && {
22477
 
         test -z "$ac_c_werror_flag" ||
22478
 
         test ! -s conftest.err
22479
 
       } && test -s conftest.$ac_objext; then
22480
 
  ac_cv_type_short=yes
22481
 
else
22482
 
  echo "$as_me: failed program was:" >&5
22483
 
sed 's/^/| /' conftest.$ac_ext >&5
22484
 
 
22485
 
        ac_cv_type_short=no
22486
 
fi
22487
 
 
22488
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489
 
fi
22490
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
22491
 
echo "${ECHO_T}$ac_cv_type_short" >&6; }
22492
 
 
22493
 
# The cast to long int works around a bug in the HP C Compiler
22494
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22495
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22496
 
# This bug is HP SR number 8606223364.
22497
 
{ echo "$as_me:$LINENO: checking size of short" >&5
22498
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
22499
 
if test "${ac_cv_sizeof_short+set}" = set; then
22500
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22501
 
else
22502
 
  if test "$cross_compiling" = yes; then
22503
 
  # Depending upon the size, compute the lo and hi bounds.
22504
 
cat >conftest.$ac_ext <<_ACEOF
22505
 
/* confdefs.h.  */
22506
 
_ACEOF
22507
 
cat confdefs.h >>conftest.$ac_ext
22508
 
cat >>conftest.$ac_ext <<_ACEOF
22509
 
/* end confdefs.h.  */
22510
 
$ac_includes_default
22511
 
   typedef short ac__type_sizeof_;
22512
 
int
22513
 
main ()
22514
 
{
22515
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
22516
 
test_array @<:@0@:>@ = 0
22517
 
 
22518
 
  ;
22519
 
  return 0;
22520
 
}
22521
 
_ACEOF
22522
 
rm -f conftest.$ac_objext
22523
 
if { (ac_try="$ac_compile"
22524
 
case "(($ac_try" in
22525
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22526
 
  *) ac_try_echo=$ac_try;;
22527
 
esac
22528
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529
 
  (eval "$ac_compile") 2>conftest.er1
22530
 
  ac_status=$?
22531
 
  grep -v '^ *+' conftest.er1 >conftest.err
22532
 
  rm -f conftest.er1
22533
 
  cat conftest.err >&5
22534
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535
 
  (exit $ac_status); } && {
22536
 
         test -z "$ac_c_werror_flag" ||
22537
 
         test ! -s conftest.err
22538
 
       } && test -s conftest.$ac_objext; then
22539
 
  ac_lo=0 ac_mid=0
22540
 
  while :; do
22541
 
    cat >conftest.$ac_ext <<_ACEOF
22542
 
/* confdefs.h.  */
22543
 
_ACEOF
22544
 
cat confdefs.h >>conftest.$ac_ext
22545
 
cat >>conftest.$ac_ext <<_ACEOF
22546
 
/* end confdefs.h.  */
22547
 
$ac_includes_default
22548
 
   typedef short ac__type_sizeof_;
22549
 
int
22550
 
main ()
22551
 
{
22552
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
22553
 
test_array @<:@0@:>@ = 0
22554
 
 
22555
 
  ;
22556
 
  return 0;
22557
 
}
22558
 
_ACEOF
22559
 
rm -f conftest.$ac_objext
22560
 
if { (ac_try="$ac_compile"
22561
 
case "(($ac_try" in
22562
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22563
 
  *) ac_try_echo=$ac_try;;
22564
 
esac
22565
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22566
 
  (eval "$ac_compile") 2>conftest.er1
22567
 
  ac_status=$?
22568
 
  grep -v '^ *+' conftest.er1 >conftest.err
22569
 
  rm -f conftest.er1
22570
 
  cat conftest.err >&5
22571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572
 
  (exit $ac_status); } && {
22573
 
         test -z "$ac_c_werror_flag" ||
22574
 
         test ! -s conftest.err
22575
 
       } && test -s conftest.$ac_objext; then
22576
 
  ac_hi=$ac_mid; break
22577
 
else
22578
 
  echo "$as_me: failed program was:" >&5
22579
 
sed 's/^/| /' conftest.$ac_ext >&5
22580
 
 
22581
 
        ac_lo=`expr $ac_mid + 1`
22582
 
                        if test $ac_lo -le $ac_mid; then
22583
 
                          ac_lo= ac_hi=
22584
 
                          break
22585
 
                        fi
22586
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
22587
 
fi
22588
 
 
22589
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590
 
  done
22591
 
else
22592
 
  echo "$as_me: failed program was:" >&5
22593
 
sed 's/^/| /' conftest.$ac_ext >&5
22594
 
 
22595
 
        cat >conftest.$ac_ext <<_ACEOF
22596
 
/* confdefs.h.  */
22597
 
_ACEOF
22598
 
cat confdefs.h >>conftest.$ac_ext
22599
 
cat >>conftest.$ac_ext <<_ACEOF
22600
 
/* end confdefs.h.  */
22601
 
$ac_includes_default
22602
 
   typedef short ac__type_sizeof_;
22603
 
int
22604
 
main ()
22605
 
{
22606
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
22607
 
test_array @<:@0@:>@ = 0
22608
 
 
22609
 
  ;
22610
 
  return 0;
22611
 
}
22612
 
_ACEOF
22613
 
rm -f conftest.$ac_objext
22614
 
if { (ac_try="$ac_compile"
22615
 
case "(($ac_try" in
22616
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22617
 
  *) ac_try_echo=$ac_try;;
22618
 
esac
22619
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22620
 
  (eval "$ac_compile") 2>conftest.er1
22621
 
  ac_status=$?
22622
 
  grep -v '^ *+' conftest.er1 >conftest.err
22623
 
  rm -f conftest.er1
22624
 
  cat conftest.err >&5
22625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626
 
  (exit $ac_status); } && {
22627
 
         test -z "$ac_c_werror_flag" ||
22628
 
         test ! -s conftest.err
22629
 
       } && test -s conftest.$ac_objext; then
22630
 
  ac_hi=-1 ac_mid=-1
22631
 
  while :; do
22632
 
    cat >conftest.$ac_ext <<_ACEOF
22633
 
/* confdefs.h.  */
22634
 
_ACEOF
22635
 
cat confdefs.h >>conftest.$ac_ext
22636
 
cat >>conftest.$ac_ext <<_ACEOF
22637
 
/* end confdefs.h.  */
22638
 
$ac_includes_default
22639
 
   typedef short ac__type_sizeof_;
22640
 
int
22641
 
main ()
22642
 
{
22643
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
22644
 
test_array @<:@0@:>@ = 0
22645
 
 
22646
 
  ;
22647
 
  return 0;
22648
 
}
22649
 
_ACEOF
22650
 
rm -f conftest.$ac_objext
22651
 
if { (ac_try="$ac_compile"
22652
 
case "(($ac_try" in
22653
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22654
 
  *) ac_try_echo=$ac_try;;
22655
 
esac
22656
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22657
 
  (eval "$ac_compile") 2>conftest.er1
22658
 
  ac_status=$?
22659
 
  grep -v '^ *+' conftest.er1 >conftest.err
22660
 
  rm -f conftest.er1
22661
 
  cat conftest.err >&5
22662
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663
 
  (exit $ac_status); } && {
22664
 
         test -z "$ac_c_werror_flag" ||
22665
 
         test ! -s conftest.err
22666
 
       } && test -s conftest.$ac_objext; then
22667
 
  ac_lo=$ac_mid; break
22668
 
else
22669
 
  echo "$as_me: failed program was:" >&5
22670
 
sed 's/^/| /' conftest.$ac_ext >&5
22671
 
 
22672
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
22673
 
                        if test $ac_mid -le $ac_hi; then
22674
 
                          ac_lo= ac_hi=
22675
 
                          break
22676
 
                        fi
22677
 
                        ac_mid=`expr 2 '*' $ac_mid`
22678
 
fi
22679
 
 
22680
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681
 
  done
22682
 
else
22683
 
  echo "$as_me: failed program was:" >&5
22684
 
sed 's/^/| /' conftest.$ac_ext >&5
22685
 
 
22686
 
        ac_lo= ac_hi=
22687
 
fi
22688
 
 
22689
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22690
 
fi
22691
 
 
22692
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22693
 
# Binary search between lo and hi bounds.
22694
 
while test "x$ac_lo" != "x$ac_hi"; do
22695
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22696
 
  cat >conftest.$ac_ext <<_ACEOF
22697
 
/* confdefs.h.  */
22698
 
_ACEOF
22699
 
cat confdefs.h >>conftest.$ac_ext
22700
 
cat >>conftest.$ac_ext <<_ACEOF
22701
 
/* end confdefs.h.  */
22702
 
$ac_includes_default
22703
 
   typedef short ac__type_sizeof_;
22704
 
int
22705
 
main ()
22706
 
{
22707
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
22708
 
test_array @<:@0@:>@ = 0
22709
 
 
22710
 
  ;
22711
 
  return 0;
22712
 
}
22713
 
_ACEOF
22714
 
rm -f conftest.$ac_objext
22715
 
if { (ac_try="$ac_compile"
22716
 
case "(($ac_try" in
22717
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22718
 
  *) ac_try_echo=$ac_try;;
22719
 
esac
22720
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721
 
  (eval "$ac_compile") 2>conftest.er1
22722
 
  ac_status=$?
22723
 
  grep -v '^ *+' conftest.er1 >conftest.err
22724
 
  rm -f conftest.er1
22725
 
  cat conftest.err >&5
22726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727
 
  (exit $ac_status); } && {
22728
 
         test -z "$ac_c_werror_flag" ||
22729
 
         test ! -s conftest.err
22730
 
       } && test -s conftest.$ac_objext; then
22731
 
  ac_hi=$ac_mid
22732
 
else
22733
 
  echo "$as_me: failed program was:" >&5
22734
 
sed 's/^/| /' conftest.$ac_ext >&5
22735
 
 
22736
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
22737
 
fi
22738
 
 
22739
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22740
 
done
22741
 
case $ac_lo in
22742
 
?*) ac_cv_sizeof_short=$ac_lo;;
22743
 
'') if test "$ac_cv_type_short" = yes; then
22744
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22745
 
See \`config.log' for more details." >&5
22746
 
echo "$as_me: error: cannot compute sizeof (short)
22747
 
See \`config.log' for more details." >&2;}
22748
 
   { (exit 77); exit 77; }; }
22749
 
   else
22750
 
     ac_cv_sizeof_short=0
22751
 
   fi ;;
22752
 
esac
22753
 
else
22754
 
  cat >conftest.$ac_ext <<_ACEOF
22755
 
/* confdefs.h.  */
22756
 
_ACEOF
22757
 
cat confdefs.h >>conftest.$ac_ext
22758
 
cat >>conftest.$ac_ext <<_ACEOF
22759
 
/* end confdefs.h.  */
22760
 
$ac_includes_default
22761
 
   typedef short ac__type_sizeof_;
22762
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22763
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22764
 
@%:@include <stdio.h>
22765
 
@%:@include <stdlib.h>
22766
 
int
22767
 
main ()
22768
 
{
22769
 
 
22770
 
  FILE *f = fopen ("conftest.val", "w");
22771
 
  if (! f)
22772
 
    return 1;
22773
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22774
 
    {
22775
 
      long int i = longval ();
22776
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
22777
 
        return 1;
22778
 
      fprintf (f, "%ld\n", i);
22779
 
    }
22780
 
  else
22781
 
    {
22782
 
      unsigned long int i = ulongval ();
22783
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
22784
 
        return 1;
22785
 
      fprintf (f, "%lu\n", i);
22786
 
    }
22787
 
  return ferror (f) || fclose (f) != 0;
22788
 
 
22789
 
  ;
22790
 
  return 0;
22791
 
}
22792
 
_ACEOF
22793
 
rm -f conftest$ac_exeext
22794
 
if { (ac_try="$ac_link"
22795
 
case "(($ac_try" in
22796
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22797
 
  *) ac_try_echo=$ac_try;;
22798
 
esac
22799
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22800
 
  (eval "$ac_link") 2>&5
22801
 
  ac_status=$?
22802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22804
 
  { (case "(($ac_try" in
22805
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22806
 
  *) ac_try_echo=$ac_try;;
22807
 
esac
22808
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22809
 
  (eval "$ac_try") 2>&5
22810
 
  ac_status=$?
22811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812
 
  (exit $ac_status); }; }; then
22813
 
  ac_cv_sizeof_short=`cat conftest.val`
22814
 
else
22815
 
  echo "$as_me: program exited with status $ac_status" >&5
22816
 
echo "$as_me: failed program was:" >&5
22817
 
sed 's/^/| /' conftest.$ac_ext >&5
22818
 
 
22819
 
( exit $ac_status )
22820
 
if test "$ac_cv_type_short" = yes; then
22821
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22822
 
See \`config.log' for more details." >&5
22823
 
echo "$as_me: error: cannot compute sizeof (short)
22824
 
See \`config.log' for more details." >&2;}
22825
 
   { (exit 77); exit 77; }; }
22826
 
   else
22827
 
     ac_cv_sizeof_short=0
22828
 
   fi
22829
 
fi
22830
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22831
 
fi
22832
 
rm -f conftest.val
22833
 
fi
22834
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22835
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22836
 
 
22837
 
 
22838
 
 
22839
 
cat >>confdefs.h <<_ACEOF
22840
 
@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
22841
 
_ACEOF
22842
 
 
22843
 
 
22844
 
{ echo "$as_me:$LINENO: checking for unsigned short" >&5
22845
 
echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
22846
 
if test "${ac_cv_type_unsigned_short+set}" = set; then
22847
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22848
 
else
22849
 
  cat >conftest.$ac_ext <<_ACEOF
22850
 
/* confdefs.h.  */
22851
 
_ACEOF
22852
 
cat confdefs.h >>conftest.$ac_ext
22853
 
cat >>conftest.$ac_ext <<_ACEOF
22854
 
/* end confdefs.h.  */
22855
 
$ac_includes_default
22856
 
typedef unsigned short ac__type_new_;
22857
 
int
22858
 
main ()
22859
 
{
22860
 
if ((ac__type_new_ *) 0)
22861
 
  return 0;
22862
 
if (sizeof (ac__type_new_))
22863
 
  return 0;
22864
 
  ;
22865
 
  return 0;
22866
 
}
22867
 
_ACEOF
22868
 
rm -f conftest.$ac_objext
22869
 
if { (ac_try="$ac_compile"
22870
 
case "(($ac_try" in
22871
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22872
 
  *) ac_try_echo=$ac_try;;
22873
 
esac
22874
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22875
 
  (eval "$ac_compile") 2>conftest.er1
22876
 
  ac_status=$?
22877
 
  grep -v '^ *+' conftest.er1 >conftest.err
22878
 
  rm -f conftest.er1
22879
 
  cat conftest.err >&5
22880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881
 
  (exit $ac_status); } && {
22882
 
         test -z "$ac_c_werror_flag" ||
22883
 
         test ! -s conftest.err
22884
 
       } && test -s conftest.$ac_objext; then
22885
 
  ac_cv_type_unsigned_short=yes
22886
 
else
22887
 
  echo "$as_me: failed program was:" >&5
22888
 
sed 's/^/| /' conftest.$ac_ext >&5
22889
 
 
22890
 
        ac_cv_type_unsigned_short=no
22891
 
fi
22892
 
 
22893
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22894
 
fi
22895
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
22896
 
echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
22897
 
 
22898
 
# The cast to long int works around a bug in the HP C Compiler
22899
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22900
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22901
 
# This bug is HP SR number 8606223364.
22902
 
{ echo "$as_me:$LINENO: checking size of unsigned short" >&5
22903
 
echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
22904
 
if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
22905
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22906
 
else
22907
 
  if test "$cross_compiling" = yes; then
22908
 
  # Depending upon the size, compute the lo and hi bounds.
22909
 
cat >conftest.$ac_ext <<_ACEOF
22910
 
/* confdefs.h.  */
22911
 
_ACEOF
22912
 
cat confdefs.h >>conftest.$ac_ext
22913
 
cat >>conftest.$ac_ext <<_ACEOF
22914
 
/* end confdefs.h.  */
22915
 
$ac_includes_default
22916
 
   typedef unsigned short ac__type_sizeof_;
22917
 
int
22918
 
main ()
22919
 
{
22920
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
22921
 
test_array @<:@0@:>@ = 0
22922
 
 
22923
 
  ;
22924
 
  return 0;
22925
 
}
22926
 
_ACEOF
22927
 
rm -f conftest.$ac_objext
22928
 
if { (ac_try="$ac_compile"
22929
 
case "(($ac_try" in
22930
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22931
 
  *) ac_try_echo=$ac_try;;
22932
 
esac
22933
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22934
 
  (eval "$ac_compile") 2>conftest.er1
22935
 
  ac_status=$?
22936
 
  grep -v '^ *+' conftest.er1 >conftest.err
22937
 
  rm -f conftest.er1
22938
 
  cat conftest.err >&5
22939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940
 
  (exit $ac_status); } && {
22941
 
         test -z "$ac_c_werror_flag" ||
22942
 
         test ! -s conftest.err
22943
 
       } && test -s conftest.$ac_objext; then
22944
 
  ac_lo=0 ac_mid=0
22945
 
  while :; do
22946
 
    cat >conftest.$ac_ext <<_ACEOF
22947
 
/* confdefs.h.  */
22948
 
_ACEOF
22949
 
cat confdefs.h >>conftest.$ac_ext
22950
 
cat >>conftest.$ac_ext <<_ACEOF
22951
 
/* end confdefs.h.  */
22952
 
$ac_includes_default
22953
 
   typedef unsigned short ac__type_sizeof_;
22954
 
int
22955
 
main ()
22956
 
{
22957
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
22958
 
test_array @<:@0@:>@ = 0
22959
 
 
22960
 
  ;
22961
 
  return 0;
22962
 
}
22963
 
_ACEOF
22964
 
rm -f conftest.$ac_objext
22965
 
if { (ac_try="$ac_compile"
22966
 
case "(($ac_try" in
22967
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22968
 
  *) ac_try_echo=$ac_try;;
22969
 
esac
22970
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22971
 
  (eval "$ac_compile") 2>conftest.er1
22972
 
  ac_status=$?
22973
 
  grep -v '^ *+' conftest.er1 >conftest.err
22974
 
  rm -f conftest.er1
22975
 
  cat conftest.err >&5
22976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977
 
  (exit $ac_status); } && {
22978
 
         test -z "$ac_c_werror_flag" ||
22979
 
         test ! -s conftest.err
22980
 
       } && test -s conftest.$ac_objext; then
22981
 
  ac_hi=$ac_mid; break
22982
 
else
22983
 
  echo "$as_me: failed program was:" >&5
22984
 
sed 's/^/| /' conftest.$ac_ext >&5
22985
 
 
22986
 
        ac_lo=`expr $ac_mid + 1`
22987
 
                        if test $ac_lo -le $ac_mid; then
22988
 
                          ac_lo= ac_hi=
22989
 
                          break
22990
 
                        fi
22991
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
22992
 
fi
22993
 
 
22994
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22995
 
  done
22996
 
else
22997
 
  echo "$as_me: failed program was:" >&5
22998
 
sed 's/^/| /' conftest.$ac_ext >&5
22999
 
 
23000
 
        cat >conftest.$ac_ext <<_ACEOF
23001
 
/* confdefs.h.  */
23002
 
_ACEOF
23003
 
cat confdefs.h >>conftest.$ac_ext
23004
 
cat >>conftest.$ac_ext <<_ACEOF
23005
 
/* end confdefs.h.  */
23006
 
$ac_includes_default
23007
 
   typedef unsigned short ac__type_sizeof_;
23008
 
int
23009
 
main ()
23010
 
{
23011
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
23012
 
test_array @<:@0@:>@ = 0
23013
 
 
23014
 
  ;
23015
 
  return 0;
23016
 
}
23017
 
_ACEOF
23018
 
rm -f conftest.$ac_objext
23019
 
if { (ac_try="$ac_compile"
23020
 
case "(($ac_try" in
23021
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23022
 
  *) ac_try_echo=$ac_try;;
23023
 
esac
23024
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23025
 
  (eval "$ac_compile") 2>conftest.er1
23026
 
  ac_status=$?
23027
 
  grep -v '^ *+' conftest.er1 >conftest.err
23028
 
  rm -f conftest.er1
23029
 
  cat conftest.err >&5
23030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031
 
  (exit $ac_status); } && {
23032
 
         test -z "$ac_c_werror_flag" ||
23033
 
         test ! -s conftest.err
23034
 
       } && test -s conftest.$ac_objext; then
23035
 
  ac_hi=-1 ac_mid=-1
23036
 
  while :; do
23037
 
    cat >conftest.$ac_ext <<_ACEOF
23038
 
/* confdefs.h.  */
23039
 
_ACEOF
23040
 
cat confdefs.h >>conftest.$ac_ext
23041
 
cat >>conftest.$ac_ext <<_ACEOF
23042
 
/* end confdefs.h.  */
23043
 
$ac_includes_default
23044
 
   typedef unsigned short ac__type_sizeof_;
23045
 
int
23046
 
main ()
23047
 
{
23048
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
23049
 
test_array @<:@0@:>@ = 0
23050
 
 
23051
 
  ;
23052
 
  return 0;
23053
 
}
23054
 
_ACEOF
23055
 
rm -f conftest.$ac_objext
23056
 
if { (ac_try="$ac_compile"
23057
 
case "(($ac_try" in
23058
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23059
 
  *) ac_try_echo=$ac_try;;
23060
 
esac
23061
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23062
 
  (eval "$ac_compile") 2>conftest.er1
23063
 
  ac_status=$?
23064
 
  grep -v '^ *+' conftest.er1 >conftest.err
23065
 
  rm -f conftest.er1
23066
 
  cat conftest.err >&5
23067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068
 
  (exit $ac_status); } && {
23069
 
         test -z "$ac_c_werror_flag" ||
23070
 
         test ! -s conftest.err
23071
 
       } && test -s conftest.$ac_objext; then
23072
 
  ac_lo=$ac_mid; break
23073
 
else
23074
 
  echo "$as_me: failed program was:" >&5
23075
 
sed 's/^/| /' conftest.$ac_ext >&5
23076
 
 
23077
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
23078
 
                        if test $ac_mid -le $ac_hi; then
23079
 
                          ac_lo= ac_hi=
23080
 
                          break
23081
 
                        fi
23082
 
                        ac_mid=`expr 2 '*' $ac_mid`
23083
 
fi
23084
 
 
23085
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23086
 
  done
23087
 
else
23088
 
  echo "$as_me: failed program was:" >&5
23089
 
sed 's/^/| /' conftest.$ac_ext >&5
23090
 
 
23091
 
        ac_lo= ac_hi=
23092
 
fi
23093
 
 
23094
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23095
 
fi
23096
 
 
23097
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23098
 
# Binary search between lo and hi bounds.
23099
 
while test "x$ac_lo" != "x$ac_hi"; do
23100
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23101
 
  cat >conftest.$ac_ext <<_ACEOF
23102
 
/* confdefs.h.  */
23103
 
_ACEOF
23104
 
cat confdefs.h >>conftest.$ac_ext
23105
 
cat >>conftest.$ac_ext <<_ACEOF
23106
 
/* end confdefs.h.  */
23107
 
$ac_includes_default
23108
 
   typedef unsigned short ac__type_sizeof_;
23109
 
int
23110
 
main ()
23111
 
{
23112
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
23113
 
test_array @<:@0@:>@ = 0
23114
 
 
23115
 
  ;
23116
 
  return 0;
23117
 
}
23118
 
_ACEOF
23119
 
rm -f conftest.$ac_objext
23120
 
if { (ac_try="$ac_compile"
23121
 
case "(($ac_try" in
23122
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23123
 
  *) ac_try_echo=$ac_try;;
23124
 
esac
23125
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23126
 
  (eval "$ac_compile") 2>conftest.er1
23127
 
  ac_status=$?
23128
 
  grep -v '^ *+' conftest.er1 >conftest.err
23129
 
  rm -f conftest.er1
23130
 
  cat conftest.err >&5
23131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132
 
  (exit $ac_status); } && {
23133
 
         test -z "$ac_c_werror_flag" ||
23134
 
         test ! -s conftest.err
23135
 
       } && test -s conftest.$ac_objext; then
23136
 
  ac_hi=$ac_mid
23137
 
else
23138
 
  echo "$as_me: failed program was:" >&5
23139
 
sed 's/^/| /' conftest.$ac_ext >&5
23140
 
 
23141
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
23142
 
fi
23143
 
 
23144
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23145
 
done
23146
 
case $ac_lo in
23147
 
?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
23148
 
'') if test "$ac_cv_type_unsigned_short" = yes; then
23149
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
23150
 
See \`config.log' for more details." >&5
23151
 
echo "$as_me: error: cannot compute sizeof (unsigned short)
23152
 
See \`config.log' for more details." >&2;}
23153
 
   { (exit 77); exit 77; }; }
23154
 
   else
23155
 
     ac_cv_sizeof_unsigned_short=0
23156
 
   fi ;;
23157
 
esac
23158
 
else
23159
 
  cat >conftest.$ac_ext <<_ACEOF
23160
 
/* confdefs.h.  */
23161
 
_ACEOF
23162
 
cat confdefs.h >>conftest.$ac_ext
23163
 
cat >>conftest.$ac_ext <<_ACEOF
23164
 
/* end confdefs.h.  */
23165
 
$ac_includes_default
23166
 
   typedef unsigned short ac__type_sizeof_;
23167
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23168
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23169
 
@%:@include <stdio.h>
23170
 
@%:@include <stdlib.h>
23171
 
int
23172
 
main ()
23173
 
{
23174
 
 
23175
 
  FILE *f = fopen ("conftest.val", "w");
23176
 
  if (! f)
23177
 
    return 1;
23178
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23179
 
    {
23180
 
      long int i = longval ();
23181
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23182
 
        return 1;
23183
 
      fprintf (f, "%ld\n", i);
23184
 
    }
23185
 
  else
23186
 
    {
23187
 
      unsigned long int i = ulongval ();
23188
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23189
 
        return 1;
23190
 
      fprintf (f, "%lu\n", i);
23191
 
    }
23192
 
  return ferror (f) || fclose (f) != 0;
23193
 
 
23194
 
  ;
23195
 
  return 0;
23196
 
}
23197
 
_ACEOF
23198
 
rm -f conftest$ac_exeext
23199
 
if { (ac_try="$ac_link"
23200
 
case "(($ac_try" in
23201
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23202
 
  *) ac_try_echo=$ac_try;;
23203
 
esac
23204
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23205
 
  (eval "$ac_link") 2>&5
23206
 
  ac_status=$?
23207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23209
 
  { (case "(($ac_try" in
23210
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211
 
  *) ac_try_echo=$ac_try;;
23212
 
esac
23213
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23214
 
  (eval "$ac_try") 2>&5
23215
 
  ac_status=$?
23216
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217
 
  (exit $ac_status); }; }; then
23218
 
  ac_cv_sizeof_unsigned_short=`cat conftest.val`
23219
 
else
23220
 
  echo "$as_me: program exited with status $ac_status" >&5
23221
 
echo "$as_me: failed program was:" >&5
23222
 
sed 's/^/| /' conftest.$ac_ext >&5
23223
 
 
23224
 
( exit $ac_status )
23225
 
if test "$ac_cv_type_unsigned_short" = yes; then
23226
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
23227
 
See \`config.log' for more details." >&5
23228
 
echo "$as_me: error: cannot compute sizeof (unsigned short)
23229
 
See \`config.log' for more details." >&2;}
23230
 
   { (exit 77); exit 77; }; }
23231
 
   else
23232
 
     ac_cv_sizeof_unsigned_short=0
23233
 
   fi
23234
 
fi
23235
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23236
 
fi
23237
 
rm -f conftest.val
23238
 
fi
23239
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
23240
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
23241
 
 
23242
 
 
23243
 
 
23244
 
cat >>confdefs.h <<_ACEOF
23245
 
@%:@define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
23246
 
_ACEOF
23247
 
 
23248
 
 
23249
 
{ echo "$as_me:$LINENO: checking for int" >&5
23250
 
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
23251
 
if test "${ac_cv_type_int+set}" = set; then
23252
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23253
 
else
23254
 
  cat >conftest.$ac_ext <<_ACEOF
23255
 
/* confdefs.h.  */
23256
 
_ACEOF
23257
 
cat confdefs.h >>conftest.$ac_ext
23258
 
cat >>conftest.$ac_ext <<_ACEOF
23259
 
/* end confdefs.h.  */
23260
 
$ac_includes_default
23261
 
typedef int ac__type_new_;
23262
 
int
23263
 
main ()
23264
 
{
23265
 
if ((ac__type_new_ *) 0)
23266
 
  return 0;
23267
 
if (sizeof (ac__type_new_))
23268
 
  return 0;
23269
 
  ;
23270
 
  return 0;
23271
 
}
23272
 
_ACEOF
23273
 
rm -f conftest.$ac_objext
23274
 
if { (ac_try="$ac_compile"
23275
 
case "(($ac_try" in
23276
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23277
 
  *) ac_try_echo=$ac_try;;
23278
 
esac
23279
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280
 
  (eval "$ac_compile") 2>conftest.er1
23281
 
  ac_status=$?
23282
 
  grep -v '^ *+' conftest.er1 >conftest.err
23283
 
  rm -f conftest.er1
23284
 
  cat conftest.err >&5
23285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286
 
  (exit $ac_status); } && {
23287
 
         test -z "$ac_c_werror_flag" ||
23288
 
         test ! -s conftest.err
23289
 
       } && test -s conftest.$ac_objext; then
23290
 
  ac_cv_type_int=yes
23291
 
else
23292
 
  echo "$as_me: failed program was:" >&5
23293
 
sed 's/^/| /' conftest.$ac_ext >&5
23294
 
 
23295
 
        ac_cv_type_int=no
23296
 
fi
23297
 
 
23298
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23299
 
fi
23300
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
23301
 
echo "${ECHO_T}$ac_cv_type_int" >&6; }
23302
 
 
23303
 
# The cast to long int works around a bug in the HP C Compiler
23304
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23305
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23306
 
# This bug is HP SR number 8606223364.
23307
 
{ echo "$as_me:$LINENO: checking size of int" >&5
23308
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
23309
 
if test "${ac_cv_sizeof_int+set}" = set; then
23310
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23311
 
else
23312
 
  if test "$cross_compiling" = yes; then
23313
 
  # Depending upon the size, compute the lo and hi bounds.
23314
 
cat >conftest.$ac_ext <<_ACEOF
23315
 
/* confdefs.h.  */
23316
 
_ACEOF
23317
 
cat confdefs.h >>conftest.$ac_ext
23318
 
cat >>conftest.$ac_ext <<_ACEOF
23319
 
/* end confdefs.h.  */
23320
 
$ac_includes_default
23321
 
   typedef int ac__type_sizeof_;
23322
 
int
23323
 
main ()
23324
 
{
23325
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
23326
 
test_array @<:@0@:>@ = 0
23327
 
 
23328
 
  ;
23329
 
  return 0;
23330
 
}
23331
 
_ACEOF
23332
 
rm -f conftest.$ac_objext
23333
 
if { (ac_try="$ac_compile"
23334
 
case "(($ac_try" in
23335
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23336
 
  *) ac_try_echo=$ac_try;;
23337
 
esac
23338
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23339
 
  (eval "$ac_compile") 2>conftest.er1
23340
 
  ac_status=$?
23341
 
  grep -v '^ *+' conftest.er1 >conftest.err
23342
 
  rm -f conftest.er1
23343
 
  cat conftest.err >&5
23344
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345
 
  (exit $ac_status); } && {
23346
 
         test -z "$ac_c_werror_flag" ||
23347
 
         test ! -s conftest.err
23348
 
       } && test -s conftest.$ac_objext; then
23349
 
  ac_lo=0 ac_mid=0
23350
 
  while :; do
23351
 
    cat >conftest.$ac_ext <<_ACEOF
23352
 
/* confdefs.h.  */
23353
 
_ACEOF
23354
 
cat confdefs.h >>conftest.$ac_ext
23355
 
cat >>conftest.$ac_ext <<_ACEOF
23356
 
/* end confdefs.h.  */
23357
 
$ac_includes_default
23358
 
   typedef int ac__type_sizeof_;
23359
 
int
23360
 
main ()
23361
 
{
23362
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
23363
 
test_array @<:@0@:>@ = 0
23364
 
 
23365
 
  ;
23366
 
  return 0;
23367
 
}
23368
 
_ACEOF
23369
 
rm -f conftest.$ac_objext
23370
 
if { (ac_try="$ac_compile"
23371
 
case "(($ac_try" in
23372
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23373
 
  *) ac_try_echo=$ac_try;;
23374
 
esac
23375
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23376
 
  (eval "$ac_compile") 2>conftest.er1
23377
 
  ac_status=$?
23378
 
  grep -v '^ *+' conftest.er1 >conftest.err
23379
 
  rm -f conftest.er1
23380
 
  cat conftest.err >&5
23381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382
 
  (exit $ac_status); } && {
23383
 
         test -z "$ac_c_werror_flag" ||
23384
 
         test ! -s conftest.err
23385
 
       } && test -s conftest.$ac_objext; then
23386
 
  ac_hi=$ac_mid; break
23387
 
else
23388
 
  echo "$as_me: failed program was:" >&5
23389
 
sed 's/^/| /' conftest.$ac_ext >&5
23390
 
 
23391
 
        ac_lo=`expr $ac_mid + 1`
23392
 
                        if test $ac_lo -le $ac_mid; then
23393
 
                          ac_lo= ac_hi=
23394
 
                          break
23395
 
                        fi
23396
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
23397
 
fi
23398
 
 
23399
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23400
 
  done
23401
 
else
23402
 
  echo "$as_me: failed program was:" >&5
23403
 
sed 's/^/| /' conftest.$ac_ext >&5
23404
 
 
23405
 
        cat >conftest.$ac_ext <<_ACEOF
23406
 
/* confdefs.h.  */
23407
 
_ACEOF
23408
 
cat confdefs.h >>conftest.$ac_ext
23409
 
cat >>conftest.$ac_ext <<_ACEOF
23410
 
/* end confdefs.h.  */
23411
 
$ac_includes_default
23412
 
   typedef int ac__type_sizeof_;
23413
 
int
23414
 
main ()
23415
 
{
23416
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
23417
 
test_array @<:@0@:>@ = 0
23418
 
 
23419
 
  ;
23420
 
  return 0;
23421
 
}
23422
 
_ACEOF
23423
 
rm -f conftest.$ac_objext
23424
 
if { (ac_try="$ac_compile"
23425
 
case "(($ac_try" in
23426
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23427
 
  *) ac_try_echo=$ac_try;;
23428
 
esac
23429
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23430
 
  (eval "$ac_compile") 2>conftest.er1
23431
 
  ac_status=$?
23432
 
  grep -v '^ *+' conftest.er1 >conftest.err
23433
 
  rm -f conftest.er1
23434
 
  cat conftest.err >&5
23435
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436
 
  (exit $ac_status); } && {
23437
 
         test -z "$ac_c_werror_flag" ||
23438
 
         test ! -s conftest.err
23439
 
       } && test -s conftest.$ac_objext; then
23440
 
  ac_hi=-1 ac_mid=-1
23441
 
  while :; do
23442
 
    cat >conftest.$ac_ext <<_ACEOF
23443
 
/* confdefs.h.  */
23444
 
_ACEOF
23445
 
cat confdefs.h >>conftest.$ac_ext
23446
 
cat >>conftest.$ac_ext <<_ACEOF
23447
 
/* end confdefs.h.  */
23448
 
$ac_includes_default
23449
 
   typedef int ac__type_sizeof_;
23450
 
int
23451
 
main ()
23452
 
{
23453
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
23454
 
test_array @<:@0@:>@ = 0
23455
 
 
23456
 
  ;
23457
 
  return 0;
23458
 
}
23459
 
_ACEOF
23460
 
rm -f conftest.$ac_objext
23461
 
if { (ac_try="$ac_compile"
23462
 
case "(($ac_try" in
23463
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23464
 
  *) ac_try_echo=$ac_try;;
23465
 
esac
23466
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23467
 
  (eval "$ac_compile") 2>conftest.er1
23468
 
  ac_status=$?
23469
 
  grep -v '^ *+' conftest.er1 >conftest.err
23470
 
  rm -f conftest.er1
23471
 
  cat conftest.err >&5
23472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473
 
  (exit $ac_status); } && {
23474
 
         test -z "$ac_c_werror_flag" ||
23475
 
         test ! -s conftest.err
23476
 
       } && test -s conftest.$ac_objext; then
23477
 
  ac_lo=$ac_mid; break
23478
 
else
23479
 
  echo "$as_me: failed program was:" >&5
23480
 
sed 's/^/| /' conftest.$ac_ext >&5
23481
 
 
23482
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
23483
 
                        if test $ac_mid -le $ac_hi; then
23484
 
                          ac_lo= ac_hi=
23485
 
                          break
23486
 
                        fi
23487
 
                        ac_mid=`expr 2 '*' $ac_mid`
23488
 
fi
23489
 
 
23490
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491
 
  done
23492
 
else
23493
 
  echo "$as_me: failed program was:" >&5
23494
 
sed 's/^/| /' conftest.$ac_ext >&5
23495
 
 
23496
 
        ac_lo= ac_hi=
23497
 
fi
23498
 
 
23499
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23500
 
fi
23501
 
 
23502
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23503
 
# Binary search between lo and hi bounds.
23504
 
while test "x$ac_lo" != "x$ac_hi"; do
23505
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23506
 
  cat >conftest.$ac_ext <<_ACEOF
23507
 
/* confdefs.h.  */
23508
 
_ACEOF
23509
 
cat confdefs.h >>conftest.$ac_ext
23510
 
cat >>conftest.$ac_ext <<_ACEOF
23511
 
/* end confdefs.h.  */
23512
 
$ac_includes_default
23513
 
   typedef int ac__type_sizeof_;
23514
 
int
23515
 
main ()
23516
 
{
23517
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
23518
 
test_array @<:@0@:>@ = 0
23519
 
 
23520
 
  ;
23521
 
  return 0;
23522
 
}
23523
 
_ACEOF
23524
 
rm -f conftest.$ac_objext
23525
 
if { (ac_try="$ac_compile"
23526
 
case "(($ac_try" in
23527
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23528
 
  *) ac_try_echo=$ac_try;;
23529
 
esac
23530
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23531
 
  (eval "$ac_compile") 2>conftest.er1
23532
 
  ac_status=$?
23533
 
  grep -v '^ *+' conftest.er1 >conftest.err
23534
 
  rm -f conftest.er1
23535
 
  cat conftest.err >&5
23536
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537
 
  (exit $ac_status); } && {
23538
 
         test -z "$ac_c_werror_flag" ||
23539
 
         test ! -s conftest.err
23540
 
       } && test -s conftest.$ac_objext; then
23541
 
  ac_hi=$ac_mid
23542
 
else
23543
 
  echo "$as_me: failed program was:" >&5
23544
 
sed 's/^/| /' conftest.$ac_ext >&5
23545
 
 
23546
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
23547
 
fi
23548
 
 
23549
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23550
 
done
23551
 
case $ac_lo in
23552
 
?*) ac_cv_sizeof_int=$ac_lo;;
23553
 
'') if test "$ac_cv_type_int" = yes; then
23554
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23555
 
See \`config.log' for more details." >&5
23556
 
echo "$as_me: error: cannot compute sizeof (int)
23557
 
See \`config.log' for more details." >&2;}
23558
 
   { (exit 77); exit 77; }; }
23559
 
   else
23560
 
     ac_cv_sizeof_int=0
23561
 
   fi ;;
23562
 
esac
23563
 
else
23564
 
  cat >conftest.$ac_ext <<_ACEOF
23565
 
/* confdefs.h.  */
23566
 
_ACEOF
23567
 
cat confdefs.h >>conftest.$ac_ext
23568
 
cat >>conftest.$ac_ext <<_ACEOF
23569
 
/* end confdefs.h.  */
23570
 
$ac_includes_default
23571
 
   typedef int ac__type_sizeof_;
23572
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23573
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23574
 
@%:@include <stdio.h>
23575
 
@%:@include <stdlib.h>
23576
 
int
23577
 
main ()
23578
 
{
23579
 
 
23580
 
  FILE *f = fopen ("conftest.val", "w");
23581
 
  if (! f)
23582
 
    return 1;
23583
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23584
 
    {
23585
 
      long int i = longval ();
23586
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23587
 
        return 1;
23588
 
      fprintf (f, "%ld\n", i);
23589
 
    }
23590
 
  else
23591
 
    {
23592
 
      unsigned long int i = ulongval ();
23593
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23594
 
        return 1;
23595
 
      fprintf (f, "%lu\n", i);
23596
 
    }
23597
 
  return ferror (f) || fclose (f) != 0;
23598
 
 
23599
 
  ;
23600
 
  return 0;
23601
 
}
23602
 
_ACEOF
23603
 
rm -f conftest$ac_exeext
23604
 
if { (ac_try="$ac_link"
23605
 
case "(($ac_try" in
23606
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23607
 
  *) ac_try_echo=$ac_try;;
23608
 
esac
23609
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23610
 
  (eval "$ac_link") 2>&5
23611
 
  ac_status=$?
23612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23614
 
  { (case "(($ac_try" in
23615
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23616
 
  *) ac_try_echo=$ac_try;;
23617
 
esac
23618
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23619
 
  (eval "$ac_try") 2>&5
23620
 
  ac_status=$?
23621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622
 
  (exit $ac_status); }; }; then
23623
 
  ac_cv_sizeof_int=`cat conftest.val`
23624
 
else
23625
 
  echo "$as_me: program exited with status $ac_status" >&5
23626
 
echo "$as_me: failed program was:" >&5
23627
 
sed 's/^/| /' conftest.$ac_ext >&5
23628
 
 
23629
 
( exit $ac_status )
23630
 
if test "$ac_cv_type_int" = yes; then
23631
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23632
 
See \`config.log' for more details." >&5
23633
 
echo "$as_me: error: cannot compute sizeof (int)
23634
 
See \`config.log' for more details." >&2;}
23635
 
   { (exit 77); exit 77; }; }
23636
 
   else
23637
 
     ac_cv_sizeof_int=0
23638
 
   fi
23639
 
fi
23640
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23641
 
fi
23642
 
rm -f conftest.val
23643
 
fi
23644
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23645
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23646
 
 
23647
 
 
23648
 
 
23649
 
cat >>confdefs.h <<_ACEOF
23650
 
@%:@define SIZEOF_INT $ac_cv_sizeof_int
23651
 
_ACEOF
23652
 
 
23653
 
 
23654
 
{ echo "$as_me:$LINENO: checking for unsigned int" >&5
23655
 
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
23656
 
if test "${ac_cv_type_unsigned_int+set}" = set; then
23657
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23658
 
else
23659
 
  cat >conftest.$ac_ext <<_ACEOF
23660
 
/* confdefs.h.  */
23661
 
_ACEOF
23662
 
cat confdefs.h >>conftest.$ac_ext
23663
 
cat >>conftest.$ac_ext <<_ACEOF
23664
 
/* end confdefs.h.  */
23665
 
$ac_includes_default
23666
 
typedef unsigned int ac__type_new_;
23667
 
int
23668
 
main ()
23669
 
{
23670
 
if ((ac__type_new_ *) 0)
23671
 
  return 0;
23672
 
if (sizeof (ac__type_new_))
23673
 
  return 0;
23674
 
  ;
23675
 
  return 0;
23676
 
}
23677
 
_ACEOF
23678
 
rm -f conftest.$ac_objext
23679
 
if { (ac_try="$ac_compile"
23680
 
case "(($ac_try" in
23681
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23682
 
  *) ac_try_echo=$ac_try;;
23683
 
esac
23684
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23685
 
  (eval "$ac_compile") 2>conftest.er1
23686
 
  ac_status=$?
23687
 
  grep -v '^ *+' conftest.er1 >conftest.err
23688
 
  rm -f conftest.er1
23689
 
  cat conftest.err >&5
23690
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691
 
  (exit $ac_status); } && {
23692
 
         test -z "$ac_c_werror_flag" ||
23693
 
         test ! -s conftest.err
23694
 
       } && test -s conftest.$ac_objext; then
23695
 
  ac_cv_type_unsigned_int=yes
23696
 
else
23697
 
  echo "$as_me: failed program was:" >&5
23698
 
sed 's/^/| /' conftest.$ac_ext >&5
23699
 
 
23700
 
        ac_cv_type_unsigned_int=no
23701
 
fi
23702
 
 
23703
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23704
 
fi
23705
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
23706
 
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
23707
 
 
23708
 
# The cast to long int works around a bug in the HP C Compiler
23709
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23710
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23711
 
# This bug is HP SR number 8606223364.
23712
 
{ echo "$as_me:$LINENO: checking size of unsigned int" >&5
23713
 
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
23714
 
if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
23715
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23716
 
else
23717
 
  if test "$cross_compiling" = yes; then
23718
 
  # Depending upon the size, compute the lo and hi bounds.
23719
 
cat >conftest.$ac_ext <<_ACEOF
23720
 
/* confdefs.h.  */
23721
 
_ACEOF
23722
 
cat confdefs.h >>conftest.$ac_ext
23723
 
cat >>conftest.$ac_ext <<_ACEOF
23724
 
/* end confdefs.h.  */
23725
 
$ac_includes_default
23726
 
   typedef unsigned int ac__type_sizeof_;
23727
 
int
23728
 
main ()
23729
 
{
23730
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
23731
 
test_array @<:@0@:>@ = 0
23732
 
 
23733
 
  ;
23734
 
  return 0;
23735
 
}
23736
 
_ACEOF
23737
 
rm -f conftest.$ac_objext
23738
 
if { (ac_try="$ac_compile"
23739
 
case "(($ac_try" in
23740
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741
 
  *) ac_try_echo=$ac_try;;
23742
 
esac
23743
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744
 
  (eval "$ac_compile") 2>conftest.er1
23745
 
  ac_status=$?
23746
 
  grep -v '^ *+' conftest.er1 >conftest.err
23747
 
  rm -f conftest.er1
23748
 
  cat conftest.err >&5
23749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750
 
  (exit $ac_status); } && {
23751
 
         test -z "$ac_c_werror_flag" ||
23752
 
         test ! -s conftest.err
23753
 
       } && test -s conftest.$ac_objext; then
23754
 
  ac_lo=0 ac_mid=0
23755
 
  while :; do
23756
 
    cat >conftest.$ac_ext <<_ACEOF
23757
 
/* confdefs.h.  */
23758
 
_ACEOF
23759
 
cat confdefs.h >>conftest.$ac_ext
23760
 
cat >>conftest.$ac_ext <<_ACEOF
23761
 
/* end confdefs.h.  */
23762
 
$ac_includes_default
23763
 
   typedef unsigned int ac__type_sizeof_;
23764
 
int
23765
 
main ()
23766
 
{
23767
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
23768
 
test_array @<:@0@:>@ = 0
23769
 
 
23770
 
  ;
23771
 
  return 0;
23772
 
}
23773
 
_ACEOF
23774
 
rm -f conftest.$ac_objext
23775
 
if { (ac_try="$ac_compile"
23776
 
case "(($ac_try" in
23777
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23778
 
  *) ac_try_echo=$ac_try;;
23779
 
esac
23780
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23781
 
  (eval "$ac_compile") 2>conftest.er1
23782
 
  ac_status=$?
23783
 
  grep -v '^ *+' conftest.er1 >conftest.err
23784
 
  rm -f conftest.er1
23785
 
  cat conftest.err >&5
23786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787
 
  (exit $ac_status); } && {
23788
 
         test -z "$ac_c_werror_flag" ||
23789
 
         test ! -s conftest.err
23790
 
       } && test -s conftest.$ac_objext; then
23791
 
  ac_hi=$ac_mid; break
23792
 
else
23793
 
  echo "$as_me: failed program was:" >&5
23794
 
sed 's/^/| /' conftest.$ac_ext >&5
23795
 
 
23796
 
        ac_lo=`expr $ac_mid + 1`
23797
 
                        if test $ac_lo -le $ac_mid; then
23798
 
                          ac_lo= ac_hi=
23799
 
                          break
23800
 
                        fi
23801
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
23802
 
fi
23803
 
 
23804
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23805
 
  done
23806
 
else
23807
 
  echo "$as_me: failed program was:" >&5
23808
 
sed 's/^/| /' conftest.$ac_ext >&5
23809
 
 
23810
 
        cat >conftest.$ac_ext <<_ACEOF
23811
 
/* confdefs.h.  */
23812
 
_ACEOF
23813
 
cat confdefs.h >>conftest.$ac_ext
23814
 
cat >>conftest.$ac_ext <<_ACEOF
23815
 
/* end confdefs.h.  */
23816
 
$ac_includes_default
23817
 
   typedef unsigned int ac__type_sizeof_;
23818
 
int
23819
 
main ()
23820
 
{
23821
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
23822
 
test_array @<:@0@:>@ = 0
23823
 
 
23824
 
  ;
23825
 
  return 0;
23826
 
}
23827
 
_ACEOF
23828
 
rm -f conftest.$ac_objext
23829
 
if { (ac_try="$ac_compile"
23830
 
case "(($ac_try" in
23831
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23832
 
  *) ac_try_echo=$ac_try;;
23833
 
esac
23834
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23835
 
  (eval "$ac_compile") 2>conftest.er1
23836
 
  ac_status=$?
23837
 
  grep -v '^ *+' conftest.er1 >conftest.err
23838
 
  rm -f conftest.er1
23839
 
  cat conftest.err >&5
23840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841
 
  (exit $ac_status); } && {
23842
 
         test -z "$ac_c_werror_flag" ||
23843
 
         test ! -s conftest.err
23844
 
       } && test -s conftest.$ac_objext; then
23845
 
  ac_hi=-1 ac_mid=-1
23846
 
  while :; do
23847
 
    cat >conftest.$ac_ext <<_ACEOF
23848
 
/* confdefs.h.  */
23849
 
_ACEOF
23850
 
cat confdefs.h >>conftest.$ac_ext
23851
 
cat >>conftest.$ac_ext <<_ACEOF
23852
 
/* end confdefs.h.  */
23853
 
$ac_includes_default
23854
 
   typedef unsigned int ac__type_sizeof_;
23855
 
int
23856
 
main ()
23857
 
{
23858
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
23859
 
test_array @<:@0@:>@ = 0
23860
 
 
23861
 
  ;
23862
 
  return 0;
23863
 
}
23864
 
_ACEOF
23865
 
rm -f conftest.$ac_objext
23866
 
if { (ac_try="$ac_compile"
23867
 
case "(($ac_try" in
23868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23869
 
  *) ac_try_echo=$ac_try;;
23870
 
esac
23871
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23872
 
  (eval "$ac_compile") 2>conftest.er1
23873
 
  ac_status=$?
23874
 
  grep -v '^ *+' conftest.er1 >conftest.err
23875
 
  rm -f conftest.er1
23876
 
  cat conftest.err >&5
23877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878
 
  (exit $ac_status); } && {
23879
 
         test -z "$ac_c_werror_flag" ||
23880
 
         test ! -s conftest.err
23881
 
       } && test -s conftest.$ac_objext; then
23882
 
  ac_lo=$ac_mid; break
23883
 
else
23884
 
  echo "$as_me: failed program was:" >&5
23885
 
sed 's/^/| /' conftest.$ac_ext >&5
23886
 
 
23887
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
23888
 
                        if test $ac_mid -le $ac_hi; then
23889
 
                          ac_lo= ac_hi=
23890
 
                          break
23891
 
                        fi
23892
 
                        ac_mid=`expr 2 '*' $ac_mid`
23893
 
fi
23894
 
 
23895
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23896
 
  done
23897
 
else
23898
 
  echo "$as_me: failed program was:" >&5
23899
 
sed 's/^/| /' conftest.$ac_ext >&5
23900
 
 
23901
 
        ac_lo= ac_hi=
23902
 
fi
23903
 
 
23904
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23905
 
fi
23906
 
 
23907
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23908
 
# Binary search between lo and hi bounds.
23909
 
while test "x$ac_lo" != "x$ac_hi"; do
23910
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23911
 
  cat >conftest.$ac_ext <<_ACEOF
23912
 
/* confdefs.h.  */
23913
 
_ACEOF
23914
 
cat confdefs.h >>conftest.$ac_ext
23915
 
cat >>conftest.$ac_ext <<_ACEOF
23916
 
/* end confdefs.h.  */
23917
 
$ac_includes_default
23918
 
   typedef unsigned int ac__type_sizeof_;
23919
 
int
23920
 
main ()
23921
 
{
23922
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
23923
 
test_array @<:@0@:>@ = 0
23924
 
 
23925
 
  ;
23926
 
  return 0;
23927
 
}
23928
 
_ACEOF
23929
 
rm -f conftest.$ac_objext
23930
 
if { (ac_try="$ac_compile"
23931
 
case "(($ac_try" in
23932
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23933
 
  *) ac_try_echo=$ac_try;;
23934
 
esac
23935
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23936
 
  (eval "$ac_compile") 2>conftest.er1
23937
 
  ac_status=$?
23938
 
  grep -v '^ *+' conftest.er1 >conftest.err
23939
 
  rm -f conftest.er1
23940
 
  cat conftest.err >&5
23941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942
 
  (exit $ac_status); } && {
23943
 
         test -z "$ac_c_werror_flag" ||
23944
 
         test ! -s conftest.err
23945
 
       } && test -s conftest.$ac_objext; then
23946
 
  ac_hi=$ac_mid
23947
 
else
23948
 
  echo "$as_me: failed program was:" >&5
23949
 
sed 's/^/| /' conftest.$ac_ext >&5
23950
 
 
23951
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
23952
 
fi
23953
 
 
23954
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23955
 
done
23956
 
case $ac_lo in
23957
 
?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
23958
 
'') if test "$ac_cv_type_unsigned_int" = yes; then
23959
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
23960
 
See \`config.log' for more details." >&5
23961
 
echo "$as_me: error: cannot compute sizeof (unsigned int)
23962
 
See \`config.log' for more details." >&2;}
23963
 
   { (exit 77); exit 77; }; }
23964
 
   else
23965
 
     ac_cv_sizeof_unsigned_int=0
23966
 
   fi ;;
23967
 
esac
23968
 
else
23969
 
  cat >conftest.$ac_ext <<_ACEOF
23970
 
/* confdefs.h.  */
23971
 
_ACEOF
23972
 
cat confdefs.h >>conftest.$ac_ext
23973
 
cat >>conftest.$ac_ext <<_ACEOF
23974
 
/* end confdefs.h.  */
23975
 
$ac_includes_default
23976
 
   typedef unsigned int ac__type_sizeof_;
23977
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23978
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23979
 
@%:@include <stdio.h>
23980
 
@%:@include <stdlib.h>
23981
 
int
23982
 
main ()
23983
 
{
23984
 
 
23985
 
  FILE *f = fopen ("conftest.val", "w");
23986
 
  if (! f)
23987
 
    return 1;
23988
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23989
 
    {
23990
 
      long int i = longval ();
23991
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23992
 
        return 1;
23993
 
      fprintf (f, "%ld\n", i);
23994
 
    }
23995
 
  else
23996
 
    {
23997
 
      unsigned long int i = ulongval ();
23998
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
23999
 
        return 1;
24000
 
      fprintf (f, "%lu\n", i);
24001
 
    }
24002
 
  return ferror (f) || fclose (f) != 0;
24003
 
 
24004
 
  ;
24005
 
  return 0;
24006
 
}
24007
 
_ACEOF
24008
 
rm -f conftest$ac_exeext
24009
 
if { (ac_try="$ac_link"
24010
 
case "(($ac_try" in
24011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24012
 
  *) ac_try_echo=$ac_try;;
24013
 
esac
24014
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24015
 
  (eval "$ac_link") 2>&5
24016
 
  ac_status=$?
24017
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24019
 
  { (case "(($ac_try" in
24020
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24021
 
  *) ac_try_echo=$ac_try;;
24022
 
esac
24023
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24024
 
  (eval "$ac_try") 2>&5
24025
 
  ac_status=$?
24026
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027
 
  (exit $ac_status); }; }; then
24028
 
  ac_cv_sizeof_unsigned_int=`cat conftest.val`
24029
 
else
24030
 
  echo "$as_me: program exited with status $ac_status" >&5
24031
 
echo "$as_me: failed program was:" >&5
24032
 
sed 's/^/| /' conftest.$ac_ext >&5
24033
 
 
24034
 
( exit $ac_status )
24035
 
if test "$ac_cv_type_unsigned_int" = yes; then
24036
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
24037
 
See \`config.log' for more details." >&5
24038
 
echo "$as_me: error: cannot compute sizeof (unsigned int)
24039
 
See \`config.log' for more details." >&2;}
24040
 
   { (exit 77); exit 77; }; }
24041
 
   else
24042
 
     ac_cv_sizeof_unsigned_int=0
24043
 
   fi
24044
 
fi
24045
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24046
 
fi
24047
 
rm -f conftest.val
24048
 
fi
24049
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
24050
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
24051
 
 
24052
 
 
24053
 
 
24054
 
cat >>confdefs.h <<_ACEOF
24055
 
@%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
24056
 
_ACEOF
24057
 
 
24058
 
 
24059
 
{ echo "$as_me:$LINENO: checking for long" >&5
24060
 
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
24061
 
if test "${ac_cv_type_long+set}" = set; then
24062
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24063
 
else
24064
 
  cat >conftest.$ac_ext <<_ACEOF
24065
 
/* confdefs.h.  */
24066
 
_ACEOF
24067
 
cat confdefs.h >>conftest.$ac_ext
24068
 
cat >>conftest.$ac_ext <<_ACEOF
24069
 
/* end confdefs.h.  */
24070
 
$ac_includes_default
24071
 
typedef long ac__type_new_;
24072
 
int
24073
 
main ()
24074
 
{
24075
 
if ((ac__type_new_ *) 0)
24076
 
  return 0;
24077
 
if (sizeof (ac__type_new_))
24078
 
  return 0;
24079
 
  ;
24080
 
  return 0;
24081
 
}
24082
 
_ACEOF
24083
 
rm -f conftest.$ac_objext
24084
 
if { (ac_try="$ac_compile"
24085
 
case "(($ac_try" in
24086
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24087
 
  *) ac_try_echo=$ac_try;;
24088
 
esac
24089
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24090
 
  (eval "$ac_compile") 2>conftest.er1
24091
 
  ac_status=$?
24092
 
  grep -v '^ *+' conftest.er1 >conftest.err
24093
 
  rm -f conftest.er1
24094
 
  cat conftest.err >&5
24095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096
 
  (exit $ac_status); } && {
24097
 
         test -z "$ac_c_werror_flag" ||
24098
 
         test ! -s conftest.err
24099
 
       } && test -s conftest.$ac_objext; then
24100
 
  ac_cv_type_long=yes
24101
 
else
24102
 
  echo "$as_me: failed program was:" >&5
24103
 
sed 's/^/| /' conftest.$ac_ext >&5
24104
 
 
24105
 
        ac_cv_type_long=no
24106
 
fi
24107
 
 
24108
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24109
 
fi
24110
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
24111
 
echo "${ECHO_T}$ac_cv_type_long" >&6; }
24112
 
 
24113
 
# The cast to long int works around a bug in the HP C Compiler
24114
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24115
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24116
 
# This bug is HP SR number 8606223364.
24117
 
{ echo "$as_me:$LINENO: checking size of long" >&5
24118
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
24119
 
if test "${ac_cv_sizeof_long+set}" = set; then
24120
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24121
 
else
24122
 
  if test "$cross_compiling" = yes; then
24123
 
  # Depending upon the size, compute the lo and hi bounds.
24124
 
cat >conftest.$ac_ext <<_ACEOF
24125
 
/* confdefs.h.  */
24126
 
_ACEOF
24127
 
cat confdefs.h >>conftest.$ac_ext
24128
 
cat >>conftest.$ac_ext <<_ACEOF
24129
 
/* end confdefs.h.  */
24130
 
$ac_includes_default
24131
 
   typedef long ac__type_sizeof_;
24132
 
int
24133
 
main ()
24134
 
{
24135
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
24136
 
test_array @<:@0@:>@ = 0
24137
 
 
24138
 
  ;
24139
 
  return 0;
24140
 
}
24141
 
_ACEOF
24142
 
rm -f conftest.$ac_objext
24143
 
if { (ac_try="$ac_compile"
24144
 
case "(($ac_try" in
24145
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24146
 
  *) ac_try_echo=$ac_try;;
24147
 
esac
24148
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24149
 
  (eval "$ac_compile") 2>conftest.er1
24150
 
  ac_status=$?
24151
 
  grep -v '^ *+' conftest.er1 >conftest.err
24152
 
  rm -f conftest.er1
24153
 
  cat conftest.err >&5
24154
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155
 
  (exit $ac_status); } && {
24156
 
         test -z "$ac_c_werror_flag" ||
24157
 
         test ! -s conftest.err
24158
 
       } && test -s conftest.$ac_objext; then
24159
 
  ac_lo=0 ac_mid=0
24160
 
  while :; do
24161
 
    cat >conftest.$ac_ext <<_ACEOF
24162
 
/* confdefs.h.  */
24163
 
_ACEOF
24164
 
cat confdefs.h >>conftest.$ac_ext
24165
 
cat >>conftest.$ac_ext <<_ACEOF
24166
 
/* end confdefs.h.  */
24167
 
$ac_includes_default
24168
 
   typedef long ac__type_sizeof_;
24169
 
int
24170
 
main ()
24171
 
{
24172
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
24173
 
test_array @<:@0@:>@ = 0
24174
 
 
24175
 
  ;
24176
 
  return 0;
24177
 
}
24178
 
_ACEOF
24179
 
rm -f conftest.$ac_objext
24180
 
if { (ac_try="$ac_compile"
24181
 
case "(($ac_try" in
24182
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24183
 
  *) ac_try_echo=$ac_try;;
24184
 
esac
24185
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24186
 
  (eval "$ac_compile") 2>conftest.er1
24187
 
  ac_status=$?
24188
 
  grep -v '^ *+' conftest.er1 >conftest.err
24189
 
  rm -f conftest.er1
24190
 
  cat conftest.err >&5
24191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192
 
  (exit $ac_status); } && {
24193
 
         test -z "$ac_c_werror_flag" ||
24194
 
         test ! -s conftest.err
24195
 
       } && test -s conftest.$ac_objext; then
24196
 
  ac_hi=$ac_mid; break
24197
 
else
24198
 
  echo "$as_me: failed program was:" >&5
24199
 
sed 's/^/| /' conftest.$ac_ext >&5
24200
 
 
24201
 
        ac_lo=`expr $ac_mid + 1`
24202
 
                        if test $ac_lo -le $ac_mid; then
24203
 
                          ac_lo= ac_hi=
24204
 
                          break
24205
 
                        fi
24206
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24207
 
fi
24208
 
 
24209
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24210
 
  done
24211
 
else
24212
 
  echo "$as_me: failed program was:" >&5
24213
 
sed 's/^/| /' conftest.$ac_ext >&5
24214
 
 
24215
 
        cat >conftest.$ac_ext <<_ACEOF
24216
 
/* confdefs.h.  */
24217
 
_ACEOF
24218
 
cat confdefs.h >>conftest.$ac_ext
24219
 
cat >>conftest.$ac_ext <<_ACEOF
24220
 
/* end confdefs.h.  */
24221
 
$ac_includes_default
24222
 
   typedef long ac__type_sizeof_;
24223
 
int
24224
 
main ()
24225
 
{
24226
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
24227
 
test_array @<:@0@:>@ = 0
24228
 
 
24229
 
  ;
24230
 
  return 0;
24231
 
}
24232
 
_ACEOF
24233
 
rm -f conftest.$ac_objext
24234
 
if { (ac_try="$ac_compile"
24235
 
case "(($ac_try" in
24236
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24237
 
  *) ac_try_echo=$ac_try;;
24238
 
esac
24239
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24240
 
  (eval "$ac_compile") 2>conftest.er1
24241
 
  ac_status=$?
24242
 
  grep -v '^ *+' conftest.er1 >conftest.err
24243
 
  rm -f conftest.er1
24244
 
  cat conftest.err >&5
24245
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246
 
  (exit $ac_status); } && {
24247
 
         test -z "$ac_c_werror_flag" ||
24248
 
         test ! -s conftest.err
24249
 
       } && test -s conftest.$ac_objext; then
24250
 
  ac_hi=-1 ac_mid=-1
24251
 
  while :; do
24252
 
    cat >conftest.$ac_ext <<_ACEOF
24253
 
/* confdefs.h.  */
24254
 
_ACEOF
24255
 
cat confdefs.h >>conftest.$ac_ext
24256
 
cat >>conftest.$ac_ext <<_ACEOF
24257
 
/* end confdefs.h.  */
24258
 
$ac_includes_default
24259
 
   typedef long ac__type_sizeof_;
24260
 
int
24261
 
main ()
24262
 
{
24263
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
24264
 
test_array @<:@0@:>@ = 0
24265
 
 
24266
 
  ;
24267
 
  return 0;
24268
 
}
24269
 
_ACEOF
24270
 
rm -f conftest.$ac_objext
24271
 
if { (ac_try="$ac_compile"
24272
 
case "(($ac_try" in
24273
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24274
 
  *) ac_try_echo=$ac_try;;
24275
 
esac
24276
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24277
 
  (eval "$ac_compile") 2>conftest.er1
24278
 
  ac_status=$?
24279
 
  grep -v '^ *+' conftest.er1 >conftest.err
24280
 
  rm -f conftest.er1
24281
 
  cat conftest.err >&5
24282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283
 
  (exit $ac_status); } && {
24284
 
         test -z "$ac_c_werror_flag" ||
24285
 
         test ! -s conftest.err
24286
 
       } && test -s conftest.$ac_objext; then
24287
 
  ac_lo=$ac_mid; break
24288
 
else
24289
 
  echo "$as_me: failed program was:" >&5
24290
 
sed 's/^/| /' conftest.$ac_ext >&5
24291
 
 
24292
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
24293
 
                        if test $ac_mid -le $ac_hi; then
24294
 
                          ac_lo= ac_hi=
24295
 
                          break
24296
 
                        fi
24297
 
                        ac_mid=`expr 2 '*' $ac_mid`
24298
 
fi
24299
 
 
24300
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24301
 
  done
24302
 
else
24303
 
  echo "$as_me: failed program was:" >&5
24304
 
sed 's/^/| /' conftest.$ac_ext >&5
24305
 
 
24306
 
        ac_lo= ac_hi=
24307
 
fi
24308
 
 
24309
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24310
 
fi
24311
 
 
24312
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24313
 
# Binary search between lo and hi bounds.
24314
 
while test "x$ac_lo" != "x$ac_hi"; do
24315
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24316
 
  cat >conftest.$ac_ext <<_ACEOF
24317
 
/* confdefs.h.  */
24318
 
_ACEOF
24319
 
cat confdefs.h >>conftest.$ac_ext
24320
 
cat >>conftest.$ac_ext <<_ACEOF
24321
 
/* end confdefs.h.  */
24322
 
$ac_includes_default
24323
 
   typedef long ac__type_sizeof_;
24324
 
int
24325
 
main ()
24326
 
{
24327
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
24328
 
test_array @<:@0@:>@ = 0
24329
 
 
24330
 
  ;
24331
 
  return 0;
24332
 
}
24333
 
_ACEOF
24334
 
rm -f conftest.$ac_objext
24335
 
if { (ac_try="$ac_compile"
24336
 
case "(($ac_try" in
24337
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24338
 
  *) ac_try_echo=$ac_try;;
24339
 
esac
24340
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24341
 
  (eval "$ac_compile") 2>conftest.er1
24342
 
  ac_status=$?
24343
 
  grep -v '^ *+' conftest.er1 >conftest.err
24344
 
  rm -f conftest.er1
24345
 
  cat conftest.err >&5
24346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347
 
  (exit $ac_status); } && {
24348
 
         test -z "$ac_c_werror_flag" ||
24349
 
         test ! -s conftest.err
24350
 
       } && test -s conftest.$ac_objext; then
24351
 
  ac_hi=$ac_mid
24352
 
else
24353
 
  echo "$as_me: failed program was:" >&5
24354
 
sed 's/^/| /' conftest.$ac_ext >&5
24355
 
 
24356
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
24357
 
fi
24358
 
 
24359
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24360
 
done
24361
 
case $ac_lo in
24362
 
?*) ac_cv_sizeof_long=$ac_lo;;
24363
 
'') if test "$ac_cv_type_long" = yes; then
24364
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
24365
 
See \`config.log' for more details." >&5
24366
 
echo "$as_me: error: cannot compute sizeof (long)
24367
 
See \`config.log' for more details." >&2;}
24368
 
   { (exit 77); exit 77; }; }
24369
 
   else
24370
 
     ac_cv_sizeof_long=0
24371
 
   fi ;;
24372
 
esac
24373
 
else
24374
 
  cat >conftest.$ac_ext <<_ACEOF
24375
 
/* confdefs.h.  */
24376
 
_ACEOF
24377
 
cat confdefs.h >>conftest.$ac_ext
24378
 
cat >>conftest.$ac_ext <<_ACEOF
24379
 
/* end confdefs.h.  */
24380
 
$ac_includes_default
24381
 
   typedef long ac__type_sizeof_;
24382
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24383
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24384
 
@%:@include <stdio.h>
24385
 
@%:@include <stdlib.h>
24386
 
int
24387
 
main ()
24388
 
{
24389
 
 
24390
 
  FILE *f = fopen ("conftest.val", "w");
24391
 
  if (! f)
24392
 
    return 1;
24393
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24394
 
    {
24395
 
      long int i = longval ();
24396
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
24397
 
        return 1;
24398
 
      fprintf (f, "%ld\n", i);
24399
 
    }
24400
 
  else
24401
 
    {
24402
 
      unsigned long int i = ulongval ();
24403
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
24404
 
        return 1;
24405
 
      fprintf (f, "%lu\n", i);
24406
 
    }
24407
 
  return ferror (f) || fclose (f) != 0;
24408
 
 
24409
 
  ;
24410
 
  return 0;
24411
 
}
24412
 
_ACEOF
24413
 
rm -f conftest$ac_exeext
24414
 
if { (ac_try="$ac_link"
24415
 
case "(($ac_try" in
24416
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24417
 
  *) ac_try_echo=$ac_try;;
24418
 
esac
24419
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24420
 
  (eval "$ac_link") 2>&5
24421
 
  ac_status=$?
24422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24424
 
  { (case "(($ac_try" in
24425
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24426
 
  *) ac_try_echo=$ac_try;;
24427
 
esac
24428
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24429
 
  (eval "$ac_try") 2>&5
24430
 
  ac_status=$?
24431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432
 
  (exit $ac_status); }; }; then
24433
 
  ac_cv_sizeof_long=`cat conftest.val`
24434
 
else
24435
 
  echo "$as_me: program exited with status $ac_status" >&5
24436
 
echo "$as_me: failed program was:" >&5
24437
 
sed 's/^/| /' conftest.$ac_ext >&5
24438
 
 
24439
 
( exit $ac_status )
24440
 
if test "$ac_cv_type_long" = yes; then
24441
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
24442
 
See \`config.log' for more details." >&5
24443
 
echo "$as_me: error: cannot compute sizeof (long)
24444
 
See \`config.log' for more details." >&2;}
24445
 
   { (exit 77); exit 77; }; }
24446
 
   else
24447
 
     ac_cv_sizeof_long=0
24448
 
   fi
24449
 
fi
24450
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24451
 
fi
24452
 
rm -f conftest.val
24453
 
fi
24454
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
24455
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
24456
 
 
24457
 
 
24458
 
 
24459
 
cat >>confdefs.h <<_ACEOF
24460
 
@%:@define SIZEOF_LONG $ac_cv_sizeof_long
24461
 
_ACEOF
24462
 
 
24463
 
 
24464
 
{ echo "$as_me:$LINENO: checking for unsigned long" >&5
24465
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
24466
 
if test "${ac_cv_type_unsigned_long+set}" = set; then
24467
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24468
 
else
24469
 
  cat >conftest.$ac_ext <<_ACEOF
24470
 
/* confdefs.h.  */
24471
 
_ACEOF
24472
 
cat confdefs.h >>conftest.$ac_ext
24473
 
cat >>conftest.$ac_ext <<_ACEOF
24474
 
/* end confdefs.h.  */
24475
 
$ac_includes_default
24476
 
typedef unsigned long ac__type_new_;
24477
 
int
24478
 
main ()
24479
 
{
24480
 
if ((ac__type_new_ *) 0)
24481
 
  return 0;
24482
 
if (sizeof (ac__type_new_))
24483
 
  return 0;
24484
 
  ;
24485
 
  return 0;
24486
 
}
24487
 
_ACEOF
24488
 
rm -f conftest.$ac_objext
24489
 
if { (ac_try="$ac_compile"
24490
 
case "(($ac_try" in
24491
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24492
 
  *) ac_try_echo=$ac_try;;
24493
 
esac
24494
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24495
 
  (eval "$ac_compile") 2>conftest.er1
24496
 
  ac_status=$?
24497
 
  grep -v '^ *+' conftest.er1 >conftest.err
24498
 
  rm -f conftest.er1
24499
 
  cat conftest.err >&5
24500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501
 
  (exit $ac_status); } && {
24502
 
         test -z "$ac_c_werror_flag" ||
24503
 
         test ! -s conftest.err
24504
 
       } && test -s conftest.$ac_objext; then
24505
 
  ac_cv_type_unsigned_long=yes
24506
 
else
24507
 
  echo "$as_me: failed program was:" >&5
24508
 
sed 's/^/| /' conftest.$ac_ext >&5
24509
 
 
24510
 
        ac_cv_type_unsigned_long=no
24511
 
fi
24512
 
 
24513
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24514
 
fi
24515
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
24516
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
24517
 
 
24518
 
# The cast to long int works around a bug in the HP C Compiler
24519
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24520
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24521
 
# This bug is HP SR number 8606223364.
24522
 
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
24523
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
24524
 
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
24525
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24526
 
else
24527
 
  if test "$cross_compiling" = yes; then
24528
 
  # Depending upon the size, compute the lo and hi bounds.
24529
 
cat >conftest.$ac_ext <<_ACEOF
24530
 
/* confdefs.h.  */
24531
 
_ACEOF
24532
 
cat confdefs.h >>conftest.$ac_ext
24533
 
cat >>conftest.$ac_ext <<_ACEOF
24534
 
/* end confdefs.h.  */
24535
 
$ac_includes_default
24536
 
   typedef unsigned long ac__type_sizeof_;
24537
 
int
24538
 
main ()
24539
 
{
24540
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
24541
 
test_array @<:@0@:>@ = 0
24542
 
 
24543
 
  ;
24544
 
  return 0;
24545
 
}
24546
 
_ACEOF
24547
 
rm -f conftest.$ac_objext
24548
 
if { (ac_try="$ac_compile"
24549
 
case "(($ac_try" in
24550
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24551
 
  *) ac_try_echo=$ac_try;;
24552
 
esac
24553
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24554
 
  (eval "$ac_compile") 2>conftest.er1
24555
 
  ac_status=$?
24556
 
  grep -v '^ *+' conftest.er1 >conftest.err
24557
 
  rm -f conftest.er1
24558
 
  cat conftest.err >&5
24559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560
 
  (exit $ac_status); } && {
24561
 
         test -z "$ac_c_werror_flag" ||
24562
 
         test ! -s conftest.err
24563
 
       } && test -s conftest.$ac_objext; then
24564
 
  ac_lo=0 ac_mid=0
24565
 
  while :; do
24566
 
    cat >conftest.$ac_ext <<_ACEOF
24567
 
/* confdefs.h.  */
24568
 
_ACEOF
24569
 
cat confdefs.h >>conftest.$ac_ext
24570
 
cat >>conftest.$ac_ext <<_ACEOF
24571
 
/* end confdefs.h.  */
24572
 
$ac_includes_default
24573
 
   typedef unsigned long ac__type_sizeof_;
24574
 
int
24575
 
main ()
24576
 
{
24577
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
24578
 
test_array @<:@0@:>@ = 0
24579
 
 
24580
 
  ;
24581
 
  return 0;
24582
 
}
24583
 
_ACEOF
24584
 
rm -f conftest.$ac_objext
24585
 
if { (ac_try="$ac_compile"
24586
 
case "(($ac_try" in
24587
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24588
 
  *) ac_try_echo=$ac_try;;
24589
 
esac
24590
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24591
 
  (eval "$ac_compile") 2>conftest.er1
24592
 
  ac_status=$?
24593
 
  grep -v '^ *+' conftest.er1 >conftest.err
24594
 
  rm -f conftest.er1
24595
 
  cat conftest.err >&5
24596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597
 
  (exit $ac_status); } && {
24598
 
         test -z "$ac_c_werror_flag" ||
24599
 
         test ! -s conftest.err
24600
 
       } && test -s conftest.$ac_objext; then
24601
 
  ac_hi=$ac_mid; break
24602
 
else
24603
 
  echo "$as_me: failed program was:" >&5
24604
 
sed 's/^/| /' conftest.$ac_ext >&5
24605
 
 
24606
 
        ac_lo=`expr $ac_mid + 1`
24607
 
                        if test $ac_lo -le $ac_mid; then
24608
 
                          ac_lo= ac_hi=
24609
 
                          break
24610
 
                        fi
24611
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24612
 
fi
24613
 
 
24614
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24615
 
  done
24616
 
else
24617
 
  echo "$as_me: failed program was:" >&5
24618
 
sed 's/^/| /' conftest.$ac_ext >&5
24619
 
 
24620
 
        cat >conftest.$ac_ext <<_ACEOF
24621
 
/* confdefs.h.  */
24622
 
_ACEOF
24623
 
cat confdefs.h >>conftest.$ac_ext
24624
 
cat >>conftest.$ac_ext <<_ACEOF
24625
 
/* end confdefs.h.  */
24626
 
$ac_includes_default
24627
 
   typedef unsigned long ac__type_sizeof_;
24628
 
int
24629
 
main ()
24630
 
{
24631
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
24632
 
test_array @<:@0@:>@ = 0
24633
 
 
24634
 
  ;
24635
 
  return 0;
24636
 
}
24637
 
_ACEOF
24638
 
rm -f conftest.$ac_objext
24639
 
if { (ac_try="$ac_compile"
24640
 
case "(($ac_try" in
24641
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24642
 
  *) ac_try_echo=$ac_try;;
24643
 
esac
24644
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24645
 
  (eval "$ac_compile") 2>conftest.er1
24646
 
  ac_status=$?
24647
 
  grep -v '^ *+' conftest.er1 >conftest.err
24648
 
  rm -f conftest.er1
24649
 
  cat conftest.err >&5
24650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651
 
  (exit $ac_status); } && {
24652
 
         test -z "$ac_c_werror_flag" ||
24653
 
         test ! -s conftest.err
24654
 
       } && test -s conftest.$ac_objext; then
24655
 
  ac_hi=-1 ac_mid=-1
24656
 
  while :; do
24657
 
    cat >conftest.$ac_ext <<_ACEOF
24658
 
/* confdefs.h.  */
24659
 
_ACEOF
24660
 
cat confdefs.h >>conftest.$ac_ext
24661
 
cat >>conftest.$ac_ext <<_ACEOF
24662
 
/* end confdefs.h.  */
24663
 
$ac_includes_default
24664
 
   typedef unsigned long ac__type_sizeof_;
24665
 
int
24666
 
main ()
24667
 
{
24668
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
24669
 
test_array @<:@0@:>@ = 0
24670
 
 
24671
 
  ;
24672
 
  return 0;
24673
 
}
24674
 
_ACEOF
24675
 
rm -f conftest.$ac_objext
24676
 
if { (ac_try="$ac_compile"
24677
 
case "(($ac_try" in
24678
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24679
 
  *) ac_try_echo=$ac_try;;
24680
 
esac
24681
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24682
 
  (eval "$ac_compile") 2>conftest.er1
24683
 
  ac_status=$?
24684
 
  grep -v '^ *+' conftest.er1 >conftest.err
24685
 
  rm -f conftest.er1
24686
 
  cat conftest.err >&5
24687
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688
 
  (exit $ac_status); } && {
24689
 
         test -z "$ac_c_werror_flag" ||
24690
 
         test ! -s conftest.err
24691
 
       } && test -s conftest.$ac_objext; then
24692
 
  ac_lo=$ac_mid; break
24693
 
else
24694
 
  echo "$as_me: failed program was:" >&5
24695
 
sed 's/^/| /' conftest.$ac_ext >&5
24696
 
 
24697
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
24698
 
                        if test $ac_mid -le $ac_hi; then
24699
 
                          ac_lo= ac_hi=
24700
 
                          break
24701
 
                        fi
24702
 
                        ac_mid=`expr 2 '*' $ac_mid`
24703
 
fi
24704
 
 
24705
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24706
 
  done
24707
 
else
24708
 
  echo "$as_me: failed program was:" >&5
24709
 
sed 's/^/| /' conftest.$ac_ext >&5
24710
 
 
24711
 
        ac_lo= ac_hi=
24712
 
fi
24713
 
 
24714
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715
 
fi
24716
 
 
24717
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24718
 
# Binary search between lo and hi bounds.
24719
 
while test "x$ac_lo" != "x$ac_hi"; do
24720
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24721
 
  cat >conftest.$ac_ext <<_ACEOF
24722
 
/* confdefs.h.  */
24723
 
_ACEOF
24724
 
cat confdefs.h >>conftest.$ac_ext
24725
 
cat >>conftest.$ac_ext <<_ACEOF
24726
 
/* end confdefs.h.  */
24727
 
$ac_includes_default
24728
 
   typedef unsigned long ac__type_sizeof_;
24729
 
int
24730
 
main ()
24731
 
{
24732
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
24733
 
test_array @<:@0@:>@ = 0
24734
 
 
24735
 
  ;
24736
 
  return 0;
24737
 
}
24738
 
_ACEOF
24739
 
rm -f conftest.$ac_objext
24740
 
if { (ac_try="$ac_compile"
24741
 
case "(($ac_try" in
24742
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24743
 
  *) ac_try_echo=$ac_try;;
24744
 
esac
24745
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24746
 
  (eval "$ac_compile") 2>conftest.er1
24747
 
  ac_status=$?
24748
 
  grep -v '^ *+' conftest.er1 >conftest.err
24749
 
  rm -f conftest.er1
24750
 
  cat conftest.err >&5
24751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752
 
  (exit $ac_status); } && {
24753
 
         test -z "$ac_c_werror_flag" ||
24754
 
         test ! -s conftest.err
24755
 
       } && test -s conftest.$ac_objext; then
24756
 
  ac_hi=$ac_mid
24757
 
else
24758
 
  echo "$as_me: failed program was:" >&5
24759
 
sed 's/^/| /' conftest.$ac_ext >&5
24760
 
 
24761
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
24762
 
fi
24763
 
 
24764
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765
 
done
24766
 
case $ac_lo in
24767
 
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
24768
 
'') if test "$ac_cv_type_unsigned_long" = yes; then
24769
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
24770
 
See \`config.log' for more details." >&5
24771
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
24772
 
See \`config.log' for more details." >&2;}
24773
 
   { (exit 77); exit 77; }; }
24774
 
   else
24775
 
     ac_cv_sizeof_unsigned_long=0
24776
 
   fi ;;
24777
 
esac
24778
 
else
24779
 
  cat >conftest.$ac_ext <<_ACEOF
24780
 
/* confdefs.h.  */
24781
 
_ACEOF
24782
 
cat confdefs.h >>conftest.$ac_ext
24783
 
cat >>conftest.$ac_ext <<_ACEOF
24784
 
/* end confdefs.h.  */
24785
 
$ac_includes_default
24786
 
   typedef unsigned long ac__type_sizeof_;
24787
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24788
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24789
 
@%:@include <stdio.h>
24790
 
@%:@include <stdlib.h>
24791
 
int
24792
 
main ()
24793
 
{
24794
 
 
24795
 
  FILE *f = fopen ("conftest.val", "w");
24796
 
  if (! f)
24797
 
    return 1;
24798
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24799
 
    {
24800
 
      long int i = longval ();
24801
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
24802
 
        return 1;
24803
 
      fprintf (f, "%ld\n", i);
24804
 
    }
24805
 
  else
24806
 
    {
24807
 
      unsigned long int i = ulongval ();
24808
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
24809
 
        return 1;
24810
 
      fprintf (f, "%lu\n", i);
24811
 
    }
24812
 
  return ferror (f) || fclose (f) != 0;
24813
 
 
24814
 
  ;
24815
 
  return 0;
24816
 
}
24817
 
_ACEOF
24818
 
rm -f conftest$ac_exeext
24819
 
if { (ac_try="$ac_link"
24820
 
case "(($ac_try" in
24821
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24822
 
  *) ac_try_echo=$ac_try;;
24823
 
esac
24824
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24825
 
  (eval "$ac_link") 2>&5
24826
 
  ac_status=$?
24827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24829
 
  { (case "(($ac_try" in
24830
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24831
 
  *) ac_try_echo=$ac_try;;
24832
 
esac
24833
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24834
 
  (eval "$ac_try") 2>&5
24835
 
  ac_status=$?
24836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837
 
  (exit $ac_status); }; }; then
24838
 
  ac_cv_sizeof_unsigned_long=`cat conftest.val`
24839
 
else
24840
 
  echo "$as_me: program exited with status $ac_status" >&5
24841
 
echo "$as_me: failed program was:" >&5
24842
 
sed 's/^/| /' conftest.$ac_ext >&5
24843
 
 
24844
 
( exit $ac_status )
24845
 
if test "$ac_cv_type_unsigned_long" = yes; then
24846
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
24847
 
See \`config.log' for more details." >&5
24848
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
24849
 
See \`config.log' for more details." >&2;}
24850
 
   { (exit 77); exit 77; }; }
24851
 
   else
24852
 
     ac_cv_sizeof_unsigned_long=0
24853
 
   fi
24854
 
fi
24855
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24856
 
fi
24857
 
rm -f conftest.val
24858
 
fi
24859
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
24860
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
24861
 
 
24862
 
 
24863
 
 
24864
 
cat >>confdefs.h <<_ACEOF
24865
 
@%:@define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
24866
 
_ACEOF
24867
 
 
24868
 
 
24869
 
{ echo "$as_me:$LINENO: checking for long long" >&5
24870
 
echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24871
 
if test "${ac_cv_type_long_long+set}" = set; then
24872
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24873
 
else
24874
 
  cat >conftest.$ac_ext <<_ACEOF
24875
 
/* confdefs.h.  */
24876
 
_ACEOF
24877
 
cat confdefs.h >>conftest.$ac_ext
24878
 
cat >>conftest.$ac_ext <<_ACEOF
24879
 
/* end confdefs.h.  */
24880
 
$ac_includes_default
24881
 
typedef long long ac__type_new_;
24882
 
int
24883
 
main ()
24884
 
{
24885
 
if ((ac__type_new_ *) 0)
24886
 
  return 0;
24887
 
if (sizeof (ac__type_new_))
24888
 
  return 0;
24889
 
  ;
24890
 
  return 0;
24891
 
}
24892
 
_ACEOF
24893
 
rm -f conftest.$ac_objext
24894
 
if { (ac_try="$ac_compile"
24895
 
case "(($ac_try" in
24896
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24897
 
  *) ac_try_echo=$ac_try;;
24898
 
esac
24899
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24900
 
  (eval "$ac_compile") 2>conftest.er1
24901
 
  ac_status=$?
24902
 
  grep -v '^ *+' conftest.er1 >conftest.err
24903
 
  rm -f conftest.er1
24904
 
  cat conftest.err >&5
24905
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906
 
  (exit $ac_status); } && {
24907
 
         test -z "$ac_c_werror_flag" ||
24908
 
         test ! -s conftest.err
24909
 
       } && test -s conftest.$ac_objext; then
24910
 
  ac_cv_type_long_long=yes
24911
 
else
24912
 
  echo "$as_me: failed program was:" >&5
24913
 
sed 's/^/| /' conftest.$ac_ext >&5
24914
 
 
24915
 
        ac_cv_type_long_long=no
24916
 
fi
24917
 
 
24918
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24919
 
fi
24920
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24921
 
echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24922
 
 
24923
 
# The cast to long int works around a bug in the HP C Compiler
24924
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24925
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24926
 
# This bug is HP SR number 8606223364.
24927
 
{ echo "$as_me:$LINENO: checking size of long long" >&5
24928
 
echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24929
 
if test "${ac_cv_sizeof_long_long+set}" = set; then
24930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24931
 
else
24932
 
  if test "$cross_compiling" = yes; then
24933
 
  # Depending upon the size, compute the lo and hi bounds.
24934
 
cat >conftest.$ac_ext <<_ACEOF
24935
 
/* confdefs.h.  */
24936
 
_ACEOF
24937
 
cat confdefs.h >>conftest.$ac_ext
24938
 
cat >>conftest.$ac_ext <<_ACEOF
24939
 
/* end confdefs.h.  */
24940
 
$ac_includes_default
24941
 
   typedef long long ac__type_sizeof_;
24942
 
int
24943
 
main ()
24944
 
{
24945
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
24946
 
test_array @<:@0@:>@ = 0
24947
 
 
24948
 
  ;
24949
 
  return 0;
24950
 
}
24951
 
_ACEOF
24952
 
rm -f conftest.$ac_objext
24953
 
if { (ac_try="$ac_compile"
24954
 
case "(($ac_try" in
24955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24956
 
  *) ac_try_echo=$ac_try;;
24957
 
esac
24958
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24959
 
  (eval "$ac_compile") 2>conftest.er1
24960
 
  ac_status=$?
24961
 
  grep -v '^ *+' conftest.er1 >conftest.err
24962
 
  rm -f conftest.er1
24963
 
  cat conftest.err >&5
24964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965
 
  (exit $ac_status); } && {
24966
 
         test -z "$ac_c_werror_flag" ||
24967
 
         test ! -s conftest.err
24968
 
       } && test -s conftest.$ac_objext; then
24969
 
  ac_lo=0 ac_mid=0
24970
 
  while :; do
24971
 
    cat >conftest.$ac_ext <<_ACEOF
24972
 
/* confdefs.h.  */
24973
 
_ACEOF
24974
 
cat confdefs.h >>conftest.$ac_ext
24975
 
cat >>conftest.$ac_ext <<_ACEOF
24976
 
/* end confdefs.h.  */
24977
 
$ac_includes_default
24978
 
   typedef long long ac__type_sizeof_;
24979
 
int
24980
 
main ()
24981
 
{
24982
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
24983
 
test_array @<:@0@:>@ = 0
24984
 
 
24985
 
  ;
24986
 
  return 0;
24987
 
}
24988
 
_ACEOF
24989
 
rm -f conftest.$ac_objext
24990
 
if { (ac_try="$ac_compile"
24991
 
case "(($ac_try" in
24992
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24993
 
  *) ac_try_echo=$ac_try;;
24994
 
esac
24995
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24996
 
  (eval "$ac_compile") 2>conftest.er1
24997
 
  ac_status=$?
24998
 
  grep -v '^ *+' conftest.er1 >conftest.err
24999
 
  rm -f conftest.er1
25000
 
  cat conftest.err >&5
25001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002
 
  (exit $ac_status); } && {
25003
 
         test -z "$ac_c_werror_flag" ||
25004
 
         test ! -s conftest.err
25005
 
       } && test -s conftest.$ac_objext; then
25006
 
  ac_hi=$ac_mid; break
25007
 
else
25008
 
  echo "$as_me: failed program was:" >&5
25009
 
sed 's/^/| /' conftest.$ac_ext >&5
25010
 
 
25011
 
        ac_lo=`expr $ac_mid + 1`
25012
 
                        if test $ac_lo -le $ac_mid; then
25013
 
                          ac_lo= ac_hi=
25014
 
                          break
25015
 
                        fi
25016
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25017
 
fi
25018
 
 
25019
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25020
 
  done
25021
 
else
25022
 
  echo "$as_me: failed program was:" >&5
25023
 
sed 's/^/| /' conftest.$ac_ext >&5
25024
 
 
25025
 
        cat >conftest.$ac_ext <<_ACEOF
25026
 
/* confdefs.h.  */
25027
 
_ACEOF
25028
 
cat confdefs.h >>conftest.$ac_ext
25029
 
cat >>conftest.$ac_ext <<_ACEOF
25030
 
/* end confdefs.h.  */
25031
 
$ac_includes_default
25032
 
   typedef long long ac__type_sizeof_;
25033
 
int
25034
 
main ()
25035
 
{
25036
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
25037
 
test_array @<:@0@:>@ = 0
25038
 
 
25039
 
  ;
25040
 
  return 0;
25041
 
}
25042
 
_ACEOF
25043
 
rm -f conftest.$ac_objext
25044
 
if { (ac_try="$ac_compile"
25045
 
case "(($ac_try" in
25046
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25047
 
  *) ac_try_echo=$ac_try;;
25048
 
esac
25049
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25050
 
  (eval "$ac_compile") 2>conftest.er1
25051
 
  ac_status=$?
25052
 
  grep -v '^ *+' conftest.er1 >conftest.err
25053
 
  rm -f conftest.er1
25054
 
  cat conftest.err >&5
25055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25056
 
  (exit $ac_status); } && {
25057
 
         test -z "$ac_c_werror_flag" ||
25058
 
         test ! -s conftest.err
25059
 
       } && test -s conftest.$ac_objext; then
25060
 
  ac_hi=-1 ac_mid=-1
25061
 
  while :; do
25062
 
    cat >conftest.$ac_ext <<_ACEOF
25063
 
/* confdefs.h.  */
25064
 
_ACEOF
25065
 
cat confdefs.h >>conftest.$ac_ext
25066
 
cat >>conftest.$ac_ext <<_ACEOF
25067
 
/* end confdefs.h.  */
25068
 
$ac_includes_default
25069
 
   typedef long long ac__type_sizeof_;
25070
 
int
25071
 
main ()
25072
 
{
25073
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
25074
 
test_array @<:@0@:>@ = 0
25075
 
 
25076
 
  ;
25077
 
  return 0;
25078
 
}
25079
 
_ACEOF
25080
 
rm -f conftest.$ac_objext
25081
 
if { (ac_try="$ac_compile"
25082
 
case "(($ac_try" in
25083
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25084
 
  *) ac_try_echo=$ac_try;;
25085
 
esac
25086
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25087
 
  (eval "$ac_compile") 2>conftest.er1
25088
 
  ac_status=$?
25089
 
  grep -v '^ *+' conftest.er1 >conftest.err
25090
 
  rm -f conftest.er1
25091
 
  cat conftest.err >&5
25092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093
 
  (exit $ac_status); } && {
25094
 
         test -z "$ac_c_werror_flag" ||
25095
 
         test ! -s conftest.err
25096
 
       } && test -s conftest.$ac_objext; then
25097
 
  ac_lo=$ac_mid; break
25098
 
else
25099
 
  echo "$as_me: failed program was:" >&5
25100
 
sed 's/^/| /' conftest.$ac_ext >&5
25101
 
 
25102
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
25103
 
                        if test $ac_mid -le $ac_hi; then
25104
 
                          ac_lo= ac_hi=
25105
 
                          break
25106
 
                        fi
25107
 
                        ac_mid=`expr 2 '*' $ac_mid`
25108
 
fi
25109
 
 
25110
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25111
 
  done
25112
 
else
25113
 
  echo "$as_me: failed program was:" >&5
25114
 
sed 's/^/| /' conftest.$ac_ext >&5
25115
 
 
25116
 
        ac_lo= ac_hi=
25117
 
fi
25118
 
 
25119
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25120
 
fi
25121
 
 
25122
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25123
 
# Binary search between lo and hi bounds.
25124
 
while test "x$ac_lo" != "x$ac_hi"; do
25125
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25126
 
  cat >conftest.$ac_ext <<_ACEOF
25127
 
/* confdefs.h.  */
25128
 
_ACEOF
25129
 
cat confdefs.h >>conftest.$ac_ext
25130
 
cat >>conftest.$ac_ext <<_ACEOF
25131
 
/* end confdefs.h.  */
25132
 
$ac_includes_default
25133
 
   typedef long long ac__type_sizeof_;
25134
 
int
25135
 
main ()
25136
 
{
25137
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
25138
 
test_array @<:@0@:>@ = 0
25139
 
 
25140
 
  ;
25141
 
  return 0;
25142
 
}
25143
 
_ACEOF
25144
 
rm -f conftest.$ac_objext
25145
 
if { (ac_try="$ac_compile"
25146
 
case "(($ac_try" in
25147
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25148
 
  *) ac_try_echo=$ac_try;;
25149
 
esac
25150
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25151
 
  (eval "$ac_compile") 2>conftest.er1
25152
 
  ac_status=$?
25153
 
  grep -v '^ *+' conftest.er1 >conftest.err
25154
 
  rm -f conftest.er1
25155
 
  cat conftest.err >&5
25156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157
 
  (exit $ac_status); } && {
25158
 
         test -z "$ac_c_werror_flag" ||
25159
 
         test ! -s conftest.err
25160
 
       } && test -s conftest.$ac_objext; then
25161
 
  ac_hi=$ac_mid
25162
 
else
25163
 
  echo "$as_me: failed program was:" >&5
25164
 
sed 's/^/| /' conftest.$ac_ext >&5
25165
 
 
25166
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
25167
 
fi
25168
 
 
25169
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25170
 
done
25171
 
case $ac_lo in
25172
 
?*) ac_cv_sizeof_long_long=$ac_lo;;
25173
 
'') if test "$ac_cv_type_long_long" = yes; then
25174
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25175
 
See \`config.log' for more details." >&5
25176
 
echo "$as_me: error: cannot compute sizeof (long long)
25177
 
See \`config.log' for more details." >&2;}
25178
 
   { (exit 77); exit 77; }; }
25179
 
   else
25180
 
     ac_cv_sizeof_long_long=0
25181
 
   fi ;;
25182
 
esac
25183
 
else
25184
 
  cat >conftest.$ac_ext <<_ACEOF
25185
 
/* confdefs.h.  */
25186
 
_ACEOF
25187
 
cat confdefs.h >>conftest.$ac_ext
25188
 
cat >>conftest.$ac_ext <<_ACEOF
25189
 
/* end confdefs.h.  */
25190
 
$ac_includes_default
25191
 
   typedef long long ac__type_sizeof_;
25192
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25193
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25194
 
@%:@include <stdio.h>
25195
 
@%:@include <stdlib.h>
25196
 
int
25197
 
main ()
25198
 
{
25199
 
 
25200
 
  FILE *f = fopen ("conftest.val", "w");
25201
 
  if (! f)
25202
 
    return 1;
25203
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25204
 
    {
25205
 
      long int i = longval ();
25206
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25207
 
        return 1;
25208
 
      fprintf (f, "%ld\n", i);
25209
 
    }
25210
 
  else
25211
 
    {
25212
 
      unsigned long int i = ulongval ();
25213
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25214
 
        return 1;
25215
 
      fprintf (f, "%lu\n", i);
25216
 
    }
25217
 
  return ferror (f) || fclose (f) != 0;
25218
 
 
25219
 
  ;
25220
 
  return 0;
25221
 
}
25222
 
_ACEOF
25223
 
rm -f conftest$ac_exeext
25224
 
if { (ac_try="$ac_link"
25225
 
case "(($ac_try" in
25226
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25227
 
  *) ac_try_echo=$ac_try;;
25228
 
esac
25229
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25230
 
  (eval "$ac_link") 2>&5
25231
 
  ac_status=$?
25232
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25234
 
  { (case "(($ac_try" in
25235
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25236
 
  *) ac_try_echo=$ac_try;;
25237
 
esac
25238
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25239
 
  (eval "$ac_try") 2>&5
25240
 
  ac_status=$?
25241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242
 
  (exit $ac_status); }; }; then
25243
 
  ac_cv_sizeof_long_long=`cat conftest.val`
25244
 
else
25245
 
  echo "$as_me: program exited with status $ac_status" >&5
25246
 
echo "$as_me: failed program was:" >&5
25247
 
sed 's/^/| /' conftest.$ac_ext >&5
25248
 
 
25249
 
( exit $ac_status )
25250
 
if test "$ac_cv_type_long_long" = yes; then
25251
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25252
 
See \`config.log' for more details." >&5
25253
 
echo "$as_me: error: cannot compute sizeof (long long)
25254
 
See \`config.log' for more details." >&2;}
25255
 
   { (exit 77); exit 77; }; }
25256
 
   else
25257
 
     ac_cv_sizeof_long_long=0
25258
 
   fi
25259
 
fi
25260
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25261
 
fi
25262
 
rm -f conftest.val
25263
 
fi
25264
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25265
 
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25266
 
 
25267
 
 
25268
 
 
25269
 
cat >>confdefs.h <<_ACEOF
25270
 
@%:@define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25271
 
_ACEOF
25272
 
 
25273
 
 
25274
 
{ echo "$as_me:$LINENO: checking for unsigned long long" >&5
25275
 
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
25276
 
if test "${ac_cv_type_unsigned_long_long+set}" = set; then
25277
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25278
 
else
25279
 
  cat >conftest.$ac_ext <<_ACEOF
25280
 
/* confdefs.h.  */
25281
 
_ACEOF
25282
 
cat confdefs.h >>conftest.$ac_ext
25283
 
cat >>conftest.$ac_ext <<_ACEOF
25284
 
/* end confdefs.h.  */
25285
 
$ac_includes_default
25286
 
typedef unsigned long long ac__type_new_;
25287
 
int
25288
 
main ()
25289
 
{
25290
 
if ((ac__type_new_ *) 0)
25291
 
  return 0;
25292
 
if (sizeof (ac__type_new_))
25293
 
  return 0;
25294
 
  ;
25295
 
  return 0;
25296
 
}
25297
 
_ACEOF
25298
 
rm -f conftest.$ac_objext
25299
 
if { (ac_try="$ac_compile"
25300
 
case "(($ac_try" in
25301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25302
 
  *) ac_try_echo=$ac_try;;
25303
 
esac
25304
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25305
 
  (eval "$ac_compile") 2>conftest.er1
25306
 
  ac_status=$?
25307
 
  grep -v '^ *+' conftest.er1 >conftest.err
25308
 
  rm -f conftest.er1
25309
 
  cat conftest.err >&5
25310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311
 
  (exit $ac_status); } && {
25312
 
         test -z "$ac_c_werror_flag" ||
25313
 
         test ! -s conftest.err
25314
 
       } && test -s conftest.$ac_objext; then
25315
 
  ac_cv_type_unsigned_long_long=yes
25316
 
else
25317
 
  echo "$as_me: failed program was:" >&5
25318
 
sed 's/^/| /' conftest.$ac_ext >&5
25319
 
 
25320
 
        ac_cv_type_unsigned_long_long=no
25321
 
fi
25322
 
 
25323
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25324
 
fi
25325
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
25326
 
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
25327
 
 
25328
 
# The cast to long int works around a bug in the HP C Compiler
25329
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25330
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25331
 
# This bug is HP SR number 8606223364.
25332
 
{ echo "$as_me:$LINENO: checking size of unsigned long long" >&5
25333
 
echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6; }
25334
 
if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
25335
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25336
 
else
25337
 
  if test "$cross_compiling" = yes; then
25338
 
  # Depending upon the size, compute the lo and hi bounds.
25339
 
cat >conftest.$ac_ext <<_ACEOF
25340
 
/* confdefs.h.  */
25341
 
_ACEOF
25342
 
cat confdefs.h >>conftest.$ac_ext
25343
 
cat >>conftest.$ac_ext <<_ACEOF
25344
 
/* end confdefs.h.  */
25345
 
$ac_includes_default
25346
 
   typedef unsigned long long ac__type_sizeof_;
25347
 
int
25348
 
main ()
25349
 
{
25350
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
25351
 
test_array @<:@0@:>@ = 0
25352
 
 
25353
 
  ;
25354
 
  return 0;
25355
 
}
25356
 
_ACEOF
25357
 
rm -f conftest.$ac_objext
25358
 
if { (ac_try="$ac_compile"
25359
 
case "(($ac_try" in
25360
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25361
 
  *) ac_try_echo=$ac_try;;
25362
 
esac
25363
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25364
 
  (eval "$ac_compile") 2>conftest.er1
25365
 
  ac_status=$?
25366
 
  grep -v '^ *+' conftest.er1 >conftest.err
25367
 
  rm -f conftest.er1
25368
 
  cat conftest.err >&5
25369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370
 
  (exit $ac_status); } && {
25371
 
         test -z "$ac_c_werror_flag" ||
25372
 
         test ! -s conftest.err
25373
 
       } && test -s conftest.$ac_objext; then
25374
 
  ac_lo=0 ac_mid=0
25375
 
  while :; do
25376
 
    cat >conftest.$ac_ext <<_ACEOF
25377
 
/* confdefs.h.  */
25378
 
_ACEOF
25379
 
cat confdefs.h >>conftest.$ac_ext
25380
 
cat >>conftest.$ac_ext <<_ACEOF
25381
 
/* end confdefs.h.  */
25382
 
$ac_includes_default
25383
 
   typedef unsigned long long ac__type_sizeof_;
25384
 
int
25385
 
main ()
25386
 
{
25387
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
25388
 
test_array @<:@0@:>@ = 0
25389
 
 
25390
 
  ;
25391
 
  return 0;
25392
 
}
25393
 
_ACEOF
25394
 
rm -f conftest.$ac_objext
25395
 
if { (ac_try="$ac_compile"
25396
 
case "(($ac_try" in
25397
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25398
 
  *) ac_try_echo=$ac_try;;
25399
 
esac
25400
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25401
 
  (eval "$ac_compile") 2>conftest.er1
25402
 
  ac_status=$?
25403
 
  grep -v '^ *+' conftest.er1 >conftest.err
25404
 
  rm -f conftest.er1
25405
 
  cat conftest.err >&5
25406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25407
 
  (exit $ac_status); } && {
25408
 
         test -z "$ac_c_werror_flag" ||
25409
 
         test ! -s conftest.err
25410
 
       } && test -s conftest.$ac_objext; then
25411
 
  ac_hi=$ac_mid; break
25412
 
else
25413
 
  echo "$as_me: failed program was:" >&5
25414
 
sed 's/^/| /' conftest.$ac_ext >&5
25415
 
 
25416
 
        ac_lo=`expr $ac_mid + 1`
25417
 
                        if test $ac_lo -le $ac_mid; then
25418
 
                          ac_lo= ac_hi=
25419
 
                          break
25420
 
                        fi
25421
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25422
 
fi
25423
 
 
25424
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25425
 
  done
25426
 
else
25427
 
  echo "$as_me: failed program was:" >&5
25428
 
sed 's/^/| /' conftest.$ac_ext >&5
25429
 
 
25430
 
        cat >conftest.$ac_ext <<_ACEOF
25431
 
/* confdefs.h.  */
25432
 
_ACEOF
25433
 
cat confdefs.h >>conftest.$ac_ext
25434
 
cat >>conftest.$ac_ext <<_ACEOF
25435
 
/* end confdefs.h.  */
25436
 
$ac_includes_default
25437
 
   typedef unsigned long long ac__type_sizeof_;
25438
 
int
25439
 
main ()
25440
 
{
25441
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
25442
 
test_array @<:@0@:>@ = 0
25443
 
 
25444
 
  ;
25445
 
  return 0;
25446
 
}
25447
 
_ACEOF
25448
 
rm -f conftest.$ac_objext
25449
 
if { (ac_try="$ac_compile"
25450
 
case "(($ac_try" in
25451
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25452
 
  *) ac_try_echo=$ac_try;;
25453
 
esac
25454
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25455
 
  (eval "$ac_compile") 2>conftest.er1
25456
 
  ac_status=$?
25457
 
  grep -v '^ *+' conftest.er1 >conftest.err
25458
 
  rm -f conftest.er1
25459
 
  cat conftest.err >&5
25460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461
 
  (exit $ac_status); } && {
25462
 
         test -z "$ac_c_werror_flag" ||
25463
 
         test ! -s conftest.err
25464
 
       } && test -s conftest.$ac_objext; then
25465
 
  ac_hi=-1 ac_mid=-1
25466
 
  while :; do
25467
 
    cat >conftest.$ac_ext <<_ACEOF
25468
 
/* confdefs.h.  */
25469
 
_ACEOF
25470
 
cat confdefs.h >>conftest.$ac_ext
25471
 
cat >>conftest.$ac_ext <<_ACEOF
25472
 
/* end confdefs.h.  */
25473
 
$ac_includes_default
25474
 
   typedef unsigned long long ac__type_sizeof_;
25475
 
int
25476
 
main ()
25477
 
{
25478
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
25479
 
test_array @<:@0@:>@ = 0
25480
 
 
25481
 
  ;
25482
 
  return 0;
25483
 
}
25484
 
_ACEOF
25485
 
rm -f conftest.$ac_objext
25486
 
if { (ac_try="$ac_compile"
25487
 
case "(($ac_try" in
25488
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25489
 
  *) ac_try_echo=$ac_try;;
25490
 
esac
25491
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25492
 
  (eval "$ac_compile") 2>conftest.er1
25493
 
  ac_status=$?
25494
 
  grep -v '^ *+' conftest.er1 >conftest.err
25495
 
  rm -f conftest.er1
25496
 
  cat conftest.err >&5
25497
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498
 
  (exit $ac_status); } && {
25499
 
         test -z "$ac_c_werror_flag" ||
25500
 
         test ! -s conftest.err
25501
 
       } && test -s conftest.$ac_objext; then
25502
 
  ac_lo=$ac_mid; break
25503
 
else
25504
 
  echo "$as_me: failed program was:" >&5
25505
 
sed 's/^/| /' conftest.$ac_ext >&5
25506
 
 
25507
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
25508
 
                        if test $ac_mid -le $ac_hi; then
25509
 
                          ac_lo= ac_hi=
25510
 
                          break
25511
 
                        fi
25512
 
                        ac_mid=`expr 2 '*' $ac_mid`
25513
 
fi
25514
 
 
25515
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25516
 
  done
25517
 
else
25518
 
  echo "$as_me: failed program was:" >&5
25519
 
sed 's/^/| /' conftest.$ac_ext >&5
25520
 
 
25521
 
        ac_lo= ac_hi=
25522
 
fi
25523
 
 
25524
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25525
 
fi
25526
 
 
25527
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25528
 
# Binary search between lo and hi bounds.
25529
 
while test "x$ac_lo" != "x$ac_hi"; do
25530
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25531
 
  cat >conftest.$ac_ext <<_ACEOF
25532
 
/* confdefs.h.  */
25533
 
_ACEOF
25534
 
cat confdefs.h >>conftest.$ac_ext
25535
 
cat >>conftest.$ac_ext <<_ACEOF
25536
 
/* end confdefs.h.  */
25537
 
$ac_includes_default
25538
 
   typedef unsigned long long ac__type_sizeof_;
25539
 
int
25540
 
main ()
25541
 
{
25542
 
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
25543
 
test_array @<:@0@:>@ = 0
25544
 
 
25545
 
  ;
25546
 
  return 0;
25547
 
}
25548
 
_ACEOF
25549
 
rm -f conftest.$ac_objext
25550
 
if { (ac_try="$ac_compile"
25551
 
case "(($ac_try" in
25552
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25553
 
  *) ac_try_echo=$ac_try;;
25554
 
esac
25555
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25556
 
  (eval "$ac_compile") 2>conftest.er1
25557
 
  ac_status=$?
25558
 
  grep -v '^ *+' conftest.er1 >conftest.err
25559
 
  rm -f conftest.er1
25560
 
  cat conftest.err >&5
25561
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25562
 
  (exit $ac_status); } && {
25563
 
         test -z "$ac_c_werror_flag" ||
25564
 
         test ! -s conftest.err
25565
 
       } && test -s conftest.$ac_objext; then
25566
 
  ac_hi=$ac_mid
25567
 
else
25568
 
  echo "$as_me: failed program was:" >&5
25569
 
sed 's/^/| /' conftest.$ac_ext >&5
25570
 
 
25571
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
25572
 
fi
25573
 
 
25574
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25575
 
done
25576
 
case $ac_lo in
25577
 
?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
25578
 
'') if test "$ac_cv_type_unsigned_long_long" = yes; then
25579
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
25580
 
See \`config.log' for more details." >&5
25581
 
echo "$as_me: error: cannot compute sizeof (unsigned long long)
25582
 
See \`config.log' for more details." >&2;}
25583
 
   { (exit 77); exit 77; }; }
25584
 
   else
25585
 
     ac_cv_sizeof_unsigned_long_long=0
25586
 
   fi ;;
25587
 
esac
25588
 
else
25589
 
  cat >conftest.$ac_ext <<_ACEOF
25590
 
/* confdefs.h.  */
25591
 
_ACEOF
25592
 
cat confdefs.h >>conftest.$ac_ext
25593
 
cat >>conftest.$ac_ext <<_ACEOF
25594
 
/* end confdefs.h.  */
25595
 
$ac_includes_default
25596
 
   typedef unsigned long long ac__type_sizeof_;
25597
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25598
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25599
 
@%:@include <stdio.h>
25600
 
@%:@include <stdlib.h>
25601
 
int
25602
 
main ()
25603
 
{
25604
 
 
25605
 
  FILE *f = fopen ("conftest.val", "w");
25606
 
  if (! f)
25607
 
    return 1;
25608
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25609
 
    {
25610
 
      long int i = longval ();
25611
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25612
 
        return 1;
25613
 
      fprintf (f, "%ld\n", i);
25614
 
    }
25615
 
  else
25616
 
    {
25617
 
      unsigned long int i = ulongval ();
25618
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25619
 
        return 1;
25620
 
      fprintf (f, "%lu\n", i);
25621
 
    }
25622
 
  return ferror (f) || fclose (f) != 0;
25623
 
 
25624
 
  ;
25625
 
  return 0;
25626
 
}
25627
 
_ACEOF
25628
 
rm -f conftest$ac_exeext
25629
 
if { (ac_try="$ac_link"
25630
 
case "(($ac_try" in
25631
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25632
 
  *) ac_try_echo=$ac_try;;
25633
 
esac
25634
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25635
 
  (eval "$ac_link") 2>&5
25636
 
  ac_status=$?
25637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25639
 
  { (case "(($ac_try" in
25640
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25641
 
  *) ac_try_echo=$ac_try;;
25642
 
esac
25643
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25644
 
  (eval "$ac_try") 2>&5
25645
 
  ac_status=$?
25646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25647
 
  (exit $ac_status); }; }; then
25648
 
  ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
25649
 
else
25650
 
  echo "$as_me: program exited with status $ac_status" >&5
25651
 
echo "$as_me: failed program was:" >&5
25652
 
sed 's/^/| /' conftest.$ac_ext >&5
25653
 
 
25654
 
( exit $ac_status )
25655
 
if test "$ac_cv_type_unsigned_long_long" = yes; then
25656
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
25657
 
See \`config.log' for more details." >&5
25658
 
echo "$as_me: error: cannot compute sizeof (unsigned long long)
25659
 
See \`config.log' for more details." >&2;}
25660
 
   { (exit 77); exit 77; }; }
25661
 
   else
25662
 
     ac_cv_sizeof_unsigned_long_long=0
25663
 
   fi
25664
 
fi
25665
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25666
 
fi
25667
 
rm -f conftest.val
25668
 
fi
25669
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
25670
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6; }
25671
 
 
25672
 
 
25673
 
 
25674
 
cat >>confdefs.h <<_ACEOF
25675
 
@%:@define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
25676
 
_ACEOF
25677
 
 
25678
 
 
25679
 
{ echo "$as_me:$LINENO: checking for uchar" >&5
25680
 
echo $ECHO_N "checking for uchar... $ECHO_C" >&6; }
25681
 
if test "${ac_cv_type_uchar+set}" = set; then
25682
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25683
 
else
25684
 
  cat >conftest.$ac_ext <<_ACEOF
25685
 
/* confdefs.h.  */
25686
 
_ACEOF
25687
 
cat confdefs.h >>conftest.$ac_ext
25688
 
cat >>conftest.$ac_ext <<_ACEOF
25689
 
/* end confdefs.h.  */
25690
 
$ac_includes_default
25691
 
typedef uchar ac__type_new_;
25692
 
int
25693
 
main ()
25694
 
{
25695
 
if ((ac__type_new_ *) 0)
25696
 
  return 0;
25697
 
if (sizeof (ac__type_new_))
25698
 
  return 0;
25699
 
  ;
25700
 
  return 0;
25701
 
}
25702
 
_ACEOF
25703
 
rm -f conftest.$ac_objext
25704
 
if { (ac_try="$ac_compile"
25705
 
case "(($ac_try" in
25706
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25707
 
  *) ac_try_echo=$ac_try;;
25708
 
esac
25709
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25710
 
  (eval "$ac_compile") 2>conftest.er1
25711
 
  ac_status=$?
25712
 
  grep -v '^ *+' conftest.er1 >conftest.err
25713
 
  rm -f conftest.er1
25714
 
  cat conftest.err >&5
25715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716
 
  (exit $ac_status); } && {
25717
 
         test -z "$ac_c_werror_flag" ||
25718
 
         test ! -s conftest.err
25719
 
       } && test -s conftest.$ac_objext; then
25720
 
  ac_cv_type_uchar=yes
25721
 
else
25722
 
  echo "$as_me: failed program was:" >&5
25723
 
sed 's/^/| /' conftest.$ac_ext >&5
25724
 
 
25725
 
        ac_cv_type_uchar=no
25726
 
fi
25727
 
 
25728
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25729
 
fi
25730
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_uchar" >&5
25731
 
echo "${ECHO_T}$ac_cv_type_uchar" >&6; }
25732
 
if test $ac_cv_type_uchar = yes; then
25733
 
  :
25734
 
else
25735
 
  
25736
 
cat >>confdefs.h <<_ACEOF
25737
 
@%:@define uchar unsigned char
25738
 
_ACEOF
25739
 
 
25740
 
fi
25741
 
 
25742
 
{ echo "$as_me:$LINENO: checking for ushort" >&5
25743
 
echo $ECHO_N "checking for ushort... $ECHO_C" >&6; }
25744
 
if test "${ac_cv_type_ushort+set}" = set; then
25745
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25746
 
else
25747
 
  cat >conftest.$ac_ext <<_ACEOF
25748
 
/* confdefs.h.  */
25749
 
_ACEOF
25750
 
cat confdefs.h >>conftest.$ac_ext
25751
 
cat >>conftest.$ac_ext <<_ACEOF
25752
 
/* end confdefs.h.  */
25753
 
$ac_includes_default
25754
 
typedef ushort ac__type_new_;
25755
 
int
25756
 
main ()
25757
 
{
25758
 
if ((ac__type_new_ *) 0)
25759
 
  return 0;
25760
 
if (sizeof (ac__type_new_))
25761
 
  return 0;
25762
 
  ;
25763
 
  return 0;
25764
 
}
25765
 
_ACEOF
25766
 
rm -f conftest.$ac_objext
25767
 
if { (ac_try="$ac_compile"
25768
 
case "(($ac_try" in
25769
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25770
 
  *) ac_try_echo=$ac_try;;
25771
 
esac
25772
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25773
 
  (eval "$ac_compile") 2>conftest.er1
25774
 
  ac_status=$?
25775
 
  grep -v '^ *+' conftest.er1 >conftest.err
25776
 
  rm -f conftest.er1
25777
 
  cat conftest.err >&5
25778
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779
 
  (exit $ac_status); } && {
25780
 
         test -z "$ac_c_werror_flag" ||
25781
 
         test ! -s conftest.err
25782
 
       } && test -s conftest.$ac_objext; then
25783
 
  ac_cv_type_ushort=yes
25784
 
else
25785
 
  echo "$as_me: failed program was:" >&5
25786
 
sed 's/^/| /' conftest.$ac_ext >&5
25787
 
 
25788
 
        ac_cv_type_ushort=no
25789
 
fi
25790
 
 
25791
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25792
 
fi
25793
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_ushort" >&5
25794
 
echo "${ECHO_T}$ac_cv_type_ushort" >&6; }
25795
 
if test $ac_cv_type_ushort = yes; then
25796
 
  :
25797
 
else
25798
 
  
25799
 
cat >>confdefs.h <<_ACEOF
25800
 
@%:@define ushort unsigned short
25801
 
_ACEOF
25802
 
 
25803
 
fi
25804
 
 
25805
 
{ echo "$as_me:$LINENO: checking for uint" >&5
25806
 
echo $ECHO_N "checking for uint... $ECHO_C" >&6; }
25807
 
if test "${ac_cv_type_uint+set}" = set; then
25808
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25809
 
else
25810
 
  cat >conftest.$ac_ext <<_ACEOF
25811
 
/* confdefs.h.  */
25812
 
_ACEOF
25813
 
cat confdefs.h >>conftest.$ac_ext
25814
 
cat >>conftest.$ac_ext <<_ACEOF
25815
 
/* end confdefs.h.  */
25816
 
$ac_includes_default
25817
 
typedef uint ac__type_new_;
25818
 
int
25819
 
main ()
25820
 
{
25821
 
if ((ac__type_new_ *) 0)
25822
 
  return 0;
25823
 
if (sizeof (ac__type_new_))
25824
 
  return 0;
25825
 
  ;
25826
 
  return 0;
25827
 
}
25828
 
_ACEOF
25829
 
rm -f conftest.$ac_objext
25830
 
if { (ac_try="$ac_compile"
25831
 
case "(($ac_try" in
25832
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25833
 
  *) ac_try_echo=$ac_try;;
25834
 
esac
25835
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25836
 
  (eval "$ac_compile") 2>conftest.er1
25837
 
  ac_status=$?
25838
 
  grep -v '^ *+' conftest.er1 >conftest.err
25839
 
  rm -f conftest.er1
25840
 
  cat conftest.err >&5
25841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25842
 
  (exit $ac_status); } && {
25843
 
         test -z "$ac_c_werror_flag" ||
25844
 
         test ! -s conftest.err
25845
 
       } && test -s conftest.$ac_objext; then
25846
 
  ac_cv_type_uint=yes
25847
 
else
25848
 
  echo "$as_me: failed program was:" >&5
25849
 
sed 's/^/| /' conftest.$ac_ext >&5
25850
 
 
25851
 
        ac_cv_type_uint=no
25852
 
fi
25853
 
 
25854
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25855
 
fi
25856
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint" >&5
25857
 
echo "${ECHO_T}$ac_cv_type_uint" >&6; }
25858
 
if test $ac_cv_type_uint = yes; then
25859
 
  :
25860
 
else
25861
 
  
25862
 
cat >>confdefs.h <<_ACEOF
25863
 
@%:@define uint unsigned int
25864
 
_ACEOF
25865
 
 
25866
 
fi
25867
 
 
25868
 
{ echo "$as_me:$LINENO: checking for ulong" >&5
25869
 
echo $ECHO_N "checking for ulong... $ECHO_C" >&6; }
25870
 
if test "${ac_cv_type_ulong+set}" = set; then
25871
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25872
 
else
25873
 
  cat >conftest.$ac_ext <<_ACEOF
25874
 
/* confdefs.h.  */
25875
 
_ACEOF
25876
 
cat confdefs.h >>conftest.$ac_ext
25877
 
cat >>conftest.$ac_ext <<_ACEOF
25878
 
/* end confdefs.h.  */
25879
 
$ac_includes_default
25880
 
typedef ulong ac__type_new_;
25881
 
int
25882
 
main ()
25883
 
{
25884
 
if ((ac__type_new_ *) 0)
25885
 
  return 0;
25886
 
if (sizeof (ac__type_new_))
25887
 
  return 0;
25888
 
  ;
25889
 
  return 0;
25890
 
}
25891
 
_ACEOF
25892
 
rm -f conftest.$ac_objext
25893
 
if { (ac_try="$ac_compile"
25894
 
case "(($ac_try" in
25895
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25896
 
  *) ac_try_echo=$ac_try;;
25897
 
esac
25898
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25899
 
  (eval "$ac_compile") 2>conftest.er1
25900
 
  ac_status=$?
25901
 
  grep -v '^ *+' conftest.er1 >conftest.err
25902
 
  rm -f conftest.er1
25903
 
  cat conftest.err >&5
25904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905
 
  (exit $ac_status); } && {
25906
 
         test -z "$ac_c_werror_flag" ||
25907
 
         test ! -s conftest.err
25908
 
       } && test -s conftest.$ac_objext; then
25909
 
  ac_cv_type_ulong=yes
25910
 
else
25911
 
  echo "$as_me: failed program was:" >&5
25912
 
sed 's/^/| /' conftest.$ac_ext >&5
25913
 
 
25914
 
        ac_cv_type_ulong=no
25915
 
fi
25916
 
 
25917
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25918
 
fi
25919
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_ulong" >&5
25920
 
echo "${ECHO_T}$ac_cv_type_ulong" >&6; }
25921
 
if test $ac_cv_type_ulong = yes; then
25922
 
  :
25923
 
else
25924
 
  
25925
 
cat >>confdefs.h <<_ACEOF
25926
 
@%:@define ulong unsigned long
25927
 
_ACEOF
25928
 
 
25929
 
fi
25930
 
 
25931
 
{ echo "$as_me:$LINENO: checking for longlong" >&5
25932
 
echo $ECHO_N "checking for longlong... $ECHO_C" >&6; }
25933
 
if test "${ac_cv_type_longlong+set}" = set; then
25934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25935
 
else
25936
 
  cat >conftest.$ac_ext <<_ACEOF
25937
 
/* confdefs.h.  */
25938
 
_ACEOF
25939
 
cat confdefs.h >>conftest.$ac_ext
25940
 
cat >>conftest.$ac_ext <<_ACEOF
25941
 
/* end confdefs.h.  */
25942
 
$ac_includes_default
25943
 
typedef longlong ac__type_new_;
25944
 
int
25945
 
main ()
25946
 
{
25947
 
if ((ac__type_new_ *) 0)
25948
 
  return 0;
25949
 
if (sizeof (ac__type_new_))
25950
 
  return 0;
25951
 
  ;
25952
 
  return 0;
25953
 
}
25954
 
_ACEOF
25955
 
rm -f conftest.$ac_objext
25956
 
if { (ac_try="$ac_compile"
25957
 
case "(($ac_try" in
25958
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25959
 
  *) ac_try_echo=$ac_try;;
25960
 
esac
25961
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25962
 
  (eval "$ac_compile") 2>conftest.er1
25963
 
  ac_status=$?
25964
 
  grep -v '^ *+' conftest.er1 >conftest.err
25965
 
  rm -f conftest.er1
25966
 
  cat conftest.err >&5
25967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968
 
  (exit $ac_status); } && {
25969
 
         test -z "$ac_c_werror_flag" ||
25970
 
         test ! -s conftest.err
25971
 
       } && test -s conftest.$ac_objext; then
25972
 
  ac_cv_type_longlong=yes
25973
 
else
25974
 
  echo "$as_me: failed program was:" >&5
25975
 
sed 's/^/| /' conftest.$ac_ext >&5
25976
 
 
25977
 
        ac_cv_type_longlong=no
25978
 
fi
25979
 
 
25980
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25981
 
fi
25982
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_longlong" >&5
25983
 
echo "${ECHO_T}$ac_cv_type_longlong" >&6; }
25984
 
if test $ac_cv_type_longlong = yes; then
25985
 
  :
25986
 
else
25987
 
  
25988
 
cat >>confdefs.h <<_ACEOF
25989
 
@%:@define longlong long long
25990
 
_ACEOF
25991
 
 
25992
 
fi
25993
 
 
25994
 
{ echo "$as_me:$LINENO: checking for ulonglong" >&5
25995
 
echo $ECHO_N "checking for ulonglong... $ECHO_C" >&6; }
25996
 
if test "${ac_cv_type_ulonglong+set}" = set; then
25997
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25998
 
else
25999
 
  cat >conftest.$ac_ext <<_ACEOF
26000
 
/* confdefs.h.  */
26001
 
_ACEOF
26002
 
cat confdefs.h >>conftest.$ac_ext
26003
 
cat >>conftest.$ac_ext <<_ACEOF
26004
 
/* end confdefs.h.  */
26005
 
$ac_includes_default
26006
 
typedef ulonglong ac__type_new_;
26007
 
int
26008
 
main ()
26009
 
{
26010
 
if ((ac__type_new_ *) 0)
26011
 
  return 0;
26012
 
if (sizeof (ac__type_new_))
26013
 
  return 0;
26014
 
  ;
26015
 
  return 0;
26016
 
}
26017
 
_ACEOF
26018
 
rm -f conftest.$ac_objext
26019
 
if { (ac_try="$ac_compile"
26020
 
case "(($ac_try" in
26021
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26022
 
  *) ac_try_echo=$ac_try;;
26023
 
esac
26024
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26025
 
  (eval "$ac_compile") 2>conftest.er1
26026
 
  ac_status=$?
26027
 
  grep -v '^ *+' conftest.er1 >conftest.err
26028
 
  rm -f conftest.er1
26029
 
  cat conftest.err >&5
26030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031
 
  (exit $ac_status); } && {
26032
 
         test -z "$ac_c_werror_flag" ||
26033
 
         test ! -s conftest.err
26034
 
       } && test -s conftest.$ac_objext; then
26035
 
  ac_cv_type_ulonglong=yes
26036
 
else
26037
 
  echo "$as_me: failed program was:" >&5
26038
 
sed 's/^/| /' conftest.$ac_ext >&5
26039
 
 
26040
 
        ac_cv_type_ulonglong=no
26041
 
fi
26042
 
 
26043
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26044
 
fi
26045
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_ulonglong" >&5
26046
 
echo "${ECHO_T}$ac_cv_type_ulonglong" >&6; }
26047
 
if test $ac_cv_type_ulonglong = yes; then
26048
 
  :
26049
 
else
26050
 
  
26051
 
cat >>confdefs.h <<_ACEOF
26052
 
@%:@define ulonglong unsigned long long
26053
 
_ACEOF
26054
 
 
26055
 
fi
26056
 
 
26057
 
{ echo "$as_me:$LINENO: checking for ssize_t" >&5
26058
 
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
26059
 
if test "${ac_cv_type_ssize_t+set}" = set; then
26060
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26061
 
else
26062
 
  cat >conftest.$ac_ext <<_ACEOF
26063
 
/* confdefs.h.  */
26064
 
_ACEOF
26065
 
cat confdefs.h >>conftest.$ac_ext
26066
 
cat >>conftest.$ac_ext <<_ACEOF
26067
 
/* end confdefs.h.  */
26068
 
$ac_includes_default
26069
 
typedef ssize_t ac__type_new_;
26070
 
int
26071
 
main ()
26072
 
{
26073
 
if ((ac__type_new_ *) 0)
26074
 
  return 0;
26075
 
if (sizeof (ac__type_new_))
26076
 
  return 0;
26077
 
  ;
26078
 
  return 0;
26079
 
}
26080
 
_ACEOF
26081
 
rm -f conftest.$ac_objext
26082
 
if { (ac_try="$ac_compile"
26083
 
case "(($ac_try" in
26084
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26085
 
  *) ac_try_echo=$ac_try;;
26086
 
esac
26087
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26088
 
  (eval "$ac_compile") 2>conftest.er1
26089
 
  ac_status=$?
26090
 
  grep -v '^ *+' conftest.er1 >conftest.err
26091
 
  rm -f conftest.er1
26092
 
  cat conftest.err >&5
26093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094
 
  (exit $ac_status); } && {
26095
 
         test -z "$ac_c_werror_flag" ||
26096
 
         test ! -s conftest.err
26097
 
       } && test -s conftest.$ac_objext; then
26098
 
  ac_cv_type_ssize_t=yes
26099
 
else
26100
 
  echo "$as_me: failed program was:" >&5
26101
 
sed 's/^/| /' conftest.$ac_ext >&5
26102
 
 
26103
 
        ac_cv_type_ssize_t=no
26104
 
fi
26105
 
 
26106
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26107
 
fi
26108
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
26109
 
echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
26110
 
if test $ac_cv_type_ssize_t = yes; then
26111
 
  :
26112
 
else
26113
 
  
26114
 
cat >>confdefs.h <<_ACEOF
26115
 
@%:@define ssize_t int
26116
 
_ACEOF
26117
 
 
26118
 
fi
26119
 
 
26120
 
 
26121
 
############################################################
26122
 
# Checks for library functions.
26123
 
############################################################
26124
 
 
26125
 
 
26126
 
for ac_func in vprintf
26127
 
do
26128
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26129
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
26130
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26131
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26133
 
else
26134
 
  cat >conftest.$ac_ext <<_ACEOF
26135
 
/* confdefs.h.  */
26136
 
_ACEOF
26137
 
cat confdefs.h >>conftest.$ac_ext
26138
 
cat >>conftest.$ac_ext <<_ACEOF
26139
 
/* end confdefs.h.  */
26140
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26141
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26142
 
#define $ac_func innocuous_$ac_func
26143
 
 
26144
 
/* System header to define __stub macros and hopefully few prototypes,
26145
 
    which can conflict with char $ac_func (); below.
26146
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26147
 
    <limits.h> exists even on freestanding compilers.  */
26148
 
 
26149
 
#ifdef __STDC__
26150
 
# include <limits.h>
26151
 
#else
26152
 
# include <assert.h>
26153
 
#endif
26154
 
 
26155
 
#undef $ac_func
26156
 
 
26157
 
/* Override any GCC internal prototype to avoid an error.
26158
 
   Use char because int might match the return type of a GCC
26159
 
   builtin and then its argument prototype would still apply.  */
26160
 
#ifdef __cplusplus
26161
 
extern "C"
26162
 
#endif
26163
 
char $ac_func ();
26164
 
/* The GNU C library defines this for functions which it implements
26165
 
    to always fail with ENOSYS.  Some functions are actually named
26166
 
    something starting with __ and the normal name is an alias.  */
26167
 
#if defined __stub_$ac_func || defined __stub___$ac_func
26168
 
choke me
26169
 
#endif
26170
 
 
26171
 
int
26172
 
main ()
26173
 
{
26174
 
return $ac_func ();
26175
 
  ;
26176
 
  return 0;
26177
 
}
26178
 
_ACEOF
26179
 
rm -f conftest.$ac_objext conftest$ac_exeext
26180
 
if { (ac_try="$ac_link"
26181
 
case "(($ac_try" in
26182
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26183
 
  *) ac_try_echo=$ac_try;;
26184
 
esac
26185
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26186
 
  (eval "$ac_link") 2>conftest.er1
26187
 
  ac_status=$?
26188
 
  grep -v '^ *+' conftest.er1 >conftest.err
26189
 
  rm -f conftest.er1
26190
 
  cat conftest.err >&5
26191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192
 
  (exit $ac_status); } && {
26193
 
         test -z "$ac_c_werror_flag" ||
26194
 
         test ! -s conftest.err
26195
 
       } && test -s conftest$ac_exeext &&
26196
 
       $as_test_x conftest$ac_exeext; then
26197
 
  eval "$as_ac_var=yes"
26198
 
else
26199
 
  echo "$as_me: failed program was:" >&5
26200
 
sed 's/^/| /' conftest.$ac_ext >&5
26201
 
 
26202
 
        eval "$as_ac_var=no"
26203
 
fi
26204
 
 
26205
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26206
 
      conftest$ac_exeext conftest.$ac_ext
26207
 
fi
26208
 
ac_res=`eval echo '${'$as_ac_var'}'`
26209
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26210
 
echo "${ECHO_T}$ac_res" >&6; }
26211
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
26212
 
  cat >>confdefs.h <<_ACEOF
26213
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26214
 
_ACEOF
26215
 
 
26216
 
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
26217
 
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
26218
 
if test "${ac_cv_func__doprnt+set}" = set; then
26219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26220
 
else
26221
 
  cat >conftest.$ac_ext <<_ACEOF
26222
 
/* confdefs.h.  */
26223
 
_ACEOF
26224
 
cat confdefs.h >>conftest.$ac_ext
26225
 
cat >>conftest.$ac_ext <<_ACEOF
26226
 
/* end confdefs.h.  */
26227
 
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
26228
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26229
 
#define _doprnt innocuous__doprnt
26230
 
 
26231
 
/* System header to define __stub macros and hopefully few prototypes,
26232
 
    which can conflict with char _doprnt (); below.
26233
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26234
 
    <limits.h> exists even on freestanding compilers.  */
26235
 
 
26236
 
#ifdef __STDC__
26237
 
# include <limits.h>
26238
 
#else
26239
 
# include <assert.h>
26240
 
#endif
26241
 
 
26242
 
#undef _doprnt
26243
 
 
26244
 
/* Override any GCC internal prototype to avoid an error.
26245
 
   Use char because int might match the return type of a GCC
26246
 
   builtin and then its argument prototype would still apply.  */
26247
 
#ifdef __cplusplus
26248
 
extern "C"
26249
 
#endif
26250
 
char _doprnt ();
26251
 
/* The GNU C library defines this for functions which it implements
26252
 
    to always fail with ENOSYS.  Some functions are actually named
26253
 
    something starting with __ and the normal name is an alias.  */
26254
 
#if defined __stub__doprnt || defined __stub____doprnt
26255
 
choke me
26256
 
#endif
26257
 
 
26258
 
int
26259
 
main ()
26260
 
{
26261
 
return _doprnt ();
26262
 
  ;
26263
 
  return 0;
26264
 
}
26265
 
_ACEOF
26266
 
rm -f conftest.$ac_objext conftest$ac_exeext
26267
 
if { (ac_try="$ac_link"
26268
 
case "(($ac_try" in
26269
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26270
 
  *) ac_try_echo=$ac_try;;
26271
 
esac
26272
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26273
 
  (eval "$ac_link") 2>conftest.er1
26274
 
  ac_status=$?
26275
 
  grep -v '^ *+' conftest.er1 >conftest.err
26276
 
  rm -f conftest.er1
26277
 
  cat conftest.err >&5
26278
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26279
 
  (exit $ac_status); } && {
26280
 
         test -z "$ac_c_werror_flag" ||
26281
 
         test ! -s conftest.err
26282
 
       } && test -s conftest$ac_exeext &&
26283
 
       $as_test_x conftest$ac_exeext; then
26284
 
  ac_cv_func__doprnt=yes
26285
 
else
26286
 
  echo "$as_me: failed program was:" >&5
26287
 
sed 's/^/| /' conftest.$ac_ext >&5
26288
 
 
26289
 
        ac_cv_func__doprnt=no
26290
 
fi
26291
 
 
26292
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26293
 
      conftest$ac_exeext conftest.$ac_ext
26294
 
fi
26295
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
26296
 
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
26297
 
if test $ac_cv_func__doprnt = yes; then
26298
 
  
26299
 
cat >>confdefs.h <<\_ACEOF
26300
 
@%:@define HAVE_DOPRNT 1
26301
 
_ACEOF
26302
 
 
26303
 
fi
26304
 
 
26305
 
fi
26306
 
done
26307
 
 
26308
 
 
26309
 
 
26310
 
for ac_func in mkstemp
26311
 
do
26312
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26313
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
26314
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26315
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26316
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26317
 
else
26318
 
  cat >conftest.$ac_ext <<_ACEOF
26319
 
/* confdefs.h.  */
26320
 
_ACEOF
26321
 
cat confdefs.h >>conftest.$ac_ext
26322
 
cat >>conftest.$ac_ext <<_ACEOF
26323
 
/* end confdefs.h.  */
26324
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26325
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26326
 
#define $ac_func innocuous_$ac_func
26327
 
 
26328
 
/* System header to define __stub macros and hopefully few prototypes,
26329
 
    which can conflict with char $ac_func (); below.
26330
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26331
 
    <limits.h> exists even on freestanding compilers.  */
26332
 
 
26333
 
#ifdef __STDC__
26334
 
# include <limits.h>
26335
 
#else
26336
 
# include <assert.h>
26337
 
#endif
26338
 
 
26339
 
#undef $ac_func
26340
 
 
26341
 
/* Override any GCC internal prototype to avoid an error.
26342
 
   Use char because int might match the return type of a GCC
26343
 
   builtin and then its argument prototype would still apply.  */
26344
 
#ifdef __cplusplus
26345
 
extern "C"
26346
 
#endif
26347
 
char $ac_func ();
26348
 
/* The GNU C library defines this for functions which it implements
26349
 
    to always fail with ENOSYS.  Some functions are actually named
26350
 
    something starting with __ and the normal name is an alias.  */
26351
 
#if defined __stub_$ac_func || defined __stub___$ac_func
26352
 
choke me
26353
 
#endif
26354
 
 
26355
 
int
26356
 
main ()
26357
 
{
26358
 
return $ac_func ();
26359
 
  ;
26360
 
  return 0;
26361
 
}
26362
 
_ACEOF
26363
 
rm -f conftest.$ac_objext conftest$ac_exeext
26364
 
if { (ac_try="$ac_link"
26365
 
case "(($ac_try" in
26366
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26367
 
  *) ac_try_echo=$ac_try;;
26368
 
esac
26369
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26370
 
  (eval "$ac_link") 2>conftest.er1
26371
 
  ac_status=$?
26372
 
  grep -v '^ *+' conftest.er1 >conftest.err
26373
 
  rm -f conftest.er1
26374
 
  cat conftest.err >&5
26375
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376
 
  (exit $ac_status); } && {
26377
 
         test -z "$ac_c_werror_flag" ||
26378
 
         test ! -s conftest.err
26379
 
       } && test -s conftest$ac_exeext &&
26380
 
       $as_test_x conftest$ac_exeext; then
26381
 
  eval "$as_ac_var=yes"
26382
 
else
26383
 
  echo "$as_me: failed program was:" >&5
26384
 
sed 's/^/| /' conftest.$ac_ext >&5
26385
 
 
26386
 
        eval "$as_ac_var=no"
26387
 
fi
26388
 
 
26389
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26390
 
      conftest$ac_exeext conftest.$ac_ext
26391
 
fi
26392
 
ac_res=`eval echo '${'$as_ac_var'}'`
26393
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
26394
 
echo "${ECHO_T}$ac_res" >&6; }
26395
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
26396
 
  cat >>confdefs.h <<_ACEOF
26397
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26398
 
_ACEOF
26399
 
 
26400
 
fi
26401
 
done
26402
 
 
26403
 
 
26404
 
############################################################
26405
 
# Enable/disable special memory allocator for debugging.
26406
 
############################################################
26407
 
 
26408
 
# Check whether --enable-dmalloc was given.
26409
 
if test "${enable_dmalloc+set}" = set; then
26410
 
  enableval=$enable_dmalloc; 
26411
 
case "${enableval}" in
26412
 
yes)
26413
 
        cat >>confdefs.h <<\_ACEOF
26414
 
@%:@define DEBUG_MEMALLOC 1
26415
 
_ACEOF
26416
 
 
26417
 
        ;;
26418
 
no)
26419
 
        ;;
26420
 
*)
26421
 
        { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dmalloc" >&5
26422
 
echo "$as_me: error: bad value ${enableval} for --enable-dmalloc" >&2;}
26423
 
   { (exit 1); exit 1; }; }
26424
 
        ;;
26425
 
esac
26426
 
 
26427
 
fi
26428
 
 
26429
 
 
26430
 
############################################################
26431
 
# Enable/disable extra code for debugging.
26432
 
############################################################
26433
 
 
26434
 
# Check whether --enable-debug was given.
26435
 
if test "${enable_debug+set}" = set; then
26436
 
  enableval=$enable_debug; 
26437
 
case "${enableval}" in
26438
 
yes)
26439
 
        debug=true
26440
 
        cat >>confdefs.h <<\_ACEOF
26441
 
@%:@define DEBUG 1
26442
 
_ACEOF
26443
 
 
26444
 
        cat >>confdefs.h <<\_ACEOF
26445
 
@%:@define DEBUG_OVERFLOW 1
26446
 
_ACEOF
26447
 
 
26448
 
        if test "$GCC" = yes; then
26449
 
                CFLAGS="-g -O0"
26450
 
        fi
26451
 
        ;;
26452
 
no)
26453
 
        debug=false
26454
 
        ;;
26455
 
*)
26456
 
        { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
26457
 
echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
26458
 
   { (exit 1); exit 1; }; }
26459
 
        ;;
26460
 
esac
26461
 
 
26462
 
else
26463
 
  debug=false
26464
 
fi
26465
 
 
26466
 
 
26467
 
if test "$GCC" = yes; then
26468
 
        CFLAGS="$CFLAGS -W -Wall -Wno-long-long -Wformat -Wmissing-prototypes -Wstrict-prototypes -pedantic"
26469
 
fi
26470
 
 
26471
 
############################################################
26472
 
# Generate the configuration header file.
26473
 
############################################################
26474
 
 
26475
 
ac_config_headers="$ac_config_headers src/libjasper/include/jasper/jas_config_ac.h"
26476
 
 
26477
 
 
26478
 
############################################################
26479
 
# Generate the makefiles.
26480
 
############################################################
26481
 
 
26482
 
ac_config_files="$ac_config_files Makefile src/Makefile src/appl/Makefile src/libjasper/Makefile src/libjasper/base/Makefile src/libjasper/bmp/Makefile src/libjasper/include/Makefile src/libjasper/include/jasper/Makefile src/libjasper/jp2/Makefile src/libjasper/jpc/Makefile src/libjasper/jpg/Makefile src/libjasper/mif/Makefile src/libjasper/pgx/Makefile src/libjasper/pnm/Makefile src/libjasper/ras/Makefile src/msvc/Makefile jasper.spec"
26483
 
 
26484
 
cat >confcache <<\_ACEOF
26485
 
# This file is a shell script that caches the results of configure
26486
 
# tests run on this system so they can be shared between configure
26487
 
# scripts and configure runs, see configure's option --config-cache.
26488
 
# It is not useful on other systems.  If it contains results you don't
26489
 
# want to keep, you may remove or edit it.
26490
 
#
26491
 
# config.status only pays attention to the cache file if you give it
26492
 
# the --recheck option to rerun configure.
26493
 
#
26494
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
26495
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
26496
 
# following values.
26497
 
 
26498
 
_ACEOF
26499
 
 
26500
 
# The following way of writing the cache mishandles newlines in values,
26501
 
# but we know of no workaround that is simple, portable, and efficient.
26502
 
# So, we kill variables containing newlines.
26503
 
# Ultrix sh set writes to stderr and can't be redirected directly,
26504
 
# and sets the high bit in the cache file unless we assign to the vars.
26505
 
(
26506
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26507
 
    eval ac_val=\$$ac_var
26508
 
    case $ac_val in #(
26509
 
    *${as_nl}*)
26510
 
      case $ac_var in #(
26511
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26512
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26513
 
      esac
26514
 
      case $ac_var in #(
26515
 
      _ | IFS | as_nl) ;; #(
26516
 
      *) $as_unset $ac_var ;;
26517
 
      esac ;;
26518
 
    esac
26519
 
  done
26520
 
 
26521
 
  (set) 2>&1 |
26522
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
26523
 
    *${as_nl}ac_space=\ *)
26524
 
      # `set' does not quote correctly, so add quotes (double-quote
26525
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
26526
 
      sed -n \
26527
 
        "s/'/'\\\\''/g;
26528
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26529
 
      ;; #(
26530
 
    *)
26531
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
26532
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26533
 
      ;;
26534
 
    esac |
26535
 
    sort
26536
 
) |
26537
 
  sed '
26538
 
     /^ac_cv_env_/b end
26539
 
     t clear
26540
 
     :clear
26541
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26542
 
     t end
26543
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26544
 
     :end' >>confcache
26545
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26546
 
  if test -w "$cache_file"; then
26547
 
    test "x$cache_file" != "x/dev/null" &&
26548
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26549
 
echo "$as_me: updating cache $cache_file" >&6;}
26550
 
    cat confcache >$cache_file
26551
 
  else
26552
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26553
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26554
 
  fi
26555
 
fi
26556
 
rm -f confcache
26557
 
 
26558
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
26559
 
# Let make expand exec_prefix.
26560
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26561
 
 
26562
 
DEFS=-DHAVE_CONFIG_H
26563
 
 
26564
 
ac_libobjs=
26565
 
ac_ltlibobjs=
26566
 
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
26567
 
  # 1. Remove the extension, and $U if already installed.
26568
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26569
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
26570
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
26571
 
  #    will be set to the directory where LIBOBJS objects are built.
26572
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26573
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
26574
 
done
26575
 
LIB@&t@OBJS=$ac_libobjs
26576
 
 
26577
 
LTLIBOBJS=$ac_ltlibobjs
26578
 
 
26579
 
 
26580
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26581
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
26582
 
Usually this means the macro was only invoked conditionally." >&5
26583
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
26584
 
Usually this means the macro was only invoked conditionally." >&2;}
26585
 
   { (exit 1); exit 1; }; }
26586
 
fi
26587
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26588
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
26589
 
Usually this means the macro was only invoked conditionally." >&5
26590
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
26591
 
Usually this means the macro was only invoked conditionally." >&2;}
26592
 
   { (exit 1); exit 1; }; }
26593
 
fi
26594
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26595
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
26596
 
Usually this means the macro was only invoked conditionally." >&5
26597
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
26598
 
Usually this means the macro was only invoked conditionally." >&2;}
26599
 
   { (exit 1); exit 1; }; }
26600
 
fi
26601
 
if test -z "${HAVE_LIBJPEG_TRUE}" && test -z "${HAVE_LIBJPEG_FALSE}"; then
26602
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBJPEG\" was never defined.
26603
 
Usually this means the macro was only invoked conditionally." >&5
26604
 
echo "$as_me: error: conditional \"HAVE_LIBJPEG\" was never defined.
26605
 
Usually this means the macro was only invoked conditionally." >&2;}
26606
 
   { (exit 1); exit 1; }; }
26607
 
fi
26608
 
if test -z "${HAVE_OPENGL_TRUE}" && test -z "${HAVE_OPENGL_FALSE}"; then
26609
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_OPENGL\" was never defined.
26610
 
Usually this means the macro was only invoked conditionally." >&5
26611
 
echo "$as_me: error: conditional \"HAVE_OPENGL\" was never defined.
26612
 
Usually this means the macro was only invoked conditionally." >&2;}
26613
 
   { (exit 1); exit 1; }; }
26614
 
fi
26615
 
if test -z "${HAVE_SDL_TRUE}" && test -z "${HAVE_SDL_FALSE}"; then
26616
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_SDL\" was never defined.
26617
 
Usually this means the macro was only invoked conditionally." >&5
26618
 
echo "$as_me: error: conditional \"HAVE_SDL\" was never defined.
26619
 
Usually this means the macro was only invoked conditionally." >&2;}
26620
 
   { (exit 1); exit 1; }; }
26621
 
fi
26622
 
 
26623
 
: ${CONFIG_STATUS=./config.status}
26624
 
ac_clean_files_save=$ac_clean_files
26625
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26626
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
26627
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
26628
 
cat >$CONFIG_STATUS <<_ACEOF
26629
 
#! $SHELL
26630
 
# Generated by $as_me.
26631
 
# Run this file to recreate the current configuration.
26632
 
# Compiler output produced by configure, useful for debugging
26633
 
# configure, is in config.log if it exists.
26634
 
 
26635
 
debug=false
26636
 
ac_cs_recheck=false
26637
 
ac_cs_silent=false
26638
 
SHELL=\${CONFIG_SHELL-$SHELL}
26639
 
_ACEOF
26640
 
 
26641
 
cat >>$CONFIG_STATUS <<\_ACEOF
26642
 
## --------------------- ##
26643
 
## M4sh Initialization.  ##
26644
 
## --------------------- ##
26645
 
 
26646
 
# Be more Bourne compatible
26647
 
DUALCASE=1; export DUALCASE # for MKS sh
26648
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26649
 
  emulate sh
26650
 
  NULLCMD=:
26651
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26652
 
  # is contrary to our usage.  Disable this feature.
26653
 
  alias -g '${1+"$@"}'='"$@"'
26654
 
  setopt NO_GLOB_SUBST
26655
 
else
26656
 
  case `(set -o) 2>/dev/null` in
26657
 
  *posix*) set -o posix ;;
26658
 
esac
26659
 
 
26660
 
fi
26661
 
 
26662
 
 
26663
 
 
26664
 
 
26665
 
# PATH needs CR
26666
 
# Avoid depending upon Character Ranges.
26667
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26668
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26669
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26670
 
as_cr_digits='0123456789'
26671
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
26672
 
 
26673
 
# The user is always right.
26674
 
if test "${PATH_SEPARATOR+set}" != set; then
26675
 
  echo "#! /bin/sh" >conf$$.sh
26676
 
  echo  "exit 0"   >>conf$$.sh
26677
 
  chmod +x conf$$.sh
26678
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26679
 
    PATH_SEPARATOR=';'
26680
 
  else
26681
 
    PATH_SEPARATOR=:
26682
 
  fi
26683
 
  rm -f conf$$.sh
26684
 
fi
26685
 
 
26686
 
# Support unset when possible.
26687
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26688
 
  as_unset=unset
26689
 
else
26690
 
  as_unset=false
26691
 
fi
26692
 
 
26693
 
 
26694
 
# IFS
26695
 
# We need space, tab and new line, in precisely that order.  Quoting is
26696
 
# there to prevent editors from complaining about space-tab.
26697
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
26698
 
# splitting by setting IFS to empty value.)
26699
 
as_nl='
26700
 
'
26701
 
IFS=" ""        $as_nl"
26702
 
 
26703
 
# Find who we are.  Look in the path if we contain no directory separator.
26704
 
case $0 in
26705
 
  *[\\/]* ) as_myself=$0 ;;
26706
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26707
 
for as_dir in $PATH
26708
 
do
26709
 
  IFS=$as_save_IFS
26710
 
  test -z "$as_dir" && as_dir=.
26711
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26712
 
done
26713
 
IFS=$as_save_IFS
26714
 
 
26715
 
     ;;
26716
 
esac
26717
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
26718
 
# in which case we are not to be found in the path.
26719
 
if test "x$as_myself" = x; then
26720
 
  as_myself=$0
26721
 
fi
26722
 
if test ! -f "$as_myself"; then
26723
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26724
 
  { (exit 1); exit 1; }
26725
 
fi
26726
 
 
26727
 
# Work around bugs in pre-3.0 UWIN ksh.
26728
 
for as_var in ENV MAIL MAILPATH
26729
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26730
 
done
26731
 
PS1='$ '
26732
 
PS2='> '
26733
 
PS4='+ '
26734
 
 
26735
 
# NLS nuisances.
26736
 
for as_var in \
26737
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26738
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26739
 
  LC_TELEPHONE LC_TIME
26740
 
do
26741
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26742
 
    eval $as_var=C; export $as_var
26743
 
  else
26744
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26745
 
  fi
26746
 
done
26747
 
 
26748
 
# Required to use basename.
26749
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
26750
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26751
 
  as_expr=expr
26752
 
else
26753
 
  as_expr=false
26754
 
fi
26755
 
 
26756
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26757
 
  as_basename=basename
26758
 
else
26759
 
  as_basename=false
26760
 
fi
26761
 
 
26762
 
 
26763
 
# Name of the executable.
26764
 
as_me=`$as_basename -- "$0" ||
26765
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26766
 
         X"$0" : 'X\(//\)$' \| \
26767
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26768
 
echo X/"$0" |
26769
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
26770
 
            s//\1/
26771
 
            q
26772
 
          }
26773
 
          /^X\/\(\/\/\)$/{
26774
 
            s//\1/
26775
 
            q
26776
 
          }
26777
 
          /^X\/\(\/\).*/{
26778
 
            s//\1/
26779
 
            q
26780
 
          }
26781
 
          s/.*/./; q'`
26782
 
 
26783
 
# CDPATH.
26784
 
$as_unset CDPATH
26785
 
 
26786
 
 
26787
 
 
26788
 
  as_lineno_1=$LINENO
26789
 
  as_lineno_2=$LINENO
26790
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
26791
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26792
 
 
26793
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26794
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
26795
 
  # line-number line after each line using $LINENO; the second 'sed'
26796
 
  # does the real work.  The second script uses 'N' to pair each
26797
 
  # line-number line with the line containing $LINENO, and appends
26798
 
  # trailing '-' during substitution so that $LINENO is not a special
26799
 
  # case at line end.
26800
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26801
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
26802
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
26803
 
  sed -n '
26804
 
    p
26805
 
    /[$]LINENO/=
26806
 
  ' <$as_myself |
26807
 
    sed '
26808
 
      s/[$]LINENO.*/&-/
26809
 
      t lineno
26810
 
      b
26811
 
      :lineno
26812
 
      N
26813
 
      :loop
26814
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26815
 
      t loop
26816
 
      s/-\n.*//
26817
 
    ' >$as_me.lineno &&
26818
 
  chmod +x "$as_me.lineno" ||
26819
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26820
 
   { (exit 1); exit 1; }; }
26821
 
 
26822
 
  # Don't try to exec as it changes $[0], causing all sort of problems
26823
 
  # (the dirname of $[0] is not the place where we might find the
26824
 
  # original and so on.  Autoconf is especially sensitive to this).
26825
 
  . "./$as_me.lineno"
26826
 
  # Exit status is that of the last command.
26827
 
  exit
26828
 
}
26829
 
 
26830
 
 
26831
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26832
 
  as_dirname=dirname
26833
 
else
26834
 
  as_dirname=false
26835
 
fi
26836
 
 
26837
 
ECHO_C= ECHO_N= ECHO_T=
26838
 
case `echo -n x` in
26839
 
-n*)
26840
 
  case `echo 'x\c'` in
26841
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
26842
 
  *)   ECHO_C='\c';;
26843
 
  esac;;
26844
 
*)
26845
 
  ECHO_N='-n';;
26846
 
esac
26847
 
 
26848
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
26849
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26850
 
  as_expr=expr
26851
 
else
26852
 
  as_expr=false
26853
 
fi
26854
 
 
26855
 
rm -f conf$$ conf$$.exe conf$$.file
26856
 
if test -d conf$$.dir; then
26857
 
  rm -f conf$$.dir/conf$$.file
26858
 
else
26859
 
  rm -f conf$$.dir
26860
 
  mkdir conf$$.dir
26861
 
fi
26862
 
echo >conf$$.file
26863
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
26864
 
  as_ln_s='ln -s'
26865
 
  # ... but there are two gotchas:
26866
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26867
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26868
 
  # In both cases, we have to default to `cp -p'.
26869
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26870
 
    as_ln_s='cp -p'
26871
 
elif ln conf$$.file conf$$ 2>/dev/null; then
26872
 
  as_ln_s=ln
26873
 
else
26874
 
  as_ln_s='cp -p'
26875
 
fi
26876
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26877
 
rmdir conf$$.dir 2>/dev/null
26878
 
 
26879
 
if mkdir -p . 2>/dev/null; then
26880
 
  as_mkdir_p=:
26881
 
else
26882
 
  test -d ./-p && rmdir ./-p
26883
 
  as_mkdir_p=false
26884
 
fi
26885
 
 
26886
 
if test -x / >/dev/null 2>&1; then
26887
 
  as_test_x='test -x'
26888
 
else
26889
 
  if ls -dL / >/dev/null 2>&1; then
26890
 
    as_ls_L_option=L
26891
 
  else
26892
 
    as_ls_L_option=
26893
 
  fi
26894
 
  as_test_x='
26895
 
    eval sh -c '\''
26896
 
      if test -d "$1"; then
26897
 
        test -d "$1/.";
26898
 
      else
26899
 
        case $1 in
26900
 
        -*)set "./$1";;
26901
 
        esac;
26902
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26903
 
        ???[sx]*):;;*)false;;esac;fi
26904
 
    '\'' sh
26905
 
  '
26906
 
fi
26907
 
as_executable_p=$as_test_x
26908
 
 
26909
 
# Sed expression to map a string onto a valid CPP name.
26910
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26911
 
 
26912
 
# Sed expression to map a string onto a valid variable name.
26913
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26914
 
 
26915
 
 
26916
 
exec 6>&1
26917
 
 
26918
 
# Save the log message, to keep $[0] and so on meaningful, and to
26919
 
# report actual input values of CONFIG_FILES etc. instead of their
26920
 
# values after options handling.
26921
 
ac_log="
26922
 
This file was extended by jasper $as_me 1.701.0-gs5, which was
26923
 
generated by GNU Autoconf 2.61.  Invocation command line was
26924
 
 
26925
 
  CONFIG_FILES    = $CONFIG_FILES
26926
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
26927
 
  CONFIG_LINKS    = $CONFIG_LINKS
26928
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
26929
 
  $ $0 $@
26930
 
 
26931
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
26932
 
"
26933
 
 
26934
 
_ACEOF
26935
 
 
26936
 
cat >>$CONFIG_STATUS <<_ACEOF
26937
 
# Files that config.status was made for.
26938
 
config_files="$ac_config_files"
26939
 
config_headers="$ac_config_headers"
26940
 
config_commands="$ac_config_commands"
26941
 
 
26942
 
_ACEOF
26943
 
 
26944
 
cat >>$CONFIG_STATUS <<\_ACEOF
26945
 
ac_cs_usage="\
26946
 
\`$as_me' instantiates files from templates according to the
26947
 
current configuration.
26948
 
 
26949
 
Usage: $0 [OPTIONS] [FILE]...
26950
 
 
26951
 
  -h, --help       print this help, then exit
26952
 
  -V, --version    print version number and configuration settings, then exit
26953
 
  -q, --quiet      do not print progress messages
26954
 
  -d, --debug      don't remove temporary files
26955
 
      --recheck    update $as_me by reconfiguring in the same conditions
26956
 
  --file=FILE[:TEMPLATE]
26957
 
                   instantiate the configuration file FILE
26958
 
  --header=FILE[:TEMPLATE]
26959
 
                   instantiate the configuration header FILE
26960
 
 
26961
 
Configuration files:
26962
 
$config_files
26963
 
 
26964
 
Configuration headers:
26965
 
$config_headers
26966
 
 
26967
 
Configuration commands:
26968
 
$config_commands
26969
 
 
26970
 
Report bugs to <bug-autoconf@gnu.org>."
26971
 
 
26972
 
_ACEOF
26973
 
cat >>$CONFIG_STATUS <<_ACEOF
26974
 
ac_cs_version="\\
26975
 
jasper config.status 1.701.0-gs5
26976
 
configured by $0, generated by GNU Autoconf 2.61,
26977
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26978
 
 
26979
 
Copyright (C) 2006 Free Software Foundation, Inc.
26980
 
This config.status script is free software; the Free Software Foundation
26981
 
gives unlimited permission to copy, distribute and modify it."
26982
 
 
26983
 
ac_pwd='$ac_pwd'
26984
 
srcdir='$srcdir'
26985
 
INSTALL='$INSTALL'
26986
 
MKDIR_P='$MKDIR_P'
26987
 
_ACEOF
26988
 
 
26989
 
cat >>$CONFIG_STATUS <<\_ACEOF
26990
 
# If no file are specified by the user, then we need to provide default
26991
 
# value.  By we need to know if files were specified by the user.
26992
 
ac_need_defaults=:
26993
 
while test $# != 0
26994
 
do
26995
 
  case $1 in
26996
 
  --*=*)
26997
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
26998
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26999
 
    ac_shift=:
27000
 
    ;;
27001
 
  *)
27002
 
    ac_option=$1
27003
 
    ac_optarg=$2
27004
 
    ac_shift=shift
27005
 
    ;;
27006
 
  esac
27007
 
 
27008
 
  case $ac_option in
27009
 
  # Handling of the options.
27010
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27011
 
    ac_cs_recheck=: ;;
27012
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27013
 
    echo "$ac_cs_version"; exit ;;
27014
 
  --debug | --debu | --deb | --de | --d | -d )
27015
 
    debug=: ;;
27016
 
  --file | --fil | --fi | --f )
27017
 
    $ac_shift
27018
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
27019
 
    ac_need_defaults=false;;
27020
 
  --header | --heade | --head | --hea )
27021
 
    $ac_shift
27022
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
27023
 
    ac_need_defaults=false;;
27024
 
  --he | --h)
27025
 
    # Conflict between --help and --header
27026
 
    { echo "$as_me: error: ambiguous option: $1
27027
 
Try \`$0 --help' for more information." >&2
27028
 
   { (exit 1); exit 1; }; };;
27029
 
  --help | --hel | -h )
27030
 
    echo "$ac_cs_usage"; exit ;;
27031
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27032
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
27033
 
    ac_cs_silent=: ;;
27034
 
 
27035
 
  # This is an error.
27036
 
  -*) { echo "$as_me: error: unrecognized option: $1
27037
 
Try \`$0 --help' for more information." >&2
27038
 
   { (exit 1); exit 1; }; } ;;
27039
 
 
27040
 
  *) ac_config_targets="$ac_config_targets $1"
27041
 
     ac_need_defaults=false ;;
27042
 
 
27043
 
  esac
27044
 
  shift
27045
 
done
27046
 
 
27047
 
ac_configure_extra_args=
27048
 
 
27049
 
if $ac_cs_silent; then
27050
 
  exec 6>/dev/null
27051
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
27052
 
fi
27053
 
 
27054
 
_ACEOF
27055
 
cat >>$CONFIG_STATUS <<_ACEOF
27056
 
if \$ac_cs_recheck; then
27057
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
27058
 
  CONFIG_SHELL=$SHELL
27059
 
  export CONFIG_SHELL
27060
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27061
 
fi
27062
 
 
27063
 
_ACEOF
27064
 
cat >>$CONFIG_STATUS <<\_ACEOF
27065
 
exec 5>>config.log
27066
 
{
27067
 
  echo
27068
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
27069
 
@%:@@%:@ Running $as_me. @%:@@%:@
27070
 
_ASBOX
27071
 
  echo "$ac_log"
27072
 
} >&5
27073
 
 
27074
 
_ACEOF
27075
 
cat >>$CONFIG_STATUS <<_ACEOF
27076
 
#
27077
 
# INIT-COMMANDS
27078
 
#
27079
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27080
 
 
27081
 
_ACEOF
27082
 
 
27083
 
cat >>$CONFIG_STATUS <<\_ACEOF
27084
 
 
27085
 
# Handling of arguments.
27086
 
for ac_config_target in $ac_config_targets
27087
 
do
27088
 
  case $ac_config_target in
27089
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27090
 
    "src/libjasper/include/jasper/jas_config_ac.h") CONFIG_HEADERS="$CONFIG_HEADERS src/libjasper/include/jasper/jas_config_ac.h" ;;
27091
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27092
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
27093
 
    "src/appl/Makefile") CONFIG_FILES="$CONFIG_FILES src/appl/Makefile" ;;
27094
 
    "src/libjasper/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/Makefile" ;;
27095
 
    "src/libjasper/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/base/Makefile" ;;
27096
 
    "src/libjasper/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/bmp/Makefile" ;;
27097
 
    "src/libjasper/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/include/Makefile" ;;
27098
 
    "src/libjasper/include/jasper/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/include/jasper/Makefile" ;;
27099
 
    "src/libjasper/jp2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/jp2/Makefile" ;;
27100
 
    "src/libjasper/jpc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/jpc/Makefile" ;;
27101
 
    "src/libjasper/jpg/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/jpg/Makefile" ;;
27102
 
    "src/libjasper/mif/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/mif/Makefile" ;;
27103
 
    "src/libjasper/pgx/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/pgx/Makefile" ;;
27104
 
    "src/libjasper/pnm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/pnm/Makefile" ;;
27105
 
    "src/libjasper/ras/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/ras/Makefile" ;;
27106
 
    "src/msvc/Makefile") CONFIG_FILES="$CONFIG_FILES src/msvc/Makefile" ;;
27107
 
    "jasper.spec") CONFIG_FILES="$CONFIG_FILES jasper.spec" ;;
27108
 
 
27109
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
27110
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
27111
 
   { (exit 1); exit 1; }; };;
27112
 
  esac
27113
 
done
27114
 
 
27115
 
 
27116
 
# If the user did not use the arguments to specify the items to instantiate,
27117
 
# then the envvar interface is used.  Set only those that are not.
27118
 
# We use the long form for the default assignment because of an extremely
27119
 
# bizarre bug on SunOS 4.1.3.
27120
 
if $ac_need_defaults; then
27121
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27122
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27123
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27124
 
fi
27125
 
 
27126
 
# Have a temporary directory for convenience.  Make it in the build tree
27127
 
# simply because there is no reason against having it here, and in addition,
27128
 
# creating and moving files from /tmp can sometimes cause problems.
27129
 
# Hook for its removal unless debugging.
27130
 
# Note that there is a small window in which the directory will not be cleaned:
27131
 
# after its creation but before its name has been assigned to `$tmp'.
27132
 
$debug ||
27133
 
{
27134
 
  tmp=
27135
 
  trap 'exit_status=$?
27136
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27137
 
' 0
27138
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
27139
 
}
27140
 
# Create a (secure) tmp directory for tmp files.
27141
 
 
27142
 
{
27143
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27144
 
  test -n "$tmp" && test -d "$tmp"
27145
 
}  ||
27146
 
{
27147
 
  tmp=./conf$$-$RANDOM
27148
 
  (umask 077 && mkdir "$tmp")
27149
 
} ||
27150
 
{
27151
 
   echo "$me: cannot create a temporary directory in ." >&2
27152
 
   { (exit 1); exit 1; }
27153
 
}
27154
 
 
27155
 
#
27156
 
# Set up the sed scripts for CONFIG_FILES section.
27157
 
#
27158
 
 
27159
 
# No need to generate the scripts if there are no CONFIG_FILES.
27160
 
# This happens for instance when ./config.status config.h
27161
 
if test -n "$CONFIG_FILES"; then
27162
 
 
27163
 
_ACEOF
27164
 
 
27165
 
 
27166
 
 
27167
 
ac_delim='%!_!# '
27168
 
for ac_last_try in false false false false false :; do
27169
 
  cat >conf$$subs.sed <<_ACEOF
27170
 
SHELL!$SHELL$ac_delim
27171
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
27172
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
27173
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
27174
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
27175
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
27176
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
27177
 
exec_prefix!$exec_prefix$ac_delim
27178
 
prefix!$prefix$ac_delim
27179
 
program_transform_name!$program_transform_name$ac_delim
27180
 
bindir!$bindir$ac_delim
27181
 
sbindir!$sbindir$ac_delim
27182
 
libexecdir!$libexecdir$ac_delim
27183
 
datarootdir!$datarootdir$ac_delim
27184
 
datadir!$datadir$ac_delim
27185
 
sysconfdir!$sysconfdir$ac_delim
27186
 
sharedstatedir!$sharedstatedir$ac_delim
27187
 
localstatedir!$localstatedir$ac_delim
27188
 
includedir!$includedir$ac_delim
27189
 
oldincludedir!$oldincludedir$ac_delim
27190
 
docdir!$docdir$ac_delim
27191
 
infodir!$infodir$ac_delim
27192
 
htmldir!$htmldir$ac_delim
27193
 
dvidir!$dvidir$ac_delim
27194
 
pdfdir!$pdfdir$ac_delim
27195
 
psdir!$psdir$ac_delim
27196
 
libdir!$libdir$ac_delim
27197
 
localedir!$localedir$ac_delim
27198
 
mandir!$mandir$ac_delim
27199
 
DEFS!$DEFS$ac_delim
27200
 
ECHO_C!$ECHO_C$ac_delim
27201
 
ECHO_N!$ECHO_N$ac_delim
27202
 
ECHO_T!$ECHO_T$ac_delim
27203
 
LIBS!$LIBS$ac_delim
27204
 
build_alias!$build_alias$ac_delim
27205
 
host_alias!$host_alias$ac_delim
27206
 
target_alias!$target_alias$ac_delim
27207
 
build!$build$ac_delim
27208
 
build_cpu!$build_cpu$ac_delim
27209
 
build_vendor!$build_vendor$ac_delim
27210
 
build_os!$build_os$ac_delim
27211
 
host!$host$ac_delim
27212
 
host_cpu!$host_cpu$ac_delim
27213
 
host_vendor!$host_vendor$ac_delim
27214
 
host_os!$host_os$ac_delim
27215
 
target!$target$ac_delim
27216
 
target_cpu!$target_cpu$ac_delim
27217
 
target_vendor!$target_vendor$ac_delim
27218
 
target_os!$target_os$ac_delim
27219
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
27220
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
27221
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
27222
 
am__isrc!$am__isrc$ac_delim
27223
 
CYGPATH_W!$CYGPATH_W$ac_delim
27224
 
PACKAGE!$PACKAGE$ac_delim
27225
 
VERSION!$VERSION$ac_delim
27226
 
ACLOCAL!$ACLOCAL$ac_delim
27227
 
AUTOCONF!$AUTOCONF$ac_delim
27228
 
AUTOMAKE!$AUTOMAKE$ac_delim
27229
 
AUTOHEADER!$AUTOHEADER$ac_delim
27230
 
MAKEINFO!$MAKEINFO$ac_delim
27231
 
install_sh!$install_sh$ac_delim
27232
 
STRIP!$STRIP$ac_delim
27233
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
27234
 
mkdir_p!$mkdir_p$ac_delim
27235
 
AWK!$AWK$ac_delim
27236
 
SET_MAKE!$SET_MAKE$ac_delim
27237
 
am__leading_dot!$am__leading_dot$ac_delim
27238
 
AMTAR!$AMTAR$ac_delim
27239
 
am__tar!$am__tar$ac_delim
27240
 
am__untar!$am__untar$ac_delim
27241
 
JAS_MAJOR_VERSION!$JAS_MAJOR_VERSION$ac_delim
27242
 
JAS_MINOR_VERSION!$JAS_MINOR_VERSION$ac_delim
27243
 
JAS_MICRO_VERSION!$JAS_MICRO_VERSION$ac_delim
27244
 
JAS_VERSION!$JAS_VERSION$ac_delim
27245
 
JAS_RPM_RELEASE!$JAS_RPM_RELEASE$ac_delim
27246
 
LT_RELEASE!$LT_RELEASE$ac_delim
27247
 
LT_CURRENT!$LT_CURRENT$ac_delim
27248
 
LT_REVISION!$LT_REVISION$ac_delim
27249
 
LT_AGE!$LT_AGE$ac_delim
27250
 
CC!$CC$ac_delim
27251
 
CFLAGS!$CFLAGS$ac_delim
27252
 
LDFLAGS!$LDFLAGS$ac_delim
27253
 
CPPFLAGS!$CPPFLAGS$ac_delim
27254
 
ac_ct_CC!$ac_ct_CC$ac_delim
27255
 
EXEEXT!$EXEEXT$ac_delim
27256
 
OBJEXT!$OBJEXT$ac_delim
27257
 
DEPDIR!$DEPDIR$ac_delim
27258
 
am__include!$am__include$ac_delim
27259
 
am__quote!$am__quote$ac_delim
27260
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
27261
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
27262
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
27263
 
CCDEPMODE!$CCDEPMODE$ac_delim
27264
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
27265
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
27266
 
CPP!$CPP$ac_delim
27267
 
_ACEOF
27268
 
 
27269
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
27270
 
    break
27271
 
  elif $ac_last_try; then
27272
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27273
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27274
 
   { (exit 1); exit 1; }; }
27275
 
  else
27276
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27277
 
  fi
27278
 
done
27279
 
 
27280
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27281
 
if test -n "$ac_eof"; then
27282
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27283
 
  ac_eof=`expr $ac_eof + 1`
27284
 
fi
27285
 
 
27286
 
cat >>$CONFIG_STATUS <<_ACEOF
27287
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
27288
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27289
 
_ACEOF
27290
 
sed '
27291
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27292
 
s/^/s,@/; s/!/@,|#_!!_#|/
27293
 
:n
27294
 
t n
27295
 
s/'"$ac_delim"'$/,g/; t
27296
 
s/$/\\/; p
27297
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27298
 
' >>$CONFIG_STATUS <conf$$subs.sed
27299
 
rm -f conf$$subs.sed
27300
 
cat >>$CONFIG_STATUS <<_ACEOF
27301
 
CEOF$ac_eof
27302
 
_ACEOF
27303
 
 
27304
 
 
27305
 
ac_delim='%!_!# '
27306
 
for ac_last_try in false false false false false :; do
27307
 
  cat >conf$$subs.sed <<_ACEOF
27308
 
LN_S!$LN_S$ac_delim
27309
 
RANLIB!$RANLIB$ac_delim
27310
 
SED!$SED$ac_delim
27311
 
GREP!$GREP$ac_delim
27312
 
EGREP!$EGREP$ac_delim
27313
 
ECHO!$ECHO$ac_delim
27314
 
AR!$AR$ac_delim
27315
 
CXX!$CXX$ac_delim
27316
 
CXXFLAGS!$CXXFLAGS$ac_delim
27317
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
27318
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
27319
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
27320
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
27321
 
CXXCPP!$CXXCPP$ac_delim
27322
 
F77!$F77$ac_delim
27323
 
FFLAGS!$FFLAGS$ac_delim
27324
 
ac_ct_F77!$ac_ct_F77$ac_delim
27325
 
LIBTOOL!$LIBTOOL$ac_delim
27326
 
XMKMF!$XMKMF$ac_delim
27327
 
X_CFLAGS!$X_CFLAGS$ac_delim
27328
 
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
27329
 
X_LIBS!$X_LIBS$ac_delim
27330
 
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
27331
 
HAVE_LIBJPEG_TRUE!$HAVE_LIBJPEG_TRUE$ac_delim
27332
 
HAVE_LIBJPEG_FALSE!$HAVE_LIBJPEG_FALSE$ac_delim
27333
 
HAVE_OPENGL_TRUE!$HAVE_OPENGL_TRUE$ac_delim
27334
 
HAVE_OPENGL_FALSE!$HAVE_OPENGL_FALSE$ac_delim
27335
 
OPENGL_LIBS!$OPENGL_LIBS$ac_delim
27336
 
HAVE_SDL!$HAVE_SDL$ac_delim
27337
 
HAVE_SDL_TRUE!$HAVE_SDL_TRUE$ac_delim
27338
 
HAVE_SDL_FALSE!$HAVE_SDL_FALSE$ac_delim
27339
 
SDL_CFLAGS!$SDL_CFLAGS$ac_delim
27340
 
SDL_LIBS!$SDL_LIBS$ac_delim
27341
 
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
27342
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
27343
 
_ACEOF
27344
 
 
27345
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
27346
 
    break
27347
 
  elif $ac_last_try; then
27348
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27349
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27350
 
   { (exit 1); exit 1; }; }
27351
 
  else
27352
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27353
 
  fi
27354
 
done
27355
 
 
27356
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27357
 
if test -n "$ac_eof"; then
27358
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27359
 
  ac_eof=`expr $ac_eof + 1`
27360
 
fi
27361
 
 
27362
 
cat >>$CONFIG_STATUS <<_ACEOF
27363
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
27364
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
27365
 
_ACEOF
27366
 
sed '
27367
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27368
 
s/^/s,@/; s/!/@,|#_!!_#|/
27369
 
:n
27370
 
t n
27371
 
s/'"$ac_delim"'$/,g/; t
27372
 
s/$/\\/; p
27373
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27374
 
' >>$CONFIG_STATUS <conf$$subs.sed
27375
 
rm -f conf$$subs.sed
27376
 
cat >>$CONFIG_STATUS <<_ACEOF
27377
 
:end
27378
 
s/|#_!!_#|//g
27379
 
CEOF$ac_eof
27380
 
_ACEOF
27381
 
 
27382
 
 
27383
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
27384
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27385
 
# trailing colons and then remove the whole line if VPATH becomes empty
27386
 
# (actually we leave an empty line to preserve line numbers).
27387
 
if test "x$srcdir" = x.; then
27388
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
27389
 
s/:*\$(srcdir):*/:/
27390
 
s/:*\${srcdir}:*/:/
27391
 
s/:*@srcdir@:*/:/
27392
 
s/^\([^=]*=[     ]*\):*/\1/
27393
 
s/:*$//
27394
 
s/^[^=]*=[       ]*$//
27395
 
}'
27396
 
fi
27397
 
 
27398
 
cat >>$CONFIG_STATUS <<\_ACEOF
27399
 
fi # test -n "$CONFIG_FILES"
27400
 
 
27401
 
 
27402
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
27403
 
do
27404
 
  case $ac_tag in
27405
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
27406
 
  esac
27407
 
  case $ac_mode$ac_tag in
27408
 
  :[FHL]*:*);;
27409
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27410
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27411
 
   { (exit 1); exit 1; }; };;
27412
 
  :[FH]-) ac_tag=-:-;;
27413
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27414
 
  esac
27415
 
  ac_save_IFS=$IFS
27416
 
  IFS=:
27417
 
  set x $ac_tag
27418
 
  IFS=$ac_save_IFS
27419
 
  shift
27420
 
  ac_file=$1
27421
 
  shift
27422
 
 
27423
 
  case $ac_mode in
27424
 
  :L) ac_source=$1;;
27425
 
  :[FH])
27426
 
    ac_file_inputs=
27427
 
    for ac_f
27428
 
    do
27429
 
      case $ac_f in
27430
 
      -) ac_f="$tmp/stdin";;
27431
 
      *) # Look for the file first in the build tree, then in the source tree
27432
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
27433
 
         # because $ac_f cannot contain `:'.
27434
 
         test -f "$ac_f" ||
27435
 
           case $ac_f in
27436
 
           [\\/$]*) false;;
27437
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27438
 
           esac ||
27439
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27440
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27441
 
   { (exit 1); exit 1; }; };;
27442
 
      esac
27443
 
      ac_file_inputs="$ac_file_inputs $ac_f"
27444
 
    done
27445
 
 
27446
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
27447
 
    # use $as_me), people would be surprised to read:
27448
 
    #    /* config.h.  Generated by config.status.  */
27449
 
    configure_input="Generated from "`IFS=:
27450
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27451
 
    if test x"$ac_file" != x-; then
27452
 
      configure_input="$ac_file.  $configure_input"
27453
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
27454
 
echo "$as_me: creating $ac_file" >&6;}
27455
 
    fi
27456
 
 
27457
 
    case $ac_tag in
27458
 
    *:-:* | *:-) cat >"$tmp/stdin";;
27459
 
    esac
27460
 
    ;;
27461
 
  esac
27462
 
 
27463
 
  ac_dir=`$as_dirname -- "$ac_file" ||
27464
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27465
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
27466
 
         X"$ac_file" : 'X\(//\)$' \| \
27467
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27468
 
echo X"$ac_file" |
27469
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27470
 
            s//\1/
27471
 
            q
27472
 
          }
27473
 
          /^X\(\/\/\)[^/].*/{
27474
 
            s//\1/
27475
 
            q
27476
 
          }
27477
 
          /^X\(\/\/\)$/{
27478
 
            s//\1/
27479
 
            q
27480
 
          }
27481
 
          /^X\(\/\).*/{
27482
 
            s//\1/
27483
 
            q
27484
 
          }
27485
 
          s/.*/./; q'`
27486
 
  { as_dir="$ac_dir"
27487
 
  case $as_dir in #(
27488
 
  -*) as_dir=./$as_dir;;
27489
 
  esac
27490
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27491
 
    as_dirs=
27492
 
    while :; do
27493
 
      case $as_dir in #(
27494
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27495
 
      *) as_qdir=$as_dir;;
27496
 
      esac
27497
 
      as_dirs="'$as_qdir' $as_dirs"
27498
 
      as_dir=`$as_dirname -- "$as_dir" ||
27499
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27500
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
27501
 
         X"$as_dir" : 'X\(//\)$' \| \
27502
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27503
 
echo X"$as_dir" |
27504
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27505
 
            s//\1/
27506
 
            q
27507
 
          }
27508
 
          /^X\(\/\/\)[^/].*/{
27509
 
            s//\1/
27510
 
            q
27511
 
          }
27512
 
          /^X\(\/\/\)$/{
27513
 
            s//\1/
27514
 
            q
27515
 
          }
27516
 
          /^X\(\/\).*/{
27517
 
            s//\1/
27518
 
            q
27519
 
          }
27520
 
          s/.*/./; q'`
27521
 
      test -d "$as_dir" && break
27522
 
    done
27523
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27524
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27525
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27526
 
   { (exit 1); exit 1; }; }; }
27527
 
  ac_builddir=.
27528
 
 
27529
 
case "$ac_dir" in
27530
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27531
 
*)
27532
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27533
 
  # A ".." for each directory in $ac_dir_suffix.
27534
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27535
 
  case $ac_top_builddir_sub in
27536
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27537
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27538
 
  esac ;;
27539
 
esac
27540
 
ac_abs_top_builddir=$ac_pwd
27541
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
27542
 
# for backward compatibility:
27543
 
ac_top_builddir=$ac_top_build_prefix
27544
 
 
27545
 
case $srcdir in
27546
 
  .)  # We are building in place.
27547
 
    ac_srcdir=.
27548
 
    ac_top_srcdir=$ac_top_builddir_sub
27549
 
    ac_abs_top_srcdir=$ac_pwd ;;
27550
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
27551
 
    ac_srcdir=$srcdir$ac_dir_suffix;
27552
 
    ac_top_srcdir=$srcdir
27553
 
    ac_abs_top_srcdir=$srcdir ;;
27554
 
  *) # Relative name.
27555
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27556
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
27557
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27558
 
esac
27559
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27560
 
 
27561
 
 
27562
 
  case $ac_mode in
27563
 
  :F)
27564
 
  #
27565
 
  # CONFIG_FILE
27566
 
  #
27567
 
 
27568
 
  case $INSTALL in
27569
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27570
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27571
 
  esac
27572
 
  ac_MKDIR_P=$MKDIR_P
27573
 
  case $MKDIR_P in
27574
 
  [\\/$]* | ?:[\\/]* ) ;;
27575
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27576
 
  esac
27577
 
_ACEOF
27578
 
 
27579
 
cat >>$CONFIG_STATUS <<\_ACEOF
27580
 
# If the template does not know about datarootdir, expand it.
27581
 
# FIXME: This hack should be removed a few years after 2.60.
27582
 
ac_datarootdir_hack=; ac_datarootdir_seen=
27583
 
 
27584
 
case `sed -n '/datarootdir/ {
27585
 
  p
27586
 
  q
27587
 
}
27588
 
/@datadir@/p
27589
 
/@docdir@/p
27590
 
/@infodir@/p
27591
 
/@localedir@/p
27592
 
/@mandir@/p
27593
 
' $ac_file_inputs` in
27594
 
*datarootdir*) ac_datarootdir_seen=yes;;
27595
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27596
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27597
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27598
 
_ACEOF
27599
 
cat >>$CONFIG_STATUS <<_ACEOF
27600
 
  ac_datarootdir_hack='
27601
 
  s&@datadir@&$datadir&g
27602
 
  s&@docdir@&$docdir&g
27603
 
  s&@infodir@&$infodir&g
27604
 
  s&@localedir@&$localedir&g
27605
 
  s&@mandir@&$mandir&g
27606
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
27607
 
esac
27608
 
_ACEOF
27609
 
 
27610
 
# Neutralize VPATH when `$srcdir' = `.'.
27611
 
# Shell code in configure.ac might set extrasub.
27612
 
# FIXME: do we really want to maintain this feature?
27613
 
cat >>$CONFIG_STATUS <<_ACEOF
27614
 
  sed "$ac_vpsub
27615
 
$extrasub
27616
 
_ACEOF
27617
 
cat >>$CONFIG_STATUS <<\_ACEOF
27618
 
:t
27619
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27620
 
s&@configure_input@&$configure_input&;t t
27621
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
27622
 
s&@srcdir@&$ac_srcdir&;t t
27623
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
27624
 
s&@top_srcdir@&$ac_top_srcdir&;t t
27625
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27626
 
s&@builddir@&$ac_builddir&;t t
27627
 
s&@abs_builddir@&$ac_abs_builddir&;t t
27628
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27629
 
s&@INSTALL@&$ac_INSTALL&;t t
27630
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
27631
 
$ac_datarootdir_hack
27632
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
27633
 
 
27634
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27635
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27636
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27637
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27638
 
which seems to be undefined.  Please make sure it is defined." >&5
27639
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27640
 
which seems to be undefined.  Please make sure it is defined." >&2;}
27641
 
 
27642
 
  rm -f "$tmp/stdin"
27643
 
  case $ac_file in
27644
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
27645
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27646
 
  esac
27647
 
 ;;
27648
 
  :H)
27649
 
  #
27650
 
  # CONFIG_HEADER
27651
 
  #
27652
 
_ACEOF
27653
 
 
27654
 
# Transform confdefs.h into a sed script `conftest.defines', that
27655
 
# substitutes the proper values into config.h.in to produce config.h.
27656
 
rm -f conftest.defines conftest.tail
27657
 
# First, append a space to every undef/define line, to ease matching.
27658
 
echo 's/$/ /' >conftest.defines
27659
 
# Then, protect against being on the right side of a sed subst, or in
27660
 
# an unquoted here document, in config.status.  If some macros were
27661
 
# called several times there might be several #defines for the same
27662
 
# symbol, which is useless.  But do not sort them, since the last
27663
 
# AC_DEFINE must be honored.
27664
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27665
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27666
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
27667
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
27668
 
# just an empty string.
27669
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
27670
 
ac_dB='\\)[      (].*,\\1define\\2'
27671
 
ac_dC=' '
27672
 
ac_dD=' ,'
27673
 
 
27674
 
uniq confdefs.h |
27675
 
  sed -n '
27676
 
        t rset
27677
 
        :rset
27678
 
        s/^[     ]*#[    ]*define[       ][      ]*//
27679
 
        t ok
27680
 
        d
27681
 
        :ok
27682
 
        s/[\\&,]/\\&/g
27683
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27684
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27685
 
  ' >>conftest.defines
27686
 
 
27687
 
# Remove the space that was appended to ease matching.
27688
 
# Then replace #undef with comments.  This is necessary, for
27689
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
27690
 
# on some systems where configure will not decide to define it.
27691
 
# (The regexp can be short, since the line contains either #define or #undef.)
27692
 
echo 's/ $//
27693
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
27694
 
 
27695
 
# Break up conftest.defines:
27696
 
ac_max_sed_lines=50
27697
 
 
27698
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27699
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27700
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27701
 
# et cetera.
27702
 
ac_in='$ac_file_inputs'
27703
 
ac_out='"$tmp/out1"'
27704
 
ac_nxt='"$tmp/out2"'
27705
 
 
27706
 
while :
27707
 
do
27708
 
  # Write a here document:
27709
 
    cat >>$CONFIG_STATUS <<_ACEOF
27710
 
    # First, check the format of the line:
27711
 
    cat >"\$tmp/defines.sed" <<\\CEOF
27712
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
27713
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
27714
 
b
27715
 
:def
27716
 
_ACEOF
27717
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
27718
 
  echo 'CEOF
27719
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27720
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27721
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27722
 
  grep . conftest.tail >/dev/null || break
27723
 
  rm -f conftest.defines
27724
 
  mv conftest.tail conftest.defines
27725
 
done
27726
 
rm -f conftest.defines conftest.tail
27727
 
 
27728
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
27729
 
cat >>$CONFIG_STATUS <<\_ACEOF
27730
 
  if test x"$ac_file" != x-; then
27731
 
    echo "/* $configure_input  */" >"$tmp/config.h"
27732
 
    cat "$ac_result" >>"$tmp/config.h"
27733
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
27734
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27735
 
echo "$as_me: $ac_file is unchanged" >&6;}
27736
 
    else
27737
 
      rm -f $ac_file
27738
 
      mv "$tmp/config.h" $ac_file
27739
 
    fi
27740
 
  else
27741
 
    echo "/* $configure_input  */"
27742
 
    cat "$ac_result"
27743
 
  fi
27744
 
  rm -f "$tmp/out12"
27745
 
# Compute $ac_file's index in $config_headers.
27746
 
_am_stamp_count=1
27747
 
for _am_header in $config_headers :; do
27748
 
  case $_am_header in
27749
 
    $ac_file | $ac_file:* )
27750
 
      break ;;
27751
 
    * )
27752
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27753
 
  esac
27754
 
done
27755
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
27756
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27757
 
         X$ac_file : 'X\(//\)[^/]' \| \
27758
 
         X$ac_file : 'X\(//\)$' \| \
27759
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
27760
 
echo X$ac_file |
27761
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27762
 
            s//\1/
27763
 
            q
27764
 
          }
27765
 
          /^X\(\/\/\)[^/].*/{
27766
 
            s//\1/
27767
 
            q
27768
 
          }
27769
 
          /^X\(\/\/\)$/{
27770
 
            s//\1/
27771
 
            q
27772
 
          }
27773
 
          /^X\(\/\).*/{
27774
 
            s//\1/
27775
 
            q
27776
 
          }
27777
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
27778
 
 ;;
27779
 
  
27780
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27781
 
echo "$as_me: executing $ac_file commands" >&6;}
27782
 
 ;;
27783
 
  esac
27784
 
 
27785
 
 
27786
 
  case $ac_file$ac_mode in
27787
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27788
 
  # Strip MF so we end up with the name of the file.
27789
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
27790
 
  # Check whether this is an Automake generated Makefile or not.
27791
 
  # We used to match only the files named `Makefile.in', but
27792
 
  # some people rename them; so instead we look at the file content.
27793
 
  # Grep'ing the first line is not enough: some people post-process
27794
 
  # each Makefile.in and add a new line on top of each file to say so.
27795
 
  # Grep'ing the whole file is not good either: AIX grep has a line
27796
 
  # limit of 2048, but all sed's we know have understand at least 4000.
27797
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
27798
 
    dirpart=`$as_dirname -- "$mf" ||
27799
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27800
 
         X"$mf" : 'X\(//\)[^/]' \| \
27801
 
         X"$mf" : 'X\(//\)$' \| \
27802
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27803
 
echo X"$mf" |
27804
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27805
 
            s//\1/
27806
 
            q
27807
 
          }
27808
 
          /^X\(\/\/\)[^/].*/{
27809
 
            s//\1/
27810
 
            q
27811
 
          }
27812
 
          /^X\(\/\/\)$/{
27813
 
            s//\1/
27814
 
            q
27815
 
          }
27816
 
          /^X\(\/\).*/{
27817
 
            s//\1/
27818
 
            q
27819
 
          }
27820
 
          s/.*/./; q'`
27821
 
  else
27822
 
    continue
27823
 
  fi
27824
 
  # Extract the definition of DEPDIR, am__include, and am__quote
27825
 
  # from the Makefile without running `make'.
27826
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27827
 
  test -z "$DEPDIR" && continue
27828
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
27829
 
  test -z "am__include" && continue
27830
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27831
 
  # When using ansi2knr, U may be empty or an underscore; expand it
27832
 
  U=`sed -n 's/^U = //p' < "$mf"`
27833
 
  # Find all dependency output files, they are included files with
27834
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
27835
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
27836
 
  # expansion.
27837
 
  for file in `sed -n "
27838
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27839
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27840
 
    # Make sure the directory exists.
27841
 
    test -f "$dirpart/$file" && continue
27842
 
    fdir=`$as_dirname -- "$file" ||
27843
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27844
 
         X"$file" : 'X\(//\)[^/]' \| \
27845
 
         X"$file" : 'X\(//\)$' \| \
27846
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27847
 
echo X"$file" |
27848
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27849
 
            s//\1/
27850
 
            q
27851
 
          }
27852
 
          /^X\(\/\/\)[^/].*/{
27853
 
            s//\1/
27854
 
            q
27855
 
          }
27856
 
          /^X\(\/\/\)$/{
27857
 
            s//\1/
27858
 
            q
27859
 
          }
27860
 
          /^X\(\/\).*/{
27861
 
            s//\1/
27862
 
            q
27863
 
          }
27864
 
          s/.*/./; q'`
27865
 
    { as_dir=$dirpart/$fdir
27866
 
  case $as_dir in #(
27867
 
  -*) as_dir=./$as_dir;;
27868
 
  esac
27869
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27870
 
    as_dirs=
27871
 
    while :; do
27872
 
      case $as_dir in #(
27873
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27874
 
      *) as_qdir=$as_dir;;
27875
 
      esac
27876
 
      as_dirs="'$as_qdir' $as_dirs"
27877
 
      as_dir=`$as_dirname -- "$as_dir" ||
27878
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27879
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
27880
 
         X"$as_dir" : 'X\(//\)$' \| \
27881
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27882
 
echo X"$as_dir" |
27883
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27884
 
            s//\1/
27885
 
            q
27886
 
          }
27887
 
          /^X\(\/\/\)[^/].*/{
27888
 
            s//\1/
27889
 
            q
27890
 
          }
27891
 
          /^X\(\/\/\)$/{
27892
 
            s//\1/
27893
 
            q
27894
 
          }
27895
 
          /^X\(\/\).*/{
27896
 
            s//\1/
27897
 
            q
27898
 
          }
27899
 
          s/.*/./; q'`
27900
 
      test -d "$as_dir" && break
27901
 
    done
27902
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27903
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27904
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27905
 
   { (exit 1); exit 1; }; }; }
27906
 
    # echo "creating $dirpart/$file"
27907
 
    echo '# dummy' > "$dirpart/$file"
27908
 
  done
27909
 
done
27910
 
 ;;
27911
 
 
27912
 
  esac
27913
 
done # for ac_tag
27914
 
 
27915
 
 
27916
 
{ (exit 0); exit 0; }
27917
 
_ACEOF
27918
 
chmod +x $CONFIG_STATUS
27919
 
ac_clean_files=$ac_clean_files_save
27920
 
 
27921
 
 
27922
 
# configure is writing to config.log, and then calls config.status.
27923
 
# config.status does its own redirection, appending to config.log.
27924
 
# Unfortunately, on DOS this fails, as config.log is still kept open
27925
 
# by configure, so config.status won't be able to write to it; its
27926
 
# output is simply discarded.  So we exec the FD to /dev/null,
27927
 
# effectively closing config.log, so it can be properly (re)opened and
27928
 
# appended to by config.status.  When coming back to configure, we
27929
 
# need to make the FD available again.
27930
 
if test "$no_create" != yes; then
27931
 
  ac_cs_success=:
27932
 
  ac_config_status_args=
27933
 
  test "$silent" = yes &&
27934
 
    ac_config_status_args="$ac_config_status_args --quiet"
27935
 
  exec 5>/dev/null
27936
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27937
 
  exec 5>>config.log
27938
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27939
 
  # would make configure fail if this is the last instruction.
27940
 
  $ac_cs_success || { (exit 1); exit 1; }
27941
 
fi
27942
 
 
27943