~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to autom4te.cache/output.1

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

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 codeblocks 1.0svn.
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='codeblocks'
728
 
PACKAGE_TARNAME='codeblocks'
729
 
PACKAGE_VERSION='1.0svn'
730
 
PACKAGE_STRING='codeblocks 1.0svn'
731
 
PACKAGE_BUGREPORT=''
732
 
 
733
 
# Factoring default headers for most tests.
734
 
ac_includes_default="\
735
 
#include <stdio.h>
736
 
#ifdef HAVE_SYS_TYPES_H
737
 
# include <sys/types.h>
738
 
#endif
739
 
#ifdef HAVE_SYS_STAT_H
740
 
# include <sys/stat.h>
741
 
#endif
742
 
#ifdef STDC_HEADERS
743
 
# include <stdlib.h>
744
 
# include <stddef.h>
745
 
#else
746
 
# ifdef HAVE_STDLIB_H
747
 
#  include <stdlib.h>
748
 
# endif
749
 
#endif
750
 
#ifdef HAVE_STRING_H
751
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
752
 
#  include <memory.h>
753
 
# endif
754
 
# include <string.h>
755
 
#endif
756
 
#ifdef HAVE_STRINGS_H
757
 
# include <strings.h>
758
 
#endif
759
 
#ifdef HAVE_INTTYPES_H
760
 
# include <inttypes.h>
761
 
#endif
762
 
#ifdef HAVE_STDINT_H
763
 
# include <stdint.h>
764
 
#endif
765
 
#ifdef HAVE_UNISTD_H
766
 
# include <unistd.h>
767
 
#endif"
768
 
 
769
 
ac_subst_vars='SHELL
770
 
PATH_SEPARATOR
771
 
PACKAGE_NAME
772
 
PACKAGE_TARNAME
773
 
PACKAGE_VERSION
774
 
PACKAGE_STRING
775
 
PACKAGE_BUGREPORT
776
 
exec_prefix
777
 
prefix
778
 
program_transform_name
779
 
bindir
780
 
sbindir
781
 
libexecdir
782
 
datarootdir
783
 
datadir
784
 
sysconfdir
785
 
sharedstatedir
786
 
localstatedir
787
 
includedir
788
 
oldincludedir
789
 
docdir
790
 
infodir
791
 
htmldir
792
 
dvidir
793
 
pdfdir
794
 
psdir
795
 
libdir
796
 
localedir
797
 
mandir
798
 
DEFS
799
 
ECHO_C
800
 
ECHO_N
801
 
ECHO_T
802
 
LIBS
803
 
build_alias
804
 
host_alias
805
 
target_alias
806
 
build
807
 
build_cpu
808
 
build_vendor
809
 
build_os
810
 
host
811
 
host_cpu
812
 
host_vendor
813
 
host_os
814
 
target
815
 
target_cpu
816
 
target_vendor
817
 
target_os
818
 
INSTALL_PROGRAM
819
 
INSTALL_SCRIPT
820
 
INSTALL_DATA
821
 
am__isrc
822
 
CYGPATH_W
823
 
PACKAGE
824
 
VERSION
825
 
ACLOCAL
826
 
AUTOCONF
827
 
AUTOMAKE
828
 
AUTOHEADER
829
 
MAKEINFO
830
 
install_sh
831
 
STRIP
832
 
INSTALL_STRIP_PROGRAM
833
 
mkdir_p
834
 
AWK
835
 
SET_MAKE
836
 
am__leading_dot
837
 
AMTAR
838
 
am__tar
839
 
am__untar
840
 
CXX
841
 
CXXFLAGS
842
 
LDFLAGS
843
 
CPPFLAGS
844
 
ac_ct_CXX
845
 
EXEEXT
846
 
OBJEXT
847
 
DEPDIR
848
 
am__include
849
 
am__quote
850
 
AMDEP_TRUE
851
 
AMDEP_FALSE
852
 
AMDEPBACKSLASH
853
 
CXXDEPMODE
854
 
am__fastdepCXX_TRUE
855
 
am__fastdepCXX_FALSE
856
 
CC
857
 
CFLAGS
858
 
ac_ct_CC
859
 
CCDEPMODE
860
 
am__fastdepCC_TRUE
861
 
am__fastdepCC_FALSE
862
 
CPP
863
 
LN_S
864
 
SHARED_FLAGS
865
 
PLUGIN_FLAGS
866
 
RC
867
 
CODEBLOCKS_NT_TRUE
868
 
CODEBLOCKS_NT_FALSE
869
 
CODEBLOCKS_LINUX_TRUE
870
 
CODEBLOCKS_LINUX_FALSE
871
 
CODEBLOCKS_DARWIN_TRUE
872
 
CODEBLOCKS_DARWIN_FALSE
873
 
SED
874
 
GREP
875
 
EGREP
876
 
ECHO
877
 
AR
878
 
RANLIB
879
 
CXXCPP
880
 
F77
881
 
FFLAGS
882
 
ac_ct_F77
883
 
LIBTOOL
884
 
LIB@&t@OBJS
885
 
HAVE_ZLIB_TRUE
886
 
HAVE_ZLIB_FALSE
887
 
HAVE_BZIP2_TRUE
888
 
HAVE_BZIP2_FALSE
889
 
CODEBLOCKS_VERSION_INFO
890
 
PLATFORM_CFLAGS
891
 
PLATFORM_LIBS
892
 
CODEBLOCKS_PLATFORM
893
 
BUILD_ASTYLE_TRUE
894
 
BUILD_ASTYLE_FALSE
895
 
BUILD_AUTOSAVE_TRUE
896
 
BUILD_AUTOSAVE_FALSE
897
 
BUILD_CLASSWIZARD_TRUE
898
 
BUILD_CLASSWIZARD_FALSE
899
 
BUILD_CODECOMPLETION_TRUE
900
 
BUILD_CODECOMPLETION_FALSE
901
 
BUILD_COMPILER_TRUE
902
 
BUILD_COMPILER_FALSE
903
 
BUILD_DEBUGGER_TRUE
904
 
BUILD_DEBUGGER_FALSE
905
 
BUILD_MIMEHANDLER_TRUE
906
 
BUILD_MIMEHANDLER_FALSE
907
 
BUILD_OPENFILESLIST_TRUE
908
 
BUILD_OPENFILESLIST_FALSE
909
 
BUILD_PROJECTSIMPORTER_TRUE
910
 
BUILD_PROJECTSIMPORTER_FALSE
911
 
BUILD_SCRIPTEDWIZARD_TRUE
912
 
BUILD_SCRIPTEDWIZARD_FALSE
913
 
BUILD_TODO_TRUE
914
 
BUILD_TODO_FALSE
915
 
BUILD_MANIFEST_TRUE
916
 
BUILD_MANIFEST_FALSE
917
 
BUILD_AUTOVERSIONING_TRUE
918
 
BUILD_AUTOVERSIONING_FALSE
919
 
BUILD_BROWSETRACKER_TRUE
920
 
BUILD_BROWSETRACKER_FALSE
921
 
BUILD_BYOGAMES_TRUE
922
 
BUILD_BYOGAMES_FALSE
923
 
BUILD_CBKODERS_TRUE
924
 
BUILD_CBKODERS_FALSE
925
 
BUILD_CODESNIPPETS_TRUE
926
 
BUILD_CODESNIPPETS_FALSE
927
 
BUILD_CODESTAT_TRUE
928
 
BUILD_CODESTAT_FALSE
929
 
BUILD_DRAGSCROLL_TRUE
930
 
BUILD_DRAGSCROLL_FALSE
931
 
BUILD_ENVVARS_TRUE
932
 
BUILD_ENVVARS_FALSE
933
 
BUILD_HELP_TRUE
934
 
BUILD_HELP_FALSE
935
 
BUILD_KEYBINDER_TRUE
936
 
BUILD_KEYBINDER_FALSE
937
 
BUILD_LIBFINDER_TRUE
938
 
BUILD_LIBFINDER_FALSE
939
 
BUILD_PROFILER_TRUE
940
 
BUILD_PROFILER_FALSE
941
 
BUILD_REGEX_TRUE
942
 
BUILD_REGEX_FALSE
943
 
BUILD_EXPORTER_TRUE
944
 
BUILD_EXPORTER_FALSE
945
 
BUILD_SYMTAB_TRUE
946
 
BUILD_SYMTAB_FALSE
947
 
BUILD_THREADSEARCH_TRUE
948
 
BUILD_THREADSEARCH_FALSE
949
 
BUILD_WXSMITH_TRUE
950
 
BUILD_WXSMITH_FALSE
951
 
BUILD_AUTOVERSIONING
952
 
BUILD_BROWSETRACKER
953
 
BUILD_BYOGAMES
954
 
BUILD_CBKODERS
955
 
BUILD_CODESNIPPETS
956
 
BUILD_CODESTAT
957
 
BUILD_COPYSTRINGS
958
 
BUILD_DRAGSCROLL
959
 
BUILD_ENVVARS
960
 
BUILD_HELP
961
 
BUILD_KEYBINDER
962
 
BUILD_LIBFINDER
963
 
BUILD_PROFILER
964
 
BUILD_REGEX
965
 
BUILD_EXPORTER
966
 
BUILD_SYMTAB
967
 
BUILD_THREADSEARCH
968
 
BUILD_WXSMITH
969
 
PRECOMPILE_HEADERS_TRUE
970
 
PRECOMPILE_HEADERS_FALSE
971
 
WX_CONFIG_PATH
972
 
WX_CPPFLAGS
973
 
WX_CFLAGS
974
 
WX_CXXFLAGS
975
 
WX_CFLAGS_ONLY
976
 
WX_CXXFLAGS_ONLY
977
 
WX_LIBS
978
 
WX_LIBS_STATIC
979
 
WX_VERSION
980
 
WX_RESCOMP
981
 
HAVE_PKG_CONFIG
982
 
PKG_CONFIG
983
 
GTK2_CFLAGS
984
 
GTK2_LIBS
985
 
REZ
986
 
SETFILE
987
 
WX_GTK2_CFLAGS
988
 
WX_GTK2_LIBS
989
 
POSTLINK_COMMAND
990
 
MACSETFILE
991
 
PLUGIN_WX_LIBS
992
 
codeblocks_PCH_FLAGS
993
 
LINUX_TRUE
994
 
LINUX_FALSE
995
 
DARWIN_TRUE
996
 
DARWIN_FALSE
997
 
REVISION
998
 
DATE
999
 
LTLIBOBJS'
1000
 
ac_subst_files=''
1001
 
      ac_precious_vars='build_alias
1002
 
host_alias
1003
 
target_alias
1004
 
CXX
1005
 
CXXFLAGS
1006
 
LDFLAGS
1007
 
LIBS
1008
 
CPPFLAGS
1009
 
CCC
1010
 
CC
1011
 
CFLAGS
1012
 
CPP
1013
 
CXXCPP
1014
 
F77
1015
 
FFLAGS
1016
 
PKG_CONFIG
1017
 
GTK2_CFLAGS
1018
 
GTK2_LIBS'
1019
 
 
1020
 
 
1021
 
# Initialize some variables set by options.
1022
 
ac_init_help=
1023
 
ac_init_version=false
1024
 
# The variables have the same names as the options, with
1025
 
# dashes changed to underlines.
1026
 
cache_file=/dev/null
1027
 
exec_prefix=NONE
1028
 
no_create=
1029
 
no_recursion=
1030
 
prefix=NONE
1031
 
program_prefix=NONE
1032
 
program_suffix=NONE
1033
 
program_transform_name=s,x,x,
1034
 
silent=
1035
 
site=
1036
 
srcdir=
1037
 
verbose=
1038
 
x_includes=NONE
1039
 
x_libraries=NONE
1040
 
 
1041
 
# Installation directory options.
1042
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
1043
 
# and all the variables that are supposed to be based on exec_prefix
1044
 
# by default will actually change.
1045
 
# Use braces instead of parens because sh, perl, etc. also accept them.
1046
 
# (The list follows the same order as the GNU Coding Standards.)
1047
 
bindir='${exec_prefix}/bin'
1048
 
sbindir='${exec_prefix}/sbin'
1049
 
libexecdir='${exec_prefix}/libexec'
1050
 
datarootdir='${prefix}/share'
1051
 
datadir='${datarootdir}'
1052
 
sysconfdir='${prefix}/etc'
1053
 
sharedstatedir='${prefix}/com'
1054
 
localstatedir='${prefix}/var'
1055
 
includedir='${prefix}/include'
1056
 
oldincludedir='/usr/include'
1057
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1058
 
infodir='${datarootdir}/info'
1059
 
htmldir='${docdir}'
1060
 
dvidir='${docdir}'
1061
 
pdfdir='${docdir}'
1062
 
psdir='${docdir}'
1063
 
libdir='${exec_prefix}/lib'
1064
 
localedir='${datarootdir}/locale'
1065
 
mandir='${datarootdir}/man'
1066
 
 
1067
 
ac_prev=
1068
 
ac_dashdash=
1069
 
for ac_option
1070
 
do
1071
 
  # If the previous option needs an argument, assign it.
1072
 
  if test -n "$ac_prev"; then
1073
 
    eval $ac_prev=\$ac_option
1074
 
    ac_prev=
1075
 
    continue
1076
 
  fi
1077
 
 
1078
 
  case $ac_option in
1079
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1080
 
  *)    ac_optarg=yes ;;
1081
 
  esac
1082
 
 
1083
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1084
 
 
1085
 
  case $ac_dashdash$ac_option in
1086
 
  --)
1087
 
    ac_dashdash=yes ;;
1088
 
 
1089
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1090
 
    ac_prev=bindir ;;
1091
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1092
 
    bindir=$ac_optarg ;;
1093
 
 
1094
 
  -build | --build | --buil | --bui | --bu)
1095
 
    ac_prev=build_alias ;;
1096
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1097
 
    build_alias=$ac_optarg ;;
1098
 
 
1099
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1100
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1101
 
    ac_prev=cache_file ;;
1102
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1103
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1104
 
    cache_file=$ac_optarg ;;
1105
 
 
1106
 
  --config-cache | -C)
1107
 
    cache_file=config.cache ;;
1108
 
 
1109
 
  -datadir | --datadir | --datadi | --datad)
1110
 
    ac_prev=datadir ;;
1111
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1112
 
    datadir=$ac_optarg ;;
1113
 
 
1114
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1115
 
  | --dataroo | --dataro | --datar)
1116
 
    ac_prev=datarootdir ;;
1117
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1118
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1119
 
    datarootdir=$ac_optarg ;;
1120
 
 
1121
 
  -disable-* | --disable-*)
1122
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1123
 
    # Reject names that are not valid shell variable names.
1124
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1126
 
   { (exit 1); exit 1; }; }
1127
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1128
 
    eval enable_$ac_feature=no ;;
1129
 
 
1130
 
  -docdir | --docdir | --docdi | --doc | --do)
1131
 
    ac_prev=docdir ;;
1132
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1133
 
    docdir=$ac_optarg ;;
1134
 
 
1135
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1136
 
    ac_prev=dvidir ;;
1137
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1138
 
    dvidir=$ac_optarg ;;
1139
 
 
1140
 
  -enable-* | --enable-*)
1141
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1142
 
    # Reject names that are not valid shell variable names.
1143
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1144
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1145
 
   { (exit 1); exit 1; }; }
1146
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1147
 
    eval enable_$ac_feature=\$ac_optarg ;;
1148
 
 
1149
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1150
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1151
 
  | --exec | --exe | --ex)
1152
 
    ac_prev=exec_prefix ;;
1153
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1154
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1155
 
  | --exec=* | --exe=* | --ex=*)
1156
 
    exec_prefix=$ac_optarg ;;
1157
 
 
1158
 
  -gas | --gas | --ga | --g)
1159
 
    # Obsolete; use --with-gas.
1160
 
    with_gas=yes ;;
1161
 
 
1162
 
  -help | --help | --hel | --he | -h)
1163
 
    ac_init_help=long ;;
1164
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1165
 
    ac_init_help=recursive ;;
1166
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1167
 
    ac_init_help=short ;;
1168
 
 
1169
 
  -host | --host | --hos | --ho)
1170
 
    ac_prev=host_alias ;;
1171
 
  -host=* | --host=* | --hos=* | --ho=*)
1172
 
    host_alias=$ac_optarg ;;
1173
 
 
1174
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1175
 
    ac_prev=htmldir ;;
1176
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1177
 
  | --ht=*)
1178
 
    htmldir=$ac_optarg ;;
1179
 
 
1180
 
  -includedir | --includedir | --includedi | --included | --include \
1181
 
  | --includ | --inclu | --incl | --inc)
1182
 
    ac_prev=includedir ;;
1183
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1184
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1185
 
    includedir=$ac_optarg ;;
1186
 
 
1187
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1188
 
    ac_prev=infodir ;;
1189
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1190
 
    infodir=$ac_optarg ;;
1191
 
 
1192
 
  -libdir | --libdir | --libdi | --libd)
1193
 
    ac_prev=libdir ;;
1194
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1195
 
    libdir=$ac_optarg ;;
1196
 
 
1197
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1198
 
  | --libexe | --libex | --libe)
1199
 
    ac_prev=libexecdir ;;
1200
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1201
 
  | --libexe=* | --libex=* | --libe=*)
1202
 
    libexecdir=$ac_optarg ;;
1203
 
 
1204
 
  -localedir | --localedir | --localedi | --localed | --locale)
1205
 
    ac_prev=localedir ;;
1206
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1207
 
    localedir=$ac_optarg ;;
1208
 
 
1209
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1210
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1211
 
    ac_prev=localstatedir ;;
1212
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1213
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1214
 
    localstatedir=$ac_optarg ;;
1215
 
 
1216
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1217
 
    ac_prev=mandir ;;
1218
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1219
 
    mandir=$ac_optarg ;;
1220
 
 
1221
 
  -nfp | --nfp | --nf)
1222
 
    # Obsolete; use --without-fp.
1223
 
    with_fp=no ;;
1224
 
 
1225
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1226
 
  | --no-cr | --no-c | -n)
1227
 
    no_create=yes ;;
1228
 
 
1229
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1230
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1231
 
    no_recursion=yes ;;
1232
 
 
1233
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1234
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1235
 
  | --oldin | --oldi | --old | --ol | --o)
1236
 
    ac_prev=oldincludedir ;;
1237
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1238
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1239
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1240
 
    oldincludedir=$ac_optarg ;;
1241
 
 
1242
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1243
 
    ac_prev=prefix ;;
1244
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1245
 
    prefix=$ac_optarg ;;
1246
 
 
1247
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1248
 
  | --program-pre | --program-pr | --program-p)
1249
 
    ac_prev=program_prefix ;;
1250
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1251
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1252
 
    program_prefix=$ac_optarg ;;
1253
 
 
1254
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1255
 
  | --program-suf | --program-su | --program-s)
1256
 
    ac_prev=program_suffix ;;
1257
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1258
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1259
 
    program_suffix=$ac_optarg ;;
1260
 
 
1261
 
  -program-transform-name | --program-transform-name \
1262
 
  | --program-transform-nam | --program-transform-na \
1263
 
  | --program-transform-n | --program-transform- \
1264
 
  | --program-transform | --program-transfor \
1265
 
  | --program-transfo | --program-transf \
1266
 
  | --program-trans | --program-tran \
1267
 
  | --progr-tra | --program-tr | --program-t)
1268
 
    ac_prev=program_transform_name ;;
1269
 
  -program-transform-name=* | --program-transform-name=* \
1270
 
  | --program-transform-nam=* | --program-transform-na=* \
1271
 
  | --program-transform-n=* | --program-transform-=* \
1272
 
  | --program-transform=* | --program-transfor=* \
1273
 
  | --program-transfo=* | --program-transf=* \
1274
 
  | --program-trans=* | --program-tran=* \
1275
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1276
 
    program_transform_name=$ac_optarg ;;
1277
 
 
1278
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1279
 
    ac_prev=pdfdir ;;
1280
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1281
 
    pdfdir=$ac_optarg ;;
1282
 
 
1283
 
  -psdir | --psdir | --psdi | --psd | --ps)
1284
 
    ac_prev=psdir ;;
1285
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1286
 
    psdir=$ac_optarg ;;
1287
 
 
1288
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1289
 
  | -silent | --silent | --silen | --sile | --sil)
1290
 
    silent=yes ;;
1291
 
 
1292
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1293
 
    ac_prev=sbindir ;;
1294
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1295
 
  | --sbi=* | --sb=*)
1296
 
    sbindir=$ac_optarg ;;
1297
 
 
1298
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1299
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1300
 
  | --sharedst | --shareds | --shared | --share | --shar \
1301
 
  | --sha | --sh)
1302
 
    ac_prev=sharedstatedir ;;
1303
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1304
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1305
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1306
 
  | --sha=* | --sh=*)
1307
 
    sharedstatedir=$ac_optarg ;;
1308
 
 
1309
 
  -site | --site | --sit)
1310
 
    ac_prev=site ;;
1311
 
  -site=* | --site=* | --sit=*)
1312
 
    site=$ac_optarg ;;
1313
 
 
1314
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1315
 
    ac_prev=srcdir ;;
1316
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1317
 
    srcdir=$ac_optarg ;;
1318
 
 
1319
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1320
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1321
 
    ac_prev=sysconfdir ;;
1322
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1323
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1324
 
    sysconfdir=$ac_optarg ;;
1325
 
 
1326
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1327
 
    ac_prev=target_alias ;;
1328
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1329
 
    target_alias=$ac_optarg ;;
1330
 
 
1331
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1332
 
    verbose=yes ;;
1333
 
 
1334
 
  -version | --version | --versio | --versi | --vers | -V)
1335
 
    ac_init_version=: ;;
1336
 
 
1337
 
  -with-* | --with-*)
1338
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1339
 
    # Reject names that are not valid shell variable names.
1340
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1341
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1342
 
   { (exit 1); exit 1; }; }
1343
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1344
 
    eval with_$ac_package=\$ac_optarg ;;
1345
 
 
1346
 
  -without-* | --without-*)
1347
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1348
 
    # Reject names that are not valid shell variable names.
1349
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1350
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1351
 
   { (exit 1); exit 1; }; }
1352
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1353
 
    eval with_$ac_package=no ;;
1354
 
 
1355
 
  --x)
1356
 
    # Obsolete; use --with-x.
1357
 
    with_x=yes ;;
1358
 
 
1359
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1360
 
  | --x-incl | --x-inc | --x-in | --x-i)
1361
 
    ac_prev=x_includes ;;
1362
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1363
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1364
 
    x_includes=$ac_optarg ;;
1365
 
 
1366
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1367
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1368
 
    ac_prev=x_libraries ;;
1369
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1370
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1371
 
    x_libraries=$ac_optarg ;;
1372
 
 
1373
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1374
 
Try \`$0 --help' for more information." >&2
1375
 
   { (exit 1); exit 1; }; }
1376
 
    ;;
1377
 
 
1378
 
  *=*)
1379
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1380
 
    # Reject names that are not valid shell variable names.
1381
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1382
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1383
 
   { (exit 1); exit 1; }; }
1384
 
    eval $ac_envvar=\$ac_optarg
1385
 
    export $ac_envvar ;;
1386
 
 
1387
 
  *)
1388
 
    # FIXME: should be removed in autoconf 3.0.
1389
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1390
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1391
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1392
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1393
 
    ;;
1394
 
 
1395
 
  esac
1396
 
done
1397
 
 
1398
 
if test -n "$ac_prev"; then
1399
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1400
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1401
 
   { (exit 1); exit 1; }; }
1402
 
fi
1403
 
 
1404
 
# Be sure to have absolute directory names.
1405
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1406
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1407
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1408
 
                libdir localedir mandir
1409
 
do
1410
 
  eval ac_val=\$$ac_var
1411
 
  case $ac_val in
1412
 
    [\\/$]* | ?:[\\/]* )  continue;;
1413
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1414
 
  esac
1415
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1416
 
   { (exit 1); exit 1; }; }
1417
 
done
1418
 
 
1419
 
# There might be people who depend on the old broken behavior: `$host'
1420
 
# used to hold the argument of --host etc.
1421
 
# FIXME: To remove some day.
1422
 
build=$build_alias
1423
 
host=$host_alias
1424
 
target=$target_alias
1425
 
 
1426
 
# FIXME: To remove some day.
1427
 
if test "x$host_alias" != x; then
1428
 
  if test "x$build_alias" = x; then
1429
 
    cross_compiling=maybe
1430
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1431
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1432
 
  elif test "x$build_alias" != "x$host_alias"; then
1433
 
    cross_compiling=yes
1434
 
  fi
1435
 
fi
1436
 
 
1437
 
ac_tool_prefix=
1438
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1439
 
 
1440
 
test "$silent" = yes && exec 6>/dev/null
1441
 
 
1442
 
 
1443
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1444
 
ac_ls_di=`ls -di .` &&
1445
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1446
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1447
 
   { (exit 1); exit 1; }; }
1448
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1449
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1450
 
   { (exit 1); exit 1; }; }
1451
 
 
1452
 
 
1453
 
# Find the source files, if location was not specified.
1454
 
if test -z "$srcdir"; then
1455
 
  ac_srcdir_defaulted=yes
1456
 
  # Try the directory containing this script, then the parent directory.
1457
 
  ac_confdir=`$as_dirname -- "$0" ||
1458
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1459
 
         X"$0" : 'X\(//\)[^/]' \| \
1460
 
         X"$0" : 'X\(//\)$' \| \
1461
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1462
 
echo X"$0" |
1463
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1464
 
            s//\1/
1465
 
            q
1466
 
          }
1467
 
          /^X\(\/\/\)[^/].*/{
1468
 
            s//\1/
1469
 
            q
1470
 
          }
1471
 
          /^X\(\/\/\)$/{
1472
 
            s//\1/
1473
 
            q
1474
 
          }
1475
 
          /^X\(\/\).*/{
1476
 
            s//\1/
1477
 
            q
1478
 
          }
1479
 
          s/.*/./; q'`
1480
 
  srcdir=$ac_confdir
1481
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1482
 
    srcdir=..
1483
 
  fi
1484
 
else
1485
 
  ac_srcdir_defaulted=no
1486
 
fi
1487
 
if test ! -r "$srcdir/$ac_unique_file"; then
1488
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1489
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1490
 
   { (exit 1); exit 1; }; }
1491
 
fi
1492
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1493
 
ac_abs_confdir=`(
1494
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1495
 
   { (exit 1); exit 1; }; }
1496
 
        pwd)`
1497
 
# When building in place, set srcdir=.
1498
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1499
 
  srcdir=.
1500
 
fi
1501
 
# Remove unnecessary trailing slashes from srcdir.
1502
 
# Double slashes in file names in object file debugging info
1503
 
# mess up M-x gdb in Emacs.
1504
 
case $srcdir in
1505
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1506
 
esac
1507
 
for ac_var in $ac_precious_vars; do
1508
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1509
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1510
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1511
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1512
 
done
1513
 
 
1514
 
#
1515
 
# Report the --help message.
1516
 
#
1517
 
if test "$ac_init_help" = "long"; then
1518
 
  # Omit some internal or obsolete options to make the list less imposing.
1519
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1520
 
  cat <<_ACEOF
1521
 
\`configure' configures codeblocks 1.0svn to adapt to many kinds of systems.
1522
 
 
1523
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1524
 
 
1525
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1526
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1527
 
 
1528
 
Defaults for the options are specified in brackets.
1529
 
 
1530
 
Configuration:
1531
 
  -h, --help              display this help and exit
1532
 
      --help=short        display options specific to this package
1533
 
      --help=recursive    display the short help of all the included packages
1534
 
  -V, --version           display version information and exit
1535
 
  -q, --quiet, --silent   do not print \`checking...' messages
1536
 
      --cache-file=FILE   cache test results in FILE [disabled]
1537
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1538
 
  -n, --no-create         do not create output files
1539
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1540
 
 
1541
 
Installation directories:
1542
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1543
 
                          [$ac_default_prefix]
1544
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1545
 
                          [PREFIX]
1546
 
 
1547
 
By default, \`make install' will install all the files in
1548
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1549
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1550
 
for instance \`--prefix=\$HOME'.
1551
 
 
1552
 
For better control, use the options below.
1553
 
 
1554
 
Fine tuning of the installation directories:
1555
 
  --bindir=DIR           user executables [EPREFIX/bin]
1556
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1557
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1558
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1559
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1560
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1561
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1562
 
  --includedir=DIR       C header files [PREFIX/include]
1563
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1564
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1565
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1566
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1567
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1568
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1569
 
  --docdir=DIR           documentation root @<:@DATAROOTDIR/doc/codeblocks@:>@
1570
 
  --htmldir=DIR          html documentation [DOCDIR]
1571
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1572
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1573
 
  --psdir=DIR            ps documentation [DOCDIR]
1574
 
_ACEOF
1575
 
 
1576
 
  cat <<\_ACEOF
1577
 
 
1578
 
Program names:
1579
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1580
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1581
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1582
 
 
1583
 
System types:
1584
 
  --build=BUILD     configure for building on BUILD [guessed]
1585
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1586
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1587
 
_ACEOF
1588
 
fi
1589
 
 
1590
 
if test -n "$ac_init_help"; then
1591
 
  case $ac_init_help in
1592
 
     short | recursive ) echo "Configuration of codeblocks 1.0svn:";;
1593
 
   esac
1594
 
  cat <<\_ACEOF
1595
 
 
1596
 
Optional Features:
1597
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1598
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1599
 
  --disable-dependency-tracking  speeds up one-time build
1600
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1601
 
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=no@:>@
1602
 
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1603
 
  --enable-fast-install@<:@=PKGS@:>@ 
1604
 
                          optimize for fast installation @<:@default=yes@:>@
1605
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1606
 
  --enable-debug          turn on debugging (default is OFF)
1607
 
  --enable-source-formatter 
1608
 
                          build the source formatter plugin (default YES)
1609
 
  --enable-autosave       build the autosave plugin (default YES)
1610
 
  --enable-class-wizard   build the class wizard plugin (default YES)
1611
 
  --enable-code-completion 
1612
 
                          build the code completion plugin (default YES)
1613
 
  --enable-compiler       build the compiler plugin (default YES)
1614
 
  --enable-debugger       build the debugger plugin (default YES)
1615
 
  --enable-mime-handler   build the default MIME handler plugin (default YES)
1616
 
  --enable-open-files-list 
1617
 
                          build the open files list plugin (default YES)
1618
 
  --enable-projects-importer 
1619
 
                          build the foreign projects importer plugin (default
1620
 
                          YES)
1621
 
  --enable-scripted-wizard 
1622
 
                          build the scripted wizard plugin (default YES)
1623
 
  --enable-todo           build the to-do plugin (default YES)
1624
 
  --enable-xpmanifest     build the xp-manifest plugin (default YES)
1625
 
  --enable-pch            use precompiled headers if available (default YES)
1626
 
 
1627
 
Optional Packages:
1628
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1629
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1630
 
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1631
 
  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1632
 
                          both@:>@
1633
 
  --with-tags@<:@=TAGS@:>@      include additional configurations @<:@automatic@:>@
1634
 
  --with-platform=PLATFORM 
1635
 
                          the platform to build, win32, macosx or gtk(default)
1636
 
  --with-contrib-plugins=<list>     compile contrib plugins in <list>. 
1637
 
                          plugins may be separated with commas. 
1638
 
                          "all" compiles all contrib plugins 
1639
 
                          "all,-help" compiles all contrib plugins except the help plugin 
1640
 
                          By default, no contrib plugins are compiled 
1641
 
                          Plugin names are: AutoVersioning,BrowseTracker,byogames,cbkoders,codesnippets,
1642
 
                                             codestat,dragscroll,envvars, 
1643
 
                                             help,keybinder,libfinder,profiler, 
1644
 
                                             regex,exporter,symtab,wxsmith 
1645
 
  --with-wxdir=PATH       Use uninstalled version of wxWidgets in PATH
1646
 
  --with-wx-config=CONFIG wx-config script to use (optional)
1647
 
  --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1648
 
  --with-wx-exec-prefix=PREFIX
1649
 
                          Exec prefix where wxWidgets is installed (optional)
1650
 
 
1651
 
Some influential environment variables:
1652
 
  CXX         C++ compiler command
1653
 
  CXXFLAGS    C++ compiler flags
1654
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1655
 
              nonstandard directory <lib dir>
1656
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1657
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1658
 
              you have headers in a nonstandard directory <include dir>
1659
 
  CC          C compiler command
1660
 
  CFLAGS      C compiler flags
1661
 
  CPP         C preprocessor
1662
 
  CXXCPP      C++ preprocessor
1663
 
  F77         Fortran 77 compiler command
1664
 
  FFLAGS      Fortran 77 compiler flags
1665
 
  PKG_CONFIG  path to pkg-config utility
1666
 
  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1667
 
  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
1668
 
 
1669
 
Use these variables to override the choices made by `configure' or to help
1670
 
it to find libraries and programs with nonstandard names/locations.
1671
 
 
1672
 
_ACEOF
1673
 
ac_status=$?
1674
 
fi
1675
 
 
1676
 
if test "$ac_init_help" = "recursive"; then
1677
 
  # If there are subdirs, report their specific --help.
1678
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1679
 
    test -d "$ac_dir" || continue
1680
 
    ac_builddir=.
1681
 
 
1682
 
case "$ac_dir" in
1683
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1684
 
*)
1685
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1686
 
  # A ".." for each directory in $ac_dir_suffix.
1687
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1688
 
  case $ac_top_builddir_sub in
1689
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1690
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1691
 
  esac ;;
1692
 
esac
1693
 
ac_abs_top_builddir=$ac_pwd
1694
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1695
 
# for backward compatibility:
1696
 
ac_top_builddir=$ac_top_build_prefix
1697
 
 
1698
 
case $srcdir in
1699
 
  .)  # We are building in place.
1700
 
    ac_srcdir=.
1701
 
    ac_top_srcdir=$ac_top_builddir_sub
1702
 
    ac_abs_top_srcdir=$ac_pwd ;;
1703
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1704
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1705
 
    ac_top_srcdir=$srcdir
1706
 
    ac_abs_top_srcdir=$srcdir ;;
1707
 
  *) # Relative name.
1708
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1709
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1710
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1711
 
esac
1712
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1713
 
 
1714
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1715
 
    # Check for guested configure.
1716
 
    if test -f "$ac_srcdir/configure.gnu"; then
1717
 
      echo &&
1718
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1719
 
    elif test -f "$ac_srcdir/configure"; then
1720
 
      echo &&
1721
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1722
 
    else
1723
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1724
 
    fi || ac_status=$?
1725
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1726
 
  done
1727
 
fi
1728
 
 
1729
 
test -n "$ac_init_help" && exit $ac_status
1730
 
if $ac_init_version; then
1731
 
  cat <<\_ACEOF
1732
 
codeblocks configure 1.0svn
1733
 
generated by GNU Autoconf 2.61
1734
 
 
1735
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1736
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1737
 
This configure script is free software; the Free Software Foundation
1738
 
gives unlimited permission to copy, distribute and modify it.
1739
 
_ACEOF
1740
 
  exit
1741
 
fi
1742
 
cat >config.log <<_ACEOF
1743
 
This file contains any messages produced by compilers while
1744
 
running configure, to aid debugging if configure makes a mistake.
1745
 
 
1746
 
It was created by codeblocks $as_me 1.0svn, which was
1747
 
generated by GNU Autoconf 2.61.  Invocation command line was
1748
 
 
1749
 
  $ $0 $@
1750
 
 
1751
 
_ACEOF
1752
 
exec 5>>config.log
1753
 
{
1754
 
cat <<_ASUNAME
1755
 
@%:@@%:@ --------- @%:@@%:@
1756
 
@%:@@%:@ Platform. @%:@@%:@
1757
 
@%:@@%:@ --------- @%:@@%:@
1758
 
 
1759
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1760
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1761
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1762
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1763
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1764
 
 
1765
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1766
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1767
 
 
1768
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1769
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1770
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1771
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1772
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1773
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1774
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1775
 
 
1776
 
_ASUNAME
1777
 
 
1778
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779
 
for as_dir in $PATH
1780
 
do
1781
 
  IFS=$as_save_IFS
1782
 
  test -z "$as_dir" && as_dir=.
1783
 
  echo "PATH: $as_dir"
1784
 
done
1785
 
IFS=$as_save_IFS
1786
 
 
1787
 
} >&5
1788
 
 
1789
 
cat >&5 <<_ACEOF
1790
 
 
1791
 
 
1792
 
@%:@@%:@ ----------- @%:@@%:@
1793
 
@%:@@%:@ Core tests. @%:@@%:@
1794
 
@%:@@%:@ ----------- @%:@@%:@
1795
 
 
1796
 
_ACEOF
1797
 
 
1798
 
 
1799
 
# Keep a trace of the command line.
1800
 
# Strip out --no-create and --no-recursion so they do not pile up.
1801
 
# Strip out --silent because we don't want to record it for future runs.
1802
 
# Also quote any args containing shell meta-characters.
1803
 
# Make two passes to allow for proper duplicate-argument suppression.
1804
 
ac_configure_args=
1805
 
ac_configure_args0=
1806
 
ac_configure_args1=
1807
 
ac_must_keep_next=false
1808
 
for ac_pass in 1 2
1809
 
do
1810
 
  for ac_arg
1811
 
  do
1812
 
    case $ac_arg in
1813
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1814
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1815
 
    | -silent | --silent | --silen | --sile | --sil)
1816
 
      continue ;;
1817
 
    *\'*)
1818
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1819
 
    esac
1820
 
    case $ac_pass in
1821
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1822
 
    2)
1823
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1824
 
      if test $ac_must_keep_next = true; then
1825
 
        ac_must_keep_next=false # Got value, back to normal.
1826
 
      else
1827
 
        case $ac_arg in
1828
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1829
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1830
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1831
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1832
 
            case "$ac_configure_args0 " in
1833
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1834
 
            esac
1835
 
            ;;
1836
 
          -* ) ac_must_keep_next=true ;;
1837
 
        esac
1838
 
      fi
1839
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1840
 
      ;;
1841
 
    esac
1842
 
  done
1843
 
done
1844
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1845
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1846
 
 
1847
 
# When interrupted or exit'd, cleanup temporary files, and complete
1848
 
# config.log.  We remove comments because anyway the quotes in there
1849
 
# would cause problems or look ugly.
1850
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1851
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1852
 
trap 'exit_status=$?
1853
 
  # Save into config.log some information that might help in debugging.
1854
 
  {
1855
 
    echo
1856
 
 
1857
 
    cat <<\_ASBOX
1858
 
@%:@@%:@ ---------------- @%:@@%:@
1859
 
@%:@@%:@ Cache variables. @%:@@%:@
1860
 
@%:@@%:@ ---------------- @%:@@%:@
1861
 
_ASBOX
1862
 
    echo
1863
 
    # The following way of writing the cache mishandles newlines in values,
1864
 
(
1865
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1866
 
    eval ac_val=\$$ac_var
1867
 
    case $ac_val in #(
1868
 
    *${as_nl}*)
1869
 
      case $ac_var in #(
1870
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1871
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1872
 
      esac
1873
 
      case $ac_var in #(
1874
 
      _ | IFS | as_nl) ;; #(
1875
 
      *) $as_unset $ac_var ;;
1876
 
      esac ;;
1877
 
    esac
1878
 
  done
1879
 
  (set) 2>&1 |
1880
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1881
 
    *${as_nl}ac_space=\ *)
1882
 
      sed -n \
1883
 
        "s/'\''/'\''\\\\'\'''\''/g;
1884
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1885
 
      ;; #(
1886
 
    *)
1887
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1888
 
      ;;
1889
 
    esac |
1890
 
    sort
1891
 
)
1892
 
    echo
1893
 
 
1894
 
    cat <<\_ASBOX
1895
 
@%:@@%:@ ----------------- @%:@@%:@
1896
 
@%:@@%:@ Output variables. @%:@@%:@
1897
 
@%:@@%:@ ----------------- @%:@@%:@
1898
 
_ASBOX
1899
 
    echo
1900
 
    for ac_var in $ac_subst_vars
1901
 
    do
1902
 
      eval ac_val=\$$ac_var
1903
 
      case $ac_val in
1904
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1905
 
      esac
1906
 
      echo "$ac_var='\''$ac_val'\''"
1907
 
    done | sort
1908
 
    echo
1909
 
 
1910
 
    if test -n "$ac_subst_files"; then
1911
 
      cat <<\_ASBOX
1912
 
@%:@@%:@ ------------------- @%:@@%:@
1913
 
@%:@@%:@ File substitutions. @%:@@%:@
1914
 
@%:@@%:@ ------------------- @%:@@%:@
1915
 
_ASBOX
1916
 
      echo
1917
 
      for ac_var in $ac_subst_files
1918
 
      do
1919
 
        eval ac_val=\$$ac_var
1920
 
        case $ac_val in
1921
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1922
 
        esac
1923
 
        echo "$ac_var='\''$ac_val'\''"
1924
 
      done | sort
1925
 
      echo
1926
 
    fi
1927
 
 
1928
 
    if test -s confdefs.h; then
1929
 
      cat <<\_ASBOX
1930
 
@%:@@%:@ ----------- @%:@@%:@
1931
 
@%:@@%:@ confdefs.h. @%:@@%:@
1932
 
@%:@@%:@ ----------- @%:@@%:@
1933
 
_ASBOX
1934
 
      echo
1935
 
      cat confdefs.h
1936
 
      echo
1937
 
    fi
1938
 
    test "$ac_signal" != 0 &&
1939
 
      echo "$as_me: caught signal $ac_signal"
1940
 
    echo "$as_me: exit $exit_status"
1941
 
  } >&5
1942
 
  rm -f core *.core core.conftest.* &&
1943
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1944
 
    exit $exit_status
1945
 
' 0
1946
 
for ac_signal in 1 2 13 15; do
1947
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1948
 
done
1949
 
ac_signal=0
1950
 
 
1951
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1952
 
rm -f -r conftest* confdefs.h
1953
 
 
1954
 
# Predefined preprocessor variables.
1955
 
 
1956
 
cat >>confdefs.h <<_ACEOF
1957
 
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1958
 
_ACEOF
1959
 
 
1960
 
 
1961
 
cat >>confdefs.h <<_ACEOF
1962
 
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1963
 
_ACEOF
1964
 
 
1965
 
 
1966
 
cat >>confdefs.h <<_ACEOF
1967
 
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1968
 
_ACEOF
1969
 
 
1970
 
 
1971
 
cat >>confdefs.h <<_ACEOF
1972
 
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1973
 
_ACEOF
1974
 
 
1975
 
 
1976
 
cat >>confdefs.h <<_ACEOF
1977
 
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1978
 
_ACEOF
1979
 
 
1980
 
 
1981
 
# Let the site file select an alternate cache file if it wants to.
1982
 
# Prefer explicitly selected file to automatically selected ones.
1983
 
if test -n "$CONFIG_SITE"; then
1984
 
  set x "$CONFIG_SITE"
1985
 
elif test "x$prefix" != xNONE; then
1986
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1987
 
else
1988
 
  set x "$ac_default_prefix/share/config.site" \
1989
 
        "$ac_default_prefix/etc/config.site"
1990
 
fi
1991
 
shift
1992
 
for ac_site_file
1993
 
do
1994
 
  if test -r "$ac_site_file"; then
1995
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1996
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1997
 
    sed 's/^/| /' "$ac_site_file" >&5
1998
 
    . "$ac_site_file"
1999
 
  fi
2000
 
done
2001
 
 
2002
 
if test -r "$cache_file"; then
2003
 
  # Some versions of bash will fail to source /dev/null (special
2004
 
  # files actually), so we avoid doing that.
2005
 
  if test -f "$cache_file"; then
2006
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2007
 
echo "$as_me: loading cache $cache_file" >&6;}
2008
 
    case $cache_file in
2009
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2010
 
      *)                      . "./$cache_file";;
2011
 
    esac
2012
 
  fi
2013
 
else
2014
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2015
 
echo "$as_me: creating cache $cache_file" >&6;}
2016
 
  >$cache_file
2017
 
fi
2018
 
 
2019
 
# Check that the precious variables saved in the cache have kept the same
2020
 
# value.
2021
 
ac_cache_corrupted=false
2022
 
for ac_var in $ac_precious_vars; do
2023
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2024
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2025
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2026
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2027
 
  case $ac_old_set,$ac_new_set in
2028
 
    set,)
2029
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2030
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2031
 
      ac_cache_corrupted=: ;;
2032
 
    ,set)
2033
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2034
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2035
 
      ac_cache_corrupted=: ;;
2036
 
    ,);;
2037
 
    *)
2038
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2039
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2040
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2041
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2042
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
2043
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2044
 
echo "$as_me:   current value: $ac_new_val" >&2;}
2045
 
        ac_cache_corrupted=:
2046
 
      fi;;
2047
 
  esac
2048
 
  # Pass precious variables to config.status.
2049
 
  if test "$ac_new_set" = set; then
2050
 
    case $ac_new_val in
2051
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2052
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2053
 
    esac
2054
 
    case " $ac_configure_args " in
2055
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2056
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2057
 
    esac
2058
 
  fi
2059
 
done
2060
 
if $ac_cache_corrupted; then
2061
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2062
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2063
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2064
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2065
 
   { (exit 1); exit 1; }; }
2066
 
fi
2067
 
 
2068
 
 
2069
 
 
2070
 
 
2071
 
 
2072
 
 
2073
 
 
2074
 
 
2075
 
 
2076
 
 
2077
 
 
2078
 
 
2079
 
 
2080
 
 
2081
 
 
2082
 
 
2083
 
 
2084
 
 
2085
 
 
2086
 
 
2087
 
 
2088
 
 
2089
 
 
2090
 
 
2091
 
 
2092
 
ac_ext=c
2093
 
ac_cpp='$CPP $CPPFLAGS'
2094
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2095
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2096
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2097
 
 
2098
 
 
2099
 
 
2100
 
ac_aux_dir=
2101
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2102
 
  if test -f "$ac_dir/install-sh"; then
2103
 
    ac_aux_dir=$ac_dir
2104
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2105
 
    break
2106
 
  elif test -f "$ac_dir/install.sh"; then
2107
 
    ac_aux_dir=$ac_dir
2108
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2109
 
    break
2110
 
  elif test -f "$ac_dir/shtool"; then
2111
 
    ac_aux_dir=$ac_dir
2112
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2113
 
    break
2114
 
  fi
2115
 
done
2116
 
if test -z "$ac_aux_dir"; then
2117
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2118
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2119
 
   { (exit 1); exit 1; }; }
2120
 
fi
2121
 
 
2122
 
# These three variables are undocumented and unsupported,
2123
 
# and are intended to be withdrawn in a future Autoconf release.
2124
 
# They can cause serious problems if a builder's source tree is in a directory
2125
 
# whose full name contains unusual characters.
2126
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2127
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2128
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2129
 
 
2130
 
 
2131
 
# Make sure we can run config.sub.
2132
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2133
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2134
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2135
 
   { (exit 1); exit 1; }; }
2136
 
 
2137
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2138
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2139
 
if test "${ac_cv_build+set}" = set; then
2140
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2141
 
else
2142
 
  ac_build_alias=$build_alias
2143
 
test "x$ac_build_alias" = x &&
2144
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2145
 
test "x$ac_build_alias" = x &&
2146
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2147
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2148
 
   { (exit 1); exit 1; }; }
2149
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2150
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2151
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2152
 
   { (exit 1); exit 1; }; }
2153
 
 
2154
 
fi
2155
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2156
 
echo "${ECHO_T}$ac_cv_build" >&6; }
2157
 
case $ac_cv_build in
2158
 
*-*-*) ;;
2159
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2160
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2161
 
   { (exit 1); exit 1; }; };;
2162
 
esac
2163
 
build=$ac_cv_build
2164
 
ac_save_IFS=$IFS; IFS='-'
2165
 
set x $ac_cv_build
2166
 
shift
2167
 
build_cpu=$1
2168
 
build_vendor=$2
2169
 
shift; shift
2170
 
# Remember, the first character of IFS is used to create $*,
2171
 
# except with old shells:
2172
 
build_os=$*
2173
 
IFS=$ac_save_IFS
2174
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2175
 
 
2176
 
 
2177
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2178
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2179
 
if test "${ac_cv_host+set}" = set; then
2180
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2181
 
else
2182
 
  if test "x$host_alias" = x; then
2183
 
  ac_cv_host=$ac_cv_build
2184
 
else
2185
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2186
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2187
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2188
 
   { (exit 1); exit 1; }; }
2189
 
fi
2190
 
 
2191
 
fi
2192
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2193
 
echo "${ECHO_T}$ac_cv_host" >&6; }
2194
 
case $ac_cv_host in
2195
 
*-*-*) ;;
2196
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2197
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2198
 
   { (exit 1); exit 1; }; };;
2199
 
esac
2200
 
host=$ac_cv_host
2201
 
ac_save_IFS=$IFS; IFS='-'
2202
 
set x $ac_cv_host
2203
 
shift
2204
 
host_cpu=$1
2205
 
host_vendor=$2
2206
 
shift; shift
2207
 
# Remember, the first character of IFS is used to create $*,
2208
 
# except with old shells:
2209
 
host_os=$*
2210
 
IFS=$ac_save_IFS
2211
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2212
 
 
2213
 
 
2214
 
{ echo "$as_me:$LINENO: checking target system type" >&5
2215
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2216
 
if test "${ac_cv_target+set}" = set; then
2217
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2218
 
else
2219
 
  if test "x$target_alias" = x; then
2220
 
  ac_cv_target=$ac_cv_host
2221
 
else
2222
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2223
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2224
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2225
 
   { (exit 1); exit 1; }; }
2226
 
fi
2227
 
 
2228
 
fi
2229
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2230
 
echo "${ECHO_T}$ac_cv_target" >&6; }
2231
 
case $ac_cv_target in
2232
 
*-*-*) ;;
2233
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2234
 
echo "$as_me: error: invalid value of canonical target" >&2;}
2235
 
   { (exit 1); exit 1; }; };;
2236
 
esac
2237
 
target=$ac_cv_target
2238
 
ac_save_IFS=$IFS; IFS='-'
2239
 
set x $ac_cv_target
2240
 
shift
2241
 
target_cpu=$1
2242
 
target_vendor=$2
2243
 
shift; shift
2244
 
# Remember, the first character of IFS is used to create $*,
2245
 
# except with old shells:
2246
 
target_os=$*
2247
 
IFS=$ac_save_IFS
2248
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2249
 
 
2250
 
 
2251
 
# The aliases save the names the user supplied, while $host etc.
2252
 
# will get canonicalized.
2253
 
test -n "$target_alias" &&
2254
 
  test "$program_prefix$program_suffix$program_transform_name" = \
2255
 
    NONENONEs,x,x, &&
2256
 
  program_prefix=${target_alias}-
2257
 
 
2258
 
am__api_version='1.10'
2259
 
 
2260
 
# Find a good install program.  We prefer a C program (faster),
2261
 
# so one script is as good as another.  But avoid the broken or
2262
 
# incompatible versions:
2263
 
# SysV /etc/install, /usr/sbin/install
2264
 
# SunOS /usr/etc/install
2265
 
# IRIX /sbin/install
2266
 
# AIX /bin/install
2267
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2268
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2269
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2270
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2271
 
# OS/2's system install, which has a completely different semantic
2272
 
# ./install, which can be erroneously created by make from ./install.sh.
2273
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2274
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2275
 
if test -z "$INSTALL"; then
2276
 
if test "${ac_cv_path_install+set}" = set; then
2277
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2278
 
else
2279
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280
 
for as_dir in $PATH
2281
 
do
2282
 
  IFS=$as_save_IFS
2283
 
  test -z "$as_dir" && as_dir=.
2284
 
  # Account for people who put trailing slashes in PATH elements.
2285
 
case $as_dir/ in
2286
 
  ./ | .// | /cC/* | \
2287
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2288
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2289
 
  /usr/ucb/* ) ;;
2290
 
  *)
2291
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2292
 
    # Don't use installbsd from OSF since it installs stuff as root
2293
 
    # by default.
2294
 
    for ac_prog in ginstall scoinst install; do
2295
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2296
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2297
 
          if test $ac_prog = install &&
2298
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2299
 
            # AIX install.  It has an incompatible calling convention.
2300
 
            :
2301
 
          elif test $ac_prog = install &&
2302
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2303
 
            # program-specific install script used by HP pwplus--don't use.
2304
 
            :
2305
 
          else
2306
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2307
 
            break 3
2308
 
          fi
2309
 
        fi
2310
 
      done
2311
 
    done
2312
 
    ;;
2313
 
esac
2314
 
done
2315
 
IFS=$as_save_IFS
2316
 
 
2317
 
 
2318
 
fi
2319
 
  if test "${ac_cv_path_install+set}" = set; then
2320
 
    INSTALL=$ac_cv_path_install
2321
 
  else
2322
 
    # As a last resort, use the slow shell script.  Don't cache a
2323
 
    # value for INSTALL within a source directory, because that will
2324
 
    # break other packages using the cache if that directory is
2325
 
    # removed, or if the value is a relative name.
2326
 
    INSTALL=$ac_install_sh
2327
 
  fi
2328
 
fi
2329
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2330
 
echo "${ECHO_T}$INSTALL" >&6; }
2331
 
 
2332
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2333
 
# It thinks the first close brace ends the variable substitution.
2334
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2335
 
 
2336
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2337
 
 
2338
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2339
 
 
2340
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2341
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2342
 
# Just in case
2343
 
sleep 1
2344
 
echo timestamp > conftest.file
2345
 
# Do `set' in a subshell so we don't clobber the current shell's
2346
 
# arguments.  Must try -L first in case configure is actually a
2347
 
# symlink; some systems play weird games with the mod time of symlinks
2348
 
# (eg FreeBSD returns the mod time of the symlink's containing
2349
 
# directory).
2350
 
if (
2351
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2352
 
   if test "$*" = "X"; then
2353
 
      # -L didn't work.
2354
 
      set X `ls -t $srcdir/configure conftest.file`
2355
 
   fi
2356
 
   rm -f conftest.file
2357
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2358
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2359
 
 
2360
 
      # If neither matched, then we have a broken ls.  This can happen
2361
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2362
 
      # broken ls alias from the environment.  This has actually
2363
 
      # happened.  Such a system could not be considered "sane".
2364
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2365
 
alias in your environment" >&5
2366
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2367
 
alias in your environment" >&2;}
2368
 
   { (exit 1); exit 1; }; }
2369
 
   fi
2370
 
 
2371
 
   test "$2" = conftest.file
2372
 
   )
2373
 
then
2374
 
   # Ok.
2375
 
   :
2376
 
else
2377
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2378
 
Check your system clock" >&5
2379
 
echo "$as_me: error: newly created file is older than distributed files!
2380
 
Check your system clock" >&2;}
2381
 
   { (exit 1); exit 1; }; }
2382
 
fi
2383
 
{ echo "$as_me:$LINENO: result: yes" >&5
2384
 
echo "${ECHO_T}yes" >&6; }
2385
 
test "$program_prefix" != NONE &&
2386
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2387
 
# Use a double $ so make ignores it.
2388
 
test "$program_suffix" != NONE &&
2389
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2390
 
# Double any \ or $.  echo might interpret backslashes.
2391
 
# By default was `s,x,x', remove it if useless.
2392
 
cat <<\_ACEOF >conftest.sed
2393
 
s/[\\$]/&&/g;s/;s,x,x,$//
2394
 
_ACEOF
2395
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2396
 
rm -f conftest.sed
2397
 
 
2398
 
# expand $ac_aux_dir to an absolute path
2399
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2400
 
 
2401
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2402
 
# Use eval to expand $SHELL
2403
 
if eval "$MISSING --run true"; then
2404
 
  am_missing_run="$MISSING --run "
2405
 
else
2406
 
  am_missing_run=
2407
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2408
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2409
 
fi
2410
 
 
2411
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2412
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2413
 
if test -z "$MKDIR_P"; then
2414
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2415
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2416
 
else
2417
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2419
 
do
2420
 
  IFS=$as_save_IFS
2421
 
  test -z "$as_dir" && as_dir=.
2422
 
  for ac_prog in mkdir gmkdir; do
2423
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2424
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2425
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2426
 
             'mkdir (GNU coreutils) '* | \
2427
 
             'mkdir (coreutils) '* | \
2428
 
             'mkdir (fileutils) '4.1*)
2429
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2430
 
               break 3;;
2431
 
           esac
2432
 
         done
2433
 
       done
2434
 
done
2435
 
IFS=$as_save_IFS
2436
 
 
2437
 
fi
2438
 
 
2439
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2440
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2441
 
  else
2442
 
    # As a last resort, use the slow shell script.  Don't cache a
2443
 
    # value for MKDIR_P within a source directory, because that will
2444
 
    # break other packages using the cache if that directory is
2445
 
    # removed, or if the value is a relative name.
2446
 
    test -d ./--version && rmdir ./--version
2447
 
    MKDIR_P="$ac_install_sh -d"
2448
 
  fi
2449
 
fi
2450
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2451
 
echo "${ECHO_T}$MKDIR_P" >&6; }
2452
 
 
2453
 
mkdir_p="$MKDIR_P"
2454
 
case $mkdir_p in
2455
 
  [\\/$]* | ?:[\\/]*) ;;
2456
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2457
 
esac
2458
 
 
2459
 
for ac_prog in gawk mawk nawk awk
2460
 
do
2461
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2462
 
set dummy $ac_prog; ac_word=$2
2463
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2464
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2465
 
if test "${ac_cv_prog_AWK+set}" = set; then
2466
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2467
 
else
2468
 
  if test -n "$AWK"; then
2469
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2470
 
else
2471
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472
 
for as_dir in $PATH
2473
 
do
2474
 
  IFS=$as_save_IFS
2475
 
  test -z "$as_dir" && as_dir=.
2476
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2477
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478
 
    ac_cv_prog_AWK="$ac_prog"
2479
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2480
 
    break 2
2481
 
  fi
2482
 
done
2483
 
done
2484
 
IFS=$as_save_IFS
2485
 
 
2486
 
fi
2487
 
fi
2488
 
AWK=$ac_cv_prog_AWK
2489
 
if test -n "$AWK"; then
2490
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2491
 
echo "${ECHO_T}$AWK" >&6; }
2492
 
else
2493
 
  { echo "$as_me:$LINENO: result: no" >&5
2494
 
echo "${ECHO_T}no" >&6; }
2495
 
fi
2496
 
 
2497
 
 
2498
 
  test -n "$AWK" && break
2499
 
done
2500
 
 
2501
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2502
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2503
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2504
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2505
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2506
 
else
2507
 
  cat >conftest.make <<\_ACEOF
2508
 
SHELL = /bin/sh
2509
 
all:
2510
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2511
 
_ACEOF
2512
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2513
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2514
 
  *@@@%%%=?*=@@@%%%*)
2515
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2516
 
  *)
2517
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2518
 
esac
2519
 
rm -f conftest.make
2520
 
fi
2521
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2522
 
  { echo "$as_me:$LINENO: result: yes" >&5
2523
 
echo "${ECHO_T}yes" >&6; }
2524
 
  SET_MAKE=
2525
 
else
2526
 
  { echo "$as_me:$LINENO: result: no" >&5
2527
 
echo "${ECHO_T}no" >&6; }
2528
 
  SET_MAKE="MAKE=${MAKE-make}"
2529
 
fi
2530
 
 
2531
 
rm -rf .tst 2>/dev/null
2532
 
mkdir .tst 2>/dev/null
2533
 
if test -d .tst; then
2534
 
  am__leading_dot=.
2535
 
else
2536
 
  am__leading_dot=_
2537
 
fi
2538
 
rmdir .tst 2>/dev/null
2539
 
 
2540
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2541
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2542
 
  # is not polluted with repeated "-I."
2543
 
  am__isrc=' -I$(srcdir)'
2544
 
  # test to see if srcdir already configured
2545
 
  if test -f $srcdir/config.status; then
2546
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2547
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2548
 
   { (exit 1); exit 1; }; }
2549
 
  fi
2550
 
fi
2551
 
 
2552
 
# test whether we have cygpath
2553
 
if test -z "$CYGPATH_W"; then
2554
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2555
 
    CYGPATH_W='cygpath -w'
2556
 
  else
2557
 
    CYGPATH_W=echo
2558
 
  fi
2559
 
fi
2560
 
 
2561
 
 
2562
 
# Define the identity of the package.
2563
 
 PACKAGE='codeblocks'
2564
 
 VERSION='1.0svn'
2565
 
 
2566
 
 
2567
 
cat >>confdefs.h <<_ACEOF
2568
 
@%:@define PACKAGE "$PACKAGE"
2569
 
_ACEOF
2570
 
 
2571
 
 
2572
 
cat >>confdefs.h <<_ACEOF
2573
 
@%:@define VERSION "$VERSION"
2574
 
_ACEOF
2575
 
 
2576
 
# Some tools Automake needs.
2577
 
 
2578
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2579
 
 
2580
 
 
2581
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2582
 
 
2583
 
 
2584
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2585
 
 
2586
 
 
2587
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2588
 
 
2589
 
 
2590
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2591
 
 
2592
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2593
 
 
2594
 
# Installed binaries are usually stripped using `strip' when the user
2595
 
# run `make install-strip'.  However `strip' might not be the right
2596
 
# tool to use in cross-compilation environments, therefore Automake
2597
 
# will honor the `STRIP' environment variable to overrule this program.
2598
 
if test "$cross_compiling" != no; then
2599
 
  if test -n "$ac_tool_prefix"; then
2600
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2601
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2602
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2603
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2604
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2605
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2606
 
else
2607
 
  if test -n "$STRIP"; then
2608
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2609
 
else
2610
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611
 
for as_dir in $PATH
2612
 
do
2613
 
  IFS=$as_save_IFS
2614
 
  test -z "$as_dir" && as_dir=.
2615
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2616
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2618
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2619
 
    break 2
2620
 
  fi
2621
 
done
2622
 
done
2623
 
IFS=$as_save_IFS
2624
 
 
2625
 
fi
2626
 
fi
2627
 
STRIP=$ac_cv_prog_STRIP
2628
 
if test -n "$STRIP"; then
2629
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2630
 
echo "${ECHO_T}$STRIP" >&6; }
2631
 
else
2632
 
  { echo "$as_me:$LINENO: result: no" >&5
2633
 
echo "${ECHO_T}no" >&6; }
2634
 
fi
2635
 
 
2636
 
 
2637
 
fi
2638
 
if test -z "$ac_cv_prog_STRIP"; then
2639
 
  ac_ct_STRIP=$STRIP
2640
 
  # Extract the first word of "strip", so it can be a program name with args.
2641
 
set dummy strip; ac_word=$2
2642
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2643
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2644
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2645
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2646
 
else
2647
 
  if test -n "$ac_ct_STRIP"; then
2648
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2649
 
else
2650
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651
 
for as_dir in $PATH
2652
 
do
2653
 
  IFS=$as_save_IFS
2654
 
  test -z "$as_dir" && as_dir=.
2655
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2656
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2657
 
    ac_cv_prog_ac_ct_STRIP="strip"
2658
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659
 
    break 2
2660
 
  fi
2661
 
done
2662
 
done
2663
 
IFS=$as_save_IFS
2664
 
 
2665
 
fi
2666
 
fi
2667
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2668
 
if test -n "$ac_ct_STRIP"; then
2669
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2670
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2671
 
else
2672
 
  { echo "$as_me:$LINENO: result: no" >&5
2673
 
echo "${ECHO_T}no" >&6; }
2674
 
fi
2675
 
 
2676
 
  if test "x$ac_ct_STRIP" = x; then
2677
 
    STRIP=":"
2678
 
  else
2679
 
    case $cross_compiling:$ac_tool_warned in
2680
 
yes:)
2681
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2682
 
whose name does not start with the host triplet.  If you think this
2683
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2684
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2685
 
whose name does not start with the host triplet.  If you think this
2686
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2687
 
ac_tool_warned=yes ;;
2688
 
esac
2689
 
    STRIP=$ac_ct_STRIP
2690
 
  fi
2691
 
else
2692
 
  STRIP="$ac_cv_prog_STRIP"
2693
 
fi
2694
 
 
2695
 
fi
2696
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2697
 
 
2698
 
# We need awk for the "check" target.  The system "awk" is bad on
2699
 
# some platforms.
2700
 
# Always define AMTAR for backward compatibility.
2701
 
 
2702
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2703
 
 
2704
 
am__tar='${AMTAR} chf - "$$tardir"'; am__untar='${AMTAR} xf -'
2705
 
 
2706
 
 
2707
 
 
2708
 
 
2709
 
 
2710
 
ac_config_headers="$ac_config_headers src/include/config.h"
2711
 
 
2712
 
 
2713
 
ac_ext=cpp
2714
 
ac_cpp='$CXXCPP $CPPFLAGS'
2715
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2716
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2717
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2718
 
if test -z "$CXX"; then
2719
 
  if test -n "$CCC"; then
2720
 
    CXX=$CCC
2721
 
  else
2722
 
    if test -n "$ac_tool_prefix"; then
2723
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2724
 
  do
2725
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2726
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2727
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2728
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2729
 
if test "${ac_cv_prog_CXX+set}" = set; then
2730
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2731
 
else
2732
 
  if test -n "$CXX"; then
2733
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2734
 
else
2735
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736
 
for as_dir in $PATH
2737
 
do
2738
 
  IFS=$as_save_IFS
2739
 
  test -z "$as_dir" && as_dir=.
2740
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2741
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2742
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2743
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2744
 
    break 2
2745
 
  fi
2746
 
done
2747
 
done
2748
 
IFS=$as_save_IFS
2749
 
 
2750
 
fi
2751
 
fi
2752
 
CXX=$ac_cv_prog_CXX
2753
 
if test -n "$CXX"; then
2754
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
2755
 
echo "${ECHO_T}$CXX" >&6; }
2756
 
else
2757
 
  { echo "$as_me:$LINENO: result: no" >&5
2758
 
echo "${ECHO_T}no" >&6; }
2759
 
fi
2760
 
 
2761
 
 
2762
 
    test -n "$CXX" && break
2763
 
  done
2764
 
fi
2765
 
if test -z "$CXX"; then
2766
 
  ac_ct_CXX=$CXX
2767
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2768
 
do
2769
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2770
 
set dummy $ac_prog; ac_word=$2
2771
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2772
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2773
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2775
 
else
2776
 
  if test -n "$ac_ct_CXX"; then
2777
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2778
 
else
2779
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780
 
for as_dir in $PATH
2781
 
do
2782
 
  IFS=$as_save_IFS
2783
 
  test -z "$as_dir" && as_dir=.
2784
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2785
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2786
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2787
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2788
 
    break 2
2789
 
  fi
2790
 
done
2791
 
done
2792
 
IFS=$as_save_IFS
2793
 
 
2794
 
fi
2795
 
fi
2796
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2797
 
if test -n "$ac_ct_CXX"; then
2798
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2799
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
2800
 
else
2801
 
  { echo "$as_me:$LINENO: result: no" >&5
2802
 
echo "${ECHO_T}no" >&6; }
2803
 
fi
2804
 
 
2805
 
 
2806
 
  test -n "$ac_ct_CXX" && break
2807
 
done
2808
 
 
2809
 
  if test "x$ac_ct_CXX" = x; then
2810
 
    CXX="g++"
2811
 
  else
2812
 
    case $cross_compiling:$ac_tool_warned in
2813
 
yes:)
2814
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2815
 
whose name does not start with the host triplet.  If you think this
2816
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2817
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2818
 
whose name does not start with the host triplet.  If you think this
2819
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2820
 
ac_tool_warned=yes ;;
2821
 
esac
2822
 
    CXX=$ac_ct_CXX
2823
 
  fi
2824
 
fi
2825
 
 
2826
 
  fi
2827
 
fi
2828
 
# Provide some information about the compiler.
2829
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2830
 
ac_compiler=`set X $ac_compile; echo $2`
2831
 
{ (ac_try="$ac_compiler --version >&5"
2832
 
case "(($ac_try" in
2833
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834
 
  *) ac_try_echo=$ac_try;;
2835
 
esac
2836
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837
 
  (eval "$ac_compiler --version >&5") 2>&5
2838
 
  ac_status=$?
2839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
 
  (exit $ac_status); }
2841
 
{ (ac_try="$ac_compiler -v >&5"
2842
 
case "(($ac_try" in
2843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844
 
  *) ac_try_echo=$ac_try;;
2845
 
esac
2846
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2847
 
  (eval "$ac_compiler -v >&5") 2>&5
2848
 
  ac_status=$?
2849
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850
 
  (exit $ac_status); }
2851
 
{ (ac_try="$ac_compiler -V >&5"
2852
 
case "(($ac_try" in
2853
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854
 
  *) ac_try_echo=$ac_try;;
2855
 
esac
2856
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2857
 
  (eval "$ac_compiler -V >&5") 2>&5
2858
 
  ac_status=$?
2859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860
 
  (exit $ac_status); }
2861
 
 
2862
 
cat >conftest.$ac_ext <<_ACEOF
2863
 
/* confdefs.h.  */
2864
 
_ACEOF
2865
 
cat confdefs.h >>conftest.$ac_ext
2866
 
cat >>conftest.$ac_ext <<_ACEOF
2867
 
/* end confdefs.h.  */
2868
 
 
2869
 
int
2870
 
main ()
2871
 
{
2872
 
 
2873
 
  ;
2874
 
  return 0;
2875
 
}
2876
 
_ACEOF
2877
 
ac_clean_files_save=$ac_clean_files
2878
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2879
 
# Try to create an executable without -o first, disregard a.out.
2880
 
# It will help us diagnose broken compilers, and finding out an intuition
2881
 
# of exeext.
2882
 
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2883
 
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2884
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2885
 
#
2886
 
# List of possible output files, starting from the most likely.
2887
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2888
 
# only as a last resort.  b.out is created by i960 compilers.
2889
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2890
 
#
2891
 
# The IRIX 6 linker writes into existing files which may not be
2892
 
# executable, retaining their permissions.  Remove them first so a
2893
 
# subsequent execution test works.
2894
 
ac_rmfiles=
2895
 
for ac_file in $ac_files
2896
 
do
2897
 
  case $ac_file in
2898
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2899
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2900
 
  esac
2901
 
done
2902
 
rm -f $ac_rmfiles
2903
 
 
2904
 
if { (ac_try="$ac_link_default"
2905
 
case "(($ac_try" in
2906
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907
 
  *) ac_try_echo=$ac_try;;
2908
 
esac
2909
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2910
 
  (eval "$ac_link_default") 2>&5
2911
 
  ac_status=$?
2912
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913
 
  (exit $ac_status); }; then
2914
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2915
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2916
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2917
 
# so that the user can short-circuit this test for compilers unknown to
2918
 
# Autoconf.
2919
 
for ac_file in $ac_files ''
2920
 
do
2921
 
  test -f "$ac_file" || continue
2922
 
  case $ac_file in
2923
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2924
 
        ;;
2925
 
    [ab].out )
2926
 
        # We found the default executable, but exeext='' is most
2927
 
        # certainly right.
2928
 
        break;;
2929
 
    *.* )
2930
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2931
 
        then :; else
2932
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2933
 
        fi
2934
 
        # We set ac_cv_exeext here because the later test for it is not
2935
 
        # safe: cross compilers may not add the suffix if given an `-o'
2936
 
        # argument, so we may need to know it at that point already.
2937
 
        # Even if this section looks crufty: it has the advantage of
2938
 
        # actually working.
2939
 
        break;;
2940
 
    * )
2941
 
        break;;
2942
 
  esac
2943
 
done
2944
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
2945
 
 
2946
 
else
2947
 
  ac_file=''
2948
 
fi
2949
 
 
2950
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2951
 
echo "${ECHO_T}$ac_file" >&6; }
2952
 
if test -z "$ac_file"; then
2953
 
  echo "$as_me: failed program was:" >&5
2954
 
sed 's/^/| /' conftest.$ac_ext >&5
2955
 
 
2956
 
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2957
 
See \`config.log' for more details." >&5
2958
 
echo "$as_me: error: C++ compiler cannot create executables
2959
 
See \`config.log' for more details." >&2;}
2960
 
   { (exit 77); exit 77; }; }
2961
 
fi
2962
 
 
2963
 
ac_exeext=$ac_cv_exeext
2964
 
 
2965
 
# Check that the compiler produces executables we can run.  If not, either
2966
 
# the compiler is broken, or we cross compile.
2967
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2968
 
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2969
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2970
 
# If not cross compiling, check that we can run a simple program.
2971
 
if test "$cross_compiling" != yes; then
2972
 
  if { ac_try='./$ac_file'
2973
 
  { (case "(($ac_try" in
2974
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975
 
  *) ac_try_echo=$ac_try;;
2976
 
esac
2977
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978
 
  (eval "$ac_try") 2>&5
2979
 
  ac_status=$?
2980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
 
  (exit $ac_status); }; }; then
2982
 
    cross_compiling=no
2983
 
  else
2984
 
    if test "$cross_compiling" = maybe; then
2985
 
        cross_compiling=yes
2986
 
    else
2987
 
        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2988
 
If you meant to cross compile, use \`--host'.
2989
 
See \`config.log' for more details." >&5
2990
 
echo "$as_me: error: cannot run C++ compiled programs.
2991
 
If you meant to cross compile, use \`--host'.
2992
 
See \`config.log' for more details." >&2;}
2993
 
   { (exit 1); exit 1; }; }
2994
 
    fi
2995
 
  fi
2996
 
fi
2997
 
{ echo "$as_me:$LINENO: result: yes" >&5
2998
 
echo "${ECHO_T}yes" >&6; }
2999
 
 
3000
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3001
 
ac_clean_files=$ac_clean_files_save
3002
 
# Check that the compiler produces executables we can run.  If not, either
3003
 
# the compiler is broken, or we cross compile.
3004
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3005
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3006
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3007
 
echo "${ECHO_T}$cross_compiling" >&6; }
3008
 
 
3009
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3010
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3011
 
if { (ac_try="$ac_link"
3012
 
case "(($ac_try" in
3013
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014
 
  *) ac_try_echo=$ac_try;;
3015
 
esac
3016
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3017
 
  (eval "$ac_link") 2>&5
3018
 
  ac_status=$?
3019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020
 
  (exit $ac_status); }; then
3021
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3022
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3023
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3024
 
# `rm'.
3025
 
for ac_file in conftest.exe conftest conftest.*; do
3026
 
  test -f "$ac_file" || continue
3027
 
  case $ac_file in
3028
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3029
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3030
 
          break;;
3031
 
    * ) break;;
3032
 
  esac
3033
 
done
3034
 
else
3035
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3036
 
See \`config.log' for more details." >&5
3037
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3038
 
See \`config.log' for more details." >&2;}
3039
 
   { (exit 1); exit 1; }; }
3040
 
fi
3041
 
 
3042
 
rm -f conftest$ac_cv_exeext
3043
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3044
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3045
 
 
3046
 
rm -f conftest.$ac_ext
3047
 
EXEEXT=$ac_cv_exeext
3048
 
ac_exeext=$EXEEXT
3049
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3050
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3051
 
if test "${ac_cv_objext+set}" = set; then
3052
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3053
 
else
3054
 
  cat >conftest.$ac_ext <<_ACEOF
3055
 
/* confdefs.h.  */
3056
 
_ACEOF
3057
 
cat confdefs.h >>conftest.$ac_ext
3058
 
cat >>conftest.$ac_ext <<_ACEOF
3059
 
/* end confdefs.h.  */
3060
 
 
3061
 
int
3062
 
main ()
3063
 
{
3064
 
 
3065
 
  ;
3066
 
  return 0;
3067
 
}
3068
 
_ACEOF
3069
 
rm -f conftest.o conftest.obj
3070
 
if { (ac_try="$ac_compile"
3071
 
case "(($ac_try" in
3072
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073
 
  *) ac_try_echo=$ac_try;;
3074
 
esac
3075
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3076
 
  (eval "$ac_compile") 2>&5
3077
 
  ac_status=$?
3078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079
 
  (exit $ac_status); }; then
3080
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3081
 
  test -f "$ac_file" || continue;
3082
 
  case $ac_file in
3083
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3084
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3085
 
       break;;
3086
 
  esac
3087
 
done
3088
 
else
3089
 
  echo "$as_me: failed program was:" >&5
3090
 
sed 's/^/| /' conftest.$ac_ext >&5
3091
 
 
3092
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3093
 
See \`config.log' for more details." >&5
3094
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3095
 
See \`config.log' for more details." >&2;}
3096
 
   { (exit 1); exit 1; }; }
3097
 
fi
3098
 
 
3099
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3100
 
fi
3101
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3102
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
3103
 
OBJEXT=$ac_cv_objext
3104
 
ac_objext=$OBJEXT
3105
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3106
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3107
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3109
 
else
3110
 
  cat >conftest.$ac_ext <<_ACEOF
3111
 
/* confdefs.h.  */
3112
 
_ACEOF
3113
 
cat confdefs.h >>conftest.$ac_ext
3114
 
cat >>conftest.$ac_ext <<_ACEOF
3115
 
/* end confdefs.h.  */
3116
 
 
3117
 
int
3118
 
main ()
3119
 
{
3120
 
#ifndef __GNUC__
3121
 
       choke me
3122
 
#endif
3123
 
 
3124
 
  ;
3125
 
  return 0;
3126
 
}
3127
 
_ACEOF
3128
 
rm -f conftest.$ac_objext
3129
 
if { (ac_try="$ac_compile"
3130
 
case "(($ac_try" in
3131
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132
 
  *) ac_try_echo=$ac_try;;
3133
 
esac
3134
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3135
 
  (eval "$ac_compile") 2>conftest.er1
3136
 
  ac_status=$?
3137
 
  grep -v '^ *+' conftest.er1 >conftest.err
3138
 
  rm -f conftest.er1
3139
 
  cat conftest.err >&5
3140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141
 
  (exit $ac_status); } && {
3142
 
         test -z "$ac_cxx_werror_flag" ||
3143
 
         test ! -s conftest.err
3144
 
       } && test -s conftest.$ac_objext; then
3145
 
  ac_compiler_gnu=yes
3146
 
else
3147
 
  echo "$as_me: failed program was:" >&5
3148
 
sed 's/^/| /' conftest.$ac_ext >&5
3149
 
 
3150
 
        ac_compiler_gnu=no
3151
 
fi
3152
 
 
3153
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3155
 
 
3156
 
fi
3157
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3158
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3159
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
3160
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
3161
 
ac_save_CXXFLAGS=$CXXFLAGS
3162
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3163
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3164
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
3165
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3166
 
else
3167
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3168
 
   ac_cxx_werror_flag=yes
3169
 
   ac_cv_prog_cxx_g=no
3170
 
   CXXFLAGS="-g"
3171
 
   cat >conftest.$ac_ext <<_ACEOF
3172
 
/* confdefs.h.  */
3173
 
_ACEOF
3174
 
cat confdefs.h >>conftest.$ac_ext
3175
 
cat >>conftest.$ac_ext <<_ACEOF
3176
 
/* end confdefs.h.  */
3177
 
 
3178
 
int
3179
 
main ()
3180
 
{
3181
 
 
3182
 
  ;
3183
 
  return 0;
3184
 
}
3185
 
_ACEOF
3186
 
rm -f conftest.$ac_objext
3187
 
if { (ac_try="$ac_compile"
3188
 
case "(($ac_try" in
3189
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190
 
  *) ac_try_echo=$ac_try;;
3191
 
esac
3192
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3193
 
  (eval "$ac_compile") 2>conftest.er1
3194
 
  ac_status=$?
3195
 
  grep -v '^ *+' conftest.er1 >conftest.err
3196
 
  rm -f conftest.er1
3197
 
  cat conftest.err >&5
3198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199
 
  (exit $ac_status); } && {
3200
 
         test -z "$ac_cxx_werror_flag" ||
3201
 
         test ! -s conftest.err
3202
 
       } && test -s conftest.$ac_objext; then
3203
 
  ac_cv_prog_cxx_g=yes
3204
 
else
3205
 
  echo "$as_me: failed program was:" >&5
3206
 
sed 's/^/| /' conftest.$ac_ext >&5
3207
 
 
3208
 
        CXXFLAGS=""
3209
 
      cat >conftest.$ac_ext <<_ACEOF
3210
 
/* confdefs.h.  */
3211
 
_ACEOF
3212
 
cat confdefs.h >>conftest.$ac_ext
3213
 
cat >>conftest.$ac_ext <<_ACEOF
3214
 
/* end confdefs.h.  */
3215
 
 
3216
 
int
3217
 
main ()
3218
 
{
3219
 
 
3220
 
  ;
3221
 
  return 0;
3222
 
}
3223
 
_ACEOF
3224
 
rm -f conftest.$ac_objext
3225
 
if { (ac_try="$ac_compile"
3226
 
case "(($ac_try" in
3227
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228
 
  *) ac_try_echo=$ac_try;;
3229
 
esac
3230
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3231
 
  (eval "$ac_compile") 2>conftest.er1
3232
 
  ac_status=$?
3233
 
  grep -v '^ *+' conftest.er1 >conftest.err
3234
 
  rm -f conftest.er1
3235
 
  cat conftest.err >&5
3236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237
 
  (exit $ac_status); } && {
3238
 
         test -z "$ac_cxx_werror_flag" ||
3239
 
         test ! -s conftest.err
3240
 
       } && test -s conftest.$ac_objext; then
3241
 
  :
3242
 
else
3243
 
  echo "$as_me: failed program was:" >&5
3244
 
sed 's/^/| /' conftest.$ac_ext >&5
3245
 
 
3246
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3247
 
         CXXFLAGS="-g"
3248
 
         cat >conftest.$ac_ext <<_ACEOF
3249
 
/* confdefs.h.  */
3250
 
_ACEOF
3251
 
cat confdefs.h >>conftest.$ac_ext
3252
 
cat >>conftest.$ac_ext <<_ACEOF
3253
 
/* end confdefs.h.  */
3254
 
 
3255
 
int
3256
 
main ()
3257
 
{
3258
 
 
3259
 
  ;
3260
 
  return 0;
3261
 
}
3262
 
_ACEOF
3263
 
rm -f conftest.$ac_objext
3264
 
if { (ac_try="$ac_compile"
3265
 
case "(($ac_try" in
3266
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267
 
  *) ac_try_echo=$ac_try;;
3268
 
esac
3269
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3270
 
  (eval "$ac_compile") 2>conftest.er1
3271
 
  ac_status=$?
3272
 
  grep -v '^ *+' conftest.er1 >conftest.err
3273
 
  rm -f conftest.er1
3274
 
  cat conftest.err >&5
3275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276
 
  (exit $ac_status); } && {
3277
 
         test -z "$ac_cxx_werror_flag" ||
3278
 
         test ! -s conftest.err
3279
 
       } && test -s conftest.$ac_objext; then
3280
 
  ac_cv_prog_cxx_g=yes
3281
 
else
3282
 
  echo "$as_me: failed program was:" >&5
3283
 
sed 's/^/| /' conftest.$ac_ext >&5
3284
 
 
3285
 
        
3286
 
fi
3287
 
 
3288
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289
 
fi
3290
 
 
3291
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292
 
fi
3293
 
 
3294
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3296
 
fi
3297
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3298
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3299
 
if test "$ac_test_CXXFLAGS" = set; then
3300
 
  CXXFLAGS=$ac_save_CXXFLAGS
3301
 
elif test $ac_cv_prog_cxx_g = yes; then
3302
 
  if test "$GXX" = yes; then
3303
 
    CXXFLAGS="-g -O2"
3304
 
  else
3305
 
    CXXFLAGS="-g"
3306
 
  fi
3307
 
else
3308
 
  if test "$GXX" = yes; then
3309
 
    CXXFLAGS="-O2"
3310
 
  else
3311
 
    CXXFLAGS=
3312
 
  fi
3313
 
fi
3314
 
ac_ext=c
3315
 
ac_cpp='$CPP $CPPFLAGS'
3316
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3319
 
DEPDIR="${am__leading_dot}deps"
3320
 
 
3321
 
ac_config_commands="$ac_config_commands depfiles"
3322
 
 
3323
 
 
3324
 
am_make=${MAKE-make}
3325
 
cat > confinc << 'END'
3326
 
am__doit:
3327
 
        @echo done
3328
 
.PHONY: am__doit
3329
 
END
3330
 
# If we don't find an include directive, just comment out the code.
3331
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3332
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3333
 
am__include="#"
3334
 
am__quote=
3335
 
_am_result=none
3336
 
# First try GNU make style include.
3337
 
echo "include confinc" > confmf
3338
 
# We grep out `Entering directory' and `Leaving directory'
3339
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3340
 
# In particular we don't look at `^make:' because GNU make might
3341
 
# be invoked under some other name (usually "gmake"), in which
3342
 
# case it prints its new name instead of `make'.
3343
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3344
 
   am__include=include
3345
 
   am__quote=
3346
 
   _am_result=GNU
3347
 
fi
3348
 
# Now try BSD make style include.
3349
 
if test "$am__include" = "#"; then
3350
 
   echo '.include "confinc"' > confmf
3351
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3352
 
      am__include=.include
3353
 
      am__quote="\""
3354
 
      _am_result=BSD
3355
 
   fi
3356
 
fi
3357
 
 
3358
 
 
3359
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3360
 
echo "${ECHO_T}$_am_result" >&6; }
3361
 
rm -f confinc confmf
3362
 
 
3363
 
# Check whether --enable-dependency-tracking was given.
3364
 
if test "${enable_dependency_tracking+set}" = set; then
3365
 
  enableval=$enable_dependency_tracking; 
3366
 
fi
3367
 
 
3368
 
if test "x$enable_dependency_tracking" != xno; then
3369
 
  am_depcomp="$ac_aux_dir/depcomp"
3370
 
  AMDEPBACKSLASH='\'
3371
 
fi
3372
 
 if test "x$enable_dependency_tracking" != xno; then
3373
 
  AMDEP_TRUE=
3374
 
  AMDEP_FALSE='#'
3375
 
else
3376
 
  AMDEP_TRUE='#'
3377
 
  AMDEP_FALSE=
3378
 
fi
3379
 
 
3380
 
 
3381
 
 
3382
 
depcc="$CXX"  am_compiler_list=
3383
 
 
3384
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3385
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3386
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3387
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3388
 
else
3389
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3390
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3391
 
  # making bogus files that we don't know about and never remove.  For
3392
 
  # instance it was reported that on HP-UX the gcc test will end up
3393
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3394
 
  # in D'.
3395
 
  mkdir conftest.dir
3396
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3397
 
  # using a relative directory.
3398
 
  cp "$am_depcomp" conftest.dir
3399
 
  cd conftest.dir
3400
 
  # We will build objects and dependencies in a subdirectory because
3401
 
  # it helps to detect inapplicable dependency modes.  For instance
3402
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3403
 
  # side effect of compilation, but ICC will put the dependencies in
3404
 
  # the current directory while Tru64 will put them in the object
3405
 
  # directory.
3406
 
  mkdir sub
3407
 
 
3408
 
  am_cv_CXX_dependencies_compiler_type=none
3409
 
  if test "$am_compiler_list" = ""; then
3410
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3411
 
  fi
3412
 
  for depmode in $am_compiler_list; do
3413
 
    # Setup a source with many dependencies, because some compilers
3414
 
    # like to wrap large dependency lists on column 80 (with \), and
3415
 
    # we should not choose a depcomp mode which is confused by this.
3416
 
    #
3417
 
    # We need to recreate these files for each test, as the compiler may
3418
 
    # overwrite some of them when testing with obscure command lines.
3419
 
    # This happens at least with the AIX C compiler.
3420
 
    : > sub/conftest.c
3421
 
    for i in 1 2 3 4 5 6; do
3422
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3423
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3424
 
      # Solaris 8's {/usr,}/bin/sh.
3425
 
      touch sub/conftst$i.h
3426
 
    done
3427
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3428
 
 
3429
 
    case $depmode in
3430
 
    nosideeffect)
3431
 
      # after this tag, mechanisms are not by side-effect, so they'll
3432
 
      # only be used when explicitly requested
3433
 
      if test "x$enable_dependency_tracking" = xyes; then
3434
 
        continue
3435
 
      else
3436
 
        break
3437
 
      fi
3438
 
      ;;
3439
 
    none) break ;;
3440
 
    esac
3441
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3442
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3443
 
    # handle `-M -o', and we need to detect this.
3444
 
    if depmode=$depmode \
3445
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3446
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3447
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3448
 
         >/dev/null 2>conftest.err &&
3449
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3450
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3451
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3452
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3453
 
      # icc doesn't choke on unknown options, it will just issue warnings
3454
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3455
 
      # that says an option was ignored or not supported.
3456
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3457
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3458
 
      # The diagnosis changed in icc 8.0:
3459
 
      #   icc: Command line remark: option '-MP' not supported
3460
 
      if (grep 'ignoring option' conftest.err ||
3461
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3462
 
        am_cv_CXX_dependencies_compiler_type=$depmode
3463
 
        break
3464
 
      fi
3465
 
    fi
3466
 
  done
3467
 
 
3468
 
  cd ..
3469
 
  rm -rf conftest.dir
3470
 
else
3471
 
  am_cv_CXX_dependencies_compiler_type=none
3472
 
fi
3473
 
 
3474
 
fi
3475
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3476
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3477
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3478
 
 
3479
 
 if 
3480
 
  test "x$enable_dependency_tracking" != xno \
3481
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3482
 
  am__fastdepCXX_TRUE=
3483
 
  am__fastdepCXX_FALSE='#'
3484
 
else
3485
 
  am__fastdepCXX_TRUE='#'
3486
 
  am__fastdepCXX_FALSE=
3487
 
fi
3488
 
 
3489
 
 
3490
 
ac_ext=c
3491
 
ac_cpp='$CPP $CPPFLAGS'
3492
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3495
 
if test -n "$ac_tool_prefix"; then
3496
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3497
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3498
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3499
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3500
 
if test "${ac_cv_prog_CC+set}" = set; then
3501
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3502
 
else
3503
 
  if test -n "$CC"; then
3504
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3505
 
else
3506
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507
 
for as_dir in $PATH
3508
 
do
3509
 
  IFS=$as_save_IFS
3510
 
  test -z "$as_dir" && as_dir=.
3511
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3512
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3513
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3514
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515
 
    break 2
3516
 
  fi
3517
 
done
3518
 
done
3519
 
IFS=$as_save_IFS
3520
 
 
3521
 
fi
3522
 
fi
3523
 
CC=$ac_cv_prog_CC
3524
 
if test -n "$CC"; then
3525
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3526
 
echo "${ECHO_T}$CC" >&6; }
3527
 
else
3528
 
  { echo "$as_me:$LINENO: result: no" >&5
3529
 
echo "${ECHO_T}no" >&6; }
3530
 
fi
3531
 
 
3532
 
 
3533
 
fi
3534
 
if test -z "$ac_cv_prog_CC"; then
3535
 
  ac_ct_CC=$CC
3536
 
  # Extract the first word of "gcc", so it can be a program name with args.
3537
 
set dummy gcc; ac_word=$2
3538
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3539
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3540
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3541
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3542
 
else
3543
 
  if test -n "$ac_ct_CC"; then
3544
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3545
 
else
3546
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547
 
for as_dir in $PATH
3548
 
do
3549
 
  IFS=$as_save_IFS
3550
 
  test -z "$as_dir" && as_dir=.
3551
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3552
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553
 
    ac_cv_prog_ac_ct_CC="gcc"
3554
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3555
 
    break 2
3556
 
  fi
3557
 
done
3558
 
done
3559
 
IFS=$as_save_IFS
3560
 
 
3561
 
fi
3562
 
fi
3563
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3564
 
if test -n "$ac_ct_CC"; then
3565
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3566
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
3567
 
else
3568
 
  { echo "$as_me:$LINENO: result: no" >&5
3569
 
echo "${ECHO_T}no" >&6; }
3570
 
fi
3571
 
 
3572
 
  if test "x$ac_ct_CC" = x; then
3573
 
    CC=""
3574
 
  else
3575
 
    case $cross_compiling:$ac_tool_warned in
3576
 
yes:)
3577
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3578
 
whose name does not start with the host triplet.  If you think this
3579
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3580
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3581
 
whose name does not start with the host triplet.  If you think this
3582
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3583
 
ac_tool_warned=yes ;;
3584
 
esac
3585
 
    CC=$ac_ct_CC
3586
 
  fi
3587
 
else
3588
 
  CC="$ac_cv_prog_CC"
3589
 
fi
3590
 
 
3591
 
if test -z "$CC"; then
3592
 
          if test -n "$ac_tool_prefix"; then
3593
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3594
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3595
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3596
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3597
 
if test "${ac_cv_prog_CC+set}" = set; then
3598
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3599
 
else
3600
 
  if test -n "$CC"; then
3601
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3602
 
else
3603
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3604
 
for as_dir in $PATH
3605
 
do
3606
 
  IFS=$as_save_IFS
3607
 
  test -z "$as_dir" && as_dir=.
3608
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3609
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3610
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3611
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3612
 
    break 2
3613
 
  fi
3614
 
done
3615
 
done
3616
 
IFS=$as_save_IFS
3617
 
 
3618
 
fi
3619
 
fi
3620
 
CC=$ac_cv_prog_CC
3621
 
if test -n "$CC"; then
3622
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3623
 
echo "${ECHO_T}$CC" >&6; }
3624
 
else
3625
 
  { echo "$as_me:$LINENO: result: no" >&5
3626
 
echo "${ECHO_T}no" >&6; }
3627
 
fi
3628
 
 
3629
 
 
3630
 
  fi
3631
 
fi
3632
 
if test -z "$CC"; then
3633
 
  # Extract the first word of "cc", so it can be a program name with args.
3634
 
set dummy cc; ac_word=$2
3635
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3636
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3637
 
if test "${ac_cv_prog_CC+set}" = set; then
3638
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3639
 
else
3640
 
  if test -n "$CC"; then
3641
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3642
 
else
3643
 
  ac_prog_rejected=no
3644
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645
 
for as_dir in $PATH
3646
 
do
3647
 
  IFS=$as_save_IFS
3648
 
  test -z "$as_dir" && as_dir=.
3649
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3650
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3652
 
       ac_prog_rejected=yes
3653
 
       continue
3654
 
     fi
3655
 
    ac_cv_prog_CC="cc"
3656
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3657
 
    break 2
3658
 
  fi
3659
 
done
3660
 
done
3661
 
IFS=$as_save_IFS
3662
 
 
3663
 
if test $ac_prog_rejected = yes; then
3664
 
  # We found a bogon in the path, so make sure we never use it.
3665
 
  set dummy $ac_cv_prog_CC
3666
 
  shift
3667
 
  if test $@%:@ != 0; then
3668
 
    # We chose a different compiler from the bogus one.
3669
 
    # However, it has the same basename, so the bogon will be chosen
3670
 
    # first if we set CC to just the basename; use the full file name.
3671
 
    shift
3672
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3673
 
  fi
3674
 
fi
3675
 
fi
3676
 
fi
3677
 
CC=$ac_cv_prog_CC
3678
 
if test -n "$CC"; then
3679
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3680
 
echo "${ECHO_T}$CC" >&6; }
3681
 
else
3682
 
  { echo "$as_me:$LINENO: result: no" >&5
3683
 
echo "${ECHO_T}no" >&6; }
3684
 
fi
3685
 
 
3686
 
 
3687
 
fi
3688
 
if test -z "$CC"; then
3689
 
  if test -n "$ac_tool_prefix"; then
3690
 
  for ac_prog in cl.exe
3691
 
  do
3692
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3693
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3694
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3695
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3696
 
if test "${ac_cv_prog_CC+set}" = set; then
3697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3698
 
else
3699
 
  if test -n "$CC"; then
3700
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3701
 
else
3702
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703
 
for as_dir in $PATH
3704
 
do
3705
 
  IFS=$as_save_IFS
3706
 
  test -z "$as_dir" && as_dir=.
3707
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3708
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3709
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3710
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3711
 
    break 2
3712
 
  fi
3713
 
done
3714
 
done
3715
 
IFS=$as_save_IFS
3716
 
 
3717
 
fi
3718
 
fi
3719
 
CC=$ac_cv_prog_CC
3720
 
if test -n "$CC"; then
3721
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3722
 
echo "${ECHO_T}$CC" >&6; }
3723
 
else
3724
 
  { echo "$as_me:$LINENO: result: no" >&5
3725
 
echo "${ECHO_T}no" >&6; }
3726
 
fi
3727
 
 
3728
 
 
3729
 
    test -n "$CC" && break
3730
 
  done
3731
 
fi
3732
 
if test -z "$CC"; then
3733
 
  ac_ct_CC=$CC
3734
 
  for ac_prog in cl.exe
3735
 
do
3736
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3737
 
set dummy $ac_prog; ac_word=$2
3738
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3739
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3740
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3742
 
else
3743
 
  if test -n "$ac_ct_CC"; then
3744
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3745
 
else
3746
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747
 
for as_dir in $PATH
3748
 
do
3749
 
  IFS=$as_save_IFS
3750
 
  test -z "$as_dir" && as_dir=.
3751
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3752
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3754
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3755
 
    break 2
3756
 
  fi
3757
 
done
3758
 
done
3759
 
IFS=$as_save_IFS
3760
 
 
3761
 
fi
3762
 
fi
3763
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3764
 
if test -n "$ac_ct_CC"; then
3765
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3766
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
3767
 
else
3768
 
  { echo "$as_me:$LINENO: result: no" >&5
3769
 
echo "${ECHO_T}no" >&6; }
3770
 
fi
3771
 
 
3772
 
 
3773
 
  test -n "$ac_ct_CC" && break
3774
 
done
3775
 
 
3776
 
  if test "x$ac_ct_CC" = x; then
3777
 
    CC=""
3778
 
  else
3779
 
    case $cross_compiling:$ac_tool_warned in
3780
 
yes:)
3781
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3782
 
whose name does not start with the host triplet.  If you think this
3783
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3784
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3785
 
whose name does not start with the host triplet.  If you think this
3786
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3787
 
ac_tool_warned=yes ;;
3788
 
esac
3789
 
    CC=$ac_ct_CC
3790
 
  fi
3791
 
fi
3792
 
 
3793
 
fi
3794
 
 
3795
 
 
3796
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3797
 
See \`config.log' for more details." >&5
3798
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
3799
 
See \`config.log' for more details." >&2;}
3800
 
   { (exit 1); exit 1; }; }
3801
 
 
3802
 
# Provide some information about the compiler.
3803
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3804
 
ac_compiler=`set X $ac_compile; echo $2`
3805
 
{ (ac_try="$ac_compiler --version >&5"
3806
 
case "(($ac_try" in
3807
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3808
 
  *) ac_try_echo=$ac_try;;
3809
 
esac
3810
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3811
 
  (eval "$ac_compiler --version >&5") 2>&5
3812
 
  ac_status=$?
3813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814
 
  (exit $ac_status); }
3815
 
{ (ac_try="$ac_compiler -v >&5"
3816
 
case "(($ac_try" in
3817
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3818
 
  *) ac_try_echo=$ac_try;;
3819
 
esac
3820
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3821
 
  (eval "$ac_compiler -v >&5") 2>&5
3822
 
  ac_status=$?
3823
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824
 
  (exit $ac_status); }
3825
 
{ (ac_try="$ac_compiler -V >&5"
3826
 
case "(($ac_try" in
3827
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3828
 
  *) ac_try_echo=$ac_try;;
3829
 
esac
3830
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3831
 
  (eval "$ac_compiler -V >&5") 2>&5
3832
 
  ac_status=$?
3833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834
 
  (exit $ac_status); }
3835
 
 
3836
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3837
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3838
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3839
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3840
 
else
3841
 
  cat >conftest.$ac_ext <<_ACEOF
3842
 
/* confdefs.h.  */
3843
 
_ACEOF
3844
 
cat confdefs.h >>conftest.$ac_ext
3845
 
cat >>conftest.$ac_ext <<_ACEOF
3846
 
/* end confdefs.h.  */
3847
 
 
3848
 
int
3849
 
main ()
3850
 
{
3851
 
#ifndef __GNUC__
3852
 
       choke me
3853
 
#endif
3854
 
 
3855
 
  ;
3856
 
  return 0;
3857
 
}
3858
 
_ACEOF
3859
 
rm -f conftest.$ac_objext
3860
 
if { (ac_try="$ac_compile"
3861
 
case "(($ac_try" in
3862
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863
 
  *) ac_try_echo=$ac_try;;
3864
 
esac
3865
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3866
 
  (eval "$ac_compile") 2>conftest.er1
3867
 
  ac_status=$?
3868
 
  grep -v '^ *+' conftest.er1 >conftest.err
3869
 
  rm -f conftest.er1
3870
 
  cat conftest.err >&5
3871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872
 
  (exit $ac_status); } && {
3873
 
         test -z "$ac_c_werror_flag" ||
3874
 
         test ! -s conftest.err
3875
 
       } && test -s conftest.$ac_objext; then
3876
 
  ac_compiler_gnu=yes
3877
 
else
3878
 
  echo "$as_me: failed program was:" >&5
3879
 
sed 's/^/| /' conftest.$ac_ext >&5
3880
 
 
3881
 
        ac_compiler_gnu=no
3882
 
fi
3883
 
 
3884
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3885
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3886
 
 
3887
 
fi
3888
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3889
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3890
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
3891
 
ac_test_CFLAGS=${CFLAGS+set}
3892
 
ac_save_CFLAGS=$CFLAGS
3893
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3894
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3895
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3896
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3897
 
else
3898
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3899
 
   ac_c_werror_flag=yes
3900
 
   ac_cv_prog_cc_g=no
3901
 
   CFLAGS="-g"
3902
 
   cat >conftest.$ac_ext <<_ACEOF
3903
 
/* confdefs.h.  */
3904
 
_ACEOF
3905
 
cat confdefs.h >>conftest.$ac_ext
3906
 
cat >>conftest.$ac_ext <<_ACEOF
3907
 
/* end confdefs.h.  */
3908
 
 
3909
 
int
3910
 
main ()
3911
 
{
3912
 
 
3913
 
  ;
3914
 
  return 0;
3915
 
}
3916
 
_ACEOF
3917
 
rm -f conftest.$ac_objext
3918
 
if { (ac_try="$ac_compile"
3919
 
case "(($ac_try" in
3920
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921
 
  *) ac_try_echo=$ac_try;;
3922
 
esac
3923
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3924
 
  (eval "$ac_compile") 2>conftest.er1
3925
 
  ac_status=$?
3926
 
  grep -v '^ *+' conftest.er1 >conftest.err
3927
 
  rm -f conftest.er1
3928
 
  cat conftest.err >&5
3929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930
 
  (exit $ac_status); } && {
3931
 
         test -z "$ac_c_werror_flag" ||
3932
 
         test ! -s conftest.err
3933
 
       } && test -s conftest.$ac_objext; then
3934
 
  ac_cv_prog_cc_g=yes
3935
 
else
3936
 
  echo "$as_me: failed program was:" >&5
3937
 
sed 's/^/| /' conftest.$ac_ext >&5
3938
 
 
3939
 
        CFLAGS=""
3940
 
      cat >conftest.$ac_ext <<_ACEOF
3941
 
/* confdefs.h.  */
3942
 
_ACEOF
3943
 
cat confdefs.h >>conftest.$ac_ext
3944
 
cat >>conftest.$ac_ext <<_ACEOF
3945
 
/* end confdefs.h.  */
3946
 
 
3947
 
int
3948
 
main ()
3949
 
{
3950
 
 
3951
 
  ;
3952
 
  return 0;
3953
 
}
3954
 
_ACEOF
3955
 
rm -f conftest.$ac_objext
3956
 
if { (ac_try="$ac_compile"
3957
 
case "(($ac_try" in
3958
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959
 
  *) ac_try_echo=$ac_try;;
3960
 
esac
3961
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962
 
  (eval "$ac_compile") 2>conftest.er1
3963
 
  ac_status=$?
3964
 
  grep -v '^ *+' conftest.er1 >conftest.err
3965
 
  rm -f conftest.er1
3966
 
  cat conftest.err >&5
3967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968
 
  (exit $ac_status); } && {
3969
 
         test -z "$ac_c_werror_flag" ||
3970
 
         test ! -s conftest.err
3971
 
       } && test -s conftest.$ac_objext; then
3972
 
  :
3973
 
else
3974
 
  echo "$as_me: failed program was:" >&5
3975
 
sed 's/^/| /' conftest.$ac_ext >&5
3976
 
 
3977
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3978
 
         CFLAGS="-g"
3979
 
         cat >conftest.$ac_ext <<_ACEOF
3980
 
/* confdefs.h.  */
3981
 
_ACEOF
3982
 
cat confdefs.h >>conftest.$ac_ext
3983
 
cat >>conftest.$ac_ext <<_ACEOF
3984
 
/* end confdefs.h.  */
3985
 
 
3986
 
int
3987
 
main ()
3988
 
{
3989
 
 
3990
 
  ;
3991
 
  return 0;
3992
 
}
3993
 
_ACEOF
3994
 
rm -f conftest.$ac_objext
3995
 
if { (ac_try="$ac_compile"
3996
 
case "(($ac_try" in
3997
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998
 
  *) ac_try_echo=$ac_try;;
3999
 
esac
4000
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4001
 
  (eval "$ac_compile") 2>conftest.er1
4002
 
  ac_status=$?
4003
 
  grep -v '^ *+' conftest.er1 >conftest.err
4004
 
  rm -f conftest.er1
4005
 
  cat conftest.err >&5
4006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007
 
  (exit $ac_status); } && {
4008
 
         test -z "$ac_c_werror_flag" ||
4009
 
         test ! -s conftest.err
4010
 
       } && test -s conftest.$ac_objext; then
4011
 
  ac_cv_prog_cc_g=yes
4012
 
else
4013
 
  echo "$as_me: failed program was:" >&5
4014
 
sed 's/^/| /' conftest.$ac_ext >&5
4015
 
 
4016
 
        
4017
 
fi
4018
 
 
4019
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4020
 
fi
4021
 
 
4022
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023
 
fi
4024
 
 
4025
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4027
 
fi
4028
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4029
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4030
 
if test "$ac_test_CFLAGS" = set; then
4031
 
  CFLAGS=$ac_save_CFLAGS
4032
 
elif test $ac_cv_prog_cc_g = yes; then
4033
 
  if test "$GCC" = yes; then
4034
 
    CFLAGS="-g -O2"
4035
 
  else
4036
 
    CFLAGS="-g"
4037
 
  fi
4038
 
else
4039
 
  if test "$GCC" = yes; then
4040
 
    CFLAGS="-O2"
4041
 
  else
4042
 
    CFLAGS=
4043
 
  fi
4044
 
fi
4045
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4046
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4047
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
4048
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4049
 
else
4050
 
  ac_cv_prog_cc_c89=no
4051
 
ac_save_CC=$CC
4052
 
cat >conftest.$ac_ext <<_ACEOF
4053
 
/* confdefs.h.  */
4054
 
_ACEOF
4055
 
cat confdefs.h >>conftest.$ac_ext
4056
 
cat >>conftest.$ac_ext <<_ACEOF
4057
 
/* end confdefs.h.  */
4058
 
#include <stdarg.h>
4059
 
#include <stdio.h>
4060
 
#include <sys/types.h>
4061
 
#include <sys/stat.h>
4062
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4063
 
struct buf { int x; };
4064
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4065
 
static char *e (p, i)
4066
 
     char **p;
4067
 
     int i;
4068
 
{
4069
 
  return p[i];
4070
 
}
4071
 
static char *f (char * (*g) (char **, int), char **p, ...)
4072
 
{
4073
 
  char *s;
4074
 
  va_list v;
4075
 
  va_start (v,p);
4076
 
  s = g (p, va_arg (v,int));
4077
 
  va_end (v);
4078
 
  return s;
4079
 
}
4080
 
 
4081
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4082
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4083
 
   These don't provoke an error unfortunately, instead are silently treated
4084
 
   as 'x'.  The following induces an error, until -std is added to get
4085
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4086
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4087
 
   that's true only with -std.  */
4088
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4089
 
 
4090
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4091
 
   inside strings and character constants.  */
4092
 
#define FOO(x) 'x'
4093
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4094
 
 
4095
 
int test (int i, double x);
4096
 
struct s1 {int (*f) (int a);};
4097
 
struct s2 {int (*f) (double a);};
4098
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4099
 
int argc;
4100
 
char **argv;
4101
 
int
4102
 
main ()
4103
 
{
4104
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4105
 
  ;
4106
 
  return 0;
4107
 
}
4108
 
_ACEOF
4109
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4110
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4111
 
do
4112
 
  CC="$ac_save_CC $ac_arg"
4113
 
  rm -f conftest.$ac_objext
4114
 
if { (ac_try="$ac_compile"
4115
 
case "(($ac_try" in
4116
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117
 
  *) ac_try_echo=$ac_try;;
4118
 
esac
4119
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4120
 
  (eval "$ac_compile") 2>conftest.er1
4121
 
  ac_status=$?
4122
 
  grep -v '^ *+' conftest.er1 >conftest.err
4123
 
  rm -f conftest.er1
4124
 
  cat conftest.err >&5
4125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126
 
  (exit $ac_status); } && {
4127
 
         test -z "$ac_c_werror_flag" ||
4128
 
         test ! -s conftest.err
4129
 
       } && test -s conftest.$ac_objext; then
4130
 
  ac_cv_prog_cc_c89=$ac_arg
4131
 
else
4132
 
  echo "$as_me: failed program was:" >&5
4133
 
sed 's/^/| /' conftest.$ac_ext >&5
4134
 
 
4135
 
        
4136
 
fi
4137
 
 
4138
 
rm -f core conftest.err conftest.$ac_objext 
4139
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4140
 
done
4141
 
rm -f conftest.$ac_ext
4142
 
CC=$ac_save_CC
4143
 
 
4144
 
fi
4145
 
# AC_CACHE_VAL
4146
 
case "x$ac_cv_prog_cc_c89" in
4147
 
  x)
4148
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4149
 
echo "${ECHO_T}none needed" >&6; } ;;
4150
 
  xno)
4151
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4152
 
echo "${ECHO_T}unsupported" >&6; } ;;
4153
 
  *)
4154
 
    CC="$CC $ac_cv_prog_cc_c89"
4155
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4156
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4157
 
esac
4158
 
 
4159
 
 
4160
 
ac_ext=c
4161
 
ac_cpp='$CPP $CPPFLAGS'
4162
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4163
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4164
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4165
 
 
4166
 
depcc="$CC"   am_compiler_list=
4167
 
 
4168
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4169
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4170
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4171
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4172
 
else
4173
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4174
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4175
 
  # making bogus files that we don't know about and never remove.  For
4176
 
  # instance it was reported that on HP-UX the gcc test will end up
4177
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4178
 
  # in D'.
4179
 
  mkdir conftest.dir
4180
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4181
 
  # using a relative directory.
4182
 
  cp "$am_depcomp" conftest.dir
4183
 
  cd conftest.dir
4184
 
  # We will build objects and dependencies in a subdirectory because
4185
 
  # it helps to detect inapplicable dependency modes.  For instance
4186
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4187
 
  # side effect of compilation, but ICC will put the dependencies in
4188
 
  # the current directory while Tru64 will put them in the object
4189
 
  # directory.
4190
 
  mkdir sub
4191
 
 
4192
 
  am_cv_CC_dependencies_compiler_type=none
4193
 
  if test "$am_compiler_list" = ""; then
4194
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4195
 
  fi
4196
 
  for depmode in $am_compiler_list; do
4197
 
    # Setup a source with many dependencies, because some compilers
4198
 
    # like to wrap large dependency lists on column 80 (with \), and
4199
 
    # we should not choose a depcomp mode which is confused by this.
4200
 
    #
4201
 
    # We need to recreate these files for each test, as the compiler may
4202
 
    # overwrite some of them when testing with obscure command lines.
4203
 
    # This happens at least with the AIX C compiler.
4204
 
    : > sub/conftest.c
4205
 
    for i in 1 2 3 4 5 6; do
4206
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4207
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4208
 
      # Solaris 8's {/usr,}/bin/sh.
4209
 
      touch sub/conftst$i.h
4210
 
    done
4211
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4212
 
 
4213
 
    case $depmode in
4214
 
    nosideeffect)
4215
 
      # after this tag, mechanisms are not by side-effect, so they'll
4216
 
      # only be used when explicitly requested
4217
 
      if test "x$enable_dependency_tracking" = xyes; then
4218
 
        continue
4219
 
      else
4220
 
        break
4221
 
      fi
4222
 
      ;;
4223
 
    none) break ;;
4224
 
    esac
4225
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4226
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4227
 
    # handle `-M -o', and we need to detect this.
4228
 
    if depmode=$depmode \
4229
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4230
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4231
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4232
 
         >/dev/null 2>conftest.err &&
4233
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4234
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4235
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4236
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4237
 
      # icc doesn't choke on unknown options, it will just issue warnings
4238
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4239
 
      # that says an option was ignored or not supported.
4240
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4241
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4242
 
      # The diagnosis changed in icc 8.0:
4243
 
      #   icc: Command line remark: option '-MP' not supported
4244
 
      if (grep 'ignoring option' conftest.err ||
4245
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4246
 
        am_cv_CC_dependencies_compiler_type=$depmode
4247
 
        break
4248
 
      fi
4249
 
    fi
4250
 
  done
4251
 
 
4252
 
  cd ..
4253
 
  rm -rf conftest.dir
4254
 
else
4255
 
  am_cv_CC_dependencies_compiler_type=none
4256
 
fi
4257
 
 
4258
 
fi
4259
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4260
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4261
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4262
 
 
4263
 
 if 
4264
 
  test "x$enable_dependency_tracking" != xno \
4265
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4266
 
  am__fastdepCC_TRUE=
4267
 
  am__fastdepCC_FALSE='#'
4268
 
else
4269
 
  am__fastdepCC_TRUE='#'
4270
 
  am__fastdepCC_FALSE=
4271
 
fi
4272
 
 
4273
 
 
4274
 
ac_ext=c
4275
 
ac_cpp='$CPP $CPPFLAGS'
4276
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4277
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4278
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4279
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4280
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4281
 
# On Suns, sometimes $CPP names a directory.
4282
 
if test -n "$CPP" && test -d "$CPP"; then
4283
 
  CPP=
4284
 
fi
4285
 
if test -z "$CPP"; then
4286
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4287
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4288
 
else
4289
 
      # Double quotes because CPP needs to be expanded
4290
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4291
 
    do
4292
 
      ac_preproc_ok=false
4293
 
for ac_c_preproc_warn_flag in '' yes
4294
 
do
4295
 
  # Use a header file that comes with gcc, so configuring glibc
4296
 
  # with a fresh cross-compiler works.
4297
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4298
 
  # <limits.h> exists even on freestanding compilers.
4299
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4300
 
  # not just through cpp. "Syntax error" is here to catch this case.
4301
 
  cat >conftest.$ac_ext <<_ACEOF
4302
 
/* confdefs.h.  */
4303
 
_ACEOF
4304
 
cat confdefs.h >>conftest.$ac_ext
4305
 
cat >>conftest.$ac_ext <<_ACEOF
4306
 
/* end confdefs.h.  */
4307
 
@%:@ifdef __STDC__
4308
 
@%:@ include <limits.h>
4309
 
@%:@else
4310
 
@%:@ include <assert.h>
4311
 
@%:@endif
4312
 
                     Syntax error
4313
 
_ACEOF
4314
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4315
 
case "(($ac_try" in
4316
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317
 
  *) ac_try_echo=$ac_try;;
4318
 
esac
4319
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4320
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4321
 
  ac_status=$?
4322
 
  grep -v '^ *+' conftest.er1 >conftest.err
4323
 
  rm -f conftest.er1
4324
 
  cat conftest.err >&5
4325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326
 
  (exit $ac_status); } >/dev/null && {
4327
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4328
 
         test ! -s conftest.err
4329
 
       }; then
4330
 
  :
4331
 
else
4332
 
  echo "$as_me: failed program was:" >&5
4333
 
sed 's/^/| /' conftest.$ac_ext >&5
4334
 
 
4335
 
  # Broken: fails on valid input.
4336
 
continue
4337
 
fi
4338
 
 
4339
 
rm -f conftest.err conftest.$ac_ext
4340
 
 
4341
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4342
 
  # can be detected and how.
4343
 
  cat >conftest.$ac_ext <<_ACEOF
4344
 
/* confdefs.h.  */
4345
 
_ACEOF
4346
 
cat confdefs.h >>conftest.$ac_ext
4347
 
cat >>conftest.$ac_ext <<_ACEOF
4348
 
/* end confdefs.h.  */
4349
 
@%:@include <ac_nonexistent.h>
4350
 
_ACEOF
4351
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4352
 
case "(($ac_try" in
4353
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354
 
  *) ac_try_echo=$ac_try;;
4355
 
esac
4356
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4358
 
  ac_status=$?
4359
 
  grep -v '^ *+' conftest.er1 >conftest.err
4360
 
  rm -f conftest.er1
4361
 
  cat conftest.err >&5
4362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363
 
  (exit $ac_status); } >/dev/null && {
4364
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4365
 
         test ! -s conftest.err
4366
 
       }; then
4367
 
  # Broken: success on invalid input.
4368
 
continue
4369
 
else
4370
 
  echo "$as_me: failed program was:" >&5
4371
 
sed 's/^/| /' conftest.$ac_ext >&5
4372
 
 
4373
 
  # Passes both tests.
4374
 
ac_preproc_ok=:
4375
 
break
4376
 
fi
4377
 
 
4378
 
rm -f conftest.err conftest.$ac_ext
4379
 
 
4380
 
done
4381
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4382
 
rm -f conftest.err conftest.$ac_ext
4383
 
if $ac_preproc_ok; then
4384
 
  break
4385
 
fi
4386
 
 
4387
 
    done
4388
 
    ac_cv_prog_CPP=$CPP
4389
 
  
4390
 
fi
4391
 
  CPP=$ac_cv_prog_CPP
4392
 
else
4393
 
  ac_cv_prog_CPP=$CPP
4394
 
fi
4395
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4396
 
echo "${ECHO_T}$CPP" >&6; }
4397
 
ac_preproc_ok=false
4398
 
for ac_c_preproc_warn_flag in '' yes
4399
 
do
4400
 
  # Use a header file that comes with gcc, so configuring glibc
4401
 
  # with a fresh cross-compiler works.
4402
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4403
 
  # <limits.h> exists even on freestanding compilers.
4404
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4405
 
  # not just through cpp. "Syntax error" is here to catch this case.
4406
 
  cat >conftest.$ac_ext <<_ACEOF
4407
 
/* confdefs.h.  */
4408
 
_ACEOF
4409
 
cat confdefs.h >>conftest.$ac_ext
4410
 
cat >>conftest.$ac_ext <<_ACEOF
4411
 
/* end confdefs.h.  */
4412
 
@%:@ifdef __STDC__
4413
 
@%:@ include <limits.h>
4414
 
@%:@else
4415
 
@%:@ include <assert.h>
4416
 
@%:@endif
4417
 
                     Syntax error
4418
 
_ACEOF
4419
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4420
 
case "(($ac_try" in
4421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422
 
  *) ac_try_echo=$ac_try;;
4423
 
esac
4424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4425
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4426
 
  ac_status=$?
4427
 
  grep -v '^ *+' conftest.er1 >conftest.err
4428
 
  rm -f conftest.er1
4429
 
  cat conftest.err >&5
4430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431
 
  (exit $ac_status); } >/dev/null && {
4432
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4433
 
         test ! -s conftest.err
4434
 
       }; then
4435
 
  :
4436
 
else
4437
 
  echo "$as_me: failed program was:" >&5
4438
 
sed 's/^/| /' conftest.$ac_ext >&5
4439
 
 
4440
 
  # Broken: fails on valid input.
4441
 
continue
4442
 
fi
4443
 
 
4444
 
rm -f conftest.err conftest.$ac_ext
4445
 
 
4446
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4447
 
  # can be detected and how.
4448
 
  cat >conftest.$ac_ext <<_ACEOF
4449
 
/* confdefs.h.  */
4450
 
_ACEOF
4451
 
cat confdefs.h >>conftest.$ac_ext
4452
 
cat >>conftest.$ac_ext <<_ACEOF
4453
 
/* end confdefs.h.  */
4454
 
@%:@include <ac_nonexistent.h>
4455
 
_ACEOF
4456
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4457
 
case "(($ac_try" in
4458
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459
 
  *) ac_try_echo=$ac_try;;
4460
 
esac
4461
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4462
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4463
 
  ac_status=$?
4464
 
  grep -v '^ *+' conftest.er1 >conftest.err
4465
 
  rm -f conftest.er1
4466
 
  cat conftest.err >&5
4467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468
 
  (exit $ac_status); } >/dev/null && {
4469
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4470
 
         test ! -s conftest.err
4471
 
       }; then
4472
 
  # Broken: success on invalid input.
4473
 
continue
4474
 
else
4475
 
  echo "$as_me: failed program was:" >&5
4476
 
sed 's/^/| /' conftest.$ac_ext >&5
4477
 
 
4478
 
  # Passes both tests.
4479
 
ac_preproc_ok=:
4480
 
break
4481
 
fi
4482
 
 
4483
 
rm -f conftest.err conftest.$ac_ext
4484
 
 
4485
 
done
4486
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4487
 
rm -f conftest.err conftest.$ac_ext
4488
 
if $ac_preproc_ok; then
4489
 
  :
4490
 
else
4491
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4492
 
See \`config.log' for more details." >&5
4493
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4494
 
See \`config.log' for more details." >&2;}
4495
 
   { (exit 1); exit 1; }; }
4496
 
fi
4497
 
 
4498
 
ac_ext=c
4499
 
ac_cpp='$CPP $CPPFLAGS'
4500
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4501
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4502
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4503
 
 
4504
 
ac_ext=c
4505
 
ac_cpp='$CPP $CPPFLAGS'
4506
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4507
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4508
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4509
 
if test -n "$ac_tool_prefix"; then
4510
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4511
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4512
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4513
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4514
 
if test "${ac_cv_prog_CC+set}" = set; then
4515
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4516
 
else
4517
 
  if test -n "$CC"; then
4518
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4519
 
else
4520
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521
 
for as_dir in $PATH
4522
 
do
4523
 
  IFS=$as_save_IFS
4524
 
  test -z "$as_dir" && as_dir=.
4525
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4526
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4527
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4528
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4529
 
    break 2
4530
 
  fi
4531
 
done
4532
 
done
4533
 
IFS=$as_save_IFS
4534
 
 
4535
 
fi
4536
 
fi
4537
 
CC=$ac_cv_prog_CC
4538
 
if test -n "$CC"; then
4539
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4540
 
echo "${ECHO_T}$CC" >&6; }
4541
 
else
4542
 
  { echo "$as_me:$LINENO: result: no" >&5
4543
 
echo "${ECHO_T}no" >&6; }
4544
 
fi
4545
 
 
4546
 
 
4547
 
fi
4548
 
if test -z "$ac_cv_prog_CC"; then
4549
 
  ac_ct_CC=$CC
4550
 
  # Extract the first word of "gcc", so it can be a program name with args.
4551
 
set dummy gcc; ac_word=$2
4552
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4553
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4554
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4556
 
else
4557
 
  if test -n "$ac_ct_CC"; then
4558
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4559
 
else
4560
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561
 
for as_dir in $PATH
4562
 
do
4563
 
  IFS=$as_save_IFS
4564
 
  test -z "$as_dir" && as_dir=.
4565
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4566
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4567
 
    ac_cv_prog_ac_ct_CC="gcc"
4568
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4569
 
    break 2
4570
 
  fi
4571
 
done
4572
 
done
4573
 
IFS=$as_save_IFS
4574
 
 
4575
 
fi
4576
 
fi
4577
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4578
 
if test -n "$ac_ct_CC"; then
4579
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4580
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
4581
 
else
4582
 
  { echo "$as_me:$LINENO: result: no" >&5
4583
 
echo "${ECHO_T}no" >&6; }
4584
 
fi
4585
 
 
4586
 
  if test "x$ac_ct_CC" = x; then
4587
 
    CC=""
4588
 
  else
4589
 
    case $cross_compiling:$ac_tool_warned in
4590
 
yes:)
4591
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4592
 
whose name does not start with the host triplet.  If you think this
4593
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4594
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4595
 
whose name does not start with the host triplet.  If you think this
4596
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4597
 
ac_tool_warned=yes ;;
4598
 
esac
4599
 
    CC=$ac_ct_CC
4600
 
  fi
4601
 
else
4602
 
  CC="$ac_cv_prog_CC"
4603
 
fi
4604
 
 
4605
 
if test -z "$CC"; then
4606
 
          if test -n "$ac_tool_prefix"; then
4607
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4608
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4609
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4610
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4611
 
if test "${ac_cv_prog_CC+set}" = set; then
4612
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4613
 
else
4614
 
  if test -n "$CC"; then
4615
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4616
 
else
4617
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618
 
for as_dir in $PATH
4619
 
do
4620
 
  IFS=$as_save_IFS
4621
 
  test -z "$as_dir" && as_dir=.
4622
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4623
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4624
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4625
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4626
 
    break 2
4627
 
  fi
4628
 
done
4629
 
done
4630
 
IFS=$as_save_IFS
4631
 
 
4632
 
fi
4633
 
fi
4634
 
CC=$ac_cv_prog_CC
4635
 
if test -n "$CC"; then
4636
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4637
 
echo "${ECHO_T}$CC" >&6; }
4638
 
else
4639
 
  { echo "$as_me:$LINENO: result: no" >&5
4640
 
echo "${ECHO_T}no" >&6; }
4641
 
fi
4642
 
 
4643
 
 
4644
 
  fi
4645
 
fi
4646
 
if test -z "$CC"; then
4647
 
  # Extract the first word of "cc", so it can be a program name with args.
4648
 
set dummy cc; ac_word=$2
4649
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4650
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4651
 
if test "${ac_cv_prog_CC+set}" = set; then
4652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4653
 
else
4654
 
  if test -n "$CC"; then
4655
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4656
 
else
4657
 
  ac_prog_rejected=no
4658
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659
 
for as_dir in $PATH
4660
 
do
4661
 
  IFS=$as_save_IFS
4662
 
  test -z "$as_dir" && as_dir=.
4663
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4664
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4665
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4666
 
       ac_prog_rejected=yes
4667
 
       continue
4668
 
     fi
4669
 
    ac_cv_prog_CC="cc"
4670
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4671
 
    break 2
4672
 
  fi
4673
 
done
4674
 
done
4675
 
IFS=$as_save_IFS
4676
 
 
4677
 
if test $ac_prog_rejected = yes; then
4678
 
  # We found a bogon in the path, so make sure we never use it.
4679
 
  set dummy $ac_cv_prog_CC
4680
 
  shift
4681
 
  if test $@%:@ != 0; then
4682
 
    # We chose a different compiler from the bogus one.
4683
 
    # However, it has the same basename, so the bogon will be chosen
4684
 
    # first if we set CC to just the basename; use the full file name.
4685
 
    shift
4686
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4687
 
  fi
4688
 
fi
4689
 
fi
4690
 
fi
4691
 
CC=$ac_cv_prog_CC
4692
 
if test -n "$CC"; then
4693
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4694
 
echo "${ECHO_T}$CC" >&6; }
4695
 
else
4696
 
  { echo "$as_me:$LINENO: result: no" >&5
4697
 
echo "${ECHO_T}no" >&6; }
4698
 
fi
4699
 
 
4700
 
 
4701
 
fi
4702
 
if test -z "$CC"; then
4703
 
  if test -n "$ac_tool_prefix"; then
4704
 
  for ac_prog in cl.exe
4705
 
  do
4706
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4707
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4708
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4709
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4710
 
if test "${ac_cv_prog_CC+set}" = set; then
4711
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4712
 
else
4713
 
  if test -n "$CC"; then
4714
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4715
 
else
4716
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717
 
for as_dir in $PATH
4718
 
do
4719
 
  IFS=$as_save_IFS
4720
 
  test -z "$as_dir" && as_dir=.
4721
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4722
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4724
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4725
 
    break 2
4726
 
  fi
4727
 
done
4728
 
done
4729
 
IFS=$as_save_IFS
4730
 
 
4731
 
fi
4732
 
fi
4733
 
CC=$ac_cv_prog_CC
4734
 
if test -n "$CC"; then
4735
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4736
 
echo "${ECHO_T}$CC" >&6; }
4737
 
else
4738
 
  { echo "$as_me:$LINENO: result: no" >&5
4739
 
echo "${ECHO_T}no" >&6; }
4740
 
fi
4741
 
 
4742
 
 
4743
 
    test -n "$CC" && break
4744
 
  done
4745
 
fi
4746
 
if test -z "$CC"; then
4747
 
  ac_ct_CC=$CC
4748
 
  for ac_prog in cl.exe
4749
 
do
4750
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4751
 
set dummy $ac_prog; ac_word=$2
4752
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4753
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4754
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4755
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4756
 
else
4757
 
  if test -n "$ac_ct_CC"; then
4758
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4759
 
else
4760
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761
 
for as_dir in $PATH
4762
 
do
4763
 
  IFS=$as_save_IFS
4764
 
  test -z "$as_dir" && as_dir=.
4765
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4766
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4767
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4768
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4769
 
    break 2
4770
 
  fi
4771
 
done
4772
 
done
4773
 
IFS=$as_save_IFS
4774
 
 
4775
 
fi
4776
 
fi
4777
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4778
 
if test -n "$ac_ct_CC"; then
4779
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4780
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
4781
 
else
4782
 
  { echo "$as_me:$LINENO: result: no" >&5
4783
 
echo "${ECHO_T}no" >&6; }
4784
 
fi
4785
 
 
4786
 
 
4787
 
  test -n "$ac_ct_CC" && break
4788
 
done
4789
 
 
4790
 
  if test "x$ac_ct_CC" = x; then
4791
 
    CC=""
4792
 
  else
4793
 
    case $cross_compiling:$ac_tool_warned in
4794
 
yes:)
4795
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4796
 
whose name does not start with the host triplet.  If you think this
4797
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4798
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4799
 
whose name does not start with the host triplet.  If you think this
4800
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4801
 
ac_tool_warned=yes ;;
4802
 
esac
4803
 
    CC=$ac_ct_CC
4804
 
  fi
4805
 
fi
4806
 
 
4807
 
fi
4808
 
 
4809
 
 
4810
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4811
 
See \`config.log' for more details." >&5
4812
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
4813
 
See \`config.log' for more details." >&2;}
4814
 
   { (exit 1); exit 1; }; }
4815
 
 
4816
 
# Provide some information about the compiler.
4817
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
4818
 
ac_compiler=`set X $ac_compile; echo $2`
4819
 
{ (ac_try="$ac_compiler --version >&5"
4820
 
case "(($ac_try" in
4821
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822
 
  *) ac_try_echo=$ac_try;;
4823
 
esac
4824
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4825
 
  (eval "$ac_compiler --version >&5") 2>&5
4826
 
  ac_status=$?
4827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828
 
  (exit $ac_status); }
4829
 
{ (ac_try="$ac_compiler -v >&5"
4830
 
case "(($ac_try" in
4831
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832
 
  *) ac_try_echo=$ac_try;;
4833
 
esac
4834
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835
 
  (eval "$ac_compiler -v >&5") 2>&5
4836
 
  ac_status=$?
4837
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838
 
  (exit $ac_status); }
4839
 
{ (ac_try="$ac_compiler -V >&5"
4840
 
case "(($ac_try" in
4841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842
 
  *) ac_try_echo=$ac_try;;
4843
 
esac
4844
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4845
 
  (eval "$ac_compiler -V >&5") 2>&5
4846
 
  ac_status=$?
4847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848
 
  (exit $ac_status); }
4849
 
 
4850
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4851
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4852
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4853
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4854
 
else
4855
 
  cat >conftest.$ac_ext <<_ACEOF
4856
 
/* confdefs.h.  */
4857
 
_ACEOF
4858
 
cat confdefs.h >>conftest.$ac_ext
4859
 
cat >>conftest.$ac_ext <<_ACEOF
4860
 
/* end confdefs.h.  */
4861
 
 
4862
 
int
4863
 
main ()
4864
 
{
4865
 
#ifndef __GNUC__
4866
 
       choke me
4867
 
#endif
4868
 
 
4869
 
  ;
4870
 
  return 0;
4871
 
}
4872
 
_ACEOF
4873
 
rm -f conftest.$ac_objext
4874
 
if { (ac_try="$ac_compile"
4875
 
case "(($ac_try" in
4876
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877
 
  *) ac_try_echo=$ac_try;;
4878
 
esac
4879
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4880
 
  (eval "$ac_compile") 2>conftest.er1
4881
 
  ac_status=$?
4882
 
  grep -v '^ *+' conftest.er1 >conftest.err
4883
 
  rm -f conftest.er1
4884
 
  cat conftest.err >&5
4885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886
 
  (exit $ac_status); } && {
4887
 
         test -z "$ac_c_werror_flag" ||
4888
 
         test ! -s conftest.err
4889
 
       } && test -s conftest.$ac_objext; then
4890
 
  ac_compiler_gnu=yes
4891
 
else
4892
 
  echo "$as_me: failed program was:" >&5
4893
 
sed 's/^/| /' conftest.$ac_ext >&5
4894
 
 
4895
 
        ac_compiler_gnu=no
4896
 
fi
4897
 
 
4898
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4900
 
 
4901
 
fi
4902
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4903
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4904
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
4905
 
ac_test_CFLAGS=${CFLAGS+set}
4906
 
ac_save_CFLAGS=$CFLAGS
4907
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4908
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4909
 
if test "${ac_cv_prog_cc_g+set}" = set; then
4910
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4911
 
else
4912
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4913
 
   ac_c_werror_flag=yes
4914
 
   ac_cv_prog_cc_g=no
4915
 
   CFLAGS="-g"
4916
 
   cat >conftest.$ac_ext <<_ACEOF
4917
 
/* confdefs.h.  */
4918
 
_ACEOF
4919
 
cat confdefs.h >>conftest.$ac_ext
4920
 
cat >>conftest.$ac_ext <<_ACEOF
4921
 
/* end confdefs.h.  */
4922
 
 
4923
 
int
4924
 
main ()
4925
 
{
4926
 
 
4927
 
  ;
4928
 
  return 0;
4929
 
}
4930
 
_ACEOF
4931
 
rm -f conftest.$ac_objext
4932
 
if { (ac_try="$ac_compile"
4933
 
case "(($ac_try" in
4934
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935
 
  *) ac_try_echo=$ac_try;;
4936
 
esac
4937
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4938
 
  (eval "$ac_compile") 2>conftest.er1
4939
 
  ac_status=$?
4940
 
  grep -v '^ *+' conftest.er1 >conftest.err
4941
 
  rm -f conftest.er1
4942
 
  cat conftest.err >&5
4943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944
 
  (exit $ac_status); } && {
4945
 
         test -z "$ac_c_werror_flag" ||
4946
 
         test ! -s conftest.err
4947
 
       } && test -s conftest.$ac_objext; then
4948
 
  ac_cv_prog_cc_g=yes
4949
 
else
4950
 
  echo "$as_me: failed program was:" >&5
4951
 
sed 's/^/| /' conftest.$ac_ext >&5
4952
 
 
4953
 
        CFLAGS=""
4954
 
      cat >conftest.$ac_ext <<_ACEOF
4955
 
/* confdefs.h.  */
4956
 
_ACEOF
4957
 
cat confdefs.h >>conftest.$ac_ext
4958
 
cat >>conftest.$ac_ext <<_ACEOF
4959
 
/* end confdefs.h.  */
4960
 
 
4961
 
int
4962
 
main ()
4963
 
{
4964
 
 
4965
 
  ;
4966
 
  return 0;
4967
 
}
4968
 
_ACEOF
4969
 
rm -f conftest.$ac_objext
4970
 
if { (ac_try="$ac_compile"
4971
 
case "(($ac_try" in
4972
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973
 
  *) ac_try_echo=$ac_try;;
4974
 
esac
4975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4976
 
  (eval "$ac_compile") 2>conftest.er1
4977
 
  ac_status=$?
4978
 
  grep -v '^ *+' conftest.er1 >conftest.err
4979
 
  rm -f conftest.er1
4980
 
  cat conftest.err >&5
4981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982
 
  (exit $ac_status); } && {
4983
 
         test -z "$ac_c_werror_flag" ||
4984
 
         test ! -s conftest.err
4985
 
       } && test -s conftest.$ac_objext; then
4986
 
  :
4987
 
else
4988
 
  echo "$as_me: failed program was:" >&5
4989
 
sed 's/^/| /' conftest.$ac_ext >&5
4990
 
 
4991
 
        ac_c_werror_flag=$ac_save_c_werror_flag
4992
 
         CFLAGS="-g"
4993
 
         cat >conftest.$ac_ext <<_ACEOF
4994
 
/* confdefs.h.  */
4995
 
_ACEOF
4996
 
cat confdefs.h >>conftest.$ac_ext
4997
 
cat >>conftest.$ac_ext <<_ACEOF
4998
 
/* end confdefs.h.  */
4999
 
 
5000
 
int
5001
 
main ()
5002
 
{
5003
 
 
5004
 
  ;
5005
 
  return 0;
5006
 
}
5007
 
_ACEOF
5008
 
rm -f conftest.$ac_objext
5009
 
if { (ac_try="$ac_compile"
5010
 
case "(($ac_try" in
5011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5012
 
  *) ac_try_echo=$ac_try;;
5013
 
esac
5014
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5015
 
  (eval "$ac_compile") 2>conftest.er1
5016
 
  ac_status=$?
5017
 
  grep -v '^ *+' conftest.er1 >conftest.err
5018
 
  rm -f conftest.er1
5019
 
  cat conftest.err >&5
5020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021
 
  (exit $ac_status); } && {
5022
 
         test -z "$ac_c_werror_flag" ||
5023
 
         test ! -s conftest.err
5024
 
       } && test -s conftest.$ac_objext; then
5025
 
  ac_cv_prog_cc_g=yes
5026
 
else
5027
 
  echo "$as_me: failed program was:" >&5
5028
 
sed 's/^/| /' conftest.$ac_ext >&5
5029
 
 
5030
 
        
5031
 
fi
5032
 
 
5033
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034
 
fi
5035
 
 
5036
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037
 
fi
5038
 
 
5039
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5040
 
   ac_c_werror_flag=$ac_save_c_werror_flag
5041
 
fi
5042
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5043
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5044
 
if test "$ac_test_CFLAGS" = set; then
5045
 
  CFLAGS=$ac_save_CFLAGS
5046
 
elif test $ac_cv_prog_cc_g = yes; then
5047
 
  if test "$GCC" = yes; then
5048
 
    CFLAGS="-g -O2"
5049
 
  else
5050
 
    CFLAGS="-g"
5051
 
  fi
5052
 
else
5053
 
  if test "$GCC" = yes; then
5054
 
    CFLAGS="-O2"
5055
 
  else
5056
 
    CFLAGS=
5057
 
  fi
5058
 
fi
5059
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5060
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5061
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
5062
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5063
 
else
5064
 
  ac_cv_prog_cc_c89=no
5065
 
ac_save_CC=$CC
5066
 
cat >conftest.$ac_ext <<_ACEOF
5067
 
/* confdefs.h.  */
5068
 
_ACEOF
5069
 
cat confdefs.h >>conftest.$ac_ext
5070
 
cat >>conftest.$ac_ext <<_ACEOF
5071
 
/* end confdefs.h.  */
5072
 
#include <stdarg.h>
5073
 
#include <stdio.h>
5074
 
#include <sys/types.h>
5075
 
#include <sys/stat.h>
5076
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5077
 
struct buf { int x; };
5078
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5079
 
static char *e (p, i)
5080
 
     char **p;
5081
 
     int i;
5082
 
{
5083
 
  return p[i];
5084
 
}
5085
 
static char *f (char * (*g) (char **, int), char **p, ...)
5086
 
{
5087
 
  char *s;
5088
 
  va_list v;
5089
 
  va_start (v,p);
5090
 
  s = g (p, va_arg (v,int));
5091
 
  va_end (v);
5092
 
  return s;
5093
 
}
5094
 
 
5095
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5096
 
   function prototypes and stuff, but not '\xHH' hex character constants.
5097
 
   These don't provoke an error unfortunately, instead are silently treated
5098
 
   as 'x'.  The following induces an error, until -std is added to get
5099
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5100
 
   array size at least.  It's necessary to write '\x00'==0 to get something
5101
 
   that's true only with -std.  */
5102
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5103
 
 
5104
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5105
 
   inside strings and character constants.  */
5106
 
#define FOO(x) 'x'
5107
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5108
 
 
5109
 
int test (int i, double x);
5110
 
struct s1 {int (*f) (int a);};
5111
 
struct s2 {int (*f) (double a);};
5112
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5113
 
int argc;
5114
 
char **argv;
5115
 
int
5116
 
main ()
5117
 
{
5118
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5119
 
  ;
5120
 
  return 0;
5121
 
}
5122
 
_ACEOF
5123
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5124
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5125
 
do
5126
 
  CC="$ac_save_CC $ac_arg"
5127
 
  rm -f conftest.$ac_objext
5128
 
if { (ac_try="$ac_compile"
5129
 
case "(($ac_try" in
5130
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5131
 
  *) ac_try_echo=$ac_try;;
5132
 
esac
5133
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5134
 
  (eval "$ac_compile") 2>conftest.er1
5135
 
  ac_status=$?
5136
 
  grep -v '^ *+' conftest.er1 >conftest.err
5137
 
  rm -f conftest.er1
5138
 
  cat conftest.err >&5
5139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140
 
  (exit $ac_status); } && {
5141
 
         test -z "$ac_c_werror_flag" ||
5142
 
         test ! -s conftest.err
5143
 
       } && test -s conftest.$ac_objext; then
5144
 
  ac_cv_prog_cc_c89=$ac_arg
5145
 
else
5146
 
  echo "$as_me: failed program was:" >&5
5147
 
sed 's/^/| /' conftest.$ac_ext >&5
5148
 
 
5149
 
        
5150
 
fi
5151
 
 
5152
 
rm -f core conftest.err conftest.$ac_objext 
5153
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5154
 
done
5155
 
rm -f conftest.$ac_ext
5156
 
CC=$ac_save_CC
5157
 
 
5158
 
fi
5159
 
# AC_CACHE_VAL
5160
 
case "x$ac_cv_prog_cc_c89" in
5161
 
  x)
5162
 
    { echo "$as_me:$LINENO: result: none needed" >&5
5163
 
echo "${ECHO_T}none needed" >&6; } ;;
5164
 
  xno)
5165
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
5166
 
echo "${ECHO_T}unsupported" >&6; } ;;
5167
 
  *)
5168
 
    CC="$CC $ac_cv_prog_cc_c89"
5169
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5170
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5171
 
esac
5172
 
 
5173
 
 
5174
 
ac_ext=c
5175
 
ac_cpp='$CPP $CPPFLAGS'
5176
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5177
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5178
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5179
 
 
5180
 
depcc="$CC"   am_compiler_list=
5181
 
 
5182
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5183
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5184
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5185
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5186
 
else
5187
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5188
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5189
 
  # making bogus files that we don't know about and never remove.  For
5190
 
  # instance it was reported that on HP-UX the gcc test will end up
5191
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5192
 
  # in D'.
5193
 
  mkdir conftest.dir
5194
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5195
 
  # using a relative directory.
5196
 
  cp "$am_depcomp" conftest.dir
5197
 
  cd conftest.dir
5198
 
  # We will build objects and dependencies in a subdirectory because
5199
 
  # it helps to detect inapplicable dependency modes.  For instance
5200
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5201
 
  # side effect of compilation, but ICC will put the dependencies in
5202
 
  # the current directory while Tru64 will put them in the object
5203
 
  # directory.
5204
 
  mkdir sub
5205
 
 
5206
 
  am_cv_CC_dependencies_compiler_type=none
5207
 
  if test "$am_compiler_list" = ""; then
5208
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5209
 
  fi
5210
 
  for depmode in $am_compiler_list; do
5211
 
    # Setup a source with many dependencies, because some compilers
5212
 
    # like to wrap large dependency lists on column 80 (with \), and
5213
 
    # we should not choose a depcomp mode which is confused by this.
5214
 
    #
5215
 
    # We need to recreate these files for each test, as the compiler may
5216
 
    # overwrite some of them when testing with obscure command lines.
5217
 
    # This happens at least with the AIX C compiler.
5218
 
    : > sub/conftest.c
5219
 
    for i in 1 2 3 4 5 6; do
5220
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5221
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5222
 
      # Solaris 8's {/usr,}/bin/sh.
5223
 
      touch sub/conftst$i.h
5224
 
    done
5225
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5226
 
 
5227
 
    case $depmode in
5228
 
    nosideeffect)
5229
 
      # after this tag, mechanisms are not by side-effect, so they'll
5230
 
      # only be used when explicitly requested
5231
 
      if test "x$enable_dependency_tracking" = xyes; then
5232
 
        continue
5233
 
      else
5234
 
        break
5235
 
      fi
5236
 
      ;;
5237
 
    none) break ;;
5238
 
    esac
5239
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5240
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5241
 
    # handle `-M -o', and we need to detect this.
5242
 
    if depmode=$depmode \
5243
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5244
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5245
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5246
 
         >/dev/null 2>conftest.err &&
5247
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5248
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5249
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5250
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5251
 
      # icc doesn't choke on unknown options, it will just issue warnings
5252
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5253
 
      # that says an option was ignored or not supported.
5254
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5255
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5256
 
      # The diagnosis changed in icc 8.0:
5257
 
      #   icc: Command line remark: option '-MP' not supported
5258
 
      if (grep 'ignoring option' conftest.err ||
5259
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5260
 
        am_cv_CC_dependencies_compiler_type=$depmode
5261
 
        break
5262
 
      fi
5263
 
    fi
5264
 
  done
5265
 
 
5266
 
  cd ..
5267
 
  rm -rf conftest.dir
5268
 
else
5269
 
  am_cv_CC_dependencies_compiler_type=none
5270
 
fi
5271
 
 
5272
 
fi
5273
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5274
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5275
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5276
 
 
5277
 
 if 
5278
 
  test "x$enable_dependency_tracking" != xno \
5279
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5280
 
  am__fastdepCC_TRUE=
5281
 
  am__fastdepCC_FALSE='#'
5282
 
else
5283
 
  am__fastdepCC_TRUE='#'
5284
 
  am__fastdepCC_FALSE=
5285
 
fi
5286
 
 
5287
 
 
5288
 
if test "x$CC" != xcc; then
5289
 
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5290
 
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
5291
 
else
5292
 
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5293
 
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
5294
 
fi
5295
 
set dummy $CC; ac_cc=`echo $2 |
5296
 
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5297
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
5298
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5299
 
else
5300
 
  cat >conftest.$ac_ext <<_ACEOF
5301
 
/* confdefs.h.  */
5302
 
_ACEOF
5303
 
cat confdefs.h >>conftest.$ac_ext
5304
 
cat >>conftest.$ac_ext <<_ACEOF
5305
 
/* end confdefs.h.  */
5306
 
 
5307
 
int
5308
 
main ()
5309
 
{
5310
 
 
5311
 
  ;
5312
 
  return 0;
5313
 
}
5314
 
_ACEOF
5315
 
# Make sure it works both with $CC and with simple cc.
5316
 
# We do the test twice because some compilers refuse to overwrite an
5317
 
# existing .o file with -o, though they will create one.
5318
 
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5319
 
rm -f conftest2.*
5320
 
if { (case "(($ac_try" in
5321
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5322
 
  *) ac_try_echo=$ac_try;;
5323
 
esac
5324
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5325
 
  (eval "$ac_try") 2>&5
5326
 
  ac_status=$?
5327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328
 
  (exit $ac_status); } &&
5329
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
5330
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5331
 
  *) ac_try_echo=$ac_try;;
5332
 
esac
5333
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5334
 
  (eval "$ac_try") 2>&5
5335
 
  ac_status=$?
5336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337
 
  (exit $ac_status); };
5338
 
then
5339
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5340
 
  if test "x$CC" != xcc; then
5341
 
    # Test first that cc exists at all.
5342
 
    if { ac_try='cc -c conftest.$ac_ext >&5'
5343
 
  { (case "(($ac_try" in
5344
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5345
 
  *) ac_try_echo=$ac_try;;
5346
 
esac
5347
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5348
 
  (eval "$ac_try") 2>&5
5349
 
  ac_status=$?
5350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351
 
  (exit $ac_status); }; }; then
5352
 
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5353
 
      rm -f conftest2.*
5354
 
      if { (case "(($ac_try" in
5355
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5356
 
  *) ac_try_echo=$ac_try;;
5357
 
esac
5358
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5359
 
  (eval "$ac_try") 2>&5
5360
 
  ac_status=$?
5361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362
 
  (exit $ac_status); } &&
5363
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
5364
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5365
 
  *) ac_try_echo=$ac_try;;
5366
 
esac
5367
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368
 
  (eval "$ac_try") 2>&5
5369
 
  ac_status=$?
5370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371
 
  (exit $ac_status); };
5372
 
      then
5373
 
        # cc works too.
5374
 
        :
5375
 
      else
5376
 
        # cc exists but doesn't like -o.
5377
 
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
5378
 
      fi
5379
 
    fi
5380
 
  fi
5381
 
else
5382
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
5383
 
fi
5384
 
rm -f core conftest*
5385
 
 
5386
 
fi
5387
 
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5388
 
  { echo "$as_me:$LINENO: result: yes" >&5
5389
 
echo "${ECHO_T}yes" >&6; }
5390
 
else
5391
 
  { echo "$as_me:$LINENO: result: no" >&5
5392
 
echo "${ECHO_T}no" >&6; }
5393
 
  
5394
 
cat >>confdefs.h <<\_ACEOF
5395
 
@%:@define NO_MINUS_C_MINUS_O 1
5396
 
_ACEOF
5397
 
 
5398
 
fi
5399
 
 
5400
 
# Find a good install program.  We prefer a C program (faster),
5401
 
# so one script is as good as another.  But avoid the broken or
5402
 
# incompatible versions:
5403
 
# SysV /etc/install, /usr/sbin/install
5404
 
# SunOS /usr/etc/install
5405
 
# IRIX /sbin/install
5406
 
# AIX /bin/install
5407
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
5408
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5409
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5410
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5411
 
# OS/2's system install, which has a completely different semantic
5412
 
# ./install, which can be erroneously created by make from ./install.sh.
5413
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5414
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5415
 
if test -z "$INSTALL"; then
5416
 
if test "${ac_cv_path_install+set}" = set; then
5417
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5418
 
else
5419
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420
 
for as_dir in $PATH
5421
 
do
5422
 
  IFS=$as_save_IFS
5423
 
  test -z "$as_dir" && as_dir=.
5424
 
  # Account for people who put trailing slashes in PATH elements.
5425
 
case $as_dir/ in
5426
 
  ./ | .// | /cC/* | \
5427
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5428
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5429
 
  /usr/ucb/* ) ;;
5430
 
  *)
5431
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
5432
 
    # Don't use installbsd from OSF since it installs stuff as root
5433
 
    # by default.
5434
 
    for ac_prog in ginstall scoinst install; do
5435
 
      for ac_exec_ext in '' $ac_executable_extensions; do
5436
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5437
 
          if test $ac_prog = install &&
5438
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5439
 
            # AIX install.  It has an incompatible calling convention.
5440
 
            :
5441
 
          elif test $ac_prog = install &&
5442
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5443
 
            # program-specific install script used by HP pwplus--don't use.
5444
 
            :
5445
 
          else
5446
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5447
 
            break 3
5448
 
          fi
5449
 
        fi
5450
 
      done
5451
 
    done
5452
 
    ;;
5453
 
esac
5454
 
done
5455
 
IFS=$as_save_IFS
5456
 
 
5457
 
 
5458
 
fi
5459
 
  if test "${ac_cv_path_install+set}" = set; then
5460
 
    INSTALL=$ac_cv_path_install
5461
 
  else
5462
 
    # As a last resort, use the slow shell script.  Don't cache a
5463
 
    # value for INSTALL within a source directory, because that will
5464
 
    # break other packages using the cache if that directory is
5465
 
    # removed, or if the value is a relative name.
5466
 
    INSTALL=$ac_install_sh
5467
 
  fi
5468
 
fi
5469
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5470
 
echo "${ECHO_T}$INSTALL" >&6; }
5471
 
 
5472
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5473
 
# It thinks the first close brace ends the variable substitution.
5474
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5475
 
 
5476
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5477
 
 
5478
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5479
 
 
5480
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5481
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5482
 
LN_S=$as_ln_s
5483
 
if test "$LN_S" = "ln -s"; then
5484
 
  { echo "$as_me:$LINENO: result: yes" >&5
5485
 
echo "${ECHO_T}yes" >&6; }
5486
 
else
5487
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5488
 
echo "${ECHO_T}no, using $LN_S" >&6; }
5489
 
fi
5490
 
 
5491
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5492
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
5493
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5494
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5495
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5496
 
else
5497
 
  cat >conftest.make <<\_ACEOF
5498
 
SHELL = /bin/sh
5499
 
all:
5500
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
5501
 
_ACEOF
5502
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5503
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
5504
 
  *@@@%%%=?*=@@@%%%*)
5505
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
5506
 
  *)
5507
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
5508
 
esac
5509
 
rm -f conftest.make
5510
 
fi
5511
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5512
 
  { echo "$as_me:$LINENO: result: yes" >&5
5513
 
echo "${ECHO_T}yes" >&6; }
5514
 
  SET_MAKE=
5515
 
else
5516
 
  { echo "$as_me:$LINENO: result: no" >&5
5517
 
echo "${ECHO_T}no" >&6; }
5518
 
  SET_MAKE="MAKE=${MAKE-make}"
5519
 
fi
5520
 
 
5521
 
for ac_prog in gawk mawk nawk awk
5522
 
do
5523
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5524
 
set dummy $ac_prog; ac_word=$2
5525
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5526
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5527
 
if test "${ac_cv_prog_AWK+set}" = set; then
5528
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5529
 
else
5530
 
  if test -n "$AWK"; then
5531
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
5532
 
else
5533
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534
 
for as_dir in $PATH
5535
 
do
5536
 
  IFS=$as_save_IFS
5537
 
  test -z "$as_dir" && as_dir=.
5538
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5539
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5540
 
    ac_cv_prog_AWK="$ac_prog"
5541
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5542
 
    break 2
5543
 
  fi
5544
 
done
5545
 
done
5546
 
IFS=$as_save_IFS
5547
 
 
5548
 
fi
5549
 
fi
5550
 
AWK=$ac_cv_prog_AWK
5551
 
if test -n "$AWK"; then
5552
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
5553
 
echo "${ECHO_T}$AWK" >&6; }
5554
 
else
5555
 
  { echo "$as_me:$LINENO: result: no" >&5
5556
 
echo "${ECHO_T}no" >&6; }
5557
 
fi
5558
 
 
5559
 
 
5560
 
  test -n "$AWK" && break
5561
 
done
5562
 
 
5563
 
 
5564
 
case $host in
5565
 
*-*-cygwin* | *-*-mingw*)
5566
 
        SHARED_FLAGS="-shared -no-undefined -Xlinker --export-all-symbols"
5567
 
 
5568
 
        PLUGIN_FLAGS="-shared -no-undefined -avoid-version"
5569
 
 
5570
 
        if test -n "$ac_tool_prefix"; then
5571
 
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5572
 
set dummy ${ac_tool_prefix}windres; ac_word=$2
5573
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5574
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5575
 
if test "${ac_cv_prog_RC+set}" = set; then
5576
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5577
 
else
5578
 
  if test -n "$RC"; then
5579
 
  ac_cv_prog_RC="$RC" # Let the user override the test.
5580
 
else
5581
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582
 
for as_dir in $PATH
5583
 
do
5584
 
  IFS=$as_save_IFS
5585
 
  test -z "$as_dir" && as_dir=.
5586
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5587
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588
 
    ac_cv_prog_RC="${ac_tool_prefix}windres"
5589
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5590
 
    break 2
5591
 
  fi
5592
 
done
5593
 
done
5594
 
IFS=$as_save_IFS
5595
 
 
5596
 
fi
5597
 
fi
5598
 
RC=$ac_cv_prog_RC
5599
 
if test -n "$RC"; then
5600
 
  { echo "$as_me:$LINENO: result: $RC" >&5
5601
 
echo "${ECHO_T}$RC" >&6; }
5602
 
else
5603
 
  { echo "$as_me:$LINENO: result: no" >&5
5604
 
echo "${ECHO_T}no" >&6; }
5605
 
fi
5606
 
 
5607
 
 
5608
 
fi
5609
 
if test -z "$ac_cv_prog_RC"; then
5610
 
  ac_ct_RC=$RC
5611
 
  # Extract the first word of "windres", so it can be a program name with args.
5612
 
set dummy windres; ac_word=$2
5613
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5614
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5615
 
if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
5616
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5617
 
else
5618
 
  if test -n "$ac_ct_RC"; then
5619
 
  ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
5620
 
else
5621
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622
 
for as_dir in $PATH
5623
 
do
5624
 
  IFS=$as_save_IFS
5625
 
  test -z "$as_dir" && as_dir=.
5626
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5627
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5628
 
    ac_cv_prog_ac_ct_RC="windres"
5629
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5630
 
    break 2
5631
 
  fi
5632
 
done
5633
 
done
5634
 
IFS=$as_save_IFS
5635
 
 
5636
 
fi
5637
 
fi
5638
 
ac_ct_RC=$ac_cv_prog_ac_ct_RC
5639
 
if test -n "$ac_ct_RC"; then
5640
 
  { echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
5641
 
echo "${ECHO_T}$ac_ct_RC" >&6; }
5642
 
else
5643
 
  { echo "$as_me:$LINENO: result: no" >&5
5644
 
echo "${ECHO_T}no" >&6; }
5645
 
fi
5646
 
 
5647
 
  if test "x$ac_ct_RC" = x; then
5648
 
    RC=""
5649
 
  else
5650
 
    case $cross_compiling:$ac_tool_warned in
5651
 
yes:)
5652
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5653
 
whose name does not start with the host triplet.  If you think this
5654
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5655
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5656
 
whose name does not start with the host triplet.  If you think this
5657
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5658
 
ac_tool_warned=yes ;;
5659
 
esac
5660
 
    RC=$ac_ct_RC
5661
 
  fi
5662
 
else
5663
 
  RC="$ac_cv_prog_RC"
5664
 
fi
5665
 
 
5666
 
        nt=true
5667
 
;;
5668
 
*-*-darwin*)     SHARED_FLAGS="-dynamic"
5669
 
 
5670
 
    PLUGIN_FLAGS="-bundle -avoid-version"
5671
 
 
5672
 
    darwin=true
5673
 
;;
5674
 
 *)     SHARED_FLAGS="-shared"
5675
 
 
5676
 
        PLUGIN_FLAGS="-shared -avoid-version"
5677
 
 
5678
 
    linux=true
5679
 
;;
5680
 
esac
5681
 
 if test x$nt = xtrue; then
5682
 
  CODEBLOCKS_NT_TRUE=
5683
 
  CODEBLOCKS_NT_FALSE='#'
5684
 
else
5685
 
  CODEBLOCKS_NT_TRUE='#'
5686
 
  CODEBLOCKS_NT_FALSE=
5687
 
fi
5688
 
 
5689
 
 if test x$linux = xtrue; then
5690
 
  CODEBLOCKS_LINUX_TRUE=
5691
 
  CODEBLOCKS_LINUX_FALSE='#'
5692
 
else
5693
 
  CODEBLOCKS_LINUX_TRUE='#'
5694
 
  CODEBLOCKS_LINUX_FALSE=
5695
 
fi
5696
 
 
5697
 
 if test x$darwin = xtrue ; then
5698
 
  CODEBLOCKS_DARWIN_TRUE=
5699
 
  CODEBLOCKS_DARWIN_FALSE='#'
5700
 
else
5701
 
  CODEBLOCKS_DARWIN_TRUE='#'
5702
 
  CODEBLOCKS_DARWIN_FALSE=
5703
 
fi
5704
 
 
5705
 
 
5706
 
 
5707
 
# Check whether --enable-static was given.
5708
 
if test "${enable_static+set}" = set; then
5709
 
  enableval=$enable_static; p=${PACKAGE-default}
5710
 
    case $enableval in
5711
 
    yes) enable_static=yes ;;
5712
 
    no) enable_static=no ;;
5713
 
    *)
5714
 
     enable_static=no
5715
 
      # Look at the argument we got.  We use all the common list separators.
5716
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5717
 
      for pkg in $enableval; do
5718
 
        IFS="$lt_save_ifs"
5719
 
        if test "X$pkg" = "X$p"; then
5720
 
          enable_static=yes
5721
 
        fi
5722
 
      done
5723
 
      IFS="$lt_save_ifs"
5724
 
      ;;
5725
 
    esac
5726
 
else
5727
 
  enable_static=no
5728
 
fi
5729
 
 
5730
 
 
5731
 
 
5732
 
# Check whether --enable-shared was given.
5733
 
if test "${enable_shared+set}" = set; then
5734
 
  enableval=$enable_shared; p=${PACKAGE-default}
5735
 
    case $enableval in
5736
 
    yes) enable_shared=yes ;;
5737
 
    no) enable_shared=no ;;
5738
 
    *)
5739
 
      enable_shared=no
5740
 
      # Look at the argument we got.  We use all the common list separators.
5741
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5742
 
      for pkg in $enableval; do
5743
 
        IFS="$lt_save_ifs"
5744
 
        if test "X$pkg" = "X$p"; then
5745
 
          enable_shared=yes
5746
 
        fi
5747
 
      done
5748
 
      IFS="$lt_save_ifs"
5749
 
      ;;
5750
 
    esac
5751
 
else
5752
 
  enable_shared=yes
5753
 
fi
5754
 
 
5755
 
 
5756
 
# Check whether --enable-fast-install was given.
5757
 
if test "${enable_fast_install+set}" = set; then
5758
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
5759
 
    case $enableval in
5760
 
    yes) enable_fast_install=yes ;;
5761
 
    no) enable_fast_install=no ;;
5762
 
    *)
5763
 
      enable_fast_install=no
5764
 
      # Look at the argument we got.  We use all the common list separators.
5765
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5766
 
      for pkg in $enableval; do
5767
 
        IFS="$lt_save_ifs"
5768
 
        if test "X$pkg" = "X$p"; then
5769
 
          enable_fast_install=yes
5770
 
        fi
5771
 
      done
5772
 
      IFS="$lt_save_ifs"
5773
 
      ;;
5774
 
    esac
5775
 
else
5776
 
  enable_fast_install=yes
5777
 
fi
5778
 
 
5779
 
 
5780
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5781
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5782
 
if test "${lt_cv_path_SED+set}" = set; then
5783
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5784
 
else
5785
 
  # Loop through the user's path and test for sed and gsed.
5786
 
# Then use that list of sed's as ones to test for truncation.
5787
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788
 
for as_dir in $PATH
5789
 
do
5790
 
  IFS=$as_save_IFS
5791
 
  test -z "$as_dir" && as_dir=.
5792
 
  for lt_ac_prog in sed gsed; do
5793
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5794
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5795
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5796
 
      fi
5797
 
    done
5798
 
  done
5799
 
done
5800
 
IFS=$as_save_IFS
5801
 
lt_ac_max=0
5802
 
lt_ac_count=0
5803
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5804
 
# along with /bin/sed that truncates output.
5805
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5806
 
  test ! -f $lt_ac_sed && continue
5807
 
  cat /dev/null > conftest.in
5808
 
  lt_ac_count=0
5809
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5810
 
  # Check for GNU sed and select it if it is found.
5811
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5812
 
    lt_cv_path_SED=$lt_ac_sed
5813
 
    break
5814
 
  fi
5815
 
  while true; do
5816
 
    cat conftest.in conftest.in >conftest.tmp
5817
 
    mv conftest.tmp conftest.in
5818
 
    cp conftest.in conftest.nl
5819
 
    echo >>conftest.nl
5820
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5821
 
    cmp -s conftest.out conftest.nl || break
5822
 
    # 10000 chars as input seems more than enough
5823
 
    test $lt_ac_count -gt 10 && break
5824
 
    lt_ac_count=`expr $lt_ac_count + 1`
5825
 
    if test $lt_ac_count -gt $lt_ac_max; then
5826
 
      lt_ac_max=$lt_ac_count
5827
 
      lt_cv_path_SED=$lt_ac_sed
5828
 
    fi
5829
 
  done
5830
 
done
5831
 
 
5832
 
fi
5833
 
 
5834
 
SED=$lt_cv_path_SED
5835
 
 
5836
 
{ echo "$as_me:$LINENO: result: $SED" >&5
5837
 
echo "${ECHO_T}$SED" >&6; }
5838
 
 
5839
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5840
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5841
 
if test "${ac_cv_path_GREP+set}" = set; then
5842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5843
 
else
5844
 
  # Extract the first word of "grep ggrep" to use in msg output
5845
 
if test -z "$GREP"; then
5846
 
set dummy grep ggrep; ac_prog_name=$2
5847
 
if test "${ac_cv_path_GREP+set}" = set; then
5848
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5849
 
else
5850
 
  ac_path_GREP_found=false
5851
 
# Loop through the user's path and test for each of PROGNAME-LIST
5852
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5854
 
do
5855
 
  IFS=$as_save_IFS
5856
 
  test -z "$as_dir" && as_dir=.
5857
 
  for ac_prog in grep ggrep; do
5858
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5859
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5860
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5861
 
    # Check for GNU ac_path_GREP and select it if it is found.
5862
 
  # Check for GNU $ac_path_GREP
5863
 
case `"$ac_path_GREP" --version 2>&1` in
5864
 
*GNU*)
5865
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5866
 
*)
5867
 
  ac_count=0
5868
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5869
 
  while :
5870
 
  do
5871
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5872
 
    mv "conftest.tmp" "conftest.in"
5873
 
    cp "conftest.in" "conftest.nl"
5874
 
    echo 'GREP' >> "conftest.nl"
5875
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5876
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5877
 
    ac_count=`expr $ac_count + 1`
5878
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5879
 
      # Best one so far, save it but keep looking for a better one
5880
 
      ac_cv_path_GREP="$ac_path_GREP"
5881
 
      ac_path_GREP_max=$ac_count
5882
 
    fi
5883
 
    # 10*(2^10) chars as input seems more than enough
5884
 
    test $ac_count -gt 10 && break
5885
 
  done
5886
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5887
 
esac
5888
 
 
5889
 
 
5890
 
    $ac_path_GREP_found && break 3
5891
 
  done
5892
 
done
5893
 
 
5894
 
done
5895
 
IFS=$as_save_IFS
5896
 
 
5897
 
 
5898
 
fi
5899
 
 
5900
 
GREP="$ac_cv_path_GREP"
5901
 
if test -z "$GREP"; then
5902
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5903
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5904
 
   { (exit 1); exit 1; }; }
5905
 
fi
5906
 
 
5907
 
else
5908
 
  ac_cv_path_GREP=$GREP
5909
 
fi
5910
 
 
5911
 
 
5912
 
fi
5913
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5914
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5915
 
 GREP="$ac_cv_path_GREP"
5916
 
 
5917
 
 
5918
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
5919
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5920
 
if test "${ac_cv_path_EGREP+set}" = set; then
5921
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5922
 
else
5923
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5924
 
   then ac_cv_path_EGREP="$GREP -E"
5925
 
   else
5926
 
     # Extract the first word of "egrep" to use in msg output
5927
 
if test -z "$EGREP"; then
5928
 
set dummy egrep; ac_prog_name=$2
5929
 
if test "${ac_cv_path_EGREP+set}" = set; then
5930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5931
 
else
5932
 
  ac_path_EGREP_found=false
5933
 
# Loop through the user's path and test for each of PROGNAME-LIST
5934
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5936
 
do
5937
 
  IFS=$as_save_IFS
5938
 
  test -z "$as_dir" && as_dir=.
5939
 
  for ac_prog in egrep; do
5940
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5941
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5942
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5943
 
    # Check for GNU ac_path_EGREP and select it if it is found.
5944
 
  # Check for GNU $ac_path_EGREP
5945
 
case `"$ac_path_EGREP" --version 2>&1` in
5946
 
*GNU*)
5947
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5948
 
*)
5949
 
  ac_count=0
5950
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5951
 
  while :
5952
 
  do
5953
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5954
 
    mv "conftest.tmp" "conftest.in"
5955
 
    cp "conftest.in" "conftest.nl"
5956
 
    echo 'EGREP' >> "conftest.nl"
5957
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5958
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5959
 
    ac_count=`expr $ac_count + 1`
5960
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5961
 
      # Best one so far, save it but keep looking for a better one
5962
 
      ac_cv_path_EGREP="$ac_path_EGREP"
5963
 
      ac_path_EGREP_max=$ac_count
5964
 
    fi
5965
 
    # 10*(2^10) chars as input seems more than enough
5966
 
    test $ac_count -gt 10 && break
5967
 
  done
5968
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5969
 
esac
5970
 
 
5971
 
 
5972
 
    $ac_path_EGREP_found && break 3
5973
 
  done
5974
 
done
5975
 
 
5976
 
done
5977
 
IFS=$as_save_IFS
5978
 
 
5979
 
 
5980
 
fi
5981
 
 
5982
 
EGREP="$ac_cv_path_EGREP"
5983
 
if test -z "$EGREP"; then
5984
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5985
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5986
 
   { (exit 1); exit 1; }; }
5987
 
fi
5988
 
 
5989
 
else
5990
 
  ac_cv_path_EGREP=$EGREP
5991
 
fi
5992
 
 
5993
 
 
5994
 
   fi
5995
 
fi
5996
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5997
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5998
 
 EGREP="$ac_cv_path_EGREP"
5999
 
 
6000
 
 
6001
 
 
6002
 
# Check whether --with-gnu-ld was given.
6003
 
if test "${with_gnu_ld+set}" = set; then
6004
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6005
 
else
6006
 
  with_gnu_ld=no
6007
 
fi
6008
 
 
6009
 
ac_prog=ld
6010
 
if test "$GCC" = yes; then
6011
 
  # Check if gcc -print-prog-name=ld gives a path.
6012
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6013
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6014
 
  case $host in
6015
 
  *-*-mingw*)
6016
 
    # gcc leaves a trailing carriage return which upsets mingw
6017
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6018
 
  *)
6019
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6020
 
  esac
6021
 
  case $ac_prog in
6022
 
    # Accept absolute paths.
6023
 
    [\\/]* | ?:[\\/]*)
6024
 
      re_direlt='/[^/][^/]*/\.\./'
6025
 
      # Canonicalize the pathname of ld
6026
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6027
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6028
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6029
 
      done
6030
 
      test -z "$LD" && LD="$ac_prog"
6031
 
      ;;
6032
 
  "")
6033
 
    # If it fails, then pretend we aren't using GCC.
6034
 
    ac_prog=ld
6035
 
    ;;
6036
 
  *)
6037
 
    # If it is relative, then search for the first ld in PATH.
6038
 
    with_gnu_ld=unknown
6039
 
    ;;
6040
 
  esac
6041
 
elif test "$with_gnu_ld" = yes; then
6042
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
6043
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6044
 
else
6045
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6046
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6047
 
fi
6048
 
if test "${lt_cv_path_LD+set}" = set; then
6049
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6050
 
else
6051
 
  if test -z "$LD"; then
6052
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6053
 
  for ac_dir in $PATH; do
6054
 
    IFS="$lt_save_ifs"
6055
 
    test -z "$ac_dir" && ac_dir=.
6056
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6057
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
6058
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
6059
 
      # but apparently some variants of GNU ld only accept -v.
6060
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
6061
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6062
 
      *GNU* | *'with BFD'*)
6063
 
        test "$with_gnu_ld" != no && break
6064
 
        ;;
6065
 
      *)
6066
 
        test "$with_gnu_ld" != yes && break
6067
 
        ;;
6068
 
      esac
6069
 
    fi
6070
 
  done
6071
 
  IFS="$lt_save_ifs"
6072
 
else
6073
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6074
 
fi
6075
 
fi
6076
 
 
6077
 
LD="$lt_cv_path_LD"
6078
 
if test -n "$LD"; then
6079
 
  { echo "$as_me:$LINENO: result: $LD" >&5
6080
 
echo "${ECHO_T}$LD" >&6; }
6081
 
else
6082
 
  { echo "$as_me:$LINENO: result: no" >&5
6083
 
echo "${ECHO_T}no" >&6; }
6084
 
fi
6085
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6086
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6087
 
   { (exit 1); exit 1; }; }
6088
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6089
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6090
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6091
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6092
 
else
6093
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6094
 
case `$LD -v 2>&1 </dev/null` in
6095
 
*GNU* | *'with BFD'*)
6096
 
  lt_cv_prog_gnu_ld=yes
6097
 
  ;;
6098
 
*)
6099
 
  lt_cv_prog_gnu_ld=no
6100
 
  ;;
6101
 
esac
6102
 
fi
6103
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6104
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6105
 
with_gnu_ld=$lt_cv_prog_gnu_ld
6106
 
 
6107
 
 
6108
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6109
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6110
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
6111
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6112
 
else
6113
 
  lt_cv_ld_reload_flag='-r'
6114
 
fi
6115
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6116
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6117
 
reload_flag=$lt_cv_ld_reload_flag
6118
 
case $reload_flag in
6119
 
"" | " "*) ;;
6120
 
*) reload_flag=" $reload_flag" ;;
6121
 
esac
6122
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6123
 
case $host_os in
6124
 
  darwin*)
6125
 
    if test "$GCC" = yes; then
6126
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6127
 
    else
6128
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6129
 
    fi
6130
 
    ;;
6131
 
esac
6132
 
 
6133
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6134
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6135
 
if test "${lt_cv_path_NM+set}" = set; then
6136
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6137
 
else
6138
 
  if test -n "$NM"; then
6139
 
  # Let the user override the test.
6140
 
  lt_cv_path_NM="$NM"
6141
 
else
6142
 
  lt_nm_to_check="${ac_tool_prefix}nm"
6143
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6144
 
    lt_nm_to_check="$lt_nm_to_check nm"
6145
 
  fi
6146
 
  for lt_tmp_nm in $lt_nm_to_check; do
6147
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6148
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6149
 
      IFS="$lt_save_ifs"
6150
 
      test -z "$ac_dir" && ac_dir=.
6151
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
6152
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6153
 
        # Check to see if the nm accepts a BSD-compat flag.
6154
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6155
 
        #   nm: unknown option "B" ignored
6156
 
        # Tru64's nm complains that /dev/null is an invalid object file
6157
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6158
 
        */dev/null* | *'Invalid file or object type'*)
6159
 
          lt_cv_path_NM="$tmp_nm -B"
6160
 
          break
6161
 
          ;;
6162
 
        *)
6163
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6164
 
          */dev/null*)
6165
 
            lt_cv_path_NM="$tmp_nm -p"
6166
 
            break
6167
 
            ;;
6168
 
          *)
6169
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6170
 
            continue # so that we can try to find one that supports BSD flags
6171
 
            ;;
6172
 
          esac
6173
 
          ;;
6174
 
        esac
6175
 
      fi
6176
 
    done
6177
 
    IFS="$lt_save_ifs"
6178
 
  done
6179
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6180
 
fi
6181
 
fi
6182
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6183
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6184
 
NM="$lt_cv_path_NM"
6185
 
 
6186
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6187
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6188
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
6189
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6190
 
else
6191
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6192
 
lt_cv_file_magic_test_file=
6193
 
lt_cv_deplibs_check_method='unknown'
6194
 
# Need to set the preceding variable on all platforms that support
6195
 
# interlibrary dependencies.
6196
 
# 'none' -- dependencies not supported.
6197
 
# `unknown' -- same as none, but documents that we really don't know.
6198
 
# 'pass_all' -- all dependencies passed with no checks.
6199
 
# 'test_compile' -- check by making test program.
6200
 
# 'file_magic [[regex]]' -- check by looking for files in library path
6201
 
# which responds to the $file_magic_cmd with a given extended regex.
6202
 
# If you have `file' or equivalent on your system and you're not sure
6203
 
# whether `pass_all' will *always* work, you probably want this one.
6204
 
 
6205
 
case $host_os in
6206
 
aix4* | aix5*)
6207
 
  lt_cv_deplibs_check_method=pass_all
6208
 
  ;;
6209
 
 
6210
 
beos*)
6211
 
  lt_cv_deplibs_check_method=pass_all
6212
 
  ;;
6213
 
 
6214
 
bsdi[45]*)
6215
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6216
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6217
 
  lt_cv_file_magic_test_file=/shlib/libc.so
6218
 
  ;;
6219
 
 
6220
 
cygwin*)
6221
 
  # func_win32_libid is a shell function defined in ltmain.sh
6222
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6223
 
  lt_cv_file_magic_cmd='func_win32_libid'
6224
 
  ;;
6225
 
 
6226
 
mingw* | pw32*)
6227
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
6228
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6229
 
  # unless we find 'file', for example because we are cross-compiling.
6230
 
  if ( file / ) >/dev/null 2>&1; then
6231
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6232
 
    lt_cv_file_magic_cmd='func_win32_libid'
6233
 
  else
6234
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6235
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6236
 
  fi
6237
 
  ;;
6238
 
 
6239
 
darwin* | rhapsody*)
6240
 
  lt_cv_deplibs_check_method=pass_all
6241
 
  ;;
6242
 
 
6243
 
freebsd* | dragonfly*)
6244
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6245
 
    case $host_cpu in
6246
 
    i*86 )
6247
 
      # Not sure whether the presence of OpenBSD here was a mistake.
6248
 
      # Let's accept both of them until this is cleared up.
6249
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6250
 
      lt_cv_file_magic_cmd=/usr/bin/file
6251
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6252
 
      ;;
6253
 
    esac
6254
 
  else
6255
 
    lt_cv_deplibs_check_method=pass_all
6256
 
  fi
6257
 
  ;;
6258
 
 
6259
 
gnu*)
6260
 
  lt_cv_deplibs_check_method=pass_all
6261
 
  ;;
6262
 
 
6263
 
hpux10.20* | hpux11*)
6264
 
  lt_cv_file_magic_cmd=/usr/bin/file
6265
 
  case $host_cpu in
6266
 
  ia64*)
6267
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6268
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6269
 
    ;;
6270
 
  hppa*64*)
6271
 
    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]'
6272
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6273
 
    ;;
6274
 
  *)
6275
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6276
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6277
 
    ;;
6278
 
  esac
6279
 
  ;;
6280
 
 
6281
 
interix[3-9]*)
6282
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6283
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6284
 
  ;;
6285
 
 
6286
 
irix5* | irix6* | nonstopux*)
6287
 
  case $LD in
6288
 
  *-32|*"-32 ") libmagic=32-bit;;
6289
 
  *-n32|*"-n32 ") libmagic=N32;;
6290
 
  *-64|*"-64 ") libmagic=64-bit;;
6291
 
  *) libmagic=never-match;;
6292
 
  esac
6293
 
  lt_cv_deplibs_check_method=pass_all
6294
 
  ;;
6295
 
 
6296
 
# This must be Linux ELF.
6297
 
linux* | k*bsd*-gnu)
6298
 
  lt_cv_deplibs_check_method=pass_all
6299
 
  ;;
6300
 
 
6301
 
netbsd* | netbsdelf*-gnu)
6302
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6303
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6304
 
  else
6305
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6306
 
  fi
6307
 
  ;;
6308
 
 
6309
 
newos6*)
6310
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6311
 
  lt_cv_file_magic_cmd=/usr/bin/file
6312
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6313
 
  ;;
6314
 
 
6315
 
nto-qnx*)
6316
 
  lt_cv_deplibs_check_method=unknown
6317
 
  ;;
6318
 
 
6319
 
openbsd*)
6320
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6321
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6322
 
  else
6323
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6324
 
  fi
6325
 
  ;;
6326
 
 
6327
 
osf3* | osf4* | osf5*)
6328
 
  lt_cv_deplibs_check_method=pass_all
6329
 
  ;;
6330
 
 
6331
 
rdos*)
6332
 
  lt_cv_deplibs_check_method=pass_all
6333
 
  ;;
6334
 
 
6335
 
solaris*)
6336
 
  lt_cv_deplibs_check_method=pass_all
6337
 
  ;;
6338
 
 
6339
 
sysv4 | sysv4.3*)
6340
 
  case $host_vendor in
6341
 
  motorola)
6342
 
    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]'
6343
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6344
 
    ;;
6345
 
  ncr)
6346
 
    lt_cv_deplibs_check_method=pass_all
6347
 
    ;;
6348
 
  sequent)
6349
 
    lt_cv_file_magic_cmd='/bin/file'
6350
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6351
 
    ;;
6352
 
  sni)
6353
 
    lt_cv_file_magic_cmd='/bin/file'
6354
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6355
 
    lt_cv_file_magic_test_file=/lib/libc.so
6356
 
    ;;
6357
 
  siemens)
6358
 
    lt_cv_deplibs_check_method=pass_all
6359
 
    ;;
6360
 
  pc)
6361
 
    lt_cv_deplibs_check_method=pass_all
6362
 
    ;;
6363
 
  esac
6364
 
  ;;
6365
 
 
6366
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6367
 
  lt_cv_deplibs_check_method=pass_all
6368
 
  ;;
6369
 
esac
6370
 
 
6371
 
fi
6372
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6373
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
6374
 
file_magic_cmd=$lt_cv_file_magic_cmd
6375
 
deplibs_check_method=$lt_cv_deplibs_check_method
6376
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6377
 
 
6378
 
 
6379
 
 
6380
 
 
6381
 
# If no C compiler was specified, use CC.
6382
 
LTCC=${LTCC-"$CC"}
6383
 
 
6384
 
# If no C compiler flags were specified, use CFLAGS.
6385
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6386
 
 
6387
 
# Allow CC to be a program name with arguments.
6388
 
compiler=$CC
6389
 
 
6390
 
 
6391
 
# Check whether --enable-libtool-lock was given.
6392
 
if test "${enable_libtool_lock+set}" = set; then
6393
 
  enableval=$enable_libtool_lock; 
6394
 
fi
6395
 
 
6396
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6397
 
 
6398
 
# Some flags need to be propagated to the compiler or linker for good
6399
 
# libtool support.
6400
 
case $host in
6401
 
ia64-*-hpux*)
6402
 
  # Find out which ABI we are using.
6403
 
  echo 'int i;' > conftest.$ac_ext
6404
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6405
 
  (eval $ac_compile) 2>&5
6406
 
  ac_status=$?
6407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408
 
  (exit $ac_status); }; then
6409
 
    case `/usr/bin/file conftest.$ac_objext` in
6410
 
    *ELF-32*)
6411
 
      HPUX_IA64_MODE="32"
6412
 
      ;;
6413
 
    *ELF-64*)
6414
 
      HPUX_IA64_MODE="64"
6415
 
      ;;
6416
 
    esac
6417
 
  fi
6418
 
  rm -rf conftest*
6419
 
  ;;
6420
 
*-*-irix6*)
6421
 
  # Find out which ABI we are using.
6422
 
  echo '#line __oline__ "configure"' > conftest.$ac_ext
6423
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6424
 
  (eval $ac_compile) 2>&5
6425
 
  ac_status=$?
6426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427
 
  (exit $ac_status); }; then
6428
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
6429
 
    case `/usr/bin/file conftest.$ac_objext` in
6430
 
    *32-bit*)
6431
 
      LD="${LD-ld} -melf32bsmip"
6432
 
      ;;
6433
 
    *N32*)
6434
 
      LD="${LD-ld} -melf32bmipn32"
6435
 
      ;;
6436
 
    *64-bit*)
6437
 
      LD="${LD-ld} -melf64bmip"
6438
 
      ;;
6439
 
    esac
6440
 
   else
6441
 
    case `/usr/bin/file conftest.$ac_objext` in
6442
 
    *32-bit*)
6443
 
      LD="${LD-ld} -32"
6444
 
      ;;
6445
 
    *N32*)
6446
 
      LD="${LD-ld} -n32"
6447
 
      ;;
6448
 
    *64-bit*)
6449
 
      LD="${LD-ld} -64"
6450
 
      ;;
6451
 
    esac
6452
 
   fi
6453
 
  fi
6454
 
  rm -rf conftest*
6455
 
  ;;
6456
 
 
6457
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6458
 
s390*-*linux*|sparc*-*linux*)
6459
 
  # Find out which ABI we are using.
6460
 
  echo 'int i;' > conftest.$ac_ext
6461
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6462
 
  (eval $ac_compile) 2>&5
6463
 
  ac_status=$?
6464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465
 
  (exit $ac_status); }; then
6466
 
    case `/usr/bin/file conftest.o` in
6467
 
    *32-bit*)
6468
 
      case $host in
6469
 
        x86_64-*kfreebsd*-gnu)
6470
 
          LD="${LD-ld} -m elf_i386_fbsd"
6471
 
          ;;
6472
 
        x86_64-*linux*)
6473
 
          LD="${LD-ld} -m elf_i386"
6474
 
          ;;
6475
 
        ppc64-*linux*|powerpc64-*linux*)
6476
 
          LD="${LD-ld} -m elf32ppclinux"
6477
 
          ;;
6478
 
        s390x-*linux*)
6479
 
          LD="${LD-ld} -m elf_s390"
6480
 
          ;;
6481
 
        sparc64-*linux*)
6482
 
          LD="${LD-ld} -m elf32_sparc"
6483
 
          ;;
6484
 
      esac
6485
 
      ;;
6486
 
    *64-bit*)
6487
 
      case $host in
6488
 
        x86_64-*kfreebsd*-gnu)
6489
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
6490
 
          ;;
6491
 
        x86_64-*linux*)
6492
 
          LD="${LD-ld} -m elf_x86_64"
6493
 
          ;;
6494
 
        ppc*-*linux*|powerpc*-*linux*)
6495
 
          LD="${LD-ld} -m elf64ppc"
6496
 
          ;;
6497
 
        s390*-*linux*)
6498
 
          LD="${LD-ld} -m elf64_s390"
6499
 
          ;;
6500
 
        sparc*-*linux*)
6501
 
          LD="${LD-ld} -m elf64_sparc"
6502
 
          ;;
6503
 
      esac
6504
 
      ;;
6505
 
    esac
6506
 
  fi
6507
 
  rm -rf conftest*
6508
 
  ;;
6509
 
 
6510
 
*-*-sco3.2v5*)
6511
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6512
 
  SAVE_CFLAGS="$CFLAGS"
6513
 
  CFLAGS="$CFLAGS -belf"
6514
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6515
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6516
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
6517
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6518
 
else
6519
 
  ac_ext=c
6520
 
ac_cpp='$CPP $CPPFLAGS'
6521
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6522
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6523
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6524
 
 
6525
 
     cat >conftest.$ac_ext <<_ACEOF
6526
 
/* confdefs.h.  */
6527
 
_ACEOF
6528
 
cat confdefs.h >>conftest.$ac_ext
6529
 
cat >>conftest.$ac_ext <<_ACEOF
6530
 
/* end confdefs.h.  */
6531
 
 
6532
 
int
6533
 
main ()
6534
 
{
6535
 
 
6536
 
  ;
6537
 
  return 0;
6538
 
}
6539
 
_ACEOF
6540
 
rm -f conftest.$ac_objext conftest$ac_exeext
6541
 
if { (ac_try="$ac_link"
6542
 
case "(($ac_try" in
6543
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6544
 
  *) ac_try_echo=$ac_try;;
6545
 
esac
6546
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6547
 
  (eval "$ac_link") 2>conftest.er1
6548
 
  ac_status=$?
6549
 
  grep -v '^ *+' conftest.er1 >conftest.err
6550
 
  rm -f conftest.er1
6551
 
  cat conftest.err >&5
6552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553
 
  (exit $ac_status); } && {
6554
 
         test -z "$ac_c_werror_flag" ||
6555
 
         test ! -s conftest.err
6556
 
       } && test -s conftest$ac_exeext &&
6557
 
       $as_test_x conftest$ac_exeext; then
6558
 
  lt_cv_cc_needs_belf=yes
6559
 
else
6560
 
  echo "$as_me: failed program was:" >&5
6561
 
sed 's/^/| /' conftest.$ac_ext >&5
6562
 
 
6563
 
        lt_cv_cc_needs_belf=no
6564
 
fi
6565
 
 
6566
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6567
 
      conftest$ac_exeext conftest.$ac_ext
6568
 
     ac_ext=c
6569
 
ac_cpp='$CPP $CPPFLAGS'
6570
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6571
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6572
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6573
 
 
6574
 
fi
6575
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6576
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6577
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6578
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6579
 
    CFLAGS="$SAVE_CFLAGS"
6580
 
  fi
6581
 
  ;;
6582
 
sparc*-*solaris*)
6583
 
  # Find out which ABI we are using.
6584
 
  echo 'int i;' > conftest.$ac_ext
6585
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6586
 
  (eval $ac_compile) 2>&5
6587
 
  ac_status=$?
6588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589
 
  (exit $ac_status); }; then
6590
 
    case `/usr/bin/file conftest.o` in
6591
 
    *64-bit*)
6592
 
      case $lt_cv_prog_gnu_ld in
6593
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6594
 
      *)    LD="${LD-ld} -64" ;;
6595
 
      esac
6596
 
      ;;
6597
 
    esac
6598
 
  fi
6599
 
  rm -rf conftest*
6600
 
  ;;
6601
 
 
6602
 
 
6603
 
esac
6604
 
 
6605
 
need_locks="$enable_libtool_lock"
6606
 
 
6607
 
 
6608
 
 
6609
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6610
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6611
 
if test "${ac_cv_header_stdc+set}" = set; then
6612
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6613
 
else
6614
 
  cat >conftest.$ac_ext <<_ACEOF
6615
 
/* confdefs.h.  */
6616
 
_ACEOF
6617
 
cat confdefs.h >>conftest.$ac_ext
6618
 
cat >>conftest.$ac_ext <<_ACEOF
6619
 
/* end confdefs.h.  */
6620
 
#include <stdlib.h>
6621
 
#include <stdarg.h>
6622
 
#include <string.h>
6623
 
#include <float.h>
6624
 
 
6625
 
int
6626
 
main ()
6627
 
{
6628
 
 
6629
 
  ;
6630
 
  return 0;
6631
 
}
6632
 
_ACEOF
6633
 
rm -f conftest.$ac_objext
6634
 
if { (ac_try="$ac_compile"
6635
 
case "(($ac_try" in
6636
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6637
 
  *) ac_try_echo=$ac_try;;
6638
 
esac
6639
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6640
 
  (eval "$ac_compile") 2>conftest.er1
6641
 
  ac_status=$?
6642
 
  grep -v '^ *+' conftest.er1 >conftest.err
6643
 
  rm -f conftest.er1
6644
 
  cat conftest.err >&5
6645
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646
 
  (exit $ac_status); } && {
6647
 
         test -z "$ac_c_werror_flag" ||
6648
 
         test ! -s conftest.err
6649
 
       } && test -s conftest.$ac_objext; then
6650
 
  ac_cv_header_stdc=yes
6651
 
else
6652
 
  echo "$as_me: failed program was:" >&5
6653
 
sed 's/^/| /' conftest.$ac_ext >&5
6654
 
 
6655
 
        ac_cv_header_stdc=no
6656
 
fi
6657
 
 
6658
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6659
 
 
6660
 
if test $ac_cv_header_stdc = yes; then
6661
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6662
 
  cat >conftest.$ac_ext <<_ACEOF
6663
 
/* confdefs.h.  */
6664
 
_ACEOF
6665
 
cat confdefs.h >>conftest.$ac_ext
6666
 
cat >>conftest.$ac_ext <<_ACEOF
6667
 
/* end confdefs.h.  */
6668
 
#include <string.h>
6669
 
 
6670
 
_ACEOF
6671
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6672
 
  $EGREP "memchr" >/dev/null 2>&1; then
6673
 
  :
6674
 
else
6675
 
  ac_cv_header_stdc=no
6676
 
fi
6677
 
rm -f conftest*
6678
 
 
6679
 
fi
6680
 
 
6681
 
if test $ac_cv_header_stdc = yes; then
6682
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6683
 
  cat >conftest.$ac_ext <<_ACEOF
6684
 
/* confdefs.h.  */
6685
 
_ACEOF
6686
 
cat confdefs.h >>conftest.$ac_ext
6687
 
cat >>conftest.$ac_ext <<_ACEOF
6688
 
/* end confdefs.h.  */
6689
 
#include <stdlib.h>
6690
 
 
6691
 
_ACEOF
6692
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6693
 
  $EGREP "free" >/dev/null 2>&1; then
6694
 
  :
6695
 
else
6696
 
  ac_cv_header_stdc=no
6697
 
fi
6698
 
rm -f conftest*
6699
 
 
6700
 
fi
6701
 
 
6702
 
if test $ac_cv_header_stdc = yes; then
6703
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6704
 
  if test "$cross_compiling" = yes; then
6705
 
  :
6706
 
else
6707
 
  cat >conftest.$ac_ext <<_ACEOF
6708
 
/* confdefs.h.  */
6709
 
_ACEOF
6710
 
cat confdefs.h >>conftest.$ac_ext
6711
 
cat >>conftest.$ac_ext <<_ACEOF
6712
 
/* end confdefs.h.  */
6713
 
#include <ctype.h>
6714
 
#include <stdlib.h>
6715
 
#if ((' ' & 0x0FF) == 0x020)
6716
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6717
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6718
 
#else
6719
 
# define ISLOWER(c) \
6720
 
                   (('a' <= (c) && (c) <= 'i') \
6721
 
                     || ('j' <= (c) && (c) <= 'r') \
6722
 
                     || ('s' <= (c) && (c) <= 'z'))
6723
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6724
 
#endif
6725
 
 
6726
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6727
 
int
6728
 
main ()
6729
 
{
6730
 
  int i;
6731
 
  for (i = 0; i < 256; i++)
6732
 
    if (XOR (islower (i), ISLOWER (i))
6733
 
        || toupper (i) != TOUPPER (i))
6734
 
      return 2;
6735
 
  return 0;
6736
 
}
6737
 
_ACEOF
6738
 
rm -f conftest$ac_exeext
6739
 
if { (ac_try="$ac_link"
6740
 
case "(($ac_try" in
6741
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6742
 
  *) ac_try_echo=$ac_try;;
6743
 
esac
6744
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6745
 
  (eval "$ac_link") 2>&5
6746
 
  ac_status=$?
6747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6749
 
  { (case "(($ac_try" in
6750
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6751
 
  *) ac_try_echo=$ac_try;;
6752
 
esac
6753
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6754
 
  (eval "$ac_try") 2>&5
6755
 
  ac_status=$?
6756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757
 
  (exit $ac_status); }; }; then
6758
 
  :
6759
 
else
6760
 
  echo "$as_me: program exited with status $ac_status" >&5
6761
 
echo "$as_me: failed program was:" >&5
6762
 
sed 's/^/| /' conftest.$ac_ext >&5
6763
 
 
6764
 
( exit $ac_status )
6765
 
ac_cv_header_stdc=no
6766
 
fi
6767
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6768
 
fi
6769
 
 
6770
 
 
6771
 
fi
6772
 
fi
6773
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6774
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6775
 
if test $ac_cv_header_stdc = yes; then
6776
 
  
6777
 
cat >>confdefs.h <<\_ACEOF
6778
 
@%:@define STDC_HEADERS 1
6779
 
_ACEOF
6780
 
 
6781
 
fi
6782
 
 
6783
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6784
 
 
6785
 
 
6786
 
 
6787
 
 
6788
 
 
6789
 
 
6790
 
 
6791
 
 
6792
 
 
6793
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6794
 
                  inttypes.h stdint.h unistd.h
6795
 
do
6796
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6797
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6798
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6799
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6800
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6801
 
else
6802
 
  cat >conftest.$ac_ext <<_ACEOF
6803
 
/* confdefs.h.  */
6804
 
_ACEOF
6805
 
cat confdefs.h >>conftest.$ac_ext
6806
 
cat >>conftest.$ac_ext <<_ACEOF
6807
 
/* end confdefs.h.  */
6808
 
$ac_includes_default
6809
 
 
6810
 
@%:@include <$ac_header>
6811
 
_ACEOF
6812
 
rm -f conftest.$ac_objext
6813
 
if { (ac_try="$ac_compile"
6814
 
case "(($ac_try" in
6815
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6816
 
  *) ac_try_echo=$ac_try;;
6817
 
esac
6818
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6819
 
  (eval "$ac_compile") 2>conftest.er1
6820
 
  ac_status=$?
6821
 
  grep -v '^ *+' conftest.er1 >conftest.err
6822
 
  rm -f conftest.er1
6823
 
  cat conftest.err >&5
6824
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825
 
  (exit $ac_status); } && {
6826
 
         test -z "$ac_c_werror_flag" ||
6827
 
         test ! -s conftest.err
6828
 
       } && test -s conftest.$ac_objext; then
6829
 
  eval "$as_ac_Header=yes"
6830
 
else
6831
 
  echo "$as_me: failed program was:" >&5
6832
 
sed 's/^/| /' conftest.$ac_ext >&5
6833
 
 
6834
 
        eval "$as_ac_Header=no"
6835
 
fi
6836
 
 
6837
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6838
 
fi
6839
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6840
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6841
 
echo "${ECHO_T}$ac_res" >&6; }
6842
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6843
 
  cat >>confdefs.h <<_ACEOF
6844
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6845
 
_ACEOF
6846
 
 
6847
 
fi
6848
 
 
6849
 
done
6850
 
 
6851
 
 
6852
 
 
6853
 
for ac_header in dlfcn.h
6854
 
do
6855
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6856
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6857
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6858
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6859
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6860
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6861
 
fi
6862
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6863
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6864
 
echo "${ECHO_T}$ac_res" >&6; }
6865
 
else
6866
 
  # Is the header compilable?
6867
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6868
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6869
 
cat >conftest.$ac_ext <<_ACEOF
6870
 
/* confdefs.h.  */
6871
 
_ACEOF
6872
 
cat confdefs.h >>conftest.$ac_ext
6873
 
cat >>conftest.$ac_ext <<_ACEOF
6874
 
/* end confdefs.h.  */
6875
 
$ac_includes_default
6876
 
@%:@include <$ac_header>
6877
 
_ACEOF
6878
 
rm -f conftest.$ac_objext
6879
 
if { (ac_try="$ac_compile"
6880
 
case "(($ac_try" in
6881
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6882
 
  *) ac_try_echo=$ac_try;;
6883
 
esac
6884
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6885
 
  (eval "$ac_compile") 2>conftest.er1
6886
 
  ac_status=$?
6887
 
  grep -v '^ *+' conftest.er1 >conftest.err
6888
 
  rm -f conftest.er1
6889
 
  cat conftest.err >&5
6890
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891
 
  (exit $ac_status); } && {
6892
 
         test -z "$ac_c_werror_flag" ||
6893
 
         test ! -s conftest.err
6894
 
       } && test -s conftest.$ac_objext; then
6895
 
  ac_header_compiler=yes
6896
 
else
6897
 
  echo "$as_me: failed program was:" >&5
6898
 
sed 's/^/| /' conftest.$ac_ext >&5
6899
 
 
6900
 
        ac_header_compiler=no
6901
 
fi
6902
 
 
6903
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6904
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6905
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
6906
 
 
6907
 
# Is the header present?
6908
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6909
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6910
 
cat >conftest.$ac_ext <<_ACEOF
6911
 
/* confdefs.h.  */
6912
 
_ACEOF
6913
 
cat confdefs.h >>conftest.$ac_ext
6914
 
cat >>conftest.$ac_ext <<_ACEOF
6915
 
/* end confdefs.h.  */
6916
 
@%:@include <$ac_header>
6917
 
_ACEOF
6918
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6919
 
case "(($ac_try" in
6920
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6921
 
  *) ac_try_echo=$ac_try;;
6922
 
esac
6923
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6924
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6925
 
  ac_status=$?
6926
 
  grep -v '^ *+' conftest.er1 >conftest.err
6927
 
  rm -f conftest.er1
6928
 
  cat conftest.err >&5
6929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930
 
  (exit $ac_status); } >/dev/null && {
6931
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6932
 
         test ! -s conftest.err
6933
 
       }; then
6934
 
  ac_header_preproc=yes
6935
 
else
6936
 
  echo "$as_me: failed program was:" >&5
6937
 
sed 's/^/| /' conftest.$ac_ext >&5
6938
 
 
6939
 
  ac_header_preproc=no
6940
 
fi
6941
 
 
6942
 
rm -f conftest.err conftest.$ac_ext
6943
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6944
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
6945
 
 
6946
 
# So?  What about this header?
6947
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6948
 
  yes:no: )
6949
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6950
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6951
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6952
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6953
 
    ac_header_preproc=yes
6954
 
    ;;
6955
 
  no:yes:* )
6956
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6957
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6958
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6959
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6960
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6961
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6962
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6963
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6964
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6965
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6966
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6967
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6968
 
    
6969
 
    ;;
6970
 
esac
6971
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6972
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6973
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6974
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6975
 
else
6976
 
  eval "$as_ac_Header=\$ac_header_preproc"
6977
 
fi
6978
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6979
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6980
 
echo "${ECHO_T}$ac_res" >&6; }
6981
 
 
6982
 
fi
6983
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6984
 
  cat >>confdefs.h <<_ACEOF
6985
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6986
 
_ACEOF
6987
 
 
6988
 
fi
6989
 
 
6990
 
done
6991
 
 
6992
 
 
6993
 
 
6994
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6995
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6996
 
    (test "X$CXX" != "Xg++"))) ; then
6997
 
  ac_ext=cpp
6998
 
ac_cpp='$CXXCPP $CPPFLAGS'
6999
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7000
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7001
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7002
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7003
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7004
 
if test -z "$CXXCPP"; then
7005
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7006
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7007
 
else
7008
 
      # Double quotes because CXXCPP needs to be expanded
7009
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7010
 
    do
7011
 
      ac_preproc_ok=false
7012
 
for ac_cxx_preproc_warn_flag in '' yes
7013
 
do
7014
 
  # Use a header file that comes with gcc, so configuring glibc
7015
 
  # with a fresh cross-compiler works.
7016
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7017
 
  # <limits.h> exists even on freestanding compilers.
7018
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7019
 
  # not just through cpp. "Syntax error" is here to catch this case.
7020
 
  cat >conftest.$ac_ext <<_ACEOF
7021
 
/* confdefs.h.  */
7022
 
_ACEOF
7023
 
cat confdefs.h >>conftest.$ac_ext
7024
 
cat >>conftest.$ac_ext <<_ACEOF
7025
 
/* end confdefs.h.  */
7026
 
@%:@ifdef __STDC__
7027
 
@%:@ include <limits.h>
7028
 
@%:@else
7029
 
@%:@ include <assert.h>
7030
 
@%:@endif
7031
 
                     Syntax error
7032
 
_ACEOF
7033
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7034
 
case "(($ac_try" in
7035
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7036
 
  *) ac_try_echo=$ac_try;;
7037
 
esac
7038
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7039
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7040
 
  ac_status=$?
7041
 
  grep -v '^ *+' conftest.er1 >conftest.err
7042
 
  rm -f conftest.er1
7043
 
  cat conftest.err >&5
7044
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045
 
  (exit $ac_status); } >/dev/null && {
7046
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7047
 
         test ! -s conftest.err
7048
 
       }; then
7049
 
  :
7050
 
else
7051
 
  echo "$as_me: failed program was:" >&5
7052
 
sed 's/^/| /' conftest.$ac_ext >&5
7053
 
 
7054
 
  # Broken: fails on valid input.
7055
 
continue
7056
 
fi
7057
 
 
7058
 
rm -f conftest.err conftest.$ac_ext
7059
 
 
7060
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7061
 
  # can be detected and how.
7062
 
  cat >conftest.$ac_ext <<_ACEOF
7063
 
/* confdefs.h.  */
7064
 
_ACEOF
7065
 
cat confdefs.h >>conftest.$ac_ext
7066
 
cat >>conftest.$ac_ext <<_ACEOF
7067
 
/* end confdefs.h.  */
7068
 
@%:@include <ac_nonexistent.h>
7069
 
_ACEOF
7070
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7071
 
case "(($ac_try" in
7072
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7073
 
  *) ac_try_echo=$ac_try;;
7074
 
esac
7075
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7076
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7077
 
  ac_status=$?
7078
 
  grep -v '^ *+' conftest.er1 >conftest.err
7079
 
  rm -f conftest.er1
7080
 
  cat conftest.err >&5
7081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082
 
  (exit $ac_status); } >/dev/null && {
7083
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7084
 
         test ! -s conftest.err
7085
 
       }; then
7086
 
  # Broken: success on invalid input.
7087
 
continue
7088
 
else
7089
 
  echo "$as_me: failed program was:" >&5
7090
 
sed 's/^/| /' conftest.$ac_ext >&5
7091
 
 
7092
 
  # Passes both tests.
7093
 
ac_preproc_ok=:
7094
 
break
7095
 
fi
7096
 
 
7097
 
rm -f conftest.err conftest.$ac_ext
7098
 
 
7099
 
done
7100
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7101
 
rm -f conftest.err conftest.$ac_ext
7102
 
if $ac_preproc_ok; then
7103
 
  break
7104
 
fi
7105
 
 
7106
 
    done
7107
 
    ac_cv_prog_CXXCPP=$CXXCPP
7108
 
  
7109
 
fi
7110
 
  CXXCPP=$ac_cv_prog_CXXCPP
7111
 
else
7112
 
  ac_cv_prog_CXXCPP=$CXXCPP
7113
 
fi
7114
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
7115
 
echo "${ECHO_T}$CXXCPP" >&6; }
7116
 
ac_preproc_ok=false
7117
 
for ac_cxx_preproc_warn_flag in '' yes
7118
 
do
7119
 
  # Use a header file that comes with gcc, so configuring glibc
7120
 
  # with a fresh cross-compiler works.
7121
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7122
 
  # <limits.h> exists even on freestanding compilers.
7123
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7124
 
  # not just through cpp. "Syntax error" is here to catch this case.
7125
 
  cat >conftest.$ac_ext <<_ACEOF
7126
 
/* confdefs.h.  */
7127
 
_ACEOF
7128
 
cat confdefs.h >>conftest.$ac_ext
7129
 
cat >>conftest.$ac_ext <<_ACEOF
7130
 
/* end confdefs.h.  */
7131
 
@%:@ifdef __STDC__
7132
 
@%:@ include <limits.h>
7133
 
@%:@else
7134
 
@%:@ include <assert.h>
7135
 
@%:@endif
7136
 
                     Syntax error
7137
 
_ACEOF
7138
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7139
 
case "(($ac_try" in
7140
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7141
 
  *) ac_try_echo=$ac_try;;
7142
 
esac
7143
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7144
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7145
 
  ac_status=$?
7146
 
  grep -v '^ *+' conftest.er1 >conftest.err
7147
 
  rm -f conftest.er1
7148
 
  cat conftest.err >&5
7149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150
 
  (exit $ac_status); } >/dev/null && {
7151
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7152
 
         test ! -s conftest.err
7153
 
       }; then
7154
 
  :
7155
 
else
7156
 
  echo "$as_me: failed program was:" >&5
7157
 
sed 's/^/| /' conftest.$ac_ext >&5
7158
 
 
7159
 
  # Broken: fails on valid input.
7160
 
continue
7161
 
fi
7162
 
 
7163
 
rm -f conftest.err conftest.$ac_ext
7164
 
 
7165
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7166
 
  # can be detected and how.
7167
 
  cat >conftest.$ac_ext <<_ACEOF
7168
 
/* confdefs.h.  */
7169
 
_ACEOF
7170
 
cat confdefs.h >>conftest.$ac_ext
7171
 
cat >>conftest.$ac_ext <<_ACEOF
7172
 
/* end confdefs.h.  */
7173
 
@%:@include <ac_nonexistent.h>
7174
 
_ACEOF
7175
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7176
 
case "(($ac_try" in
7177
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178
 
  *) ac_try_echo=$ac_try;;
7179
 
esac
7180
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7182
 
  ac_status=$?
7183
 
  grep -v '^ *+' conftest.er1 >conftest.err
7184
 
  rm -f conftest.er1
7185
 
  cat conftest.err >&5
7186
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187
 
  (exit $ac_status); } >/dev/null && {
7188
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7189
 
         test ! -s conftest.err
7190
 
       }; then
7191
 
  # Broken: success on invalid input.
7192
 
continue
7193
 
else
7194
 
  echo "$as_me: failed program was:" >&5
7195
 
sed 's/^/| /' conftest.$ac_ext >&5
7196
 
 
7197
 
  # Passes both tests.
7198
 
ac_preproc_ok=:
7199
 
break
7200
 
fi
7201
 
 
7202
 
rm -f conftest.err conftest.$ac_ext
7203
 
 
7204
 
done
7205
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7206
 
rm -f conftest.err conftest.$ac_ext
7207
 
if $ac_preproc_ok; then
7208
 
  :
7209
 
else
7210
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7211
 
See \`config.log' for more details." >&5
7212
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7213
 
See \`config.log' for more details." >&2;}
7214
 
   { (exit 1); exit 1; }; }
7215
 
fi
7216
 
 
7217
 
ac_ext=cpp
7218
 
ac_cpp='$CXXCPP $CPPFLAGS'
7219
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7220
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7221
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7222
 
 
7223
 
fi
7224
 
 
7225
 
 
7226
 
ac_ext=f
7227
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7228
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7229
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7230
 
if test -n "$ac_tool_prefix"; then
7231
 
  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
7232
 
  do
7233
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7234
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7235
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7236
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7237
 
if test "${ac_cv_prog_F77+set}" = set; then
7238
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7239
 
else
7240
 
  if test -n "$F77"; then
7241
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
7242
 
else
7243
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244
 
for as_dir in $PATH
7245
 
do
7246
 
  IFS=$as_save_IFS
7247
 
  test -z "$as_dir" && as_dir=.
7248
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7249
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7250
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7251
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7252
 
    break 2
7253
 
  fi
7254
 
done
7255
 
done
7256
 
IFS=$as_save_IFS
7257
 
 
7258
 
fi
7259
 
fi
7260
 
F77=$ac_cv_prog_F77
7261
 
if test -n "$F77"; then
7262
 
  { echo "$as_me:$LINENO: result: $F77" >&5
7263
 
echo "${ECHO_T}$F77" >&6; }
7264
 
else
7265
 
  { echo "$as_me:$LINENO: result: no" >&5
7266
 
echo "${ECHO_T}no" >&6; }
7267
 
fi
7268
 
 
7269
 
 
7270
 
    test -n "$F77" && break
7271
 
  done
7272
 
fi
7273
 
if test -z "$F77"; then
7274
 
  ac_ct_F77=$F77
7275
 
  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
7276
 
do
7277
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7278
 
set dummy $ac_prog; ac_word=$2
7279
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7280
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7281
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7282
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7283
 
else
7284
 
  if test -n "$ac_ct_F77"; then
7285
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7286
 
else
7287
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7288
 
for as_dir in $PATH
7289
 
do
7290
 
  IFS=$as_save_IFS
7291
 
  test -z "$as_dir" && as_dir=.
7292
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7293
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7294
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
7295
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7296
 
    break 2
7297
 
  fi
7298
 
done
7299
 
done
7300
 
IFS=$as_save_IFS
7301
 
 
7302
 
fi
7303
 
fi
7304
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7305
 
if test -n "$ac_ct_F77"; then
7306
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7307
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
7308
 
else
7309
 
  { echo "$as_me:$LINENO: result: no" >&5
7310
 
echo "${ECHO_T}no" >&6; }
7311
 
fi
7312
 
 
7313
 
 
7314
 
  test -n "$ac_ct_F77" && break
7315
 
done
7316
 
 
7317
 
  if test "x$ac_ct_F77" = x; then
7318
 
    F77=""
7319
 
  else
7320
 
    case $cross_compiling:$ac_tool_warned in
7321
 
yes:)
7322
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7323
 
whose name does not start with the host triplet.  If you think this
7324
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7325
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7326
 
whose name does not start with the host triplet.  If you think this
7327
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7328
 
ac_tool_warned=yes ;;
7329
 
esac
7330
 
    F77=$ac_ct_F77
7331
 
  fi
7332
 
fi
7333
 
 
7334
 
 
7335
 
# Provide some information about the compiler.
7336
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7337
 
ac_compiler=`set X $ac_compile; echo $2`
7338
 
{ (ac_try="$ac_compiler --version >&5"
7339
 
case "(($ac_try" in
7340
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7341
 
  *) ac_try_echo=$ac_try;;
7342
 
esac
7343
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7344
 
  (eval "$ac_compiler --version >&5") 2>&5
7345
 
  ac_status=$?
7346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347
 
  (exit $ac_status); }
7348
 
{ (ac_try="$ac_compiler -v >&5"
7349
 
case "(($ac_try" in
7350
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7351
 
  *) ac_try_echo=$ac_try;;
7352
 
esac
7353
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7354
 
  (eval "$ac_compiler -v >&5") 2>&5
7355
 
  ac_status=$?
7356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357
 
  (exit $ac_status); }
7358
 
{ (ac_try="$ac_compiler -V >&5"
7359
 
case "(($ac_try" in
7360
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7361
 
  *) ac_try_echo=$ac_try;;
7362
 
esac
7363
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7364
 
  (eval "$ac_compiler -V >&5") 2>&5
7365
 
  ac_status=$?
7366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367
 
  (exit $ac_status); }
7368
 
rm -f a.out
7369
 
 
7370
 
# If we don't use `.F' as extension, the preprocessor is not run on the
7371
 
# input file.  (Note that this only needs to work for GNU compilers.)
7372
 
ac_save_ext=$ac_ext
7373
 
ac_ext=F
7374
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7375
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7376
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7377
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7378
 
else
7379
 
  cat >conftest.$ac_ext <<_ACEOF
7380
 
      program main
7381
 
#ifndef __GNUC__
7382
 
       choke me
7383
 
#endif
7384
 
 
7385
 
      end
7386
 
_ACEOF
7387
 
rm -f conftest.$ac_objext
7388
 
if { (ac_try="$ac_compile"
7389
 
case "(($ac_try" in
7390
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7391
 
  *) ac_try_echo=$ac_try;;
7392
 
esac
7393
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7394
 
  (eval "$ac_compile") 2>conftest.er1
7395
 
  ac_status=$?
7396
 
  grep -v '^ *+' conftest.er1 >conftest.err
7397
 
  rm -f conftest.er1
7398
 
  cat conftest.err >&5
7399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400
 
  (exit $ac_status); } && {
7401
 
         test -z "$ac_f77_werror_flag" ||
7402
 
         test ! -s conftest.err
7403
 
       } && test -s conftest.$ac_objext; then
7404
 
  ac_compiler_gnu=yes
7405
 
else
7406
 
  echo "$as_me: failed program was:" >&5
7407
 
sed 's/^/| /' conftest.$ac_ext >&5
7408
 
 
7409
 
        ac_compiler_gnu=no
7410
 
fi
7411
 
 
7412
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7413
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7414
 
 
7415
 
fi
7416
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7417
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7418
 
ac_ext=$ac_save_ext
7419
 
ac_test_FFLAGS=${FFLAGS+set}
7420
 
ac_save_FFLAGS=$FFLAGS
7421
 
FFLAGS=
7422
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7423
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7424
 
if test "${ac_cv_prog_f77_g+set}" = set; then
7425
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7426
 
else
7427
 
  FFLAGS=-g
7428
 
cat >conftest.$ac_ext <<_ACEOF
7429
 
      program main
7430
 
 
7431
 
      end
7432
 
_ACEOF
7433
 
rm -f conftest.$ac_objext
7434
 
if { (ac_try="$ac_compile"
7435
 
case "(($ac_try" in
7436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437
 
  *) ac_try_echo=$ac_try;;
7438
 
esac
7439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440
 
  (eval "$ac_compile") 2>conftest.er1
7441
 
  ac_status=$?
7442
 
  grep -v '^ *+' conftest.er1 >conftest.err
7443
 
  rm -f conftest.er1
7444
 
  cat conftest.err >&5
7445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446
 
  (exit $ac_status); } && {
7447
 
         test -z "$ac_f77_werror_flag" ||
7448
 
         test ! -s conftest.err
7449
 
       } && test -s conftest.$ac_objext; then
7450
 
  ac_cv_prog_f77_g=yes
7451
 
else
7452
 
  echo "$as_me: failed program was:" >&5
7453
 
sed 's/^/| /' conftest.$ac_ext >&5
7454
 
 
7455
 
        ac_cv_prog_f77_g=no
7456
 
fi
7457
 
 
7458
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7459
 
 
7460
 
fi
7461
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7462
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7463
 
if test "$ac_test_FFLAGS" = set; then
7464
 
  FFLAGS=$ac_save_FFLAGS
7465
 
elif test $ac_cv_prog_f77_g = yes; then
7466
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7467
 
    FFLAGS="-g -O2"
7468
 
  else
7469
 
    FFLAGS="-g"
7470
 
  fi
7471
 
else
7472
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7473
 
    FFLAGS="-O2"
7474
 
  else
7475
 
    FFLAGS=
7476
 
  fi
7477
 
fi
7478
 
 
7479
 
G77=`test $ac_compiler_gnu = yes && echo yes`
7480
 
ac_ext=c
7481
 
ac_cpp='$CPP $CPPFLAGS'
7482
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7483
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7484
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7485
 
 
7486
 
 
7487
 
 
7488
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7489
 
 
7490
 
# find the maximum length of command line arguments
7491
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7492
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7493
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7494
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7495
 
else
7496
 
    i=0
7497
 
  teststring="ABCD"
7498
 
 
7499
 
  case $build_os in
7500
 
  msdosdjgpp*)
7501
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
7502
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
7503
 
    # during glob expansion).  Even if it were fixed, the result of this
7504
 
    # check would be larger than it should be.
7505
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7506
 
    ;;
7507
 
 
7508
 
  gnu*)
7509
 
    # Under GNU Hurd, this test is not required because there is
7510
 
    # no limit to the length of command line arguments.
7511
 
    # Libtool will interpret -1 as no limit whatsoever
7512
 
    lt_cv_sys_max_cmd_len=-1;
7513
 
    ;;
7514
 
 
7515
 
  cygwin* | mingw*)
7516
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
7517
 
    # about 5 minutes as the teststring grows exponentially.
7518
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
7519
 
    # you end up with a "frozen" computer, even though with patience
7520
 
    # the test eventually succeeds (with a max line length of 256k).
7521
 
    # Instead, let's just punt: use the minimum linelength reported by
7522
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
7523
 
    lt_cv_sys_max_cmd_len=8192;
7524
 
    ;;
7525
 
 
7526
 
  amigaos*)
7527
 
    # On AmigaOS with pdksh, this test takes hours, literally.
7528
 
    # So we just punt and use a minimum line length of 8192.
7529
 
    lt_cv_sys_max_cmd_len=8192;
7530
 
    ;;
7531
 
 
7532
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7533
 
    # This has been around since 386BSD, at least.  Likely further.
7534
 
    if test -x /sbin/sysctl; then
7535
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7536
 
    elif test -x /usr/sbin/sysctl; then
7537
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7538
 
    else
7539
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7540
 
    fi
7541
 
    # And add a safety zone
7542
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7543
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7544
 
    ;;
7545
 
 
7546
 
  interix*)
7547
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7548
 
    lt_cv_sys_max_cmd_len=196608
7549
 
    ;;
7550
 
 
7551
 
  osf*)
7552
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7553
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7554
 
    # nice to cause kernel panics so lets avoid the loop below.
7555
 
    # First set a reasonable default.
7556
 
    lt_cv_sys_max_cmd_len=16384
7557
 
    #
7558
 
    if test -x /sbin/sysconfig; then
7559
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7560
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7561
 
      esac
7562
 
    fi
7563
 
    ;;
7564
 
  sco3.2v5*)
7565
 
    lt_cv_sys_max_cmd_len=102400
7566
 
    ;;
7567
 
  sysv5* | sco5v6* | sysv4.2uw2*)
7568
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7569
 
    if test -n "$kargmax"; then
7570
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
7571
 
    else
7572
 
      lt_cv_sys_max_cmd_len=32768
7573
 
    fi
7574
 
    ;;
7575
 
  *)
7576
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7577
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
7578
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7579
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7580
 
    else
7581
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7582
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7583
 
               = "XX$teststring") >/dev/null 2>&1 &&
7584
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
7585
 
              lt_cv_sys_max_cmd_len=$new_result &&
7586
 
              test $i != 17 # 1/2 MB should be enough
7587
 
      do
7588
 
        i=`expr $i + 1`
7589
 
        teststring=$teststring$teststring
7590
 
      done
7591
 
      teststring=
7592
 
      # Add a significant safety factor because C++ compilers can tack on massive
7593
 
      # amounts of additional arguments before passing them to the linker.
7594
 
      # It appears as though 1/2 is a usable value.
7595
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7596
 
    fi
7597
 
    ;;
7598
 
  esac
7599
 
 
7600
 
fi
7601
 
 
7602
 
if test -n $lt_cv_sys_max_cmd_len ; then
7603
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7604
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7605
 
else
7606
 
  { echo "$as_me:$LINENO: result: none" >&5
7607
 
echo "${ECHO_T}none" >&6; }
7608
 
fi
7609
 
 
7610
 
 
7611
 
 
7612
 
 
7613
 
 
7614
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
7615
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7616
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7617
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7618
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7619
 
else
7620
 
  
7621
 
# These are sane defaults that work on at least a few old systems.
7622
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7623
 
 
7624
 
# Character class describing NM global symbol codes.
7625
 
symcode='[BCDEGRST]'
7626
 
 
7627
 
# Regexp to match symbols that can be accessed directly from C.
7628
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7629
 
 
7630
 
# Transform an extracted symbol line into a proper C declaration
7631
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7632
 
 
7633
 
# Transform an extracted symbol line into symbol name and symbol address
7634
 
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'"
7635
 
 
7636
 
# Define system-specific variables.
7637
 
case $host_os in
7638
 
aix*)
7639
 
  symcode='[BCDT]'
7640
 
  ;;
7641
 
cygwin* | mingw* | pw32*)
7642
 
  symcode='[ABCDGISTW]'
7643
 
  ;;
7644
 
hpux*) # Its linker distinguishes data from code symbols
7645
 
  if test "$host_cpu" = ia64; then
7646
 
    symcode='[ABCDEGRST]'
7647
 
  fi
7648
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7649
 
  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'"
7650
 
  ;;
7651
 
linux* | k*bsd*-gnu)
7652
 
  if test "$host_cpu" = ia64; then
7653
 
    symcode='[ABCDGIRSTW]'
7654
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7655
 
    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'"
7656
 
  fi
7657
 
  ;;
7658
 
irix* | nonstopux*)
7659
 
  symcode='[BCDEGRST]'
7660
 
  ;;
7661
 
osf*)
7662
 
  symcode='[BCDEGQRST]'
7663
 
  ;;
7664
 
solaris*)
7665
 
  symcode='[BDRT]'
7666
 
  ;;
7667
 
sco3.2v5*)
7668
 
  symcode='[DT]'
7669
 
  ;;
7670
 
sysv4.2uw2*)
7671
 
  symcode='[DT]'
7672
 
  ;;
7673
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7674
 
  symcode='[ABDT]'
7675
 
  ;;
7676
 
sysv4)
7677
 
  symcode='[DFNSTU]'
7678
 
  ;;
7679
 
esac
7680
 
 
7681
 
# Handle CRLF in mingw tool chain
7682
 
opt_cr=
7683
 
case $build_os in
7684
 
mingw*)
7685
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7686
 
  ;;
7687
 
esac
7688
 
 
7689
 
# If we're using GNU nm, then use its standard symbol codes.
7690
 
case `$NM -V 2>&1` in
7691
 
*GNU* | *'with BFD'*)
7692
 
  symcode='[ABCDGIRSTW]' ;;
7693
 
esac
7694
 
 
7695
 
# Try without a prefix undercore, then with it.
7696
 
for ac_symprfx in "" "_"; do
7697
 
 
7698
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7699
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7700
 
 
7701
 
  # Write the raw and C identifiers.
7702
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7703
 
 
7704
 
  # Check to see that the pipe works correctly.
7705
 
  pipe_works=no
7706
 
 
7707
 
  rm -f conftest*
7708
 
  cat > conftest.$ac_ext <<EOF
7709
 
#ifdef __cplusplus
7710
 
extern "C" {
7711
 
#endif
7712
 
char nm_test_var;
7713
 
void nm_test_func(){}
7714
 
#ifdef __cplusplus
7715
 
}
7716
 
#endif
7717
 
int main(){nm_test_var='a';nm_test_func();return(0);}
7718
 
EOF
7719
 
 
7720
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7721
 
  (eval $ac_compile) 2>&5
7722
 
  ac_status=$?
7723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724
 
  (exit $ac_status); }; then
7725
 
    # Now try to grab the symbols.
7726
 
    nlist=conftest.nm
7727
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7728
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7729
 
  ac_status=$?
7730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731
 
  (exit $ac_status); } && test -s "$nlist"; then
7732
 
      # Try sorting and uniquifying the output.
7733
 
      if sort "$nlist" | uniq > "$nlist"T; then
7734
 
        mv -f "$nlist"T "$nlist"
7735
 
      else
7736
 
        rm -f "$nlist"T
7737
 
      fi
7738
 
 
7739
 
      # Make sure that we snagged all the symbols we need.
7740
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
7741
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
7742
 
          cat <<EOF > conftest.$ac_ext
7743
 
#ifdef __cplusplus
7744
 
extern "C" {
7745
 
#endif
7746
 
 
7747
 
EOF
7748
 
          # Now generate the symbol file.
7749
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7750
 
 
7751
 
          cat <<EOF >> conftest.$ac_ext
7752
 
#if defined (__STDC__) && __STDC__
7753
 
# define lt_ptr_t void *
7754
 
#else
7755
 
# define lt_ptr_t char *
7756
 
# define const
7757
 
#endif
7758
 
 
7759
 
/* The mapping between symbol names and symbols. */
7760
 
const struct {
7761
 
  const char *name;
7762
 
  lt_ptr_t address;
7763
 
}
7764
 
lt_preloaded_symbols[] =
7765
 
{
7766
 
EOF
7767
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7768
 
          cat <<\EOF >> conftest.$ac_ext
7769
 
  {0, (lt_ptr_t) 0}
7770
 
};
7771
 
 
7772
 
#ifdef __cplusplus
7773
 
}
7774
 
#endif
7775
 
EOF
7776
 
          # Now try linking the two files.
7777
 
          mv conftest.$ac_objext conftstm.$ac_objext
7778
 
          lt_save_LIBS="$LIBS"
7779
 
          lt_save_CFLAGS="$CFLAGS"
7780
 
          LIBS="conftstm.$ac_objext"
7781
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7782
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7783
 
  (eval $ac_link) 2>&5
7784
 
  ac_status=$?
7785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
7787
 
            pipe_works=yes
7788
 
          fi
7789
 
          LIBS="$lt_save_LIBS"
7790
 
          CFLAGS="$lt_save_CFLAGS"
7791
 
        else
7792
 
          echo "cannot find nm_test_func in $nlist" >&5
7793
 
        fi
7794
 
      else
7795
 
        echo "cannot find nm_test_var in $nlist" >&5
7796
 
      fi
7797
 
    else
7798
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7799
 
    fi
7800
 
  else
7801
 
    echo "$progname: failed program was:" >&5
7802
 
    cat conftest.$ac_ext >&5
7803
 
  fi
7804
 
  rm -f conftest* conftst*
7805
 
 
7806
 
  # Do not use the global_symbol_pipe unless it works.
7807
 
  if test "$pipe_works" = yes; then
7808
 
    break
7809
 
  else
7810
 
    lt_cv_sys_global_symbol_pipe=
7811
 
  fi
7812
 
done
7813
 
 
7814
 
fi
7815
 
 
7816
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7817
 
  lt_cv_sys_global_symbol_to_cdecl=
7818
 
fi
7819
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7820
 
  { echo "$as_me:$LINENO: result: failed" >&5
7821
 
echo "${ECHO_T}failed" >&6; }
7822
 
else
7823
 
  { echo "$as_me:$LINENO: result: ok" >&5
7824
 
echo "${ECHO_T}ok" >&6; }
7825
 
fi
7826
 
 
7827
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
7828
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7829
 
if test "${lt_cv_objdir+set}" = set; then
7830
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7831
 
else
7832
 
  rm -f .libs 2>/dev/null
7833
 
mkdir .libs 2>/dev/null
7834
 
if test -d .libs; then
7835
 
  lt_cv_objdir=.libs
7836
 
else
7837
 
  # MS-DOS does not allow filenames that begin with a dot.
7838
 
  lt_cv_objdir=_libs
7839
 
fi
7840
 
rmdir .libs 2>/dev/null
7841
 
fi
7842
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7843
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
7844
 
objdir=$lt_cv_objdir
7845
 
 
7846
 
 
7847
 
 
7848
 
 
7849
 
 
7850
 
case $host_os in
7851
 
aix3*)
7852
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7853
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7854
 
  # vanish in a puff of smoke.
7855
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7856
 
    COLLECT_NAMES=
7857
 
    export COLLECT_NAMES
7858
 
  fi
7859
 
  ;;
7860
 
esac
7861
 
 
7862
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7863
 
# metacharacters that are still active within double-quoted strings.
7864
 
Xsed='sed -e 1s/^X//'
7865
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7866
 
 
7867
 
# Same as above, but do not quote variable references.
7868
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7869
 
 
7870
 
# Sed substitution to delay expansion of an escaped shell variable in a
7871
 
# double_quote_subst'ed string.
7872
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7873
 
 
7874
 
# Sed substitution to avoid accidental globbing in evaled expressions
7875
 
no_glob_subst='s/\*/\\\*/g'
7876
 
 
7877
 
# Constants:
7878
 
rm="rm -f"
7879
 
 
7880
 
# Global variables:
7881
 
default_ofile=libtool
7882
 
can_build_shared=yes
7883
 
 
7884
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7885
 
# which needs '.lib').
7886
 
libext=a
7887
 
ltmain="$ac_aux_dir/ltmain.sh"
7888
 
ofile="$default_ofile"
7889
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7890
 
 
7891
 
if test -n "$ac_tool_prefix"; then
7892
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7893
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7894
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7895
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7896
 
if test "${ac_cv_prog_AR+set}" = set; then
7897
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7898
 
else
7899
 
  if test -n "$AR"; then
7900
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7901
 
else
7902
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903
 
for as_dir in $PATH
7904
 
do
7905
 
  IFS=$as_save_IFS
7906
 
  test -z "$as_dir" && as_dir=.
7907
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7908
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7909
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7910
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7911
 
    break 2
7912
 
  fi
7913
 
done
7914
 
done
7915
 
IFS=$as_save_IFS
7916
 
 
7917
 
fi
7918
 
fi
7919
 
AR=$ac_cv_prog_AR
7920
 
if test -n "$AR"; then
7921
 
  { echo "$as_me:$LINENO: result: $AR" >&5
7922
 
echo "${ECHO_T}$AR" >&6; }
7923
 
else
7924
 
  { echo "$as_me:$LINENO: result: no" >&5
7925
 
echo "${ECHO_T}no" >&6; }
7926
 
fi
7927
 
 
7928
 
 
7929
 
fi
7930
 
if test -z "$ac_cv_prog_AR"; then
7931
 
  ac_ct_AR=$AR
7932
 
  # Extract the first word of "ar", so it can be a program name with args.
7933
 
set dummy ar; ac_word=$2
7934
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7935
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7936
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7937
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7938
 
else
7939
 
  if test -n "$ac_ct_AR"; then
7940
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7941
 
else
7942
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943
 
for as_dir in $PATH
7944
 
do
7945
 
  IFS=$as_save_IFS
7946
 
  test -z "$as_dir" && as_dir=.
7947
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7948
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7949
 
    ac_cv_prog_ac_ct_AR="ar"
7950
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7951
 
    break 2
7952
 
  fi
7953
 
done
7954
 
done
7955
 
IFS=$as_save_IFS
7956
 
 
7957
 
fi
7958
 
fi
7959
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7960
 
if test -n "$ac_ct_AR"; then
7961
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7962
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
7963
 
else
7964
 
  { echo "$as_me:$LINENO: result: no" >&5
7965
 
echo "${ECHO_T}no" >&6; }
7966
 
fi
7967
 
 
7968
 
  if test "x$ac_ct_AR" = x; then
7969
 
    AR="false"
7970
 
  else
7971
 
    case $cross_compiling:$ac_tool_warned in
7972
 
yes:)
7973
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7974
 
whose name does not start with the host triplet.  If you think this
7975
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7976
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7977
 
whose name does not start with the host triplet.  If you think this
7978
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7979
 
ac_tool_warned=yes ;;
7980
 
esac
7981
 
    AR=$ac_ct_AR
7982
 
  fi
7983
 
else
7984
 
  AR="$ac_cv_prog_AR"
7985
 
fi
7986
 
 
7987
 
if test -n "$ac_tool_prefix"; then
7988
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7989
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7990
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7991
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7992
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7993
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7994
 
else
7995
 
  if test -n "$RANLIB"; then
7996
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7997
 
else
7998
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7999
 
for as_dir in $PATH
8000
 
do
8001
 
  IFS=$as_save_IFS
8002
 
  test -z "$as_dir" && as_dir=.
8003
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8004
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8005
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8006
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8007
 
    break 2
8008
 
  fi
8009
 
done
8010
 
done
8011
 
IFS=$as_save_IFS
8012
 
 
8013
 
fi
8014
 
fi
8015
 
RANLIB=$ac_cv_prog_RANLIB
8016
 
if test -n "$RANLIB"; then
8017
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
8018
 
echo "${ECHO_T}$RANLIB" >&6; }
8019
 
else
8020
 
  { echo "$as_me:$LINENO: result: no" >&5
8021
 
echo "${ECHO_T}no" >&6; }
8022
 
fi
8023
 
 
8024
 
 
8025
 
fi
8026
 
if test -z "$ac_cv_prog_RANLIB"; then
8027
 
  ac_ct_RANLIB=$RANLIB
8028
 
  # Extract the first word of "ranlib", so it can be a program name with args.
8029
 
set dummy ranlib; ac_word=$2
8030
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8031
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8032
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8033
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8034
 
else
8035
 
  if test -n "$ac_ct_RANLIB"; then
8036
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8037
 
else
8038
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039
 
for as_dir in $PATH
8040
 
do
8041
 
  IFS=$as_save_IFS
8042
 
  test -z "$as_dir" && as_dir=.
8043
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8044
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8045
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8046
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8047
 
    break 2
8048
 
  fi
8049
 
done
8050
 
done
8051
 
IFS=$as_save_IFS
8052
 
 
8053
 
fi
8054
 
fi
8055
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8056
 
if test -n "$ac_ct_RANLIB"; then
8057
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8058
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8059
 
else
8060
 
  { echo "$as_me:$LINENO: result: no" >&5
8061
 
echo "${ECHO_T}no" >&6; }
8062
 
fi
8063
 
 
8064
 
  if test "x$ac_ct_RANLIB" = x; then
8065
 
    RANLIB=":"
8066
 
  else
8067
 
    case $cross_compiling:$ac_tool_warned in
8068
 
yes:)
8069
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8070
 
whose name does not start with the host triplet.  If you think this
8071
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8072
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8073
 
whose name does not start with the host triplet.  If you think this
8074
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8075
 
ac_tool_warned=yes ;;
8076
 
esac
8077
 
    RANLIB=$ac_ct_RANLIB
8078
 
  fi
8079
 
else
8080
 
  RANLIB="$ac_cv_prog_RANLIB"
8081
 
fi
8082
 
 
8083
 
if test -n "$ac_tool_prefix"; then
8084
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8085
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
8086
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8087
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8088
 
if test "${ac_cv_prog_STRIP+set}" = set; then
8089
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8090
 
else
8091
 
  if test -n "$STRIP"; then
8092
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8093
 
else
8094
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095
 
for as_dir in $PATH
8096
 
do
8097
 
  IFS=$as_save_IFS
8098
 
  test -z "$as_dir" && as_dir=.
8099
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8100
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8101
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8102
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8103
 
    break 2
8104
 
  fi
8105
 
done
8106
 
done
8107
 
IFS=$as_save_IFS
8108
 
 
8109
 
fi
8110
 
fi
8111
 
STRIP=$ac_cv_prog_STRIP
8112
 
if test -n "$STRIP"; then
8113
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
8114
 
echo "${ECHO_T}$STRIP" >&6; }
8115
 
else
8116
 
  { echo "$as_me:$LINENO: result: no" >&5
8117
 
echo "${ECHO_T}no" >&6; }
8118
 
fi
8119
 
 
8120
 
 
8121
 
fi
8122
 
if test -z "$ac_cv_prog_STRIP"; then
8123
 
  ac_ct_STRIP=$STRIP
8124
 
  # Extract the first word of "strip", so it can be a program name with args.
8125
 
set dummy strip; ac_word=$2
8126
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8127
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8128
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8129
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8130
 
else
8131
 
  if test -n "$ac_ct_STRIP"; then
8132
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8133
 
else
8134
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135
 
for as_dir in $PATH
8136
 
do
8137
 
  IFS=$as_save_IFS
8138
 
  test -z "$as_dir" && as_dir=.
8139
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8140
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8141
 
    ac_cv_prog_ac_ct_STRIP="strip"
8142
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8143
 
    break 2
8144
 
  fi
8145
 
done
8146
 
done
8147
 
IFS=$as_save_IFS
8148
 
 
8149
 
fi
8150
 
fi
8151
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8152
 
if test -n "$ac_ct_STRIP"; then
8153
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8154
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8155
 
else
8156
 
  { echo "$as_me:$LINENO: result: no" >&5
8157
 
echo "${ECHO_T}no" >&6; }
8158
 
fi
8159
 
 
8160
 
  if test "x$ac_ct_STRIP" = x; then
8161
 
    STRIP=":"
8162
 
  else
8163
 
    case $cross_compiling:$ac_tool_warned in
8164
 
yes:)
8165
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8166
 
whose name does not start with the host triplet.  If you think this
8167
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8168
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8169
 
whose name does not start with the host triplet.  If you think this
8170
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8171
 
ac_tool_warned=yes ;;
8172
 
esac
8173
 
    STRIP=$ac_ct_STRIP
8174
 
  fi
8175
 
else
8176
 
  STRIP="$ac_cv_prog_STRIP"
8177
 
fi
8178
 
 
8179
 
 
8180
 
old_CC="$CC"
8181
 
old_CFLAGS="$CFLAGS"
8182
 
 
8183
 
# Set sane defaults for various variables
8184
 
test -z "$AR" && AR=ar
8185
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
8186
 
test -z "$AS" && AS=as
8187
 
test -z "$CC" && CC=cc
8188
 
test -z "$LTCC" && LTCC=$CC
8189
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8190
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
8191
 
test -z "$LD" && LD=ld
8192
 
test -z "$LN_S" && LN_S="ln -s"
8193
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8194
 
test -z "$NM" && NM=nm
8195
 
test -z "$SED" && SED=sed
8196
 
test -z "$OBJDUMP" && OBJDUMP=objdump
8197
 
test -z "$RANLIB" && RANLIB=:
8198
 
test -z "$STRIP" && STRIP=:
8199
 
test -z "$ac_objext" && ac_objext=o
8200
 
 
8201
 
# Determine commands to create old-style static archives.
8202
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8203
 
old_postinstall_cmds='chmod 644 $oldlib'
8204
 
old_postuninstall_cmds=
8205
 
 
8206
 
if test -n "$RANLIB"; then
8207
 
  case $host_os in
8208
 
  openbsd*)
8209
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8210
 
    ;;
8211
 
  *)
8212
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8213
 
    ;;
8214
 
  esac
8215
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8216
 
fi
8217
 
 
8218
 
for cc_temp in $compiler""; do
8219
 
  case $cc_temp in
8220
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8221
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8222
 
    \-*) ;;
8223
 
    *) break;;
8224
 
  esac
8225
 
done
8226
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8227
 
 
8228
 
 
8229
 
# Only perform the check for file, if the check method requires it
8230
 
case $deplibs_check_method in
8231
 
file_magic*)
8232
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8233
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8234
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8235
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8236
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8237
 
else
8238
 
  case $MAGIC_CMD in
8239
 
[\\/*] |  ?:[\\/]*)
8240
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8241
 
  ;;
8242
 
*)
8243
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8244
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8245
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8246
 
  for ac_dir in $ac_dummy; do
8247
 
    IFS="$lt_save_ifs"
8248
 
    test -z "$ac_dir" && ac_dir=.
8249
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8250
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8251
 
      if test -n "$file_magic_test_file"; then
8252
 
        case $deplibs_check_method in
8253
 
        "file_magic "*)
8254
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8255
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8256
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8257
 
            $EGREP "$file_magic_regex" > /dev/null; then
8258
 
            :
8259
 
          else
8260
 
            cat <<EOF 1>&2
8261
 
 
8262
 
*** Warning: the command libtool uses to detect shared libraries,
8263
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8264
 
*** The result is that libtool may fail to recognize shared libraries
8265
 
*** as such.  This will affect the creation of libtool libraries that
8266
 
*** depend on shared libraries, but programs linked with such libtool
8267
 
*** libraries will work regardless of this problem.  Nevertheless, you
8268
 
*** may want to report the problem to your system manager and/or to
8269
 
*** bug-libtool@gnu.org
8270
 
 
8271
 
EOF
8272
 
          fi ;;
8273
 
        esac
8274
 
      fi
8275
 
      break
8276
 
    fi
8277
 
  done
8278
 
  IFS="$lt_save_ifs"
8279
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8280
 
  ;;
8281
 
esac
8282
 
fi
8283
 
 
8284
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8285
 
if test -n "$MAGIC_CMD"; then
8286
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8287
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8288
 
else
8289
 
  { echo "$as_me:$LINENO: result: no" >&5
8290
 
echo "${ECHO_T}no" >&6; }
8291
 
fi
8292
 
 
8293
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8294
 
  if test -n "$ac_tool_prefix"; then
8295
 
    { echo "$as_me:$LINENO: checking for file" >&5
8296
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8297
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8298
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8299
 
else
8300
 
  case $MAGIC_CMD in
8301
 
[\\/*] |  ?:[\\/]*)
8302
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8303
 
  ;;
8304
 
*)
8305
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8306
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8307
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8308
 
  for ac_dir in $ac_dummy; do
8309
 
    IFS="$lt_save_ifs"
8310
 
    test -z "$ac_dir" && ac_dir=.
8311
 
    if test -f $ac_dir/file; then
8312
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8313
 
      if test -n "$file_magic_test_file"; then
8314
 
        case $deplibs_check_method in
8315
 
        "file_magic "*)
8316
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8317
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8318
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8319
 
            $EGREP "$file_magic_regex" > /dev/null; then
8320
 
            :
8321
 
          else
8322
 
            cat <<EOF 1>&2
8323
 
 
8324
 
*** Warning: the command libtool uses to detect shared libraries,
8325
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8326
 
*** The result is that libtool may fail to recognize shared libraries
8327
 
*** as such.  This will affect the creation of libtool libraries that
8328
 
*** depend on shared libraries, but programs linked with such libtool
8329
 
*** libraries will work regardless of this problem.  Nevertheless, you
8330
 
*** may want to report the problem to your system manager and/or to
8331
 
*** bug-libtool@gnu.org
8332
 
 
8333
 
EOF
8334
 
          fi ;;
8335
 
        esac
8336
 
      fi
8337
 
      break
8338
 
    fi
8339
 
  done
8340
 
  IFS="$lt_save_ifs"
8341
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8342
 
  ;;
8343
 
esac
8344
 
fi
8345
 
 
8346
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8347
 
if test -n "$MAGIC_CMD"; then
8348
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8349
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8350
 
else
8351
 
  { echo "$as_me:$LINENO: result: no" >&5
8352
 
echo "${ECHO_T}no" >&6; }
8353
 
fi
8354
 
 
8355
 
  else
8356
 
    MAGIC_CMD=:
8357
 
  fi
8358
 
fi
8359
 
 
8360
 
  fi
8361
 
  ;;
8362
 
esac
8363
 
 
8364
 
enable_dlopen=no
8365
 
enable_win32_dll=no
8366
 
 
8367
 
# Check whether --enable-libtool-lock was given.
8368
 
if test "${enable_libtool_lock+set}" = set; then
8369
 
  enableval=$enable_libtool_lock; 
8370
 
fi
8371
 
 
8372
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8373
 
 
8374
 
 
8375
 
# Check whether --with-pic was given.
8376
 
if test "${with_pic+set}" = set; then
8377
 
  withval=$with_pic; pic_mode="$withval"
8378
 
else
8379
 
  pic_mode=default
8380
 
fi
8381
 
 
8382
 
test -z "$pic_mode" && pic_mode=default
8383
 
 
8384
 
# Use C for the default configuration in the libtool script
8385
 
tagname=
8386
 
lt_save_CC="$CC"
8387
 
ac_ext=c
8388
 
ac_cpp='$CPP $CPPFLAGS'
8389
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8390
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8391
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8392
 
 
8393
 
 
8394
 
# Source file extension for C test sources.
8395
 
ac_ext=c
8396
 
 
8397
 
# Object file extension for compiled C test sources.
8398
 
objext=o
8399
 
objext=$objext
8400
 
 
8401
 
# Code to be used in simple compile tests
8402
 
lt_simple_compile_test_code="int some_variable = 0;"
8403
 
 
8404
 
# Code to be used in simple link tests
8405
 
lt_simple_link_test_code='int main(){return(0);}'
8406
 
 
8407
 
 
8408
 
# If no C compiler was specified, use CC.
8409
 
LTCC=${LTCC-"$CC"}
8410
 
 
8411
 
# If no C compiler flags were specified, use CFLAGS.
8412
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8413
 
 
8414
 
# Allow CC to be a program name with arguments.
8415
 
compiler=$CC
8416
 
 
8417
 
 
8418
 
# save warnings/boilerplate of simple test code
8419
 
ac_outfile=conftest.$ac_objext
8420
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8421
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8422
 
_lt_compiler_boilerplate=`cat conftest.err`
8423
 
$rm conftest*
8424
 
 
8425
 
ac_outfile=conftest.$ac_objext
8426
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8427
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8428
 
_lt_linker_boilerplate=`cat conftest.err`
8429
 
$rm conftest*
8430
 
 
8431
 
 
8432
 
 
8433
 
lt_prog_compiler_no_builtin_flag=
8434
 
 
8435
 
if test "$GCC" = yes; then
8436
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8437
 
 
8438
 
  
8439
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8440
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8441
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8442
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8443
 
else
8444
 
  lt_cv_prog_compiler_rtti_exceptions=no
8445
 
  ac_outfile=conftest.$ac_objext
8446
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8447
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8448
 
   # Insert the option either (1) after the last *FLAGS variable, or
8449
 
   # (2) before a word containing "conftest.", or (3) at the end.
8450
 
   # Note that $ac_compile itself does not contain backslashes and begins
8451
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8452
 
   # The option is referenced via a variable to avoid confusing sed.
8453
 
   lt_compile=`echo "$ac_compile" | $SED \
8454
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8455
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8456
 
   -e 's:$: $lt_compiler_flag:'`
8457
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8458
 
   (eval "$lt_compile" 2>conftest.err)
8459
 
   ac_status=$?
8460
 
   cat conftest.err >&5
8461
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
8462
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8463
 
     # The compiler can only warn and ignore the option if not recognized
8464
 
     # So say no if there are warnings other than the usual output.
8465
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8466
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8467
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8468
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8469
 
     fi
8470
 
   fi
8471
 
   $rm conftest*
8472
 
 
8473
 
fi
8474
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8475
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8476
 
 
8477
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8478
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8479
 
else
8480
 
    :
8481
 
fi
8482
 
 
8483
 
fi
8484
 
 
8485
 
lt_prog_compiler_wl=
8486
 
lt_prog_compiler_pic=
8487
 
lt_prog_compiler_static=
8488
 
 
8489
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8490
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8491
 
 
8492
 
  if test "$GCC" = yes; then
8493
 
    lt_prog_compiler_wl='-Wl,'
8494
 
    lt_prog_compiler_static='-static'
8495
 
 
8496
 
    case $host_os in
8497
 
      aix*)
8498
 
      # All AIX code is PIC.
8499
 
      if test "$host_cpu" = ia64; then
8500
 
        # AIX 5 now supports IA64 processor
8501
 
        lt_prog_compiler_static='-Bstatic'
8502
 
      fi
8503
 
      ;;
8504
 
 
8505
 
    amigaos*)
8506
 
      # FIXME: we need at least 68020 code to build shared libraries, but
8507
 
      # adding the `-m68020' flag to GCC prevents building anything better,
8508
 
      # like `-m68040'.
8509
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8510
 
      ;;
8511
 
 
8512
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8513
 
      # PIC is the default for these OSes.
8514
 
      ;;
8515
 
 
8516
 
    mingw* | cygwin* | pw32* | os2*)
8517
 
      # This hack is so that the source file can tell whether it is being
8518
 
      # built for inclusion in a dll (and should export symbols for example).
8519
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8520
 
      # (--disable-auto-import) libraries
8521
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8522
 
      ;;
8523
 
 
8524
 
    darwin* | rhapsody*)
8525
 
      # PIC is the default on this platform
8526
 
      # Common symbols not allowed in MH_DYLIB files
8527
 
      lt_prog_compiler_pic='-fno-common'
8528
 
      ;;
8529
 
 
8530
 
    interix[3-9]*)
8531
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8532
 
      # Instead, we relocate shared libraries at runtime.
8533
 
      ;;
8534
 
 
8535
 
    msdosdjgpp*)
8536
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8537
 
      # on systems that don't support them.
8538
 
      lt_prog_compiler_can_build_shared=no
8539
 
      enable_shared=no
8540
 
      ;;
8541
 
 
8542
 
    sysv4*MP*)
8543
 
      if test -d /usr/nec; then
8544
 
        lt_prog_compiler_pic=-Kconform_pic
8545
 
      fi
8546
 
      ;;
8547
 
 
8548
 
    hpux*)
8549
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8550
 
      # not for PA HP-UX.
8551
 
      case $host_cpu in
8552
 
      hppa*64*|ia64*)
8553
 
        # +Z the default
8554
 
        ;;
8555
 
      *)
8556
 
        lt_prog_compiler_pic='-fPIC'
8557
 
        ;;
8558
 
      esac
8559
 
      ;;
8560
 
 
8561
 
    *)
8562
 
      lt_prog_compiler_pic='-fPIC'
8563
 
      ;;
8564
 
    esac
8565
 
  else
8566
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8567
 
    case $host_os in
8568
 
    aix*)
8569
 
      lt_prog_compiler_wl='-Wl,'
8570
 
      if test "$host_cpu" = ia64; then
8571
 
        # AIX 5 now supports IA64 processor
8572
 
        lt_prog_compiler_static='-Bstatic'
8573
 
      else
8574
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8575
 
      fi
8576
 
      ;;
8577
 
      darwin*)
8578
 
        # PIC is the default on this platform
8579
 
        # Common symbols not allowed in MH_DYLIB files
8580
 
       case $cc_basename in
8581
 
         xlc*)
8582
 
         lt_prog_compiler_pic='-qnocommon'
8583
 
         lt_prog_compiler_wl='-Wl,'
8584
 
         ;;
8585
 
       esac
8586
 
       ;;
8587
 
 
8588
 
    mingw* | cygwin* | pw32* | os2*)
8589
 
      # This hack is so that the source file can tell whether it is being
8590
 
      # built for inclusion in a dll (and should export symbols for example).
8591
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8592
 
      ;;
8593
 
 
8594
 
    hpux9* | hpux10* | hpux11*)
8595
 
      lt_prog_compiler_wl='-Wl,'
8596
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8597
 
      # not for PA HP-UX.
8598
 
      case $host_cpu in
8599
 
      hppa*64*|ia64*)
8600
 
        # +Z the default
8601
 
        ;;
8602
 
      *)
8603
 
        lt_prog_compiler_pic='+Z'
8604
 
        ;;
8605
 
      esac
8606
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8607
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8608
 
      ;;
8609
 
 
8610
 
    irix5* | irix6* | nonstopux*)
8611
 
      lt_prog_compiler_wl='-Wl,'
8612
 
      # PIC (with -KPIC) is the default.
8613
 
      lt_prog_compiler_static='-non_shared'
8614
 
      ;;
8615
 
 
8616
 
    newsos6)
8617
 
      lt_prog_compiler_pic='-KPIC'
8618
 
      lt_prog_compiler_static='-Bstatic'
8619
 
      ;;
8620
 
 
8621
 
    linux* | k*bsd*-gnu)
8622
 
      case $cc_basename in
8623
 
      icc* | ecc*)
8624
 
        lt_prog_compiler_wl='-Wl,'
8625
 
        lt_prog_compiler_pic='-KPIC'
8626
 
        lt_prog_compiler_static='-static'
8627
 
        ;;
8628
 
      pgcc* | pgf77* | pgf90* | pgf95*)
8629
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8630
 
        # which looks to be a dead project)
8631
 
        lt_prog_compiler_wl='-Wl,'
8632
 
        lt_prog_compiler_pic='-fpic'
8633
 
        lt_prog_compiler_static='-Bstatic'
8634
 
        ;;
8635
 
      ccc*)
8636
 
        lt_prog_compiler_wl='-Wl,'
8637
 
        # All Alpha code is PIC.
8638
 
        lt_prog_compiler_static='-non_shared'
8639
 
        ;;
8640
 
      *)
8641
 
        case `$CC -V 2>&1 | sed 5q` in
8642
 
        *Sun\ C*)
8643
 
          # Sun C 5.9
8644
 
          lt_prog_compiler_pic='-KPIC'
8645
 
          lt_prog_compiler_static='-Bstatic'
8646
 
          lt_prog_compiler_wl='-Wl,'
8647
 
          ;;
8648
 
        *Sun\ F*)
8649
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8650
 
          lt_prog_compiler_pic='-KPIC'
8651
 
          lt_prog_compiler_static='-Bstatic'
8652
 
          lt_prog_compiler_wl=''
8653
 
          ;;
8654
 
        esac
8655
 
        ;;
8656
 
      esac
8657
 
      ;;
8658
 
 
8659
 
    osf3* | osf4* | osf5*)
8660
 
      lt_prog_compiler_wl='-Wl,'
8661
 
      # All OSF/1 code is PIC.
8662
 
      lt_prog_compiler_static='-non_shared'
8663
 
      ;;
8664
 
 
8665
 
    rdos*)
8666
 
      lt_prog_compiler_static='-non_shared'
8667
 
      ;;
8668
 
 
8669
 
    solaris*)
8670
 
      lt_prog_compiler_pic='-KPIC'
8671
 
      lt_prog_compiler_static='-Bstatic'
8672
 
      case $cc_basename in
8673
 
      f77* | f90* | f95*)
8674
 
        lt_prog_compiler_wl='-Qoption ld ';;
8675
 
      *)
8676
 
        lt_prog_compiler_wl='-Wl,';;
8677
 
      esac
8678
 
      ;;
8679
 
 
8680
 
    sunos4*)
8681
 
      lt_prog_compiler_wl='-Qoption ld '
8682
 
      lt_prog_compiler_pic='-PIC'
8683
 
      lt_prog_compiler_static='-Bstatic'
8684
 
      ;;
8685
 
 
8686
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8687
 
      lt_prog_compiler_wl='-Wl,'
8688
 
      lt_prog_compiler_pic='-KPIC'
8689
 
      lt_prog_compiler_static='-Bstatic'
8690
 
      ;;
8691
 
 
8692
 
    sysv4*MP*)
8693
 
      if test -d /usr/nec ;then
8694
 
        lt_prog_compiler_pic='-Kconform_pic'
8695
 
        lt_prog_compiler_static='-Bstatic'
8696
 
      fi
8697
 
      ;;
8698
 
 
8699
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8700
 
      lt_prog_compiler_wl='-Wl,'
8701
 
      lt_prog_compiler_pic='-KPIC'
8702
 
      lt_prog_compiler_static='-Bstatic'
8703
 
      ;;
8704
 
 
8705
 
    unicos*)
8706
 
      lt_prog_compiler_wl='-Wl,'
8707
 
      lt_prog_compiler_can_build_shared=no
8708
 
      ;;
8709
 
 
8710
 
    uts4*)
8711
 
      lt_prog_compiler_pic='-pic'
8712
 
      lt_prog_compiler_static='-Bstatic'
8713
 
      ;;
8714
 
 
8715
 
    *)
8716
 
      lt_prog_compiler_can_build_shared=no
8717
 
      ;;
8718
 
    esac
8719
 
  fi
8720
 
 
8721
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8722
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8723
 
 
8724
 
#
8725
 
# Check to make sure the PIC flag actually works.
8726
 
#
8727
 
if test -n "$lt_prog_compiler_pic"; then
8728
 
  
8729
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8730
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8731
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
8732
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8733
 
else
8734
 
  lt_prog_compiler_pic_works=no
8735
 
  ac_outfile=conftest.$ac_objext
8736
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8737
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8738
 
   # Insert the option either (1) after the last *FLAGS variable, or
8739
 
   # (2) before a word containing "conftest.", or (3) at the end.
8740
 
   # Note that $ac_compile itself does not contain backslashes and begins
8741
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8742
 
   # The option is referenced via a variable to avoid confusing sed.
8743
 
   lt_compile=`echo "$ac_compile" | $SED \
8744
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8745
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8746
 
   -e 's:$: $lt_compiler_flag:'`
8747
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8748
 
   (eval "$lt_compile" 2>conftest.err)
8749
 
   ac_status=$?
8750
 
   cat conftest.err >&5
8751
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
8752
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8753
 
     # The compiler can only warn and ignore the option if not recognized
8754
 
     # So say no if there are warnings other than the usual output.
8755
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8756
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8757
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8758
 
       lt_prog_compiler_pic_works=yes
8759
 
     fi
8760
 
   fi
8761
 
   $rm conftest*
8762
 
 
8763
 
fi
8764
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8765
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8766
 
 
8767
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
8768
 
    case $lt_prog_compiler_pic in
8769
 
     "" | " "*) ;;
8770
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8771
 
     esac
8772
 
else
8773
 
    lt_prog_compiler_pic=
8774
 
     lt_prog_compiler_can_build_shared=no
8775
 
fi
8776
 
 
8777
 
fi
8778
 
case $host_os in
8779
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8780
 
  *djgpp*)
8781
 
    lt_prog_compiler_pic=
8782
 
    ;;
8783
 
  *)
8784
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8785
 
    ;;
8786
 
esac
8787
 
 
8788
 
#
8789
 
# Check to make sure the static flag actually works.
8790
 
#
8791
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8792
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8793
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8794
 
if test "${lt_prog_compiler_static_works+set}" = set; then
8795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8796
 
else
8797
 
  lt_prog_compiler_static_works=no
8798
 
   save_LDFLAGS="$LDFLAGS"
8799
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8800
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8801
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8802
 
     # The linker can only warn and ignore the option if not recognized
8803
 
     # So say no if there are warnings
8804
 
     if test -s conftest.err; then
8805
 
       # Append any errors to the config.log.
8806
 
       cat conftest.err 1>&5
8807
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8808
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8809
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8810
 
         lt_prog_compiler_static_works=yes
8811
 
       fi
8812
 
     else
8813
 
       lt_prog_compiler_static_works=yes
8814
 
     fi
8815
 
   fi
8816
 
   $rm conftest*
8817
 
   LDFLAGS="$save_LDFLAGS"
8818
 
 
8819
 
fi
8820
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8821
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8822
 
 
8823
 
if test x"$lt_prog_compiler_static_works" = xyes; then
8824
 
    :
8825
 
else
8826
 
    lt_prog_compiler_static=
8827
 
fi
8828
 
 
8829
 
 
8830
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8831
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8832
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8833
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8834
 
else
8835
 
  lt_cv_prog_compiler_c_o=no
8836
 
   $rm -r conftest 2>/dev/null
8837
 
   mkdir conftest
8838
 
   cd conftest
8839
 
   mkdir out
8840
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8841
 
 
8842
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8843
 
   # Insert the option either (1) after the last *FLAGS variable, or
8844
 
   # (2) before a word containing "conftest.", or (3) at the end.
8845
 
   # Note that $ac_compile itself does not contain backslashes and begins
8846
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8847
 
   lt_compile=`echo "$ac_compile" | $SED \
8848
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8849
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8850
 
   -e 's:$: $lt_compiler_flag:'`
8851
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8852
 
   (eval "$lt_compile" 2>out/conftest.err)
8853
 
   ac_status=$?
8854
 
   cat out/conftest.err >&5
8855
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
8856
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8857
 
   then
8858
 
     # The compiler can only warn and ignore the option if not recognized
8859
 
     # So say no if there are warnings
8860
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8861
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8862
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8863
 
       lt_cv_prog_compiler_c_o=yes
8864
 
     fi
8865
 
   fi
8866
 
   chmod u+w . 2>&5
8867
 
   $rm conftest*
8868
 
   # SGI C++ compiler will create directory out/ii_files/ for
8869
 
   # template instantiation
8870
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8871
 
   $rm out/* && rmdir out
8872
 
   cd ..
8873
 
   rmdir conftest
8874
 
   $rm conftest*
8875
 
 
8876
 
fi
8877
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8878
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8879
 
 
8880
 
 
8881
 
hard_links="nottested"
8882
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8883
 
  # do not overwrite the value of need_locks provided by the user
8884
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8885
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8886
 
  hard_links=yes
8887
 
  $rm conftest*
8888
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8889
 
  touch conftest.a
8890
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8891
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8892
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
8893
 
echo "${ECHO_T}$hard_links" >&6; }
8894
 
  if test "$hard_links" = no; then
8895
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8896
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8897
 
    need_locks=warn
8898
 
  fi
8899
 
else
8900
 
  need_locks=no
8901
 
fi
8902
 
 
8903
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8904
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8905
 
 
8906
 
  runpath_var=
8907
 
  allow_undefined_flag=
8908
 
  enable_shared_with_static_runtimes=no
8909
 
  archive_cmds=
8910
 
  archive_expsym_cmds=
8911
 
  old_archive_From_new_cmds=
8912
 
  old_archive_from_expsyms_cmds=
8913
 
  export_dynamic_flag_spec=
8914
 
  whole_archive_flag_spec=
8915
 
  thread_safe_flag_spec=
8916
 
  hardcode_libdir_flag_spec=
8917
 
  hardcode_libdir_flag_spec_ld=
8918
 
  hardcode_libdir_separator=
8919
 
  hardcode_direct=no
8920
 
  hardcode_minus_L=no
8921
 
  hardcode_shlibpath_var=unsupported
8922
 
  link_all_deplibs=unknown
8923
 
  hardcode_automatic=no
8924
 
  module_cmds=
8925
 
  module_expsym_cmds=
8926
 
  always_export_symbols=no
8927
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8928
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8929
 
  # included in the symbol list
8930
 
  include_expsyms=
8931
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8932
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8933
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8934
 
  # as well as any symbol that contains `d'.
8935
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8936
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8937
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8938
 
  # the symbol is explicitly referenced.  Since portable code cannot
8939
 
  # rely on this symbol name, it's probably fine to never include it in
8940
 
  # preloaded symbol tables.
8941
 
  extract_expsyms_cmds=
8942
 
  # Just being paranoid about ensuring that cc_basename is set.
8943
 
  for cc_temp in $compiler""; do
8944
 
  case $cc_temp in
8945
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8946
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8947
 
    \-*) ;;
8948
 
    *) break;;
8949
 
  esac
8950
 
done
8951
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8952
 
 
8953
 
  case $host_os in
8954
 
  cygwin* | mingw* | pw32*)
8955
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8956
 
    # When not using gcc, we currently assume that we are using
8957
 
    # Microsoft Visual C++.
8958
 
    if test "$GCC" != yes; then
8959
 
      with_gnu_ld=no
8960
 
    fi
8961
 
    ;;
8962
 
  interix*)
8963
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8964
 
    with_gnu_ld=yes
8965
 
    ;;
8966
 
  openbsd*)
8967
 
    with_gnu_ld=no
8968
 
    ;;
8969
 
  esac
8970
 
 
8971
 
  ld_shlibs=yes
8972
 
  if test "$with_gnu_ld" = yes; then
8973
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8974
 
    wlarc='${wl}'
8975
 
 
8976
 
    # Set some defaults for GNU ld with shared library support. These
8977
 
    # are reset later if shared libraries are not supported. Putting them
8978
 
    # here allows them to be overridden if necessary.
8979
 
    runpath_var=LD_RUN_PATH
8980
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8981
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8982
 
    # ancient GNU ld didn't support --whole-archive et. al.
8983
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8984
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8985
 
      else
8986
 
        whole_archive_flag_spec=
8987
 
    fi
8988
 
    supports_anon_versioning=no
8989
 
    case `$LD -v 2>/dev/null` in
8990
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8991
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8992
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8993
 
      *\ 2.11.*) ;; # other 2.11 versions
8994
 
      *) supports_anon_versioning=yes ;;
8995
 
    esac
8996
 
 
8997
 
    # See if GNU ld supports shared libraries.
8998
 
    case $host_os in
8999
 
    aix3* | aix4* | aix5*)
9000
 
      # On AIX/PPC, the GNU linker is very broken
9001
 
      if test "$host_cpu" != ia64; then
9002
 
        ld_shlibs=no
9003
 
        cat <<EOF 1>&2
9004
 
 
9005
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9006
 
*** to be unable to reliably create shared libraries on AIX.
9007
 
*** Therefore, libtool is disabling shared libraries support.  If you
9008
 
*** really care for shared libraries, you may want to modify your PATH
9009
 
*** so that a non-GNU linker is found, and then restart.
9010
 
 
9011
 
EOF
9012
 
      fi
9013
 
      ;;
9014
 
 
9015
 
    amigaos*)
9016
 
      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)'
9017
 
      hardcode_libdir_flag_spec='-L$libdir'
9018
 
      hardcode_minus_L=yes
9019
 
 
9020
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9021
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
9022
 
      # to version 4, is to share data among multiple programs linked
9023
 
      # with the same dynamic library.  Since this doesn't match the
9024
 
      # behavior of shared libraries on other platforms, we can't use
9025
 
      # them.
9026
 
      ld_shlibs=no
9027
 
      ;;
9028
 
 
9029
 
    beos*)
9030
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9031
 
        allow_undefined_flag=unsupported
9032
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9033
 
        # support --undefined.  This deserves some investigation.  FIXME
9034
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9035
 
      else
9036
 
        ld_shlibs=no
9037
 
      fi
9038
 
      ;;
9039
 
 
9040
 
    cygwin* | mingw* | pw32*)
9041
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9042
 
      # as there is no search path for DLLs.
9043
 
      hardcode_libdir_flag_spec='-L$libdir'
9044
 
      allow_undefined_flag=unsupported
9045
 
      always_export_symbols=no
9046
 
      enable_shared_with_static_runtimes=yes
9047
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9048
 
 
9049
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9050
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9051
 
        # If the export-symbols file already is a .def file (1st line
9052
 
        # is EXPORTS), use it as is; otherwise, prepend...
9053
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9054
 
          cp $export_symbols $output_objdir/$soname.def;
9055
 
        else
9056
 
          echo EXPORTS > $output_objdir/$soname.def;
9057
 
          cat $export_symbols >> $output_objdir/$soname.def;
9058
 
        fi~
9059
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9060
 
      else
9061
 
        ld_shlibs=no
9062
 
      fi
9063
 
      ;;
9064
 
 
9065
 
    interix[3-9]*)
9066
 
      hardcode_direct=no
9067
 
      hardcode_shlibpath_var=no
9068
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9069
 
      export_dynamic_flag_spec='${wl}-E'
9070
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9071
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9072
 
      # default) and relocated if they conflict, which is a slow very memory
9073
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9074
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9075
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9076
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9077
 
      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'
9078
 
      ;;
9079
 
 
9080
 
    gnu* | linux* | k*bsd*-gnu)
9081
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9082
 
        tmp_addflag=
9083
 
        case $cc_basename,$host_cpu in
9084
 
        pgcc*)                          # Portland Group C compiler
9085
 
          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'
9086
 
          tmp_addflag=' $pic_flag'
9087
 
          ;;
9088
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9089
 
          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'
9090
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9091
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
9092
 
          tmp_addflag=' -i_dynamic' ;;
9093
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9094
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9095
 
        ifc* | ifort*)                  # Intel Fortran compiler
9096
 
          tmp_addflag=' -nofor_main' ;;
9097
 
        esac
9098
 
        case `$CC -V 2>&1 | sed 5q` in
9099
 
        *Sun\ C*)                       # Sun C 5.9
9100
 
          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'
9101
 
          tmp_sharedflag='-G' ;;
9102
 
        *Sun\ F*)                       # Sun Fortran 8.3
9103
 
          tmp_sharedflag='-G' ;;
9104
 
        *)
9105
 
          tmp_sharedflag='-shared' ;;
9106
 
        esac
9107
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9108
 
 
9109
 
        if test $supports_anon_versioning = yes; then
9110
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9111
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9112
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9113
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9114
 
        fi
9115
 
        link_all_deplibs=no
9116
 
      else
9117
 
        ld_shlibs=no
9118
 
      fi
9119
 
      ;;
9120
 
 
9121
 
    netbsd* | netbsdelf*-gnu)
9122
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9123
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9124
 
        wlarc=
9125
 
      else
9126
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9127
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9128
 
      fi
9129
 
      ;;
9130
 
 
9131
 
    solaris*)
9132
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
9133
 
        ld_shlibs=no
9134
 
        cat <<EOF 1>&2
9135
 
 
9136
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9137
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9138
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9139
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9140
 
*** your PATH or compiler configuration so that the native linker is
9141
 
*** used, and then restart.
9142
 
 
9143
 
EOF
9144
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9145
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9146
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9147
 
      else
9148
 
        ld_shlibs=no
9149
 
      fi
9150
 
      ;;
9151
 
 
9152
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9153
 
      case `$LD -v 2>&1` in
9154
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9155
 
        ld_shlibs=no
9156
 
        cat <<_LT_EOF 1>&2
9157
 
 
9158
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9159
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9160
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9161
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9162
 
*** your PATH or compiler configuration so that the native linker is
9163
 
*** used, and then restart.
9164
 
 
9165
 
_LT_EOF
9166
 
        ;;
9167
 
        *)
9168
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9169
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9170
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9171
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9172
 
          else
9173
 
            ld_shlibs=no
9174
 
          fi
9175
 
        ;;
9176
 
      esac
9177
 
      ;;
9178
 
 
9179
 
    sunos4*)
9180
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9181
 
      wlarc=
9182
 
      hardcode_direct=yes
9183
 
      hardcode_shlibpath_var=no
9184
 
      ;;
9185
 
 
9186
 
    *)
9187
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9188
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9189
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9190
 
      else
9191
 
        ld_shlibs=no
9192
 
      fi
9193
 
      ;;
9194
 
    esac
9195
 
 
9196
 
    if test "$ld_shlibs" = no; then
9197
 
      runpath_var=
9198
 
      hardcode_libdir_flag_spec=
9199
 
      export_dynamic_flag_spec=
9200
 
      whole_archive_flag_spec=
9201
 
    fi
9202
 
  else
9203
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9204
 
    case $host_os in
9205
 
    aix3*)
9206
 
      allow_undefined_flag=unsupported
9207
 
      always_export_symbols=yes
9208
 
      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'
9209
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9210
 
      # are no directories specified by -L.
9211
 
      hardcode_minus_L=yes
9212
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9213
 
        # Neither direct hardcoding nor static linking is supported with a
9214
 
        # broken collect2.
9215
 
        hardcode_direct=unsupported
9216
 
      fi
9217
 
      ;;
9218
 
 
9219
 
    aix4* | aix5*)
9220
 
      if test "$host_cpu" = ia64; then
9221
 
        # On IA64, the linker does run time linking by default, so we don't
9222
 
        # have to do anything special.
9223
 
        aix_use_runtimelinking=no
9224
 
        exp_sym_flag='-Bexport'
9225
 
        no_entry_flag=""
9226
 
      else
9227
 
        # If we're using GNU nm, then we don't want the "-C" option.
9228
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9229
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9230
 
          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'
9231
 
        else
9232
 
          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'
9233
 
        fi
9234
 
        aix_use_runtimelinking=no
9235
 
 
9236
 
        # Test if we are trying to use run time linking or normal
9237
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9238
 
        # need to do runtime linking.
9239
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9240
 
          for ld_flag in $LDFLAGS; do
9241
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9242
 
            aix_use_runtimelinking=yes
9243
 
            break
9244
 
          fi
9245
 
          done
9246
 
          ;;
9247
 
        esac
9248
 
 
9249
 
        exp_sym_flag='-bexport'
9250
 
        no_entry_flag='-bnoentry'
9251
 
      fi
9252
 
 
9253
 
      # When large executables or shared objects are built, AIX ld can
9254
 
      # have problems creating the table of contents.  If linking a library
9255
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9256
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9257
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9258
 
 
9259
 
      archive_cmds=''
9260
 
      hardcode_direct=yes
9261
 
      hardcode_libdir_separator=':'
9262
 
      link_all_deplibs=yes
9263
 
 
9264
 
      if test "$GCC" = yes; then
9265
 
        case $host_os in aix4.[012]|aix4.[012].*)
9266
 
        # We only want to do this on AIX 4.2 and lower, the check
9267
 
        # below for broken collect2 doesn't work under 4.3+
9268
 
          collect2name=`${CC} -print-prog-name=collect2`
9269
 
          if test -f "$collect2name" && \
9270
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9271
 
          then
9272
 
          # We have reworked collect2
9273
 
          :
9274
 
          else
9275
 
          # We have old collect2
9276
 
          hardcode_direct=unsupported
9277
 
          # It fails to find uninstalled libraries when the uninstalled
9278
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9279
 
          # to unsupported forces relinking
9280
 
          hardcode_minus_L=yes
9281
 
          hardcode_libdir_flag_spec='-L$libdir'
9282
 
          hardcode_libdir_separator=
9283
 
          fi
9284
 
          ;;
9285
 
        esac
9286
 
        shared_flag='-shared'
9287
 
        if test "$aix_use_runtimelinking" = yes; then
9288
 
          shared_flag="$shared_flag "'${wl}-G'
9289
 
        fi
9290
 
      else
9291
 
        # not using gcc
9292
 
        if test "$host_cpu" = ia64; then
9293
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9294
 
        # chokes on -Wl,-G. The following line is correct:
9295
 
          shared_flag='-G'
9296
 
        else
9297
 
          if test "$aix_use_runtimelinking" = yes; then
9298
 
            shared_flag='${wl}-G'
9299
 
          else
9300
 
            shared_flag='${wl}-bM:SRE'
9301
 
          fi
9302
 
        fi
9303
 
      fi
9304
 
 
9305
 
      # It seems that -bexpall does not export symbols beginning with
9306
 
      # underscore (_), so it is better to generate a list of symbols to export.
9307
 
      always_export_symbols=yes
9308
 
      if test "$aix_use_runtimelinking" = yes; then
9309
 
        # Warning - without using the other runtime loading flags (-brtl),
9310
 
        # -berok will link without error, but may produce a broken library.
9311
 
        allow_undefined_flag='-berok'
9312
 
       # Determine the default libpath from the value encoded in an empty executable.
9313
 
       cat >conftest.$ac_ext <<_ACEOF
9314
 
/* confdefs.h.  */
9315
 
_ACEOF
9316
 
cat confdefs.h >>conftest.$ac_ext
9317
 
cat >>conftest.$ac_ext <<_ACEOF
9318
 
/* end confdefs.h.  */
9319
 
 
9320
 
int
9321
 
main ()
9322
 
{
9323
 
 
9324
 
  ;
9325
 
  return 0;
9326
 
}
9327
 
_ACEOF
9328
 
rm -f conftest.$ac_objext conftest$ac_exeext
9329
 
if { (ac_try="$ac_link"
9330
 
case "(($ac_try" in
9331
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9332
 
  *) ac_try_echo=$ac_try;;
9333
 
esac
9334
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9335
 
  (eval "$ac_link") 2>conftest.er1
9336
 
  ac_status=$?
9337
 
  grep -v '^ *+' conftest.er1 >conftest.err
9338
 
  rm -f conftest.er1
9339
 
  cat conftest.err >&5
9340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341
 
  (exit $ac_status); } && {
9342
 
         test -z "$ac_c_werror_flag" ||
9343
 
         test ! -s conftest.err
9344
 
       } && test -s conftest$ac_exeext &&
9345
 
       $as_test_x conftest$ac_exeext; then
9346
 
  
9347
 
lt_aix_libpath_sed='
9348
 
    /Import File Strings/,/^$/ {
9349
 
        /^0/ {
9350
 
            s/^0  *\(.*\)$/\1/
9351
 
            p
9352
 
        }
9353
 
    }'
9354
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9355
 
# Check for a 64-bit object if we didn't find anything.
9356
 
if test -z "$aix_libpath"; then
9357
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9358
 
fi
9359
 
else
9360
 
  echo "$as_me: failed program was:" >&5
9361
 
sed 's/^/| /' conftest.$ac_ext >&5
9362
 
 
9363
 
        
9364
 
fi
9365
 
 
9366
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9367
 
      conftest$ac_exeext conftest.$ac_ext
9368
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9369
 
 
9370
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9371
 
        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"
9372
 
       else
9373
 
        if test "$host_cpu" = ia64; then
9374
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9375
 
          allow_undefined_flag="-z nodefs"
9376
 
          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"
9377
 
        else
9378
 
         # Determine the default libpath from the value encoded in an empty executable.
9379
 
         cat >conftest.$ac_ext <<_ACEOF
9380
 
/* confdefs.h.  */
9381
 
_ACEOF
9382
 
cat confdefs.h >>conftest.$ac_ext
9383
 
cat >>conftest.$ac_ext <<_ACEOF
9384
 
/* end confdefs.h.  */
9385
 
 
9386
 
int
9387
 
main ()
9388
 
{
9389
 
 
9390
 
  ;
9391
 
  return 0;
9392
 
}
9393
 
_ACEOF
9394
 
rm -f conftest.$ac_objext conftest$ac_exeext
9395
 
if { (ac_try="$ac_link"
9396
 
case "(($ac_try" in
9397
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9398
 
  *) ac_try_echo=$ac_try;;
9399
 
esac
9400
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9401
 
  (eval "$ac_link") 2>conftest.er1
9402
 
  ac_status=$?
9403
 
  grep -v '^ *+' conftest.er1 >conftest.err
9404
 
  rm -f conftest.er1
9405
 
  cat conftest.err >&5
9406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407
 
  (exit $ac_status); } && {
9408
 
         test -z "$ac_c_werror_flag" ||
9409
 
         test ! -s conftest.err
9410
 
       } && test -s conftest$ac_exeext &&
9411
 
       $as_test_x conftest$ac_exeext; then
9412
 
  
9413
 
lt_aix_libpath_sed='
9414
 
    /Import File Strings/,/^$/ {
9415
 
        /^0/ {
9416
 
            s/^0  *\(.*\)$/\1/
9417
 
            p
9418
 
        }
9419
 
    }'
9420
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9421
 
# Check for a 64-bit object if we didn't find anything.
9422
 
if test -z "$aix_libpath"; then
9423
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9424
 
fi
9425
 
else
9426
 
  echo "$as_me: failed program was:" >&5
9427
 
sed 's/^/| /' conftest.$ac_ext >&5
9428
 
 
9429
 
        
9430
 
fi
9431
 
 
9432
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9433
 
      conftest$ac_exeext conftest.$ac_ext
9434
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9435
 
 
9436
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9437
 
          # Warning - without using the other run time loading flags,
9438
 
          # -berok will link without error, but may produce a broken library.
9439
 
          no_undefined_flag=' ${wl}-bernotok'
9440
 
          allow_undefined_flag=' ${wl}-berok'
9441
 
          # Exported symbols can be pulled into shared objects from archives
9442
 
          whole_archive_flag_spec='$convenience'
9443
 
          archive_cmds_need_lc=yes
9444
 
          # This is similar to how AIX traditionally builds its shared libraries.
9445
 
          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'
9446
 
        fi
9447
 
      fi
9448
 
      ;;
9449
 
 
9450
 
    amigaos*)
9451
 
      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)'
9452
 
      hardcode_libdir_flag_spec='-L$libdir'
9453
 
      hardcode_minus_L=yes
9454
 
      # see comment about different semantics on the GNU ld section
9455
 
      ld_shlibs=no
9456
 
      ;;
9457
 
 
9458
 
    bsdi[45]*)
9459
 
      export_dynamic_flag_spec=-rdynamic
9460
 
      ;;
9461
 
 
9462
 
    cygwin* | mingw* | pw32*)
9463
 
      # When not using gcc, we currently assume that we are using
9464
 
      # Microsoft Visual C++.
9465
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9466
 
      # no search path for DLLs.
9467
 
      hardcode_libdir_flag_spec=' '
9468
 
      allow_undefined_flag=unsupported
9469
 
      # Tell ltmain to make .lib files, not .a files.
9470
 
      libext=lib
9471
 
      # Tell ltmain to make .dll files, not .so files.
9472
 
      shrext_cmds=".dll"
9473
 
      # FIXME: Setting linknames here is a bad hack.
9474
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9475
 
      # The linker will automatically build a .lib file if we build a DLL.
9476
 
      old_archive_From_new_cmds='true'
9477
 
      # FIXME: Should let the user specify the lib program.
9478
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9479
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9480
 
      enable_shared_with_static_runtimes=yes
9481
 
      ;;
9482
 
 
9483
 
    darwin* | rhapsody*)
9484
 
      case $host_os in
9485
 
        rhapsody* | darwin1.[012])
9486
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9487
 
         ;;
9488
 
       *) # Darwin 1.3 on
9489
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9490
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9491
 
         else
9492
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
9493
 
             10.[012])
9494
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9495
 
               ;;
9496
 
             10.*)
9497
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9498
 
               ;;
9499
 
           esac
9500
 
         fi
9501
 
         ;;
9502
 
      esac
9503
 
      archive_cmds_need_lc=no
9504
 
      hardcode_direct=no
9505
 
      hardcode_automatic=yes
9506
 
      hardcode_shlibpath_var=unsupported
9507
 
      whole_archive_flag_spec=''
9508
 
      link_all_deplibs=yes
9509
 
    if test "$GCC" = yes ; then
9510
 
        output_verbose_link_cmd='echo'
9511
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9512
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9513
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9514
 
      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}'
9515
 
      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}'
9516
 
    else
9517
 
      case $cc_basename in
9518
 
        xlc*)
9519
 
         output_verbose_link_cmd='echo'
9520
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9521
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9522
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9523
 
         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}'
9524
 
          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}'
9525
 
          ;;
9526
 
       *)
9527
 
         ld_shlibs=no
9528
 
          ;;
9529
 
      esac
9530
 
    fi
9531
 
      ;;
9532
 
 
9533
 
    dgux*)
9534
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9535
 
      hardcode_libdir_flag_spec='-L$libdir'
9536
 
      hardcode_shlibpath_var=no
9537
 
      ;;
9538
 
 
9539
 
    freebsd1*)
9540
 
      ld_shlibs=no
9541
 
      ;;
9542
 
 
9543
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9544
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9545
 
    # does not break anything, and helps significantly (at the cost of a little
9546
 
    # extra space).
9547
 
    freebsd2.2*)
9548
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9549
 
      hardcode_libdir_flag_spec='-R$libdir'
9550
 
      hardcode_direct=yes
9551
 
      hardcode_shlibpath_var=no
9552
 
      ;;
9553
 
 
9554
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9555
 
    freebsd2*)
9556
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9557
 
      hardcode_direct=yes
9558
 
      hardcode_minus_L=yes
9559
 
      hardcode_shlibpath_var=no
9560
 
      ;;
9561
 
 
9562
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9563
 
    freebsd* | dragonfly*)
9564
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9565
 
      hardcode_libdir_flag_spec='-R$libdir'
9566
 
      hardcode_direct=yes
9567
 
      hardcode_shlibpath_var=no
9568
 
      ;;
9569
 
 
9570
 
    hpux9*)
9571
 
      if test "$GCC" = yes; then
9572
 
        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'
9573
 
      else
9574
 
        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'
9575
 
      fi
9576
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9577
 
      hardcode_libdir_separator=:
9578
 
      hardcode_direct=yes
9579
 
 
9580
 
      # hardcode_minus_L: Not really in the search PATH,
9581
 
      # but as the default location of the library.
9582
 
      hardcode_minus_L=yes
9583
 
      export_dynamic_flag_spec='${wl}-E'
9584
 
      ;;
9585
 
 
9586
 
    hpux10*)
9587
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9588
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9589
 
      else
9590
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9591
 
      fi
9592
 
      if test "$with_gnu_ld" = no; then
9593
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9594
 
        hardcode_libdir_separator=:
9595
 
 
9596
 
        hardcode_direct=yes
9597
 
        export_dynamic_flag_spec='${wl}-E'
9598
 
 
9599
 
        # hardcode_minus_L: Not really in the search PATH,
9600
 
        # but as the default location of the library.
9601
 
        hardcode_minus_L=yes
9602
 
      fi
9603
 
      ;;
9604
 
 
9605
 
    hpux11*)
9606
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9607
 
        case $host_cpu in
9608
 
        hppa*64*)
9609
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9610
 
          ;;
9611
 
        ia64*)
9612
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9613
 
          ;;
9614
 
        *)
9615
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9616
 
          ;;
9617
 
        esac
9618
 
      else
9619
 
        case $host_cpu in
9620
 
        hppa*64*)
9621
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9622
 
          ;;
9623
 
        ia64*)
9624
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9625
 
          ;;
9626
 
        *)
9627
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9628
 
          ;;
9629
 
        esac
9630
 
      fi
9631
 
      if test "$with_gnu_ld" = no; then
9632
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9633
 
        hardcode_libdir_separator=:
9634
 
 
9635
 
        case $host_cpu in
9636
 
        hppa*64*|ia64*)
9637
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
9638
 
          hardcode_direct=no
9639
 
          hardcode_shlibpath_var=no
9640
 
          ;;
9641
 
        *)
9642
 
          hardcode_direct=yes
9643
 
          export_dynamic_flag_spec='${wl}-E'
9644
 
 
9645
 
          # hardcode_minus_L: Not really in the search PATH,
9646
 
          # but as the default location of the library.
9647
 
          hardcode_minus_L=yes
9648
 
          ;;
9649
 
        esac
9650
 
      fi
9651
 
      ;;
9652
 
 
9653
 
    irix5* | irix6* | nonstopux*)
9654
 
      if test "$GCC" = yes; then
9655
 
        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'
9656
 
      else
9657
 
        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'
9658
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
9659
 
      fi
9660
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9661
 
      hardcode_libdir_separator=:
9662
 
      link_all_deplibs=yes
9663
 
      ;;
9664
 
 
9665
 
    netbsd* | netbsdelf*-gnu)
9666
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9667
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9668
 
      else
9669
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9670
 
      fi
9671
 
      hardcode_libdir_flag_spec='-R$libdir'
9672
 
      hardcode_direct=yes
9673
 
      hardcode_shlibpath_var=no
9674
 
      ;;
9675
 
 
9676
 
    newsos6)
9677
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9678
 
      hardcode_direct=yes
9679
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9680
 
      hardcode_libdir_separator=:
9681
 
      hardcode_shlibpath_var=no
9682
 
      ;;
9683
 
 
9684
 
    openbsd*)
9685
 
      if test -f /usr/libexec/ld.so; then
9686
 
        hardcode_direct=yes
9687
 
        hardcode_shlibpath_var=no
9688
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9689
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9690
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9691
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9692
 
          export_dynamic_flag_spec='${wl}-E'
9693
 
        else
9694
 
          case $host_os in
9695
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9696
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9697
 
             hardcode_libdir_flag_spec='-R$libdir'
9698
 
             ;;
9699
 
           *)
9700
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9701
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9702
 
             ;;
9703
 
          esac
9704
 
        fi
9705
 
      else
9706
 
        ld_shlibs=no
9707
 
      fi
9708
 
      ;;
9709
 
 
9710
 
    os2*)
9711
 
      hardcode_libdir_flag_spec='-L$libdir'
9712
 
      hardcode_minus_L=yes
9713
 
      allow_undefined_flag=unsupported
9714
 
      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'
9715
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9716
 
      ;;
9717
 
 
9718
 
    osf3*)
9719
 
      if test "$GCC" = yes; then
9720
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9721
 
        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'
9722
 
      else
9723
 
        allow_undefined_flag=' -expect_unresolved \*'
9724
 
        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'
9725
 
      fi
9726
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9727
 
      hardcode_libdir_separator=:
9728
 
      ;;
9729
 
 
9730
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9731
 
      if test "$GCC" = yes; then
9732
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9733
 
        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'
9734
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9735
 
      else
9736
 
        allow_undefined_flag=' -expect_unresolved \*'
9737
 
        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'
9738
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9739
 
        $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'
9740
 
 
9741
 
        # Both c and cxx compiler support -rpath directly
9742
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9743
 
      fi
9744
 
      hardcode_libdir_separator=:
9745
 
      ;;
9746
 
 
9747
 
    solaris*)
9748
 
      no_undefined_flag=' -z text'
9749
 
      if test "$GCC" = yes; then
9750
 
        wlarc='${wl}'
9751
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9752
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9753
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9754
 
      else
9755
 
        wlarc=''
9756
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9757
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9758
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9759
 
      fi
9760
 
      hardcode_libdir_flag_spec='-R$libdir'
9761
 
      hardcode_shlibpath_var=no
9762
 
      case $host_os in
9763
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9764
 
      *)
9765
 
        # The compiler driver will combine and reorder linker options,
9766
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9767
 
        # but is careful enough not to reorder.
9768
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9769
 
        if test "$GCC" = yes; then
9770
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9771
 
        else
9772
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9773
 
        fi
9774
 
        ;;
9775
 
      esac
9776
 
      link_all_deplibs=yes
9777
 
      ;;
9778
 
 
9779
 
    sunos4*)
9780
 
      if test "x$host_vendor" = xsequent; then
9781
 
        # Use $CC to link under sequent, because it throws in some extra .o
9782
 
        # files that make .init and .fini sections work.
9783
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9784
 
      else
9785
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9786
 
      fi
9787
 
      hardcode_libdir_flag_spec='-L$libdir'
9788
 
      hardcode_direct=yes
9789
 
      hardcode_minus_L=yes
9790
 
      hardcode_shlibpath_var=no
9791
 
      ;;
9792
 
 
9793
 
    sysv4)
9794
 
      case $host_vendor in
9795
 
        sni)
9796
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797
 
          hardcode_direct=yes # is this really true???
9798
 
        ;;
9799
 
        siemens)
9800
 
          ## LD is ld it makes a PLAMLIB
9801
 
          ## CC just makes a GrossModule.
9802
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9803
 
          reload_cmds='$CC -r -o $output$reload_objs'
9804
 
          hardcode_direct=no
9805
 
        ;;
9806
 
        motorola)
9807
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9809
 
        ;;
9810
 
      esac
9811
 
      runpath_var='LD_RUN_PATH'
9812
 
      hardcode_shlibpath_var=no
9813
 
      ;;
9814
 
 
9815
 
    sysv4.3*)
9816
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9817
 
      hardcode_shlibpath_var=no
9818
 
      export_dynamic_flag_spec='-Bexport'
9819
 
      ;;
9820
 
 
9821
 
    sysv4*MP*)
9822
 
      if test -d /usr/nec; then
9823
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9824
 
        hardcode_shlibpath_var=no
9825
 
        runpath_var=LD_RUN_PATH
9826
 
        hardcode_runpath_var=yes
9827
 
        ld_shlibs=yes
9828
 
      fi
9829
 
      ;;
9830
 
 
9831
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9832
 
      no_undefined_flag='${wl}-z,text'
9833
 
      archive_cmds_need_lc=no
9834
 
      hardcode_shlibpath_var=no
9835
 
      runpath_var='LD_RUN_PATH'
9836
 
 
9837
 
      if test "$GCC" = yes; then
9838
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9839
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9840
 
      else
9841
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843
 
      fi
9844
 
      ;;
9845
 
 
9846
 
    sysv5* | sco3.2v5* | sco5v6*)
9847
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9848
 
      # link with -lc, and that would cause any symbols used from libc to
9849
 
      # always be unresolved, which means just about no library would
9850
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9851
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9852
 
      # as -z defs.
9853
 
      no_undefined_flag='${wl}-z,text'
9854
 
      allow_undefined_flag='${wl}-z,nodefs'
9855
 
      archive_cmds_need_lc=no
9856
 
      hardcode_shlibpath_var=no
9857
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9858
 
      hardcode_libdir_separator=':'
9859
 
      link_all_deplibs=yes
9860
 
      export_dynamic_flag_spec='${wl}-Bexport'
9861
 
      runpath_var='LD_RUN_PATH'
9862
 
 
9863
 
      if test "$GCC" = yes; then
9864
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9865
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9866
 
      else
9867
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9868
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9869
 
      fi
9870
 
      ;;
9871
 
 
9872
 
    uts4*)
9873
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874
 
      hardcode_libdir_flag_spec='-L$libdir'
9875
 
      hardcode_shlibpath_var=no
9876
 
      ;;
9877
 
 
9878
 
    *)
9879
 
      ld_shlibs=no
9880
 
      ;;
9881
 
    esac
9882
 
  fi
9883
 
 
9884
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9885
 
echo "${ECHO_T}$ld_shlibs" >&6; }
9886
 
test "$ld_shlibs" = no && can_build_shared=no
9887
 
 
9888
 
#
9889
 
# Do we need to explicitly link libc?
9890
 
#
9891
 
case "x$archive_cmds_need_lc" in
9892
 
x|xyes)
9893
 
  # Assume -lc should be added
9894
 
  archive_cmds_need_lc=yes
9895
 
 
9896
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9897
 
    case $archive_cmds in
9898
 
    *'~'*)
9899
 
      # FIXME: we may have to deal with multi-command sequences.
9900
 
      ;;
9901
 
    '$CC '*)
9902
 
      # Test whether the compiler implicitly links with -lc since on some
9903
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9904
 
      # to ld, don't add -lc before -lgcc.
9905
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9906
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9907
 
      $rm conftest*
9908
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9909
 
 
9910
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9911
 
  (eval $ac_compile) 2>&5
9912
 
  ac_status=$?
9913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914
 
  (exit $ac_status); } 2>conftest.err; then
9915
 
        soname=conftest
9916
 
        lib=conftest
9917
 
        libobjs=conftest.$ac_objext
9918
 
        deplibs=
9919
 
        wl=$lt_prog_compiler_wl
9920
 
        pic_flag=$lt_prog_compiler_pic
9921
 
        compiler_flags=-v
9922
 
        linker_flags=-v
9923
 
        verstring=
9924
 
        output_objdir=.
9925
 
        libname=conftest
9926
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9927
 
        allow_undefined_flag=
9928
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9929
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9930
 
  ac_status=$?
9931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932
 
  (exit $ac_status); }
9933
 
        then
9934
 
          archive_cmds_need_lc=no
9935
 
        else
9936
 
          archive_cmds_need_lc=yes
9937
 
        fi
9938
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9939
 
      else
9940
 
        cat conftest.err 1>&5
9941
 
      fi
9942
 
      $rm conftest*
9943
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9944
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9945
 
      ;;
9946
 
    esac
9947
 
  fi
9948
 
  ;;
9949
 
esac
9950
 
 
9951
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9952
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9953
 
library_names_spec=
9954
 
libname_spec='lib$name'
9955
 
soname_spec=
9956
 
shrext_cmds=".so"
9957
 
postinstall_cmds=
9958
 
postuninstall_cmds=
9959
 
finish_cmds=
9960
 
finish_eval=
9961
 
shlibpath_var=
9962
 
shlibpath_overrides_runpath=unknown
9963
 
version_type=none
9964
 
dynamic_linker="$host_os ld.so"
9965
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9966
 
 
9967
 
if test "$GCC" = yes; then
9968
 
  case $host_os in
9969
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9970
 
    *) lt_awk_arg="/^libraries:/" ;;
9971
 
  esac
9972
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9973
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9974
 
    # if the path contains ";" then we assume it to be the separator
9975
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9976
 
    # assumed that no part of a normal pathname contains ";" but that should
9977
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9978
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9979
 
  else
9980
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9981
 
  fi
9982
 
  # Ok, now we have the path, separated by spaces, we can step through it
9983
 
  # and add multilib dir if necessary.
9984
 
  lt_tmp_lt_search_path_spec=
9985
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9986
 
  for lt_sys_path in $lt_search_path_spec; do
9987
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9988
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9989
 
    else
9990
 
      test -d "$lt_sys_path" && \
9991
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9992
 
    fi
9993
 
  done
9994
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9995
 
BEGIN {RS=" "; FS="/|\n";} {
9996
 
  lt_foo="";
9997
 
  lt_count=0;
9998
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
9999
 
    if ($lt_i != "" && $lt_i != ".") {
10000
 
      if ($lt_i == "..") {
10001
 
        lt_count++;
10002
 
      } else {
10003
 
        if (lt_count == 0) {
10004
 
          lt_foo="/" $lt_i lt_foo;
10005
 
        } else {
10006
 
          lt_count--;
10007
 
        }
10008
 
      }
10009
 
    }
10010
 
  }
10011
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10012
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10013
 
}'`
10014
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
10015
 
else
10016
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10017
 
fi
10018
 
need_lib_prefix=unknown
10019
 
hardcode_into_libs=no
10020
 
 
10021
 
# when you set need_version to no, make sure it does not cause -set_version
10022
 
# flags to be left without arguments
10023
 
need_version=unknown
10024
 
 
10025
 
case $host_os in
10026
 
aix3*)
10027
 
  version_type=linux
10028
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10029
 
  shlibpath_var=LIBPATH
10030
 
 
10031
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10032
 
  soname_spec='${libname}${release}${shared_ext}$major'
10033
 
  ;;
10034
 
 
10035
 
aix4* | aix5*)
10036
 
  version_type=linux
10037
 
  need_lib_prefix=no
10038
 
  need_version=no
10039
 
  hardcode_into_libs=yes
10040
 
  if test "$host_cpu" = ia64; then
10041
 
    # AIX 5 supports IA64
10042
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10043
 
    shlibpath_var=LD_LIBRARY_PATH
10044
 
  else
10045
 
    # With GCC up to 2.95.x, collect2 would create an import file
10046
 
    # for dependence libraries.  The import file would start with
10047
 
    # the line `#! .'.  This would cause the generated library to
10048
 
    # depend on `.', always an invalid library.  This was fixed in
10049
 
    # development snapshots of GCC prior to 3.0.
10050
 
    case $host_os in
10051
 
      aix4 | aix4.[01] | aix4.[01].*)
10052
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10053
 
           echo ' yes '
10054
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10055
 
        :
10056
 
      else
10057
 
        can_build_shared=no
10058
 
      fi
10059
 
      ;;
10060
 
    esac
10061
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10062
 
    # soname into executable. Probably we can add versioning support to
10063
 
    # collect2, so additional links can be useful in future.
10064
 
    if test "$aix_use_runtimelinking" = yes; then
10065
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10066
 
      # instead of lib<name>.a to let people know that these are not
10067
 
      # typical AIX shared libraries.
10068
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10069
 
    else
10070
 
      # We preserve .a as extension for shared libraries through AIX4.2
10071
 
      # and later when we are not doing run time linking.
10072
 
      library_names_spec='${libname}${release}.a $libname.a'
10073
 
      soname_spec='${libname}${release}${shared_ext}$major'
10074
 
    fi
10075
 
    shlibpath_var=LIBPATH
10076
 
  fi
10077
 
  ;;
10078
 
 
10079
 
amigaos*)
10080
 
  library_names_spec='$libname.ixlibrary $libname.a'
10081
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
10082
 
  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'
10083
 
  ;;
10084
 
 
10085
 
beos*)
10086
 
  library_names_spec='${libname}${shared_ext}'
10087
 
  dynamic_linker="$host_os ld.so"
10088
 
  shlibpath_var=LIBRARY_PATH
10089
 
  ;;
10090
 
 
10091
 
bsdi[45]*)
10092
 
  version_type=linux
10093
 
  need_version=no
10094
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10095
 
  soname_spec='${libname}${release}${shared_ext}$major'
10096
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10097
 
  shlibpath_var=LD_LIBRARY_PATH
10098
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10099
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10100
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10101
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10102
 
  # libtool to hard-code these into programs
10103
 
  ;;
10104
 
 
10105
 
cygwin* | mingw* | pw32*)
10106
 
  version_type=windows
10107
 
  shrext_cmds=".dll"
10108
 
  need_version=no
10109
 
  need_lib_prefix=no
10110
 
 
10111
 
  case $GCC,$host_os in
10112
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
10113
 
    library_names_spec='$libname.dll.a'
10114
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10115
 
    postinstall_cmds='base_file=`basename \${file}`~
10116
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10117
 
      dldir=$destdir/`dirname \$dlpath`~
10118
 
      test -d \$dldir || mkdir -p \$dldir~
10119
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10120
 
      chmod a+x \$dldir/$dlname'
10121
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10122
 
      dlpath=$dir/\$dldll~
10123
 
       $rm \$dlpath'
10124
 
    shlibpath_overrides_runpath=yes
10125
 
 
10126
 
    case $host_os in
10127
 
    cygwin*)
10128
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10129
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10130
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10131
 
      ;;
10132
 
    mingw*)
10133
 
      # MinGW DLLs use traditional 'lib' prefix
10134
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10135
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10136
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10137
 
        # It is most probably a Windows format PATH printed by
10138
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10139
 
        # path with ; separators, and with drive letters. We can handle the
10140
 
        # drive letters (cygwin fileutils understands them), so leave them,
10141
 
        # especially as we might pass files found there to a mingw objdump,
10142
 
        # which wouldn't understand a cygwinified path. Ahh.
10143
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10144
 
      else
10145
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10146
 
      fi
10147
 
      ;;
10148
 
    pw32*)
10149
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10150
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10151
 
      ;;
10152
 
    esac
10153
 
    ;;
10154
 
 
10155
 
  *)
10156
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10157
 
    ;;
10158
 
  esac
10159
 
  dynamic_linker='Win32 ld.exe'
10160
 
  # FIXME: first we should search . and the directory the executable is in
10161
 
  shlibpath_var=PATH
10162
 
  ;;
10163
 
 
10164
 
darwin* | rhapsody*)
10165
 
  dynamic_linker="$host_os dyld"
10166
 
  version_type=darwin
10167
 
  need_lib_prefix=no
10168
 
  need_version=no
10169
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10170
 
  soname_spec='${libname}${release}${major}$shared_ext'
10171
 
  shlibpath_overrides_runpath=yes
10172
 
  shlibpath_var=DYLD_LIBRARY_PATH
10173
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10174
 
  
10175
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 
10176
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10177
 
  ;;
10178
 
 
10179
 
dgux*)
10180
 
  version_type=linux
10181
 
  need_lib_prefix=no
10182
 
  need_version=no
10183
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10184
 
  soname_spec='${libname}${release}${shared_ext}$major'
10185
 
  shlibpath_var=LD_LIBRARY_PATH
10186
 
  ;;
10187
 
 
10188
 
freebsd1*)
10189
 
  dynamic_linker=no
10190
 
  ;;
10191
 
 
10192
 
freebsd* | dragonfly*)
10193
 
  # DragonFly does not have aout.  When/if they implement a new
10194
 
  # versioning mechanism, adjust this.
10195
 
  if test -x /usr/bin/objformat; then
10196
 
    objformat=`/usr/bin/objformat`
10197
 
  else
10198
 
    case $host_os in
10199
 
    freebsd[123]*) objformat=aout ;;
10200
 
    *) objformat=elf ;;
10201
 
    esac
10202
 
  fi
10203
 
  version_type=freebsd-$objformat
10204
 
  case $version_type in
10205
 
    freebsd-elf*)
10206
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10207
 
      need_version=no
10208
 
      need_lib_prefix=no
10209
 
      ;;
10210
 
    freebsd-*)
10211
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10212
 
      need_version=yes
10213
 
      ;;
10214
 
  esac
10215
 
  shlibpath_var=LD_LIBRARY_PATH
10216
 
  case $host_os in
10217
 
  freebsd2*)
10218
 
    shlibpath_overrides_runpath=yes
10219
 
    ;;
10220
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10221
 
    shlibpath_overrides_runpath=yes
10222
 
    hardcode_into_libs=yes
10223
 
    ;;
10224
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10225
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10226
 
    shlibpath_overrides_runpath=no
10227
 
    hardcode_into_libs=yes
10228
 
    ;;
10229
 
  *) # from 4.6 on, and DragonFly
10230
 
    shlibpath_overrides_runpath=yes
10231
 
    hardcode_into_libs=yes
10232
 
    ;;
10233
 
  esac
10234
 
  ;;
10235
 
 
10236
 
gnu*)
10237
 
  version_type=linux
10238
 
  need_lib_prefix=no
10239
 
  need_version=no
10240
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10241
 
  soname_spec='${libname}${release}${shared_ext}$major'
10242
 
  shlibpath_var=LD_LIBRARY_PATH
10243
 
  hardcode_into_libs=yes
10244
 
  ;;
10245
 
 
10246
 
hpux9* | hpux10* | hpux11*)
10247
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10248
 
  # link against other versions.
10249
 
  version_type=sunos
10250
 
  need_lib_prefix=no
10251
 
  need_version=no
10252
 
  case $host_cpu in
10253
 
  ia64*)
10254
 
    shrext_cmds='.so'
10255
 
    hardcode_into_libs=yes
10256
 
    dynamic_linker="$host_os dld.so"
10257
 
    shlibpath_var=LD_LIBRARY_PATH
10258
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10259
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10260
 
    soname_spec='${libname}${release}${shared_ext}$major'
10261
 
    if test "X$HPUX_IA64_MODE" = X32; then
10262
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10263
 
    else
10264
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10265
 
    fi
10266
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10267
 
    ;;
10268
 
   hppa*64*)
10269
 
     shrext_cmds='.sl'
10270
 
     hardcode_into_libs=yes
10271
 
     dynamic_linker="$host_os dld.sl"
10272
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10273
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10274
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10275
 
     soname_spec='${libname}${release}${shared_ext}$major'
10276
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10277
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10278
 
     ;;
10279
 
   *)
10280
 
    shrext_cmds='.sl'
10281
 
    dynamic_linker="$host_os dld.sl"
10282
 
    shlibpath_var=SHLIB_PATH
10283
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10284
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10285
 
    soname_spec='${libname}${release}${shared_ext}$major'
10286
 
    ;;
10287
 
  esac
10288
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10289
 
  postinstall_cmds='chmod 555 $lib'
10290
 
  ;;
10291
 
 
10292
 
interix[3-9]*)
10293
 
  version_type=linux
10294
 
  need_lib_prefix=no
10295
 
  need_version=no
10296
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10297
 
  soname_spec='${libname}${release}${shared_ext}$major'
10298
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10299
 
  shlibpath_var=LD_LIBRARY_PATH
10300
 
  shlibpath_overrides_runpath=no
10301
 
  hardcode_into_libs=yes
10302
 
  ;;
10303
 
 
10304
 
irix5* | irix6* | nonstopux*)
10305
 
  case $host_os in
10306
 
    nonstopux*) version_type=nonstopux ;;
10307
 
    *)
10308
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10309
 
                version_type=linux
10310
 
        else
10311
 
                version_type=irix
10312
 
        fi ;;
10313
 
  esac
10314
 
  need_lib_prefix=no
10315
 
  need_version=no
10316
 
  soname_spec='${libname}${release}${shared_ext}$major'
10317
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10318
 
  case $host_os in
10319
 
  irix5* | nonstopux*)
10320
 
    libsuff= shlibsuff=
10321
 
    ;;
10322
 
  *)
10323
 
    case $LD in # libtool.m4 will add one of these switches to LD
10324
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10325
 
      libsuff= shlibsuff= libmagic=32-bit;;
10326
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10327
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10328
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10329
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10330
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10331
 
    esac
10332
 
    ;;
10333
 
  esac
10334
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10335
 
  shlibpath_overrides_runpath=no
10336
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10337
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10338
 
  hardcode_into_libs=yes
10339
 
  ;;
10340
 
 
10341
 
# No shared lib support for Linux oldld, aout, or coff.
10342
 
linux*oldld* | linux*aout* | linux*coff*)
10343
 
  dynamic_linker=no
10344
 
  ;;
10345
 
 
10346
 
# This must be Linux ELF.
10347
 
linux* | k*bsd*-gnu)
10348
 
  version_type=linux
10349
 
  need_lib_prefix=no
10350
 
  need_version=no
10351
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10352
 
  soname_spec='${libname}${release}${shared_ext}$major'
10353
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10354
 
  shlibpath_var=LD_LIBRARY_PATH
10355
 
  shlibpath_overrides_runpath=no
10356
 
  # This implies no fast_install, which is unacceptable.
10357
 
  # Some rework will be needed to allow for fast_install
10358
 
  # before this can be enabled.
10359
 
  hardcode_into_libs=yes
10360
 
 
10361
 
  # Append ld.so.conf contents to the search path
10362
 
  if test -f /etc/ld.so.conf; then
10363
 
    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' ' '`
10364
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10365
 
  fi
10366
 
 
10367
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10368
 
  # powerpc, because MkLinux only supported shared libraries with the
10369
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10370
 
  # most powerpc-linux boxes support dynamic linking these days and
10371
 
  # people can always --disable-shared, the test was removed, and we
10372
 
  # assume the GNU/Linux dynamic linker is in use.
10373
 
  dynamic_linker='GNU/Linux ld.so'
10374
 
  ;;
10375
 
 
10376
 
netbsdelf*-gnu)
10377
 
  version_type=linux
10378
 
  need_lib_prefix=no
10379
 
  need_version=no
10380
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10381
 
  soname_spec='${libname}${release}${shared_ext}$major'
10382
 
  shlibpath_var=LD_LIBRARY_PATH
10383
 
  shlibpath_overrides_runpath=no
10384
 
  hardcode_into_libs=yes
10385
 
  dynamic_linker='NetBSD ld.elf_so'
10386
 
  ;;
10387
 
 
10388
 
netbsd*)
10389
 
  version_type=sunos
10390
 
  need_lib_prefix=no
10391
 
  need_version=no
10392
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10393
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10394
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10395
 
    dynamic_linker='NetBSD (a.out) ld.so'
10396
 
  else
10397
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10398
 
    soname_spec='${libname}${release}${shared_ext}$major'
10399
 
    dynamic_linker='NetBSD ld.elf_so'
10400
 
  fi
10401
 
  shlibpath_var=LD_LIBRARY_PATH
10402
 
  shlibpath_overrides_runpath=yes
10403
 
  hardcode_into_libs=yes
10404
 
  ;;
10405
 
 
10406
 
newsos6)
10407
 
  version_type=linux
10408
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10409
 
  shlibpath_var=LD_LIBRARY_PATH
10410
 
  shlibpath_overrides_runpath=yes
10411
 
  ;;
10412
 
 
10413
 
nto-qnx*)
10414
 
  version_type=linux
10415
 
  need_lib_prefix=no
10416
 
  need_version=no
10417
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10418
 
  soname_spec='${libname}${release}${shared_ext}$major'
10419
 
  shlibpath_var=LD_LIBRARY_PATH
10420
 
  shlibpath_overrides_runpath=yes
10421
 
  ;;
10422
 
 
10423
 
openbsd*)
10424
 
  version_type=sunos
10425
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10426
 
  need_lib_prefix=no
10427
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10428
 
  case $host_os in
10429
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10430
 
    *)                         need_version=no  ;;
10431
 
  esac
10432
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10433
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10434
 
  shlibpath_var=LD_LIBRARY_PATH
10435
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10436
 
    case $host_os in
10437
 
      openbsd2.[89] | openbsd2.[89].*)
10438
 
        shlibpath_overrides_runpath=no
10439
 
        ;;
10440
 
      *)
10441
 
        shlibpath_overrides_runpath=yes
10442
 
        ;;
10443
 
      esac
10444
 
  else
10445
 
    shlibpath_overrides_runpath=yes
10446
 
  fi
10447
 
  ;;
10448
 
 
10449
 
os2*)
10450
 
  libname_spec='$name'
10451
 
  shrext_cmds=".dll"
10452
 
  need_lib_prefix=no
10453
 
  library_names_spec='$libname${shared_ext} $libname.a'
10454
 
  dynamic_linker='OS/2 ld.exe'
10455
 
  shlibpath_var=LIBPATH
10456
 
  ;;
10457
 
 
10458
 
osf3* | osf4* | osf5*)
10459
 
  version_type=osf
10460
 
  need_lib_prefix=no
10461
 
  need_version=no
10462
 
  soname_spec='${libname}${release}${shared_ext}$major'
10463
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10464
 
  shlibpath_var=LD_LIBRARY_PATH
10465
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10466
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10467
 
  ;;
10468
 
 
10469
 
rdos*)
10470
 
  dynamic_linker=no
10471
 
  ;;
10472
 
 
10473
 
solaris*)
10474
 
  version_type=linux
10475
 
  need_lib_prefix=no
10476
 
  need_version=no
10477
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10478
 
  soname_spec='${libname}${release}${shared_ext}$major'
10479
 
  shlibpath_var=LD_LIBRARY_PATH
10480
 
  shlibpath_overrides_runpath=yes
10481
 
  hardcode_into_libs=yes
10482
 
  # ldd complains unless libraries are executable
10483
 
  postinstall_cmds='chmod +x $lib'
10484
 
  ;;
10485
 
 
10486
 
sunos4*)
10487
 
  version_type=sunos
10488
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10489
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10490
 
  shlibpath_var=LD_LIBRARY_PATH
10491
 
  shlibpath_overrides_runpath=yes
10492
 
  if test "$with_gnu_ld" = yes; then
10493
 
    need_lib_prefix=no
10494
 
  fi
10495
 
  need_version=yes
10496
 
  ;;
10497
 
 
10498
 
sysv4 | sysv4.3*)
10499
 
  version_type=linux
10500
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10501
 
  soname_spec='${libname}${release}${shared_ext}$major'
10502
 
  shlibpath_var=LD_LIBRARY_PATH
10503
 
  case $host_vendor in
10504
 
    sni)
10505
 
      shlibpath_overrides_runpath=no
10506
 
      need_lib_prefix=no
10507
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
10508
 
      runpath_var=LD_RUN_PATH
10509
 
      ;;
10510
 
    siemens)
10511
 
      need_lib_prefix=no
10512
 
      ;;
10513
 
    motorola)
10514
 
      need_lib_prefix=no
10515
 
      need_version=no
10516
 
      shlibpath_overrides_runpath=no
10517
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10518
 
      ;;
10519
 
  esac
10520
 
  ;;
10521
 
 
10522
 
sysv4*MP*)
10523
 
  if test -d /usr/nec ;then
10524
 
    version_type=linux
10525
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10526
 
    soname_spec='$libname${shared_ext}.$major'
10527
 
    shlibpath_var=LD_LIBRARY_PATH
10528
 
  fi
10529
 
  ;;
10530
 
 
10531
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10532
 
  version_type=freebsd-elf
10533
 
  need_lib_prefix=no
10534
 
  need_version=no
10535
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10536
 
  soname_spec='${libname}${release}${shared_ext}$major'
10537
 
  shlibpath_var=LD_LIBRARY_PATH
10538
 
  hardcode_into_libs=yes
10539
 
  if test "$with_gnu_ld" = yes; then
10540
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10541
 
    shlibpath_overrides_runpath=no
10542
 
  else
10543
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10544
 
    shlibpath_overrides_runpath=yes
10545
 
    case $host_os in
10546
 
      sco3.2v5*)
10547
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10548
 
        ;;
10549
 
    esac
10550
 
  fi
10551
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10552
 
  ;;
10553
 
 
10554
 
uts4*)
10555
 
  version_type=linux
10556
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10557
 
  soname_spec='${libname}${release}${shared_ext}$major'
10558
 
  shlibpath_var=LD_LIBRARY_PATH
10559
 
  ;;
10560
 
 
10561
 
*)
10562
 
  dynamic_linker=no
10563
 
  ;;
10564
 
esac
10565
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10566
 
echo "${ECHO_T}$dynamic_linker" >&6; }
10567
 
test "$dynamic_linker" = no && can_build_shared=no
10568
 
 
10569
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10570
 
if test "$GCC" = yes; then
10571
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10572
 
fi
10573
 
 
10574
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10575
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10576
 
hardcode_action=
10577
 
if test -n "$hardcode_libdir_flag_spec" || \
10578
 
   test -n "$runpath_var" || \
10579
 
   test "X$hardcode_automatic" = "Xyes" ; then
10580
 
 
10581
 
  # We can hardcode non-existant directories.
10582
 
  if test "$hardcode_direct" != no &&
10583
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10584
 
     # have to relink, otherwise we might link with an installed library
10585
 
     # when we should be linking with a yet-to-be-installed one
10586
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10587
 
     test "$hardcode_minus_L" != no; then
10588
 
    # Linking always hardcodes the temporary library directory.
10589
 
    hardcode_action=relink
10590
 
  else
10591
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10592
 
    hardcode_action=immediate
10593
 
  fi
10594
 
else
10595
 
  # We cannot hardcode anything, or else we can only hardcode existing
10596
 
  # directories.
10597
 
  hardcode_action=unsupported
10598
 
fi
10599
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10600
 
echo "${ECHO_T}$hardcode_action" >&6; }
10601
 
 
10602
 
if test "$hardcode_action" = relink; then
10603
 
  # Fast installation is not supported
10604
 
  enable_fast_install=no
10605
 
elif test "$shlibpath_overrides_runpath" = yes ||
10606
 
     test "$enable_shared" = no; then
10607
 
  # Fast installation is not necessary
10608
 
  enable_fast_install=needless
10609
 
fi
10610
 
 
10611
 
striplib=
10612
 
old_striplib=
10613
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10614
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10615
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10616
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10617
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10618
 
  { echo "$as_me:$LINENO: result: yes" >&5
10619
 
echo "${ECHO_T}yes" >&6; }
10620
 
else
10621
 
# FIXME - insert some real tests, host_os isn't really good enough
10622
 
  case $host_os in
10623
 
   darwin*)
10624
 
       if test -n "$STRIP" ; then
10625
 
         striplib="$STRIP -x"
10626
 
         old_striplib="$STRIP -S"
10627
 
         { echo "$as_me:$LINENO: result: yes" >&5
10628
 
echo "${ECHO_T}yes" >&6; }
10629
 
       else
10630
 
  { echo "$as_me:$LINENO: result: no" >&5
10631
 
echo "${ECHO_T}no" >&6; }
10632
 
fi
10633
 
       ;;
10634
 
   *)
10635
 
  { echo "$as_me:$LINENO: result: no" >&5
10636
 
echo "${ECHO_T}no" >&6; }
10637
 
    ;;
10638
 
  esac
10639
 
fi
10640
 
 
10641
 
if test "x$enable_dlopen" != xyes; then
10642
 
  enable_dlopen=unknown
10643
 
  enable_dlopen_self=unknown
10644
 
  enable_dlopen_self_static=unknown
10645
 
else
10646
 
  lt_cv_dlopen=no
10647
 
  lt_cv_dlopen_libs=
10648
 
 
10649
 
  case $host_os in
10650
 
  beos*)
10651
 
    lt_cv_dlopen="load_add_on"
10652
 
    lt_cv_dlopen_libs=
10653
 
    lt_cv_dlopen_self=yes
10654
 
    ;;
10655
 
 
10656
 
  mingw* | pw32*)
10657
 
    lt_cv_dlopen="LoadLibrary"
10658
 
    lt_cv_dlopen_libs=
10659
 
   ;;
10660
 
 
10661
 
  cygwin*)
10662
 
    lt_cv_dlopen="dlopen"
10663
 
    lt_cv_dlopen_libs=
10664
 
   ;;
10665
 
 
10666
 
  darwin*)
10667
 
  # if libdl is installed we need to link against it
10668
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10669
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10670
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10671
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10672
 
else
10673
 
  ac_check_lib_save_LIBS=$LIBS
10674
 
LIBS="-ldl  $LIBS"
10675
 
cat >conftest.$ac_ext <<_ACEOF
10676
 
/* confdefs.h.  */
10677
 
_ACEOF
10678
 
cat confdefs.h >>conftest.$ac_ext
10679
 
cat >>conftest.$ac_ext <<_ACEOF
10680
 
/* end confdefs.h.  */
10681
 
 
10682
 
/* Override any GCC internal prototype to avoid an error.
10683
 
   Use char because int might match the return type of a GCC
10684
 
   builtin and then its argument prototype would still apply.  */
10685
 
#ifdef __cplusplus
10686
 
extern "C"
10687
 
#endif
10688
 
char dlopen ();
10689
 
int
10690
 
main ()
10691
 
{
10692
 
return dlopen ();
10693
 
  ;
10694
 
  return 0;
10695
 
}
10696
 
_ACEOF
10697
 
rm -f conftest.$ac_objext conftest$ac_exeext
10698
 
if { (ac_try="$ac_link"
10699
 
case "(($ac_try" in
10700
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10701
 
  *) ac_try_echo=$ac_try;;
10702
 
esac
10703
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10704
 
  (eval "$ac_link") 2>conftest.er1
10705
 
  ac_status=$?
10706
 
  grep -v '^ *+' conftest.er1 >conftest.err
10707
 
  rm -f conftest.er1
10708
 
  cat conftest.err >&5
10709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710
 
  (exit $ac_status); } && {
10711
 
         test -z "$ac_c_werror_flag" ||
10712
 
         test ! -s conftest.err
10713
 
       } && test -s conftest$ac_exeext &&
10714
 
       $as_test_x conftest$ac_exeext; then
10715
 
  ac_cv_lib_dl_dlopen=yes
10716
 
else
10717
 
  echo "$as_me: failed program was:" >&5
10718
 
sed 's/^/| /' conftest.$ac_ext >&5
10719
 
 
10720
 
        ac_cv_lib_dl_dlopen=no
10721
 
fi
10722
 
 
10723
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10724
 
      conftest$ac_exeext conftest.$ac_ext
10725
 
LIBS=$ac_check_lib_save_LIBS
10726
 
fi
10727
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10728
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10729
 
if test $ac_cv_lib_dl_dlopen = yes; then
10730
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10731
 
else
10732
 
  
10733
 
    lt_cv_dlopen="dyld"
10734
 
    lt_cv_dlopen_libs=
10735
 
    lt_cv_dlopen_self=yes
10736
 
    
10737
 
fi
10738
 
 
10739
 
   ;;
10740
 
 
10741
 
  *)
10742
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
10743
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10744
 
if test "${ac_cv_func_shl_load+set}" = set; then
10745
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10746
 
else
10747
 
  cat >conftest.$ac_ext <<_ACEOF
10748
 
/* confdefs.h.  */
10749
 
_ACEOF
10750
 
cat confdefs.h >>conftest.$ac_ext
10751
 
cat >>conftest.$ac_ext <<_ACEOF
10752
 
/* end confdefs.h.  */
10753
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10754
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10755
 
#define shl_load innocuous_shl_load
10756
 
 
10757
 
/* System header to define __stub macros and hopefully few prototypes,
10758
 
    which can conflict with char shl_load (); below.
10759
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10760
 
    <limits.h> exists even on freestanding compilers.  */
10761
 
 
10762
 
#ifdef __STDC__
10763
 
# include <limits.h>
10764
 
#else
10765
 
# include <assert.h>
10766
 
#endif
10767
 
 
10768
 
#undef shl_load
10769
 
 
10770
 
/* Override any GCC internal prototype to avoid an error.
10771
 
   Use char because int might match the return type of a GCC
10772
 
   builtin and then its argument prototype would still apply.  */
10773
 
#ifdef __cplusplus
10774
 
extern "C"
10775
 
#endif
10776
 
char shl_load ();
10777
 
/* The GNU C library defines this for functions which it implements
10778
 
    to always fail with ENOSYS.  Some functions are actually named
10779
 
    something starting with __ and the normal name is an alias.  */
10780
 
#if defined __stub_shl_load || defined __stub___shl_load
10781
 
choke me
10782
 
#endif
10783
 
 
10784
 
int
10785
 
main ()
10786
 
{
10787
 
return shl_load ();
10788
 
  ;
10789
 
  return 0;
10790
 
}
10791
 
_ACEOF
10792
 
rm -f conftest.$ac_objext conftest$ac_exeext
10793
 
if { (ac_try="$ac_link"
10794
 
case "(($ac_try" in
10795
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10796
 
  *) ac_try_echo=$ac_try;;
10797
 
esac
10798
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10799
 
  (eval "$ac_link") 2>conftest.er1
10800
 
  ac_status=$?
10801
 
  grep -v '^ *+' conftest.er1 >conftest.err
10802
 
  rm -f conftest.er1
10803
 
  cat conftest.err >&5
10804
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805
 
  (exit $ac_status); } && {
10806
 
         test -z "$ac_c_werror_flag" ||
10807
 
         test ! -s conftest.err
10808
 
       } && test -s conftest$ac_exeext &&
10809
 
       $as_test_x conftest$ac_exeext; then
10810
 
  ac_cv_func_shl_load=yes
10811
 
else
10812
 
  echo "$as_me: failed program was:" >&5
10813
 
sed 's/^/| /' conftest.$ac_ext >&5
10814
 
 
10815
 
        ac_cv_func_shl_load=no
10816
 
fi
10817
 
 
10818
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10819
 
      conftest$ac_exeext conftest.$ac_ext
10820
 
fi
10821
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10822
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10823
 
if test $ac_cv_func_shl_load = yes; then
10824
 
  lt_cv_dlopen="shl_load"
10825
 
else
10826
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10827
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10828
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10829
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10830
 
else
10831
 
  ac_check_lib_save_LIBS=$LIBS
10832
 
LIBS="-ldld  $LIBS"
10833
 
cat >conftest.$ac_ext <<_ACEOF
10834
 
/* confdefs.h.  */
10835
 
_ACEOF
10836
 
cat confdefs.h >>conftest.$ac_ext
10837
 
cat >>conftest.$ac_ext <<_ACEOF
10838
 
/* end confdefs.h.  */
10839
 
 
10840
 
/* Override any GCC internal prototype to avoid an error.
10841
 
   Use char because int might match the return type of a GCC
10842
 
   builtin and then its argument prototype would still apply.  */
10843
 
#ifdef __cplusplus
10844
 
extern "C"
10845
 
#endif
10846
 
char shl_load ();
10847
 
int
10848
 
main ()
10849
 
{
10850
 
return shl_load ();
10851
 
  ;
10852
 
  return 0;
10853
 
}
10854
 
_ACEOF
10855
 
rm -f conftest.$ac_objext conftest$ac_exeext
10856
 
if { (ac_try="$ac_link"
10857
 
case "(($ac_try" in
10858
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10859
 
  *) ac_try_echo=$ac_try;;
10860
 
esac
10861
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10862
 
  (eval "$ac_link") 2>conftest.er1
10863
 
  ac_status=$?
10864
 
  grep -v '^ *+' conftest.er1 >conftest.err
10865
 
  rm -f conftest.er1
10866
 
  cat conftest.err >&5
10867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868
 
  (exit $ac_status); } && {
10869
 
         test -z "$ac_c_werror_flag" ||
10870
 
         test ! -s conftest.err
10871
 
       } && test -s conftest$ac_exeext &&
10872
 
       $as_test_x conftest$ac_exeext; then
10873
 
  ac_cv_lib_dld_shl_load=yes
10874
 
else
10875
 
  echo "$as_me: failed program was:" >&5
10876
 
sed 's/^/| /' conftest.$ac_ext >&5
10877
 
 
10878
 
        ac_cv_lib_dld_shl_load=no
10879
 
fi
10880
 
 
10881
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10882
 
      conftest$ac_exeext conftest.$ac_ext
10883
 
LIBS=$ac_check_lib_save_LIBS
10884
 
fi
10885
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10886
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10887
 
if test $ac_cv_lib_dld_shl_load = yes; then
10888
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10889
 
else
10890
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
10891
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10892
 
if test "${ac_cv_func_dlopen+set}" = set; then
10893
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10894
 
else
10895
 
  cat >conftest.$ac_ext <<_ACEOF
10896
 
/* confdefs.h.  */
10897
 
_ACEOF
10898
 
cat confdefs.h >>conftest.$ac_ext
10899
 
cat >>conftest.$ac_ext <<_ACEOF
10900
 
/* end confdefs.h.  */
10901
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10902
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10903
 
#define dlopen innocuous_dlopen
10904
 
 
10905
 
/* System header to define __stub macros and hopefully few prototypes,
10906
 
    which can conflict with char dlopen (); below.
10907
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10908
 
    <limits.h> exists even on freestanding compilers.  */
10909
 
 
10910
 
#ifdef __STDC__
10911
 
# include <limits.h>
10912
 
#else
10913
 
# include <assert.h>
10914
 
#endif
10915
 
 
10916
 
#undef dlopen
10917
 
 
10918
 
/* Override any GCC internal prototype to avoid an error.
10919
 
   Use char because int might match the return type of a GCC
10920
 
   builtin and then its argument prototype would still apply.  */
10921
 
#ifdef __cplusplus
10922
 
extern "C"
10923
 
#endif
10924
 
char dlopen ();
10925
 
/* The GNU C library defines this for functions which it implements
10926
 
    to always fail with ENOSYS.  Some functions are actually named
10927
 
    something starting with __ and the normal name is an alias.  */
10928
 
#if defined __stub_dlopen || defined __stub___dlopen
10929
 
choke me
10930
 
#endif
10931
 
 
10932
 
int
10933
 
main ()
10934
 
{
10935
 
return dlopen ();
10936
 
  ;
10937
 
  return 0;
10938
 
}
10939
 
_ACEOF
10940
 
rm -f conftest.$ac_objext conftest$ac_exeext
10941
 
if { (ac_try="$ac_link"
10942
 
case "(($ac_try" in
10943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10944
 
  *) ac_try_echo=$ac_try;;
10945
 
esac
10946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10947
 
  (eval "$ac_link") 2>conftest.er1
10948
 
  ac_status=$?
10949
 
  grep -v '^ *+' conftest.er1 >conftest.err
10950
 
  rm -f conftest.er1
10951
 
  cat conftest.err >&5
10952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953
 
  (exit $ac_status); } && {
10954
 
         test -z "$ac_c_werror_flag" ||
10955
 
         test ! -s conftest.err
10956
 
       } && test -s conftest$ac_exeext &&
10957
 
       $as_test_x conftest$ac_exeext; then
10958
 
  ac_cv_func_dlopen=yes
10959
 
else
10960
 
  echo "$as_me: failed program was:" >&5
10961
 
sed 's/^/| /' conftest.$ac_ext >&5
10962
 
 
10963
 
        ac_cv_func_dlopen=no
10964
 
fi
10965
 
 
10966
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10967
 
      conftest$ac_exeext conftest.$ac_ext
10968
 
fi
10969
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10970
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10971
 
if test $ac_cv_func_dlopen = yes; then
10972
 
  lt_cv_dlopen="dlopen"
10973
 
else
10974
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10975
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10976
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10977
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10978
 
else
10979
 
  ac_check_lib_save_LIBS=$LIBS
10980
 
LIBS="-ldl  $LIBS"
10981
 
cat >conftest.$ac_ext <<_ACEOF
10982
 
/* confdefs.h.  */
10983
 
_ACEOF
10984
 
cat confdefs.h >>conftest.$ac_ext
10985
 
cat >>conftest.$ac_ext <<_ACEOF
10986
 
/* end confdefs.h.  */
10987
 
 
10988
 
/* Override any GCC internal prototype to avoid an error.
10989
 
   Use char because int might match the return type of a GCC
10990
 
   builtin and then its argument prototype would still apply.  */
10991
 
#ifdef __cplusplus
10992
 
extern "C"
10993
 
#endif
10994
 
char dlopen ();
10995
 
int
10996
 
main ()
10997
 
{
10998
 
return dlopen ();
10999
 
  ;
11000
 
  return 0;
11001
 
}
11002
 
_ACEOF
11003
 
rm -f conftest.$ac_objext conftest$ac_exeext
11004
 
if { (ac_try="$ac_link"
11005
 
case "(($ac_try" in
11006
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11007
 
  *) ac_try_echo=$ac_try;;
11008
 
esac
11009
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11010
 
  (eval "$ac_link") 2>conftest.er1
11011
 
  ac_status=$?
11012
 
  grep -v '^ *+' conftest.er1 >conftest.err
11013
 
  rm -f conftest.er1
11014
 
  cat conftest.err >&5
11015
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016
 
  (exit $ac_status); } && {
11017
 
         test -z "$ac_c_werror_flag" ||
11018
 
         test ! -s conftest.err
11019
 
       } && test -s conftest$ac_exeext &&
11020
 
       $as_test_x conftest$ac_exeext; then
11021
 
  ac_cv_lib_dl_dlopen=yes
11022
 
else
11023
 
  echo "$as_me: failed program was:" >&5
11024
 
sed 's/^/| /' conftest.$ac_ext >&5
11025
 
 
11026
 
        ac_cv_lib_dl_dlopen=no
11027
 
fi
11028
 
 
11029
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11030
 
      conftest$ac_exeext conftest.$ac_ext
11031
 
LIBS=$ac_check_lib_save_LIBS
11032
 
fi
11033
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11034
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11035
 
if test $ac_cv_lib_dl_dlopen = yes; then
11036
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11037
 
else
11038
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11039
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11040
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11041
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11042
 
else
11043
 
  ac_check_lib_save_LIBS=$LIBS
11044
 
LIBS="-lsvld  $LIBS"
11045
 
cat >conftest.$ac_ext <<_ACEOF
11046
 
/* confdefs.h.  */
11047
 
_ACEOF
11048
 
cat confdefs.h >>conftest.$ac_ext
11049
 
cat >>conftest.$ac_ext <<_ACEOF
11050
 
/* end confdefs.h.  */
11051
 
 
11052
 
/* Override any GCC internal prototype to avoid an error.
11053
 
   Use char because int might match the return type of a GCC
11054
 
   builtin and then its argument prototype would still apply.  */
11055
 
#ifdef __cplusplus
11056
 
extern "C"
11057
 
#endif
11058
 
char dlopen ();
11059
 
int
11060
 
main ()
11061
 
{
11062
 
return dlopen ();
11063
 
  ;
11064
 
  return 0;
11065
 
}
11066
 
_ACEOF
11067
 
rm -f conftest.$ac_objext conftest$ac_exeext
11068
 
if { (ac_try="$ac_link"
11069
 
case "(($ac_try" in
11070
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11071
 
  *) ac_try_echo=$ac_try;;
11072
 
esac
11073
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11074
 
  (eval "$ac_link") 2>conftest.er1
11075
 
  ac_status=$?
11076
 
  grep -v '^ *+' conftest.er1 >conftest.err
11077
 
  rm -f conftest.er1
11078
 
  cat conftest.err >&5
11079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080
 
  (exit $ac_status); } && {
11081
 
         test -z "$ac_c_werror_flag" ||
11082
 
         test ! -s conftest.err
11083
 
       } && test -s conftest$ac_exeext &&
11084
 
       $as_test_x conftest$ac_exeext; then
11085
 
  ac_cv_lib_svld_dlopen=yes
11086
 
else
11087
 
  echo "$as_me: failed program was:" >&5
11088
 
sed 's/^/| /' conftest.$ac_ext >&5
11089
 
 
11090
 
        ac_cv_lib_svld_dlopen=no
11091
 
fi
11092
 
 
11093
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11094
 
      conftest$ac_exeext conftest.$ac_ext
11095
 
LIBS=$ac_check_lib_save_LIBS
11096
 
fi
11097
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11098
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11099
 
if test $ac_cv_lib_svld_dlopen = yes; then
11100
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11101
 
else
11102
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11103
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11104
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11105
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11106
 
else
11107
 
  ac_check_lib_save_LIBS=$LIBS
11108
 
LIBS="-ldld  $LIBS"
11109
 
cat >conftest.$ac_ext <<_ACEOF
11110
 
/* confdefs.h.  */
11111
 
_ACEOF
11112
 
cat confdefs.h >>conftest.$ac_ext
11113
 
cat >>conftest.$ac_ext <<_ACEOF
11114
 
/* end confdefs.h.  */
11115
 
 
11116
 
/* Override any GCC internal prototype to avoid an error.
11117
 
   Use char because int might match the return type of a GCC
11118
 
   builtin and then its argument prototype would still apply.  */
11119
 
#ifdef __cplusplus
11120
 
extern "C"
11121
 
#endif
11122
 
char dld_link ();
11123
 
int
11124
 
main ()
11125
 
{
11126
 
return dld_link ();
11127
 
  ;
11128
 
  return 0;
11129
 
}
11130
 
_ACEOF
11131
 
rm -f conftest.$ac_objext conftest$ac_exeext
11132
 
if { (ac_try="$ac_link"
11133
 
case "(($ac_try" in
11134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11135
 
  *) ac_try_echo=$ac_try;;
11136
 
esac
11137
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11138
 
  (eval "$ac_link") 2>conftest.er1
11139
 
  ac_status=$?
11140
 
  grep -v '^ *+' conftest.er1 >conftest.err
11141
 
  rm -f conftest.er1
11142
 
  cat conftest.err >&5
11143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144
 
  (exit $ac_status); } && {
11145
 
         test -z "$ac_c_werror_flag" ||
11146
 
         test ! -s conftest.err
11147
 
       } && test -s conftest$ac_exeext &&
11148
 
       $as_test_x conftest$ac_exeext; then
11149
 
  ac_cv_lib_dld_dld_link=yes
11150
 
else
11151
 
  echo "$as_me: failed program was:" >&5
11152
 
sed 's/^/| /' conftest.$ac_ext >&5
11153
 
 
11154
 
        ac_cv_lib_dld_dld_link=no
11155
 
fi
11156
 
 
11157
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11158
 
      conftest$ac_exeext conftest.$ac_ext
11159
 
LIBS=$ac_check_lib_save_LIBS
11160
 
fi
11161
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11162
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11163
 
if test $ac_cv_lib_dld_dld_link = yes; then
11164
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11165
 
fi
11166
 
 
11167
 
              
11168
 
fi
11169
 
 
11170
 
            
11171
 
fi
11172
 
 
11173
 
          
11174
 
fi
11175
 
 
11176
 
        
11177
 
fi
11178
 
 
11179
 
      
11180
 
fi
11181
 
 
11182
 
    ;;
11183
 
  esac
11184
 
 
11185
 
  if test "x$lt_cv_dlopen" != xno; then
11186
 
    enable_dlopen=yes
11187
 
  else
11188
 
    enable_dlopen=no
11189
 
  fi
11190
 
 
11191
 
  case $lt_cv_dlopen in
11192
 
  dlopen)
11193
 
    save_CPPFLAGS="$CPPFLAGS"
11194
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11195
 
 
11196
 
    save_LDFLAGS="$LDFLAGS"
11197
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11198
 
 
11199
 
    save_LIBS="$LIBS"
11200
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11201
 
 
11202
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11203
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11204
 
if test "${lt_cv_dlopen_self+set}" = set; then
11205
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11206
 
else
11207
 
          if test "$cross_compiling" = yes; then :
11208
 
  lt_cv_dlopen_self=cross
11209
 
else
11210
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11211
 
  lt_status=$lt_dlunknown
11212
 
  cat > conftest.$ac_ext <<EOF
11213
 
#line __oline__ "configure"
11214
 
#include "confdefs.h"
11215
 
 
11216
 
#if HAVE_DLFCN_H
11217
 
#include <dlfcn.h>
11218
 
#endif
11219
 
 
11220
 
#include <stdio.h>
11221
 
 
11222
 
#ifdef RTLD_GLOBAL
11223
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11224
 
#else
11225
 
#  ifdef DL_GLOBAL
11226
 
#    define LT_DLGLOBAL         DL_GLOBAL
11227
 
#  else
11228
 
#    define LT_DLGLOBAL         0
11229
 
#  endif
11230
 
#endif
11231
 
 
11232
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11233
 
   find out it does not work in some platform. */
11234
 
#ifndef LT_DLLAZY_OR_NOW
11235
 
#  ifdef RTLD_LAZY
11236
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11237
 
#  else
11238
 
#    ifdef DL_LAZY
11239
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11240
 
#    else
11241
 
#      ifdef RTLD_NOW
11242
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11243
 
#      else
11244
 
#        ifdef DL_NOW
11245
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11246
 
#        else
11247
 
#          define LT_DLLAZY_OR_NOW      0
11248
 
#        endif
11249
 
#      endif
11250
 
#    endif
11251
 
#  endif
11252
 
#endif
11253
 
 
11254
 
#ifdef __cplusplus
11255
 
extern "C" void exit (int);
11256
 
#endif
11257
 
 
11258
 
void fnord() { int i=42;}
11259
 
int main ()
11260
 
{
11261
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11262
 
  int status = $lt_dlunknown;
11263
 
 
11264
 
  if (self)
11265
 
    {
11266
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11267
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11268
 
      /* dlclose (self); */
11269
 
    }
11270
 
  else
11271
 
    puts (dlerror ());
11272
 
 
11273
 
    exit (status);
11274
 
}
11275
 
EOF
11276
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11277
 
  (eval $ac_link) 2>&5
11278
 
  ac_status=$?
11279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11281
 
    (./conftest; exit; ) >&5 2>/dev/null
11282
 
    lt_status=$?
11283
 
    case x$lt_status in
11284
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11285
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11286
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11287
 
    esac
11288
 
  else :
11289
 
    # compilation failed
11290
 
    lt_cv_dlopen_self=no
11291
 
  fi
11292
 
fi
11293
 
rm -fr conftest*
11294
 
 
11295
 
    
11296
 
fi
11297
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11298
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11299
 
 
11300
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11301
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11302
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11303
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11304
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
11305
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11306
 
else
11307
 
          if test "$cross_compiling" = yes; then :
11308
 
  lt_cv_dlopen_self_static=cross
11309
 
else
11310
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11311
 
  lt_status=$lt_dlunknown
11312
 
  cat > conftest.$ac_ext <<EOF
11313
 
#line __oline__ "configure"
11314
 
#include "confdefs.h"
11315
 
 
11316
 
#if HAVE_DLFCN_H
11317
 
#include <dlfcn.h>
11318
 
#endif
11319
 
 
11320
 
#include <stdio.h>
11321
 
 
11322
 
#ifdef RTLD_GLOBAL
11323
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11324
 
#else
11325
 
#  ifdef DL_GLOBAL
11326
 
#    define LT_DLGLOBAL         DL_GLOBAL
11327
 
#  else
11328
 
#    define LT_DLGLOBAL         0
11329
 
#  endif
11330
 
#endif
11331
 
 
11332
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11333
 
   find out it does not work in some platform. */
11334
 
#ifndef LT_DLLAZY_OR_NOW
11335
 
#  ifdef RTLD_LAZY
11336
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11337
 
#  else
11338
 
#    ifdef DL_LAZY
11339
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11340
 
#    else
11341
 
#      ifdef RTLD_NOW
11342
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11343
 
#      else
11344
 
#        ifdef DL_NOW
11345
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11346
 
#        else
11347
 
#          define LT_DLLAZY_OR_NOW      0
11348
 
#        endif
11349
 
#      endif
11350
 
#    endif
11351
 
#  endif
11352
 
#endif
11353
 
 
11354
 
#ifdef __cplusplus
11355
 
extern "C" void exit (int);
11356
 
#endif
11357
 
 
11358
 
void fnord() { int i=42;}
11359
 
int main ()
11360
 
{
11361
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11362
 
  int status = $lt_dlunknown;
11363
 
 
11364
 
  if (self)
11365
 
    {
11366
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11367
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11368
 
      /* dlclose (self); */
11369
 
    }
11370
 
  else
11371
 
    puts (dlerror ());
11372
 
 
11373
 
    exit (status);
11374
 
}
11375
 
EOF
11376
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11377
 
  (eval $ac_link) 2>&5
11378
 
  ac_status=$?
11379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11381
 
    (./conftest; exit; ) >&5 2>/dev/null
11382
 
    lt_status=$?
11383
 
    case x$lt_status in
11384
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11385
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11386
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11387
 
    esac
11388
 
  else :
11389
 
    # compilation failed
11390
 
    lt_cv_dlopen_self_static=no
11391
 
  fi
11392
 
fi
11393
 
rm -fr conftest*
11394
 
 
11395
 
      
11396
 
fi
11397
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11398
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11399
 
    fi
11400
 
 
11401
 
    CPPFLAGS="$save_CPPFLAGS"
11402
 
    LDFLAGS="$save_LDFLAGS"
11403
 
    LIBS="$save_LIBS"
11404
 
    ;;
11405
 
  esac
11406
 
 
11407
 
  case $lt_cv_dlopen_self in
11408
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11409
 
  *) enable_dlopen_self=unknown ;;
11410
 
  esac
11411
 
 
11412
 
  case $lt_cv_dlopen_self_static in
11413
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11414
 
  *) enable_dlopen_self_static=unknown ;;
11415
 
  esac
11416
 
fi
11417
 
 
11418
 
 
11419
 
# Report which library types will actually be built
11420
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11421
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11422
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11423
 
echo "${ECHO_T}$can_build_shared" >&6; }
11424
 
 
11425
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11426
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11427
 
test "$can_build_shared" = "no" && enable_shared=no
11428
 
 
11429
 
# On AIX, shared libraries and static libraries use the same namespace, and
11430
 
# are all built from PIC.
11431
 
case $host_os in
11432
 
aix3*)
11433
 
  test "$enable_shared" = yes && enable_static=no
11434
 
  if test -n "$RANLIB"; then
11435
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
11436
 
    postinstall_cmds='$RANLIB $lib'
11437
 
  fi
11438
 
  ;;
11439
 
 
11440
 
aix4* | aix5*)
11441
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11442
 
    test "$enable_shared" = yes && enable_static=no
11443
 
  fi
11444
 
    ;;
11445
 
esac
11446
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11447
 
echo "${ECHO_T}$enable_shared" >&6; }
11448
 
 
11449
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11450
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11451
 
# Make sure either enable_shared or enable_static is yes.
11452
 
test "$enable_shared" = yes || enable_static=yes
11453
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11454
 
echo "${ECHO_T}$enable_static" >&6; }
11455
 
 
11456
 
# The else clause should only fire when bootstrapping the
11457
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
11458
 
# with your package, and you will get complaints that there are
11459
 
# no rules to generate ltmain.sh.
11460
 
if test -f "$ltmain"; then
11461
 
  # See if we are running on zsh, and set the options which allow our commands through
11462
 
  # without removal of \ escapes.
11463
 
  if test -n "${ZSH_VERSION+set}" ; then
11464
 
    setopt NO_GLOB_SUBST
11465
 
  fi
11466
 
  # Now quote all the things that may contain metacharacters while being
11467
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
11468
 
  # variables and quote the copies for generation of the libtool script.
11469
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11470
 
    SED SHELL STRIP \
11471
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11472
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11473
 
    deplibs_check_method reload_flag reload_cmds need_locks \
11474
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11475
 
    lt_cv_sys_global_symbol_to_c_name_address \
11476
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11477
 
    old_postinstall_cmds old_postuninstall_cmds \
11478
 
    compiler \
11479
 
    CC \
11480
 
    LD \
11481
 
    lt_prog_compiler_wl \
11482
 
    lt_prog_compiler_pic \
11483
 
    lt_prog_compiler_static \
11484
 
    lt_prog_compiler_no_builtin_flag \
11485
 
    export_dynamic_flag_spec \
11486
 
    thread_safe_flag_spec \
11487
 
    whole_archive_flag_spec \
11488
 
    enable_shared_with_static_runtimes \
11489
 
    old_archive_cmds \
11490
 
    old_archive_from_new_cmds \
11491
 
    predep_objects \
11492
 
    postdep_objects \
11493
 
    predeps \
11494
 
    postdeps \
11495
 
    compiler_lib_search_path \
11496
 
    archive_cmds \
11497
 
    archive_expsym_cmds \
11498
 
    postinstall_cmds \
11499
 
    postuninstall_cmds \
11500
 
    old_archive_from_expsyms_cmds \
11501
 
    allow_undefined_flag \
11502
 
    no_undefined_flag \
11503
 
    export_symbols_cmds \
11504
 
    hardcode_libdir_flag_spec \
11505
 
    hardcode_libdir_flag_spec_ld \
11506
 
    hardcode_libdir_separator \
11507
 
    hardcode_automatic \
11508
 
    module_cmds \
11509
 
    module_expsym_cmds \
11510
 
    lt_cv_prog_compiler_c_o \
11511
 
    fix_srcfile_path \
11512
 
    exclude_expsyms \
11513
 
    include_expsyms; do
11514
 
 
11515
 
    case $var in
11516
 
    old_archive_cmds | \
11517
 
    old_archive_from_new_cmds | \
11518
 
    archive_cmds | \
11519
 
    archive_expsym_cmds | \
11520
 
    module_cmds | \
11521
 
    module_expsym_cmds | \
11522
 
    old_archive_from_expsyms_cmds | \
11523
 
    export_symbols_cmds | \
11524
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
11525
 
    postinstall_cmds | postuninstall_cmds | \
11526
 
    old_postinstall_cmds | old_postuninstall_cmds | \
11527
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11528
 
      # Double-quote double-evaled strings.
11529
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11530
 
      ;;
11531
 
    *)
11532
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11533
 
      ;;
11534
 
    esac
11535
 
  done
11536
 
 
11537
 
  case $lt_echo in
11538
 
  *'\$0 --fallback-echo"')
11539
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11540
 
    ;;
11541
 
  esac
11542
 
 
11543
 
cfgfile="${ofile}T"
11544
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11545
 
  $rm -f "$cfgfile"
11546
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
11547
 
echo "$as_me: creating $ofile" >&6;}
11548
 
 
11549
 
  cat <<__EOF__ >> "$cfgfile"
11550
 
#! $SHELL
11551
 
 
11552
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11553
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11554
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11555
 
#
11556
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11557
 
# Free Software Foundation, Inc.
11558
 
#
11559
 
# This file is part of GNU Libtool:
11560
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11561
 
#
11562
 
# This program is free software; you can redistribute it and/or modify
11563
 
# it under the terms of the GNU General Public License as published by
11564
 
# the Free Software Foundation; either version 2 of the License, or
11565
 
# (at your option) any later version.
11566
 
#
11567
 
# This program is distributed in the hope that it will be useful, but
11568
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
11569
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11570
 
# General Public License for more details.
11571
 
#
11572
 
# You should have received a copy of the GNU General Public License
11573
 
# along with this program; if not, write to the Free Software
11574
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11575
 
#
11576
 
# As a special exception to the GNU General Public License, if you
11577
 
# distribute this file as part of a program that contains a
11578
 
# configuration script generated by Autoconf, you may include it under
11579
 
# the same distribution terms that you use for the rest of that program.
11580
 
 
11581
 
# A sed program that does not truncate output.
11582
 
SED=$lt_SED
11583
 
 
11584
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11585
 
Xsed="$SED -e 1s/^X//"
11586
 
 
11587
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
11588
 
# if CDPATH is set.
11589
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11590
 
 
11591
 
# The names of the tagged configurations supported by this script.
11592
 
available_tags=
11593
 
 
11594
 
# ### BEGIN LIBTOOL CONFIG
11595
 
 
11596
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11597
 
 
11598
 
# Shell to use when invoking shell scripts.
11599
 
SHELL=$lt_SHELL
11600
 
 
11601
 
# Whether or not to build shared libraries.
11602
 
build_libtool_libs=$enable_shared
11603
 
 
11604
 
# Whether or not to build static libraries.
11605
 
build_old_libs=$enable_static
11606
 
 
11607
 
# Whether or not to add -lc for building shared libraries.
11608
 
build_libtool_need_lc=$archive_cmds_need_lc
11609
 
 
11610
 
# Whether or not to disallow shared libs when runtime libs are static
11611
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11612
 
 
11613
 
# Whether or not to optimize for fast installation.
11614
 
fast_install=$enable_fast_install
11615
 
 
11616
 
# The host system.
11617
 
host_alias=$host_alias
11618
 
host=$host
11619
 
host_os=$host_os
11620
 
 
11621
 
# The build system.
11622
 
build_alias=$build_alias
11623
 
build=$build
11624
 
build_os=$build_os
11625
 
 
11626
 
# An echo program that does not interpret backslashes.
11627
 
echo=$lt_echo
11628
 
 
11629
 
# The archiver.
11630
 
AR=$lt_AR
11631
 
AR_FLAGS=$lt_AR_FLAGS
11632
 
 
11633
 
# A C compiler.
11634
 
LTCC=$lt_LTCC
11635
 
 
11636
 
# LTCC compiler flags.
11637
 
LTCFLAGS=$lt_LTCFLAGS
11638
 
 
11639
 
# A language-specific compiler.
11640
 
CC=$lt_compiler
11641
 
 
11642
 
# Is the compiler the GNU C compiler?
11643
 
with_gcc=$GCC
11644
 
 
11645
 
# An ERE matcher.
11646
 
EGREP=$lt_EGREP
11647
 
 
11648
 
# The linker used to build libraries.
11649
 
LD=$lt_LD
11650
 
 
11651
 
# Whether we need hard or soft links.
11652
 
LN_S=$lt_LN_S
11653
 
 
11654
 
# A BSD-compatible nm program.
11655
 
NM=$lt_NM
11656
 
 
11657
 
# A symbol stripping program
11658
 
STRIP=$lt_STRIP
11659
 
 
11660
 
# Used to examine libraries when file_magic_cmd begins "file"
11661
 
MAGIC_CMD=$MAGIC_CMD
11662
 
 
11663
 
# Used on cygwin: DLL creation program.
11664
 
DLLTOOL="$DLLTOOL"
11665
 
 
11666
 
# Used on cygwin: object dumper.
11667
 
OBJDUMP="$OBJDUMP"
11668
 
 
11669
 
# Used on cygwin: assembler.
11670
 
AS="$AS"
11671
 
 
11672
 
# The name of the directory that contains temporary libtool files.
11673
 
objdir=$objdir
11674
 
 
11675
 
# How to create reloadable object files.
11676
 
reload_flag=$lt_reload_flag
11677
 
reload_cmds=$lt_reload_cmds
11678
 
 
11679
 
# How to pass a linker flag through the compiler.
11680
 
wl=$lt_lt_prog_compiler_wl
11681
 
 
11682
 
# Object file suffix (normally "o").
11683
 
objext="$ac_objext"
11684
 
 
11685
 
# Old archive suffix (normally "a").
11686
 
libext="$libext"
11687
 
 
11688
 
# Shared library suffix (normally ".so").
11689
 
shrext_cmds='$shrext_cmds'
11690
 
 
11691
 
# Executable file suffix (normally "").
11692
 
exeext="$exeext"
11693
 
 
11694
 
# Additional compiler flags for building library objects.
11695
 
pic_flag=$lt_lt_prog_compiler_pic
11696
 
pic_mode=$pic_mode
11697
 
 
11698
 
# What is the maximum length of a command?
11699
 
max_cmd_len=$lt_cv_sys_max_cmd_len
11700
 
 
11701
 
# Does compiler simultaneously support -c and -o options?
11702
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11703
 
 
11704
 
# Must we lock files when doing compilation?
11705
 
need_locks=$lt_need_locks
11706
 
 
11707
 
# Do we need the lib prefix for modules?
11708
 
need_lib_prefix=$need_lib_prefix
11709
 
 
11710
 
# Do we need a version for libraries?
11711
 
need_version=$need_version
11712
 
 
11713
 
# Whether dlopen is supported.
11714
 
dlopen_support=$enable_dlopen
11715
 
 
11716
 
# Whether dlopen of programs is supported.
11717
 
dlopen_self=$enable_dlopen_self
11718
 
 
11719
 
# Whether dlopen of statically linked programs is supported.
11720
 
dlopen_self_static=$enable_dlopen_self_static
11721
 
 
11722
 
# Compiler flag to prevent dynamic linking.
11723
 
link_static_flag=$lt_lt_prog_compiler_static
11724
 
 
11725
 
# Compiler flag to turn off builtin functions.
11726
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11727
 
 
11728
 
# Compiler flag to allow reflexive dlopens.
11729
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11730
 
 
11731
 
# Compiler flag to generate shared objects directly from archives.
11732
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11733
 
 
11734
 
# Compiler flag to generate thread-safe objects.
11735
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11736
 
 
11737
 
# Library versioning type.
11738
 
version_type=$version_type
11739
 
 
11740
 
# Format of library name prefix.
11741
 
libname_spec=$lt_libname_spec
11742
 
 
11743
 
# List of archive names.  First name is the real one, the rest are links.
11744
 
# The last name is the one that the linker finds with -lNAME.
11745
 
library_names_spec=$lt_library_names_spec
11746
 
 
11747
 
# The coded name of the library, if different from the real name.
11748
 
soname_spec=$lt_soname_spec
11749
 
 
11750
 
# Commands used to build and install an old-style archive.
11751
 
RANLIB=$lt_RANLIB
11752
 
old_archive_cmds=$lt_old_archive_cmds
11753
 
old_postinstall_cmds=$lt_old_postinstall_cmds
11754
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11755
 
 
11756
 
# Create an old-style archive from a shared archive.
11757
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11758
 
 
11759
 
# Create a temporary old-style archive to link instead of a shared archive.
11760
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11761
 
 
11762
 
# Commands used to build and install a shared archive.
11763
 
archive_cmds=$lt_archive_cmds
11764
 
archive_expsym_cmds=$lt_archive_expsym_cmds
11765
 
postinstall_cmds=$lt_postinstall_cmds
11766
 
postuninstall_cmds=$lt_postuninstall_cmds
11767
 
 
11768
 
# Commands used to build a loadable module (assumed same as above if empty)
11769
 
module_cmds=$lt_module_cmds
11770
 
module_expsym_cmds=$lt_module_expsym_cmds
11771
 
 
11772
 
# Commands to strip libraries.
11773
 
old_striplib=$lt_old_striplib
11774
 
striplib=$lt_striplib
11775
 
 
11776
 
# Dependencies to place before the objects being linked to create a
11777
 
# shared library.
11778
 
predep_objects=$lt_predep_objects
11779
 
 
11780
 
# Dependencies to place after the objects being linked to create a
11781
 
# shared library.
11782
 
postdep_objects=$lt_postdep_objects
11783
 
 
11784
 
# Dependencies to place before the objects being linked to create a
11785
 
# shared library.
11786
 
predeps=$lt_predeps
11787
 
 
11788
 
# Dependencies to place after the objects being linked to create a
11789
 
# shared library.
11790
 
postdeps=$lt_postdeps
11791
 
 
11792
 
# The library search path used internally by the compiler when linking
11793
 
# a shared library.
11794
 
compiler_lib_search_path=$lt_compiler_lib_search_path
11795
 
 
11796
 
# Method to check whether dependent libraries are shared objects.
11797
 
deplibs_check_method=$lt_deplibs_check_method
11798
 
 
11799
 
# Command to use when deplibs_check_method == file_magic.
11800
 
file_magic_cmd=$lt_file_magic_cmd
11801
 
 
11802
 
# Flag that allows shared libraries with undefined symbols to be built.
11803
 
allow_undefined_flag=$lt_allow_undefined_flag
11804
 
 
11805
 
# Flag that forces no undefined symbols.
11806
 
no_undefined_flag=$lt_no_undefined_flag
11807
 
 
11808
 
# Commands used to finish a libtool library installation in a directory.
11809
 
finish_cmds=$lt_finish_cmds
11810
 
 
11811
 
# Same as above, but a single script fragment to be evaled but not shown.
11812
 
finish_eval=$lt_finish_eval
11813
 
 
11814
 
# Take the output of nm and produce a listing of raw symbols and C names.
11815
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11816
 
 
11817
 
# Transform the output of nm in a proper C declaration
11818
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11819
 
 
11820
 
# Transform the output of nm in a C name address pair
11821
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11822
 
 
11823
 
# This is the shared library runtime path variable.
11824
 
runpath_var=$runpath_var
11825
 
 
11826
 
# This is the shared library path variable.
11827
 
shlibpath_var=$shlibpath_var
11828
 
 
11829
 
# Is shlibpath searched before the hard-coded library search path?
11830
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11831
 
 
11832
 
# How to hardcode a shared library path into an executable.
11833
 
hardcode_action=$hardcode_action
11834
 
 
11835
 
# Whether we should hardcode library paths into libraries.
11836
 
hardcode_into_libs=$hardcode_into_libs
11837
 
 
11838
 
# Flag to hardcode \$libdir into a binary during linking.
11839
 
# This must work even if \$libdir does not exist.
11840
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11841
 
 
11842
 
# If ld is used when linking, flag to hardcode \$libdir into
11843
 
# a binary during linking. This must work even if \$libdir does
11844
 
# not exist.
11845
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11846
 
 
11847
 
# Whether we need a single -rpath flag with a separated argument.
11848
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11849
 
 
11850
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11851
 
# resulting binary.
11852
 
hardcode_direct=$hardcode_direct
11853
 
 
11854
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11855
 
# resulting binary.
11856
 
hardcode_minus_L=$hardcode_minus_L
11857
 
 
11858
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11859
 
# the resulting binary.
11860
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
11861
 
 
11862
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
11863
 
# and all subsequent libraries and executables linked against it.
11864
 
hardcode_automatic=$hardcode_automatic
11865
 
 
11866
 
# Variables whose values should be saved in libtool wrapper scripts and
11867
 
# restored at relink time.
11868
 
variables_saved_for_relink="$variables_saved_for_relink"
11869
 
 
11870
 
# Whether libtool must link a program against all its dependency libraries.
11871
 
link_all_deplibs=$link_all_deplibs
11872
 
 
11873
 
# Compile-time system search path for libraries
11874
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11875
 
 
11876
 
# Run-time system search path for libraries
11877
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11878
 
 
11879
 
# Fix the shell variable \$srcfile for the compiler.
11880
 
fix_srcfile_path=$lt_fix_srcfile_path
11881
 
 
11882
 
# Set to yes if exported symbols are required.
11883
 
always_export_symbols=$always_export_symbols
11884
 
 
11885
 
# The commands to list exported symbols.
11886
 
export_symbols_cmds=$lt_export_symbols_cmds
11887
 
 
11888
 
# The commands to extract the exported symbol list from a shared archive.
11889
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11890
 
 
11891
 
# Symbols that should not be listed in the preloaded symbols.
11892
 
exclude_expsyms=$lt_exclude_expsyms
11893
 
 
11894
 
# Symbols that must always be exported.
11895
 
include_expsyms=$lt_include_expsyms
11896
 
 
11897
 
# ### END LIBTOOL CONFIG
11898
 
 
11899
 
__EOF__
11900
 
 
11901
 
 
11902
 
  case $host_os in
11903
 
  aix3*)
11904
 
    cat <<\EOF >> "$cfgfile"
11905
 
 
11906
 
# AIX sometimes has problems with the GCC collect2 program.  For some
11907
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
11908
 
# vanish in a puff of smoke.
11909
 
if test "X${COLLECT_NAMES+set}" != Xset; then
11910
 
  COLLECT_NAMES=
11911
 
  export COLLECT_NAMES
11912
 
fi
11913
 
EOF
11914
 
    ;;
11915
 
  esac
11916
 
 
11917
 
  # We use sed instead of cat because bash on DJGPP gets confused if
11918
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11919
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
11920
 
  # is reportedly fixed, but why not run on old versions too?
11921
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11922
 
 
11923
 
  mv -f "$cfgfile" "$ofile" || \
11924
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11925
 
  chmod +x "$ofile"
11926
 
 
11927
 
else
11928
 
  # If there is no Makefile yet, we rely on a make rule to execute
11929
 
  # `config.status --recheck' to rerun these tests and create the
11930
 
  # libtool script then.
11931
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11932
 
  if test -f "$ltmain_in"; then
11933
 
    test -f Makefile && make "$ltmain"
11934
 
  fi
11935
 
fi
11936
 
 
11937
 
 
11938
 
ac_ext=c
11939
 
ac_cpp='$CPP $CPPFLAGS'
11940
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11941
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11942
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11943
 
 
11944
 
CC="$lt_save_CC"
11945
 
 
11946
 
 
11947
 
# Check whether --with-tags was given.
11948
 
if test "${with_tags+set}" = set; then
11949
 
  withval=$with_tags; tagnames="$withval"
11950
 
fi
11951
 
 
11952
 
 
11953
 
if test -f "$ltmain" && test -n "$tagnames"; then
11954
 
  if test ! -f "${ofile}"; then
11955
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11956
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11957
 
  fi
11958
 
 
11959
 
  if test -z "$LTCC"; then
11960
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11961
 
    if test -z "$LTCC"; then
11962
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11963
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11964
 
    else
11965
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11966
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11967
 
    fi
11968
 
  fi
11969
 
  if test -z "$LTCFLAGS"; then
11970
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11971
 
  fi
11972
 
 
11973
 
  # Extract list of available tagged configurations in $ofile.
11974
 
  # Note that this assumes the entire list is on one line.
11975
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11976
 
 
11977
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11978
 
  for tagname in $tagnames; do
11979
 
    IFS="$lt_save_ifs"
11980
 
    # Check whether tagname contains only valid characters
11981
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11982
 
    "") ;;
11983
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11984
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11985
 
   { (exit 1); exit 1; }; }
11986
 
        ;;
11987
 
    esac
11988
 
 
11989
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11990
 
    then
11991
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11992
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11993
 
   { (exit 1); exit 1; }; }
11994
 
    fi
11995
 
 
11996
 
    # Update the list of available tags.
11997
 
    if test -n "$tagname"; then
11998
 
      echo appending configuration tag \"$tagname\" to $ofile
11999
 
 
12000
 
      case $tagname in
12001
 
      CXX)
12002
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12003
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12004
 
            (test "X$CXX" != "Xg++"))) ; then
12005
 
          ac_ext=cpp
12006
 
ac_cpp='$CXXCPP $CPPFLAGS'
12007
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12010
 
 
12011
 
 
12012
 
 
12013
 
 
12014
 
archive_cmds_need_lc_CXX=no
12015
 
allow_undefined_flag_CXX=
12016
 
always_export_symbols_CXX=no
12017
 
archive_expsym_cmds_CXX=
12018
 
export_dynamic_flag_spec_CXX=
12019
 
hardcode_direct_CXX=no
12020
 
hardcode_libdir_flag_spec_CXX=
12021
 
hardcode_libdir_flag_spec_ld_CXX=
12022
 
hardcode_libdir_separator_CXX=
12023
 
hardcode_minus_L_CXX=no
12024
 
hardcode_shlibpath_var_CXX=unsupported
12025
 
hardcode_automatic_CXX=no
12026
 
module_cmds_CXX=
12027
 
module_expsym_cmds_CXX=
12028
 
link_all_deplibs_CXX=unknown
12029
 
old_archive_cmds_CXX=$old_archive_cmds
12030
 
no_undefined_flag_CXX=
12031
 
whole_archive_flag_spec_CXX=
12032
 
enable_shared_with_static_runtimes_CXX=no
12033
 
 
12034
 
# Dependencies to place before and after the object being linked:
12035
 
predep_objects_CXX=
12036
 
postdep_objects_CXX=
12037
 
predeps_CXX=
12038
 
postdeps_CXX=
12039
 
compiler_lib_search_path_CXX=
12040
 
 
12041
 
# Source file extension for C++ test sources.
12042
 
ac_ext=cpp
12043
 
 
12044
 
# Object file extension for compiled C++ test sources.
12045
 
objext=o
12046
 
objext_CXX=$objext
12047
 
 
12048
 
# Code to be used in simple compile tests
12049
 
lt_simple_compile_test_code="int some_variable = 0;"
12050
 
 
12051
 
# Code to be used in simple link tests
12052
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12053
 
 
12054
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12055
 
 
12056
 
# If no C compiler was specified, use CC.
12057
 
LTCC=${LTCC-"$CC"}
12058
 
 
12059
 
# If no C compiler flags were specified, use CFLAGS.
12060
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12061
 
 
12062
 
# Allow CC to be a program name with arguments.
12063
 
compiler=$CC
12064
 
 
12065
 
 
12066
 
# save warnings/boilerplate of simple test code
12067
 
ac_outfile=conftest.$ac_objext
12068
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12069
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12070
 
_lt_compiler_boilerplate=`cat conftest.err`
12071
 
$rm conftest*
12072
 
 
12073
 
ac_outfile=conftest.$ac_objext
12074
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12075
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12076
 
_lt_linker_boilerplate=`cat conftest.err`
12077
 
$rm conftest*
12078
 
 
12079
 
 
12080
 
# Allow CC to be a program name with arguments.
12081
 
lt_save_CC=$CC
12082
 
lt_save_LD=$LD
12083
 
lt_save_GCC=$GCC
12084
 
GCC=$GXX
12085
 
lt_save_with_gnu_ld=$with_gnu_ld
12086
 
lt_save_path_LD=$lt_cv_path_LD
12087
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12088
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12089
 
else
12090
 
  $as_unset lt_cv_prog_gnu_ld
12091
 
fi
12092
 
if test -n "${lt_cv_path_LDCXX+set}"; then
12093
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
12094
 
else
12095
 
  $as_unset lt_cv_path_LD
12096
 
fi
12097
 
test -z "${LDCXX+set}" || LD=$LDCXX
12098
 
CC=${CXX-"c++"}
12099
 
compiler=$CC
12100
 
compiler_CXX=$CC
12101
 
for cc_temp in $compiler""; do
12102
 
  case $cc_temp in
12103
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12104
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12105
 
    \-*) ;;
12106
 
    *) break;;
12107
 
  esac
12108
 
done
12109
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12110
 
 
12111
 
 
12112
 
# We don't want -fno-exception wen compiling C++ code, so set the
12113
 
# no_builtin_flag separately
12114
 
if test "$GXX" = yes; then
12115
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12116
 
else
12117
 
  lt_prog_compiler_no_builtin_flag_CXX=
12118
 
fi
12119
 
 
12120
 
if test "$GXX" = yes; then
12121
 
  # Set up default GNU C++ configuration
12122
 
 
12123
 
  
12124
 
# Check whether --with-gnu-ld was given.
12125
 
if test "${with_gnu_ld+set}" = set; then
12126
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12127
 
else
12128
 
  with_gnu_ld=no
12129
 
fi
12130
 
 
12131
 
ac_prog=ld
12132
 
if test "$GCC" = yes; then
12133
 
  # Check if gcc -print-prog-name=ld gives a path.
12134
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12135
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12136
 
  case $host in
12137
 
  *-*-mingw*)
12138
 
    # gcc leaves a trailing carriage return which upsets mingw
12139
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12140
 
  *)
12141
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12142
 
  esac
12143
 
  case $ac_prog in
12144
 
    # Accept absolute paths.
12145
 
    [\\/]* | ?:[\\/]*)
12146
 
      re_direlt='/[^/][^/]*/\.\./'
12147
 
      # Canonicalize the pathname of ld
12148
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12149
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12150
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12151
 
      done
12152
 
      test -z "$LD" && LD="$ac_prog"
12153
 
      ;;
12154
 
  "")
12155
 
    # If it fails, then pretend we aren't using GCC.
12156
 
    ac_prog=ld
12157
 
    ;;
12158
 
  *)
12159
 
    # If it is relative, then search for the first ld in PATH.
12160
 
    with_gnu_ld=unknown
12161
 
    ;;
12162
 
  esac
12163
 
elif test "$with_gnu_ld" = yes; then
12164
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
12165
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12166
 
else
12167
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12168
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12169
 
fi
12170
 
if test "${lt_cv_path_LD+set}" = set; then
12171
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12172
 
else
12173
 
  if test -z "$LD"; then
12174
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12175
 
  for ac_dir in $PATH; do
12176
 
    IFS="$lt_save_ifs"
12177
 
    test -z "$ac_dir" && ac_dir=.
12178
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12179
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
12180
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
12181
 
      # but apparently some variants of GNU ld only accept -v.
12182
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
12183
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12184
 
      *GNU* | *'with BFD'*)
12185
 
        test "$with_gnu_ld" != no && break
12186
 
        ;;
12187
 
      *)
12188
 
        test "$with_gnu_ld" != yes && break
12189
 
        ;;
12190
 
      esac
12191
 
    fi
12192
 
  done
12193
 
  IFS="$lt_save_ifs"
12194
 
else
12195
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12196
 
fi
12197
 
fi
12198
 
 
12199
 
LD="$lt_cv_path_LD"
12200
 
if test -n "$LD"; then
12201
 
  { echo "$as_me:$LINENO: result: $LD" >&5
12202
 
echo "${ECHO_T}$LD" >&6; }
12203
 
else
12204
 
  { echo "$as_me:$LINENO: result: no" >&5
12205
 
echo "${ECHO_T}no" >&6; }
12206
 
fi
12207
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12208
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12209
 
   { (exit 1); exit 1; }; }
12210
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12211
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12212
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12213
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12214
 
else
12215
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12216
 
case `$LD -v 2>&1 </dev/null` in
12217
 
*GNU* | *'with BFD'*)
12218
 
  lt_cv_prog_gnu_ld=yes
12219
 
  ;;
12220
 
*)
12221
 
  lt_cv_prog_gnu_ld=no
12222
 
  ;;
12223
 
esac
12224
 
fi
12225
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12226
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12227
 
with_gnu_ld=$lt_cv_prog_gnu_ld
12228
 
 
12229
 
 
12230
 
 
12231
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
12232
 
  # archiving commands below assume that GNU ld is being used.
12233
 
  if test "$with_gnu_ld" = yes; then
12234
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12235
 
    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'
12236
 
 
12237
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12238
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12239
 
 
12240
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
12241
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12242
 
    #     investigate it a little bit more. (MM)
12243
 
    wlarc='${wl}'
12244
 
 
12245
 
    # ancient GNU ld didn't support --whole-archive et. al.
12246
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12247
 
        grep 'no-whole-archive' > /dev/null; then
12248
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12249
 
    else
12250
 
      whole_archive_flag_spec_CXX=
12251
 
    fi
12252
 
  else
12253
 
    with_gnu_ld=no
12254
 
    wlarc=
12255
 
 
12256
 
    # A generic and very simple default shared library creation
12257
 
    # command for GNU C++ for the case where it uses the native
12258
 
    # linker, instead of GNU ld.  If possible, this setting should
12259
 
    # overridden to take advantage of the native linker features on
12260
 
    # the platform it is being used on.
12261
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12262
 
  fi
12263
 
 
12264
 
  # Commands to make compiler produce verbose output that lists
12265
 
  # what "hidden" libraries, object files and flags are used when
12266
 
  # linking a shared library.
12267
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12268
 
 
12269
 
else
12270
 
  GXX=no
12271
 
  with_gnu_ld=no
12272
 
  wlarc=
12273
 
fi
12274
 
 
12275
 
# PORTME: fill in a description of your system's C++ link characteristics
12276
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12277
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12278
 
ld_shlibs_CXX=yes
12279
 
case $host_os in
12280
 
  aix3*)
12281
 
    # FIXME: insert proper C++ library support
12282
 
    ld_shlibs_CXX=no
12283
 
    ;;
12284
 
  aix4* | aix5*)
12285
 
    if test "$host_cpu" = ia64; then
12286
 
      # On IA64, the linker does run time linking by default, so we don't
12287
 
      # have to do anything special.
12288
 
      aix_use_runtimelinking=no
12289
 
      exp_sym_flag='-Bexport'
12290
 
      no_entry_flag=""
12291
 
    else
12292
 
      aix_use_runtimelinking=no
12293
 
 
12294
 
      # Test if we are trying to use run time linking or normal
12295
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12296
 
      # need to do runtime linking.
12297
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12298
 
        for ld_flag in $LDFLAGS; do
12299
 
          case $ld_flag in
12300
 
          *-brtl*)
12301
 
            aix_use_runtimelinking=yes
12302
 
            break
12303
 
            ;;
12304
 
          esac
12305
 
        done
12306
 
        ;;
12307
 
      esac
12308
 
 
12309
 
      exp_sym_flag='-bexport'
12310
 
      no_entry_flag='-bnoentry'
12311
 
    fi
12312
 
 
12313
 
    # When large executables or shared objects are built, AIX ld can
12314
 
    # have problems creating the table of contents.  If linking a library
12315
 
    # or program results in "error TOC overflow" add -mminimal-toc to
12316
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12317
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12318
 
 
12319
 
    archive_cmds_CXX=''
12320
 
    hardcode_direct_CXX=yes
12321
 
    hardcode_libdir_separator_CXX=':'
12322
 
    link_all_deplibs_CXX=yes
12323
 
 
12324
 
    if test "$GXX" = yes; then
12325
 
      case $host_os in aix4.[012]|aix4.[012].*)
12326
 
      # We only want to do this on AIX 4.2 and lower, the check
12327
 
      # below for broken collect2 doesn't work under 4.3+
12328
 
        collect2name=`${CC} -print-prog-name=collect2`
12329
 
        if test -f "$collect2name" && \
12330
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12331
 
        then
12332
 
          # We have reworked collect2
12333
 
          :
12334
 
        else
12335
 
          # We have old collect2
12336
 
          hardcode_direct_CXX=unsupported
12337
 
          # It fails to find uninstalled libraries when the uninstalled
12338
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
12339
 
          # to unsupported forces relinking
12340
 
          hardcode_minus_L_CXX=yes
12341
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12342
 
          hardcode_libdir_separator_CXX=
12343
 
        fi
12344
 
        ;;
12345
 
      esac
12346
 
      shared_flag='-shared'
12347
 
      if test "$aix_use_runtimelinking" = yes; then
12348
 
        shared_flag="$shared_flag "'${wl}-G'
12349
 
      fi
12350
 
    else
12351
 
      # not using gcc
12352
 
      if test "$host_cpu" = ia64; then
12353
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12354
 
        # chokes on -Wl,-G. The following line is correct:
12355
 
        shared_flag='-G'
12356
 
      else
12357
 
        if test "$aix_use_runtimelinking" = yes; then
12358
 
          shared_flag='${wl}-G'
12359
 
        else
12360
 
          shared_flag='${wl}-bM:SRE'
12361
 
        fi
12362
 
      fi
12363
 
    fi
12364
 
 
12365
 
    # It seems that -bexpall does not export symbols beginning with
12366
 
    # underscore (_), so it is better to generate a list of symbols to export.
12367
 
    always_export_symbols_CXX=yes
12368
 
    if test "$aix_use_runtimelinking" = yes; then
12369
 
      # Warning - without using the other runtime loading flags (-brtl),
12370
 
      # -berok will link without error, but may produce a broken library.
12371
 
      allow_undefined_flag_CXX='-berok'
12372
 
      # Determine the default libpath from the value encoded in an empty executable.
12373
 
      cat >conftest.$ac_ext <<_ACEOF
12374
 
/* confdefs.h.  */
12375
 
_ACEOF
12376
 
cat confdefs.h >>conftest.$ac_ext
12377
 
cat >>conftest.$ac_ext <<_ACEOF
12378
 
/* end confdefs.h.  */
12379
 
 
12380
 
int
12381
 
main ()
12382
 
{
12383
 
 
12384
 
  ;
12385
 
  return 0;
12386
 
}
12387
 
_ACEOF
12388
 
rm -f conftest.$ac_objext conftest$ac_exeext
12389
 
if { (ac_try="$ac_link"
12390
 
case "(($ac_try" in
12391
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12392
 
  *) ac_try_echo=$ac_try;;
12393
 
esac
12394
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12395
 
  (eval "$ac_link") 2>conftest.er1
12396
 
  ac_status=$?
12397
 
  grep -v '^ *+' conftest.er1 >conftest.err
12398
 
  rm -f conftest.er1
12399
 
  cat conftest.err >&5
12400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401
 
  (exit $ac_status); } && {
12402
 
         test -z "$ac_cxx_werror_flag" ||
12403
 
         test ! -s conftest.err
12404
 
       } && test -s conftest$ac_exeext &&
12405
 
       $as_test_x conftest$ac_exeext; then
12406
 
  
12407
 
lt_aix_libpath_sed='
12408
 
    /Import File Strings/,/^$/ {
12409
 
        /^0/ {
12410
 
            s/^0  *\(.*\)$/\1/
12411
 
            p
12412
 
        }
12413
 
    }'
12414
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12415
 
# Check for a 64-bit object if we didn't find anything.
12416
 
if test -z "$aix_libpath"; then
12417
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12418
 
fi
12419
 
else
12420
 
  echo "$as_me: failed program was:" >&5
12421
 
sed 's/^/| /' conftest.$ac_ext >&5
12422
 
 
12423
 
        
12424
 
fi
12425
 
 
12426
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12427
 
      conftest$ac_exeext conftest.$ac_ext
12428
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12429
 
 
12430
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12431
 
 
12432
 
      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"
12433
 
     else
12434
 
      if test "$host_cpu" = ia64; then
12435
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12436
 
        allow_undefined_flag_CXX="-z nodefs"
12437
 
        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"
12438
 
      else
12439
 
        # Determine the default libpath from the value encoded in an empty executable.
12440
 
        cat >conftest.$ac_ext <<_ACEOF
12441
 
/* confdefs.h.  */
12442
 
_ACEOF
12443
 
cat confdefs.h >>conftest.$ac_ext
12444
 
cat >>conftest.$ac_ext <<_ACEOF
12445
 
/* end confdefs.h.  */
12446
 
 
12447
 
int
12448
 
main ()
12449
 
{
12450
 
 
12451
 
  ;
12452
 
  return 0;
12453
 
}
12454
 
_ACEOF
12455
 
rm -f conftest.$ac_objext conftest$ac_exeext
12456
 
if { (ac_try="$ac_link"
12457
 
case "(($ac_try" in
12458
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12459
 
  *) ac_try_echo=$ac_try;;
12460
 
esac
12461
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12462
 
  (eval "$ac_link") 2>conftest.er1
12463
 
  ac_status=$?
12464
 
  grep -v '^ *+' conftest.er1 >conftest.err
12465
 
  rm -f conftest.er1
12466
 
  cat conftest.err >&5
12467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468
 
  (exit $ac_status); } && {
12469
 
         test -z "$ac_cxx_werror_flag" ||
12470
 
         test ! -s conftest.err
12471
 
       } && test -s conftest$ac_exeext &&
12472
 
       $as_test_x conftest$ac_exeext; then
12473
 
  
12474
 
lt_aix_libpath_sed='
12475
 
    /Import File Strings/,/^$/ {
12476
 
        /^0/ {
12477
 
            s/^0  *\(.*\)$/\1/
12478
 
            p
12479
 
        }
12480
 
    }'
12481
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12482
 
# Check for a 64-bit object if we didn't find anything.
12483
 
if test -z "$aix_libpath"; then
12484
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12485
 
fi
12486
 
else
12487
 
  echo "$as_me: failed program was:" >&5
12488
 
sed 's/^/| /' conftest.$ac_ext >&5
12489
 
 
12490
 
        
12491
 
fi
12492
 
 
12493
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12494
 
      conftest$ac_exeext conftest.$ac_ext
12495
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12496
 
 
12497
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12498
 
        # Warning - without using the other run time loading flags,
12499
 
        # -berok will link without error, but may produce a broken library.
12500
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
12501
 
        allow_undefined_flag_CXX=' ${wl}-berok'
12502
 
        # Exported symbols can be pulled into shared objects from archives
12503
 
        whole_archive_flag_spec_CXX='$convenience'
12504
 
        archive_cmds_need_lc_CXX=yes
12505
 
        # This is similar to how AIX traditionally builds its shared libraries.
12506
 
        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'
12507
 
      fi
12508
 
    fi
12509
 
    ;;
12510
 
 
12511
 
  beos*)
12512
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12513
 
      allow_undefined_flag_CXX=unsupported
12514
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12515
 
      # support --undefined.  This deserves some investigation.  FIXME
12516
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12517
 
    else
12518
 
      ld_shlibs_CXX=no
12519
 
    fi
12520
 
    ;;
12521
 
 
12522
 
  chorus*)
12523
 
    case $cc_basename in
12524
 
      *)
12525
 
        # FIXME: insert proper C++ library support
12526
 
        ld_shlibs_CXX=no
12527
 
        ;;
12528
 
    esac
12529
 
    ;;
12530
 
 
12531
 
  cygwin* | mingw* | pw32*)
12532
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12533
 
    # as there is no search path for DLLs.
12534
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
12535
 
    allow_undefined_flag_CXX=unsupported
12536
 
    always_export_symbols_CXX=no
12537
 
    enable_shared_with_static_runtimes_CXX=yes
12538
 
 
12539
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12540
 
      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'
12541
 
      # If the export-symbols file already is a .def file (1st line
12542
 
      # is EXPORTS), use it as is; otherwise, prepend...
12543
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12544
 
        cp $export_symbols $output_objdir/$soname.def;
12545
 
      else
12546
 
        echo EXPORTS > $output_objdir/$soname.def;
12547
 
        cat $export_symbols >> $output_objdir/$soname.def;
12548
 
      fi~
12549
 
      $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'
12550
 
    else
12551
 
      ld_shlibs_CXX=no
12552
 
    fi
12553
 
  ;;
12554
 
      darwin* | rhapsody*)
12555
 
        case $host_os in
12556
 
        rhapsody* | darwin1.[012])
12557
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12558
 
         ;;
12559
 
       *) # Darwin 1.3 on
12560
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12561
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12562
 
         else
12563
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12564
 
             10.[012])
12565
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12566
 
               ;;
12567
 
             10.*)
12568
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12569
 
               ;;
12570
 
           esac
12571
 
         fi
12572
 
         ;;
12573
 
        esac
12574
 
      archive_cmds_need_lc_CXX=no
12575
 
      hardcode_direct_CXX=no
12576
 
      hardcode_automatic_CXX=yes
12577
 
      hardcode_shlibpath_var_CXX=unsupported
12578
 
      whole_archive_flag_spec_CXX=''
12579
 
      link_all_deplibs_CXX=yes
12580
 
 
12581
 
    if test "$GXX" = yes ; then
12582
 
      lt_int_apple_cc_single_mod=no
12583
 
      output_verbose_link_cmd='echo'
12584
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12585
 
       lt_int_apple_cc_single_mod=yes
12586
 
      fi
12587
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12588
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12589
 
      else
12590
 
          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'
12591
 
        fi
12592
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12593
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12594
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12595
 
            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}'
12596
 
          else
12597
 
            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}'
12598
 
          fi
12599
 
            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}'
12600
 
      else
12601
 
      case $cc_basename in
12602
 
        xlc*)
12603
 
         output_verbose_link_cmd='echo'
12604
 
          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'
12605
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12606
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12607
 
          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}'
12608
 
          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}'
12609
 
          ;;
12610
 
       *)
12611
 
         ld_shlibs_CXX=no
12612
 
          ;;
12613
 
      esac
12614
 
      fi
12615
 
        ;;
12616
 
 
12617
 
  dgux*)
12618
 
    case $cc_basename in
12619
 
      ec++*)
12620
 
        # FIXME: insert proper C++ library support
12621
 
        ld_shlibs_CXX=no
12622
 
        ;;
12623
 
      ghcx*)
12624
 
        # Green Hills C++ Compiler
12625
 
        # FIXME: insert proper C++ library support
12626
 
        ld_shlibs_CXX=no
12627
 
        ;;
12628
 
      *)
12629
 
        # FIXME: insert proper C++ library support
12630
 
        ld_shlibs_CXX=no
12631
 
        ;;
12632
 
    esac
12633
 
    ;;
12634
 
  freebsd[12]*)
12635
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
12636
 
    ld_shlibs_CXX=no
12637
 
    ;;
12638
 
  freebsd-elf*)
12639
 
    archive_cmds_need_lc_CXX=no
12640
 
    ;;
12641
 
  freebsd* | dragonfly*)
12642
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12643
 
    # conventions
12644
 
    ld_shlibs_CXX=yes
12645
 
    ;;
12646
 
  gnu*)
12647
 
    ;;
12648
 
  hpux9*)
12649
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12650
 
    hardcode_libdir_separator_CXX=:
12651
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12652
 
    hardcode_direct_CXX=yes
12653
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
12654
 
                                # but as the default
12655
 
                                # location of the library.
12656
 
 
12657
 
    case $cc_basename in
12658
 
    CC*)
12659
 
      # FIXME: insert proper C++ library support
12660
 
      ld_shlibs_CXX=no
12661
 
      ;;
12662
 
    aCC*)
12663
 
      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'
12664
 
      # Commands to make compiler produce verbose output that lists
12665
 
      # what "hidden" libraries, object files and flags are used when
12666
 
      # linking a shared library.
12667
 
      #
12668
 
      # There doesn't appear to be a way to prevent this compiler from
12669
 
      # explicitly linking system object files so we need to strip them
12670
 
      # from the output so that they don't get included in the library
12671
 
      # dependencies.
12672
 
      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'
12673
 
      ;;
12674
 
    *)
12675
 
      if test "$GXX" = yes; then
12676
 
        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'
12677
 
      else
12678
 
        # FIXME: insert proper C++ library support
12679
 
        ld_shlibs_CXX=no
12680
 
      fi
12681
 
      ;;
12682
 
    esac
12683
 
    ;;
12684
 
  hpux10*|hpux11*)
12685
 
    if test $with_gnu_ld = no; then
12686
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12687
 
      hardcode_libdir_separator_CXX=:
12688
 
 
12689
 
      case $host_cpu in
12690
 
      hppa*64*|ia64*) ;;
12691
 
      *)
12692
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12693
 
        ;;
12694
 
      esac
12695
 
    fi
12696
 
    case $host_cpu in
12697
 
    hppa*64*|ia64*)
12698
 
      hardcode_direct_CXX=no
12699
 
      hardcode_shlibpath_var_CXX=no
12700
 
      ;;
12701
 
    *)
12702
 
      hardcode_direct_CXX=yes
12703
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
12704
 
                                              # but as the default
12705
 
                                              # location of the library.
12706
 
      ;;
12707
 
    esac
12708
 
 
12709
 
    case $cc_basename in
12710
 
      CC*)
12711
 
        # FIXME: insert proper C++ library support
12712
 
        ld_shlibs_CXX=no
12713
 
        ;;
12714
 
      aCC*)
12715
 
        case $host_cpu in
12716
 
        hppa*64*)
12717
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12718
 
          ;;
12719
 
        ia64*)
12720
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12721
 
          ;;
12722
 
        *)
12723
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12724
 
          ;;
12725
 
        esac
12726
 
        # Commands to make compiler produce verbose output that lists
12727
 
        # what "hidden" libraries, object files and flags are used when
12728
 
        # linking a shared library.
12729
 
        #
12730
 
        # There doesn't appear to be a way to prevent this compiler from
12731
 
        # explicitly linking system object files so we need to strip them
12732
 
        # from the output so that they don't get included in the library
12733
 
        # dependencies.
12734
 
        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'
12735
 
        ;;
12736
 
      *)
12737
 
        if test "$GXX" = yes; then
12738
 
          if test $with_gnu_ld = no; then
12739
 
            case $host_cpu in
12740
 
            hppa*64*)
12741
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12742
 
              ;;
12743
 
            ia64*)
12744
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12745
 
              ;;
12746
 
            *)
12747
 
              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'
12748
 
              ;;
12749
 
            esac
12750
 
          fi
12751
 
        else
12752
 
          # FIXME: insert proper C++ library support
12753
 
          ld_shlibs_CXX=no
12754
 
        fi
12755
 
        ;;
12756
 
    esac
12757
 
    ;;
12758
 
  interix[3-9]*)
12759
 
    hardcode_direct_CXX=no
12760
 
    hardcode_shlibpath_var_CXX=no
12761
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12762
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12763
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12764
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
12765
 
    # default) and relocated if they conflict, which is a slow very memory
12766
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
12767
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12768
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12769
 
    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'
12770
 
    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'
12771
 
    ;;
12772
 
  irix5* | irix6*)
12773
 
    case $cc_basename in
12774
 
      CC*)
12775
 
        # SGI C++
12776
 
        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'
12777
 
 
12778
 
        # Archives containing C++ object files must be created using
12779
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12780
 
        # necessary to make sure instantiated templates are included
12781
 
        # in the archive.
12782
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12783
 
        ;;
12784
 
      *)
12785
 
        if test "$GXX" = yes; then
12786
 
          if test "$with_gnu_ld" = no; then
12787
 
            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'
12788
 
          else
12789
 
            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'
12790
 
          fi
12791
 
        fi
12792
 
        link_all_deplibs_CXX=yes
12793
 
        ;;
12794
 
    esac
12795
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12796
 
    hardcode_libdir_separator_CXX=:
12797
 
    ;;
12798
 
  linux* | k*bsd*-gnu)
12799
 
    case $cc_basename in
12800
 
      KCC*)
12801
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12802
 
 
12803
 
        # KCC will only create a shared library if the output file
12804
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12805
 
        # to its proper name (with version) after linking.
12806
 
        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'
12807
 
        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'
12808
 
        # Commands to make compiler produce verbose output that lists
12809
 
        # what "hidden" libraries, object files and flags are used when
12810
 
        # linking a shared library.
12811
 
        #
12812
 
        # There doesn't appear to be a way to prevent this compiler from
12813
 
        # explicitly linking system object files so we need to strip them
12814
 
        # from the output so that they don't get included in the library
12815
 
        # dependencies.
12816
 
        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'
12817
 
 
12818
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12819
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12820
 
 
12821
 
        # Archives containing C++ object files must be created using
12822
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12823
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12824
 
        ;;
12825
 
      icpc*)
12826
 
        # Intel C++
12827
 
        with_gnu_ld=yes
12828
 
        # version 8.0 and above of icpc choke on multiply defined symbols
12829
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
12830
 
        # earlier do not add the objects themselves.
12831
 
        case `$CC -V 2>&1` in
12832
 
        *"Version 7."*)
12833
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834
 
          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'
12835
 
          ;;
12836
 
        *)  # Version 8.0 or newer
12837
 
          tmp_idyn=
12838
 
          case $host_cpu in
12839
 
            ia64*) tmp_idyn=' -i_dynamic';;
12840
 
          esac
12841
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842
 
          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'
12843
 
          ;;
12844
 
        esac
12845
 
        archive_cmds_need_lc_CXX=no
12846
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12847
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12848
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12849
 
        ;;
12850
 
      pgCC*)
12851
 
        # Portland Group C++ compiler
12852
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12853
 
        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'
12854
 
 
12855
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12856
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12857
 
        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'
12858
 
        ;;
12859
 
      cxx*)
12860
 
        # Compaq C++
12861
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12862
 
        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'
12863
 
 
12864
 
        runpath_var=LD_RUN_PATH
12865
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12866
 
        hardcode_libdir_separator_CXX=:
12867
 
 
12868
 
        # Commands to make compiler produce verbose output that lists
12869
 
        # what "hidden" libraries, object files and flags are used when
12870
 
        # linking a shared library.
12871
 
        #
12872
 
        # There doesn't appear to be a way to prevent this compiler from
12873
 
        # explicitly linking system object files so we need to strip them
12874
 
        # from the output so that they don't get included in the library
12875
 
        # dependencies.
12876
 
        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'
12877
 
        ;;
12878
 
      *)
12879
 
        case `$CC -V 2>&1 | sed 5q` in
12880
 
        *Sun\ C*)
12881
 
          # Sun C++ 5.9
12882
 
          no_undefined_flag_CXX=' -zdefs'
12883
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12884
 
          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'
12885
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12886
 
          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'
12887
 
 
12888
 
          # Not sure whether something based on
12889
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12890
 
          # would be better.
12891
 
          output_verbose_link_cmd='echo'
12892
 
 
12893
 
          # Archives containing C++ object files must be created using
12894
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12895
 
          # necessary to make sure instantiated templates are included
12896
 
          # in the archive.
12897
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12898
 
          ;;
12899
 
        esac
12900
 
        ;;
12901
 
    esac
12902
 
    ;;
12903
 
  lynxos*)
12904
 
    # FIXME: insert proper C++ library support
12905
 
    ld_shlibs_CXX=no
12906
 
    ;;
12907
 
  m88k*)
12908
 
    # FIXME: insert proper C++ library support
12909
 
    ld_shlibs_CXX=no
12910
 
    ;;
12911
 
  mvs*)
12912
 
    case $cc_basename in
12913
 
      cxx*)
12914
 
        # FIXME: insert proper C++ library support
12915
 
        ld_shlibs_CXX=no
12916
 
        ;;
12917
 
      *)
12918
 
        # FIXME: insert proper C++ library support
12919
 
        ld_shlibs_CXX=no
12920
 
        ;;
12921
 
    esac
12922
 
    ;;
12923
 
  netbsd* | netbsdelf*-gnu)
12924
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12925
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12926
 
      wlarc=
12927
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
12928
 
      hardcode_direct_CXX=yes
12929
 
      hardcode_shlibpath_var_CXX=no
12930
 
    fi
12931
 
    # Workaround some broken pre-1.5 toolchains
12932
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12933
 
    ;;
12934
 
  openbsd2*)
12935
 
    # C++ shared libraries are fairly broken
12936
 
    ld_shlibs_CXX=no
12937
 
    ;;
12938
 
  openbsd*)
12939
 
    if test -f /usr/libexec/ld.so; then
12940
 
      hardcode_direct_CXX=yes
12941
 
      hardcode_shlibpath_var_CXX=no
12942
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12943
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12944
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12945
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12946
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12947
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12948
 
      fi
12949
 
      output_verbose_link_cmd='echo'
12950
 
    else
12951
 
      ld_shlibs_CXX=no
12952
 
    fi
12953
 
    ;;
12954
 
  osf3*)
12955
 
    case $cc_basename in
12956
 
      KCC*)
12957
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12958
 
 
12959
 
        # KCC will only create a shared library if the output file
12960
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12961
 
        # to its proper name (with version) after linking.
12962
 
        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'
12963
 
 
12964
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12965
 
        hardcode_libdir_separator_CXX=:
12966
 
 
12967
 
        # Archives containing C++ object files must be created using
12968
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12969
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12970
 
 
12971
 
        ;;
12972
 
      RCC*)
12973
 
        # Rational C++ 2.4.1
12974
 
        # FIXME: insert proper C++ library support
12975
 
        ld_shlibs_CXX=no
12976
 
        ;;
12977
 
      cxx*)
12978
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12979
 
        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'
12980
 
 
12981
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12982
 
        hardcode_libdir_separator_CXX=:
12983
 
 
12984
 
        # Commands to make compiler produce verbose output that lists
12985
 
        # what "hidden" libraries, object files and flags are used when
12986
 
        # linking a shared library.
12987
 
        #
12988
 
        # There doesn't appear to be a way to prevent this compiler from
12989
 
        # explicitly linking system object files so we need to strip them
12990
 
        # from the output so that they don't get included in the library
12991
 
        # dependencies.
12992
 
        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'
12993
 
        ;;
12994
 
      *)
12995
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12996
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12997
 
          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'
12998
 
 
12999
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13000
 
          hardcode_libdir_separator_CXX=:
13001
 
 
13002
 
          # Commands to make compiler produce verbose output that lists
13003
 
          # what "hidden" libraries, object files and flags are used when
13004
 
          # linking a shared library.
13005
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13006
 
 
13007
 
        else
13008
 
          # FIXME: insert proper C++ library support
13009
 
          ld_shlibs_CXX=no
13010
 
        fi
13011
 
        ;;
13012
 
    esac
13013
 
    ;;
13014
 
  osf4* | osf5*)
13015
 
    case $cc_basename in
13016
 
      KCC*)
13017
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13018
 
 
13019
 
        # KCC will only create a shared library if the output file
13020
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13021
 
        # to its proper name (with version) after linking.
13022
 
        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'
13023
 
 
13024
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13025
 
        hardcode_libdir_separator_CXX=:
13026
 
 
13027
 
        # Archives containing C++ object files must be created using
13028
 
        # the KAI C++ compiler.
13029
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13030
 
        ;;
13031
 
      RCC*)
13032
 
        # Rational C++ 2.4.1
13033
 
        # FIXME: insert proper C++ library support
13034
 
        ld_shlibs_CXX=no
13035
 
        ;;
13036
 
      cxx*)
13037
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
13038
 
        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'
13039
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13040
 
          echo "-hidden">> $lib.exp~
13041
 
          $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~
13042
 
          $rm $lib.exp'
13043
 
 
13044
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13045
 
        hardcode_libdir_separator_CXX=:
13046
 
 
13047
 
        # Commands to make compiler produce verbose output that lists
13048
 
        # what "hidden" libraries, object files and flags are used when
13049
 
        # linking a shared library.
13050
 
        #
13051
 
        # There doesn't appear to be a way to prevent this compiler from
13052
 
        # explicitly linking system object files so we need to strip them
13053
 
        # from the output so that they don't get included in the library
13054
 
        # dependencies.
13055
 
        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'
13056
 
        ;;
13057
 
      *)
13058
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13059
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13060
 
         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'
13061
 
 
13062
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13063
 
          hardcode_libdir_separator_CXX=:
13064
 
 
13065
 
          # Commands to make compiler produce verbose output that lists
13066
 
          # what "hidden" libraries, object files and flags are used when
13067
 
          # linking a shared library.
13068
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13069
 
 
13070
 
        else
13071
 
          # FIXME: insert proper C++ library support
13072
 
          ld_shlibs_CXX=no
13073
 
        fi
13074
 
        ;;
13075
 
    esac
13076
 
    ;;
13077
 
  psos*)
13078
 
    # FIXME: insert proper C++ library support
13079
 
    ld_shlibs_CXX=no
13080
 
    ;;
13081
 
  sunos4*)
13082
 
    case $cc_basename in
13083
 
      CC*)
13084
 
        # Sun C++ 4.x
13085
 
        # FIXME: insert proper C++ library support
13086
 
        ld_shlibs_CXX=no
13087
 
        ;;
13088
 
      lcc*)
13089
 
        # Lucid
13090
 
        # FIXME: insert proper C++ library support
13091
 
        ld_shlibs_CXX=no
13092
 
        ;;
13093
 
      *)
13094
 
        # FIXME: insert proper C++ library support
13095
 
        ld_shlibs_CXX=no
13096
 
        ;;
13097
 
    esac
13098
 
    ;;
13099
 
  solaris*)
13100
 
    case $cc_basename in
13101
 
      CC*)
13102
 
        # Sun C++ 4.2, 5.x and Centerline C++
13103
 
        archive_cmds_need_lc_CXX=yes
13104
 
        no_undefined_flag_CXX=' -zdefs'
13105
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13106
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13107
 
        $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'
13108
 
 
13109
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
13110
 
        hardcode_shlibpath_var_CXX=no
13111
 
        case $host_os in
13112
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13113
 
          *)
13114
 
            # The compiler driver will combine and reorder linker options,
13115
 
            # but understands `-z linker_flag'.
13116
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13117
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13118
 
            ;;
13119
 
        esac
13120
 
        link_all_deplibs_CXX=yes
13121
 
 
13122
 
        output_verbose_link_cmd='echo'
13123
 
 
13124
 
        # Archives containing C++ object files must be created using
13125
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13126
 
        # necessary to make sure instantiated templates are included
13127
 
        # in the archive.
13128
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13129
 
        ;;
13130
 
      gcx*)
13131
 
        # Green Hills C++ Compiler
13132
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13133
 
 
13134
 
        # The C++ compiler must be used to create the archive.
13135
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13136
 
        ;;
13137
 
      *)
13138
 
        # GNU C++ compiler with Solaris linker
13139
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13140
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13141
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
13142
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13143
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13144
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13145
 
 
13146
 
            # Commands to make compiler produce verbose output that lists
13147
 
            # what "hidden" libraries, object files and flags are used when
13148
 
            # linking a shared library.
13149
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13150
 
          else
13151
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
13152
 
            # platform.
13153
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13154
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13155
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13156
 
 
13157
 
            # Commands to make compiler produce verbose output that lists
13158
 
            # what "hidden" libraries, object files and flags are used when
13159
 
            # linking a shared library.
13160
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13161
 
          fi
13162
 
 
13163
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13164
 
          case $host_os in
13165
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13166
 
          *)
13167
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13168
 
            ;;
13169
 
          esac
13170
 
        fi
13171
 
        ;;
13172
 
    esac
13173
 
    ;;
13174
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13175
 
    no_undefined_flag_CXX='${wl}-z,text'
13176
 
    archive_cmds_need_lc_CXX=no
13177
 
    hardcode_shlibpath_var_CXX=no
13178
 
    runpath_var='LD_RUN_PATH'
13179
 
 
13180
 
    case $cc_basename in
13181
 
      CC*)
13182
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13183
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13184
 
        ;;
13185
 
      *)
13186
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13187
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13188
 
        ;;
13189
 
    esac
13190
 
    ;;
13191
 
  sysv5* | sco3.2v5* | sco5v6*)
13192
 
    # Note: We can NOT use -z defs as we might desire, because we do not
13193
 
    # link with -lc, and that would cause any symbols used from libc to
13194
 
    # always be unresolved, which means just about no library would
13195
 
    # ever link correctly.  If we're not using GNU ld we use -z text
13196
 
    # though, which does catch some bad symbols but isn't as heavy-handed
13197
 
    # as -z defs.
13198
 
    # For security reasons, it is highly recommended that you always
13199
 
    # use absolute paths for naming shared libraries, and exclude the
13200
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
13201
 
    # requires that you compile everything twice, which is a pain.
13202
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
13203
 
    # non-empty value in the environment.  Most likely only useful for
13204
 
    # creating official distributions of packages.
13205
 
    # This is a hack until libtool officially supports absolute path
13206
 
    # names for shared libraries.
13207
 
    no_undefined_flag_CXX='${wl}-z,text'
13208
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
13209
 
    archive_cmds_need_lc_CXX=no
13210
 
    hardcode_shlibpath_var_CXX=no
13211
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13212
 
    hardcode_libdir_separator_CXX=':'
13213
 
    link_all_deplibs_CXX=yes
13214
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
13215
 
    runpath_var='LD_RUN_PATH'
13216
 
 
13217
 
    case $cc_basename in
13218
 
      CC*)
13219
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13220
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13221
 
        ;;
13222
 
      *)
13223
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13224
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13225
 
        ;;
13226
 
    esac
13227
 
    ;;
13228
 
  tandem*)
13229
 
    case $cc_basename in
13230
 
      NCC*)
13231
 
        # NonStop-UX NCC 3.20
13232
 
        # FIXME: insert proper C++ library support
13233
 
        ld_shlibs_CXX=no
13234
 
        ;;
13235
 
      *)
13236
 
        # FIXME: insert proper C++ library support
13237
 
        ld_shlibs_CXX=no
13238
 
        ;;
13239
 
    esac
13240
 
    ;;
13241
 
  vxworks*)
13242
 
    # FIXME: insert proper C++ library support
13243
 
    ld_shlibs_CXX=no
13244
 
    ;;
13245
 
  *)
13246
 
    # FIXME: insert proper C++ library support
13247
 
    ld_shlibs_CXX=no
13248
 
    ;;
13249
 
esac
13250
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13251
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13252
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13253
 
 
13254
 
GCC_CXX="$GXX"
13255
 
LD_CXX="$LD"
13256
 
 
13257
 
 
13258
 
cat > conftest.$ac_ext <<EOF
13259
 
class Foo
13260
 
{
13261
 
public:
13262
 
  Foo (void) { a = 0; }
13263
 
private:
13264
 
  int a;
13265
 
};
13266
 
EOF
13267
 
 
13268
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13269
 
  (eval $ac_compile) 2>&5
13270
 
  ac_status=$?
13271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272
 
  (exit $ac_status); }; then
13273
 
  # Parse the compiler output and extract the necessary
13274
 
  # objects, libraries and library flags.
13275
 
 
13276
 
  # Sentinel used to keep track of whether or not we are before
13277
 
  # the conftest object file.
13278
 
  pre_test_object_deps_done=no
13279
 
 
13280
 
  # The `*' in the case matches for architectures that use `case' in
13281
 
  # $output_verbose_cmd can trigger glob expansion during the loop
13282
 
  # eval without this substitution.
13283
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13284
 
 
13285
 
  for p in `eval $output_verbose_link_cmd`; do
13286
 
    case $p in
13287
 
 
13288
 
    -L* | -R* | -l*)
13289
 
       # Some compilers place space between "-{L,R}" and the path.
13290
 
       # Remove the space.
13291
 
       if test $p = "-L" \
13292
 
          || test $p = "-R"; then
13293
 
         prev=$p
13294
 
         continue
13295
 
       else
13296
 
         prev=
13297
 
       fi
13298
 
 
13299
 
       if test "$pre_test_object_deps_done" = no; then
13300
 
         case $p in
13301
 
         -L* | -R*)
13302
 
           # Internal compiler library paths should come after those
13303
 
           # provided the user.  The postdeps already come after the
13304
 
           # user supplied libs so there is no need to process them.
13305
 
           if test -z "$compiler_lib_search_path_CXX"; then
13306
 
             compiler_lib_search_path_CXX="${prev}${p}"
13307
 
           else
13308
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13309
 
           fi
13310
 
           ;;
13311
 
         # The "-l" case would never come before the object being
13312
 
         # linked, so don't bother handling this case.
13313
 
         esac
13314
 
       else
13315
 
         if test -z "$postdeps_CXX"; then
13316
 
           postdeps_CXX="${prev}${p}"
13317
 
         else
13318
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13319
 
         fi
13320
 
       fi
13321
 
       ;;
13322
 
 
13323
 
    *.$objext)
13324
 
       # This assumes that the test object file only shows up
13325
 
       # once in the compiler output.
13326
 
       if test "$p" = "conftest.$objext"; then
13327
 
         pre_test_object_deps_done=yes
13328
 
         continue
13329
 
       fi
13330
 
 
13331
 
       if test "$pre_test_object_deps_done" = no; then
13332
 
         if test -z "$predep_objects_CXX"; then
13333
 
           predep_objects_CXX="$p"
13334
 
         else
13335
 
           predep_objects_CXX="$predep_objects_CXX $p"
13336
 
         fi
13337
 
       else
13338
 
         if test -z "$postdep_objects_CXX"; then
13339
 
           postdep_objects_CXX="$p"
13340
 
         else
13341
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13342
 
         fi
13343
 
       fi
13344
 
       ;;
13345
 
 
13346
 
    *) ;; # Ignore the rest.
13347
 
 
13348
 
    esac
13349
 
  done
13350
 
 
13351
 
  # Clean up.
13352
 
  rm -f a.out a.exe
13353
 
else
13354
 
  echo "libtool.m4: error: problem compiling CXX test program"
13355
 
fi
13356
 
 
13357
 
$rm -f confest.$objext
13358
 
 
13359
 
# PORTME: override above test on systems where it is broken
13360
 
case $host_os in
13361
 
interix[3-9]*)
13362
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13363
 
  # hack all around it, let's just trust "g++" to DTRT.
13364
 
  predep_objects_CXX=
13365
 
  postdep_objects_CXX=
13366
 
  postdeps_CXX=
13367
 
  ;;
13368
 
 
13369
 
linux*)
13370
 
  case `$CC -V 2>&1 | sed 5q` in
13371
 
  *Sun\ C*)
13372
 
    # Sun C++ 5.9
13373
 
    #
13374
 
    # The more standards-conforming stlport4 library is
13375
 
    # incompatible with the Cstd library. Avoid specifying
13376
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13377
 
    # -library=stlport4 depends on it.
13378
 
    case " $CXX $CXXFLAGS " in
13379
 
    *" -library=stlport4 "*)
13380
 
      solaris_use_stlport4=yes
13381
 
      ;;
13382
 
    esac
13383
 
    if test "$solaris_use_stlport4" != yes; then
13384
 
      postdeps_CXX='-library=Cstd -library=Crun'
13385
 
    fi
13386
 
    ;;
13387
 
  esac
13388
 
  ;;
13389
 
 
13390
 
solaris*)
13391
 
  case $cc_basename in
13392
 
  CC*)
13393
 
    # The more standards-conforming stlport4 library is
13394
 
    # incompatible with the Cstd library. Avoid specifying
13395
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13396
 
    # -library=stlport4 depends on it.
13397
 
    case " $CXX $CXXFLAGS " in
13398
 
    *" -library=stlport4 "*)
13399
 
      solaris_use_stlport4=yes
13400
 
      ;;
13401
 
    esac
13402
 
 
13403
 
    # Adding this requires a known-good setup of shared libraries for
13404
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13405
 
    # archive will be linked into the output, leading to subtle bugs.
13406
 
    if test "$solaris_use_stlport4" != yes; then
13407
 
      postdeps_CXX='-library=Cstd -library=Crun'
13408
 
    fi
13409
 
    ;;
13410
 
  esac
13411
 
  ;;
13412
 
esac
13413
 
 
13414
 
 
13415
 
case " $postdeps_CXX " in
13416
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13417
 
esac
13418
 
 
13419
 
lt_prog_compiler_wl_CXX=
13420
 
lt_prog_compiler_pic_CXX=
13421
 
lt_prog_compiler_static_CXX=
13422
 
 
13423
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13424
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13425
 
 
13426
 
  # C++ specific cases for pic, static, wl, etc.
13427
 
  if test "$GXX" = yes; then
13428
 
    lt_prog_compiler_wl_CXX='-Wl,'
13429
 
    lt_prog_compiler_static_CXX='-static'
13430
 
 
13431
 
    case $host_os in
13432
 
    aix*)
13433
 
      # All AIX code is PIC.
13434
 
      if test "$host_cpu" = ia64; then
13435
 
        # AIX 5 now supports IA64 processor
13436
 
        lt_prog_compiler_static_CXX='-Bstatic'
13437
 
      fi
13438
 
      ;;
13439
 
    amigaos*)
13440
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13441
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13442
 
      # like `-m68040'.
13443
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13444
 
      ;;
13445
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13446
 
      # PIC is the default for these OSes.
13447
 
      ;;
13448
 
    mingw* | cygwin* | os2* | pw32*)
13449
 
      # This hack is so that the source file can tell whether it is being
13450
 
      # built for inclusion in a dll (and should export symbols for example).
13451
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13452
 
      # (--disable-auto-import) libraries
13453
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13454
 
      ;;
13455
 
    darwin* | rhapsody*)
13456
 
      # PIC is the default on this platform
13457
 
      # Common symbols not allowed in MH_DYLIB files
13458
 
      lt_prog_compiler_pic_CXX='-fno-common'
13459
 
      ;;
13460
 
    *djgpp*)
13461
 
      # DJGPP does not support shared libraries at all
13462
 
      lt_prog_compiler_pic_CXX=
13463
 
      ;;
13464
 
    interix[3-9]*)
13465
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13466
 
      # Instead, we relocate shared libraries at runtime.
13467
 
      ;;
13468
 
    sysv4*MP*)
13469
 
      if test -d /usr/nec; then
13470
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13471
 
      fi
13472
 
      ;;
13473
 
    hpux*)
13474
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13475
 
      # not for PA HP-UX.
13476
 
      case $host_cpu in
13477
 
      hppa*64*|ia64*)
13478
 
        ;;
13479
 
      *)
13480
 
        lt_prog_compiler_pic_CXX='-fPIC'
13481
 
        ;;
13482
 
      esac
13483
 
      ;;
13484
 
    *)
13485
 
      lt_prog_compiler_pic_CXX='-fPIC'
13486
 
      ;;
13487
 
    esac
13488
 
  else
13489
 
    case $host_os in
13490
 
      aix4* | aix5*)
13491
 
        # All AIX code is PIC.
13492
 
        if test "$host_cpu" = ia64; then
13493
 
          # AIX 5 now supports IA64 processor
13494
 
          lt_prog_compiler_static_CXX='-Bstatic'
13495
 
        else
13496
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13497
 
        fi
13498
 
        ;;
13499
 
      chorus*)
13500
 
        case $cc_basename in
13501
 
        cxch68*)
13502
 
          # Green Hills C++ Compiler
13503
 
          # _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"
13504
 
          ;;
13505
 
        esac
13506
 
        ;;
13507
 
       darwin*)
13508
 
         # PIC is the default on this platform
13509
 
         # Common symbols not allowed in MH_DYLIB files
13510
 
         case $cc_basename in
13511
 
           xlc*)
13512
 
           lt_prog_compiler_pic_CXX='-qnocommon'
13513
 
           lt_prog_compiler_wl_CXX='-Wl,'
13514
 
           ;;
13515
 
         esac
13516
 
       ;;
13517
 
      dgux*)
13518
 
        case $cc_basename in
13519
 
          ec++*)
13520
 
            lt_prog_compiler_pic_CXX='-KPIC'
13521
 
            ;;
13522
 
          ghcx*)
13523
 
            # Green Hills C++ Compiler
13524
 
            lt_prog_compiler_pic_CXX='-pic'
13525
 
            ;;
13526
 
          *)
13527
 
            ;;
13528
 
        esac
13529
 
        ;;
13530
 
      freebsd* | dragonfly*)
13531
 
        # FreeBSD uses GNU C++
13532
 
        ;;
13533
 
      hpux9* | hpux10* | hpux11*)
13534
 
        case $cc_basename in
13535
 
          CC*)
13536
 
            lt_prog_compiler_wl_CXX='-Wl,'
13537
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13538
 
            if test "$host_cpu" != ia64; then
13539
 
              lt_prog_compiler_pic_CXX='+Z'
13540
 
            fi
13541
 
            ;;
13542
 
          aCC*)
13543
 
            lt_prog_compiler_wl_CXX='-Wl,'
13544
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13545
 
            case $host_cpu in
13546
 
            hppa*64*|ia64*)
13547
 
              # +Z the default
13548
 
              ;;
13549
 
            *)
13550
 
              lt_prog_compiler_pic_CXX='+Z'
13551
 
              ;;
13552
 
            esac
13553
 
            ;;
13554
 
          *)
13555
 
            ;;
13556
 
        esac
13557
 
        ;;
13558
 
      interix*)
13559
 
        # This is c89, which is MS Visual C++ (no shared libs)
13560
 
        # Anyone wants to do a port?
13561
 
        ;;
13562
 
      irix5* | irix6* | nonstopux*)
13563
 
        case $cc_basename in
13564
 
          CC*)
13565
 
            lt_prog_compiler_wl_CXX='-Wl,'
13566
 
            lt_prog_compiler_static_CXX='-non_shared'
13567
 
            # CC pic flag -KPIC is the default.
13568
 
            ;;
13569
 
          *)
13570
 
            ;;
13571
 
        esac
13572
 
        ;;
13573
 
      linux* | k*bsd*-gnu)
13574
 
        case $cc_basename in
13575
 
          KCC*)
13576
 
            # KAI C++ Compiler
13577
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13578
 
            lt_prog_compiler_pic_CXX='-fPIC'
13579
 
            ;;
13580
 
          icpc* | ecpc*)
13581
 
            # Intel C++
13582
 
            lt_prog_compiler_wl_CXX='-Wl,'
13583
 
            lt_prog_compiler_pic_CXX='-KPIC'
13584
 
            lt_prog_compiler_static_CXX='-static'
13585
 
            ;;
13586
 
          pgCC*)
13587
 
            # Portland Group C++ compiler.
13588
 
            lt_prog_compiler_wl_CXX='-Wl,'
13589
 
            lt_prog_compiler_pic_CXX='-fpic'
13590
 
            lt_prog_compiler_static_CXX='-Bstatic'
13591
 
            ;;
13592
 
          cxx*)
13593
 
            # Compaq C++
13594
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13595
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13596
 
            lt_prog_compiler_pic_CXX=
13597
 
            lt_prog_compiler_static_CXX='-non_shared'
13598
 
            ;;
13599
 
          *)
13600
 
            case `$CC -V 2>&1 | sed 5q` in
13601
 
            *Sun\ C*)
13602
 
              # Sun C++ 5.9
13603
 
              lt_prog_compiler_pic_CXX='-KPIC'
13604
 
              lt_prog_compiler_static_CXX='-Bstatic'
13605
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13606
 
              ;;
13607
 
            esac
13608
 
            ;;
13609
 
        esac
13610
 
        ;;
13611
 
      lynxos*)
13612
 
        ;;
13613
 
      m88k*)
13614
 
        ;;
13615
 
      mvs*)
13616
 
        case $cc_basename in
13617
 
          cxx*)
13618
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13619
 
            ;;
13620
 
          *)
13621
 
            ;;
13622
 
        esac
13623
 
        ;;
13624
 
      netbsd* | netbsdelf*-gnu)
13625
 
        ;;
13626
 
      osf3* | osf4* | osf5*)
13627
 
        case $cc_basename in
13628
 
          KCC*)
13629
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13630
 
            ;;
13631
 
          RCC*)
13632
 
            # Rational C++ 2.4.1
13633
 
            lt_prog_compiler_pic_CXX='-pic'
13634
 
            ;;
13635
 
          cxx*)
13636
 
            # Digital/Compaq C++
13637
 
            lt_prog_compiler_wl_CXX='-Wl,'
13638
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13639
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13640
 
            lt_prog_compiler_pic_CXX=
13641
 
            lt_prog_compiler_static_CXX='-non_shared'
13642
 
            ;;
13643
 
          *)
13644
 
            ;;
13645
 
        esac
13646
 
        ;;
13647
 
      psos*)
13648
 
        ;;
13649
 
      solaris*)
13650
 
        case $cc_basename in
13651
 
          CC*)
13652
 
            # Sun C++ 4.2, 5.x and Centerline C++
13653
 
            lt_prog_compiler_pic_CXX='-KPIC'
13654
 
            lt_prog_compiler_static_CXX='-Bstatic'
13655
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
13656
 
            ;;
13657
 
          gcx*)
13658
 
            # Green Hills C++ Compiler
13659
 
            lt_prog_compiler_pic_CXX='-PIC'
13660
 
            ;;
13661
 
          *)
13662
 
            ;;
13663
 
        esac
13664
 
        ;;
13665
 
      sunos4*)
13666
 
        case $cc_basename in
13667
 
          CC*)
13668
 
            # Sun C++ 4.x
13669
 
            lt_prog_compiler_pic_CXX='-pic'
13670
 
            lt_prog_compiler_static_CXX='-Bstatic'
13671
 
            ;;
13672
 
          lcc*)
13673
 
            # Lucid
13674
 
            lt_prog_compiler_pic_CXX='-pic'
13675
 
            ;;
13676
 
          *)
13677
 
            ;;
13678
 
        esac
13679
 
        ;;
13680
 
      tandem*)
13681
 
        case $cc_basename in
13682
 
          NCC*)
13683
 
            # NonStop-UX NCC 3.20
13684
 
            lt_prog_compiler_pic_CXX='-KPIC'
13685
 
            ;;
13686
 
          *)
13687
 
            ;;
13688
 
        esac
13689
 
        ;;
13690
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13691
 
        case $cc_basename in
13692
 
          CC*)
13693
 
            lt_prog_compiler_wl_CXX='-Wl,'
13694
 
            lt_prog_compiler_pic_CXX='-KPIC'
13695
 
            lt_prog_compiler_static_CXX='-Bstatic'
13696
 
            ;;
13697
 
        esac
13698
 
        ;;
13699
 
      vxworks*)
13700
 
        ;;
13701
 
      *)
13702
 
        lt_prog_compiler_can_build_shared_CXX=no
13703
 
        ;;
13704
 
    esac
13705
 
  fi
13706
 
 
13707
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13708
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13709
 
 
13710
 
#
13711
 
# Check to make sure the PIC flag actually works.
13712
 
#
13713
 
if test -n "$lt_prog_compiler_pic_CXX"; then
13714
 
  
13715
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13716
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13717
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13718
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13719
 
else
13720
 
  lt_prog_compiler_pic_works_CXX=no
13721
 
  ac_outfile=conftest.$ac_objext
13722
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13723
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13724
 
   # Insert the option either (1) after the last *FLAGS variable, or
13725
 
   # (2) before a word containing "conftest.", or (3) at the end.
13726
 
   # Note that $ac_compile itself does not contain backslashes and begins
13727
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13728
 
   # The option is referenced via a variable to avoid confusing sed.
13729
 
   lt_compile=`echo "$ac_compile" | $SED \
13730
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13731
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13732
 
   -e 's:$: $lt_compiler_flag:'`
13733
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13734
 
   (eval "$lt_compile" 2>conftest.err)
13735
 
   ac_status=$?
13736
 
   cat conftest.err >&5
13737
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
13738
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13739
 
     # The compiler can only warn and ignore the option if not recognized
13740
 
     # So say no if there are warnings other than the usual output.
13741
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13742
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13743
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13744
 
       lt_prog_compiler_pic_works_CXX=yes
13745
 
     fi
13746
 
   fi
13747
 
   $rm conftest*
13748
 
 
13749
 
fi
13750
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13751
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13752
 
 
13753
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13754
 
    case $lt_prog_compiler_pic_CXX in
13755
 
     "" | " "*) ;;
13756
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13757
 
     esac
13758
 
else
13759
 
    lt_prog_compiler_pic_CXX=
13760
 
     lt_prog_compiler_can_build_shared_CXX=no
13761
 
fi
13762
 
 
13763
 
fi
13764
 
case $host_os in
13765
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13766
 
  *djgpp*)
13767
 
    lt_prog_compiler_pic_CXX=
13768
 
    ;;
13769
 
  *)
13770
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13771
 
    ;;
13772
 
esac
13773
 
 
13774
 
#
13775
 
# Check to make sure the static flag actually works.
13776
 
#
13777
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13778
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13779
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13780
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13781
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13782
 
else
13783
 
  lt_prog_compiler_static_works_CXX=no
13784
 
   save_LDFLAGS="$LDFLAGS"
13785
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13786
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13787
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13788
 
     # The linker can only warn and ignore the option if not recognized
13789
 
     # So say no if there are warnings
13790
 
     if test -s conftest.err; then
13791
 
       # Append any errors to the config.log.
13792
 
       cat conftest.err 1>&5
13793
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13794
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13795
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13796
 
         lt_prog_compiler_static_works_CXX=yes
13797
 
       fi
13798
 
     else
13799
 
       lt_prog_compiler_static_works_CXX=yes
13800
 
     fi
13801
 
   fi
13802
 
   $rm conftest*
13803
 
   LDFLAGS="$save_LDFLAGS"
13804
 
 
13805
 
fi
13806
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13807
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13808
 
 
13809
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
13810
 
    :
13811
 
else
13812
 
    lt_prog_compiler_static_CXX=
13813
 
fi
13814
 
 
13815
 
 
13816
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13817
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13818
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13819
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13820
 
else
13821
 
  lt_cv_prog_compiler_c_o_CXX=no
13822
 
   $rm -r conftest 2>/dev/null
13823
 
   mkdir conftest
13824
 
   cd conftest
13825
 
   mkdir out
13826
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13827
 
 
13828
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13829
 
   # Insert the option either (1) after the last *FLAGS variable, or
13830
 
   # (2) before a word containing "conftest.", or (3) at the end.
13831
 
   # Note that $ac_compile itself does not contain backslashes and begins
13832
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13833
 
   lt_compile=`echo "$ac_compile" | $SED \
13834
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13835
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13836
 
   -e 's:$: $lt_compiler_flag:'`
13837
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13838
 
   (eval "$lt_compile" 2>out/conftest.err)
13839
 
   ac_status=$?
13840
 
   cat out/conftest.err >&5
13841
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
13842
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13843
 
   then
13844
 
     # The compiler can only warn and ignore the option if not recognized
13845
 
     # So say no if there are warnings
13846
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13847
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13848
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13849
 
       lt_cv_prog_compiler_c_o_CXX=yes
13850
 
     fi
13851
 
   fi
13852
 
   chmod u+w . 2>&5
13853
 
   $rm conftest*
13854
 
   # SGI C++ compiler will create directory out/ii_files/ for
13855
 
   # template instantiation
13856
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13857
 
   $rm out/* && rmdir out
13858
 
   cd ..
13859
 
   rmdir conftest
13860
 
   $rm conftest*
13861
 
 
13862
 
fi
13863
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13864
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13865
 
 
13866
 
 
13867
 
hard_links="nottested"
13868
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13869
 
  # do not overwrite the value of need_locks provided by the user
13870
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13871
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13872
 
  hard_links=yes
13873
 
  $rm conftest*
13874
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13875
 
  touch conftest.a
13876
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13877
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13878
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
13879
 
echo "${ECHO_T}$hard_links" >&6; }
13880
 
  if test "$hard_links" = no; then
13881
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13882
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13883
 
    need_locks=warn
13884
 
  fi
13885
 
else
13886
 
  need_locks=no
13887
 
fi
13888
 
 
13889
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13890
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13891
 
 
13892
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13893
 
  case $host_os in
13894
 
  aix4* | aix5*)
13895
 
    # If we're using GNU nm, then we don't want the "-C" option.
13896
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13897
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13898
 
      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'
13899
 
    else
13900
 
      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'
13901
 
    fi
13902
 
    ;;
13903
 
  pw32*)
13904
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13905
 
  ;;
13906
 
  cygwin* | mingw*)
13907
 
    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'
13908
 
  ;;
13909
 
  linux* | k*bsd*-gnu)
13910
 
    link_all_deplibs_CXX=no
13911
 
  ;;
13912
 
  *)
13913
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13914
 
  ;;
13915
 
  esac
13916
 
 
13917
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13918
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13919
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13920
 
 
13921
 
#
13922
 
# Do we need to explicitly link libc?
13923
 
#
13924
 
case "x$archive_cmds_need_lc_CXX" in
13925
 
x|xyes)
13926
 
  # Assume -lc should be added
13927
 
  archive_cmds_need_lc_CXX=yes
13928
 
 
13929
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13930
 
    case $archive_cmds_CXX in
13931
 
    *'~'*)
13932
 
      # FIXME: we may have to deal with multi-command sequences.
13933
 
      ;;
13934
 
    '$CC '*)
13935
 
      # Test whether the compiler implicitly links with -lc since on some
13936
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13937
 
      # to ld, don't add -lc before -lgcc.
13938
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13939
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13940
 
      $rm conftest*
13941
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13942
 
 
13943
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13944
 
  (eval $ac_compile) 2>&5
13945
 
  ac_status=$?
13946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947
 
  (exit $ac_status); } 2>conftest.err; then
13948
 
        soname=conftest
13949
 
        lib=conftest
13950
 
        libobjs=conftest.$ac_objext
13951
 
        deplibs=
13952
 
        wl=$lt_prog_compiler_wl_CXX
13953
 
        pic_flag=$lt_prog_compiler_pic_CXX
13954
 
        compiler_flags=-v
13955
 
        linker_flags=-v
13956
 
        verstring=
13957
 
        output_objdir=.
13958
 
        libname=conftest
13959
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13960
 
        allow_undefined_flag_CXX=
13961
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13962
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13963
 
  ac_status=$?
13964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965
 
  (exit $ac_status); }
13966
 
        then
13967
 
          archive_cmds_need_lc_CXX=no
13968
 
        else
13969
 
          archive_cmds_need_lc_CXX=yes
13970
 
        fi
13971
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13972
 
      else
13973
 
        cat conftest.err 1>&5
13974
 
      fi
13975
 
      $rm conftest*
13976
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13977
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13978
 
      ;;
13979
 
    esac
13980
 
  fi
13981
 
  ;;
13982
 
esac
13983
 
 
13984
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13985
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13986
 
library_names_spec=
13987
 
libname_spec='lib$name'
13988
 
soname_spec=
13989
 
shrext_cmds=".so"
13990
 
postinstall_cmds=
13991
 
postuninstall_cmds=
13992
 
finish_cmds=
13993
 
finish_eval=
13994
 
shlibpath_var=
13995
 
shlibpath_overrides_runpath=unknown
13996
 
version_type=none
13997
 
dynamic_linker="$host_os ld.so"
13998
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13999
 
 
14000
 
need_lib_prefix=unknown
14001
 
hardcode_into_libs=no
14002
 
 
14003
 
# when you set need_version to no, make sure it does not cause -set_version
14004
 
# flags to be left without arguments
14005
 
need_version=unknown
14006
 
 
14007
 
case $host_os in
14008
 
aix3*)
14009
 
  version_type=linux
14010
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14011
 
  shlibpath_var=LIBPATH
14012
 
 
14013
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14014
 
  soname_spec='${libname}${release}${shared_ext}$major'
14015
 
  ;;
14016
 
 
14017
 
aix4* | aix5*)
14018
 
  version_type=linux
14019
 
  need_lib_prefix=no
14020
 
  need_version=no
14021
 
  hardcode_into_libs=yes
14022
 
  if test "$host_cpu" = ia64; then
14023
 
    # AIX 5 supports IA64
14024
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14025
 
    shlibpath_var=LD_LIBRARY_PATH
14026
 
  else
14027
 
    # With GCC up to 2.95.x, collect2 would create an import file
14028
 
    # for dependence libraries.  The import file would start with
14029
 
    # the line `#! .'.  This would cause the generated library to
14030
 
    # depend on `.', always an invalid library.  This was fixed in
14031
 
    # development snapshots of GCC prior to 3.0.
14032
 
    case $host_os in
14033
 
      aix4 | aix4.[01] | aix4.[01].*)
14034
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14035
 
           echo ' yes '
14036
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14037
 
        :
14038
 
      else
14039
 
        can_build_shared=no
14040
 
      fi
14041
 
      ;;
14042
 
    esac
14043
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14044
 
    # soname into executable. Probably we can add versioning support to
14045
 
    # collect2, so additional links can be useful in future.
14046
 
    if test "$aix_use_runtimelinking" = yes; then
14047
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14048
 
      # instead of lib<name>.a to let people know that these are not
14049
 
      # typical AIX shared libraries.
14050
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14051
 
    else
14052
 
      # We preserve .a as extension for shared libraries through AIX4.2
14053
 
      # and later when we are not doing run time linking.
14054
 
      library_names_spec='${libname}${release}.a $libname.a'
14055
 
      soname_spec='${libname}${release}${shared_ext}$major'
14056
 
    fi
14057
 
    shlibpath_var=LIBPATH
14058
 
  fi
14059
 
  ;;
14060
 
 
14061
 
amigaos*)
14062
 
  library_names_spec='$libname.ixlibrary $libname.a'
14063
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
14064
 
  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'
14065
 
  ;;
14066
 
 
14067
 
beos*)
14068
 
  library_names_spec='${libname}${shared_ext}'
14069
 
  dynamic_linker="$host_os ld.so"
14070
 
  shlibpath_var=LIBRARY_PATH
14071
 
  ;;
14072
 
 
14073
 
bsdi[45]*)
14074
 
  version_type=linux
14075
 
  need_version=no
14076
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14077
 
  soname_spec='${libname}${release}${shared_ext}$major'
14078
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14079
 
  shlibpath_var=LD_LIBRARY_PATH
14080
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14081
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14082
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14083
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14084
 
  # libtool to hard-code these into programs
14085
 
  ;;
14086
 
 
14087
 
cygwin* | mingw* | pw32*)
14088
 
  version_type=windows
14089
 
  shrext_cmds=".dll"
14090
 
  need_version=no
14091
 
  need_lib_prefix=no
14092
 
 
14093
 
  case $GCC,$host_os in
14094
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
14095
 
    library_names_spec='$libname.dll.a'
14096
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14097
 
    postinstall_cmds='base_file=`basename \${file}`~
14098
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14099
 
      dldir=$destdir/`dirname \$dlpath`~
14100
 
      test -d \$dldir || mkdir -p \$dldir~
14101
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14102
 
      chmod a+x \$dldir/$dlname'
14103
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14104
 
      dlpath=$dir/\$dldll~
14105
 
       $rm \$dlpath'
14106
 
    shlibpath_overrides_runpath=yes
14107
 
 
14108
 
    case $host_os in
14109
 
    cygwin*)
14110
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14111
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14112
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14113
 
      ;;
14114
 
    mingw*)
14115
 
      # MinGW DLLs use traditional 'lib' prefix
14116
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14117
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14118
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14119
 
        # It is most probably a Windows format PATH printed by
14120
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14121
 
        # path with ; separators, and with drive letters. We can handle the
14122
 
        # drive letters (cygwin fileutils understands them), so leave them,
14123
 
        # especially as we might pass files found there to a mingw objdump,
14124
 
        # which wouldn't understand a cygwinified path. Ahh.
14125
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14126
 
      else
14127
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14128
 
      fi
14129
 
      ;;
14130
 
    pw32*)
14131
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14132
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14133
 
      ;;
14134
 
    esac
14135
 
    ;;
14136
 
 
14137
 
  *)
14138
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14139
 
    ;;
14140
 
  esac
14141
 
  dynamic_linker='Win32 ld.exe'
14142
 
  # FIXME: first we should search . and the directory the executable is in
14143
 
  shlibpath_var=PATH
14144
 
  ;;
14145
 
 
14146
 
darwin* | rhapsody*)
14147
 
  dynamic_linker="$host_os dyld"
14148
 
  version_type=darwin
14149
 
  need_lib_prefix=no
14150
 
  need_version=no
14151
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14152
 
  soname_spec='${libname}${release}${major}$shared_ext'
14153
 
  shlibpath_overrides_runpath=yes
14154
 
  shlibpath_var=DYLD_LIBRARY_PATH
14155
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14156
 
   
14157
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14158
 
  ;;
14159
 
 
14160
 
dgux*)
14161
 
  version_type=linux
14162
 
  need_lib_prefix=no
14163
 
  need_version=no
14164
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14165
 
  soname_spec='${libname}${release}${shared_ext}$major'
14166
 
  shlibpath_var=LD_LIBRARY_PATH
14167
 
  ;;
14168
 
 
14169
 
freebsd1*)
14170
 
  dynamic_linker=no
14171
 
  ;;
14172
 
 
14173
 
freebsd* | dragonfly*)
14174
 
  # DragonFly does not have aout.  When/if they implement a new
14175
 
  # versioning mechanism, adjust this.
14176
 
  if test -x /usr/bin/objformat; then
14177
 
    objformat=`/usr/bin/objformat`
14178
 
  else
14179
 
    case $host_os in
14180
 
    freebsd[123]*) objformat=aout ;;
14181
 
    *) objformat=elf ;;
14182
 
    esac
14183
 
  fi
14184
 
  version_type=freebsd-$objformat
14185
 
  case $version_type in
14186
 
    freebsd-elf*)
14187
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14188
 
      need_version=no
14189
 
      need_lib_prefix=no
14190
 
      ;;
14191
 
    freebsd-*)
14192
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14193
 
      need_version=yes
14194
 
      ;;
14195
 
  esac
14196
 
  shlibpath_var=LD_LIBRARY_PATH
14197
 
  case $host_os in
14198
 
  freebsd2*)
14199
 
    shlibpath_overrides_runpath=yes
14200
 
    ;;
14201
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14202
 
    shlibpath_overrides_runpath=yes
14203
 
    hardcode_into_libs=yes
14204
 
    ;;
14205
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14206
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14207
 
    shlibpath_overrides_runpath=no
14208
 
    hardcode_into_libs=yes
14209
 
    ;;
14210
 
  *) # from 4.6 on, and DragonFly
14211
 
    shlibpath_overrides_runpath=yes
14212
 
    hardcode_into_libs=yes
14213
 
    ;;
14214
 
  esac
14215
 
  ;;
14216
 
 
14217
 
gnu*)
14218
 
  version_type=linux
14219
 
  need_lib_prefix=no
14220
 
  need_version=no
14221
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14222
 
  soname_spec='${libname}${release}${shared_ext}$major'
14223
 
  shlibpath_var=LD_LIBRARY_PATH
14224
 
  hardcode_into_libs=yes
14225
 
  ;;
14226
 
 
14227
 
hpux9* | hpux10* | hpux11*)
14228
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14229
 
  # link against other versions.
14230
 
  version_type=sunos
14231
 
  need_lib_prefix=no
14232
 
  need_version=no
14233
 
  case $host_cpu in
14234
 
  ia64*)
14235
 
    shrext_cmds='.so'
14236
 
    hardcode_into_libs=yes
14237
 
    dynamic_linker="$host_os dld.so"
14238
 
    shlibpath_var=LD_LIBRARY_PATH
14239
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14240
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14241
 
    soname_spec='${libname}${release}${shared_ext}$major'
14242
 
    if test "X$HPUX_IA64_MODE" = X32; then
14243
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14244
 
    else
14245
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14246
 
    fi
14247
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14248
 
    ;;
14249
 
   hppa*64*)
14250
 
     shrext_cmds='.sl'
14251
 
     hardcode_into_libs=yes
14252
 
     dynamic_linker="$host_os dld.sl"
14253
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14254
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14255
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14256
 
     soname_spec='${libname}${release}${shared_ext}$major'
14257
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14258
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14259
 
     ;;
14260
 
   *)
14261
 
    shrext_cmds='.sl'
14262
 
    dynamic_linker="$host_os dld.sl"
14263
 
    shlibpath_var=SHLIB_PATH
14264
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14265
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14266
 
    soname_spec='${libname}${release}${shared_ext}$major'
14267
 
    ;;
14268
 
  esac
14269
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14270
 
  postinstall_cmds='chmod 555 $lib'
14271
 
  ;;
14272
 
 
14273
 
interix[3-9]*)
14274
 
  version_type=linux
14275
 
  need_lib_prefix=no
14276
 
  need_version=no
14277
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14278
 
  soname_spec='${libname}${release}${shared_ext}$major'
14279
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14280
 
  shlibpath_var=LD_LIBRARY_PATH
14281
 
  shlibpath_overrides_runpath=no
14282
 
  hardcode_into_libs=yes
14283
 
  ;;
14284
 
 
14285
 
irix5* | irix6* | nonstopux*)
14286
 
  case $host_os in
14287
 
    nonstopux*) version_type=nonstopux ;;
14288
 
    *)
14289
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14290
 
                version_type=linux
14291
 
        else
14292
 
                version_type=irix
14293
 
        fi ;;
14294
 
  esac
14295
 
  need_lib_prefix=no
14296
 
  need_version=no
14297
 
  soname_spec='${libname}${release}${shared_ext}$major'
14298
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14299
 
  case $host_os in
14300
 
  irix5* | nonstopux*)
14301
 
    libsuff= shlibsuff=
14302
 
    ;;
14303
 
  *)
14304
 
    case $LD in # libtool.m4 will add one of these switches to LD
14305
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14306
 
      libsuff= shlibsuff= libmagic=32-bit;;
14307
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14308
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14309
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14310
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14311
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14312
 
    esac
14313
 
    ;;
14314
 
  esac
14315
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14316
 
  shlibpath_overrides_runpath=no
14317
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14318
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14319
 
  hardcode_into_libs=yes
14320
 
  ;;
14321
 
 
14322
 
# No shared lib support for Linux oldld, aout, or coff.
14323
 
linux*oldld* | linux*aout* | linux*coff*)
14324
 
  dynamic_linker=no
14325
 
  ;;
14326
 
 
14327
 
# This must be Linux ELF.
14328
 
linux* | k*bsd*-gnu)
14329
 
  version_type=linux
14330
 
  need_lib_prefix=no
14331
 
  need_version=no
14332
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14333
 
  soname_spec='${libname}${release}${shared_ext}$major'
14334
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14335
 
  shlibpath_var=LD_LIBRARY_PATH
14336
 
  shlibpath_overrides_runpath=no
14337
 
  # This implies no fast_install, which is unacceptable.
14338
 
  # Some rework will be needed to allow for fast_install
14339
 
  # before this can be enabled.
14340
 
  hardcode_into_libs=yes
14341
 
 
14342
 
  # Append ld.so.conf contents to the search path
14343
 
  if test -f /etc/ld.so.conf; then
14344
 
    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' ' '`
14345
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14346
 
  fi
14347
 
 
14348
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14349
 
  # powerpc, because MkLinux only supported shared libraries with the
14350
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14351
 
  # most powerpc-linux boxes support dynamic linking these days and
14352
 
  # people can always --disable-shared, the test was removed, and we
14353
 
  # assume the GNU/Linux dynamic linker is in use.
14354
 
  dynamic_linker='GNU/Linux ld.so'
14355
 
  ;;
14356
 
 
14357
 
netbsdelf*-gnu)
14358
 
  version_type=linux
14359
 
  need_lib_prefix=no
14360
 
  need_version=no
14361
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14362
 
  soname_spec='${libname}${release}${shared_ext}$major'
14363
 
  shlibpath_var=LD_LIBRARY_PATH
14364
 
  shlibpath_overrides_runpath=no
14365
 
  hardcode_into_libs=yes
14366
 
  dynamic_linker='NetBSD ld.elf_so'
14367
 
  ;;
14368
 
 
14369
 
netbsd*)
14370
 
  version_type=sunos
14371
 
  need_lib_prefix=no
14372
 
  need_version=no
14373
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14374
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14375
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14376
 
    dynamic_linker='NetBSD (a.out) ld.so'
14377
 
  else
14378
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14379
 
    soname_spec='${libname}${release}${shared_ext}$major'
14380
 
    dynamic_linker='NetBSD ld.elf_so'
14381
 
  fi
14382
 
  shlibpath_var=LD_LIBRARY_PATH
14383
 
  shlibpath_overrides_runpath=yes
14384
 
  hardcode_into_libs=yes
14385
 
  ;;
14386
 
 
14387
 
newsos6)
14388
 
  version_type=linux
14389
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14390
 
  shlibpath_var=LD_LIBRARY_PATH
14391
 
  shlibpath_overrides_runpath=yes
14392
 
  ;;
14393
 
 
14394
 
nto-qnx*)
14395
 
  version_type=linux
14396
 
  need_lib_prefix=no
14397
 
  need_version=no
14398
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14399
 
  soname_spec='${libname}${release}${shared_ext}$major'
14400
 
  shlibpath_var=LD_LIBRARY_PATH
14401
 
  shlibpath_overrides_runpath=yes
14402
 
  ;;
14403
 
 
14404
 
openbsd*)
14405
 
  version_type=sunos
14406
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14407
 
  need_lib_prefix=no
14408
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14409
 
  case $host_os in
14410
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14411
 
    *)                         need_version=no  ;;
14412
 
  esac
14413
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14414
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14415
 
  shlibpath_var=LD_LIBRARY_PATH
14416
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14417
 
    case $host_os in
14418
 
      openbsd2.[89] | openbsd2.[89].*)
14419
 
        shlibpath_overrides_runpath=no
14420
 
        ;;
14421
 
      *)
14422
 
        shlibpath_overrides_runpath=yes
14423
 
        ;;
14424
 
      esac
14425
 
  else
14426
 
    shlibpath_overrides_runpath=yes
14427
 
  fi
14428
 
  ;;
14429
 
 
14430
 
os2*)
14431
 
  libname_spec='$name'
14432
 
  shrext_cmds=".dll"
14433
 
  need_lib_prefix=no
14434
 
  library_names_spec='$libname${shared_ext} $libname.a'
14435
 
  dynamic_linker='OS/2 ld.exe'
14436
 
  shlibpath_var=LIBPATH
14437
 
  ;;
14438
 
 
14439
 
osf3* | osf4* | osf5*)
14440
 
  version_type=osf
14441
 
  need_lib_prefix=no
14442
 
  need_version=no
14443
 
  soname_spec='${libname}${release}${shared_ext}$major'
14444
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14445
 
  shlibpath_var=LD_LIBRARY_PATH
14446
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14447
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14448
 
  ;;
14449
 
 
14450
 
rdos*)
14451
 
  dynamic_linker=no
14452
 
  ;;
14453
 
 
14454
 
solaris*)
14455
 
  version_type=linux
14456
 
  need_lib_prefix=no
14457
 
  need_version=no
14458
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14459
 
  soname_spec='${libname}${release}${shared_ext}$major'
14460
 
  shlibpath_var=LD_LIBRARY_PATH
14461
 
  shlibpath_overrides_runpath=yes
14462
 
  hardcode_into_libs=yes
14463
 
  # ldd complains unless libraries are executable
14464
 
  postinstall_cmds='chmod +x $lib'
14465
 
  ;;
14466
 
 
14467
 
sunos4*)
14468
 
  version_type=sunos
14469
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14470
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14471
 
  shlibpath_var=LD_LIBRARY_PATH
14472
 
  shlibpath_overrides_runpath=yes
14473
 
  if test "$with_gnu_ld" = yes; then
14474
 
    need_lib_prefix=no
14475
 
  fi
14476
 
  need_version=yes
14477
 
  ;;
14478
 
 
14479
 
sysv4 | sysv4.3*)
14480
 
  version_type=linux
14481
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14482
 
  soname_spec='${libname}${release}${shared_ext}$major'
14483
 
  shlibpath_var=LD_LIBRARY_PATH
14484
 
  case $host_vendor in
14485
 
    sni)
14486
 
      shlibpath_overrides_runpath=no
14487
 
      need_lib_prefix=no
14488
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
14489
 
      runpath_var=LD_RUN_PATH
14490
 
      ;;
14491
 
    siemens)
14492
 
      need_lib_prefix=no
14493
 
      ;;
14494
 
    motorola)
14495
 
      need_lib_prefix=no
14496
 
      need_version=no
14497
 
      shlibpath_overrides_runpath=no
14498
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14499
 
      ;;
14500
 
  esac
14501
 
  ;;
14502
 
 
14503
 
sysv4*MP*)
14504
 
  if test -d /usr/nec ;then
14505
 
    version_type=linux
14506
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14507
 
    soname_spec='$libname${shared_ext}.$major'
14508
 
    shlibpath_var=LD_LIBRARY_PATH
14509
 
  fi
14510
 
  ;;
14511
 
 
14512
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14513
 
  version_type=freebsd-elf
14514
 
  need_lib_prefix=no
14515
 
  need_version=no
14516
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14517
 
  soname_spec='${libname}${release}${shared_ext}$major'
14518
 
  shlibpath_var=LD_LIBRARY_PATH
14519
 
  hardcode_into_libs=yes
14520
 
  if test "$with_gnu_ld" = yes; then
14521
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14522
 
    shlibpath_overrides_runpath=no
14523
 
  else
14524
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14525
 
    shlibpath_overrides_runpath=yes
14526
 
    case $host_os in
14527
 
      sco3.2v5*)
14528
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14529
 
        ;;
14530
 
    esac
14531
 
  fi
14532
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14533
 
  ;;
14534
 
 
14535
 
uts4*)
14536
 
  version_type=linux
14537
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14538
 
  soname_spec='${libname}${release}${shared_ext}$major'
14539
 
  shlibpath_var=LD_LIBRARY_PATH
14540
 
  ;;
14541
 
 
14542
 
*)
14543
 
  dynamic_linker=no
14544
 
  ;;
14545
 
esac
14546
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14547
 
echo "${ECHO_T}$dynamic_linker" >&6; }
14548
 
test "$dynamic_linker" = no && can_build_shared=no
14549
 
 
14550
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14551
 
if test "$GCC" = yes; then
14552
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14553
 
fi
14554
 
 
14555
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14556
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14557
 
hardcode_action_CXX=
14558
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14559
 
   test -n "$runpath_var_CXX" || \
14560
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14561
 
 
14562
 
  # We can hardcode non-existant directories.
14563
 
  if test "$hardcode_direct_CXX" != no &&
14564
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14565
 
     # have to relink, otherwise we might link with an installed library
14566
 
     # when we should be linking with a yet-to-be-installed one
14567
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14568
 
     test "$hardcode_minus_L_CXX" != no; then
14569
 
    # Linking always hardcodes the temporary library directory.
14570
 
    hardcode_action_CXX=relink
14571
 
  else
14572
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14573
 
    hardcode_action_CXX=immediate
14574
 
  fi
14575
 
else
14576
 
  # We cannot hardcode anything, or else we can only hardcode existing
14577
 
  # directories.
14578
 
  hardcode_action_CXX=unsupported
14579
 
fi
14580
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14581
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14582
 
 
14583
 
if test "$hardcode_action_CXX" = relink; then
14584
 
  # Fast installation is not supported
14585
 
  enable_fast_install=no
14586
 
elif test "$shlibpath_overrides_runpath" = yes ||
14587
 
     test "$enable_shared" = no; then
14588
 
  # Fast installation is not necessary
14589
 
  enable_fast_install=needless
14590
 
fi
14591
 
 
14592
 
 
14593
 
# The else clause should only fire when bootstrapping the
14594
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14595
 
# with your package, and you will get complaints that there are
14596
 
# no rules to generate ltmain.sh.
14597
 
if test -f "$ltmain"; then
14598
 
  # See if we are running on zsh, and set the options which allow our commands through
14599
 
  # without removal of \ escapes.
14600
 
  if test -n "${ZSH_VERSION+set}" ; then
14601
 
    setopt NO_GLOB_SUBST
14602
 
  fi
14603
 
  # Now quote all the things that may contain metacharacters while being
14604
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14605
 
  # variables and quote the copies for generation of the libtool script.
14606
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14607
 
    SED SHELL STRIP \
14608
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14609
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14610
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14611
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14612
 
    lt_cv_sys_global_symbol_to_c_name_address \
14613
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14614
 
    old_postinstall_cmds old_postuninstall_cmds \
14615
 
    compiler_CXX \
14616
 
    CC_CXX \
14617
 
    LD_CXX \
14618
 
    lt_prog_compiler_wl_CXX \
14619
 
    lt_prog_compiler_pic_CXX \
14620
 
    lt_prog_compiler_static_CXX \
14621
 
    lt_prog_compiler_no_builtin_flag_CXX \
14622
 
    export_dynamic_flag_spec_CXX \
14623
 
    thread_safe_flag_spec_CXX \
14624
 
    whole_archive_flag_spec_CXX \
14625
 
    enable_shared_with_static_runtimes_CXX \
14626
 
    old_archive_cmds_CXX \
14627
 
    old_archive_from_new_cmds_CXX \
14628
 
    predep_objects_CXX \
14629
 
    postdep_objects_CXX \
14630
 
    predeps_CXX \
14631
 
    postdeps_CXX \
14632
 
    compiler_lib_search_path_CXX \
14633
 
    archive_cmds_CXX \
14634
 
    archive_expsym_cmds_CXX \
14635
 
    postinstall_cmds_CXX \
14636
 
    postuninstall_cmds_CXX \
14637
 
    old_archive_from_expsyms_cmds_CXX \
14638
 
    allow_undefined_flag_CXX \
14639
 
    no_undefined_flag_CXX \
14640
 
    export_symbols_cmds_CXX \
14641
 
    hardcode_libdir_flag_spec_CXX \
14642
 
    hardcode_libdir_flag_spec_ld_CXX \
14643
 
    hardcode_libdir_separator_CXX \
14644
 
    hardcode_automatic_CXX \
14645
 
    module_cmds_CXX \
14646
 
    module_expsym_cmds_CXX \
14647
 
    lt_cv_prog_compiler_c_o_CXX \
14648
 
    fix_srcfile_path_CXX \
14649
 
    exclude_expsyms_CXX \
14650
 
    include_expsyms_CXX; do
14651
 
 
14652
 
    case $var in
14653
 
    old_archive_cmds_CXX | \
14654
 
    old_archive_from_new_cmds_CXX | \
14655
 
    archive_cmds_CXX | \
14656
 
    archive_expsym_cmds_CXX | \
14657
 
    module_cmds_CXX | \
14658
 
    module_expsym_cmds_CXX | \
14659
 
    old_archive_from_expsyms_cmds_CXX | \
14660
 
    export_symbols_cmds_CXX | \
14661
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14662
 
    postinstall_cmds | postuninstall_cmds | \
14663
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14664
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14665
 
      # Double-quote double-evaled strings.
14666
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14667
 
      ;;
14668
 
    *)
14669
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14670
 
      ;;
14671
 
    esac
14672
 
  done
14673
 
 
14674
 
  case $lt_echo in
14675
 
  *'\$0 --fallback-echo"')
14676
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14677
 
    ;;
14678
 
  esac
14679
 
 
14680
 
cfgfile="$ofile"
14681
 
 
14682
 
  cat <<__EOF__ >> "$cfgfile"
14683
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14684
 
 
14685
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14686
 
 
14687
 
# Shell to use when invoking shell scripts.
14688
 
SHELL=$lt_SHELL
14689
 
 
14690
 
# Whether or not to build shared libraries.
14691
 
build_libtool_libs=$enable_shared
14692
 
 
14693
 
# Whether or not to build static libraries.
14694
 
build_old_libs=$enable_static
14695
 
 
14696
 
# Whether or not to add -lc for building shared libraries.
14697
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14698
 
 
14699
 
# Whether or not to disallow shared libs when runtime libs are static
14700
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14701
 
 
14702
 
# Whether or not to optimize for fast installation.
14703
 
fast_install=$enable_fast_install
14704
 
 
14705
 
# The host system.
14706
 
host_alias=$host_alias
14707
 
host=$host
14708
 
host_os=$host_os
14709
 
 
14710
 
# The build system.
14711
 
build_alias=$build_alias
14712
 
build=$build
14713
 
build_os=$build_os
14714
 
 
14715
 
# An echo program that does not interpret backslashes.
14716
 
echo=$lt_echo
14717
 
 
14718
 
# The archiver.
14719
 
AR=$lt_AR
14720
 
AR_FLAGS=$lt_AR_FLAGS
14721
 
 
14722
 
# A C compiler.
14723
 
LTCC=$lt_LTCC
14724
 
 
14725
 
# LTCC compiler flags.
14726
 
LTCFLAGS=$lt_LTCFLAGS
14727
 
 
14728
 
# A language-specific compiler.
14729
 
CC=$lt_compiler_CXX
14730
 
 
14731
 
# Is the compiler the GNU C compiler?
14732
 
with_gcc=$GCC_CXX
14733
 
 
14734
 
# An ERE matcher.
14735
 
EGREP=$lt_EGREP
14736
 
 
14737
 
# The linker used to build libraries.
14738
 
LD=$lt_LD_CXX
14739
 
 
14740
 
# Whether we need hard or soft links.
14741
 
LN_S=$lt_LN_S
14742
 
 
14743
 
# A BSD-compatible nm program.
14744
 
NM=$lt_NM
14745
 
 
14746
 
# A symbol stripping program
14747
 
STRIP=$lt_STRIP
14748
 
 
14749
 
# Used to examine libraries when file_magic_cmd begins "file"
14750
 
MAGIC_CMD=$MAGIC_CMD
14751
 
 
14752
 
# Used on cygwin: DLL creation program.
14753
 
DLLTOOL="$DLLTOOL"
14754
 
 
14755
 
# Used on cygwin: object dumper.
14756
 
OBJDUMP="$OBJDUMP"
14757
 
 
14758
 
# Used on cygwin: assembler.
14759
 
AS="$AS"
14760
 
 
14761
 
# The name of the directory that contains temporary libtool files.
14762
 
objdir=$objdir
14763
 
 
14764
 
# How to create reloadable object files.
14765
 
reload_flag=$lt_reload_flag
14766
 
reload_cmds=$lt_reload_cmds
14767
 
 
14768
 
# How to pass a linker flag through the compiler.
14769
 
wl=$lt_lt_prog_compiler_wl_CXX
14770
 
 
14771
 
# Object file suffix (normally "o").
14772
 
objext="$ac_objext"
14773
 
 
14774
 
# Old archive suffix (normally "a").
14775
 
libext="$libext"
14776
 
 
14777
 
# Shared library suffix (normally ".so").
14778
 
shrext_cmds='$shrext_cmds'
14779
 
 
14780
 
# Executable file suffix (normally "").
14781
 
exeext="$exeext"
14782
 
 
14783
 
# Additional compiler flags for building library objects.
14784
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
14785
 
pic_mode=$pic_mode
14786
 
 
14787
 
# What is the maximum length of a command?
14788
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14789
 
 
14790
 
# Does compiler simultaneously support -c and -o options?
14791
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14792
 
 
14793
 
# Must we lock files when doing compilation?
14794
 
need_locks=$lt_need_locks
14795
 
 
14796
 
# Do we need the lib prefix for modules?
14797
 
need_lib_prefix=$need_lib_prefix
14798
 
 
14799
 
# Do we need a version for libraries?
14800
 
need_version=$need_version
14801
 
 
14802
 
# Whether dlopen is supported.
14803
 
dlopen_support=$enable_dlopen
14804
 
 
14805
 
# Whether dlopen of programs is supported.
14806
 
dlopen_self=$enable_dlopen_self
14807
 
 
14808
 
# Whether dlopen of statically linked programs is supported.
14809
 
dlopen_self_static=$enable_dlopen_self_static
14810
 
 
14811
 
# Compiler flag to prevent dynamic linking.
14812
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
14813
 
 
14814
 
# Compiler flag to turn off builtin functions.
14815
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14816
 
 
14817
 
# Compiler flag to allow reflexive dlopens.
14818
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14819
 
 
14820
 
# Compiler flag to generate shared objects directly from archives.
14821
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14822
 
 
14823
 
# Compiler flag to generate thread-safe objects.
14824
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14825
 
 
14826
 
# Library versioning type.
14827
 
version_type=$version_type
14828
 
 
14829
 
# Format of library name prefix.
14830
 
libname_spec=$lt_libname_spec
14831
 
 
14832
 
# List of archive names.  First name is the real one, the rest are links.
14833
 
# The last name is the one that the linker finds with -lNAME.
14834
 
library_names_spec=$lt_library_names_spec
14835
 
 
14836
 
# The coded name of the library, if different from the real name.
14837
 
soname_spec=$lt_soname_spec
14838
 
 
14839
 
# Commands used to build and install an old-style archive.
14840
 
RANLIB=$lt_RANLIB
14841
 
old_archive_cmds=$lt_old_archive_cmds_CXX
14842
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14843
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14844
 
 
14845
 
# Create an old-style archive from a shared archive.
14846
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14847
 
 
14848
 
# Create a temporary old-style archive to link instead of a shared archive.
14849
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14850
 
 
14851
 
# Commands used to build and install a shared archive.
14852
 
archive_cmds=$lt_archive_cmds_CXX
14853
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14854
 
postinstall_cmds=$lt_postinstall_cmds
14855
 
postuninstall_cmds=$lt_postuninstall_cmds
14856
 
 
14857
 
# Commands used to build a loadable module (assumed same as above if empty)
14858
 
module_cmds=$lt_module_cmds_CXX
14859
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14860
 
 
14861
 
# Commands to strip libraries.
14862
 
old_striplib=$lt_old_striplib
14863
 
striplib=$lt_striplib
14864
 
 
14865
 
# Dependencies to place before the objects being linked to create a
14866
 
# shared library.
14867
 
predep_objects=$lt_predep_objects_CXX
14868
 
 
14869
 
# Dependencies to place after the objects being linked to create a
14870
 
# shared library.
14871
 
postdep_objects=$lt_postdep_objects_CXX
14872
 
 
14873
 
# Dependencies to place before the objects being linked to create a
14874
 
# shared library.
14875
 
predeps=$lt_predeps_CXX
14876
 
 
14877
 
# Dependencies to place after the objects being linked to create a
14878
 
# shared library.
14879
 
postdeps=$lt_postdeps_CXX
14880
 
 
14881
 
# The library search path used internally by the compiler when linking
14882
 
# a shared library.
14883
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14884
 
 
14885
 
# Method to check whether dependent libraries are shared objects.
14886
 
deplibs_check_method=$lt_deplibs_check_method
14887
 
 
14888
 
# Command to use when deplibs_check_method == file_magic.
14889
 
file_magic_cmd=$lt_file_magic_cmd
14890
 
 
14891
 
# Flag that allows shared libraries with undefined symbols to be built.
14892
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14893
 
 
14894
 
# Flag that forces no undefined symbols.
14895
 
no_undefined_flag=$lt_no_undefined_flag_CXX
14896
 
 
14897
 
# Commands used to finish a libtool library installation in a directory.
14898
 
finish_cmds=$lt_finish_cmds
14899
 
 
14900
 
# Same as above, but a single script fragment to be evaled but not shown.
14901
 
finish_eval=$lt_finish_eval
14902
 
 
14903
 
# Take the output of nm and produce a listing of raw symbols and C names.
14904
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14905
 
 
14906
 
# Transform the output of nm in a proper C declaration
14907
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14908
 
 
14909
 
# Transform the output of nm in a C name address pair
14910
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14911
 
 
14912
 
# This is the shared library runtime path variable.
14913
 
runpath_var=$runpath_var
14914
 
 
14915
 
# This is the shared library path variable.
14916
 
shlibpath_var=$shlibpath_var
14917
 
 
14918
 
# Is shlibpath searched before the hard-coded library search path?
14919
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14920
 
 
14921
 
# How to hardcode a shared library path into an executable.
14922
 
hardcode_action=$hardcode_action_CXX
14923
 
 
14924
 
# Whether we should hardcode library paths into libraries.
14925
 
hardcode_into_libs=$hardcode_into_libs
14926
 
 
14927
 
# Flag to hardcode \$libdir into a binary during linking.
14928
 
# This must work even if \$libdir does not exist.
14929
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14930
 
 
14931
 
# If ld is used when linking, flag to hardcode \$libdir into
14932
 
# a binary during linking. This must work even if \$libdir does
14933
 
# not exist.
14934
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14935
 
 
14936
 
# Whether we need a single -rpath flag with a separated argument.
14937
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14938
 
 
14939
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14940
 
# resulting binary.
14941
 
hardcode_direct=$hardcode_direct_CXX
14942
 
 
14943
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14944
 
# resulting binary.
14945
 
hardcode_minus_L=$hardcode_minus_L_CXX
14946
 
 
14947
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14948
 
# the resulting binary.
14949
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14950
 
 
14951
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14952
 
# and all subsequent libraries and executables linked against it.
14953
 
hardcode_automatic=$hardcode_automatic_CXX
14954
 
 
14955
 
# Variables whose values should be saved in libtool wrapper scripts and
14956
 
# restored at relink time.
14957
 
variables_saved_for_relink="$variables_saved_for_relink"
14958
 
 
14959
 
# Whether libtool must link a program against all its dependency libraries.
14960
 
link_all_deplibs=$link_all_deplibs_CXX
14961
 
 
14962
 
# Compile-time system search path for libraries
14963
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14964
 
 
14965
 
# Run-time system search path for libraries
14966
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14967
 
 
14968
 
# Fix the shell variable \$srcfile for the compiler.
14969
 
fix_srcfile_path=$lt_fix_srcfile_path
14970
 
 
14971
 
# Set to yes if exported symbols are required.
14972
 
always_export_symbols=$always_export_symbols_CXX
14973
 
 
14974
 
# The commands to list exported symbols.
14975
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14976
 
 
14977
 
# The commands to extract the exported symbol list from a shared archive.
14978
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14979
 
 
14980
 
# Symbols that should not be listed in the preloaded symbols.
14981
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14982
 
 
14983
 
# Symbols that must always be exported.
14984
 
include_expsyms=$lt_include_expsyms_CXX
14985
 
 
14986
 
# ### END LIBTOOL TAG CONFIG: $tagname
14987
 
 
14988
 
__EOF__
14989
 
 
14990
 
 
14991
 
else
14992
 
  # If there is no Makefile yet, we rely on a make rule to execute
14993
 
  # `config.status --recheck' to rerun these tests and create the
14994
 
  # libtool script then.
14995
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14996
 
  if test -f "$ltmain_in"; then
14997
 
    test -f Makefile && make "$ltmain"
14998
 
  fi
14999
 
fi
15000
 
 
15001
 
 
15002
 
ac_ext=c
15003
 
ac_cpp='$CPP $CPPFLAGS'
15004
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15005
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15006
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15007
 
 
15008
 
CC=$lt_save_CC
15009
 
LDCXX=$LD
15010
 
LD=$lt_save_LD
15011
 
GCC=$lt_save_GCC
15012
 
with_gnu_ldcxx=$with_gnu_ld
15013
 
with_gnu_ld=$lt_save_with_gnu_ld
15014
 
lt_cv_path_LDCXX=$lt_cv_path_LD
15015
 
lt_cv_path_LD=$lt_save_path_LD
15016
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15017
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15018
 
 
15019
 
        else
15020
 
          tagname=""
15021
 
        fi
15022
 
        ;;
15023
 
 
15024
 
      F77)
15025
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
15026
 
          
15027
 
ac_ext=f
15028
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15029
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15030
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15031
 
 
15032
 
 
15033
 
archive_cmds_need_lc_F77=no
15034
 
allow_undefined_flag_F77=
15035
 
always_export_symbols_F77=no
15036
 
archive_expsym_cmds_F77=
15037
 
export_dynamic_flag_spec_F77=
15038
 
hardcode_direct_F77=no
15039
 
hardcode_libdir_flag_spec_F77=
15040
 
hardcode_libdir_flag_spec_ld_F77=
15041
 
hardcode_libdir_separator_F77=
15042
 
hardcode_minus_L_F77=no
15043
 
hardcode_automatic_F77=no
15044
 
module_cmds_F77=
15045
 
module_expsym_cmds_F77=
15046
 
link_all_deplibs_F77=unknown
15047
 
old_archive_cmds_F77=$old_archive_cmds
15048
 
no_undefined_flag_F77=
15049
 
whole_archive_flag_spec_F77=
15050
 
enable_shared_with_static_runtimes_F77=no
15051
 
 
15052
 
# Source file extension for f77 test sources.
15053
 
ac_ext=f
15054
 
 
15055
 
# Object file extension for compiled f77 test sources.
15056
 
objext=o
15057
 
objext_F77=$objext
15058
 
 
15059
 
# Code to be used in simple compile tests
15060
 
lt_simple_compile_test_code="\
15061
 
      subroutine t
15062
 
      return
15063
 
      end
15064
 
"
15065
 
 
15066
 
# Code to be used in simple link tests
15067
 
lt_simple_link_test_code="\
15068
 
      program t
15069
 
      end
15070
 
"
15071
 
 
15072
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15073
 
 
15074
 
# If no C compiler was specified, use CC.
15075
 
LTCC=${LTCC-"$CC"}
15076
 
 
15077
 
# If no C compiler flags were specified, use CFLAGS.
15078
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15079
 
 
15080
 
# Allow CC to be a program name with arguments.
15081
 
compiler=$CC
15082
 
 
15083
 
 
15084
 
# save warnings/boilerplate of simple test code
15085
 
ac_outfile=conftest.$ac_objext
15086
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15087
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15088
 
_lt_compiler_boilerplate=`cat conftest.err`
15089
 
$rm conftest*
15090
 
 
15091
 
ac_outfile=conftest.$ac_objext
15092
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15093
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15094
 
_lt_linker_boilerplate=`cat conftest.err`
15095
 
$rm conftest*
15096
 
 
15097
 
 
15098
 
# Allow CC to be a program name with arguments.
15099
 
lt_save_CC="$CC"
15100
 
CC=${F77-"f77"}
15101
 
compiler=$CC
15102
 
compiler_F77=$CC
15103
 
for cc_temp in $compiler""; do
15104
 
  case $cc_temp in
15105
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15106
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15107
 
    \-*) ;;
15108
 
    *) break;;
15109
 
  esac
15110
 
done
15111
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15112
 
 
15113
 
 
15114
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15115
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15116
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
15117
 
echo "${ECHO_T}$can_build_shared" >&6; }
15118
 
 
15119
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15120
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15121
 
test "$can_build_shared" = "no" && enable_shared=no
15122
 
 
15123
 
# On AIX, shared libraries and static libraries use the same namespace, and
15124
 
# are all built from PIC.
15125
 
case $host_os in
15126
 
aix3*)
15127
 
  test "$enable_shared" = yes && enable_static=no
15128
 
  if test -n "$RANLIB"; then
15129
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
15130
 
    postinstall_cmds='$RANLIB $lib'
15131
 
  fi
15132
 
  ;;
15133
 
aix4* | aix5*)
15134
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15135
 
    test "$enable_shared" = yes && enable_static=no
15136
 
  fi
15137
 
  ;;
15138
 
esac
15139
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
15140
 
echo "${ECHO_T}$enable_shared" >&6; }
15141
 
 
15142
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15143
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15144
 
# Make sure either enable_shared or enable_static is yes.
15145
 
test "$enable_shared" = yes || enable_static=yes
15146
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
15147
 
echo "${ECHO_T}$enable_static" >&6; }
15148
 
 
15149
 
GCC_F77="$G77"
15150
 
LD_F77="$LD"
15151
 
 
15152
 
lt_prog_compiler_wl_F77=
15153
 
lt_prog_compiler_pic_F77=
15154
 
lt_prog_compiler_static_F77=
15155
 
 
15156
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15157
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15158
 
 
15159
 
  if test "$GCC" = yes; then
15160
 
    lt_prog_compiler_wl_F77='-Wl,'
15161
 
    lt_prog_compiler_static_F77='-static'
15162
 
 
15163
 
    case $host_os in
15164
 
      aix*)
15165
 
      # All AIX code is PIC.
15166
 
      if test "$host_cpu" = ia64; then
15167
 
        # AIX 5 now supports IA64 processor
15168
 
        lt_prog_compiler_static_F77='-Bstatic'
15169
 
      fi
15170
 
      ;;
15171
 
 
15172
 
    amigaos*)
15173
 
      # FIXME: we need at least 68020 code to build shared libraries, but
15174
 
      # adding the `-m68020' flag to GCC prevents building anything better,
15175
 
      # like `-m68040'.
15176
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15177
 
      ;;
15178
 
 
15179
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15180
 
      # PIC is the default for these OSes.
15181
 
      ;;
15182
 
 
15183
 
    mingw* | cygwin* | pw32* | os2*)
15184
 
      # This hack is so that the source file can tell whether it is being
15185
 
      # built for inclusion in a dll (and should export symbols for example).
15186
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15187
 
      # (--disable-auto-import) libraries
15188
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15189
 
      ;;
15190
 
 
15191
 
    darwin* | rhapsody*)
15192
 
      # PIC is the default on this platform
15193
 
      # Common symbols not allowed in MH_DYLIB files
15194
 
      lt_prog_compiler_pic_F77='-fno-common'
15195
 
      ;;
15196
 
 
15197
 
    interix[3-9]*)
15198
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15199
 
      # Instead, we relocate shared libraries at runtime.
15200
 
      ;;
15201
 
 
15202
 
    msdosdjgpp*)
15203
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15204
 
      # on systems that don't support them.
15205
 
      lt_prog_compiler_can_build_shared_F77=no
15206
 
      enable_shared=no
15207
 
      ;;
15208
 
 
15209
 
    sysv4*MP*)
15210
 
      if test -d /usr/nec; then
15211
 
        lt_prog_compiler_pic_F77=-Kconform_pic
15212
 
      fi
15213
 
      ;;
15214
 
 
15215
 
    hpux*)
15216
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15217
 
      # not for PA HP-UX.
15218
 
      case $host_cpu in
15219
 
      hppa*64*|ia64*)
15220
 
        # +Z the default
15221
 
        ;;
15222
 
      *)
15223
 
        lt_prog_compiler_pic_F77='-fPIC'
15224
 
        ;;
15225
 
      esac
15226
 
      ;;
15227
 
 
15228
 
    *)
15229
 
      lt_prog_compiler_pic_F77='-fPIC'
15230
 
      ;;
15231
 
    esac
15232
 
  else
15233
 
    # PORTME Check for flag to pass linker flags through the system compiler.
15234
 
    case $host_os in
15235
 
    aix*)
15236
 
      lt_prog_compiler_wl_F77='-Wl,'
15237
 
      if test "$host_cpu" = ia64; then
15238
 
        # AIX 5 now supports IA64 processor
15239
 
        lt_prog_compiler_static_F77='-Bstatic'
15240
 
      else
15241
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15242
 
      fi
15243
 
      ;;
15244
 
      darwin*)
15245
 
        # PIC is the default on this platform
15246
 
        # Common symbols not allowed in MH_DYLIB files
15247
 
       case $cc_basename in
15248
 
         xlc*)
15249
 
         lt_prog_compiler_pic_F77='-qnocommon'
15250
 
         lt_prog_compiler_wl_F77='-Wl,'
15251
 
         ;;
15252
 
       esac
15253
 
       ;;
15254
 
 
15255
 
    mingw* | cygwin* | pw32* | os2*)
15256
 
      # This hack is so that the source file can tell whether it is being
15257
 
      # built for inclusion in a dll (and should export symbols for example).
15258
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15259
 
      ;;
15260
 
 
15261
 
    hpux9* | hpux10* | hpux11*)
15262
 
      lt_prog_compiler_wl_F77='-Wl,'
15263
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15264
 
      # not for PA HP-UX.
15265
 
      case $host_cpu in
15266
 
      hppa*64*|ia64*)
15267
 
        # +Z the default
15268
 
        ;;
15269
 
      *)
15270
 
        lt_prog_compiler_pic_F77='+Z'
15271
 
        ;;
15272
 
      esac
15273
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
15274
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15275
 
      ;;
15276
 
 
15277
 
    irix5* | irix6* | nonstopux*)
15278
 
      lt_prog_compiler_wl_F77='-Wl,'
15279
 
      # PIC (with -KPIC) is the default.
15280
 
      lt_prog_compiler_static_F77='-non_shared'
15281
 
      ;;
15282
 
 
15283
 
    newsos6)
15284
 
      lt_prog_compiler_pic_F77='-KPIC'
15285
 
      lt_prog_compiler_static_F77='-Bstatic'
15286
 
      ;;
15287
 
 
15288
 
    linux* | k*bsd*-gnu)
15289
 
      case $cc_basename in
15290
 
      icc* | ecc*)
15291
 
        lt_prog_compiler_wl_F77='-Wl,'
15292
 
        lt_prog_compiler_pic_F77='-KPIC'
15293
 
        lt_prog_compiler_static_F77='-static'
15294
 
        ;;
15295
 
      pgcc* | pgf77* | pgf90* | pgf95*)
15296
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
15297
 
        # which looks to be a dead project)
15298
 
        lt_prog_compiler_wl_F77='-Wl,'
15299
 
        lt_prog_compiler_pic_F77='-fpic'
15300
 
        lt_prog_compiler_static_F77='-Bstatic'
15301
 
        ;;
15302
 
      ccc*)
15303
 
        lt_prog_compiler_wl_F77='-Wl,'
15304
 
        # All Alpha code is PIC.
15305
 
        lt_prog_compiler_static_F77='-non_shared'
15306
 
        ;;
15307
 
      *)
15308
 
        case `$CC -V 2>&1 | sed 5q` in
15309
 
        *Sun\ C*)
15310
 
          # Sun C 5.9
15311
 
          lt_prog_compiler_pic_F77='-KPIC'
15312
 
          lt_prog_compiler_static_F77='-Bstatic'
15313
 
          lt_prog_compiler_wl_F77='-Wl,'
15314
 
          ;;
15315
 
        *Sun\ F*)
15316
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
15317
 
          lt_prog_compiler_pic_F77='-KPIC'
15318
 
          lt_prog_compiler_static_F77='-Bstatic'
15319
 
          lt_prog_compiler_wl_F77=''
15320
 
          ;;
15321
 
        esac
15322
 
        ;;
15323
 
      esac
15324
 
      ;;
15325
 
 
15326
 
    osf3* | osf4* | osf5*)
15327
 
      lt_prog_compiler_wl_F77='-Wl,'
15328
 
      # All OSF/1 code is PIC.
15329
 
      lt_prog_compiler_static_F77='-non_shared'
15330
 
      ;;
15331
 
 
15332
 
    rdos*)
15333
 
      lt_prog_compiler_static_F77='-non_shared'
15334
 
      ;;
15335
 
 
15336
 
    solaris*)
15337
 
      lt_prog_compiler_pic_F77='-KPIC'
15338
 
      lt_prog_compiler_static_F77='-Bstatic'
15339
 
      case $cc_basename in
15340
 
      f77* | f90* | f95*)
15341
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
15342
 
      *)
15343
 
        lt_prog_compiler_wl_F77='-Wl,';;
15344
 
      esac
15345
 
      ;;
15346
 
 
15347
 
    sunos4*)
15348
 
      lt_prog_compiler_wl_F77='-Qoption ld '
15349
 
      lt_prog_compiler_pic_F77='-PIC'
15350
 
      lt_prog_compiler_static_F77='-Bstatic'
15351
 
      ;;
15352
 
 
15353
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
15354
 
      lt_prog_compiler_wl_F77='-Wl,'
15355
 
      lt_prog_compiler_pic_F77='-KPIC'
15356
 
      lt_prog_compiler_static_F77='-Bstatic'
15357
 
      ;;
15358
 
 
15359
 
    sysv4*MP*)
15360
 
      if test -d /usr/nec ;then
15361
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
15362
 
        lt_prog_compiler_static_F77='-Bstatic'
15363
 
      fi
15364
 
      ;;
15365
 
 
15366
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15367
 
      lt_prog_compiler_wl_F77='-Wl,'
15368
 
      lt_prog_compiler_pic_F77='-KPIC'
15369
 
      lt_prog_compiler_static_F77='-Bstatic'
15370
 
      ;;
15371
 
 
15372
 
    unicos*)
15373
 
      lt_prog_compiler_wl_F77='-Wl,'
15374
 
      lt_prog_compiler_can_build_shared_F77=no
15375
 
      ;;
15376
 
 
15377
 
    uts4*)
15378
 
      lt_prog_compiler_pic_F77='-pic'
15379
 
      lt_prog_compiler_static_F77='-Bstatic'
15380
 
      ;;
15381
 
 
15382
 
    *)
15383
 
      lt_prog_compiler_can_build_shared_F77=no
15384
 
      ;;
15385
 
    esac
15386
 
  fi
15387
 
 
15388
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15389
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15390
 
 
15391
 
#
15392
 
# Check to make sure the PIC flag actually works.
15393
 
#
15394
 
if test -n "$lt_prog_compiler_pic_F77"; then
15395
 
  
15396
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15397
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15398
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15399
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15400
 
else
15401
 
  lt_prog_compiler_pic_works_F77=no
15402
 
  ac_outfile=conftest.$ac_objext
15403
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15404
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15405
 
   # Insert the option either (1) after the last *FLAGS variable, or
15406
 
   # (2) before a word containing "conftest.", or (3) at the end.
15407
 
   # Note that $ac_compile itself does not contain backslashes and begins
15408
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15409
 
   # The option is referenced via a variable to avoid confusing sed.
15410
 
   lt_compile=`echo "$ac_compile" | $SED \
15411
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15412
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15413
 
   -e 's:$: $lt_compiler_flag:'`
15414
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15415
 
   (eval "$lt_compile" 2>conftest.err)
15416
 
   ac_status=$?
15417
 
   cat conftest.err >&5
15418
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
15419
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15420
 
     # The compiler can only warn and ignore the option if not recognized
15421
 
     # So say no if there are warnings other than the usual output.
15422
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15423
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15424
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15425
 
       lt_prog_compiler_pic_works_F77=yes
15426
 
     fi
15427
 
   fi
15428
 
   $rm conftest*
15429
 
 
15430
 
fi
15431
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15432
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15433
 
 
15434
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15435
 
    case $lt_prog_compiler_pic_F77 in
15436
 
     "" | " "*) ;;
15437
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15438
 
     esac
15439
 
else
15440
 
    lt_prog_compiler_pic_F77=
15441
 
     lt_prog_compiler_can_build_shared_F77=no
15442
 
fi
15443
 
 
15444
 
fi
15445
 
case $host_os in
15446
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15447
 
  *djgpp*)
15448
 
    lt_prog_compiler_pic_F77=
15449
 
    ;;
15450
 
  *)
15451
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15452
 
    ;;
15453
 
esac
15454
 
 
15455
 
#
15456
 
# Check to make sure the static flag actually works.
15457
 
#
15458
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15459
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15460
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15461
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15462
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15463
 
else
15464
 
  lt_prog_compiler_static_works_F77=no
15465
 
   save_LDFLAGS="$LDFLAGS"
15466
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15467
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15468
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15469
 
     # The linker can only warn and ignore the option if not recognized
15470
 
     # So say no if there are warnings
15471
 
     if test -s conftest.err; then
15472
 
       # Append any errors to the config.log.
15473
 
       cat conftest.err 1>&5
15474
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15475
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15476
 
       if diff conftest.exp conftest.er2 >/dev/null; then
15477
 
         lt_prog_compiler_static_works_F77=yes
15478
 
       fi
15479
 
     else
15480
 
       lt_prog_compiler_static_works_F77=yes
15481
 
     fi
15482
 
   fi
15483
 
   $rm conftest*
15484
 
   LDFLAGS="$save_LDFLAGS"
15485
 
 
15486
 
fi
15487
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15488
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15489
 
 
15490
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
15491
 
    :
15492
 
else
15493
 
    lt_prog_compiler_static_F77=
15494
 
fi
15495
 
 
15496
 
 
15497
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15498
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15499
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15500
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15501
 
else
15502
 
  lt_cv_prog_compiler_c_o_F77=no
15503
 
   $rm -r conftest 2>/dev/null
15504
 
   mkdir conftest
15505
 
   cd conftest
15506
 
   mkdir out
15507
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15508
 
 
15509
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15510
 
   # Insert the option either (1) after the last *FLAGS variable, or
15511
 
   # (2) before a word containing "conftest.", or (3) at the end.
15512
 
   # Note that $ac_compile itself does not contain backslashes and begins
15513
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15514
 
   lt_compile=`echo "$ac_compile" | $SED \
15515
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15516
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15517
 
   -e 's:$: $lt_compiler_flag:'`
15518
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15519
 
   (eval "$lt_compile" 2>out/conftest.err)
15520
 
   ac_status=$?
15521
 
   cat out/conftest.err >&5
15522
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
15523
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15524
 
   then
15525
 
     # The compiler can only warn and ignore the option if not recognized
15526
 
     # So say no if there are warnings
15527
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15528
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15529
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15530
 
       lt_cv_prog_compiler_c_o_F77=yes
15531
 
     fi
15532
 
   fi
15533
 
   chmod u+w . 2>&5
15534
 
   $rm conftest*
15535
 
   # SGI C++ compiler will create directory out/ii_files/ for
15536
 
   # template instantiation
15537
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15538
 
   $rm out/* && rmdir out
15539
 
   cd ..
15540
 
   rmdir conftest
15541
 
   $rm conftest*
15542
 
 
15543
 
fi
15544
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15545
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15546
 
 
15547
 
 
15548
 
hard_links="nottested"
15549
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15550
 
  # do not overwrite the value of need_locks provided by the user
15551
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15552
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15553
 
  hard_links=yes
15554
 
  $rm conftest*
15555
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15556
 
  touch conftest.a
15557
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15558
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15559
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15560
 
echo "${ECHO_T}$hard_links" >&6; }
15561
 
  if test "$hard_links" = no; then
15562
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15563
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15564
 
    need_locks=warn
15565
 
  fi
15566
 
else
15567
 
  need_locks=no
15568
 
fi
15569
 
 
15570
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15571
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15572
 
 
15573
 
  runpath_var=
15574
 
  allow_undefined_flag_F77=
15575
 
  enable_shared_with_static_runtimes_F77=no
15576
 
  archive_cmds_F77=
15577
 
  archive_expsym_cmds_F77=
15578
 
  old_archive_From_new_cmds_F77=
15579
 
  old_archive_from_expsyms_cmds_F77=
15580
 
  export_dynamic_flag_spec_F77=
15581
 
  whole_archive_flag_spec_F77=
15582
 
  thread_safe_flag_spec_F77=
15583
 
  hardcode_libdir_flag_spec_F77=
15584
 
  hardcode_libdir_flag_spec_ld_F77=
15585
 
  hardcode_libdir_separator_F77=
15586
 
  hardcode_direct_F77=no
15587
 
  hardcode_minus_L_F77=no
15588
 
  hardcode_shlibpath_var_F77=unsupported
15589
 
  link_all_deplibs_F77=unknown
15590
 
  hardcode_automatic_F77=no
15591
 
  module_cmds_F77=
15592
 
  module_expsym_cmds_F77=
15593
 
  always_export_symbols_F77=no
15594
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15595
 
  # include_expsyms should be a list of space-separated symbols to be *always*
15596
 
  # included in the symbol list
15597
 
  include_expsyms_F77=
15598
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
15599
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15600
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15601
 
  # as well as any symbol that contains `d'.
15602
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15603
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15604
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
15605
 
  # the symbol is explicitly referenced.  Since portable code cannot
15606
 
  # rely on this symbol name, it's probably fine to never include it in
15607
 
  # preloaded symbol tables.
15608
 
  extract_expsyms_cmds=
15609
 
  # Just being paranoid about ensuring that cc_basename is set.
15610
 
  for cc_temp in $compiler""; do
15611
 
  case $cc_temp in
15612
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15613
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15614
 
    \-*) ;;
15615
 
    *) break;;
15616
 
  esac
15617
 
done
15618
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15619
 
 
15620
 
  case $host_os in
15621
 
  cygwin* | mingw* | pw32*)
15622
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15623
 
    # When not using gcc, we currently assume that we are using
15624
 
    # Microsoft Visual C++.
15625
 
    if test "$GCC" != yes; then
15626
 
      with_gnu_ld=no
15627
 
    fi
15628
 
    ;;
15629
 
  interix*)
15630
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
15631
 
    with_gnu_ld=yes
15632
 
    ;;
15633
 
  openbsd*)
15634
 
    with_gnu_ld=no
15635
 
    ;;
15636
 
  esac
15637
 
 
15638
 
  ld_shlibs_F77=yes
15639
 
  if test "$with_gnu_ld" = yes; then
15640
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15641
 
    wlarc='${wl}'
15642
 
 
15643
 
    # Set some defaults for GNU ld with shared library support. These
15644
 
    # are reset later if shared libraries are not supported. Putting them
15645
 
    # here allows them to be overridden if necessary.
15646
 
    runpath_var=LD_RUN_PATH
15647
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15648
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15649
 
    # ancient GNU ld didn't support --whole-archive et. al.
15650
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15651
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15652
 
      else
15653
 
        whole_archive_flag_spec_F77=
15654
 
    fi
15655
 
    supports_anon_versioning=no
15656
 
    case `$LD -v 2>/dev/null` in
15657
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15658
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15659
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15660
 
      *\ 2.11.*) ;; # other 2.11 versions
15661
 
      *) supports_anon_versioning=yes ;;
15662
 
    esac
15663
 
 
15664
 
    # See if GNU ld supports shared libraries.
15665
 
    case $host_os in
15666
 
    aix3* | aix4* | aix5*)
15667
 
      # On AIX/PPC, the GNU linker is very broken
15668
 
      if test "$host_cpu" != ia64; then
15669
 
        ld_shlibs_F77=no
15670
 
        cat <<EOF 1>&2
15671
 
 
15672
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15673
 
*** to be unable to reliably create shared libraries on AIX.
15674
 
*** Therefore, libtool is disabling shared libraries support.  If you
15675
 
*** really care for shared libraries, you may want to modify your PATH
15676
 
*** so that a non-GNU linker is found, and then restart.
15677
 
 
15678
 
EOF
15679
 
      fi
15680
 
      ;;
15681
 
 
15682
 
    amigaos*)
15683
 
      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)'
15684
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15685
 
      hardcode_minus_L_F77=yes
15686
 
 
15687
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15688
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
15689
 
      # to version 4, is to share data among multiple programs linked
15690
 
      # with the same dynamic library.  Since this doesn't match the
15691
 
      # behavior of shared libraries on other platforms, we can't use
15692
 
      # them.
15693
 
      ld_shlibs_F77=no
15694
 
      ;;
15695
 
 
15696
 
    beos*)
15697
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15698
 
        allow_undefined_flag_F77=unsupported
15699
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15700
 
        # support --undefined.  This deserves some investigation.  FIXME
15701
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15702
 
      else
15703
 
        ld_shlibs_F77=no
15704
 
      fi
15705
 
      ;;
15706
 
 
15707
 
    cygwin* | mingw* | pw32*)
15708
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15709
 
      # as there is no search path for DLLs.
15710
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15711
 
      allow_undefined_flag_F77=unsupported
15712
 
      always_export_symbols_F77=no
15713
 
      enable_shared_with_static_runtimes_F77=yes
15714
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15715
 
 
15716
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15717
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15718
 
        # If the export-symbols file already is a .def file (1st line
15719
 
        # is EXPORTS), use it as is; otherwise, prepend...
15720
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15721
 
          cp $export_symbols $output_objdir/$soname.def;
15722
 
        else
15723
 
          echo EXPORTS > $output_objdir/$soname.def;
15724
 
          cat $export_symbols >> $output_objdir/$soname.def;
15725
 
        fi~
15726
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15727
 
      else
15728
 
        ld_shlibs_F77=no
15729
 
      fi
15730
 
      ;;
15731
 
 
15732
 
    interix[3-9]*)
15733
 
      hardcode_direct_F77=no
15734
 
      hardcode_shlibpath_var_F77=no
15735
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15736
 
      export_dynamic_flag_spec_F77='${wl}-E'
15737
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15738
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15739
 
      # default) and relocated if they conflict, which is a slow very memory
15740
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15741
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15742
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15743
 
      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'
15744
 
      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'
15745
 
      ;;
15746
 
 
15747
 
    gnu* | linux* | k*bsd*-gnu)
15748
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15749
 
        tmp_addflag=
15750
 
        case $cc_basename,$host_cpu in
15751
 
        pgcc*)                          # Portland Group C compiler
15752
 
          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'
15753
 
          tmp_addflag=' $pic_flag'
15754
 
          ;;
15755
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15756
 
          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'
15757
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15758
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15759
 
          tmp_addflag=' -i_dynamic' ;;
15760
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15761
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15762
 
        ifc* | ifort*)                  # Intel Fortran compiler
15763
 
          tmp_addflag=' -nofor_main' ;;
15764
 
        esac
15765
 
        case `$CC -V 2>&1 | sed 5q` in
15766
 
        *Sun\ C*)                       # Sun C 5.9
15767
 
          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'
15768
 
          tmp_sharedflag='-G' ;;
15769
 
        *Sun\ F*)                       # Sun Fortran 8.3
15770
 
          tmp_sharedflag='-G' ;;
15771
 
        *)
15772
 
          tmp_sharedflag='-shared' ;;
15773
 
        esac
15774
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15775
 
 
15776
 
        if test $supports_anon_versioning = yes; then
15777
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15778
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15779
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15780
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15781
 
        fi
15782
 
        link_all_deplibs_F77=no
15783
 
      else
15784
 
        ld_shlibs_F77=no
15785
 
      fi
15786
 
      ;;
15787
 
 
15788
 
    netbsd* | netbsdelf*-gnu)
15789
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15790
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15791
 
        wlarc=
15792
 
      else
15793
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15794
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15795
 
      fi
15796
 
      ;;
15797
 
 
15798
 
    solaris*)
15799
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15800
 
        ld_shlibs_F77=no
15801
 
        cat <<EOF 1>&2
15802
 
 
15803
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15804
 
*** create shared libraries on Solaris systems.  Therefore, libtool
15805
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15806
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
15807
 
*** your PATH or compiler configuration so that the native linker is
15808
 
*** used, and then restart.
15809
 
 
15810
 
EOF
15811
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15812
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15813
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15814
 
      else
15815
 
        ld_shlibs_F77=no
15816
 
      fi
15817
 
      ;;
15818
 
 
15819
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15820
 
      case `$LD -v 2>&1` in
15821
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15822
 
        ld_shlibs_F77=no
15823
 
        cat <<_LT_EOF 1>&2
15824
 
 
15825
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15826
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
15827
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15828
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15829
 
*** your PATH or compiler configuration so that the native linker is
15830
 
*** used, and then restart.
15831
 
 
15832
 
_LT_EOF
15833
 
        ;;
15834
 
        *)
15835
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15836
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15837
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15838
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15839
 
          else
15840
 
            ld_shlibs_F77=no
15841
 
          fi
15842
 
        ;;
15843
 
      esac
15844
 
      ;;
15845
 
 
15846
 
    sunos4*)
15847
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15848
 
      wlarc=
15849
 
      hardcode_direct_F77=yes
15850
 
      hardcode_shlibpath_var_F77=no
15851
 
      ;;
15852
 
 
15853
 
    *)
15854
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15855
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15856
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15857
 
      else
15858
 
        ld_shlibs_F77=no
15859
 
      fi
15860
 
      ;;
15861
 
    esac
15862
 
 
15863
 
    if test "$ld_shlibs_F77" = no; then
15864
 
      runpath_var=
15865
 
      hardcode_libdir_flag_spec_F77=
15866
 
      export_dynamic_flag_spec_F77=
15867
 
      whole_archive_flag_spec_F77=
15868
 
    fi
15869
 
  else
15870
 
    # PORTME fill in a description of your system's linker (not GNU ld)
15871
 
    case $host_os in
15872
 
    aix3*)
15873
 
      allow_undefined_flag_F77=unsupported
15874
 
      always_export_symbols_F77=yes
15875
 
      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'
15876
 
      # Note: this linker hardcodes the directories in LIBPATH if there
15877
 
      # are no directories specified by -L.
15878
 
      hardcode_minus_L_F77=yes
15879
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15880
 
        # Neither direct hardcoding nor static linking is supported with a
15881
 
        # broken collect2.
15882
 
        hardcode_direct_F77=unsupported
15883
 
      fi
15884
 
      ;;
15885
 
 
15886
 
    aix4* | aix5*)
15887
 
      if test "$host_cpu" = ia64; then
15888
 
        # On IA64, the linker does run time linking by default, so we don't
15889
 
        # have to do anything special.
15890
 
        aix_use_runtimelinking=no
15891
 
        exp_sym_flag='-Bexport'
15892
 
        no_entry_flag=""
15893
 
      else
15894
 
        # If we're using GNU nm, then we don't want the "-C" option.
15895
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15896
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15897
 
          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'
15898
 
        else
15899
 
          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'
15900
 
        fi
15901
 
        aix_use_runtimelinking=no
15902
 
 
15903
 
        # Test if we are trying to use run time linking or normal
15904
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15905
 
        # need to do runtime linking.
15906
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15907
 
          for ld_flag in $LDFLAGS; do
15908
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15909
 
            aix_use_runtimelinking=yes
15910
 
            break
15911
 
          fi
15912
 
          done
15913
 
          ;;
15914
 
        esac
15915
 
 
15916
 
        exp_sym_flag='-bexport'
15917
 
        no_entry_flag='-bnoentry'
15918
 
      fi
15919
 
 
15920
 
      # When large executables or shared objects are built, AIX ld can
15921
 
      # have problems creating the table of contents.  If linking a library
15922
 
      # or program results in "error TOC overflow" add -mminimal-toc to
15923
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15924
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15925
 
 
15926
 
      archive_cmds_F77=''
15927
 
      hardcode_direct_F77=yes
15928
 
      hardcode_libdir_separator_F77=':'
15929
 
      link_all_deplibs_F77=yes
15930
 
 
15931
 
      if test "$GCC" = yes; then
15932
 
        case $host_os in aix4.[012]|aix4.[012].*)
15933
 
        # We only want to do this on AIX 4.2 and lower, the check
15934
 
        # below for broken collect2 doesn't work under 4.3+
15935
 
          collect2name=`${CC} -print-prog-name=collect2`
15936
 
          if test -f "$collect2name" && \
15937
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15938
 
          then
15939
 
          # We have reworked collect2
15940
 
          :
15941
 
          else
15942
 
          # We have old collect2
15943
 
          hardcode_direct_F77=unsupported
15944
 
          # It fails to find uninstalled libraries when the uninstalled
15945
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15946
 
          # to unsupported forces relinking
15947
 
          hardcode_minus_L_F77=yes
15948
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15949
 
          hardcode_libdir_separator_F77=
15950
 
          fi
15951
 
          ;;
15952
 
        esac
15953
 
        shared_flag='-shared'
15954
 
        if test "$aix_use_runtimelinking" = yes; then
15955
 
          shared_flag="$shared_flag "'${wl}-G'
15956
 
        fi
15957
 
      else
15958
 
        # not using gcc
15959
 
        if test "$host_cpu" = ia64; then
15960
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15961
 
        # chokes on -Wl,-G. The following line is correct:
15962
 
          shared_flag='-G'
15963
 
        else
15964
 
          if test "$aix_use_runtimelinking" = yes; then
15965
 
            shared_flag='${wl}-G'
15966
 
          else
15967
 
            shared_flag='${wl}-bM:SRE'
15968
 
          fi
15969
 
        fi
15970
 
      fi
15971
 
 
15972
 
      # It seems that -bexpall does not export symbols beginning with
15973
 
      # underscore (_), so it is better to generate a list of symbols to export.
15974
 
      always_export_symbols_F77=yes
15975
 
      if test "$aix_use_runtimelinking" = yes; then
15976
 
        # Warning - without using the other runtime loading flags (-brtl),
15977
 
        # -berok will link without error, but may produce a broken library.
15978
 
        allow_undefined_flag_F77='-berok'
15979
 
       # Determine the default libpath from the value encoded in an empty executable.
15980
 
       cat >conftest.$ac_ext <<_ACEOF
15981
 
      program main
15982
 
 
15983
 
      end
15984
 
_ACEOF
15985
 
rm -f conftest.$ac_objext conftest$ac_exeext
15986
 
if { (ac_try="$ac_link"
15987
 
case "(($ac_try" in
15988
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15989
 
  *) ac_try_echo=$ac_try;;
15990
 
esac
15991
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15992
 
  (eval "$ac_link") 2>conftest.er1
15993
 
  ac_status=$?
15994
 
  grep -v '^ *+' conftest.er1 >conftest.err
15995
 
  rm -f conftest.er1
15996
 
  cat conftest.err >&5
15997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998
 
  (exit $ac_status); } && {
15999
 
         test -z "$ac_f77_werror_flag" ||
16000
 
         test ! -s conftest.err
16001
 
       } && test -s conftest$ac_exeext &&
16002
 
       $as_test_x conftest$ac_exeext; then
16003
 
  
16004
 
lt_aix_libpath_sed='
16005
 
    /Import File Strings/,/^$/ {
16006
 
        /^0/ {
16007
 
            s/^0  *\(.*\)$/\1/
16008
 
            p
16009
 
        }
16010
 
    }'
16011
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16012
 
# Check for a 64-bit object if we didn't find anything.
16013
 
if test -z "$aix_libpath"; then
16014
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16015
 
fi
16016
 
else
16017
 
  echo "$as_me: failed program was:" >&5
16018
 
sed 's/^/| /' conftest.$ac_ext >&5
16019
 
 
16020
 
        
16021
 
fi
16022
 
 
16023
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16024
 
      conftest$ac_exeext conftest.$ac_ext
16025
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16026
 
 
16027
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16028
 
        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"
16029
 
       else
16030
 
        if test "$host_cpu" = ia64; then
16031
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16032
 
          allow_undefined_flag_F77="-z nodefs"
16033
 
          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"
16034
 
        else
16035
 
         # Determine the default libpath from the value encoded in an empty executable.
16036
 
         cat >conftest.$ac_ext <<_ACEOF
16037
 
      program main
16038
 
 
16039
 
      end
16040
 
_ACEOF
16041
 
rm -f conftest.$ac_objext conftest$ac_exeext
16042
 
if { (ac_try="$ac_link"
16043
 
case "(($ac_try" in
16044
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16045
 
  *) ac_try_echo=$ac_try;;
16046
 
esac
16047
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16048
 
  (eval "$ac_link") 2>conftest.er1
16049
 
  ac_status=$?
16050
 
  grep -v '^ *+' conftest.er1 >conftest.err
16051
 
  rm -f conftest.er1
16052
 
  cat conftest.err >&5
16053
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054
 
  (exit $ac_status); } && {
16055
 
         test -z "$ac_f77_werror_flag" ||
16056
 
         test ! -s conftest.err
16057
 
       } && test -s conftest$ac_exeext &&
16058
 
       $as_test_x conftest$ac_exeext; then
16059
 
  
16060
 
lt_aix_libpath_sed='
16061
 
    /Import File Strings/,/^$/ {
16062
 
        /^0/ {
16063
 
            s/^0  *\(.*\)$/\1/
16064
 
            p
16065
 
        }
16066
 
    }'
16067
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16068
 
# Check for a 64-bit object if we didn't find anything.
16069
 
if test -z "$aix_libpath"; then
16070
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16071
 
fi
16072
 
else
16073
 
  echo "$as_me: failed program was:" >&5
16074
 
sed 's/^/| /' conftest.$ac_ext >&5
16075
 
 
16076
 
        
16077
 
fi
16078
 
 
16079
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16080
 
      conftest$ac_exeext conftest.$ac_ext
16081
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16082
 
 
16083
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16084
 
          # Warning - without using the other run time loading flags,
16085
 
          # -berok will link without error, but may produce a broken library.
16086
 
          no_undefined_flag_F77=' ${wl}-bernotok'
16087
 
          allow_undefined_flag_F77=' ${wl}-berok'
16088
 
          # Exported symbols can be pulled into shared objects from archives
16089
 
          whole_archive_flag_spec_F77='$convenience'
16090
 
          archive_cmds_need_lc_F77=yes
16091
 
          # This is similar to how AIX traditionally builds its shared libraries.
16092
 
          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'
16093
 
        fi
16094
 
      fi
16095
 
      ;;
16096
 
 
16097
 
    amigaos*)
16098
 
      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)'
16099
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16100
 
      hardcode_minus_L_F77=yes
16101
 
      # see comment about different semantics on the GNU ld section
16102
 
      ld_shlibs_F77=no
16103
 
      ;;
16104
 
 
16105
 
    bsdi[45]*)
16106
 
      export_dynamic_flag_spec_F77=-rdynamic
16107
 
      ;;
16108
 
 
16109
 
    cygwin* | mingw* | pw32*)
16110
 
      # When not using gcc, we currently assume that we are using
16111
 
      # Microsoft Visual C++.
16112
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
16113
 
      # no search path for DLLs.
16114
 
      hardcode_libdir_flag_spec_F77=' '
16115
 
      allow_undefined_flag_F77=unsupported
16116
 
      # Tell ltmain to make .lib files, not .a files.
16117
 
      libext=lib
16118
 
      # Tell ltmain to make .dll files, not .so files.
16119
 
      shrext_cmds=".dll"
16120
 
      # FIXME: Setting linknames here is a bad hack.
16121
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16122
 
      # The linker will automatically build a .lib file if we build a DLL.
16123
 
      old_archive_From_new_cmds_F77='true'
16124
 
      # FIXME: Should let the user specify the lib program.
16125
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16126
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16127
 
      enable_shared_with_static_runtimes_F77=yes
16128
 
      ;;
16129
 
 
16130
 
    darwin* | rhapsody*)
16131
 
      case $host_os in
16132
 
        rhapsody* | darwin1.[012])
16133
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
16134
 
         ;;
16135
 
       *) # Darwin 1.3 on
16136
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16137
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16138
 
         else
16139
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
16140
 
             10.[012])
16141
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16142
 
               ;;
16143
 
             10.*)
16144
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
16145
 
               ;;
16146
 
           esac
16147
 
         fi
16148
 
         ;;
16149
 
      esac
16150
 
      archive_cmds_need_lc_F77=no
16151
 
      hardcode_direct_F77=no
16152
 
      hardcode_automatic_F77=yes
16153
 
      hardcode_shlibpath_var_F77=unsupported
16154
 
      whole_archive_flag_spec_F77=''
16155
 
      link_all_deplibs_F77=yes
16156
 
    if test "$GCC" = yes ; then
16157
 
        output_verbose_link_cmd='echo'
16158
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16159
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16160
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16161
 
      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}'
16162
 
      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}'
16163
 
    else
16164
 
      case $cc_basename in
16165
 
        xlc*)
16166
 
         output_verbose_link_cmd='echo'
16167
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16168
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16169
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16170
 
         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}'
16171
 
          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}'
16172
 
          ;;
16173
 
       *)
16174
 
         ld_shlibs_F77=no
16175
 
          ;;
16176
 
      esac
16177
 
    fi
16178
 
      ;;
16179
 
 
16180
 
    dgux*)
16181
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16182
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16183
 
      hardcode_shlibpath_var_F77=no
16184
 
      ;;
16185
 
 
16186
 
    freebsd1*)
16187
 
      ld_shlibs_F77=no
16188
 
      ;;
16189
 
 
16190
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16191
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
16192
 
    # does not break anything, and helps significantly (at the cost of a little
16193
 
    # extra space).
16194
 
    freebsd2.2*)
16195
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16196
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16197
 
      hardcode_direct_F77=yes
16198
 
      hardcode_shlibpath_var_F77=no
16199
 
      ;;
16200
 
 
16201
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16202
 
    freebsd2*)
16203
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16204
 
      hardcode_direct_F77=yes
16205
 
      hardcode_minus_L_F77=yes
16206
 
      hardcode_shlibpath_var_F77=no
16207
 
      ;;
16208
 
 
16209
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16210
 
    freebsd* | dragonfly*)
16211
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16212
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16213
 
      hardcode_direct_F77=yes
16214
 
      hardcode_shlibpath_var_F77=no
16215
 
      ;;
16216
 
 
16217
 
    hpux9*)
16218
 
      if test "$GCC" = yes; then
16219
 
        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'
16220
 
      else
16221
 
        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'
16222
 
      fi
16223
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16224
 
      hardcode_libdir_separator_F77=:
16225
 
      hardcode_direct_F77=yes
16226
 
 
16227
 
      # hardcode_minus_L: Not really in the search PATH,
16228
 
      # but as the default location of the library.
16229
 
      hardcode_minus_L_F77=yes
16230
 
      export_dynamic_flag_spec_F77='${wl}-E'
16231
 
      ;;
16232
 
 
16233
 
    hpux10*)
16234
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16235
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16236
 
      else
16237
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16238
 
      fi
16239
 
      if test "$with_gnu_ld" = no; then
16240
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16241
 
        hardcode_libdir_separator_F77=:
16242
 
 
16243
 
        hardcode_direct_F77=yes
16244
 
        export_dynamic_flag_spec_F77='${wl}-E'
16245
 
 
16246
 
        # hardcode_minus_L: Not really in the search PATH,
16247
 
        # but as the default location of the library.
16248
 
        hardcode_minus_L_F77=yes
16249
 
      fi
16250
 
      ;;
16251
 
 
16252
 
    hpux11*)
16253
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16254
 
        case $host_cpu in
16255
 
        hppa*64*)
16256
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16257
 
          ;;
16258
 
        ia64*)
16259
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16260
 
          ;;
16261
 
        *)
16262
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16263
 
          ;;
16264
 
        esac
16265
 
      else
16266
 
        case $host_cpu in
16267
 
        hppa*64*)
16268
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16269
 
          ;;
16270
 
        ia64*)
16271
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16272
 
          ;;
16273
 
        *)
16274
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16275
 
          ;;
16276
 
        esac
16277
 
      fi
16278
 
      if test "$with_gnu_ld" = no; then
16279
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16280
 
        hardcode_libdir_separator_F77=:
16281
 
 
16282
 
        case $host_cpu in
16283
 
        hppa*64*|ia64*)
16284
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16285
 
          hardcode_direct_F77=no
16286
 
          hardcode_shlibpath_var_F77=no
16287
 
          ;;
16288
 
        *)
16289
 
          hardcode_direct_F77=yes
16290
 
          export_dynamic_flag_spec_F77='${wl}-E'
16291
 
 
16292
 
          # hardcode_minus_L: Not really in the search PATH,
16293
 
          # but as the default location of the library.
16294
 
          hardcode_minus_L_F77=yes
16295
 
          ;;
16296
 
        esac
16297
 
      fi
16298
 
      ;;
16299
 
 
16300
 
    irix5* | irix6* | nonstopux*)
16301
 
      if test "$GCC" = yes; then
16302
 
        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'
16303
 
      else
16304
 
        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'
16305
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16306
 
      fi
16307
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16308
 
      hardcode_libdir_separator_F77=:
16309
 
      link_all_deplibs_F77=yes
16310
 
      ;;
16311
 
 
16312
 
    netbsd* | netbsdelf*-gnu)
16313
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16314
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16315
 
      else
16316
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
16317
 
      fi
16318
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16319
 
      hardcode_direct_F77=yes
16320
 
      hardcode_shlibpath_var_F77=no
16321
 
      ;;
16322
 
 
16323
 
    newsos6)
16324
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16325
 
      hardcode_direct_F77=yes
16326
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16327
 
      hardcode_libdir_separator_F77=:
16328
 
      hardcode_shlibpath_var_F77=no
16329
 
      ;;
16330
 
 
16331
 
    openbsd*)
16332
 
      if test -f /usr/libexec/ld.so; then
16333
 
        hardcode_direct_F77=yes
16334
 
        hardcode_shlibpath_var_F77=no
16335
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16336
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16337
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16338
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16339
 
          export_dynamic_flag_spec_F77='${wl}-E'
16340
 
        else
16341
 
          case $host_os in
16342
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16343
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16344
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
16345
 
             ;;
16346
 
           *)
16347
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16348
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16349
 
             ;;
16350
 
          esac
16351
 
        fi
16352
 
      else
16353
 
        ld_shlibs_F77=no
16354
 
      fi
16355
 
      ;;
16356
 
 
16357
 
    os2*)
16358
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16359
 
      hardcode_minus_L_F77=yes
16360
 
      allow_undefined_flag_F77=unsupported
16361
 
      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'
16362
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16363
 
      ;;
16364
 
 
16365
 
    osf3*)
16366
 
      if test "$GCC" = yes; then
16367
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16368
 
        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'
16369
 
      else
16370
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16371
 
        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'
16372
 
      fi
16373
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16374
 
      hardcode_libdir_separator_F77=:
16375
 
      ;;
16376
 
 
16377
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
16378
 
      if test "$GCC" = yes; then
16379
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16380
 
        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'
16381
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16382
 
      else
16383
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16384
 
        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'
16385
 
        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~
16386
 
        $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'
16387
 
 
16388
 
        # Both c and cxx compiler support -rpath directly
16389
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
16390
 
      fi
16391
 
      hardcode_libdir_separator_F77=:
16392
 
      ;;
16393
 
 
16394
 
    solaris*)
16395
 
      no_undefined_flag_F77=' -z text'
16396
 
      if test "$GCC" = yes; then
16397
 
        wlarc='${wl}'
16398
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16399
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16400
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16401
 
      else
16402
 
        wlarc=''
16403
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16404
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16405
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16406
 
      fi
16407
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16408
 
      hardcode_shlibpath_var_F77=no
16409
 
      case $host_os in
16410
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16411
 
      *)
16412
 
        # The compiler driver will combine and reorder linker options,
16413
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
16414
 
        # but is careful enough not to reorder.
16415
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16416
 
        if test "$GCC" = yes; then
16417
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16418
 
        else
16419
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16420
 
        fi
16421
 
        ;;
16422
 
      esac
16423
 
      link_all_deplibs_F77=yes
16424
 
      ;;
16425
 
 
16426
 
    sunos4*)
16427
 
      if test "x$host_vendor" = xsequent; then
16428
 
        # Use $CC to link under sequent, because it throws in some extra .o
16429
 
        # files that make .init and .fini sections work.
16430
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16431
 
      else
16432
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16433
 
      fi
16434
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16435
 
      hardcode_direct_F77=yes
16436
 
      hardcode_minus_L_F77=yes
16437
 
      hardcode_shlibpath_var_F77=no
16438
 
      ;;
16439
 
 
16440
 
    sysv4)
16441
 
      case $host_vendor in
16442
 
        sni)
16443
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16444
 
          hardcode_direct_F77=yes # is this really true???
16445
 
        ;;
16446
 
        siemens)
16447
 
          ## LD is ld it makes a PLAMLIB
16448
 
          ## CC just makes a GrossModule.
16449
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16450
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
16451
 
          hardcode_direct_F77=no
16452
 
        ;;
16453
 
        motorola)
16454
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16455
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16456
 
        ;;
16457
 
      esac
16458
 
      runpath_var='LD_RUN_PATH'
16459
 
      hardcode_shlibpath_var_F77=no
16460
 
      ;;
16461
 
 
16462
 
    sysv4.3*)
16463
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16464
 
      hardcode_shlibpath_var_F77=no
16465
 
      export_dynamic_flag_spec_F77='-Bexport'
16466
 
      ;;
16467
 
 
16468
 
    sysv4*MP*)
16469
 
      if test -d /usr/nec; then
16470
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16471
 
        hardcode_shlibpath_var_F77=no
16472
 
        runpath_var=LD_RUN_PATH
16473
 
        hardcode_runpath_var=yes
16474
 
        ld_shlibs_F77=yes
16475
 
      fi
16476
 
      ;;
16477
 
 
16478
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16479
 
      no_undefined_flag_F77='${wl}-z,text'
16480
 
      archive_cmds_need_lc_F77=no
16481
 
      hardcode_shlibpath_var_F77=no
16482
 
      runpath_var='LD_RUN_PATH'
16483
 
 
16484
 
      if test "$GCC" = yes; then
16485
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16486
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16487
 
      else
16488
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16489
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16490
 
      fi
16491
 
      ;;
16492
 
 
16493
 
    sysv5* | sco3.2v5* | sco5v6*)
16494
 
      # Note: We can NOT use -z defs as we might desire, because we do not
16495
 
      # link with -lc, and that would cause any symbols used from libc to
16496
 
      # always be unresolved, which means just about no library would
16497
 
      # ever link correctly.  If we're not using GNU ld we use -z text
16498
 
      # though, which does catch some bad symbols but isn't as heavy-handed
16499
 
      # as -z defs.
16500
 
      no_undefined_flag_F77='${wl}-z,text'
16501
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
16502
 
      archive_cmds_need_lc_F77=no
16503
 
      hardcode_shlibpath_var_F77=no
16504
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16505
 
      hardcode_libdir_separator_F77=':'
16506
 
      link_all_deplibs_F77=yes
16507
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
16508
 
      runpath_var='LD_RUN_PATH'
16509
 
 
16510
 
      if test "$GCC" = yes; then
16511
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16512
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16513
 
      else
16514
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16515
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16516
 
      fi
16517
 
      ;;
16518
 
 
16519
 
    uts4*)
16520
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16521
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16522
 
      hardcode_shlibpath_var_F77=no
16523
 
      ;;
16524
 
 
16525
 
    *)
16526
 
      ld_shlibs_F77=no
16527
 
      ;;
16528
 
    esac
16529
 
  fi
16530
 
 
16531
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16532
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16533
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16534
 
 
16535
 
#
16536
 
# Do we need to explicitly link libc?
16537
 
#
16538
 
case "x$archive_cmds_need_lc_F77" in
16539
 
x|xyes)
16540
 
  # Assume -lc should be added
16541
 
  archive_cmds_need_lc_F77=yes
16542
 
 
16543
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16544
 
    case $archive_cmds_F77 in
16545
 
    *'~'*)
16546
 
      # FIXME: we may have to deal with multi-command sequences.
16547
 
      ;;
16548
 
    '$CC '*)
16549
 
      # Test whether the compiler implicitly links with -lc since on some
16550
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16551
 
      # to ld, don't add -lc before -lgcc.
16552
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16553
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16554
 
      $rm conftest*
16555
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16556
 
 
16557
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16558
 
  (eval $ac_compile) 2>&5
16559
 
  ac_status=$?
16560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561
 
  (exit $ac_status); } 2>conftest.err; then
16562
 
        soname=conftest
16563
 
        lib=conftest
16564
 
        libobjs=conftest.$ac_objext
16565
 
        deplibs=
16566
 
        wl=$lt_prog_compiler_wl_F77
16567
 
        pic_flag=$lt_prog_compiler_pic_F77
16568
 
        compiler_flags=-v
16569
 
        linker_flags=-v
16570
 
        verstring=
16571
 
        output_objdir=.
16572
 
        libname=conftest
16573
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16574
 
        allow_undefined_flag_F77=
16575
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16576
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16577
 
  ac_status=$?
16578
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579
 
  (exit $ac_status); }
16580
 
        then
16581
 
          archive_cmds_need_lc_F77=no
16582
 
        else
16583
 
          archive_cmds_need_lc_F77=yes
16584
 
        fi
16585
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16586
 
      else
16587
 
        cat conftest.err 1>&5
16588
 
      fi
16589
 
      $rm conftest*
16590
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16591
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16592
 
      ;;
16593
 
    esac
16594
 
  fi
16595
 
  ;;
16596
 
esac
16597
 
 
16598
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16599
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16600
 
library_names_spec=
16601
 
libname_spec='lib$name'
16602
 
soname_spec=
16603
 
shrext_cmds=".so"
16604
 
postinstall_cmds=
16605
 
postuninstall_cmds=
16606
 
finish_cmds=
16607
 
finish_eval=
16608
 
shlibpath_var=
16609
 
shlibpath_overrides_runpath=unknown
16610
 
version_type=none
16611
 
dynamic_linker="$host_os ld.so"
16612
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16613
 
 
16614
 
need_lib_prefix=unknown
16615
 
hardcode_into_libs=no
16616
 
 
16617
 
# when you set need_version to no, make sure it does not cause -set_version
16618
 
# flags to be left without arguments
16619
 
need_version=unknown
16620
 
 
16621
 
case $host_os in
16622
 
aix3*)
16623
 
  version_type=linux
16624
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16625
 
  shlibpath_var=LIBPATH
16626
 
 
16627
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16628
 
  soname_spec='${libname}${release}${shared_ext}$major'
16629
 
  ;;
16630
 
 
16631
 
aix4* | aix5*)
16632
 
  version_type=linux
16633
 
  need_lib_prefix=no
16634
 
  need_version=no
16635
 
  hardcode_into_libs=yes
16636
 
  if test "$host_cpu" = ia64; then
16637
 
    # AIX 5 supports IA64
16638
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16639
 
    shlibpath_var=LD_LIBRARY_PATH
16640
 
  else
16641
 
    # With GCC up to 2.95.x, collect2 would create an import file
16642
 
    # for dependence libraries.  The import file would start with
16643
 
    # the line `#! .'.  This would cause the generated library to
16644
 
    # depend on `.', always an invalid library.  This was fixed in
16645
 
    # development snapshots of GCC prior to 3.0.
16646
 
    case $host_os in
16647
 
      aix4 | aix4.[01] | aix4.[01].*)
16648
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16649
 
           echo ' yes '
16650
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16651
 
        :
16652
 
      else
16653
 
        can_build_shared=no
16654
 
      fi
16655
 
      ;;
16656
 
    esac
16657
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16658
 
    # soname into executable. Probably we can add versioning support to
16659
 
    # collect2, so additional links can be useful in future.
16660
 
    if test "$aix_use_runtimelinking" = yes; then
16661
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16662
 
      # instead of lib<name>.a to let people know that these are not
16663
 
      # typical AIX shared libraries.
16664
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16665
 
    else
16666
 
      # We preserve .a as extension for shared libraries through AIX4.2
16667
 
      # and later when we are not doing run time linking.
16668
 
      library_names_spec='${libname}${release}.a $libname.a'
16669
 
      soname_spec='${libname}${release}${shared_ext}$major'
16670
 
    fi
16671
 
    shlibpath_var=LIBPATH
16672
 
  fi
16673
 
  ;;
16674
 
 
16675
 
amigaos*)
16676
 
  library_names_spec='$libname.ixlibrary $libname.a'
16677
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16678
 
  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'
16679
 
  ;;
16680
 
 
16681
 
beos*)
16682
 
  library_names_spec='${libname}${shared_ext}'
16683
 
  dynamic_linker="$host_os ld.so"
16684
 
  shlibpath_var=LIBRARY_PATH
16685
 
  ;;
16686
 
 
16687
 
bsdi[45]*)
16688
 
  version_type=linux
16689
 
  need_version=no
16690
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16691
 
  soname_spec='${libname}${release}${shared_ext}$major'
16692
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16693
 
  shlibpath_var=LD_LIBRARY_PATH
16694
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16695
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16696
 
  # the default ld.so.conf also contains /usr/contrib/lib and
16697
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16698
 
  # libtool to hard-code these into programs
16699
 
  ;;
16700
 
 
16701
 
cygwin* | mingw* | pw32*)
16702
 
  version_type=windows
16703
 
  shrext_cmds=".dll"
16704
 
  need_version=no
16705
 
  need_lib_prefix=no
16706
 
 
16707
 
  case $GCC,$host_os in
16708
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16709
 
    library_names_spec='$libname.dll.a'
16710
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16711
 
    postinstall_cmds='base_file=`basename \${file}`~
16712
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16713
 
      dldir=$destdir/`dirname \$dlpath`~
16714
 
      test -d \$dldir || mkdir -p \$dldir~
16715
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16716
 
      chmod a+x \$dldir/$dlname'
16717
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16718
 
      dlpath=$dir/\$dldll~
16719
 
       $rm \$dlpath'
16720
 
    shlibpath_overrides_runpath=yes
16721
 
 
16722
 
    case $host_os in
16723
 
    cygwin*)
16724
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16725
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16726
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16727
 
      ;;
16728
 
    mingw*)
16729
 
      # MinGW DLLs use traditional 'lib' prefix
16730
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16731
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16732
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16733
 
        # It is most probably a Windows format PATH printed by
16734
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16735
 
        # path with ; separators, and with drive letters. We can handle the
16736
 
        # drive letters (cygwin fileutils understands them), so leave them,
16737
 
        # especially as we might pass files found there to a mingw objdump,
16738
 
        # which wouldn't understand a cygwinified path. Ahh.
16739
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16740
 
      else
16741
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16742
 
      fi
16743
 
      ;;
16744
 
    pw32*)
16745
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16746
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16747
 
      ;;
16748
 
    esac
16749
 
    ;;
16750
 
 
16751
 
  *)
16752
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16753
 
    ;;
16754
 
  esac
16755
 
  dynamic_linker='Win32 ld.exe'
16756
 
  # FIXME: first we should search . and the directory the executable is in
16757
 
  shlibpath_var=PATH
16758
 
  ;;
16759
 
 
16760
 
darwin* | rhapsody*)
16761
 
  dynamic_linker="$host_os dyld"
16762
 
  version_type=darwin
16763
 
  need_lib_prefix=no
16764
 
  need_version=no
16765
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16766
 
  soname_spec='${libname}${release}${major}$shared_ext'
16767
 
  shlibpath_overrides_runpath=yes
16768
 
  shlibpath_var=DYLD_LIBRARY_PATH
16769
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16770
 
   
16771
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16772
 
  ;;
16773
 
 
16774
 
dgux*)
16775
 
  version_type=linux
16776
 
  need_lib_prefix=no
16777
 
  need_version=no
16778
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16779
 
  soname_spec='${libname}${release}${shared_ext}$major'
16780
 
  shlibpath_var=LD_LIBRARY_PATH
16781
 
  ;;
16782
 
 
16783
 
freebsd1*)
16784
 
  dynamic_linker=no
16785
 
  ;;
16786
 
 
16787
 
freebsd* | dragonfly*)
16788
 
  # DragonFly does not have aout.  When/if they implement a new
16789
 
  # versioning mechanism, adjust this.
16790
 
  if test -x /usr/bin/objformat; then
16791
 
    objformat=`/usr/bin/objformat`
16792
 
  else
16793
 
    case $host_os in
16794
 
    freebsd[123]*) objformat=aout ;;
16795
 
    *) objformat=elf ;;
16796
 
    esac
16797
 
  fi
16798
 
  version_type=freebsd-$objformat
16799
 
  case $version_type in
16800
 
    freebsd-elf*)
16801
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16802
 
      need_version=no
16803
 
      need_lib_prefix=no
16804
 
      ;;
16805
 
    freebsd-*)
16806
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16807
 
      need_version=yes
16808
 
      ;;
16809
 
  esac
16810
 
  shlibpath_var=LD_LIBRARY_PATH
16811
 
  case $host_os in
16812
 
  freebsd2*)
16813
 
    shlibpath_overrides_runpath=yes
16814
 
    ;;
16815
 
  freebsd3.[01]* | freebsdelf3.[01]*)
16816
 
    shlibpath_overrides_runpath=yes
16817
 
    hardcode_into_libs=yes
16818
 
    ;;
16819
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16820
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16821
 
    shlibpath_overrides_runpath=no
16822
 
    hardcode_into_libs=yes
16823
 
    ;;
16824
 
  *) # from 4.6 on, and DragonFly
16825
 
    shlibpath_overrides_runpath=yes
16826
 
    hardcode_into_libs=yes
16827
 
    ;;
16828
 
  esac
16829
 
  ;;
16830
 
 
16831
 
gnu*)
16832
 
  version_type=linux
16833
 
  need_lib_prefix=no
16834
 
  need_version=no
16835
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16836
 
  soname_spec='${libname}${release}${shared_ext}$major'
16837
 
  shlibpath_var=LD_LIBRARY_PATH
16838
 
  hardcode_into_libs=yes
16839
 
  ;;
16840
 
 
16841
 
hpux9* | hpux10* | hpux11*)
16842
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16843
 
  # link against other versions.
16844
 
  version_type=sunos
16845
 
  need_lib_prefix=no
16846
 
  need_version=no
16847
 
  case $host_cpu in
16848
 
  ia64*)
16849
 
    shrext_cmds='.so'
16850
 
    hardcode_into_libs=yes
16851
 
    dynamic_linker="$host_os dld.so"
16852
 
    shlibpath_var=LD_LIBRARY_PATH
16853
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16854
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16855
 
    soname_spec='${libname}${release}${shared_ext}$major'
16856
 
    if test "X$HPUX_IA64_MODE" = X32; then
16857
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16858
 
    else
16859
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16860
 
    fi
16861
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16862
 
    ;;
16863
 
   hppa*64*)
16864
 
     shrext_cmds='.sl'
16865
 
     hardcode_into_libs=yes
16866
 
     dynamic_linker="$host_os dld.sl"
16867
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16868
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16869
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16870
 
     soname_spec='${libname}${release}${shared_ext}$major'
16871
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16872
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16873
 
     ;;
16874
 
   *)
16875
 
    shrext_cmds='.sl'
16876
 
    dynamic_linker="$host_os dld.sl"
16877
 
    shlibpath_var=SHLIB_PATH
16878
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16879
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16880
 
    soname_spec='${libname}${release}${shared_ext}$major'
16881
 
    ;;
16882
 
  esac
16883
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16884
 
  postinstall_cmds='chmod 555 $lib'
16885
 
  ;;
16886
 
 
16887
 
interix[3-9]*)
16888
 
  version_type=linux
16889
 
  need_lib_prefix=no
16890
 
  need_version=no
16891
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16892
 
  soname_spec='${libname}${release}${shared_ext}$major'
16893
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16894
 
  shlibpath_var=LD_LIBRARY_PATH
16895
 
  shlibpath_overrides_runpath=no
16896
 
  hardcode_into_libs=yes
16897
 
  ;;
16898
 
 
16899
 
irix5* | irix6* | nonstopux*)
16900
 
  case $host_os in
16901
 
    nonstopux*) version_type=nonstopux ;;
16902
 
    *)
16903
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16904
 
                version_type=linux
16905
 
        else
16906
 
                version_type=irix
16907
 
        fi ;;
16908
 
  esac
16909
 
  need_lib_prefix=no
16910
 
  need_version=no
16911
 
  soname_spec='${libname}${release}${shared_ext}$major'
16912
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16913
 
  case $host_os in
16914
 
  irix5* | nonstopux*)
16915
 
    libsuff= shlibsuff=
16916
 
    ;;
16917
 
  *)
16918
 
    case $LD in # libtool.m4 will add one of these switches to LD
16919
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16920
 
      libsuff= shlibsuff= libmagic=32-bit;;
16921
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16922
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16923
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16924
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16925
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16926
 
    esac
16927
 
    ;;
16928
 
  esac
16929
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16930
 
  shlibpath_overrides_runpath=no
16931
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16932
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16933
 
  hardcode_into_libs=yes
16934
 
  ;;
16935
 
 
16936
 
# No shared lib support for Linux oldld, aout, or coff.
16937
 
linux*oldld* | linux*aout* | linux*coff*)
16938
 
  dynamic_linker=no
16939
 
  ;;
16940
 
 
16941
 
# This must be Linux ELF.
16942
 
linux* | k*bsd*-gnu)
16943
 
  version_type=linux
16944
 
  need_lib_prefix=no
16945
 
  need_version=no
16946
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16947
 
  soname_spec='${libname}${release}${shared_ext}$major'
16948
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16949
 
  shlibpath_var=LD_LIBRARY_PATH
16950
 
  shlibpath_overrides_runpath=no
16951
 
  # This implies no fast_install, which is unacceptable.
16952
 
  # Some rework will be needed to allow for fast_install
16953
 
  # before this can be enabled.
16954
 
  hardcode_into_libs=yes
16955
 
 
16956
 
  # Append ld.so.conf contents to the search path
16957
 
  if test -f /etc/ld.so.conf; then
16958
 
    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' ' '`
16959
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16960
 
  fi
16961
 
 
16962
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16963
 
  # powerpc, because MkLinux only supported shared libraries with the
16964
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16965
 
  # most powerpc-linux boxes support dynamic linking these days and
16966
 
  # people can always --disable-shared, the test was removed, and we
16967
 
  # assume the GNU/Linux dynamic linker is in use.
16968
 
  dynamic_linker='GNU/Linux ld.so'
16969
 
  ;;
16970
 
 
16971
 
netbsdelf*-gnu)
16972
 
  version_type=linux
16973
 
  need_lib_prefix=no
16974
 
  need_version=no
16975
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16976
 
  soname_spec='${libname}${release}${shared_ext}$major'
16977
 
  shlibpath_var=LD_LIBRARY_PATH
16978
 
  shlibpath_overrides_runpath=no
16979
 
  hardcode_into_libs=yes
16980
 
  dynamic_linker='NetBSD ld.elf_so'
16981
 
  ;;
16982
 
 
16983
 
netbsd*)
16984
 
  version_type=sunos
16985
 
  need_lib_prefix=no
16986
 
  need_version=no
16987
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16988
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16989
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16990
 
    dynamic_linker='NetBSD (a.out) ld.so'
16991
 
  else
16992
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16993
 
    soname_spec='${libname}${release}${shared_ext}$major'
16994
 
    dynamic_linker='NetBSD ld.elf_so'
16995
 
  fi
16996
 
  shlibpath_var=LD_LIBRARY_PATH
16997
 
  shlibpath_overrides_runpath=yes
16998
 
  hardcode_into_libs=yes
16999
 
  ;;
17000
 
 
17001
 
newsos6)
17002
 
  version_type=linux
17003
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17004
 
  shlibpath_var=LD_LIBRARY_PATH
17005
 
  shlibpath_overrides_runpath=yes
17006
 
  ;;
17007
 
 
17008
 
nto-qnx*)
17009
 
  version_type=linux
17010
 
  need_lib_prefix=no
17011
 
  need_version=no
17012
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17013
 
  soname_spec='${libname}${release}${shared_ext}$major'
17014
 
  shlibpath_var=LD_LIBRARY_PATH
17015
 
  shlibpath_overrides_runpath=yes
17016
 
  ;;
17017
 
 
17018
 
openbsd*)
17019
 
  version_type=sunos
17020
 
  sys_lib_dlsearch_path_spec="/usr/lib"
17021
 
  need_lib_prefix=no
17022
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17023
 
  case $host_os in
17024
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17025
 
    *)                         need_version=no  ;;
17026
 
  esac
17027
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17028
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17029
 
  shlibpath_var=LD_LIBRARY_PATH
17030
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17031
 
    case $host_os in
17032
 
      openbsd2.[89] | openbsd2.[89].*)
17033
 
        shlibpath_overrides_runpath=no
17034
 
        ;;
17035
 
      *)
17036
 
        shlibpath_overrides_runpath=yes
17037
 
        ;;
17038
 
      esac
17039
 
  else
17040
 
    shlibpath_overrides_runpath=yes
17041
 
  fi
17042
 
  ;;
17043
 
 
17044
 
os2*)
17045
 
  libname_spec='$name'
17046
 
  shrext_cmds=".dll"
17047
 
  need_lib_prefix=no
17048
 
  library_names_spec='$libname${shared_ext} $libname.a'
17049
 
  dynamic_linker='OS/2 ld.exe'
17050
 
  shlibpath_var=LIBPATH
17051
 
  ;;
17052
 
 
17053
 
osf3* | osf4* | osf5*)
17054
 
  version_type=osf
17055
 
  need_lib_prefix=no
17056
 
  need_version=no
17057
 
  soname_spec='${libname}${release}${shared_ext}$major'
17058
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17059
 
  shlibpath_var=LD_LIBRARY_PATH
17060
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17061
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17062
 
  ;;
17063
 
 
17064
 
rdos*)
17065
 
  dynamic_linker=no
17066
 
  ;;
17067
 
 
17068
 
solaris*)
17069
 
  version_type=linux
17070
 
  need_lib_prefix=no
17071
 
  need_version=no
17072
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17073
 
  soname_spec='${libname}${release}${shared_ext}$major'
17074
 
  shlibpath_var=LD_LIBRARY_PATH
17075
 
  shlibpath_overrides_runpath=yes
17076
 
  hardcode_into_libs=yes
17077
 
  # ldd complains unless libraries are executable
17078
 
  postinstall_cmds='chmod +x $lib'
17079
 
  ;;
17080
 
 
17081
 
sunos4*)
17082
 
  version_type=sunos
17083
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17084
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17085
 
  shlibpath_var=LD_LIBRARY_PATH
17086
 
  shlibpath_overrides_runpath=yes
17087
 
  if test "$with_gnu_ld" = yes; then
17088
 
    need_lib_prefix=no
17089
 
  fi
17090
 
  need_version=yes
17091
 
  ;;
17092
 
 
17093
 
sysv4 | sysv4.3*)
17094
 
  version_type=linux
17095
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17096
 
  soname_spec='${libname}${release}${shared_ext}$major'
17097
 
  shlibpath_var=LD_LIBRARY_PATH
17098
 
  case $host_vendor in
17099
 
    sni)
17100
 
      shlibpath_overrides_runpath=no
17101
 
      need_lib_prefix=no
17102
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
17103
 
      runpath_var=LD_RUN_PATH
17104
 
      ;;
17105
 
    siemens)
17106
 
      need_lib_prefix=no
17107
 
      ;;
17108
 
    motorola)
17109
 
      need_lib_prefix=no
17110
 
      need_version=no
17111
 
      shlibpath_overrides_runpath=no
17112
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17113
 
      ;;
17114
 
  esac
17115
 
  ;;
17116
 
 
17117
 
sysv4*MP*)
17118
 
  if test -d /usr/nec ;then
17119
 
    version_type=linux
17120
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17121
 
    soname_spec='$libname${shared_ext}.$major'
17122
 
    shlibpath_var=LD_LIBRARY_PATH
17123
 
  fi
17124
 
  ;;
17125
 
 
17126
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17127
 
  version_type=freebsd-elf
17128
 
  need_lib_prefix=no
17129
 
  need_version=no
17130
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17131
 
  soname_spec='${libname}${release}${shared_ext}$major'
17132
 
  shlibpath_var=LD_LIBRARY_PATH
17133
 
  hardcode_into_libs=yes
17134
 
  if test "$with_gnu_ld" = yes; then
17135
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17136
 
    shlibpath_overrides_runpath=no
17137
 
  else
17138
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17139
 
    shlibpath_overrides_runpath=yes
17140
 
    case $host_os in
17141
 
      sco3.2v5*)
17142
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17143
 
        ;;
17144
 
    esac
17145
 
  fi
17146
 
  sys_lib_dlsearch_path_spec='/usr/lib'
17147
 
  ;;
17148
 
 
17149
 
uts4*)
17150
 
  version_type=linux
17151
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17152
 
  soname_spec='${libname}${release}${shared_ext}$major'
17153
 
  shlibpath_var=LD_LIBRARY_PATH
17154
 
  ;;
17155
 
 
17156
 
*)
17157
 
  dynamic_linker=no
17158
 
  ;;
17159
 
esac
17160
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17161
 
echo "${ECHO_T}$dynamic_linker" >&6; }
17162
 
test "$dynamic_linker" = no && can_build_shared=no
17163
 
 
17164
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17165
 
if test "$GCC" = yes; then
17166
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17167
 
fi
17168
 
 
17169
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17170
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17171
 
hardcode_action_F77=
17172
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
17173
 
   test -n "$runpath_var_F77" || \
17174
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
17175
 
 
17176
 
  # We can hardcode non-existant directories.
17177
 
  if test "$hardcode_direct_F77" != no &&
17178
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17179
 
     # have to relink, otherwise we might link with an installed library
17180
 
     # when we should be linking with a yet-to-be-installed one
17181
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17182
 
     test "$hardcode_minus_L_F77" != no; then
17183
 
    # Linking always hardcodes the temporary library directory.
17184
 
    hardcode_action_F77=relink
17185
 
  else
17186
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17187
 
    hardcode_action_F77=immediate
17188
 
  fi
17189
 
else
17190
 
  # We cannot hardcode anything, or else we can only hardcode existing
17191
 
  # directories.
17192
 
  hardcode_action_F77=unsupported
17193
 
fi
17194
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17195
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
17196
 
 
17197
 
if test "$hardcode_action_F77" = relink; then
17198
 
  # Fast installation is not supported
17199
 
  enable_fast_install=no
17200
 
elif test "$shlibpath_overrides_runpath" = yes ||
17201
 
     test "$enable_shared" = no; then
17202
 
  # Fast installation is not necessary
17203
 
  enable_fast_install=needless
17204
 
fi
17205
 
 
17206
 
 
17207
 
# The else clause should only fire when bootstrapping the
17208
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17209
 
# with your package, and you will get complaints that there are
17210
 
# no rules to generate ltmain.sh.
17211
 
if test -f "$ltmain"; then
17212
 
  # See if we are running on zsh, and set the options which allow our commands through
17213
 
  # without removal of \ escapes.
17214
 
  if test -n "${ZSH_VERSION+set}" ; then
17215
 
    setopt NO_GLOB_SUBST
17216
 
  fi
17217
 
  # Now quote all the things that may contain metacharacters while being
17218
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17219
 
  # variables and quote the copies for generation of the libtool script.
17220
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17221
 
    SED SHELL STRIP \
17222
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17223
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17224
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17225
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17226
 
    lt_cv_sys_global_symbol_to_c_name_address \
17227
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17228
 
    old_postinstall_cmds old_postuninstall_cmds \
17229
 
    compiler_F77 \
17230
 
    CC_F77 \
17231
 
    LD_F77 \
17232
 
    lt_prog_compiler_wl_F77 \
17233
 
    lt_prog_compiler_pic_F77 \
17234
 
    lt_prog_compiler_static_F77 \
17235
 
    lt_prog_compiler_no_builtin_flag_F77 \
17236
 
    export_dynamic_flag_spec_F77 \
17237
 
    thread_safe_flag_spec_F77 \
17238
 
    whole_archive_flag_spec_F77 \
17239
 
    enable_shared_with_static_runtimes_F77 \
17240
 
    old_archive_cmds_F77 \
17241
 
    old_archive_from_new_cmds_F77 \
17242
 
    predep_objects_F77 \
17243
 
    postdep_objects_F77 \
17244
 
    predeps_F77 \
17245
 
    postdeps_F77 \
17246
 
    compiler_lib_search_path_F77 \
17247
 
    archive_cmds_F77 \
17248
 
    archive_expsym_cmds_F77 \
17249
 
    postinstall_cmds_F77 \
17250
 
    postuninstall_cmds_F77 \
17251
 
    old_archive_from_expsyms_cmds_F77 \
17252
 
    allow_undefined_flag_F77 \
17253
 
    no_undefined_flag_F77 \
17254
 
    export_symbols_cmds_F77 \
17255
 
    hardcode_libdir_flag_spec_F77 \
17256
 
    hardcode_libdir_flag_spec_ld_F77 \
17257
 
    hardcode_libdir_separator_F77 \
17258
 
    hardcode_automatic_F77 \
17259
 
    module_cmds_F77 \
17260
 
    module_expsym_cmds_F77 \
17261
 
    lt_cv_prog_compiler_c_o_F77 \
17262
 
    fix_srcfile_path_F77 \
17263
 
    exclude_expsyms_F77 \
17264
 
    include_expsyms_F77; do
17265
 
 
17266
 
    case $var in
17267
 
    old_archive_cmds_F77 | \
17268
 
    old_archive_from_new_cmds_F77 | \
17269
 
    archive_cmds_F77 | \
17270
 
    archive_expsym_cmds_F77 | \
17271
 
    module_cmds_F77 | \
17272
 
    module_expsym_cmds_F77 | \
17273
 
    old_archive_from_expsyms_cmds_F77 | \
17274
 
    export_symbols_cmds_F77 | \
17275
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17276
 
    postinstall_cmds | postuninstall_cmds | \
17277
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17278
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17279
 
      # Double-quote double-evaled strings.
17280
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17281
 
      ;;
17282
 
    *)
17283
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17284
 
      ;;
17285
 
    esac
17286
 
  done
17287
 
 
17288
 
  case $lt_echo in
17289
 
  *'\$0 --fallback-echo"')
17290
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17291
 
    ;;
17292
 
  esac
17293
 
 
17294
 
cfgfile="$ofile"
17295
 
 
17296
 
  cat <<__EOF__ >> "$cfgfile"
17297
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17298
 
 
17299
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17300
 
 
17301
 
# Shell to use when invoking shell scripts.
17302
 
SHELL=$lt_SHELL
17303
 
 
17304
 
# Whether or not to build shared libraries.
17305
 
build_libtool_libs=$enable_shared
17306
 
 
17307
 
# Whether or not to build static libraries.
17308
 
build_old_libs=$enable_static
17309
 
 
17310
 
# Whether or not to add -lc for building shared libraries.
17311
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
17312
 
 
17313
 
# Whether or not to disallow shared libs when runtime libs are static
17314
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17315
 
 
17316
 
# Whether or not to optimize for fast installation.
17317
 
fast_install=$enable_fast_install
17318
 
 
17319
 
# The host system.
17320
 
host_alias=$host_alias
17321
 
host=$host
17322
 
host_os=$host_os
17323
 
 
17324
 
# The build system.
17325
 
build_alias=$build_alias
17326
 
build=$build
17327
 
build_os=$build_os
17328
 
 
17329
 
# An echo program that does not interpret backslashes.
17330
 
echo=$lt_echo
17331
 
 
17332
 
# The archiver.
17333
 
AR=$lt_AR
17334
 
AR_FLAGS=$lt_AR_FLAGS
17335
 
 
17336
 
# A C compiler.
17337
 
LTCC=$lt_LTCC
17338
 
 
17339
 
# LTCC compiler flags.
17340
 
LTCFLAGS=$lt_LTCFLAGS
17341
 
 
17342
 
# A language-specific compiler.
17343
 
CC=$lt_compiler_F77
17344
 
 
17345
 
# Is the compiler the GNU C compiler?
17346
 
with_gcc=$GCC_F77
17347
 
 
17348
 
# An ERE matcher.
17349
 
EGREP=$lt_EGREP
17350
 
 
17351
 
# The linker used to build libraries.
17352
 
LD=$lt_LD_F77
17353
 
 
17354
 
# Whether we need hard or soft links.
17355
 
LN_S=$lt_LN_S
17356
 
 
17357
 
# A BSD-compatible nm program.
17358
 
NM=$lt_NM
17359
 
 
17360
 
# A symbol stripping program
17361
 
STRIP=$lt_STRIP
17362
 
 
17363
 
# Used to examine libraries when file_magic_cmd begins "file"
17364
 
MAGIC_CMD=$MAGIC_CMD
17365
 
 
17366
 
# Used on cygwin: DLL creation program.
17367
 
DLLTOOL="$DLLTOOL"
17368
 
 
17369
 
# Used on cygwin: object dumper.
17370
 
OBJDUMP="$OBJDUMP"
17371
 
 
17372
 
# Used on cygwin: assembler.
17373
 
AS="$AS"
17374
 
 
17375
 
# The name of the directory that contains temporary libtool files.
17376
 
objdir=$objdir
17377
 
 
17378
 
# How to create reloadable object files.
17379
 
reload_flag=$lt_reload_flag
17380
 
reload_cmds=$lt_reload_cmds
17381
 
 
17382
 
# How to pass a linker flag through the compiler.
17383
 
wl=$lt_lt_prog_compiler_wl_F77
17384
 
 
17385
 
# Object file suffix (normally "o").
17386
 
objext="$ac_objext"
17387
 
 
17388
 
# Old archive suffix (normally "a").
17389
 
libext="$libext"
17390
 
 
17391
 
# Shared library suffix (normally ".so").
17392
 
shrext_cmds='$shrext_cmds'
17393
 
 
17394
 
# Executable file suffix (normally "").
17395
 
exeext="$exeext"
17396
 
 
17397
 
# Additional compiler flags for building library objects.
17398
 
pic_flag=$lt_lt_prog_compiler_pic_F77
17399
 
pic_mode=$pic_mode
17400
 
 
17401
 
# What is the maximum length of a command?
17402
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17403
 
 
17404
 
# Does compiler simultaneously support -c and -o options?
17405
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17406
 
 
17407
 
# Must we lock files when doing compilation?
17408
 
need_locks=$lt_need_locks
17409
 
 
17410
 
# Do we need the lib prefix for modules?
17411
 
need_lib_prefix=$need_lib_prefix
17412
 
 
17413
 
# Do we need a version for libraries?
17414
 
need_version=$need_version
17415
 
 
17416
 
# Whether dlopen is supported.
17417
 
dlopen_support=$enable_dlopen
17418
 
 
17419
 
# Whether dlopen of programs is supported.
17420
 
dlopen_self=$enable_dlopen_self
17421
 
 
17422
 
# Whether dlopen of statically linked programs is supported.
17423
 
dlopen_self_static=$enable_dlopen_self_static
17424
 
 
17425
 
# Compiler flag to prevent dynamic linking.
17426
 
link_static_flag=$lt_lt_prog_compiler_static_F77
17427
 
 
17428
 
# Compiler flag to turn off builtin functions.
17429
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17430
 
 
17431
 
# Compiler flag to allow reflexive dlopens.
17432
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17433
 
 
17434
 
# Compiler flag to generate shared objects directly from archives.
17435
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17436
 
 
17437
 
# Compiler flag to generate thread-safe objects.
17438
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17439
 
 
17440
 
# Library versioning type.
17441
 
version_type=$version_type
17442
 
 
17443
 
# Format of library name prefix.
17444
 
libname_spec=$lt_libname_spec
17445
 
 
17446
 
# List of archive names.  First name is the real one, the rest are links.
17447
 
# The last name is the one that the linker finds with -lNAME.
17448
 
library_names_spec=$lt_library_names_spec
17449
 
 
17450
 
# The coded name of the library, if different from the real name.
17451
 
soname_spec=$lt_soname_spec
17452
 
 
17453
 
# Commands used to build and install an old-style archive.
17454
 
RANLIB=$lt_RANLIB
17455
 
old_archive_cmds=$lt_old_archive_cmds_F77
17456
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17457
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17458
 
 
17459
 
# Create an old-style archive from a shared archive.
17460
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17461
 
 
17462
 
# Create a temporary old-style archive to link instead of a shared archive.
17463
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17464
 
 
17465
 
# Commands used to build and install a shared archive.
17466
 
archive_cmds=$lt_archive_cmds_F77
17467
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17468
 
postinstall_cmds=$lt_postinstall_cmds
17469
 
postuninstall_cmds=$lt_postuninstall_cmds
17470
 
 
17471
 
# Commands used to build a loadable module (assumed same as above if empty)
17472
 
module_cmds=$lt_module_cmds_F77
17473
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
17474
 
 
17475
 
# Commands to strip libraries.
17476
 
old_striplib=$lt_old_striplib
17477
 
striplib=$lt_striplib
17478
 
 
17479
 
# Dependencies to place before the objects being linked to create a
17480
 
# shared library.
17481
 
predep_objects=$lt_predep_objects_F77
17482
 
 
17483
 
# Dependencies to place after the objects being linked to create a
17484
 
# shared library.
17485
 
postdep_objects=$lt_postdep_objects_F77
17486
 
 
17487
 
# Dependencies to place before the objects being linked to create a
17488
 
# shared library.
17489
 
predeps=$lt_predeps_F77
17490
 
 
17491
 
# Dependencies to place after the objects being linked to create a
17492
 
# shared library.
17493
 
postdeps=$lt_postdeps_F77
17494
 
 
17495
 
# The library search path used internally by the compiler when linking
17496
 
# a shared library.
17497
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17498
 
 
17499
 
# Method to check whether dependent libraries are shared objects.
17500
 
deplibs_check_method=$lt_deplibs_check_method
17501
 
 
17502
 
# Command to use when deplibs_check_method == file_magic.
17503
 
file_magic_cmd=$lt_file_magic_cmd
17504
 
 
17505
 
# Flag that allows shared libraries with undefined symbols to be built.
17506
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
17507
 
 
17508
 
# Flag that forces no undefined symbols.
17509
 
no_undefined_flag=$lt_no_undefined_flag_F77
17510
 
 
17511
 
# Commands used to finish a libtool library installation in a directory.
17512
 
finish_cmds=$lt_finish_cmds
17513
 
 
17514
 
# Same as above, but a single script fragment to be evaled but not shown.
17515
 
finish_eval=$lt_finish_eval
17516
 
 
17517
 
# Take the output of nm and produce a listing of raw symbols and C names.
17518
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17519
 
 
17520
 
# Transform the output of nm in a proper C declaration
17521
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17522
 
 
17523
 
# Transform the output of nm in a C name address pair
17524
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17525
 
 
17526
 
# This is the shared library runtime path variable.
17527
 
runpath_var=$runpath_var
17528
 
 
17529
 
# This is the shared library path variable.
17530
 
shlibpath_var=$shlibpath_var
17531
 
 
17532
 
# Is shlibpath searched before the hard-coded library search path?
17533
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17534
 
 
17535
 
# How to hardcode a shared library path into an executable.
17536
 
hardcode_action=$hardcode_action_F77
17537
 
 
17538
 
# Whether we should hardcode library paths into libraries.
17539
 
hardcode_into_libs=$hardcode_into_libs
17540
 
 
17541
 
# Flag to hardcode \$libdir into a binary during linking.
17542
 
# This must work even if \$libdir does not exist.
17543
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17544
 
 
17545
 
# If ld is used when linking, flag to hardcode \$libdir into
17546
 
# a binary during linking. This must work even if \$libdir does
17547
 
# not exist.
17548
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17549
 
 
17550
 
# Whether we need a single -rpath flag with a separated argument.
17551
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17552
 
 
17553
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17554
 
# resulting binary.
17555
 
hardcode_direct=$hardcode_direct_F77
17556
 
 
17557
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17558
 
# resulting binary.
17559
 
hardcode_minus_L=$hardcode_minus_L_F77
17560
 
 
17561
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17562
 
# the resulting binary.
17563
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17564
 
 
17565
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17566
 
# and all subsequent libraries and executables linked against it.
17567
 
hardcode_automatic=$hardcode_automatic_F77
17568
 
 
17569
 
# Variables whose values should be saved in libtool wrapper scripts and
17570
 
# restored at relink time.
17571
 
variables_saved_for_relink="$variables_saved_for_relink"
17572
 
 
17573
 
# Whether libtool must link a program against all its dependency libraries.
17574
 
link_all_deplibs=$link_all_deplibs_F77
17575
 
 
17576
 
# Compile-time system search path for libraries
17577
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17578
 
 
17579
 
# Run-time system search path for libraries
17580
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17581
 
 
17582
 
# Fix the shell variable \$srcfile for the compiler.
17583
 
fix_srcfile_path=$lt_fix_srcfile_path
17584
 
 
17585
 
# Set to yes if exported symbols are required.
17586
 
always_export_symbols=$always_export_symbols_F77
17587
 
 
17588
 
# The commands to list exported symbols.
17589
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
17590
 
 
17591
 
# The commands to extract the exported symbol list from a shared archive.
17592
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17593
 
 
17594
 
# Symbols that should not be listed in the preloaded symbols.
17595
 
exclude_expsyms=$lt_exclude_expsyms_F77
17596
 
 
17597
 
# Symbols that must always be exported.
17598
 
include_expsyms=$lt_include_expsyms_F77
17599
 
 
17600
 
# ### END LIBTOOL TAG CONFIG: $tagname
17601
 
 
17602
 
__EOF__
17603
 
 
17604
 
 
17605
 
else
17606
 
  # If there is no Makefile yet, we rely on a make rule to execute
17607
 
  # `config.status --recheck' to rerun these tests and create the
17608
 
  # libtool script then.
17609
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17610
 
  if test -f "$ltmain_in"; then
17611
 
    test -f Makefile && make "$ltmain"
17612
 
  fi
17613
 
fi
17614
 
 
17615
 
 
17616
 
ac_ext=c
17617
 
ac_cpp='$CPP $CPPFLAGS'
17618
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17621
 
 
17622
 
CC="$lt_save_CC"
17623
 
 
17624
 
        else
17625
 
          tagname=""
17626
 
        fi
17627
 
        ;;
17628
 
 
17629
 
      GCJ)
17630
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17631
 
          
17632
 
 
17633
 
# Source file extension for Java test sources.
17634
 
ac_ext=java
17635
 
 
17636
 
# Object file extension for compiled Java test sources.
17637
 
objext=o
17638
 
objext_GCJ=$objext
17639
 
 
17640
 
# Code to be used in simple compile tests
17641
 
lt_simple_compile_test_code="class foo {}"
17642
 
 
17643
 
# Code to be used in simple link tests
17644
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17645
 
 
17646
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17647
 
 
17648
 
# If no C compiler was specified, use CC.
17649
 
LTCC=${LTCC-"$CC"}
17650
 
 
17651
 
# If no C compiler flags were specified, use CFLAGS.
17652
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17653
 
 
17654
 
# Allow CC to be a program name with arguments.
17655
 
compiler=$CC
17656
 
 
17657
 
 
17658
 
# save warnings/boilerplate of simple test code
17659
 
ac_outfile=conftest.$ac_objext
17660
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17661
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17662
 
_lt_compiler_boilerplate=`cat conftest.err`
17663
 
$rm conftest*
17664
 
 
17665
 
ac_outfile=conftest.$ac_objext
17666
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17667
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17668
 
_lt_linker_boilerplate=`cat conftest.err`
17669
 
$rm conftest*
17670
 
 
17671
 
 
17672
 
# Allow CC to be a program name with arguments.
17673
 
lt_save_CC="$CC"
17674
 
CC=${GCJ-"gcj"}
17675
 
compiler=$CC
17676
 
compiler_GCJ=$CC
17677
 
for cc_temp in $compiler""; do
17678
 
  case $cc_temp in
17679
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17680
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17681
 
    \-*) ;;
17682
 
    *) break;;
17683
 
  esac
17684
 
done
17685
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17686
 
 
17687
 
 
17688
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17689
 
archive_cmds_need_lc_GCJ=no
17690
 
 
17691
 
old_archive_cmds_GCJ=$old_archive_cmds
17692
 
 
17693
 
 
17694
 
lt_prog_compiler_no_builtin_flag_GCJ=
17695
 
 
17696
 
if test "$GCC" = yes; then
17697
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17698
 
 
17699
 
  
17700
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17701
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17702
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17703
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17704
 
else
17705
 
  lt_cv_prog_compiler_rtti_exceptions=no
17706
 
  ac_outfile=conftest.$ac_objext
17707
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17708
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17709
 
   # Insert the option either (1) after the last *FLAGS variable, or
17710
 
   # (2) before a word containing "conftest.", or (3) at the end.
17711
 
   # Note that $ac_compile itself does not contain backslashes and begins
17712
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17713
 
   # The option is referenced via a variable to avoid confusing sed.
17714
 
   lt_compile=`echo "$ac_compile" | $SED \
17715
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17716
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17717
 
   -e 's:$: $lt_compiler_flag:'`
17718
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
17719
 
   (eval "$lt_compile" 2>conftest.err)
17720
 
   ac_status=$?
17721
 
   cat conftest.err >&5
17722
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
17723
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17724
 
     # The compiler can only warn and ignore the option if not recognized
17725
 
     # So say no if there are warnings other than the usual output.
17726
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17727
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17728
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17729
 
       lt_cv_prog_compiler_rtti_exceptions=yes
17730
 
     fi
17731
 
   fi
17732
 
   $rm conftest*
17733
 
 
17734
 
fi
17735
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17736
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17737
 
 
17738
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17739
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17740
 
else
17741
 
    :
17742
 
fi
17743
 
 
17744
 
fi
17745
 
 
17746
 
lt_prog_compiler_wl_GCJ=
17747
 
lt_prog_compiler_pic_GCJ=
17748
 
lt_prog_compiler_static_GCJ=
17749
 
 
17750
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17751
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17752
 
 
17753
 
  if test "$GCC" = yes; then
17754
 
    lt_prog_compiler_wl_GCJ='-Wl,'
17755
 
    lt_prog_compiler_static_GCJ='-static'
17756
 
 
17757
 
    case $host_os in
17758
 
      aix*)
17759
 
      # All AIX code is PIC.
17760
 
      if test "$host_cpu" = ia64; then
17761
 
        # AIX 5 now supports IA64 processor
17762
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17763
 
      fi
17764
 
      ;;
17765
 
 
17766
 
    amigaos*)
17767
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17768
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17769
 
      # like `-m68040'.
17770
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17771
 
      ;;
17772
 
 
17773
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17774
 
      # PIC is the default for these OSes.
17775
 
      ;;
17776
 
 
17777
 
    mingw* | cygwin* | pw32* | os2*)
17778
 
      # This hack is so that the source file can tell whether it is being
17779
 
      # built for inclusion in a dll (and should export symbols for example).
17780
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17781
 
      # (--disable-auto-import) libraries
17782
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17783
 
      ;;
17784
 
 
17785
 
    darwin* | rhapsody*)
17786
 
      # PIC is the default on this platform
17787
 
      # Common symbols not allowed in MH_DYLIB files
17788
 
      lt_prog_compiler_pic_GCJ='-fno-common'
17789
 
      ;;
17790
 
 
17791
 
    interix[3-9]*)
17792
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17793
 
      # Instead, we relocate shared libraries at runtime.
17794
 
      ;;
17795
 
 
17796
 
    msdosdjgpp*)
17797
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17798
 
      # on systems that don't support them.
17799
 
      lt_prog_compiler_can_build_shared_GCJ=no
17800
 
      enable_shared=no
17801
 
      ;;
17802
 
 
17803
 
    sysv4*MP*)
17804
 
      if test -d /usr/nec; then
17805
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
17806
 
      fi
17807
 
      ;;
17808
 
 
17809
 
    hpux*)
17810
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17811
 
      # not for PA HP-UX.
17812
 
      case $host_cpu in
17813
 
      hppa*64*|ia64*)
17814
 
        # +Z the default
17815
 
        ;;
17816
 
      *)
17817
 
        lt_prog_compiler_pic_GCJ='-fPIC'
17818
 
        ;;
17819
 
      esac
17820
 
      ;;
17821
 
 
17822
 
    *)
17823
 
      lt_prog_compiler_pic_GCJ='-fPIC'
17824
 
      ;;
17825
 
    esac
17826
 
  else
17827
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17828
 
    case $host_os in
17829
 
    aix*)
17830
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17831
 
      if test "$host_cpu" = ia64; then
17832
 
        # AIX 5 now supports IA64 processor
17833
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17834
 
      else
17835
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17836
 
      fi
17837
 
      ;;
17838
 
      darwin*)
17839
 
        # PIC is the default on this platform
17840
 
        # Common symbols not allowed in MH_DYLIB files
17841
 
       case $cc_basename in
17842
 
         xlc*)
17843
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
17844
 
         lt_prog_compiler_wl_GCJ='-Wl,'
17845
 
         ;;
17846
 
       esac
17847
 
       ;;
17848
 
 
17849
 
    mingw* | cygwin* | pw32* | os2*)
17850
 
      # This hack is so that the source file can tell whether it is being
17851
 
      # built for inclusion in a dll (and should export symbols for example).
17852
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17853
 
      ;;
17854
 
 
17855
 
    hpux9* | hpux10* | hpux11*)
17856
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17857
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17858
 
      # not for PA HP-UX.
17859
 
      case $host_cpu in
17860
 
      hppa*64*|ia64*)
17861
 
        # +Z the default
17862
 
        ;;
17863
 
      *)
17864
 
        lt_prog_compiler_pic_GCJ='+Z'
17865
 
        ;;
17866
 
      esac
17867
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17868
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17869
 
      ;;
17870
 
 
17871
 
    irix5* | irix6* | nonstopux*)
17872
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17873
 
      # PIC (with -KPIC) is the default.
17874
 
      lt_prog_compiler_static_GCJ='-non_shared'
17875
 
      ;;
17876
 
 
17877
 
    newsos6)
17878
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17879
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17880
 
      ;;
17881
 
 
17882
 
    linux* | k*bsd*-gnu)
17883
 
      case $cc_basename in
17884
 
      icc* | ecc*)
17885
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17886
 
        lt_prog_compiler_pic_GCJ='-KPIC'
17887
 
        lt_prog_compiler_static_GCJ='-static'
17888
 
        ;;
17889
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17890
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17891
 
        # which looks to be a dead project)
17892
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17893
 
        lt_prog_compiler_pic_GCJ='-fpic'
17894
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17895
 
        ;;
17896
 
      ccc*)
17897
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17898
 
        # All Alpha code is PIC.
17899
 
        lt_prog_compiler_static_GCJ='-non_shared'
17900
 
        ;;
17901
 
      *)
17902
 
        case `$CC -V 2>&1 | sed 5q` in
17903
 
        *Sun\ C*)
17904
 
          # Sun C 5.9
17905
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17906
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17907
 
          lt_prog_compiler_wl_GCJ='-Wl,'
17908
 
          ;;
17909
 
        *Sun\ F*)
17910
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
17911
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17912
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17913
 
          lt_prog_compiler_wl_GCJ=''
17914
 
          ;;
17915
 
        esac
17916
 
        ;;
17917
 
      esac
17918
 
      ;;
17919
 
 
17920
 
    osf3* | osf4* | osf5*)
17921
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17922
 
      # All OSF/1 code is PIC.
17923
 
      lt_prog_compiler_static_GCJ='-non_shared'
17924
 
      ;;
17925
 
 
17926
 
    rdos*)
17927
 
      lt_prog_compiler_static_GCJ='-non_shared'
17928
 
      ;;
17929
 
 
17930
 
    solaris*)
17931
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17932
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17933
 
      case $cc_basename in
17934
 
      f77* | f90* | f95*)
17935
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17936
 
      *)
17937
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
17938
 
      esac
17939
 
      ;;
17940
 
 
17941
 
    sunos4*)
17942
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
17943
 
      lt_prog_compiler_pic_GCJ='-PIC'
17944
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17945
 
      ;;
17946
 
 
17947
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17948
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17949
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17950
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17951
 
      ;;
17952
 
 
17953
 
    sysv4*MP*)
17954
 
      if test -d /usr/nec ;then
17955
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
17956
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17957
 
      fi
17958
 
      ;;
17959
 
 
17960
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17961
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17962
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17963
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17964
 
      ;;
17965
 
 
17966
 
    unicos*)
17967
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17968
 
      lt_prog_compiler_can_build_shared_GCJ=no
17969
 
      ;;
17970
 
 
17971
 
    uts4*)
17972
 
      lt_prog_compiler_pic_GCJ='-pic'
17973
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17974
 
      ;;
17975
 
 
17976
 
    *)
17977
 
      lt_prog_compiler_can_build_shared_GCJ=no
17978
 
      ;;
17979
 
    esac
17980
 
  fi
17981
 
 
17982
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17983
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17984
 
 
17985
 
#
17986
 
# Check to make sure the PIC flag actually works.
17987
 
#
17988
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17989
 
  
17990
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17991
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17992
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17993
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17994
 
else
17995
 
  lt_prog_compiler_pic_works_GCJ=no
17996
 
  ac_outfile=conftest.$ac_objext
17997
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17998
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17999
 
   # Insert the option either (1) after the last *FLAGS variable, or
18000
 
   # (2) before a word containing "conftest.", or (3) at the end.
18001
 
   # Note that $ac_compile itself does not contain backslashes and begins
18002
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18003
 
   # The option is referenced via a variable to avoid confusing sed.
18004
 
   lt_compile=`echo "$ac_compile" | $SED \
18005
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18006
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18007
 
   -e 's:$: $lt_compiler_flag:'`
18008
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18009
 
   (eval "$lt_compile" 2>conftest.err)
18010
 
   ac_status=$?
18011
 
   cat conftest.err >&5
18012
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
18013
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18014
 
     # The compiler can only warn and ignore the option if not recognized
18015
 
     # So say no if there are warnings other than the usual output.
18016
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18017
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18018
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18019
 
       lt_prog_compiler_pic_works_GCJ=yes
18020
 
     fi
18021
 
   fi
18022
 
   $rm conftest*
18023
 
 
18024
 
fi
18025
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18026
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18027
 
 
18028
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18029
 
    case $lt_prog_compiler_pic_GCJ in
18030
 
     "" | " "*) ;;
18031
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18032
 
     esac
18033
 
else
18034
 
    lt_prog_compiler_pic_GCJ=
18035
 
     lt_prog_compiler_can_build_shared_GCJ=no
18036
 
fi
18037
 
 
18038
 
fi
18039
 
case $host_os in
18040
 
  # For platforms which do not support PIC, -DPIC is meaningless:
18041
 
  *djgpp*)
18042
 
    lt_prog_compiler_pic_GCJ=
18043
 
    ;;
18044
 
  *)
18045
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18046
 
    ;;
18047
 
esac
18048
 
 
18049
 
#
18050
 
# Check to make sure the static flag actually works.
18051
 
#
18052
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18053
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18054
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18055
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18056
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18057
 
else
18058
 
  lt_prog_compiler_static_works_GCJ=no
18059
 
   save_LDFLAGS="$LDFLAGS"
18060
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18061
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18062
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18063
 
     # The linker can only warn and ignore the option if not recognized
18064
 
     # So say no if there are warnings
18065
 
     if test -s conftest.err; then
18066
 
       # Append any errors to the config.log.
18067
 
       cat conftest.err 1>&5
18068
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18069
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18070
 
       if diff conftest.exp conftest.er2 >/dev/null; then
18071
 
         lt_prog_compiler_static_works_GCJ=yes
18072
 
       fi
18073
 
     else
18074
 
       lt_prog_compiler_static_works_GCJ=yes
18075
 
     fi
18076
 
   fi
18077
 
   $rm conftest*
18078
 
   LDFLAGS="$save_LDFLAGS"
18079
 
 
18080
 
fi
18081
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18082
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
18083
 
 
18084
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
18085
 
    :
18086
 
else
18087
 
    lt_prog_compiler_static_GCJ=
18088
 
fi
18089
 
 
18090
 
 
18091
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18092
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18093
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18094
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18095
 
else
18096
 
  lt_cv_prog_compiler_c_o_GCJ=no
18097
 
   $rm -r conftest 2>/dev/null
18098
 
   mkdir conftest
18099
 
   cd conftest
18100
 
   mkdir out
18101
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18102
 
 
18103
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18104
 
   # Insert the option either (1) after the last *FLAGS variable, or
18105
 
   # (2) before a word containing "conftest.", or (3) at the end.
18106
 
   # Note that $ac_compile itself does not contain backslashes and begins
18107
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18108
 
   lt_compile=`echo "$ac_compile" | $SED \
18109
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18110
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18111
 
   -e 's:$: $lt_compiler_flag:'`
18112
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18113
 
   (eval "$lt_compile" 2>out/conftest.err)
18114
 
   ac_status=$?
18115
 
   cat out/conftest.err >&5
18116
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
18117
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18118
 
   then
18119
 
     # The compiler can only warn and ignore the option if not recognized
18120
 
     # So say no if there are warnings
18121
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18122
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18123
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18124
 
       lt_cv_prog_compiler_c_o_GCJ=yes
18125
 
     fi
18126
 
   fi
18127
 
   chmod u+w . 2>&5
18128
 
   $rm conftest*
18129
 
   # SGI C++ compiler will create directory out/ii_files/ for
18130
 
   # template instantiation
18131
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18132
 
   $rm out/* && rmdir out
18133
 
   cd ..
18134
 
   rmdir conftest
18135
 
   $rm conftest*
18136
 
 
18137
 
fi
18138
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18139
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18140
 
 
18141
 
 
18142
 
hard_links="nottested"
18143
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18144
 
  # do not overwrite the value of need_locks provided by the user
18145
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18146
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18147
 
  hard_links=yes
18148
 
  $rm conftest*
18149
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18150
 
  touch conftest.a
18151
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
18152
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18153
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
18154
 
echo "${ECHO_T}$hard_links" >&6; }
18155
 
  if test "$hard_links" = no; then
18156
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18157
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18158
 
    need_locks=warn
18159
 
  fi
18160
 
else
18161
 
  need_locks=no
18162
 
fi
18163
 
 
18164
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18165
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18166
 
 
18167
 
  runpath_var=
18168
 
  allow_undefined_flag_GCJ=
18169
 
  enable_shared_with_static_runtimes_GCJ=no
18170
 
  archive_cmds_GCJ=
18171
 
  archive_expsym_cmds_GCJ=
18172
 
  old_archive_From_new_cmds_GCJ=
18173
 
  old_archive_from_expsyms_cmds_GCJ=
18174
 
  export_dynamic_flag_spec_GCJ=
18175
 
  whole_archive_flag_spec_GCJ=
18176
 
  thread_safe_flag_spec_GCJ=
18177
 
  hardcode_libdir_flag_spec_GCJ=
18178
 
  hardcode_libdir_flag_spec_ld_GCJ=
18179
 
  hardcode_libdir_separator_GCJ=
18180
 
  hardcode_direct_GCJ=no
18181
 
  hardcode_minus_L_GCJ=no
18182
 
  hardcode_shlibpath_var_GCJ=unsupported
18183
 
  link_all_deplibs_GCJ=unknown
18184
 
  hardcode_automatic_GCJ=no
18185
 
  module_cmds_GCJ=
18186
 
  module_expsym_cmds_GCJ=
18187
 
  always_export_symbols_GCJ=no
18188
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18189
 
  # include_expsyms should be a list of space-separated symbols to be *always*
18190
 
  # included in the symbol list
18191
 
  include_expsyms_GCJ=
18192
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
18193
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18194
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18195
 
  # as well as any symbol that contains `d'.
18196
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
18197
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18198
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
18199
 
  # the symbol is explicitly referenced.  Since portable code cannot
18200
 
  # rely on this symbol name, it's probably fine to never include it in
18201
 
  # preloaded symbol tables.
18202
 
  extract_expsyms_cmds=
18203
 
  # Just being paranoid about ensuring that cc_basename is set.
18204
 
  for cc_temp in $compiler""; do
18205
 
  case $cc_temp in
18206
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18207
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18208
 
    \-*) ;;
18209
 
    *) break;;
18210
 
  esac
18211
 
done
18212
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18213
 
 
18214
 
  case $host_os in
18215
 
  cygwin* | mingw* | pw32*)
18216
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
18217
 
    # When not using gcc, we currently assume that we are using
18218
 
    # Microsoft Visual C++.
18219
 
    if test "$GCC" != yes; then
18220
 
      with_gnu_ld=no
18221
 
    fi
18222
 
    ;;
18223
 
  interix*)
18224
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
18225
 
    with_gnu_ld=yes
18226
 
    ;;
18227
 
  openbsd*)
18228
 
    with_gnu_ld=no
18229
 
    ;;
18230
 
  esac
18231
 
 
18232
 
  ld_shlibs_GCJ=yes
18233
 
  if test "$with_gnu_ld" = yes; then
18234
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
18235
 
    wlarc='${wl}'
18236
 
 
18237
 
    # Set some defaults for GNU ld with shared library support. These
18238
 
    # are reset later if shared libraries are not supported. Putting them
18239
 
    # here allows them to be overridden if necessary.
18240
 
    runpath_var=LD_RUN_PATH
18241
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18242
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18243
 
    # ancient GNU ld didn't support --whole-archive et. al.
18244
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18245
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18246
 
      else
18247
 
        whole_archive_flag_spec_GCJ=
18248
 
    fi
18249
 
    supports_anon_versioning=no
18250
 
    case `$LD -v 2>/dev/null` in
18251
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18252
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18253
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18254
 
      *\ 2.11.*) ;; # other 2.11 versions
18255
 
      *) supports_anon_versioning=yes ;;
18256
 
    esac
18257
 
 
18258
 
    # See if GNU ld supports shared libraries.
18259
 
    case $host_os in
18260
 
    aix3* | aix4* | aix5*)
18261
 
      # On AIX/PPC, the GNU linker is very broken
18262
 
      if test "$host_cpu" != ia64; then
18263
 
        ld_shlibs_GCJ=no
18264
 
        cat <<EOF 1>&2
18265
 
 
18266
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18267
 
*** to be unable to reliably create shared libraries on AIX.
18268
 
*** Therefore, libtool is disabling shared libraries support.  If you
18269
 
*** really care for shared libraries, you may want to modify your PATH
18270
 
*** so that a non-GNU linker is found, and then restart.
18271
 
 
18272
 
EOF
18273
 
      fi
18274
 
      ;;
18275
 
 
18276
 
    amigaos*)
18277
 
      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)'
18278
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18279
 
      hardcode_minus_L_GCJ=yes
18280
 
 
18281
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18282
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
18283
 
      # to version 4, is to share data among multiple programs linked
18284
 
      # with the same dynamic library.  Since this doesn't match the
18285
 
      # behavior of shared libraries on other platforms, we can't use
18286
 
      # them.
18287
 
      ld_shlibs_GCJ=no
18288
 
      ;;
18289
 
 
18290
 
    beos*)
18291
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18292
 
        allow_undefined_flag_GCJ=unsupported
18293
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18294
 
        # support --undefined.  This deserves some investigation.  FIXME
18295
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18296
 
      else
18297
 
        ld_shlibs_GCJ=no
18298
 
      fi
18299
 
      ;;
18300
 
 
18301
 
    cygwin* | mingw* | pw32*)
18302
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18303
 
      # as there is no search path for DLLs.
18304
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18305
 
      allow_undefined_flag_GCJ=unsupported
18306
 
      always_export_symbols_GCJ=no
18307
 
      enable_shared_with_static_runtimes_GCJ=yes
18308
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18309
 
 
18310
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18311
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18312
 
        # If the export-symbols file already is a .def file (1st line
18313
 
        # is EXPORTS), use it as is; otherwise, prepend...
18314
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18315
 
          cp $export_symbols $output_objdir/$soname.def;
18316
 
        else
18317
 
          echo EXPORTS > $output_objdir/$soname.def;
18318
 
          cat $export_symbols >> $output_objdir/$soname.def;
18319
 
        fi~
18320
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18321
 
      else
18322
 
        ld_shlibs_GCJ=no
18323
 
      fi
18324
 
      ;;
18325
 
 
18326
 
    interix[3-9]*)
18327
 
      hardcode_direct_GCJ=no
18328
 
      hardcode_shlibpath_var_GCJ=no
18329
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18330
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18331
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18332
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
18333
 
      # default) and relocated if they conflict, which is a slow very memory
18334
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
18335
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18336
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18337
 
      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'
18338
 
      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'
18339
 
      ;;
18340
 
 
18341
 
    gnu* | linux* | k*bsd*-gnu)
18342
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18343
 
        tmp_addflag=
18344
 
        case $cc_basename,$host_cpu in
18345
 
        pgcc*)                          # Portland Group C compiler
18346
 
          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'
18347
 
          tmp_addflag=' $pic_flag'
18348
 
          ;;
18349
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
18350
 
          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'
18351
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
18352
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
18353
 
          tmp_addflag=' -i_dynamic' ;;
18354
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
18355
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
18356
 
        ifc* | ifort*)                  # Intel Fortran compiler
18357
 
          tmp_addflag=' -nofor_main' ;;
18358
 
        esac
18359
 
        case `$CC -V 2>&1 | sed 5q` in
18360
 
        *Sun\ C*)                       # Sun C 5.9
18361
 
          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'
18362
 
          tmp_sharedflag='-G' ;;
18363
 
        *Sun\ F*)                       # Sun Fortran 8.3
18364
 
          tmp_sharedflag='-G' ;;
18365
 
        *)
18366
 
          tmp_sharedflag='-shared' ;;
18367
 
        esac
18368
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18369
 
 
18370
 
        if test $supports_anon_versioning = yes; then
18371
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18372
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18373
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18374
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18375
 
        fi
18376
 
        link_all_deplibs_GCJ=no
18377
 
      else
18378
 
        ld_shlibs_GCJ=no
18379
 
      fi
18380
 
      ;;
18381
 
 
18382
 
    netbsd* | netbsdelf*-gnu)
18383
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18384
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18385
 
        wlarc=
18386
 
      else
18387
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18388
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18389
 
      fi
18390
 
      ;;
18391
 
 
18392
 
    solaris*)
18393
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18394
 
        ld_shlibs_GCJ=no
18395
 
        cat <<EOF 1>&2
18396
 
 
18397
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18398
 
*** create shared libraries on Solaris systems.  Therefore, libtool
18399
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18400
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
18401
 
*** your PATH or compiler configuration so that the native linker is
18402
 
*** used, and then restart.
18403
 
 
18404
 
EOF
18405
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18406
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18407
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18408
 
      else
18409
 
        ld_shlibs_GCJ=no
18410
 
      fi
18411
 
      ;;
18412
 
 
18413
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18414
 
      case `$LD -v 2>&1` in
18415
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18416
 
        ld_shlibs_GCJ=no
18417
 
        cat <<_LT_EOF 1>&2
18418
 
 
18419
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18420
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
18421
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18422
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
18423
 
*** your PATH or compiler configuration so that the native linker is
18424
 
*** used, and then restart.
18425
 
 
18426
 
_LT_EOF
18427
 
        ;;
18428
 
        *)
18429
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18430
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18431
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18432
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18433
 
          else
18434
 
            ld_shlibs_GCJ=no
18435
 
          fi
18436
 
        ;;
18437
 
      esac
18438
 
      ;;
18439
 
 
18440
 
    sunos4*)
18441
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18442
 
      wlarc=
18443
 
      hardcode_direct_GCJ=yes
18444
 
      hardcode_shlibpath_var_GCJ=no
18445
 
      ;;
18446
 
 
18447
 
    *)
18448
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18449
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18450
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18451
 
      else
18452
 
        ld_shlibs_GCJ=no
18453
 
      fi
18454
 
      ;;
18455
 
    esac
18456
 
 
18457
 
    if test "$ld_shlibs_GCJ" = no; then
18458
 
      runpath_var=
18459
 
      hardcode_libdir_flag_spec_GCJ=
18460
 
      export_dynamic_flag_spec_GCJ=
18461
 
      whole_archive_flag_spec_GCJ=
18462
 
    fi
18463
 
  else
18464
 
    # PORTME fill in a description of your system's linker (not GNU ld)
18465
 
    case $host_os in
18466
 
    aix3*)
18467
 
      allow_undefined_flag_GCJ=unsupported
18468
 
      always_export_symbols_GCJ=yes
18469
 
      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'
18470
 
      # Note: this linker hardcodes the directories in LIBPATH if there
18471
 
      # are no directories specified by -L.
18472
 
      hardcode_minus_L_GCJ=yes
18473
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18474
 
        # Neither direct hardcoding nor static linking is supported with a
18475
 
        # broken collect2.
18476
 
        hardcode_direct_GCJ=unsupported
18477
 
      fi
18478
 
      ;;
18479
 
 
18480
 
    aix4* | aix5*)
18481
 
      if test "$host_cpu" = ia64; then
18482
 
        # On IA64, the linker does run time linking by default, so we don't
18483
 
        # have to do anything special.
18484
 
        aix_use_runtimelinking=no
18485
 
        exp_sym_flag='-Bexport'
18486
 
        no_entry_flag=""
18487
 
      else
18488
 
        # If we're using GNU nm, then we don't want the "-C" option.
18489
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
18490
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18491
 
          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'
18492
 
        else
18493
 
          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'
18494
 
        fi
18495
 
        aix_use_runtimelinking=no
18496
 
 
18497
 
        # Test if we are trying to use run time linking or normal
18498
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18499
 
        # need to do runtime linking.
18500
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18501
 
          for ld_flag in $LDFLAGS; do
18502
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18503
 
            aix_use_runtimelinking=yes
18504
 
            break
18505
 
          fi
18506
 
          done
18507
 
          ;;
18508
 
        esac
18509
 
 
18510
 
        exp_sym_flag='-bexport'
18511
 
        no_entry_flag='-bnoentry'
18512
 
      fi
18513
 
 
18514
 
      # When large executables or shared objects are built, AIX ld can
18515
 
      # have problems creating the table of contents.  If linking a library
18516
 
      # or program results in "error TOC overflow" add -mminimal-toc to
18517
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18518
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18519
 
 
18520
 
      archive_cmds_GCJ=''
18521
 
      hardcode_direct_GCJ=yes
18522
 
      hardcode_libdir_separator_GCJ=':'
18523
 
      link_all_deplibs_GCJ=yes
18524
 
 
18525
 
      if test "$GCC" = yes; then
18526
 
        case $host_os in aix4.[012]|aix4.[012].*)
18527
 
        # We only want to do this on AIX 4.2 and lower, the check
18528
 
        # below for broken collect2 doesn't work under 4.3+
18529
 
          collect2name=`${CC} -print-prog-name=collect2`
18530
 
          if test -f "$collect2name" && \
18531
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18532
 
          then
18533
 
          # We have reworked collect2
18534
 
          :
18535
 
          else
18536
 
          # We have old collect2
18537
 
          hardcode_direct_GCJ=unsupported
18538
 
          # It fails to find uninstalled libraries when the uninstalled
18539
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18540
 
          # to unsupported forces relinking
18541
 
          hardcode_minus_L_GCJ=yes
18542
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18543
 
          hardcode_libdir_separator_GCJ=
18544
 
          fi
18545
 
          ;;
18546
 
        esac
18547
 
        shared_flag='-shared'
18548
 
        if test "$aix_use_runtimelinking" = yes; then
18549
 
          shared_flag="$shared_flag "'${wl}-G'
18550
 
        fi
18551
 
      else
18552
 
        # not using gcc
18553
 
        if test "$host_cpu" = ia64; then
18554
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18555
 
        # chokes on -Wl,-G. The following line is correct:
18556
 
          shared_flag='-G'
18557
 
        else
18558
 
          if test "$aix_use_runtimelinking" = yes; then
18559
 
            shared_flag='${wl}-G'
18560
 
          else
18561
 
            shared_flag='${wl}-bM:SRE'
18562
 
          fi
18563
 
        fi
18564
 
      fi
18565
 
 
18566
 
      # It seems that -bexpall does not export symbols beginning with
18567
 
      # underscore (_), so it is better to generate a list of symbols to export.
18568
 
      always_export_symbols_GCJ=yes
18569
 
      if test "$aix_use_runtimelinking" = yes; then
18570
 
        # Warning - without using the other runtime loading flags (-brtl),
18571
 
        # -berok will link without error, but may produce a broken library.
18572
 
        allow_undefined_flag_GCJ='-berok'
18573
 
       # Determine the default libpath from the value encoded in an empty executable.
18574
 
       cat >conftest.$ac_ext <<_ACEOF
18575
 
/* confdefs.h.  */
18576
 
_ACEOF
18577
 
cat confdefs.h >>conftest.$ac_ext
18578
 
cat >>conftest.$ac_ext <<_ACEOF
18579
 
/* end confdefs.h.  */
18580
 
 
18581
 
int
18582
 
main ()
18583
 
{
18584
 
 
18585
 
  ;
18586
 
  return 0;
18587
 
}
18588
 
_ACEOF
18589
 
rm -f conftest.$ac_objext conftest$ac_exeext
18590
 
if { (ac_try="$ac_link"
18591
 
case "(($ac_try" in
18592
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18593
 
  *) ac_try_echo=$ac_try;;
18594
 
esac
18595
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18596
 
  (eval "$ac_link") 2>conftest.er1
18597
 
  ac_status=$?
18598
 
  grep -v '^ *+' conftest.er1 >conftest.err
18599
 
  rm -f conftest.er1
18600
 
  cat conftest.err >&5
18601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602
 
  (exit $ac_status); } && {
18603
 
         test -z "$ac_c_werror_flag" ||
18604
 
         test ! -s conftest.err
18605
 
       } && test -s conftest$ac_exeext &&
18606
 
       $as_test_x conftest$ac_exeext; then
18607
 
  
18608
 
lt_aix_libpath_sed='
18609
 
    /Import File Strings/,/^$/ {
18610
 
        /^0/ {
18611
 
            s/^0  *\(.*\)$/\1/
18612
 
            p
18613
 
        }
18614
 
    }'
18615
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18616
 
# Check for a 64-bit object if we didn't find anything.
18617
 
if test -z "$aix_libpath"; then
18618
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18619
 
fi
18620
 
else
18621
 
  echo "$as_me: failed program was:" >&5
18622
 
sed 's/^/| /' conftest.$ac_ext >&5
18623
 
 
18624
 
        
18625
 
fi
18626
 
 
18627
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18628
 
      conftest$ac_exeext conftest.$ac_ext
18629
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18630
 
 
18631
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18632
 
        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"
18633
 
       else
18634
 
        if test "$host_cpu" = ia64; then
18635
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18636
 
          allow_undefined_flag_GCJ="-z nodefs"
18637
 
          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"
18638
 
        else
18639
 
         # Determine the default libpath from the value encoded in an empty executable.
18640
 
         cat >conftest.$ac_ext <<_ACEOF
18641
 
/* confdefs.h.  */
18642
 
_ACEOF
18643
 
cat confdefs.h >>conftest.$ac_ext
18644
 
cat >>conftest.$ac_ext <<_ACEOF
18645
 
/* end confdefs.h.  */
18646
 
 
18647
 
int
18648
 
main ()
18649
 
{
18650
 
 
18651
 
  ;
18652
 
  return 0;
18653
 
}
18654
 
_ACEOF
18655
 
rm -f conftest.$ac_objext conftest$ac_exeext
18656
 
if { (ac_try="$ac_link"
18657
 
case "(($ac_try" in
18658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659
 
  *) ac_try_echo=$ac_try;;
18660
 
esac
18661
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662
 
  (eval "$ac_link") 2>conftest.er1
18663
 
  ac_status=$?
18664
 
  grep -v '^ *+' conftest.er1 >conftest.err
18665
 
  rm -f conftest.er1
18666
 
  cat conftest.err >&5
18667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668
 
  (exit $ac_status); } && {
18669
 
         test -z "$ac_c_werror_flag" ||
18670
 
         test ! -s conftest.err
18671
 
       } && test -s conftest$ac_exeext &&
18672
 
       $as_test_x conftest$ac_exeext; then
18673
 
  
18674
 
lt_aix_libpath_sed='
18675
 
    /Import File Strings/,/^$/ {
18676
 
        /^0/ {
18677
 
            s/^0  *\(.*\)$/\1/
18678
 
            p
18679
 
        }
18680
 
    }'
18681
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18682
 
# Check for a 64-bit object if we didn't find anything.
18683
 
if test -z "$aix_libpath"; then
18684
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18685
 
fi
18686
 
else
18687
 
  echo "$as_me: failed program was:" >&5
18688
 
sed 's/^/| /' conftest.$ac_ext >&5
18689
 
 
18690
 
        
18691
 
fi
18692
 
 
18693
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18694
 
      conftest$ac_exeext conftest.$ac_ext
18695
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18696
 
 
18697
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18698
 
          # Warning - without using the other run time loading flags,
18699
 
          # -berok will link without error, but may produce a broken library.
18700
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
18701
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
18702
 
          # Exported symbols can be pulled into shared objects from archives
18703
 
          whole_archive_flag_spec_GCJ='$convenience'
18704
 
          archive_cmds_need_lc_GCJ=yes
18705
 
          # This is similar to how AIX traditionally builds its shared libraries.
18706
 
          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'
18707
 
        fi
18708
 
      fi
18709
 
      ;;
18710
 
 
18711
 
    amigaos*)
18712
 
      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)'
18713
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18714
 
      hardcode_minus_L_GCJ=yes
18715
 
      # see comment about different semantics on the GNU ld section
18716
 
      ld_shlibs_GCJ=no
18717
 
      ;;
18718
 
 
18719
 
    bsdi[45]*)
18720
 
      export_dynamic_flag_spec_GCJ=-rdynamic
18721
 
      ;;
18722
 
 
18723
 
    cygwin* | mingw* | pw32*)
18724
 
      # When not using gcc, we currently assume that we are using
18725
 
      # Microsoft Visual C++.
18726
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
18727
 
      # no search path for DLLs.
18728
 
      hardcode_libdir_flag_spec_GCJ=' '
18729
 
      allow_undefined_flag_GCJ=unsupported
18730
 
      # Tell ltmain to make .lib files, not .a files.
18731
 
      libext=lib
18732
 
      # Tell ltmain to make .dll files, not .so files.
18733
 
      shrext_cmds=".dll"
18734
 
      # FIXME: Setting linknames here is a bad hack.
18735
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18736
 
      # The linker will automatically build a .lib file if we build a DLL.
18737
 
      old_archive_From_new_cmds_GCJ='true'
18738
 
      # FIXME: Should let the user specify the lib program.
18739
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18740
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18741
 
      enable_shared_with_static_runtimes_GCJ=yes
18742
 
      ;;
18743
 
 
18744
 
    darwin* | rhapsody*)
18745
 
      case $host_os in
18746
 
        rhapsody* | darwin1.[012])
18747
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18748
 
         ;;
18749
 
       *) # Darwin 1.3 on
18750
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18751
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18752
 
         else
18753
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
18754
 
             10.[012])
18755
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18756
 
               ;;
18757
 
             10.*)
18758
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18759
 
               ;;
18760
 
           esac
18761
 
         fi
18762
 
         ;;
18763
 
      esac
18764
 
      archive_cmds_need_lc_GCJ=no
18765
 
      hardcode_direct_GCJ=no
18766
 
      hardcode_automatic_GCJ=yes
18767
 
      hardcode_shlibpath_var_GCJ=unsupported
18768
 
      whole_archive_flag_spec_GCJ=''
18769
 
      link_all_deplibs_GCJ=yes
18770
 
    if test "$GCC" = yes ; then
18771
 
        output_verbose_link_cmd='echo'
18772
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18773
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18774
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18775
 
      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}'
18776
 
      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}'
18777
 
    else
18778
 
      case $cc_basename in
18779
 
        xlc*)
18780
 
         output_verbose_link_cmd='echo'
18781
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18782
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18783
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18784
 
         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}'
18785
 
          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}'
18786
 
          ;;
18787
 
       *)
18788
 
         ld_shlibs_GCJ=no
18789
 
          ;;
18790
 
      esac
18791
 
    fi
18792
 
      ;;
18793
 
 
18794
 
    dgux*)
18795
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18796
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18797
 
      hardcode_shlibpath_var_GCJ=no
18798
 
      ;;
18799
 
 
18800
 
    freebsd1*)
18801
 
      ld_shlibs_GCJ=no
18802
 
      ;;
18803
 
 
18804
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18805
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
18806
 
    # does not break anything, and helps significantly (at the cost of a little
18807
 
    # extra space).
18808
 
    freebsd2.2*)
18809
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18810
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18811
 
      hardcode_direct_GCJ=yes
18812
 
      hardcode_shlibpath_var_GCJ=no
18813
 
      ;;
18814
 
 
18815
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18816
 
    freebsd2*)
18817
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18818
 
      hardcode_direct_GCJ=yes
18819
 
      hardcode_minus_L_GCJ=yes
18820
 
      hardcode_shlibpath_var_GCJ=no
18821
 
      ;;
18822
 
 
18823
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18824
 
    freebsd* | dragonfly*)
18825
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18826
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18827
 
      hardcode_direct_GCJ=yes
18828
 
      hardcode_shlibpath_var_GCJ=no
18829
 
      ;;
18830
 
 
18831
 
    hpux9*)
18832
 
      if test "$GCC" = yes; then
18833
 
        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'
18834
 
      else
18835
 
        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'
18836
 
      fi
18837
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18838
 
      hardcode_libdir_separator_GCJ=:
18839
 
      hardcode_direct_GCJ=yes
18840
 
 
18841
 
      # hardcode_minus_L: Not really in the search PATH,
18842
 
      # but as the default location of the library.
18843
 
      hardcode_minus_L_GCJ=yes
18844
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18845
 
      ;;
18846
 
 
18847
 
    hpux10*)
18848
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18849
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18850
 
      else
18851
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18852
 
      fi
18853
 
      if test "$with_gnu_ld" = no; then
18854
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18855
 
        hardcode_libdir_separator_GCJ=:
18856
 
 
18857
 
        hardcode_direct_GCJ=yes
18858
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18859
 
 
18860
 
        # hardcode_minus_L: Not really in the search PATH,
18861
 
        # but as the default location of the library.
18862
 
        hardcode_minus_L_GCJ=yes
18863
 
      fi
18864
 
      ;;
18865
 
 
18866
 
    hpux11*)
18867
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18868
 
        case $host_cpu in
18869
 
        hppa*64*)
18870
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18871
 
          ;;
18872
 
        ia64*)
18873
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18874
 
          ;;
18875
 
        *)
18876
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18877
 
          ;;
18878
 
        esac
18879
 
      else
18880
 
        case $host_cpu in
18881
 
        hppa*64*)
18882
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18883
 
          ;;
18884
 
        ia64*)
18885
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18886
 
          ;;
18887
 
        *)
18888
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18889
 
          ;;
18890
 
        esac
18891
 
      fi
18892
 
      if test "$with_gnu_ld" = no; then
18893
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18894
 
        hardcode_libdir_separator_GCJ=:
18895
 
 
18896
 
        case $host_cpu in
18897
 
        hppa*64*|ia64*)
18898
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18899
 
          hardcode_direct_GCJ=no
18900
 
          hardcode_shlibpath_var_GCJ=no
18901
 
          ;;
18902
 
        *)
18903
 
          hardcode_direct_GCJ=yes
18904
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18905
 
 
18906
 
          # hardcode_minus_L: Not really in the search PATH,
18907
 
          # but as the default location of the library.
18908
 
          hardcode_minus_L_GCJ=yes
18909
 
          ;;
18910
 
        esac
18911
 
      fi
18912
 
      ;;
18913
 
 
18914
 
    irix5* | irix6* | nonstopux*)
18915
 
      if test "$GCC" = yes; then
18916
 
        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'
18917
 
      else
18918
 
        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'
18919
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18920
 
      fi
18921
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18922
 
      hardcode_libdir_separator_GCJ=:
18923
 
      link_all_deplibs_GCJ=yes
18924
 
      ;;
18925
 
 
18926
 
    netbsd* | netbsdelf*-gnu)
18927
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18928
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18929
 
      else
18930
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18931
 
      fi
18932
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18933
 
      hardcode_direct_GCJ=yes
18934
 
      hardcode_shlibpath_var_GCJ=no
18935
 
      ;;
18936
 
 
18937
 
    newsos6)
18938
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18939
 
      hardcode_direct_GCJ=yes
18940
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18941
 
      hardcode_libdir_separator_GCJ=:
18942
 
      hardcode_shlibpath_var_GCJ=no
18943
 
      ;;
18944
 
 
18945
 
    openbsd*)
18946
 
      if test -f /usr/libexec/ld.so; then
18947
 
        hardcode_direct_GCJ=yes
18948
 
        hardcode_shlibpath_var_GCJ=no
18949
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18950
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18951
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18952
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18953
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18954
 
        else
18955
 
          case $host_os in
18956
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18957
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18958
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
18959
 
             ;;
18960
 
           *)
18961
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18962
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18963
 
             ;;
18964
 
          esac
18965
 
        fi
18966
 
      else
18967
 
        ld_shlibs_GCJ=no
18968
 
      fi
18969
 
      ;;
18970
 
 
18971
 
    os2*)
18972
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18973
 
      hardcode_minus_L_GCJ=yes
18974
 
      allow_undefined_flag_GCJ=unsupported
18975
 
      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'
18976
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18977
 
      ;;
18978
 
 
18979
 
    osf3*)
18980
 
      if test "$GCC" = yes; then
18981
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18982
 
        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'
18983
 
      else
18984
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18985
 
        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'
18986
 
      fi
18987
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18988
 
      hardcode_libdir_separator_GCJ=:
18989
 
      ;;
18990
 
 
18991
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18992
 
      if test "$GCC" = yes; then
18993
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18994
 
        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'
18995
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18996
 
      else
18997
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18998
 
        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'
18999
 
        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~
19000
 
        $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'
19001
 
 
19002
 
        # Both c and cxx compiler support -rpath directly
19003
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19004
 
      fi
19005
 
      hardcode_libdir_separator_GCJ=:
19006
 
      ;;
19007
 
 
19008
 
    solaris*)
19009
 
      no_undefined_flag_GCJ=' -z text'
19010
 
      if test "$GCC" = yes; then
19011
 
        wlarc='${wl}'
19012
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19013
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19014
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19015
 
      else
19016
 
        wlarc=''
19017
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19018
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19019
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19020
 
      fi
19021
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19022
 
      hardcode_shlibpath_var_GCJ=no
19023
 
      case $host_os in
19024
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19025
 
      *)
19026
 
        # The compiler driver will combine and reorder linker options,
19027
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
19028
 
        # but is careful enough not to reorder.
19029
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19030
 
        if test "$GCC" = yes; then
19031
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19032
 
        else
19033
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19034
 
        fi
19035
 
        ;;
19036
 
      esac
19037
 
      link_all_deplibs_GCJ=yes
19038
 
      ;;
19039
 
 
19040
 
    sunos4*)
19041
 
      if test "x$host_vendor" = xsequent; then
19042
 
        # Use $CC to link under sequent, because it throws in some extra .o
19043
 
        # files that make .init and .fini sections work.
19044
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19045
 
      else
19046
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19047
 
      fi
19048
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19049
 
      hardcode_direct_GCJ=yes
19050
 
      hardcode_minus_L_GCJ=yes
19051
 
      hardcode_shlibpath_var_GCJ=no
19052
 
      ;;
19053
 
 
19054
 
    sysv4)
19055
 
      case $host_vendor in
19056
 
        sni)
19057
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19058
 
          hardcode_direct_GCJ=yes # is this really true???
19059
 
        ;;
19060
 
        siemens)
19061
 
          ## LD is ld it makes a PLAMLIB
19062
 
          ## CC just makes a GrossModule.
19063
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19064
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19065
 
          hardcode_direct_GCJ=no
19066
 
        ;;
19067
 
        motorola)
19068
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19069
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19070
 
        ;;
19071
 
      esac
19072
 
      runpath_var='LD_RUN_PATH'
19073
 
      hardcode_shlibpath_var_GCJ=no
19074
 
      ;;
19075
 
 
19076
 
    sysv4.3*)
19077
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19078
 
      hardcode_shlibpath_var_GCJ=no
19079
 
      export_dynamic_flag_spec_GCJ='-Bexport'
19080
 
      ;;
19081
 
 
19082
 
    sysv4*MP*)
19083
 
      if test -d /usr/nec; then
19084
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19085
 
        hardcode_shlibpath_var_GCJ=no
19086
 
        runpath_var=LD_RUN_PATH
19087
 
        hardcode_runpath_var=yes
19088
 
        ld_shlibs_GCJ=yes
19089
 
      fi
19090
 
      ;;
19091
 
 
19092
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19093
 
      no_undefined_flag_GCJ='${wl}-z,text'
19094
 
      archive_cmds_need_lc_GCJ=no
19095
 
      hardcode_shlibpath_var_GCJ=no
19096
 
      runpath_var='LD_RUN_PATH'
19097
 
 
19098
 
      if test "$GCC" = yes; then
19099
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19100
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19101
 
      else
19102
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19103
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19104
 
      fi
19105
 
      ;;
19106
 
 
19107
 
    sysv5* | sco3.2v5* | sco5v6*)
19108
 
      # Note: We can NOT use -z defs as we might desire, because we do not
19109
 
      # link with -lc, and that would cause any symbols used from libc to
19110
 
      # always be unresolved, which means just about no library would
19111
 
      # ever link correctly.  If we're not using GNU ld we use -z text
19112
 
      # though, which does catch some bad symbols but isn't as heavy-handed
19113
 
      # as -z defs.
19114
 
      no_undefined_flag_GCJ='${wl}-z,text'
19115
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
19116
 
      archive_cmds_need_lc_GCJ=no
19117
 
      hardcode_shlibpath_var_GCJ=no
19118
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19119
 
      hardcode_libdir_separator_GCJ=':'
19120
 
      link_all_deplibs_GCJ=yes
19121
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19122
 
      runpath_var='LD_RUN_PATH'
19123
 
 
19124
 
      if test "$GCC" = yes; then
19125
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19126
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19127
 
      else
19128
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19129
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19130
 
      fi
19131
 
      ;;
19132
 
 
19133
 
    uts4*)
19134
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19135
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19136
 
      hardcode_shlibpath_var_GCJ=no
19137
 
      ;;
19138
 
 
19139
 
    *)
19140
 
      ld_shlibs_GCJ=no
19141
 
      ;;
19142
 
    esac
19143
 
  fi
19144
 
 
19145
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19146
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19147
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19148
 
 
19149
 
#
19150
 
# Do we need to explicitly link libc?
19151
 
#
19152
 
case "x$archive_cmds_need_lc_GCJ" in
19153
 
x|xyes)
19154
 
  # Assume -lc should be added
19155
 
  archive_cmds_need_lc_GCJ=yes
19156
 
 
19157
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
19158
 
    case $archive_cmds_GCJ in
19159
 
    *'~'*)
19160
 
      # FIXME: we may have to deal with multi-command sequences.
19161
 
      ;;
19162
 
    '$CC '*)
19163
 
      # Test whether the compiler implicitly links with -lc since on some
19164
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19165
 
      # to ld, don't add -lc before -lgcc.
19166
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19167
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19168
 
      $rm conftest*
19169
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19170
 
 
19171
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19172
 
  (eval $ac_compile) 2>&5
19173
 
  ac_status=$?
19174
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175
 
  (exit $ac_status); } 2>conftest.err; then
19176
 
        soname=conftest
19177
 
        lib=conftest
19178
 
        libobjs=conftest.$ac_objext
19179
 
        deplibs=
19180
 
        wl=$lt_prog_compiler_wl_GCJ
19181
 
        pic_flag=$lt_prog_compiler_pic_GCJ
19182
 
        compiler_flags=-v
19183
 
        linker_flags=-v
19184
 
        verstring=
19185
 
        output_objdir=.
19186
 
        libname=conftest
19187
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19188
 
        allow_undefined_flag_GCJ=
19189
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19190
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19191
 
  ac_status=$?
19192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193
 
  (exit $ac_status); }
19194
 
        then
19195
 
          archive_cmds_need_lc_GCJ=no
19196
 
        else
19197
 
          archive_cmds_need_lc_GCJ=yes
19198
 
        fi
19199
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19200
 
      else
19201
 
        cat conftest.err 1>&5
19202
 
      fi
19203
 
      $rm conftest*
19204
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19205
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19206
 
      ;;
19207
 
    esac
19208
 
  fi
19209
 
  ;;
19210
 
esac
19211
 
 
19212
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19213
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19214
 
library_names_spec=
19215
 
libname_spec='lib$name'
19216
 
soname_spec=
19217
 
shrext_cmds=".so"
19218
 
postinstall_cmds=
19219
 
postuninstall_cmds=
19220
 
finish_cmds=
19221
 
finish_eval=
19222
 
shlibpath_var=
19223
 
shlibpath_overrides_runpath=unknown
19224
 
version_type=none
19225
 
dynamic_linker="$host_os ld.so"
19226
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19227
 
 
19228
 
need_lib_prefix=unknown
19229
 
hardcode_into_libs=no
19230
 
 
19231
 
# when you set need_version to no, make sure it does not cause -set_version
19232
 
# flags to be left without arguments
19233
 
need_version=unknown
19234
 
 
19235
 
case $host_os in
19236
 
aix3*)
19237
 
  version_type=linux
19238
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19239
 
  shlibpath_var=LIBPATH
19240
 
 
19241
 
  # AIX 3 has no versioning support, so we append a major version to the name.
19242
 
  soname_spec='${libname}${release}${shared_ext}$major'
19243
 
  ;;
19244
 
 
19245
 
aix4* | aix5*)
19246
 
  version_type=linux
19247
 
  need_lib_prefix=no
19248
 
  need_version=no
19249
 
  hardcode_into_libs=yes
19250
 
  if test "$host_cpu" = ia64; then
19251
 
    # AIX 5 supports IA64
19252
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19253
 
    shlibpath_var=LD_LIBRARY_PATH
19254
 
  else
19255
 
    # With GCC up to 2.95.x, collect2 would create an import file
19256
 
    # for dependence libraries.  The import file would start with
19257
 
    # the line `#! .'.  This would cause the generated library to
19258
 
    # depend on `.', always an invalid library.  This was fixed in
19259
 
    # development snapshots of GCC prior to 3.0.
19260
 
    case $host_os in
19261
 
      aix4 | aix4.[01] | aix4.[01].*)
19262
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19263
 
           echo ' yes '
19264
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19265
 
        :
19266
 
      else
19267
 
        can_build_shared=no
19268
 
      fi
19269
 
      ;;
19270
 
    esac
19271
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19272
 
    # soname into executable. Probably we can add versioning support to
19273
 
    # collect2, so additional links can be useful in future.
19274
 
    if test "$aix_use_runtimelinking" = yes; then
19275
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19276
 
      # instead of lib<name>.a to let people know that these are not
19277
 
      # typical AIX shared libraries.
19278
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19279
 
    else
19280
 
      # We preserve .a as extension for shared libraries through AIX4.2
19281
 
      # and later when we are not doing run time linking.
19282
 
      library_names_spec='${libname}${release}.a $libname.a'
19283
 
      soname_spec='${libname}${release}${shared_ext}$major'
19284
 
    fi
19285
 
    shlibpath_var=LIBPATH
19286
 
  fi
19287
 
  ;;
19288
 
 
19289
 
amigaos*)
19290
 
  library_names_spec='$libname.ixlibrary $libname.a'
19291
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
19292
 
  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'
19293
 
  ;;
19294
 
 
19295
 
beos*)
19296
 
  library_names_spec='${libname}${shared_ext}'
19297
 
  dynamic_linker="$host_os ld.so"
19298
 
  shlibpath_var=LIBRARY_PATH
19299
 
  ;;
19300
 
 
19301
 
bsdi[45]*)
19302
 
  version_type=linux
19303
 
  need_version=no
19304
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19305
 
  soname_spec='${libname}${release}${shared_ext}$major'
19306
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19307
 
  shlibpath_var=LD_LIBRARY_PATH
19308
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19309
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19310
 
  # the default ld.so.conf also contains /usr/contrib/lib and
19311
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19312
 
  # libtool to hard-code these into programs
19313
 
  ;;
19314
 
 
19315
 
cygwin* | mingw* | pw32*)
19316
 
  version_type=windows
19317
 
  shrext_cmds=".dll"
19318
 
  need_version=no
19319
 
  need_lib_prefix=no
19320
 
 
19321
 
  case $GCC,$host_os in
19322
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
19323
 
    library_names_spec='$libname.dll.a'
19324
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19325
 
    postinstall_cmds='base_file=`basename \${file}`~
19326
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19327
 
      dldir=$destdir/`dirname \$dlpath`~
19328
 
      test -d \$dldir || mkdir -p \$dldir~
19329
 
      $install_prog $dir/$dlname \$dldir/$dlname~
19330
 
      chmod a+x \$dldir/$dlname'
19331
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19332
 
      dlpath=$dir/\$dldll~
19333
 
       $rm \$dlpath'
19334
 
    shlibpath_overrides_runpath=yes
19335
 
 
19336
 
    case $host_os in
19337
 
    cygwin*)
19338
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19339
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19340
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19341
 
      ;;
19342
 
    mingw*)
19343
 
      # MinGW DLLs use traditional 'lib' prefix
19344
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19345
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19346
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19347
 
        # It is most probably a Windows format PATH printed by
19348
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
19349
 
        # path with ; separators, and with drive letters. We can handle the
19350
 
        # drive letters (cygwin fileutils understands them), so leave them,
19351
 
        # especially as we might pass files found there to a mingw objdump,
19352
 
        # which wouldn't understand a cygwinified path. Ahh.
19353
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19354
 
      else
19355
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19356
 
      fi
19357
 
      ;;
19358
 
    pw32*)
19359
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
19360
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19361
 
      ;;
19362
 
    esac
19363
 
    ;;
19364
 
 
19365
 
  *)
19366
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19367
 
    ;;
19368
 
  esac
19369
 
  dynamic_linker='Win32 ld.exe'
19370
 
  # FIXME: first we should search . and the directory the executable is in
19371
 
  shlibpath_var=PATH
19372
 
  ;;
19373
 
 
19374
 
darwin* | rhapsody*)
19375
 
  dynamic_linker="$host_os dyld"
19376
 
  version_type=darwin
19377
 
  need_lib_prefix=no
19378
 
  need_version=no
19379
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19380
 
  soname_spec='${libname}${release}${major}$shared_ext'
19381
 
  shlibpath_overrides_runpath=yes
19382
 
  shlibpath_var=DYLD_LIBRARY_PATH
19383
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19384
 
   
19385
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19386
 
  ;;
19387
 
 
19388
 
dgux*)
19389
 
  version_type=linux
19390
 
  need_lib_prefix=no
19391
 
  need_version=no
19392
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19393
 
  soname_spec='${libname}${release}${shared_ext}$major'
19394
 
  shlibpath_var=LD_LIBRARY_PATH
19395
 
  ;;
19396
 
 
19397
 
freebsd1*)
19398
 
  dynamic_linker=no
19399
 
  ;;
19400
 
 
19401
 
freebsd* | dragonfly*)
19402
 
  # DragonFly does not have aout.  When/if they implement a new
19403
 
  # versioning mechanism, adjust this.
19404
 
  if test -x /usr/bin/objformat; then
19405
 
    objformat=`/usr/bin/objformat`
19406
 
  else
19407
 
    case $host_os in
19408
 
    freebsd[123]*) objformat=aout ;;
19409
 
    *) objformat=elf ;;
19410
 
    esac
19411
 
  fi
19412
 
  version_type=freebsd-$objformat
19413
 
  case $version_type in
19414
 
    freebsd-elf*)
19415
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19416
 
      need_version=no
19417
 
      need_lib_prefix=no
19418
 
      ;;
19419
 
    freebsd-*)
19420
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19421
 
      need_version=yes
19422
 
      ;;
19423
 
  esac
19424
 
  shlibpath_var=LD_LIBRARY_PATH
19425
 
  case $host_os in
19426
 
  freebsd2*)
19427
 
    shlibpath_overrides_runpath=yes
19428
 
    ;;
19429
 
  freebsd3.[01]* | freebsdelf3.[01]*)
19430
 
    shlibpath_overrides_runpath=yes
19431
 
    hardcode_into_libs=yes
19432
 
    ;;
19433
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19434
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19435
 
    shlibpath_overrides_runpath=no
19436
 
    hardcode_into_libs=yes
19437
 
    ;;
19438
 
  *) # from 4.6 on, and DragonFly
19439
 
    shlibpath_overrides_runpath=yes
19440
 
    hardcode_into_libs=yes
19441
 
    ;;
19442
 
  esac
19443
 
  ;;
19444
 
 
19445
 
gnu*)
19446
 
  version_type=linux
19447
 
  need_lib_prefix=no
19448
 
  need_version=no
19449
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19450
 
  soname_spec='${libname}${release}${shared_ext}$major'
19451
 
  shlibpath_var=LD_LIBRARY_PATH
19452
 
  hardcode_into_libs=yes
19453
 
  ;;
19454
 
 
19455
 
hpux9* | hpux10* | hpux11*)
19456
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
19457
 
  # link against other versions.
19458
 
  version_type=sunos
19459
 
  need_lib_prefix=no
19460
 
  need_version=no
19461
 
  case $host_cpu in
19462
 
  ia64*)
19463
 
    shrext_cmds='.so'
19464
 
    hardcode_into_libs=yes
19465
 
    dynamic_linker="$host_os dld.so"
19466
 
    shlibpath_var=LD_LIBRARY_PATH
19467
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19468
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19469
 
    soname_spec='${libname}${release}${shared_ext}$major'
19470
 
    if test "X$HPUX_IA64_MODE" = X32; then
19471
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19472
 
    else
19473
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19474
 
    fi
19475
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19476
 
    ;;
19477
 
   hppa*64*)
19478
 
     shrext_cmds='.sl'
19479
 
     hardcode_into_libs=yes
19480
 
     dynamic_linker="$host_os dld.sl"
19481
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19482
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19483
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19484
 
     soname_spec='${libname}${release}${shared_ext}$major'
19485
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19486
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19487
 
     ;;
19488
 
   *)
19489
 
    shrext_cmds='.sl'
19490
 
    dynamic_linker="$host_os dld.sl"
19491
 
    shlibpath_var=SHLIB_PATH
19492
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19493
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19494
 
    soname_spec='${libname}${release}${shared_ext}$major'
19495
 
    ;;
19496
 
  esac
19497
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19498
 
  postinstall_cmds='chmod 555 $lib'
19499
 
  ;;
19500
 
 
19501
 
interix[3-9]*)
19502
 
  version_type=linux
19503
 
  need_lib_prefix=no
19504
 
  need_version=no
19505
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19506
 
  soname_spec='${libname}${release}${shared_ext}$major'
19507
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19508
 
  shlibpath_var=LD_LIBRARY_PATH
19509
 
  shlibpath_overrides_runpath=no
19510
 
  hardcode_into_libs=yes
19511
 
  ;;
19512
 
 
19513
 
irix5* | irix6* | nonstopux*)
19514
 
  case $host_os in
19515
 
    nonstopux*) version_type=nonstopux ;;
19516
 
    *)
19517
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
19518
 
                version_type=linux
19519
 
        else
19520
 
                version_type=irix
19521
 
        fi ;;
19522
 
  esac
19523
 
  need_lib_prefix=no
19524
 
  need_version=no
19525
 
  soname_spec='${libname}${release}${shared_ext}$major'
19526
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19527
 
  case $host_os in
19528
 
  irix5* | nonstopux*)
19529
 
    libsuff= shlibsuff=
19530
 
    ;;
19531
 
  *)
19532
 
    case $LD in # libtool.m4 will add one of these switches to LD
19533
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19534
 
      libsuff= shlibsuff= libmagic=32-bit;;
19535
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19536
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
19537
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19538
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19539
 
    *) libsuff= shlibsuff= libmagic=never-match;;
19540
 
    esac
19541
 
    ;;
19542
 
  esac
19543
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19544
 
  shlibpath_overrides_runpath=no
19545
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19546
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19547
 
  hardcode_into_libs=yes
19548
 
  ;;
19549
 
 
19550
 
# No shared lib support for Linux oldld, aout, or coff.
19551
 
linux*oldld* | linux*aout* | linux*coff*)
19552
 
  dynamic_linker=no
19553
 
  ;;
19554
 
 
19555
 
# This must be Linux ELF.
19556
 
linux* | k*bsd*-gnu)
19557
 
  version_type=linux
19558
 
  need_lib_prefix=no
19559
 
  need_version=no
19560
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19561
 
  soname_spec='${libname}${release}${shared_ext}$major'
19562
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19563
 
  shlibpath_var=LD_LIBRARY_PATH
19564
 
  shlibpath_overrides_runpath=no
19565
 
  # This implies no fast_install, which is unacceptable.
19566
 
  # Some rework will be needed to allow for fast_install
19567
 
  # before this can be enabled.
19568
 
  hardcode_into_libs=yes
19569
 
 
19570
 
  # Append ld.so.conf contents to the search path
19571
 
  if test -f /etc/ld.so.conf; then
19572
 
    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' ' '`
19573
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19574
 
  fi
19575
 
 
19576
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19577
 
  # powerpc, because MkLinux only supported shared libraries with the
19578
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
19579
 
  # most powerpc-linux boxes support dynamic linking these days and
19580
 
  # people can always --disable-shared, the test was removed, and we
19581
 
  # assume the GNU/Linux dynamic linker is in use.
19582
 
  dynamic_linker='GNU/Linux ld.so'
19583
 
  ;;
19584
 
 
19585
 
netbsdelf*-gnu)
19586
 
  version_type=linux
19587
 
  need_lib_prefix=no
19588
 
  need_version=no
19589
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19590
 
  soname_spec='${libname}${release}${shared_ext}$major'
19591
 
  shlibpath_var=LD_LIBRARY_PATH
19592
 
  shlibpath_overrides_runpath=no
19593
 
  hardcode_into_libs=yes
19594
 
  dynamic_linker='NetBSD ld.elf_so'
19595
 
  ;;
19596
 
 
19597
 
netbsd*)
19598
 
  version_type=sunos
19599
 
  need_lib_prefix=no
19600
 
  need_version=no
19601
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19602
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19603
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19604
 
    dynamic_linker='NetBSD (a.out) ld.so'
19605
 
  else
19606
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19607
 
    soname_spec='${libname}${release}${shared_ext}$major'
19608
 
    dynamic_linker='NetBSD ld.elf_so'
19609
 
  fi
19610
 
  shlibpath_var=LD_LIBRARY_PATH
19611
 
  shlibpath_overrides_runpath=yes
19612
 
  hardcode_into_libs=yes
19613
 
  ;;
19614
 
 
19615
 
newsos6)
19616
 
  version_type=linux
19617
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19618
 
  shlibpath_var=LD_LIBRARY_PATH
19619
 
  shlibpath_overrides_runpath=yes
19620
 
  ;;
19621
 
 
19622
 
nto-qnx*)
19623
 
  version_type=linux
19624
 
  need_lib_prefix=no
19625
 
  need_version=no
19626
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19627
 
  soname_spec='${libname}${release}${shared_ext}$major'
19628
 
  shlibpath_var=LD_LIBRARY_PATH
19629
 
  shlibpath_overrides_runpath=yes
19630
 
  ;;
19631
 
 
19632
 
openbsd*)
19633
 
  version_type=sunos
19634
 
  sys_lib_dlsearch_path_spec="/usr/lib"
19635
 
  need_lib_prefix=no
19636
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19637
 
  case $host_os in
19638
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19639
 
    *)                         need_version=no  ;;
19640
 
  esac
19641
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19642
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19643
 
  shlibpath_var=LD_LIBRARY_PATH
19644
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19645
 
    case $host_os in
19646
 
      openbsd2.[89] | openbsd2.[89].*)
19647
 
        shlibpath_overrides_runpath=no
19648
 
        ;;
19649
 
      *)
19650
 
        shlibpath_overrides_runpath=yes
19651
 
        ;;
19652
 
      esac
19653
 
  else
19654
 
    shlibpath_overrides_runpath=yes
19655
 
  fi
19656
 
  ;;
19657
 
 
19658
 
os2*)
19659
 
  libname_spec='$name'
19660
 
  shrext_cmds=".dll"
19661
 
  need_lib_prefix=no
19662
 
  library_names_spec='$libname${shared_ext} $libname.a'
19663
 
  dynamic_linker='OS/2 ld.exe'
19664
 
  shlibpath_var=LIBPATH
19665
 
  ;;
19666
 
 
19667
 
osf3* | osf4* | osf5*)
19668
 
  version_type=osf
19669
 
  need_lib_prefix=no
19670
 
  need_version=no
19671
 
  soname_spec='${libname}${release}${shared_ext}$major'
19672
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19673
 
  shlibpath_var=LD_LIBRARY_PATH
19674
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19675
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19676
 
  ;;
19677
 
 
19678
 
rdos*)
19679
 
  dynamic_linker=no
19680
 
  ;;
19681
 
 
19682
 
solaris*)
19683
 
  version_type=linux
19684
 
  need_lib_prefix=no
19685
 
  need_version=no
19686
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19687
 
  soname_spec='${libname}${release}${shared_ext}$major'
19688
 
  shlibpath_var=LD_LIBRARY_PATH
19689
 
  shlibpath_overrides_runpath=yes
19690
 
  hardcode_into_libs=yes
19691
 
  # ldd complains unless libraries are executable
19692
 
  postinstall_cmds='chmod +x $lib'
19693
 
  ;;
19694
 
 
19695
 
sunos4*)
19696
 
  version_type=sunos
19697
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19698
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19699
 
  shlibpath_var=LD_LIBRARY_PATH
19700
 
  shlibpath_overrides_runpath=yes
19701
 
  if test "$with_gnu_ld" = yes; then
19702
 
    need_lib_prefix=no
19703
 
  fi
19704
 
  need_version=yes
19705
 
  ;;
19706
 
 
19707
 
sysv4 | sysv4.3*)
19708
 
  version_type=linux
19709
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19710
 
  soname_spec='${libname}${release}${shared_ext}$major'
19711
 
  shlibpath_var=LD_LIBRARY_PATH
19712
 
  case $host_vendor in
19713
 
    sni)
19714
 
      shlibpath_overrides_runpath=no
19715
 
      need_lib_prefix=no
19716
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
19717
 
      runpath_var=LD_RUN_PATH
19718
 
      ;;
19719
 
    siemens)
19720
 
      need_lib_prefix=no
19721
 
      ;;
19722
 
    motorola)
19723
 
      need_lib_prefix=no
19724
 
      need_version=no
19725
 
      shlibpath_overrides_runpath=no
19726
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19727
 
      ;;
19728
 
  esac
19729
 
  ;;
19730
 
 
19731
 
sysv4*MP*)
19732
 
  if test -d /usr/nec ;then
19733
 
    version_type=linux
19734
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19735
 
    soname_spec='$libname${shared_ext}.$major'
19736
 
    shlibpath_var=LD_LIBRARY_PATH
19737
 
  fi
19738
 
  ;;
19739
 
 
19740
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19741
 
  version_type=freebsd-elf
19742
 
  need_lib_prefix=no
19743
 
  need_version=no
19744
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19745
 
  soname_spec='${libname}${release}${shared_ext}$major'
19746
 
  shlibpath_var=LD_LIBRARY_PATH
19747
 
  hardcode_into_libs=yes
19748
 
  if test "$with_gnu_ld" = yes; then
19749
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19750
 
    shlibpath_overrides_runpath=no
19751
 
  else
19752
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19753
 
    shlibpath_overrides_runpath=yes
19754
 
    case $host_os in
19755
 
      sco3.2v5*)
19756
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19757
 
        ;;
19758
 
    esac
19759
 
  fi
19760
 
  sys_lib_dlsearch_path_spec='/usr/lib'
19761
 
  ;;
19762
 
 
19763
 
uts4*)
19764
 
  version_type=linux
19765
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19766
 
  soname_spec='${libname}${release}${shared_ext}$major'
19767
 
  shlibpath_var=LD_LIBRARY_PATH
19768
 
  ;;
19769
 
 
19770
 
*)
19771
 
  dynamic_linker=no
19772
 
  ;;
19773
 
esac
19774
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19775
 
echo "${ECHO_T}$dynamic_linker" >&6; }
19776
 
test "$dynamic_linker" = no && can_build_shared=no
19777
 
 
19778
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19779
 
if test "$GCC" = yes; then
19780
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19781
 
fi
19782
 
 
19783
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19784
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19785
 
hardcode_action_GCJ=
19786
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19787
 
   test -n "$runpath_var_GCJ" || \
19788
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19789
 
 
19790
 
  # We can hardcode non-existant directories.
19791
 
  if test "$hardcode_direct_GCJ" != no &&
19792
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19793
 
     # have to relink, otherwise we might link with an installed library
19794
 
     # when we should be linking with a yet-to-be-installed one
19795
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19796
 
     test "$hardcode_minus_L_GCJ" != no; then
19797
 
    # Linking always hardcodes the temporary library directory.
19798
 
    hardcode_action_GCJ=relink
19799
 
  else
19800
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19801
 
    hardcode_action_GCJ=immediate
19802
 
  fi
19803
 
else
19804
 
  # We cannot hardcode anything, or else we can only hardcode existing
19805
 
  # directories.
19806
 
  hardcode_action_GCJ=unsupported
19807
 
fi
19808
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19809
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19810
 
 
19811
 
if test "$hardcode_action_GCJ" = relink; then
19812
 
  # Fast installation is not supported
19813
 
  enable_fast_install=no
19814
 
elif test "$shlibpath_overrides_runpath" = yes ||
19815
 
     test "$enable_shared" = no; then
19816
 
  # Fast installation is not necessary
19817
 
  enable_fast_install=needless
19818
 
fi
19819
 
 
19820
 
 
19821
 
# The else clause should only fire when bootstrapping the
19822
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19823
 
# with your package, and you will get complaints that there are
19824
 
# no rules to generate ltmain.sh.
19825
 
if test -f "$ltmain"; then
19826
 
  # See if we are running on zsh, and set the options which allow our commands through
19827
 
  # without removal of \ escapes.
19828
 
  if test -n "${ZSH_VERSION+set}" ; then
19829
 
    setopt NO_GLOB_SUBST
19830
 
  fi
19831
 
  # Now quote all the things that may contain metacharacters while being
19832
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19833
 
  # variables and quote the copies for generation of the libtool script.
19834
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19835
 
    SED SHELL STRIP \
19836
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19837
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19838
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19839
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19840
 
    lt_cv_sys_global_symbol_to_c_name_address \
19841
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19842
 
    old_postinstall_cmds old_postuninstall_cmds \
19843
 
    compiler_GCJ \
19844
 
    CC_GCJ \
19845
 
    LD_GCJ \
19846
 
    lt_prog_compiler_wl_GCJ \
19847
 
    lt_prog_compiler_pic_GCJ \
19848
 
    lt_prog_compiler_static_GCJ \
19849
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19850
 
    export_dynamic_flag_spec_GCJ \
19851
 
    thread_safe_flag_spec_GCJ \
19852
 
    whole_archive_flag_spec_GCJ \
19853
 
    enable_shared_with_static_runtimes_GCJ \
19854
 
    old_archive_cmds_GCJ \
19855
 
    old_archive_from_new_cmds_GCJ \
19856
 
    predep_objects_GCJ \
19857
 
    postdep_objects_GCJ \
19858
 
    predeps_GCJ \
19859
 
    postdeps_GCJ \
19860
 
    compiler_lib_search_path_GCJ \
19861
 
    archive_cmds_GCJ \
19862
 
    archive_expsym_cmds_GCJ \
19863
 
    postinstall_cmds_GCJ \
19864
 
    postuninstall_cmds_GCJ \
19865
 
    old_archive_from_expsyms_cmds_GCJ \
19866
 
    allow_undefined_flag_GCJ \
19867
 
    no_undefined_flag_GCJ \
19868
 
    export_symbols_cmds_GCJ \
19869
 
    hardcode_libdir_flag_spec_GCJ \
19870
 
    hardcode_libdir_flag_spec_ld_GCJ \
19871
 
    hardcode_libdir_separator_GCJ \
19872
 
    hardcode_automatic_GCJ \
19873
 
    module_cmds_GCJ \
19874
 
    module_expsym_cmds_GCJ \
19875
 
    lt_cv_prog_compiler_c_o_GCJ \
19876
 
    fix_srcfile_path_GCJ \
19877
 
    exclude_expsyms_GCJ \
19878
 
    include_expsyms_GCJ; do
19879
 
 
19880
 
    case $var in
19881
 
    old_archive_cmds_GCJ | \
19882
 
    old_archive_from_new_cmds_GCJ | \
19883
 
    archive_cmds_GCJ | \
19884
 
    archive_expsym_cmds_GCJ | \
19885
 
    module_cmds_GCJ | \
19886
 
    module_expsym_cmds_GCJ | \
19887
 
    old_archive_from_expsyms_cmds_GCJ | \
19888
 
    export_symbols_cmds_GCJ | \
19889
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19890
 
    postinstall_cmds | postuninstall_cmds | \
19891
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19892
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19893
 
      # Double-quote double-evaled strings.
19894
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19895
 
      ;;
19896
 
    *)
19897
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19898
 
      ;;
19899
 
    esac
19900
 
  done
19901
 
 
19902
 
  case $lt_echo in
19903
 
  *'\$0 --fallback-echo"')
19904
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19905
 
    ;;
19906
 
  esac
19907
 
 
19908
 
cfgfile="$ofile"
19909
 
 
19910
 
  cat <<__EOF__ >> "$cfgfile"
19911
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19912
 
 
19913
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19914
 
 
19915
 
# Shell to use when invoking shell scripts.
19916
 
SHELL=$lt_SHELL
19917
 
 
19918
 
# Whether or not to build shared libraries.
19919
 
build_libtool_libs=$enable_shared
19920
 
 
19921
 
# Whether or not to build static libraries.
19922
 
build_old_libs=$enable_static
19923
 
 
19924
 
# Whether or not to add -lc for building shared libraries.
19925
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19926
 
 
19927
 
# Whether or not to disallow shared libs when runtime libs are static
19928
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19929
 
 
19930
 
# Whether or not to optimize for fast installation.
19931
 
fast_install=$enable_fast_install
19932
 
 
19933
 
# The host system.
19934
 
host_alias=$host_alias
19935
 
host=$host
19936
 
host_os=$host_os
19937
 
 
19938
 
# The build system.
19939
 
build_alias=$build_alias
19940
 
build=$build
19941
 
build_os=$build_os
19942
 
 
19943
 
# An echo program that does not interpret backslashes.
19944
 
echo=$lt_echo
19945
 
 
19946
 
# The archiver.
19947
 
AR=$lt_AR
19948
 
AR_FLAGS=$lt_AR_FLAGS
19949
 
 
19950
 
# A C compiler.
19951
 
LTCC=$lt_LTCC
19952
 
 
19953
 
# LTCC compiler flags.
19954
 
LTCFLAGS=$lt_LTCFLAGS
19955
 
 
19956
 
# A language-specific compiler.
19957
 
CC=$lt_compiler_GCJ
19958
 
 
19959
 
# Is the compiler the GNU C compiler?
19960
 
with_gcc=$GCC_GCJ
19961
 
 
19962
 
# An ERE matcher.
19963
 
EGREP=$lt_EGREP
19964
 
 
19965
 
# The linker used to build libraries.
19966
 
LD=$lt_LD_GCJ
19967
 
 
19968
 
# Whether we need hard or soft links.
19969
 
LN_S=$lt_LN_S
19970
 
 
19971
 
# A BSD-compatible nm program.
19972
 
NM=$lt_NM
19973
 
 
19974
 
# A symbol stripping program
19975
 
STRIP=$lt_STRIP
19976
 
 
19977
 
# Used to examine libraries when file_magic_cmd begins "file"
19978
 
MAGIC_CMD=$MAGIC_CMD
19979
 
 
19980
 
# Used on cygwin: DLL creation program.
19981
 
DLLTOOL="$DLLTOOL"
19982
 
 
19983
 
# Used on cygwin: object dumper.
19984
 
OBJDUMP="$OBJDUMP"
19985
 
 
19986
 
# Used on cygwin: assembler.
19987
 
AS="$AS"
19988
 
 
19989
 
# The name of the directory that contains temporary libtool files.
19990
 
objdir=$objdir
19991
 
 
19992
 
# How to create reloadable object files.
19993
 
reload_flag=$lt_reload_flag
19994
 
reload_cmds=$lt_reload_cmds
19995
 
 
19996
 
# How to pass a linker flag through the compiler.
19997
 
wl=$lt_lt_prog_compiler_wl_GCJ
19998
 
 
19999
 
# Object file suffix (normally "o").
20000
 
objext="$ac_objext"
20001
 
 
20002
 
# Old archive suffix (normally "a").
20003
 
libext="$libext"
20004
 
 
20005
 
# Shared library suffix (normally ".so").
20006
 
shrext_cmds='$shrext_cmds'
20007
 
 
20008
 
# Executable file suffix (normally "").
20009
 
exeext="$exeext"
20010
 
 
20011
 
# Additional compiler flags for building library objects.
20012
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
20013
 
pic_mode=$pic_mode
20014
 
 
20015
 
# What is the maximum length of a command?
20016
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20017
 
 
20018
 
# Does compiler simultaneously support -c and -o options?
20019
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20020
 
 
20021
 
# Must we lock files when doing compilation?
20022
 
need_locks=$lt_need_locks
20023
 
 
20024
 
# Do we need the lib prefix for modules?
20025
 
need_lib_prefix=$need_lib_prefix
20026
 
 
20027
 
# Do we need a version for libraries?
20028
 
need_version=$need_version
20029
 
 
20030
 
# Whether dlopen is supported.
20031
 
dlopen_support=$enable_dlopen
20032
 
 
20033
 
# Whether dlopen of programs is supported.
20034
 
dlopen_self=$enable_dlopen_self
20035
 
 
20036
 
# Whether dlopen of statically linked programs is supported.
20037
 
dlopen_self_static=$enable_dlopen_self_static
20038
 
 
20039
 
# Compiler flag to prevent dynamic linking.
20040
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
20041
 
 
20042
 
# Compiler flag to turn off builtin functions.
20043
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20044
 
 
20045
 
# Compiler flag to allow reflexive dlopens.
20046
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20047
 
 
20048
 
# Compiler flag to generate shared objects directly from archives.
20049
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20050
 
 
20051
 
# Compiler flag to generate thread-safe objects.
20052
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20053
 
 
20054
 
# Library versioning type.
20055
 
version_type=$version_type
20056
 
 
20057
 
# Format of library name prefix.
20058
 
libname_spec=$lt_libname_spec
20059
 
 
20060
 
# List of archive names.  First name is the real one, the rest are links.
20061
 
# The last name is the one that the linker finds with -lNAME.
20062
 
library_names_spec=$lt_library_names_spec
20063
 
 
20064
 
# The coded name of the library, if different from the real name.
20065
 
soname_spec=$lt_soname_spec
20066
 
 
20067
 
# Commands used to build and install an old-style archive.
20068
 
RANLIB=$lt_RANLIB
20069
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
20070
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20071
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20072
 
 
20073
 
# Create an old-style archive from a shared archive.
20074
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20075
 
 
20076
 
# Create a temporary old-style archive to link instead of a shared archive.
20077
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20078
 
 
20079
 
# Commands used to build and install a shared archive.
20080
 
archive_cmds=$lt_archive_cmds_GCJ
20081
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20082
 
postinstall_cmds=$lt_postinstall_cmds
20083
 
postuninstall_cmds=$lt_postuninstall_cmds
20084
 
 
20085
 
# Commands used to build a loadable module (assumed same as above if empty)
20086
 
module_cmds=$lt_module_cmds_GCJ
20087
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20088
 
 
20089
 
# Commands to strip libraries.
20090
 
old_striplib=$lt_old_striplib
20091
 
striplib=$lt_striplib
20092
 
 
20093
 
# Dependencies to place before the objects being linked to create a
20094
 
# shared library.
20095
 
predep_objects=$lt_predep_objects_GCJ
20096
 
 
20097
 
# Dependencies to place after the objects being linked to create a
20098
 
# shared library.
20099
 
postdep_objects=$lt_postdep_objects_GCJ
20100
 
 
20101
 
# Dependencies to place before the objects being linked to create a
20102
 
# shared library.
20103
 
predeps=$lt_predeps_GCJ
20104
 
 
20105
 
# Dependencies to place after the objects being linked to create a
20106
 
# shared library.
20107
 
postdeps=$lt_postdeps_GCJ
20108
 
 
20109
 
# The library search path used internally by the compiler when linking
20110
 
# a shared library.
20111
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20112
 
 
20113
 
# Method to check whether dependent libraries are shared objects.
20114
 
deplibs_check_method=$lt_deplibs_check_method
20115
 
 
20116
 
# Command to use when deplibs_check_method == file_magic.
20117
 
file_magic_cmd=$lt_file_magic_cmd
20118
 
 
20119
 
# Flag that allows shared libraries with undefined symbols to be built.
20120
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20121
 
 
20122
 
# Flag that forces no undefined symbols.
20123
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
20124
 
 
20125
 
# Commands used to finish a libtool library installation in a directory.
20126
 
finish_cmds=$lt_finish_cmds
20127
 
 
20128
 
# Same as above, but a single script fragment to be evaled but not shown.
20129
 
finish_eval=$lt_finish_eval
20130
 
 
20131
 
# Take the output of nm and produce a listing of raw symbols and C names.
20132
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20133
 
 
20134
 
# Transform the output of nm in a proper C declaration
20135
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20136
 
 
20137
 
# Transform the output of nm in a C name address pair
20138
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20139
 
 
20140
 
# This is the shared library runtime path variable.
20141
 
runpath_var=$runpath_var
20142
 
 
20143
 
# This is the shared library path variable.
20144
 
shlibpath_var=$shlibpath_var
20145
 
 
20146
 
# Is shlibpath searched before the hard-coded library search path?
20147
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20148
 
 
20149
 
# How to hardcode a shared library path into an executable.
20150
 
hardcode_action=$hardcode_action_GCJ
20151
 
 
20152
 
# Whether we should hardcode library paths into libraries.
20153
 
hardcode_into_libs=$hardcode_into_libs
20154
 
 
20155
 
# Flag to hardcode \$libdir into a binary during linking.
20156
 
# This must work even if \$libdir does not exist.
20157
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20158
 
 
20159
 
# If ld is used when linking, flag to hardcode \$libdir into
20160
 
# a binary during linking. This must work even if \$libdir does
20161
 
# not exist.
20162
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20163
 
 
20164
 
# Whether we need a single -rpath flag with a separated argument.
20165
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20166
 
 
20167
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20168
 
# resulting binary.
20169
 
hardcode_direct=$hardcode_direct_GCJ
20170
 
 
20171
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20172
 
# resulting binary.
20173
 
hardcode_minus_L=$hardcode_minus_L_GCJ
20174
 
 
20175
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20176
 
# the resulting binary.
20177
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20178
 
 
20179
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20180
 
# and all subsequent libraries and executables linked against it.
20181
 
hardcode_automatic=$hardcode_automatic_GCJ
20182
 
 
20183
 
# Variables whose values should be saved in libtool wrapper scripts and
20184
 
# restored at relink time.
20185
 
variables_saved_for_relink="$variables_saved_for_relink"
20186
 
 
20187
 
# Whether libtool must link a program against all its dependency libraries.
20188
 
link_all_deplibs=$link_all_deplibs_GCJ
20189
 
 
20190
 
# Compile-time system search path for libraries
20191
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20192
 
 
20193
 
# Run-time system search path for libraries
20194
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20195
 
 
20196
 
# Fix the shell variable \$srcfile for the compiler.
20197
 
fix_srcfile_path=$lt_fix_srcfile_path
20198
 
 
20199
 
# Set to yes if exported symbols are required.
20200
 
always_export_symbols=$always_export_symbols_GCJ
20201
 
 
20202
 
# The commands to list exported symbols.
20203
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20204
 
 
20205
 
# The commands to extract the exported symbol list from a shared archive.
20206
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20207
 
 
20208
 
# Symbols that should not be listed in the preloaded symbols.
20209
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
20210
 
 
20211
 
# Symbols that must always be exported.
20212
 
include_expsyms=$lt_include_expsyms_GCJ
20213
 
 
20214
 
# ### END LIBTOOL TAG CONFIG: $tagname
20215
 
 
20216
 
__EOF__
20217
 
 
20218
 
 
20219
 
else
20220
 
  # If there is no Makefile yet, we rely on a make rule to execute
20221
 
  # `config.status --recheck' to rerun these tests and create the
20222
 
  # libtool script then.
20223
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20224
 
  if test -f "$ltmain_in"; then
20225
 
    test -f Makefile && make "$ltmain"
20226
 
  fi
20227
 
fi
20228
 
 
20229
 
 
20230
 
ac_ext=c
20231
 
ac_cpp='$CPP $CPPFLAGS'
20232
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20233
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20234
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20235
 
 
20236
 
CC="$lt_save_CC"
20237
 
 
20238
 
        else
20239
 
          tagname=""
20240
 
        fi
20241
 
        ;;
20242
 
 
20243
 
      RC)
20244
 
        
20245
 
 
20246
 
# Source file extension for RC test sources.
20247
 
ac_ext=rc
20248
 
 
20249
 
# Object file extension for compiled RC test sources.
20250
 
objext=o
20251
 
objext_RC=$objext
20252
 
 
20253
 
# Code to be used in simple compile tests
20254
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20255
 
 
20256
 
# Code to be used in simple link tests
20257
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
20258
 
 
20259
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20260
 
 
20261
 
# If no C compiler was specified, use CC.
20262
 
LTCC=${LTCC-"$CC"}
20263
 
 
20264
 
# If no C compiler flags were specified, use CFLAGS.
20265
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20266
 
 
20267
 
# Allow CC to be a program name with arguments.
20268
 
compiler=$CC
20269
 
 
20270
 
 
20271
 
# save warnings/boilerplate of simple test code
20272
 
ac_outfile=conftest.$ac_objext
20273
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20274
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20275
 
_lt_compiler_boilerplate=`cat conftest.err`
20276
 
$rm conftest*
20277
 
 
20278
 
ac_outfile=conftest.$ac_objext
20279
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20280
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20281
 
_lt_linker_boilerplate=`cat conftest.err`
20282
 
$rm conftest*
20283
 
 
20284
 
 
20285
 
# Allow CC to be a program name with arguments.
20286
 
lt_save_CC="$CC"
20287
 
CC=${RC-"windres"}
20288
 
compiler=$CC
20289
 
compiler_RC=$CC
20290
 
for cc_temp in $compiler""; do
20291
 
  case $cc_temp in
20292
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20293
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20294
 
    \-*) ;;
20295
 
    *) break;;
20296
 
  esac
20297
 
done
20298
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20299
 
 
20300
 
lt_cv_prog_compiler_c_o_RC=yes
20301
 
 
20302
 
# The else clause should only fire when bootstrapping the
20303
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20304
 
# with your package, and you will get complaints that there are
20305
 
# no rules to generate ltmain.sh.
20306
 
if test -f "$ltmain"; then
20307
 
  # See if we are running on zsh, and set the options which allow our commands through
20308
 
  # without removal of \ escapes.
20309
 
  if test -n "${ZSH_VERSION+set}" ; then
20310
 
    setopt NO_GLOB_SUBST
20311
 
  fi
20312
 
  # Now quote all the things that may contain metacharacters while being
20313
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20314
 
  # variables and quote the copies for generation of the libtool script.
20315
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20316
 
    SED SHELL STRIP \
20317
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20318
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20319
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20320
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20321
 
    lt_cv_sys_global_symbol_to_c_name_address \
20322
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20323
 
    old_postinstall_cmds old_postuninstall_cmds \
20324
 
    compiler_RC \
20325
 
    CC_RC \
20326
 
    LD_RC \
20327
 
    lt_prog_compiler_wl_RC \
20328
 
    lt_prog_compiler_pic_RC \
20329
 
    lt_prog_compiler_static_RC \
20330
 
    lt_prog_compiler_no_builtin_flag_RC \
20331
 
    export_dynamic_flag_spec_RC \
20332
 
    thread_safe_flag_spec_RC \
20333
 
    whole_archive_flag_spec_RC \
20334
 
    enable_shared_with_static_runtimes_RC \
20335
 
    old_archive_cmds_RC \
20336
 
    old_archive_from_new_cmds_RC \
20337
 
    predep_objects_RC \
20338
 
    postdep_objects_RC \
20339
 
    predeps_RC \
20340
 
    postdeps_RC \
20341
 
    compiler_lib_search_path_RC \
20342
 
    archive_cmds_RC \
20343
 
    archive_expsym_cmds_RC \
20344
 
    postinstall_cmds_RC \
20345
 
    postuninstall_cmds_RC \
20346
 
    old_archive_from_expsyms_cmds_RC \
20347
 
    allow_undefined_flag_RC \
20348
 
    no_undefined_flag_RC \
20349
 
    export_symbols_cmds_RC \
20350
 
    hardcode_libdir_flag_spec_RC \
20351
 
    hardcode_libdir_flag_spec_ld_RC \
20352
 
    hardcode_libdir_separator_RC \
20353
 
    hardcode_automatic_RC \
20354
 
    module_cmds_RC \
20355
 
    module_expsym_cmds_RC \
20356
 
    lt_cv_prog_compiler_c_o_RC \
20357
 
    fix_srcfile_path_RC \
20358
 
    exclude_expsyms_RC \
20359
 
    include_expsyms_RC; do
20360
 
 
20361
 
    case $var in
20362
 
    old_archive_cmds_RC | \
20363
 
    old_archive_from_new_cmds_RC | \
20364
 
    archive_cmds_RC | \
20365
 
    archive_expsym_cmds_RC | \
20366
 
    module_cmds_RC | \
20367
 
    module_expsym_cmds_RC | \
20368
 
    old_archive_from_expsyms_cmds_RC | \
20369
 
    export_symbols_cmds_RC | \
20370
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20371
 
    postinstall_cmds | postuninstall_cmds | \
20372
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20373
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20374
 
      # Double-quote double-evaled strings.
20375
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20376
 
      ;;
20377
 
    *)
20378
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20379
 
      ;;
20380
 
    esac
20381
 
  done
20382
 
 
20383
 
  case $lt_echo in
20384
 
  *'\$0 --fallback-echo"')
20385
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20386
 
    ;;
20387
 
  esac
20388
 
 
20389
 
cfgfile="$ofile"
20390
 
 
20391
 
  cat <<__EOF__ >> "$cfgfile"
20392
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20393
 
 
20394
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20395
 
 
20396
 
# Shell to use when invoking shell scripts.
20397
 
SHELL=$lt_SHELL
20398
 
 
20399
 
# Whether or not to build shared libraries.
20400
 
build_libtool_libs=$enable_shared
20401
 
 
20402
 
# Whether or not to build static libraries.
20403
 
build_old_libs=$enable_static
20404
 
 
20405
 
# Whether or not to add -lc for building shared libraries.
20406
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
20407
 
 
20408
 
# Whether or not to disallow shared libs when runtime libs are static
20409
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20410
 
 
20411
 
# Whether or not to optimize for fast installation.
20412
 
fast_install=$enable_fast_install
20413
 
 
20414
 
# The host system.
20415
 
host_alias=$host_alias
20416
 
host=$host
20417
 
host_os=$host_os
20418
 
 
20419
 
# The build system.
20420
 
build_alias=$build_alias
20421
 
build=$build
20422
 
build_os=$build_os
20423
 
 
20424
 
# An echo program that does not interpret backslashes.
20425
 
echo=$lt_echo
20426
 
 
20427
 
# The archiver.
20428
 
AR=$lt_AR
20429
 
AR_FLAGS=$lt_AR_FLAGS
20430
 
 
20431
 
# A C compiler.
20432
 
LTCC=$lt_LTCC
20433
 
 
20434
 
# LTCC compiler flags.
20435
 
LTCFLAGS=$lt_LTCFLAGS
20436
 
 
20437
 
# A language-specific compiler.
20438
 
CC=$lt_compiler_RC
20439
 
 
20440
 
# Is the compiler the GNU C compiler?
20441
 
with_gcc=$GCC_RC
20442
 
 
20443
 
# An ERE matcher.
20444
 
EGREP=$lt_EGREP
20445
 
 
20446
 
# The linker used to build libraries.
20447
 
LD=$lt_LD_RC
20448
 
 
20449
 
# Whether we need hard or soft links.
20450
 
LN_S=$lt_LN_S
20451
 
 
20452
 
# A BSD-compatible nm program.
20453
 
NM=$lt_NM
20454
 
 
20455
 
# A symbol stripping program
20456
 
STRIP=$lt_STRIP
20457
 
 
20458
 
# Used to examine libraries when file_magic_cmd begins "file"
20459
 
MAGIC_CMD=$MAGIC_CMD
20460
 
 
20461
 
# Used on cygwin: DLL creation program.
20462
 
DLLTOOL="$DLLTOOL"
20463
 
 
20464
 
# Used on cygwin: object dumper.
20465
 
OBJDUMP="$OBJDUMP"
20466
 
 
20467
 
# Used on cygwin: assembler.
20468
 
AS="$AS"
20469
 
 
20470
 
# The name of the directory that contains temporary libtool files.
20471
 
objdir=$objdir
20472
 
 
20473
 
# How to create reloadable object files.
20474
 
reload_flag=$lt_reload_flag
20475
 
reload_cmds=$lt_reload_cmds
20476
 
 
20477
 
# How to pass a linker flag through the compiler.
20478
 
wl=$lt_lt_prog_compiler_wl_RC
20479
 
 
20480
 
# Object file suffix (normally "o").
20481
 
objext="$ac_objext"
20482
 
 
20483
 
# Old archive suffix (normally "a").
20484
 
libext="$libext"
20485
 
 
20486
 
# Shared library suffix (normally ".so").
20487
 
shrext_cmds='$shrext_cmds'
20488
 
 
20489
 
# Executable file suffix (normally "").
20490
 
exeext="$exeext"
20491
 
 
20492
 
# Additional compiler flags for building library objects.
20493
 
pic_flag=$lt_lt_prog_compiler_pic_RC
20494
 
pic_mode=$pic_mode
20495
 
 
20496
 
# What is the maximum length of a command?
20497
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20498
 
 
20499
 
# Does compiler simultaneously support -c and -o options?
20500
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20501
 
 
20502
 
# Must we lock files when doing compilation?
20503
 
need_locks=$lt_need_locks
20504
 
 
20505
 
# Do we need the lib prefix for modules?
20506
 
need_lib_prefix=$need_lib_prefix
20507
 
 
20508
 
# Do we need a version for libraries?
20509
 
need_version=$need_version
20510
 
 
20511
 
# Whether dlopen is supported.
20512
 
dlopen_support=$enable_dlopen
20513
 
 
20514
 
# Whether dlopen of programs is supported.
20515
 
dlopen_self=$enable_dlopen_self
20516
 
 
20517
 
# Whether dlopen of statically linked programs is supported.
20518
 
dlopen_self_static=$enable_dlopen_self_static
20519
 
 
20520
 
# Compiler flag to prevent dynamic linking.
20521
 
link_static_flag=$lt_lt_prog_compiler_static_RC
20522
 
 
20523
 
# Compiler flag to turn off builtin functions.
20524
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20525
 
 
20526
 
# Compiler flag to allow reflexive dlopens.
20527
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20528
 
 
20529
 
# Compiler flag to generate shared objects directly from archives.
20530
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20531
 
 
20532
 
# Compiler flag to generate thread-safe objects.
20533
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20534
 
 
20535
 
# Library versioning type.
20536
 
version_type=$version_type
20537
 
 
20538
 
# Format of library name prefix.
20539
 
libname_spec=$lt_libname_spec
20540
 
 
20541
 
# List of archive names.  First name is the real one, the rest are links.
20542
 
# The last name is the one that the linker finds with -lNAME.
20543
 
library_names_spec=$lt_library_names_spec
20544
 
 
20545
 
# The coded name of the library, if different from the real name.
20546
 
soname_spec=$lt_soname_spec
20547
 
 
20548
 
# Commands used to build and install an old-style archive.
20549
 
RANLIB=$lt_RANLIB
20550
 
old_archive_cmds=$lt_old_archive_cmds_RC
20551
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20552
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20553
 
 
20554
 
# Create an old-style archive from a shared archive.
20555
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20556
 
 
20557
 
# Create a temporary old-style archive to link instead of a shared archive.
20558
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20559
 
 
20560
 
# Commands used to build and install a shared archive.
20561
 
archive_cmds=$lt_archive_cmds_RC
20562
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20563
 
postinstall_cmds=$lt_postinstall_cmds
20564
 
postuninstall_cmds=$lt_postuninstall_cmds
20565
 
 
20566
 
# Commands used to build a loadable module (assumed same as above if empty)
20567
 
module_cmds=$lt_module_cmds_RC
20568
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
20569
 
 
20570
 
# Commands to strip libraries.
20571
 
old_striplib=$lt_old_striplib
20572
 
striplib=$lt_striplib
20573
 
 
20574
 
# Dependencies to place before the objects being linked to create a
20575
 
# shared library.
20576
 
predep_objects=$lt_predep_objects_RC
20577
 
 
20578
 
# Dependencies to place after the objects being linked to create a
20579
 
# shared library.
20580
 
postdep_objects=$lt_postdep_objects_RC
20581
 
 
20582
 
# Dependencies to place before the objects being linked to create a
20583
 
# shared library.
20584
 
predeps=$lt_predeps_RC
20585
 
 
20586
 
# Dependencies to place after the objects being linked to create a
20587
 
# shared library.
20588
 
postdeps=$lt_postdeps_RC
20589
 
 
20590
 
# The library search path used internally by the compiler when linking
20591
 
# a shared library.
20592
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20593
 
 
20594
 
# Method to check whether dependent libraries are shared objects.
20595
 
deplibs_check_method=$lt_deplibs_check_method
20596
 
 
20597
 
# Command to use when deplibs_check_method == file_magic.
20598
 
file_magic_cmd=$lt_file_magic_cmd
20599
 
 
20600
 
# Flag that allows shared libraries with undefined symbols to be built.
20601
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
20602
 
 
20603
 
# Flag that forces no undefined symbols.
20604
 
no_undefined_flag=$lt_no_undefined_flag_RC
20605
 
 
20606
 
# Commands used to finish a libtool library installation in a directory.
20607
 
finish_cmds=$lt_finish_cmds
20608
 
 
20609
 
# Same as above, but a single script fragment to be evaled but not shown.
20610
 
finish_eval=$lt_finish_eval
20611
 
 
20612
 
# Take the output of nm and produce a listing of raw symbols and C names.
20613
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20614
 
 
20615
 
# Transform the output of nm in a proper C declaration
20616
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20617
 
 
20618
 
# Transform the output of nm in a C name address pair
20619
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20620
 
 
20621
 
# This is the shared library runtime path variable.
20622
 
runpath_var=$runpath_var
20623
 
 
20624
 
# This is the shared library path variable.
20625
 
shlibpath_var=$shlibpath_var
20626
 
 
20627
 
# Is shlibpath searched before the hard-coded library search path?
20628
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20629
 
 
20630
 
# How to hardcode a shared library path into an executable.
20631
 
hardcode_action=$hardcode_action_RC
20632
 
 
20633
 
# Whether we should hardcode library paths into libraries.
20634
 
hardcode_into_libs=$hardcode_into_libs
20635
 
 
20636
 
# Flag to hardcode \$libdir into a binary during linking.
20637
 
# This must work even if \$libdir does not exist.
20638
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20639
 
 
20640
 
# If ld is used when linking, flag to hardcode \$libdir into
20641
 
# a binary during linking. This must work even if \$libdir does
20642
 
# not exist.
20643
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20644
 
 
20645
 
# Whether we need a single -rpath flag with a separated argument.
20646
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20647
 
 
20648
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20649
 
# resulting binary.
20650
 
hardcode_direct=$hardcode_direct_RC
20651
 
 
20652
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20653
 
# resulting binary.
20654
 
hardcode_minus_L=$hardcode_minus_L_RC
20655
 
 
20656
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20657
 
# the resulting binary.
20658
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20659
 
 
20660
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20661
 
# and all subsequent libraries and executables linked against it.
20662
 
hardcode_automatic=$hardcode_automatic_RC
20663
 
 
20664
 
# Variables whose values should be saved in libtool wrapper scripts and
20665
 
# restored at relink time.
20666
 
variables_saved_for_relink="$variables_saved_for_relink"
20667
 
 
20668
 
# Whether libtool must link a program against all its dependency libraries.
20669
 
link_all_deplibs=$link_all_deplibs_RC
20670
 
 
20671
 
# Compile-time system search path for libraries
20672
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20673
 
 
20674
 
# Run-time system search path for libraries
20675
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20676
 
 
20677
 
# Fix the shell variable \$srcfile for the compiler.
20678
 
fix_srcfile_path=$lt_fix_srcfile_path
20679
 
 
20680
 
# Set to yes if exported symbols are required.
20681
 
always_export_symbols=$always_export_symbols_RC
20682
 
 
20683
 
# The commands to list exported symbols.
20684
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
20685
 
 
20686
 
# The commands to extract the exported symbol list from a shared archive.
20687
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20688
 
 
20689
 
# Symbols that should not be listed in the preloaded symbols.
20690
 
exclude_expsyms=$lt_exclude_expsyms_RC
20691
 
 
20692
 
# Symbols that must always be exported.
20693
 
include_expsyms=$lt_include_expsyms_RC
20694
 
 
20695
 
# ### END LIBTOOL TAG CONFIG: $tagname
20696
 
 
20697
 
__EOF__
20698
 
 
20699
 
 
20700
 
else
20701
 
  # If there is no Makefile yet, we rely on a make rule to execute
20702
 
  # `config.status --recheck' to rerun these tests and create the
20703
 
  # libtool script then.
20704
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20705
 
  if test -f "$ltmain_in"; then
20706
 
    test -f Makefile && make "$ltmain"
20707
 
  fi
20708
 
fi
20709
 
 
20710
 
 
20711
 
ac_ext=c
20712
 
ac_cpp='$CPP $CPPFLAGS'
20713
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20714
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20715
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20716
 
 
20717
 
CC="$lt_save_CC"
20718
 
 
20719
 
        ;;
20720
 
 
20721
 
      *)
20722
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20723
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20724
 
   { (exit 1); exit 1; }; }
20725
 
        ;;
20726
 
      esac
20727
 
 
20728
 
      # Append the new tag name to the list of available tags.
20729
 
      if test -n "$tagname" ; then
20730
 
      available_tags="$available_tags $tagname"
20731
 
    fi
20732
 
    fi
20733
 
  done
20734
 
  IFS="$lt_save_ifs"
20735
 
 
20736
 
  # Now substitute the updated list of available tags.
20737
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20738
 
    mv "${ofile}T" "$ofile"
20739
 
    chmod +x "$ofile"
20740
 
  else
20741
 
    rm -f "${ofile}T"
20742
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20743
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20744
 
   { (exit 1); exit 1; }; }
20745
 
  fi
20746
 
fi
20747
 
 
20748
 
 
20749
 
 
20750
 
# This can be used to rebuild libtool when needed
20751
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20752
 
 
20753
 
# Always use our own libtool.
20754
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20755
 
 
20756
 
# Prevent multiple expansion
20757
 
 
20758
 
 
20759
 
 
20760
 
 
20761
 
 
20762
 
 
20763
 
 
20764
 
 
20765
 
 
20766
 
 
20767
 
 
20768
 
  
20769
 
 
20770
 
  
20771
 
 
20772
 
 
20773
 
  
20774
 
       
20775
 
       
20776
 
 
20777
 
 
20778
 
 
20779
 
 
20780
 
 
20781
 
 
20782
 
 
20783
 
ac_header_dirent=no
20784
 
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
20785
 
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20786
 
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
20787
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
20788
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20790
 
else
20791
 
  cat >conftest.$ac_ext <<_ACEOF
20792
 
/* confdefs.h.  */
20793
 
_ACEOF
20794
 
cat confdefs.h >>conftest.$ac_ext
20795
 
cat >>conftest.$ac_ext <<_ACEOF
20796
 
/* end confdefs.h.  */
20797
 
#include <sys/types.h>
20798
 
#include <$ac_hdr>
20799
 
 
20800
 
int
20801
 
main ()
20802
 
{
20803
 
if ((DIR *) 0)
20804
 
return 0;
20805
 
  ;
20806
 
  return 0;
20807
 
}
20808
 
_ACEOF
20809
 
rm -f conftest.$ac_objext
20810
 
if { (ac_try="$ac_compile"
20811
 
case "(($ac_try" in
20812
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20813
 
  *) ac_try_echo=$ac_try;;
20814
 
esac
20815
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20816
 
  (eval "$ac_compile") 2>conftest.er1
20817
 
  ac_status=$?
20818
 
  grep -v '^ *+' conftest.er1 >conftest.err
20819
 
  rm -f conftest.er1
20820
 
  cat conftest.err >&5
20821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822
 
  (exit $ac_status); } && {
20823
 
         test -z "$ac_c_werror_flag" ||
20824
 
         test ! -s conftest.err
20825
 
       } && test -s conftest.$ac_objext; then
20826
 
  eval "$as_ac_Header=yes"
20827
 
else
20828
 
  echo "$as_me: failed program was:" >&5
20829
 
sed 's/^/| /' conftest.$ac_ext >&5
20830
 
 
20831
 
        eval "$as_ac_Header=no"
20832
 
fi
20833
 
 
20834
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20835
 
fi
20836
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20837
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20838
 
echo "${ECHO_T}$ac_res" >&6; }
20839
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20840
 
  cat >>confdefs.h <<_ACEOF
20841
 
@%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20842
 
_ACEOF
20843
 
 
20844
 
ac_header_dirent=$ac_hdr; break
20845
 
fi
20846
 
 
20847
 
done
20848
 
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20849
 
if test $ac_header_dirent = dirent.h; then
20850
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
20851
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
20852
 
if test "${ac_cv_search_opendir+set}" = set; then
20853
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20854
 
else
20855
 
  ac_func_search_save_LIBS=$LIBS
20856
 
cat >conftest.$ac_ext <<_ACEOF
20857
 
/* confdefs.h.  */
20858
 
_ACEOF
20859
 
cat confdefs.h >>conftest.$ac_ext
20860
 
cat >>conftest.$ac_ext <<_ACEOF
20861
 
/* end confdefs.h.  */
20862
 
 
20863
 
/* Override any GCC internal prototype to avoid an error.
20864
 
   Use char because int might match the return type of a GCC
20865
 
   builtin and then its argument prototype would still apply.  */
20866
 
#ifdef __cplusplus
20867
 
extern "C"
20868
 
#endif
20869
 
char opendir ();
20870
 
int
20871
 
main ()
20872
 
{
20873
 
return opendir ();
20874
 
  ;
20875
 
  return 0;
20876
 
}
20877
 
_ACEOF
20878
 
for ac_lib in '' dir; do
20879
 
  if test -z "$ac_lib"; then
20880
 
    ac_res="none required"
20881
 
  else
20882
 
    ac_res=-l$ac_lib
20883
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20884
 
  fi
20885
 
  rm -f conftest.$ac_objext conftest$ac_exeext
20886
 
if { (ac_try="$ac_link"
20887
 
case "(($ac_try" in
20888
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20889
 
  *) ac_try_echo=$ac_try;;
20890
 
esac
20891
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20892
 
  (eval "$ac_link") 2>conftest.er1
20893
 
  ac_status=$?
20894
 
  grep -v '^ *+' conftest.er1 >conftest.err
20895
 
  rm -f conftest.er1
20896
 
  cat conftest.err >&5
20897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898
 
  (exit $ac_status); } && {
20899
 
         test -z "$ac_c_werror_flag" ||
20900
 
         test ! -s conftest.err
20901
 
       } && test -s conftest$ac_exeext &&
20902
 
       $as_test_x conftest$ac_exeext; then
20903
 
  ac_cv_search_opendir=$ac_res
20904
 
else
20905
 
  echo "$as_me: failed program was:" >&5
20906
 
sed 's/^/| /' conftest.$ac_ext >&5
20907
 
 
20908
 
        
20909
 
fi
20910
 
 
20911
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20912
 
      conftest$ac_exeext 
20913
 
  if test "${ac_cv_search_opendir+set}" = set; then
20914
 
  break
20915
 
fi
20916
 
done
20917
 
if test "${ac_cv_search_opendir+set}" = set; then
20918
 
  :
20919
 
else
20920
 
  ac_cv_search_opendir=no
20921
 
fi
20922
 
rm conftest.$ac_ext
20923
 
LIBS=$ac_func_search_save_LIBS
20924
 
fi
20925
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20926
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
20927
 
ac_res=$ac_cv_search_opendir
20928
 
if test "$ac_res" != no; then
20929
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20930
 
  
20931
 
fi
20932
 
 
20933
 
else
20934
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
20935
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
20936
 
if test "${ac_cv_search_opendir+set}" = set; then
20937
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20938
 
else
20939
 
  ac_func_search_save_LIBS=$LIBS
20940
 
cat >conftest.$ac_ext <<_ACEOF
20941
 
/* confdefs.h.  */
20942
 
_ACEOF
20943
 
cat confdefs.h >>conftest.$ac_ext
20944
 
cat >>conftest.$ac_ext <<_ACEOF
20945
 
/* end confdefs.h.  */
20946
 
 
20947
 
/* Override any GCC internal prototype to avoid an error.
20948
 
   Use char because int might match the return type of a GCC
20949
 
   builtin and then its argument prototype would still apply.  */
20950
 
#ifdef __cplusplus
20951
 
extern "C"
20952
 
#endif
20953
 
char opendir ();
20954
 
int
20955
 
main ()
20956
 
{
20957
 
return opendir ();
20958
 
  ;
20959
 
  return 0;
20960
 
}
20961
 
_ACEOF
20962
 
for ac_lib in '' x; do
20963
 
  if test -z "$ac_lib"; then
20964
 
    ac_res="none required"
20965
 
  else
20966
 
    ac_res=-l$ac_lib
20967
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20968
 
  fi
20969
 
  rm -f conftest.$ac_objext conftest$ac_exeext
20970
 
if { (ac_try="$ac_link"
20971
 
case "(($ac_try" in
20972
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20973
 
  *) ac_try_echo=$ac_try;;
20974
 
esac
20975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976
 
  (eval "$ac_link") 2>conftest.er1
20977
 
  ac_status=$?
20978
 
  grep -v '^ *+' conftest.er1 >conftest.err
20979
 
  rm -f conftest.er1
20980
 
  cat conftest.err >&5
20981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982
 
  (exit $ac_status); } && {
20983
 
         test -z "$ac_c_werror_flag" ||
20984
 
         test ! -s conftest.err
20985
 
       } && test -s conftest$ac_exeext &&
20986
 
       $as_test_x conftest$ac_exeext; then
20987
 
  ac_cv_search_opendir=$ac_res
20988
 
else
20989
 
  echo "$as_me: failed program was:" >&5
20990
 
sed 's/^/| /' conftest.$ac_ext >&5
20991
 
 
20992
 
        
20993
 
fi
20994
 
 
20995
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20996
 
      conftest$ac_exeext 
20997
 
  if test "${ac_cv_search_opendir+set}" = set; then
20998
 
  break
20999
 
fi
21000
 
done
21001
 
if test "${ac_cv_search_opendir+set}" = set; then
21002
 
  :
21003
 
else
21004
 
  ac_cv_search_opendir=no
21005
 
fi
21006
 
rm conftest.$ac_ext
21007
 
LIBS=$ac_func_search_save_LIBS
21008
 
fi
21009
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21010
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21011
 
ac_res=$ac_cv_search_opendir
21012
 
if test "$ac_res" != no; then
21013
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21014
 
  
21015
 
fi
21016
 
 
21017
 
fi
21018
 
 
21019
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21020
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21021
 
if test "${ac_cv_header_stdc+set}" = set; then
21022
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21023
 
else
21024
 
  cat >conftest.$ac_ext <<_ACEOF
21025
 
/* confdefs.h.  */
21026
 
_ACEOF
21027
 
cat confdefs.h >>conftest.$ac_ext
21028
 
cat >>conftest.$ac_ext <<_ACEOF
21029
 
/* end confdefs.h.  */
21030
 
#include <stdlib.h>
21031
 
#include <stdarg.h>
21032
 
#include <string.h>
21033
 
#include <float.h>
21034
 
 
21035
 
int
21036
 
main ()
21037
 
{
21038
 
 
21039
 
  ;
21040
 
  return 0;
21041
 
}
21042
 
_ACEOF
21043
 
rm -f conftest.$ac_objext
21044
 
if { (ac_try="$ac_compile"
21045
 
case "(($ac_try" in
21046
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21047
 
  *) ac_try_echo=$ac_try;;
21048
 
esac
21049
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21050
 
  (eval "$ac_compile") 2>conftest.er1
21051
 
  ac_status=$?
21052
 
  grep -v '^ *+' conftest.er1 >conftest.err
21053
 
  rm -f conftest.er1
21054
 
  cat conftest.err >&5
21055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056
 
  (exit $ac_status); } && {
21057
 
         test -z "$ac_c_werror_flag" ||
21058
 
         test ! -s conftest.err
21059
 
       } && test -s conftest.$ac_objext; then
21060
 
  ac_cv_header_stdc=yes
21061
 
else
21062
 
  echo "$as_me: failed program was:" >&5
21063
 
sed 's/^/| /' conftest.$ac_ext >&5
21064
 
 
21065
 
        ac_cv_header_stdc=no
21066
 
fi
21067
 
 
21068
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069
 
 
21070
 
if test $ac_cv_header_stdc = yes; then
21071
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21072
 
  cat >conftest.$ac_ext <<_ACEOF
21073
 
/* confdefs.h.  */
21074
 
_ACEOF
21075
 
cat confdefs.h >>conftest.$ac_ext
21076
 
cat >>conftest.$ac_ext <<_ACEOF
21077
 
/* end confdefs.h.  */
21078
 
#include <string.h>
21079
 
 
21080
 
_ACEOF
21081
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21082
 
  $EGREP "memchr" >/dev/null 2>&1; then
21083
 
  :
21084
 
else
21085
 
  ac_cv_header_stdc=no
21086
 
fi
21087
 
rm -f conftest*
21088
 
 
21089
 
fi
21090
 
 
21091
 
if test $ac_cv_header_stdc = yes; then
21092
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21093
 
  cat >conftest.$ac_ext <<_ACEOF
21094
 
/* confdefs.h.  */
21095
 
_ACEOF
21096
 
cat confdefs.h >>conftest.$ac_ext
21097
 
cat >>conftest.$ac_ext <<_ACEOF
21098
 
/* end confdefs.h.  */
21099
 
#include <stdlib.h>
21100
 
 
21101
 
_ACEOF
21102
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21103
 
  $EGREP "free" >/dev/null 2>&1; then
21104
 
  :
21105
 
else
21106
 
  ac_cv_header_stdc=no
21107
 
fi
21108
 
rm -f conftest*
21109
 
 
21110
 
fi
21111
 
 
21112
 
if test $ac_cv_header_stdc = yes; then
21113
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21114
 
  if test "$cross_compiling" = yes; then
21115
 
  :
21116
 
else
21117
 
  cat >conftest.$ac_ext <<_ACEOF
21118
 
/* confdefs.h.  */
21119
 
_ACEOF
21120
 
cat confdefs.h >>conftest.$ac_ext
21121
 
cat >>conftest.$ac_ext <<_ACEOF
21122
 
/* end confdefs.h.  */
21123
 
#include <ctype.h>
21124
 
#include <stdlib.h>
21125
 
#if ((' ' & 0x0FF) == 0x020)
21126
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21127
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21128
 
#else
21129
 
# define ISLOWER(c) \
21130
 
                   (('a' <= (c) && (c) <= 'i') \
21131
 
                     || ('j' <= (c) && (c) <= 'r') \
21132
 
                     || ('s' <= (c) && (c) <= 'z'))
21133
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21134
 
#endif
21135
 
 
21136
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21137
 
int
21138
 
main ()
21139
 
{
21140
 
  int i;
21141
 
  for (i = 0; i < 256; i++)
21142
 
    if (XOR (islower (i), ISLOWER (i))
21143
 
        || toupper (i) != TOUPPER (i))
21144
 
      return 2;
21145
 
  return 0;
21146
 
}
21147
 
_ACEOF
21148
 
rm -f conftest$ac_exeext
21149
 
if { (ac_try="$ac_link"
21150
 
case "(($ac_try" in
21151
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21152
 
  *) ac_try_echo=$ac_try;;
21153
 
esac
21154
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21155
 
  (eval "$ac_link") 2>&5
21156
 
  ac_status=$?
21157
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21159
 
  { (case "(($ac_try" in
21160
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21161
 
  *) ac_try_echo=$ac_try;;
21162
 
esac
21163
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21164
 
  (eval "$ac_try") 2>&5
21165
 
  ac_status=$?
21166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167
 
  (exit $ac_status); }; }; then
21168
 
  :
21169
 
else
21170
 
  echo "$as_me: program exited with status $ac_status" >&5
21171
 
echo "$as_me: failed program was:" >&5
21172
 
sed 's/^/| /' conftest.$ac_ext >&5
21173
 
 
21174
 
( exit $ac_status )
21175
 
ac_cv_header_stdc=no
21176
 
fi
21177
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21178
 
fi
21179
 
 
21180
 
 
21181
 
fi
21182
 
fi
21183
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21184
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21185
 
if test $ac_cv_header_stdc = yes; then
21186
 
  
21187
 
cat >>confdefs.h <<\_ACEOF
21188
 
@%:@define STDC_HEADERS 1
21189
 
_ACEOF
21190
 
 
21191
 
fi
21192
 
 
21193
 
 
21194
 
 
21195
 
 
21196
 
 
21197
 
 
21198
 
 
21199
 
 
21200
 
for ac_header in fcntl.h limits.h stdlib.h string.h sys/param.h unistd.h malloc.h
21201
 
do
21202
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21203
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21204
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21205
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21206
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21207
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21208
 
fi
21209
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21210
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21211
 
echo "${ECHO_T}$ac_res" >&6; }
21212
 
else
21213
 
  # Is the header compilable?
21214
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21215
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21216
 
cat >conftest.$ac_ext <<_ACEOF
21217
 
/* confdefs.h.  */
21218
 
_ACEOF
21219
 
cat confdefs.h >>conftest.$ac_ext
21220
 
cat >>conftest.$ac_ext <<_ACEOF
21221
 
/* end confdefs.h.  */
21222
 
$ac_includes_default
21223
 
@%:@include <$ac_header>
21224
 
_ACEOF
21225
 
rm -f conftest.$ac_objext
21226
 
if { (ac_try="$ac_compile"
21227
 
case "(($ac_try" in
21228
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229
 
  *) ac_try_echo=$ac_try;;
21230
 
esac
21231
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232
 
  (eval "$ac_compile") 2>conftest.er1
21233
 
  ac_status=$?
21234
 
  grep -v '^ *+' conftest.er1 >conftest.err
21235
 
  rm -f conftest.er1
21236
 
  cat conftest.err >&5
21237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238
 
  (exit $ac_status); } && {
21239
 
         test -z "$ac_c_werror_flag" ||
21240
 
         test ! -s conftest.err
21241
 
       } && test -s conftest.$ac_objext; then
21242
 
  ac_header_compiler=yes
21243
 
else
21244
 
  echo "$as_me: failed program was:" >&5
21245
 
sed 's/^/| /' conftest.$ac_ext >&5
21246
 
 
21247
 
        ac_header_compiler=no
21248
 
fi
21249
 
 
21250
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21252
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21253
 
 
21254
 
# Is the header present?
21255
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21256
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21257
 
cat >conftest.$ac_ext <<_ACEOF
21258
 
/* confdefs.h.  */
21259
 
_ACEOF
21260
 
cat confdefs.h >>conftest.$ac_ext
21261
 
cat >>conftest.$ac_ext <<_ACEOF
21262
 
/* end confdefs.h.  */
21263
 
@%:@include <$ac_header>
21264
 
_ACEOF
21265
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21266
 
case "(($ac_try" in
21267
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268
 
  *) ac_try_echo=$ac_try;;
21269
 
esac
21270
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21272
 
  ac_status=$?
21273
 
  grep -v '^ *+' conftest.er1 >conftest.err
21274
 
  rm -f conftest.er1
21275
 
  cat conftest.err >&5
21276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277
 
  (exit $ac_status); } >/dev/null && {
21278
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21279
 
         test ! -s conftest.err
21280
 
       }; then
21281
 
  ac_header_preproc=yes
21282
 
else
21283
 
  echo "$as_me: failed program was:" >&5
21284
 
sed 's/^/| /' conftest.$ac_ext >&5
21285
 
 
21286
 
  ac_header_preproc=no
21287
 
fi
21288
 
 
21289
 
rm -f conftest.err conftest.$ac_ext
21290
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21291
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21292
 
 
21293
 
# So?  What about this header?
21294
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21295
 
  yes:no: )
21296
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21297
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21298
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21299
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21300
 
    ac_header_preproc=yes
21301
 
    ;;
21302
 
  no:yes:* )
21303
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21304
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21305
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21306
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21307
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21308
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21309
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21310
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21311
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21312
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21313
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21314
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21315
 
    
21316
 
    ;;
21317
 
esac
21318
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21319
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21320
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21322
 
else
21323
 
  eval "$as_ac_Header=\$ac_header_preproc"
21324
 
fi
21325
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21326
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21327
 
echo "${ECHO_T}$ac_res" >&6; }
21328
 
 
21329
 
fi
21330
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21331
 
  cat >>confdefs.h <<_ACEOF
21332
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21333
 
_ACEOF
21334
 
 
21335
 
fi
21336
 
 
21337
 
done
21338
 
 
21339
 
 
21340
 
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
21341
 
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
21342
 
if test "${ac_cv_header_stdbool_h+set}" = set; then
21343
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21344
 
else
21345
 
  cat >conftest.$ac_ext <<_ACEOF
21346
 
/* confdefs.h.  */
21347
 
_ACEOF
21348
 
cat confdefs.h >>conftest.$ac_ext
21349
 
cat >>conftest.$ac_ext <<_ACEOF
21350
 
/* end confdefs.h.  */
21351
 
 
21352
 
#include <stdbool.h>
21353
 
#ifndef bool
21354
 
 "error: bool is not defined"
21355
 
#endif
21356
 
#ifndef false
21357
 
 "error: false is not defined"
21358
 
#endif
21359
 
#if false
21360
 
 "error: false is not 0"
21361
 
#endif
21362
 
#ifndef true
21363
 
 "error: true is not defined"
21364
 
#endif
21365
 
#if true != 1
21366
 
 "error: true is not 1"
21367
 
#endif
21368
 
#ifndef __bool_true_false_are_defined
21369
 
 "error: __bool_true_false_are_defined is not defined"
21370
 
#endif
21371
 
 
21372
 
        struct s { _Bool s: 1; _Bool t; } s;
21373
 
 
21374
 
        char a[true == 1 ? 1 : -1];
21375
 
        char b[false == 0 ? 1 : -1];
21376
 
        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
21377
 
        char d[(bool) 0.5 == true ? 1 : -1];
21378
 
        bool e = &s;
21379
 
        char f[(_Bool) 0.0 == false ? 1 : -1];
21380
 
        char g[true];
21381
 
        char h[sizeof (_Bool)];
21382
 
        char i[sizeof s.t];
21383
 
        enum { j = false, k = true, l = false * true, m = true * 256 };
21384
 
        _Bool n[m];
21385
 
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
21386
 
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
21387
 
#       if defined __xlc__ || defined __GNUC__
21388
 
         /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
21389
 
            reported by James Lemley on 2005-10-05; see
21390
 
            http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
21391
 
            This test is not quite right, since xlc is allowed to
21392
 
            reject this program, as the initializer for xlcbug is
21393
 
            not one of the forms that C requires support for.
21394
 
            However, doing the test right would require a runtime
21395
 
            test, and that would make cross-compilation harder.
21396
 
            Let us hope that IBM fixes the xlc bug, and also adds
21397
 
            support for this kind of constant expression.  In the
21398
 
            meantime, this test will reject xlc, which is OK, since
21399
 
            our stdbool.h substitute should suffice.  We also test
21400
 
            this with GCC, where it should work, to detect more
21401
 
            quickly whether someone messes up the test in the
21402
 
            future.  */
21403
 
         char digs[] = "0123456789";
21404
 
         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
21405
 
#       endif
21406
 
        /* Catch a bug in an HP-UX C compiler.  See
21407
 
           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
21408
 
           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
21409
 
         */
21410
 
        _Bool q = true;
21411
 
        _Bool *pq = &q;
21412
 
      
21413
 
int
21414
 
main ()
21415
 
{
21416
 
 
21417
 
        *pq |= q;
21418
 
        *pq |= ! q;
21419
 
        /* Refer to every declared value, to avoid compiler optimizations.  */
21420
 
        return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
21421
 
                + !m + !n + !o + !p + !q + !pq);
21422
 
      
21423
 
  ;
21424
 
  return 0;
21425
 
}
21426
 
_ACEOF
21427
 
rm -f conftest.$ac_objext
21428
 
if { (ac_try="$ac_compile"
21429
 
case "(($ac_try" in
21430
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21431
 
  *) ac_try_echo=$ac_try;;
21432
 
esac
21433
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21434
 
  (eval "$ac_compile") 2>conftest.er1
21435
 
  ac_status=$?
21436
 
  grep -v '^ *+' conftest.er1 >conftest.err
21437
 
  rm -f conftest.er1
21438
 
  cat conftest.err >&5
21439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440
 
  (exit $ac_status); } && {
21441
 
         test -z "$ac_c_werror_flag" ||
21442
 
         test ! -s conftest.err
21443
 
       } && test -s conftest.$ac_objext; then
21444
 
  ac_cv_header_stdbool_h=yes
21445
 
else
21446
 
  echo "$as_me: failed program was:" >&5
21447
 
sed 's/^/| /' conftest.$ac_ext >&5
21448
 
 
21449
 
        ac_cv_header_stdbool_h=no
21450
 
fi
21451
 
 
21452
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453
 
fi
21454
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
21455
 
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
21456
 
{ echo "$as_me:$LINENO: checking for _Bool" >&5
21457
 
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
21458
 
if test "${ac_cv_type__Bool+set}" = set; then
21459
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21460
 
else
21461
 
  cat >conftest.$ac_ext <<_ACEOF
21462
 
/* confdefs.h.  */
21463
 
_ACEOF
21464
 
cat confdefs.h >>conftest.$ac_ext
21465
 
cat >>conftest.$ac_ext <<_ACEOF
21466
 
/* end confdefs.h.  */
21467
 
$ac_includes_default
21468
 
typedef _Bool ac__type_new_;
21469
 
int
21470
 
main ()
21471
 
{
21472
 
if ((ac__type_new_ *) 0)
21473
 
  return 0;
21474
 
if (sizeof (ac__type_new_))
21475
 
  return 0;
21476
 
  ;
21477
 
  return 0;
21478
 
}
21479
 
_ACEOF
21480
 
rm -f conftest.$ac_objext
21481
 
if { (ac_try="$ac_compile"
21482
 
case "(($ac_try" in
21483
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21484
 
  *) ac_try_echo=$ac_try;;
21485
 
esac
21486
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21487
 
  (eval "$ac_compile") 2>conftest.er1
21488
 
  ac_status=$?
21489
 
  grep -v '^ *+' conftest.er1 >conftest.err
21490
 
  rm -f conftest.er1
21491
 
  cat conftest.err >&5
21492
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493
 
  (exit $ac_status); } && {
21494
 
         test -z "$ac_c_werror_flag" ||
21495
 
         test ! -s conftest.err
21496
 
       } && test -s conftest.$ac_objext; then
21497
 
  ac_cv_type__Bool=yes
21498
 
else
21499
 
  echo "$as_me: failed program was:" >&5
21500
 
sed 's/^/| /' conftest.$ac_ext >&5
21501
 
 
21502
 
        ac_cv_type__Bool=no
21503
 
fi
21504
 
 
21505
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21506
 
fi
21507
 
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
21508
 
echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
21509
 
if test $ac_cv_type__Bool = yes; then
21510
 
  
21511
 
cat >>confdefs.h <<_ACEOF
21512
 
@%:@define HAVE__BOOL 1
21513
 
_ACEOF
21514
 
 
21515
 
 
21516
 
fi
21517
 
 
21518
 
if test $ac_cv_header_stdbool_h = yes; then
21519
 
  
21520
 
cat >>confdefs.h <<\_ACEOF
21521
 
@%:@define HAVE_STDBOOL_H 1
21522
 
_ACEOF
21523
 
 
21524
 
fi
21525
 
 
21526
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21527
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21528
 
if test "${ac_cv_c_const+set}" = set; then
21529
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21530
 
else
21531
 
  cat >conftest.$ac_ext <<_ACEOF
21532
 
/* confdefs.h.  */
21533
 
_ACEOF
21534
 
cat confdefs.h >>conftest.$ac_ext
21535
 
cat >>conftest.$ac_ext <<_ACEOF
21536
 
/* end confdefs.h.  */
21537
 
 
21538
 
int
21539
 
main ()
21540
 
{
21541
 
/* FIXME: Include the comments suggested by Paul. */
21542
 
#ifndef __cplusplus
21543
 
  /* Ultrix mips cc rejects this.  */
21544
 
  typedef int charset[2];
21545
 
  const charset cs;
21546
 
  /* SunOS 4.1.1 cc rejects this.  */
21547
 
  char const *const *pcpcc;
21548
 
  char **ppc;
21549
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
21550
 
  struct point {int x, y;};
21551
 
  static struct point const zero = {0,0};
21552
 
  /* AIX XL C 1.02.0.0 rejects this.
21553
 
     It does not let you subtract one const X* pointer from another in
21554
 
     an arm of an if-expression whose if-part is not a constant
21555
 
     expression */
21556
 
  const char *g = "string";
21557
 
  pcpcc = &g + (g ? g-g : 0);
21558
 
  /* HPUX 7.0 cc rejects these. */
21559
 
  ++pcpcc;
21560
 
  ppc = (char**) pcpcc;
21561
 
  pcpcc = (char const *const *) ppc;
21562
 
  { /* SCO 3.2v4 cc rejects this.  */
21563
 
    char *t;
21564
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
21565
 
 
21566
 
    *t++ = 0;
21567
 
    if (s) return 0;
21568
 
  }
21569
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
21570
 
    int x[] = {25, 17};
21571
 
    const int *foo = &x[0];
21572
 
    ++foo;
21573
 
  }
21574
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21575
 
    typedef const int *iptr;
21576
 
    iptr p = 0;
21577
 
    ++p;
21578
 
  }
21579
 
  { /* AIX XL C 1.02.0.0 rejects this saying
21580
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21581
 
    struct s { int j; const int *ap[3]; };
21582
 
    struct s *b; b->j = 5;
21583
 
  }
21584
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21585
 
    const int foo = 10;
21586
 
    if (!foo) return 0;
21587
 
  }
21588
 
  return !cs[0] && !zero.x;
21589
 
#endif
21590
 
 
21591
 
  ;
21592
 
  return 0;
21593
 
}
21594
 
_ACEOF
21595
 
rm -f conftest.$ac_objext
21596
 
if { (ac_try="$ac_compile"
21597
 
case "(($ac_try" in
21598
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21599
 
  *) ac_try_echo=$ac_try;;
21600
 
esac
21601
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21602
 
  (eval "$ac_compile") 2>conftest.er1
21603
 
  ac_status=$?
21604
 
  grep -v '^ *+' conftest.er1 >conftest.err
21605
 
  rm -f conftest.er1
21606
 
  cat conftest.err >&5
21607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608
 
  (exit $ac_status); } && {
21609
 
         test -z "$ac_c_werror_flag" ||
21610
 
         test ! -s conftest.err
21611
 
       } && test -s conftest.$ac_objext; then
21612
 
  ac_cv_c_const=yes
21613
 
else
21614
 
  echo "$as_me: failed program was:" >&5
21615
 
sed 's/^/| /' conftest.$ac_ext >&5
21616
 
 
21617
 
        ac_cv_c_const=no
21618
 
fi
21619
 
 
21620
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21621
 
fi
21622
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21623
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
21624
 
if test $ac_cv_c_const = no; then
21625
 
  
21626
 
cat >>confdefs.h <<\_ACEOF
21627
 
@%:@define const 
21628
 
_ACEOF
21629
 
 
21630
 
fi
21631
 
 
21632
 
{ echo "$as_me:$LINENO: checking for inline" >&5
21633
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21634
 
if test "${ac_cv_c_inline+set}" = set; then
21635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21636
 
else
21637
 
  ac_cv_c_inline=no
21638
 
for ac_kw in inline __inline__ __inline; do
21639
 
  cat >conftest.$ac_ext <<_ACEOF
21640
 
/* confdefs.h.  */
21641
 
_ACEOF
21642
 
cat confdefs.h >>conftest.$ac_ext
21643
 
cat >>conftest.$ac_ext <<_ACEOF
21644
 
/* end confdefs.h.  */
21645
 
#ifndef __cplusplus
21646
 
typedef int foo_t;
21647
 
static $ac_kw foo_t static_foo () {return 0; }
21648
 
$ac_kw foo_t foo () {return 0; }
21649
 
#endif
21650
 
 
21651
 
_ACEOF
21652
 
rm -f conftest.$ac_objext
21653
 
if { (ac_try="$ac_compile"
21654
 
case "(($ac_try" in
21655
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656
 
  *) ac_try_echo=$ac_try;;
21657
 
esac
21658
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659
 
  (eval "$ac_compile") 2>conftest.er1
21660
 
  ac_status=$?
21661
 
  grep -v '^ *+' conftest.er1 >conftest.err
21662
 
  rm -f conftest.er1
21663
 
  cat conftest.err >&5
21664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665
 
  (exit $ac_status); } && {
21666
 
         test -z "$ac_c_werror_flag" ||
21667
 
         test ! -s conftest.err
21668
 
       } && test -s conftest.$ac_objext; then
21669
 
  ac_cv_c_inline=$ac_kw
21670
 
else
21671
 
  echo "$as_me: failed program was:" >&5
21672
 
sed 's/^/| /' conftest.$ac_ext >&5
21673
 
 
21674
 
        
21675
 
fi
21676
 
 
21677
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21678
 
  test "$ac_cv_c_inline" != no && break
21679
 
done
21680
 
 
21681
 
fi
21682
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21683
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21684
 
 
21685
 
 
21686
 
case $ac_cv_c_inline in
21687
 
  inline | yes) ;;
21688
 
  *)
21689
 
    case $ac_cv_c_inline in
21690
 
      no) ac_val=;;
21691
 
      *) ac_val=$ac_cv_c_inline;;
21692
 
    esac
21693
 
    cat >>confdefs.h <<_ACEOF
21694
 
#ifndef __cplusplus
21695
 
#define inline $ac_val
21696
 
#endif
21697
 
_ACEOF
21698
 
    ;;
21699
 
esac
21700
 
 
21701
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
21702
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21703
 
if test "${ac_cv_type_size_t+set}" = set; then
21704
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21705
 
else
21706
 
  cat >conftest.$ac_ext <<_ACEOF
21707
 
/* confdefs.h.  */
21708
 
_ACEOF
21709
 
cat confdefs.h >>conftest.$ac_ext
21710
 
cat >>conftest.$ac_ext <<_ACEOF
21711
 
/* end confdefs.h.  */
21712
 
$ac_includes_default
21713
 
typedef size_t ac__type_new_;
21714
 
int
21715
 
main ()
21716
 
{
21717
 
if ((ac__type_new_ *) 0)
21718
 
  return 0;
21719
 
if (sizeof (ac__type_new_))
21720
 
  return 0;
21721
 
  ;
21722
 
  return 0;
21723
 
}
21724
 
_ACEOF
21725
 
rm -f conftest.$ac_objext
21726
 
if { (ac_try="$ac_compile"
21727
 
case "(($ac_try" in
21728
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21729
 
  *) ac_try_echo=$ac_try;;
21730
 
esac
21731
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732
 
  (eval "$ac_compile") 2>conftest.er1
21733
 
  ac_status=$?
21734
 
  grep -v '^ *+' conftest.er1 >conftest.err
21735
 
  rm -f conftest.er1
21736
 
  cat conftest.err >&5
21737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738
 
  (exit $ac_status); } && {
21739
 
         test -z "$ac_c_werror_flag" ||
21740
 
         test ! -s conftest.err
21741
 
       } && test -s conftest.$ac_objext; then
21742
 
  ac_cv_type_size_t=yes
21743
 
else
21744
 
  echo "$as_me: failed program was:" >&5
21745
 
sed 's/^/| /' conftest.$ac_ext >&5
21746
 
 
21747
 
        ac_cv_type_size_t=no
21748
 
fi
21749
 
 
21750
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21751
 
fi
21752
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21753
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21754
 
if test $ac_cv_type_size_t = yes; then
21755
 
  :
21756
 
else
21757
 
  
21758
 
cat >>confdefs.h <<_ACEOF
21759
 
@%:@define size_t unsigned int
21760
 
_ACEOF
21761
 
 
21762
 
fi
21763
 
 
21764
 
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
21765
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
21766
 
if test "${ac_cv_header_time+set}" = set; then
21767
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21768
 
else
21769
 
  cat >conftest.$ac_ext <<_ACEOF
21770
 
/* confdefs.h.  */
21771
 
_ACEOF
21772
 
cat confdefs.h >>conftest.$ac_ext
21773
 
cat >>conftest.$ac_ext <<_ACEOF
21774
 
/* end confdefs.h.  */
21775
 
#include <sys/types.h>
21776
 
#include <sys/time.h>
21777
 
#include <time.h>
21778
 
 
21779
 
int
21780
 
main ()
21781
 
{
21782
 
if ((struct tm *) 0)
21783
 
return 0;
21784
 
  ;
21785
 
  return 0;
21786
 
}
21787
 
_ACEOF
21788
 
rm -f conftest.$ac_objext
21789
 
if { (ac_try="$ac_compile"
21790
 
case "(($ac_try" in
21791
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21792
 
  *) ac_try_echo=$ac_try;;
21793
 
esac
21794
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21795
 
  (eval "$ac_compile") 2>conftest.er1
21796
 
  ac_status=$?
21797
 
  grep -v '^ *+' conftest.er1 >conftest.err
21798
 
  rm -f conftest.er1
21799
 
  cat conftest.err >&5
21800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801
 
  (exit $ac_status); } && {
21802
 
         test -z "$ac_c_werror_flag" ||
21803
 
         test ! -s conftest.err
21804
 
       } && test -s conftest.$ac_objext; then
21805
 
  ac_cv_header_time=yes
21806
 
else
21807
 
  echo "$as_me: failed program was:" >&5
21808
 
sed 's/^/| /' conftest.$ac_ext >&5
21809
 
 
21810
 
        ac_cv_header_time=no
21811
 
fi
21812
 
 
21813
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814
 
fi
21815
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
21816
 
echo "${ECHO_T}$ac_cv_header_time" >&6; }
21817
 
if test $ac_cv_header_time = yes; then
21818
 
  
21819
 
cat >>confdefs.h <<\_ACEOF
21820
 
@%:@define TIME_WITH_SYS_TIME 1
21821
 
_ACEOF
21822
 
 
21823
 
fi
21824
 
 
21825
 
{ echo "$as_me:$LINENO: checking for working volatile" >&5
21826
 
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
21827
 
if test "${ac_cv_c_volatile+set}" = set; then
21828
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21829
 
else
21830
 
  cat >conftest.$ac_ext <<_ACEOF
21831
 
/* confdefs.h.  */
21832
 
_ACEOF
21833
 
cat confdefs.h >>conftest.$ac_ext
21834
 
cat >>conftest.$ac_ext <<_ACEOF
21835
 
/* end confdefs.h.  */
21836
 
 
21837
 
int
21838
 
main ()
21839
 
{
21840
 
 
21841
 
volatile int x;
21842
 
int * volatile y = (int *) 0;
21843
 
return !x && !y;
21844
 
  ;
21845
 
  return 0;
21846
 
}
21847
 
_ACEOF
21848
 
rm -f conftest.$ac_objext
21849
 
if { (ac_try="$ac_compile"
21850
 
case "(($ac_try" in
21851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852
 
  *) ac_try_echo=$ac_try;;
21853
 
esac
21854
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855
 
  (eval "$ac_compile") 2>conftest.er1
21856
 
  ac_status=$?
21857
 
  grep -v '^ *+' conftest.er1 >conftest.err
21858
 
  rm -f conftest.er1
21859
 
  cat conftest.err >&5
21860
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861
 
  (exit $ac_status); } && {
21862
 
         test -z "$ac_c_werror_flag" ||
21863
 
         test ! -s conftest.err
21864
 
       } && test -s conftest.$ac_objext; then
21865
 
  ac_cv_c_volatile=yes
21866
 
else
21867
 
  echo "$as_me: failed program was:" >&5
21868
 
sed 's/^/| /' conftest.$ac_ext >&5
21869
 
 
21870
 
        ac_cv_c_volatile=no
21871
 
fi
21872
 
 
21873
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874
 
fi
21875
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
21876
 
echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
21877
 
if test $ac_cv_c_volatile = no; then
21878
 
  
21879
 
cat >>confdefs.h <<\_ACEOF
21880
 
@%:@define volatile 
21881
 
_ACEOF
21882
 
 
21883
 
fi
21884
 
 
21885
 
 
21886
 
{ echo "$as_me:$LINENO: checking whether closedir returns void" >&5
21887
 
echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
21888
 
if test "${ac_cv_func_closedir_void+set}" = set; then
21889
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21890
 
else
21891
 
  if test "$cross_compiling" = yes; then
21892
 
  ac_cv_func_closedir_void=yes
21893
 
else
21894
 
  cat >conftest.$ac_ext <<_ACEOF
21895
 
/* confdefs.h.  */
21896
 
_ACEOF
21897
 
cat confdefs.h >>conftest.$ac_ext
21898
 
cat >>conftest.$ac_ext <<_ACEOF
21899
 
/* end confdefs.h.  */
21900
 
$ac_includes_default
21901
 
#include <$ac_header_dirent>
21902
 
#ifndef __cplusplus
21903
 
int closedir ();
21904
 
#endif
21905
 
 
21906
 
int
21907
 
main ()
21908
 
{
21909
 
return closedir (opendir (".")) != 0;
21910
 
  ;
21911
 
  return 0;
21912
 
}
21913
 
_ACEOF
21914
 
rm -f conftest$ac_exeext
21915
 
if { (ac_try="$ac_link"
21916
 
case "(($ac_try" in
21917
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918
 
  *) ac_try_echo=$ac_try;;
21919
 
esac
21920
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921
 
  (eval "$ac_link") 2>&5
21922
 
  ac_status=$?
21923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21925
 
  { (case "(($ac_try" in
21926
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21927
 
  *) ac_try_echo=$ac_try;;
21928
 
esac
21929
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21930
 
  (eval "$ac_try") 2>&5
21931
 
  ac_status=$?
21932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933
 
  (exit $ac_status); }; }; then
21934
 
  ac_cv_func_closedir_void=no
21935
 
else
21936
 
  echo "$as_me: program exited with status $ac_status" >&5
21937
 
echo "$as_me: failed program was:" >&5
21938
 
sed 's/^/| /' conftest.$ac_ext >&5
21939
 
 
21940
 
( exit $ac_status )
21941
 
ac_cv_func_closedir_void=yes
21942
 
fi
21943
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21944
 
fi
21945
 
 
21946
 
 
21947
 
fi
21948
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
21949
 
echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
21950
 
if test $ac_cv_func_closedir_void = yes; then
21951
 
  
21952
 
cat >>confdefs.h <<\_ACEOF
21953
 
@%:@define CLOSEDIR_VOID 1
21954
 
_ACEOF
21955
 
 
21956
 
fi
21957
 
 
21958
 
 
21959
 
for ac_header in stdlib.h
21960
 
do
21961
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21962
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21963
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21964
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21965
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21966
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21967
 
fi
21968
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21969
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21970
 
echo "${ECHO_T}$ac_res" >&6; }
21971
 
else
21972
 
  # Is the header compilable?
21973
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21974
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21975
 
cat >conftest.$ac_ext <<_ACEOF
21976
 
/* confdefs.h.  */
21977
 
_ACEOF
21978
 
cat confdefs.h >>conftest.$ac_ext
21979
 
cat >>conftest.$ac_ext <<_ACEOF
21980
 
/* end confdefs.h.  */
21981
 
$ac_includes_default
21982
 
@%:@include <$ac_header>
21983
 
_ACEOF
21984
 
rm -f conftest.$ac_objext
21985
 
if { (ac_try="$ac_compile"
21986
 
case "(($ac_try" in
21987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988
 
  *) ac_try_echo=$ac_try;;
21989
 
esac
21990
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991
 
  (eval "$ac_compile") 2>conftest.er1
21992
 
  ac_status=$?
21993
 
  grep -v '^ *+' conftest.er1 >conftest.err
21994
 
  rm -f conftest.er1
21995
 
  cat conftest.err >&5
21996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997
 
  (exit $ac_status); } && {
21998
 
         test -z "$ac_c_werror_flag" ||
21999
 
         test ! -s conftest.err
22000
 
       } && test -s conftest.$ac_objext; then
22001
 
  ac_header_compiler=yes
22002
 
else
22003
 
  echo "$as_me: failed program was:" >&5
22004
 
sed 's/^/| /' conftest.$ac_ext >&5
22005
 
 
22006
 
        ac_header_compiler=no
22007
 
fi
22008
 
 
22009
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22010
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22011
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
22012
 
 
22013
 
# Is the header present?
22014
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22015
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22016
 
cat >conftest.$ac_ext <<_ACEOF
22017
 
/* confdefs.h.  */
22018
 
_ACEOF
22019
 
cat confdefs.h >>conftest.$ac_ext
22020
 
cat >>conftest.$ac_ext <<_ACEOF
22021
 
/* end confdefs.h.  */
22022
 
@%:@include <$ac_header>
22023
 
_ACEOF
22024
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
22025
 
case "(($ac_try" in
22026
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22027
 
  *) ac_try_echo=$ac_try;;
22028
 
esac
22029
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22030
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22031
 
  ac_status=$?
22032
 
  grep -v '^ *+' conftest.er1 >conftest.err
22033
 
  rm -f conftest.er1
22034
 
  cat conftest.err >&5
22035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036
 
  (exit $ac_status); } >/dev/null && {
22037
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22038
 
         test ! -s conftest.err
22039
 
       }; then
22040
 
  ac_header_preproc=yes
22041
 
else
22042
 
  echo "$as_me: failed program was:" >&5
22043
 
sed 's/^/| /' conftest.$ac_ext >&5
22044
 
 
22045
 
  ac_header_preproc=no
22046
 
fi
22047
 
 
22048
 
rm -f conftest.err conftest.$ac_ext
22049
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22050
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
22051
 
 
22052
 
# So?  What about this header?
22053
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22054
 
  yes:no: )
22055
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22056
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22057
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22058
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22059
 
    ac_header_preproc=yes
22060
 
    ;;
22061
 
  no:yes:* )
22062
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22063
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22064
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22065
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22066
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22067
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22068
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22069
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22070
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22071
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22072
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22073
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22074
 
    
22075
 
    ;;
22076
 
esac
22077
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22078
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22079
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22080
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22081
 
else
22082
 
  eval "$as_ac_Header=\$ac_header_preproc"
22083
 
fi
22084
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22085
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22086
 
echo "${ECHO_T}$ac_res" >&6; }
22087
 
 
22088
 
fi
22089
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22090
 
  cat >>confdefs.h <<_ACEOF
22091
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22092
 
_ACEOF
22093
 
 
22094
 
fi
22095
 
 
22096
 
done
22097
 
 
22098
 
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
22099
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
22100
 
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
22101
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22102
 
else
22103
 
  if test "$cross_compiling" = yes; then
22104
 
  ac_cv_func_malloc_0_nonnull=no
22105
 
else
22106
 
  cat >conftest.$ac_ext <<_ACEOF
22107
 
/* confdefs.h.  */
22108
 
_ACEOF
22109
 
cat confdefs.h >>conftest.$ac_ext
22110
 
cat >>conftest.$ac_ext <<_ACEOF
22111
 
/* end confdefs.h.  */
22112
 
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
22113
 
# include <stdlib.h>
22114
 
#else
22115
 
char *malloc ();
22116
 
#endif
22117
 
 
22118
 
int
22119
 
main ()
22120
 
{
22121
 
return ! malloc (0);
22122
 
  ;
22123
 
  return 0;
22124
 
}
22125
 
_ACEOF
22126
 
rm -f conftest$ac_exeext
22127
 
if { (ac_try="$ac_link"
22128
 
case "(($ac_try" in
22129
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22130
 
  *) ac_try_echo=$ac_try;;
22131
 
esac
22132
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22133
 
  (eval "$ac_link") 2>&5
22134
 
  ac_status=$?
22135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22137
 
  { (case "(($ac_try" in
22138
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22139
 
  *) ac_try_echo=$ac_try;;
22140
 
esac
22141
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22142
 
  (eval "$ac_try") 2>&5
22143
 
  ac_status=$?
22144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145
 
  (exit $ac_status); }; }; then
22146
 
  ac_cv_func_malloc_0_nonnull=yes
22147
 
else
22148
 
  echo "$as_me: program exited with status $ac_status" >&5
22149
 
echo "$as_me: failed program was:" >&5
22150
 
sed 's/^/| /' conftest.$ac_ext >&5
22151
 
 
22152
 
( exit $ac_status )
22153
 
ac_cv_func_malloc_0_nonnull=no
22154
 
fi
22155
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22156
 
fi
22157
 
 
22158
 
 
22159
 
fi
22160
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
22161
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
22162
 
if test $ac_cv_func_malloc_0_nonnull = yes; then
22163
 
  
22164
 
cat >>confdefs.h <<\_ACEOF
22165
 
@%:@define HAVE_MALLOC 1
22166
 
_ACEOF
22167
 
 
22168
 
else
22169
 
  cat >>confdefs.h <<\_ACEOF
22170
 
@%:@define HAVE_MALLOC 0
22171
 
_ACEOF
22172
 
 
22173
 
   case " $LIB@&t@OBJS " in
22174
 
  *" malloc.$ac_objext "* ) ;;
22175
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
22176
 
 ;;
22177
 
esac
22178
 
 
22179
 
   
22180
 
cat >>confdefs.h <<\_ACEOF
22181
 
@%:@define malloc rpl_malloc
22182
 
_ACEOF
22183
 
 
22184
 
fi
22185
 
 
22186
 
 
22187
 
 
22188
 
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
22189
 
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
22190
 
if test "${ac_cv_func_memcmp_working+set}" = set; then
22191
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22192
 
else
22193
 
  if test "$cross_compiling" = yes; then
22194
 
  ac_cv_func_memcmp_working=no
22195
 
else
22196
 
  cat >conftest.$ac_ext <<_ACEOF
22197
 
/* confdefs.h.  */
22198
 
_ACEOF
22199
 
cat confdefs.h >>conftest.$ac_ext
22200
 
cat >>conftest.$ac_ext <<_ACEOF
22201
 
/* end confdefs.h.  */
22202
 
$ac_includes_default
22203
 
int
22204
 
main ()
22205
 
{
22206
 
 
22207
 
  /* Some versions of memcmp are not 8-bit clean.  */
22208
 
  char c0 = '\100', c1 = '\200', c2 = '\201';
22209
 
  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
22210
 
    return 1;
22211
 
 
22212
 
  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
22213
 
     or more and with at least one buffer not starting on a 4-byte boundary.
22214
 
     William Lewis provided this test program.   */
22215
 
  {
22216
 
    char foo[21];
22217
 
    char bar[21];
22218
 
    int i;
22219
 
    for (i = 0; i < 4; i++)
22220
 
      {
22221
 
        char *a = foo + i;
22222
 
        char *b = bar + i;
22223
 
        strcpy (a, "--------01111111");
22224
 
        strcpy (b, "--------10000000");
22225
 
        if (memcmp (a, b, 16) >= 0)
22226
 
          return 1;
22227
 
      }
22228
 
    return 0;
22229
 
  }
22230
 
 
22231
 
  ;
22232
 
  return 0;
22233
 
}
22234
 
_ACEOF
22235
 
rm -f conftest$ac_exeext
22236
 
if { (ac_try="$ac_link"
22237
 
case "(($ac_try" in
22238
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239
 
  *) ac_try_echo=$ac_try;;
22240
 
esac
22241
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242
 
  (eval "$ac_link") 2>&5
22243
 
  ac_status=$?
22244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22246
 
  { (case "(($ac_try" in
22247
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22248
 
  *) ac_try_echo=$ac_try;;
22249
 
esac
22250
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22251
 
  (eval "$ac_try") 2>&5
22252
 
  ac_status=$?
22253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254
 
  (exit $ac_status); }; }; then
22255
 
  ac_cv_func_memcmp_working=yes
22256
 
else
22257
 
  echo "$as_me: program exited with status $ac_status" >&5
22258
 
echo "$as_me: failed program was:" >&5
22259
 
sed 's/^/| /' conftest.$ac_ext >&5
22260
 
 
22261
 
( exit $ac_status )
22262
 
ac_cv_func_memcmp_working=no
22263
 
fi
22264
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22265
 
fi
22266
 
 
22267
 
 
22268
 
fi
22269
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22270
 
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
22271
 
test $ac_cv_func_memcmp_working = no && case " $LIB@&t@OBJS " in
22272
 
  *" memcmp.$ac_objext "* ) ;;
22273
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS memcmp.$ac_objext"
22274
 
 ;;
22275
 
esac
22276
 
 
22277
 
 
22278
 
{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
22279
 
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
22280
 
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
22281
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22282
 
else
22283
 
  rm -f conftest.sym conftest.file
22284
 
echo >conftest.file
22285
 
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
22286
 
  if test "$cross_compiling" = yes; then
22287
 
  ac_cv_func_lstat_dereferences_slashed_symlink=no
22288
 
else
22289
 
  cat >conftest.$ac_ext <<_ACEOF
22290
 
/* confdefs.h.  */
22291
 
_ACEOF
22292
 
cat confdefs.h >>conftest.$ac_ext
22293
 
cat >>conftest.$ac_ext <<_ACEOF
22294
 
/* end confdefs.h.  */
22295
 
$ac_includes_default
22296
 
int
22297
 
main ()
22298
 
{
22299
 
struct stat sbuf;
22300
 
     /* Linux will dereference the symlink and fail.
22301
 
        That is better in the sense that it means we will not
22302
 
        have to compile and use the lstat wrapper.  */
22303
 
     return lstat ("conftest.sym/", &sbuf) == 0;
22304
 
  ;
22305
 
  return 0;
22306
 
}
22307
 
_ACEOF
22308
 
rm -f conftest$ac_exeext
22309
 
if { (ac_try="$ac_link"
22310
 
case "(($ac_try" in
22311
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22312
 
  *) ac_try_echo=$ac_try;;
22313
 
esac
22314
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22315
 
  (eval "$ac_link") 2>&5
22316
 
  ac_status=$?
22317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22319
 
  { (case "(($ac_try" in
22320
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22321
 
  *) ac_try_echo=$ac_try;;
22322
 
esac
22323
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324
 
  (eval "$ac_try") 2>&5
22325
 
  ac_status=$?
22326
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327
 
  (exit $ac_status); }; }; then
22328
 
  ac_cv_func_lstat_dereferences_slashed_symlink=yes
22329
 
else
22330
 
  echo "$as_me: program exited with status $ac_status" >&5
22331
 
echo "$as_me: failed program was:" >&5
22332
 
sed 's/^/| /' conftest.$ac_ext >&5
22333
 
 
22334
 
( exit $ac_status )
22335
 
ac_cv_func_lstat_dereferences_slashed_symlink=no
22336
 
fi
22337
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22338
 
fi
22339
 
 
22340
 
 
22341
 
else
22342
 
  # If the `ln -s' command failed, then we probably don't even
22343
 
  # have an lstat function.
22344
 
  ac_cv_func_lstat_dereferences_slashed_symlink=no
22345
 
fi
22346
 
rm -f conftest.sym conftest.file
22347
 
 
22348
 
fi
22349
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
22350
 
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
22351
 
 
22352
 
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
22353
 
  
22354
 
cat >>confdefs.h <<_ACEOF
22355
 
@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
22356
 
_ACEOF
22357
 
 
22358
 
 
22359
 
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
22360
 
  case " $LIB@&t@OBJS " in
22361
 
  *" lstat.$ac_objext "* ) ;;
22362
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
22363
 
 ;;
22364
 
esac
22365
 
 
22366
 
fi
22367
 
 
22368
 
{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
22369
 
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
22370
 
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
22371
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22372
 
else
22373
 
  if test "$cross_compiling" = yes; then
22374
 
  ac_cv_func_stat_empty_string_bug=yes
22375
 
else
22376
 
  cat >conftest.$ac_ext <<_ACEOF
22377
 
/* confdefs.h.  */
22378
 
_ACEOF
22379
 
cat confdefs.h >>conftest.$ac_ext
22380
 
cat >>conftest.$ac_ext <<_ACEOF
22381
 
/* end confdefs.h.  */
22382
 
$ac_includes_default
22383
 
int
22384
 
main ()
22385
 
{
22386
 
struct stat sbuf;
22387
 
  return stat ("", &sbuf) == 0;
22388
 
  ;
22389
 
  return 0;
22390
 
}
22391
 
_ACEOF
22392
 
rm -f conftest$ac_exeext
22393
 
if { (ac_try="$ac_link"
22394
 
case "(($ac_try" in
22395
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22396
 
  *) ac_try_echo=$ac_try;;
22397
 
esac
22398
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22399
 
  (eval "$ac_link") 2>&5
22400
 
  ac_status=$?
22401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22403
 
  { (case "(($ac_try" in
22404
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22405
 
  *) ac_try_echo=$ac_try;;
22406
 
esac
22407
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22408
 
  (eval "$ac_try") 2>&5
22409
 
  ac_status=$?
22410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411
 
  (exit $ac_status); }; }; then
22412
 
  ac_cv_func_stat_empty_string_bug=no
22413
 
else
22414
 
  echo "$as_me: program exited with status $ac_status" >&5
22415
 
echo "$as_me: failed program was:" >&5
22416
 
sed 's/^/| /' conftest.$ac_ext >&5
22417
 
 
22418
 
( exit $ac_status )
22419
 
ac_cv_func_stat_empty_string_bug=yes
22420
 
fi
22421
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22422
 
fi
22423
 
 
22424
 
 
22425
 
fi
22426
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
22427
 
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
22428
 
if test $ac_cv_func_stat_empty_string_bug = yes; then
22429
 
  case " $LIB@&t@OBJS " in
22430
 
  *" stat.$ac_objext "* ) ;;
22431
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext"
22432
 
 ;;
22433
 
esac
22434
 
 
22435
 
  
22436
 
cat >>confdefs.h <<_ACEOF
22437
 
@%:@define HAVE_STAT_EMPTY_STRING_BUG 1
22438
 
_ACEOF
22439
 
 
22440
 
fi
22441
 
 
22442
 
 
22443
 
for ac_func in vprintf
22444
 
do
22445
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22446
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22447
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22448
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22449
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22450
 
else
22451
 
  cat >conftest.$ac_ext <<_ACEOF
22452
 
/* confdefs.h.  */
22453
 
_ACEOF
22454
 
cat confdefs.h >>conftest.$ac_ext
22455
 
cat >>conftest.$ac_ext <<_ACEOF
22456
 
/* end confdefs.h.  */
22457
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22458
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22459
 
#define $ac_func innocuous_$ac_func
22460
 
 
22461
 
/* System header to define __stub macros and hopefully few prototypes,
22462
 
    which can conflict with char $ac_func (); below.
22463
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22464
 
    <limits.h> exists even on freestanding compilers.  */
22465
 
 
22466
 
#ifdef __STDC__
22467
 
# include <limits.h>
22468
 
#else
22469
 
# include <assert.h>
22470
 
#endif
22471
 
 
22472
 
#undef $ac_func
22473
 
 
22474
 
/* Override any GCC internal prototype to avoid an error.
22475
 
   Use char because int might match the return type of a GCC
22476
 
   builtin and then its argument prototype would still apply.  */
22477
 
#ifdef __cplusplus
22478
 
extern "C"
22479
 
#endif
22480
 
char $ac_func ();
22481
 
/* The GNU C library defines this for functions which it implements
22482
 
    to always fail with ENOSYS.  Some functions are actually named
22483
 
    something starting with __ and the normal name is an alias.  */
22484
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22485
 
choke me
22486
 
#endif
22487
 
 
22488
 
int
22489
 
main ()
22490
 
{
22491
 
return $ac_func ();
22492
 
  ;
22493
 
  return 0;
22494
 
}
22495
 
_ACEOF
22496
 
rm -f conftest.$ac_objext conftest$ac_exeext
22497
 
if { (ac_try="$ac_link"
22498
 
case "(($ac_try" in
22499
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22500
 
  *) ac_try_echo=$ac_try;;
22501
 
esac
22502
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22503
 
  (eval "$ac_link") 2>conftest.er1
22504
 
  ac_status=$?
22505
 
  grep -v '^ *+' conftest.er1 >conftest.err
22506
 
  rm -f conftest.er1
22507
 
  cat conftest.err >&5
22508
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509
 
  (exit $ac_status); } && {
22510
 
         test -z "$ac_c_werror_flag" ||
22511
 
         test ! -s conftest.err
22512
 
       } && test -s conftest$ac_exeext &&
22513
 
       $as_test_x conftest$ac_exeext; then
22514
 
  eval "$as_ac_var=yes"
22515
 
else
22516
 
  echo "$as_me: failed program was:" >&5
22517
 
sed 's/^/| /' conftest.$ac_ext >&5
22518
 
 
22519
 
        eval "$as_ac_var=no"
22520
 
fi
22521
 
 
22522
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22523
 
      conftest$ac_exeext conftest.$ac_ext
22524
 
fi
22525
 
ac_res=`eval echo '${'$as_ac_var'}'`
22526
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22527
 
echo "${ECHO_T}$ac_res" >&6; }
22528
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
22529
 
  cat >>confdefs.h <<_ACEOF
22530
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22531
 
_ACEOF
22532
 
 
22533
 
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
22534
 
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
22535
 
if test "${ac_cv_func__doprnt+set}" = set; then
22536
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22537
 
else
22538
 
  cat >conftest.$ac_ext <<_ACEOF
22539
 
/* confdefs.h.  */
22540
 
_ACEOF
22541
 
cat confdefs.h >>conftest.$ac_ext
22542
 
cat >>conftest.$ac_ext <<_ACEOF
22543
 
/* end confdefs.h.  */
22544
 
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
22545
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22546
 
#define _doprnt innocuous__doprnt
22547
 
 
22548
 
/* System header to define __stub macros and hopefully few prototypes,
22549
 
    which can conflict with char _doprnt (); below.
22550
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22551
 
    <limits.h> exists even on freestanding compilers.  */
22552
 
 
22553
 
#ifdef __STDC__
22554
 
# include <limits.h>
22555
 
#else
22556
 
# include <assert.h>
22557
 
#endif
22558
 
 
22559
 
#undef _doprnt
22560
 
 
22561
 
/* Override any GCC internal prototype to avoid an error.
22562
 
   Use char because int might match the return type of a GCC
22563
 
   builtin and then its argument prototype would still apply.  */
22564
 
#ifdef __cplusplus
22565
 
extern "C"
22566
 
#endif
22567
 
char _doprnt ();
22568
 
/* The GNU C library defines this for functions which it implements
22569
 
    to always fail with ENOSYS.  Some functions are actually named
22570
 
    something starting with __ and the normal name is an alias.  */
22571
 
#if defined __stub__doprnt || defined __stub____doprnt
22572
 
choke me
22573
 
#endif
22574
 
 
22575
 
int
22576
 
main ()
22577
 
{
22578
 
return _doprnt ();
22579
 
  ;
22580
 
  return 0;
22581
 
}
22582
 
_ACEOF
22583
 
rm -f conftest.$ac_objext conftest$ac_exeext
22584
 
if { (ac_try="$ac_link"
22585
 
case "(($ac_try" in
22586
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22587
 
  *) ac_try_echo=$ac_try;;
22588
 
esac
22589
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22590
 
  (eval "$ac_link") 2>conftest.er1
22591
 
  ac_status=$?
22592
 
  grep -v '^ *+' conftest.er1 >conftest.err
22593
 
  rm -f conftest.er1
22594
 
  cat conftest.err >&5
22595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596
 
  (exit $ac_status); } && {
22597
 
         test -z "$ac_c_werror_flag" ||
22598
 
         test ! -s conftest.err
22599
 
       } && test -s conftest$ac_exeext &&
22600
 
       $as_test_x conftest$ac_exeext; then
22601
 
  ac_cv_func__doprnt=yes
22602
 
else
22603
 
  echo "$as_me: failed program was:" >&5
22604
 
sed 's/^/| /' conftest.$ac_ext >&5
22605
 
 
22606
 
        ac_cv_func__doprnt=no
22607
 
fi
22608
 
 
22609
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22610
 
      conftest$ac_exeext conftest.$ac_ext
22611
 
fi
22612
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
22613
 
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
22614
 
if test $ac_cv_func__doprnt = yes; then
22615
 
  
22616
 
cat >>confdefs.h <<\_ACEOF
22617
 
@%:@define HAVE_DOPRNT 1
22618
 
_ACEOF
22619
 
 
22620
 
fi
22621
 
 
22622
 
fi
22623
 
done
22624
 
 
22625
 
 
22626
 
 
22627
 
 
22628
 
 
22629
 
 
22630
 
 
22631
 
 
22632
 
 
22633
 
 
22634
 
 
22635
 
 
22636
 
 
22637
 
 
22638
 
for ac_func in atexit getcwd isascii memchr memmove memset strcasecmp strchr strcspn strdup strrchr strstr
22639
 
do
22640
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22641
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22642
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22643
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22644
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22645
 
else
22646
 
  cat >conftest.$ac_ext <<_ACEOF
22647
 
/* confdefs.h.  */
22648
 
_ACEOF
22649
 
cat confdefs.h >>conftest.$ac_ext
22650
 
cat >>conftest.$ac_ext <<_ACEOF
22651
 
/* end confdefs.h.  */
22652
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22653
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22654
 
#define $ac_func innocuous_$ac_func
22655
 
 
22656
 
/* System header to define __stub macros and hopefully few prototypes,
22657
 
    which can conflict with char $ac_func (); below.
22658
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22659
 
    <limits.h> exists even on freestanding compilers.  */
22660
 
 
22661
 
#ifdef __STDC__
22662
 
# include <limits.h>
22663
 
#else
22664
 
# include <assert.h>
22665
 
#endif
22666
 
 
22667
 
#undef $ac_func
22668
 
 
22669
 
/* Override any GCC internal prototype to avoid an error.
22670
 
   Use char because int might match the return type of a GCC
22671
 
   builtin and then its argument prototype would still apply.  */
22672
 
#ifdef __cplusplus
22673
 
extern "C"
22674
 
#endif
22675
 
char $ac_func ();
22676
 
/* The GNU C library defines this for functions which it implements
22677
 
    to always fail with ENOSYS.  Some functions are actually named
22678
 
    something starting with __ and the normal name is an alias.  */
22679
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22680
 
choke me
22681
 
#endif
22682
 
 
22683
 
int
22684
 
main ()
22685
 
{
22686
 
return $ac_func ();
22687
 
  ;
22688
 
  return 0;
22689
 
}
22690
 
_ACEOF
22691
 
rm -f conftest.$ac_objext conftest$ac_exeext
22692
 
if { (ac_try="$ac_link"
22693
 
case "(($ac_try" in
22694
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22695
 
  *) ac_try_echo=$ac_try;;
22696
 
esac
22697
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22698
 
  (eval "$ac_link") 2>conftest.er1
22699
 
  ac_status=$?
22700
 
  grep -v '^ *+' conftest.er1 >conftest.err
22701
 
  rm -f conftest.er1
22702
 
  cat conftest.err >&5
22703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704
 
  (exit $ac_status); } && {
22705
 
         test -z "$ac_c_werror_flag" ||
22706
 
         test ! -s conftest.err
22707
 
       } && test -s conftest$ac_exeext &&
22708
 
       $as_test_x conftest$ac_exeext; then
22709
 
  eval "$as_ac_var=yes"
22710
 
else
22711
 
  echo "$as_me: failed program was:" >&5
22712
 
sed 's/^/| /' conftest.$ac_ext >&5
22713
 
 
22714
 
        eval "$as_ac_var=no"
22715
 
fi
22716
 
 
22717
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22718
 
      conftest$ac_exeext conftest.$ac_ext
22719
 
fi
22720
 
ac_res=`eval echo '${'$as_ac_var'}'`
22721
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22722
 
echo "${ECHO_T}$ac_res" >&6; }
22723
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
22724
 
  cat >>confdefs.h <<_ACEOF
22725
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22726
 
_ACEOF
22727
 
 
22728
 
fi
22729
 
done
22730
 
 
22731
 
 
22732
 
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22733
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
22734
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22735
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22736
 
else
22737
 
  ac_check_lib_save_LIBS=$LIBS
22738
 
LIBS="-ldl  $LIBS"
22739
 
cat >conftest.$ac_ext <<_ACEOF
22740
 
/* confdefs.h.  */
22741
 
_ACEOF
22742
 
cat confdefs.h >>conftest.$ac_ext
22743
 
cat >>conftest.$ac_ext <<_ACEOF
22744
 
/* end confdefs.h.  */
22745
 
 
22746
 
/* Override any GCC internal prototype to avoid an error.
22747
 
   Use char because int might match the return type of a GCC
22748
 
   builtin and then its argument prototype would still apply.  */
22749
 
#ifdef __cplusplus
22750
 
extern "C"
22751
 
#endif
22752
 
char dlopen ();
22753
 
int
22754
 
main ()
22755
 
{
22756
 
return dlopen ();
22757
 
  ;
22758
 
  return 0;
22759
 
}
22760
 
_ACEOF
22761
 
rm -f conftest.$ac_objext conftest$ac_exeext
22762
 
if { (ac_try="$ac_link"
22763
 
case "(($ac_try" in
22764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22765
 
  *) ac_try_echo=$ac_try;;
22766
 
esac
22767
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22768
 
  (eval "$ac_link") 2>conftest.er1
22769
 
  ac_status=$?
22770
 
  grep -v '^ *+' conftest.er1 >conftest.err
22771
 
  rm -f conftest.er1
22772
 
  cat conftest.err >&5
22773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774
 
  (exit $ac_status); } && {
22775
 
         test -z "$ac_c_werror_flag" ||
22776
 
         test ! -s conftest.err
22777
 
       } && test -s conftest$ac_exeext &&
22778
 
       $as_test_x conftest$ac_exeext; then
22779
 
  ac_cv_lib_dl_dlopen=yes
22780
 
else
22781
 
  echo "$as_me: failed program was:" >&5
22782
 
sed 's/^/| /' conftest.$ac_ext >&5
22783
 
 
22784
 
        ac_cv_lib_dl_dlopen=no
22785
 
fi
22786
 
 
22787
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22788
 
      conftest$ac_exeext conftest.$ac_ext
22789
 
LIBS=$ac_check_lib_save_LIBS
22790
 
fi
22791
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22792
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
22793
 
if test $ac_cv_lib_dl_dlopen = yes; then
22794
 
  cat >>confdefs.h <<_ACEOF
22795
 
@%:@define HAVE_LIBDL 1
22796
 
_ACEOF
22797
 
 
22798
 
  LIBS="-ldl $LIBS"
22799
 
 
22800
 
fi
22801
 
 
22802
 
 
22803
 
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
22804
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
22805
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
22806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22807
 
else
22808
 
  ac_check_lib_save_LIBS=$LIBS
22809
 
LIBS="-lpthread  $LIBS"
22810
 
cat >conftest.$ac_ext <<_ACEOF
22811
 
/* confdefs.h.  */
22812
 
_ACEOF
22813
 
cat confdefs.h >>conftest.$ac_ext
22814
 
cat >>conftest.$ac_ext <<_ACEOF
22815
 
/* end confdefs.h.  */
22816
 
 
22817
 
/* Override any GCC internal prototype to avoid an error.
22818
 
   Use char because int might match the return type of a GCC
22819
 
   builtin and then its argument prototype would still apply.  */
22820
 
#ifdef __cplusplus
22821
 
extern "C"
22822
 
#endif
22823
 
char pthread_create ();
22824
 
int
22825
 
main ()
22826
 
{
22827
 
return pthread_create ();
22828
 
  ;
22829
 
  return 0;
22830
 
}
22831
 
_ACEOF
22832
 
rm -f conftest.$ac_objext conftest$ac_exeext
22833
 
if { (ac_try="$ac_link"
22834
 
case "(($ac_try" in
22835
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22836
 
  *) ac_try_echo=$ac_try;;
22837
 
esac
22838
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22839
 
  (eval "$ac_link") 2>conftest.er1
22840
 
  ac_status=$?
22841
 
  grep -v '^ *+' conftest.er1 >conftest.err
22842
 
  rm -f conftest.er1
22843
 
  cat conftest.err >&5
22844
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845
 
  (exit $ac_status); } && {
22846
 
         test -z "$ac_c_werror_flag" ||
22847
 
         test ! -s conftest.err
22848
 
       } && test -s conftest$ac_exeext &&
22849
 
       $as_test_x conftest$ac_exeext; then
22850
 
  ac_cv_lib_pthread_pthread_create=yes
22851
 
else
22852
 
  echo "$as_me: failed program was:" >&5
22853
 
sed 's/^/| /' conftest.$ac_ext >&5
22854
 
 
22855
 
        ac_cv_lib_pthread_pthread_create=no
22856
 
fi
22857
 
 
22858
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22859
 
      conftest$ac_exeext conftest.$ac_ext
22860
 
LIBS=$ac_check_lib_save_LIBS
22861
 
fi
22862
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
22863
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
22864
 
if test $ac_cv_lib_pthread_pthread_create = yes; then
22865
 
  cat >>confdefs.h <<_ACEOF
22866
 
@%:@define HAVE_LIBPTHREAD 1
22867
 
_ACEOF
22868
 
 
22869
 
  LIBS="-lpthread $LIBS"
22870
 
 
22871
 
fi
22872
 
 
22873
 
{ echo "$as_me:$LINENO: checking for snprintf" >&5
22874
 
echo $ECHO_N "checking for snprintf... $ECHO_C" >&6; }
22875
 
if test "${ac_cv_func_snprintf+set}" = set; then
22876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22877
 
else
22878
 
  cat >conftest.$ac_ext <<_ACEOF
22879
 
/* confdefs.h.  */
22880
 
_ACEOF
22881
 
cat confdefs.h >>conftest.$ac_ext
22882
 
cat >>conftest.$ac_ext <<_ACEOF
22883
 
/* end confdefs.h.  */
22884
 
/* Define snprintf to an innocuous variant, in case <limits.h> declares snprintf.
22885
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22886
 
#define snprintf innocuous_snprintf
22887
 
 
22888
 
/* System header to define __stub macros and hopefully few prototypes,
22889
 
    which can conflict with char snprintf (); below.
22890
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22891
 
    <limits.h> exists even on freestanding compilers.  */
22892
 
 
22893
 
#ifdef __STDC__
22894
 
# include <limits.h>
22895
 
#else
22896
 
# include <assert.h>
22897
 
#endif
22898
 
 
22899
 
#undef snprintf
22900
 
 
22901
 
/* Override any GCC internal prototype to avoid an error.
22902
 
   Use char because int might match the return type of a GCC
22903
 
   builtin and then its argument prototype would still apply.  */
22904
 
#ifdef __cplusplus
22905
 
extern "C"
22906
 
#endif
22907
 
char snprintf ();
22908
 
/* The GNU C library defines this for functions which it implements
22909
 
    to always fail with ENOSYS.  Some functions are actually named
22910
 
    something starting with __ and the normal name is an alias.  */
22911
 
#if defined __stub_snprintf || defined __stub___snprintf
22912
 
choke me
22913
 
#endif
22914
 
 
22915
 
int
22916
 
main ()
22917
 
{
22918
 
return snprintf ();
22919
 
  ;
22920
 
  return 0;
22921
 
}
22922
 
_ACEOF
22923
 
rm -f conftest.$ac_objext conftest$ac_exeext
22924
 
if { (ac_try="$ac_link"
22925
 
case "(($ac_try" in
22926
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22927
 
  *) ac_try_echo=$ac_try;;
22928
 
esac
22929
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22930
 
  (eval "$ac_link") 2>conftest.er1
22931
 
  ac_status=$?
22932
 
  grep -v '^ *+' conftest.er1 >conftest.err
22933
 
  rm -f conftest.er1
22934
 
  cat conftest.err >&5
22935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936
 
  (exit $ac_status); } && {
22937
 
         test -z "$ac_c_werror_flag" ||
22938
 
         test ! -s conftest.err
22939
 
       } && test -s conftest$ac_exeext &&
22940
 
       $as_test_x conftest$ac_exeext; then
22941
 
  ac_cv_func_snprintf=yes
22942
 
else
22943
 
  echo "$as_me: failed program was:" >&5
22944
 
sed 's/^/| /' conftest.$ac_ext >&5
22945
 
 
22946
 
        ac_cv_func_snprintf=no
22947
 
fi
22948
 
 
22949
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22950
 
      conftest$ac_exeext conftest.$ac_ext
22951
 
fi
22952
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_snprintf" >&5
22953
 
echo "${ECHO_T}$ac_cv_func_snprintf" >&6; }
22954
 
if test $ac_cv_func_snprintf = yes; then
22955
 
  
22956
 
cat >>confdefs.h <<\_ACEOF
22957
 
@%:@define HAVE_SNPRINTF 
22958
 
_ACEOF
22959
 
 
22960
 
fi
22961
 
 
22962
 
{ echo "$as_me:$LINENO: checking for vsnprintf" >&5
22963
 
echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6; }
22964
 
if test "${ac_cv_func_vsnprintf+set}" = set; then
22965
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22966
 
else
22967
 
  cat >conftest.$ac_ext <<_ACEOF
22968
 
/* confdefs.h.  */
22969
 
_ACEOF
22970
 
cat confdefs.h >>conftest.$ac_ext
22971
 
cat >>conftest.$ac_ext <<_ACEOF
22972
 
/* end confdefs.h.  */
22973
 
/* Define vsnprintf to an innocuous variant, in case <limits.h> declares vsnprintf.
22974
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22975
 
#define vsnprintf innocuous_vsnprintf
22976
 
 
22977
 
/* System header to define __stub macros and hopefully few prototypes,
22978
 
    which can conflict with char vsnprintf (); below.
22979
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22980
 
    <limits.h> exists even on freestanding compilers.  */
22981
 
 
22982
 
#ifdef __STDC__
22983
 
# include <limits.h>
22984
 
#else
22985
 
# include <assert.h>
22986
 
#endif
22987
 
 
22988
 
#undef vsnprintf
22989
 
 
22990
 
/* Override any GCC internal prototype to avoid an error.
22991
 
   Use char because int might match the return type of a GCC
22992
 
   builtin and then its argument prototype would still apply.  */
22993
 
#ifdef __cplusplus
22994
 
extern "C"
22995
 
#endif
22996
 
char vsnprintf ();
22997
 
/* The GNU C library defines this for functions which it implements
22998
 
    to always fail with ENOSYS.  Some functions are actually named
22999
 
    something starting with __ and the normal name is an alias.  */
23000
 
#if defined __stub_vsnprintf || defined __stub___vsnprintf
23001
 
choke me
23002
 
#endif
23003
 
 
23004
 
int
23005
 
main ()
23006
 
{
23007
 
return vsnprintf ();
23008
 
  ;
23009
 
  return 0;
23010
 
}
23011
 
_ACEOF
23012
 
rm -f conftest.$ac_objext conftest$ac_exeext
23013
 
if { (ac_try="$ac_link"
23014
 
case "(($ac_try" in
23015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23016
 
  *) ac_try_echo=$ac_try;;
23017
 
esac
23018
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23019
 
  (eval "$ac_link") 2>conftest.er1
23020
 
  ac_status=$?
23021
 
  grep -v '^ *+' conftest.er1 >conftest.err
23022
 
  rm -f conftest.er1
23023
 
  cat conftest.err >&5
23024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025
 
  (exit $ac_status); } && {
23026
 
         test -z "$ac_c_werror_flag" ||
23027
 
         test ! -s conftest.err
23028
 
       } && test -s conftest$ac_exeext &&
23029
 
       $as_test_x conftest$ac_exeext; then
23030
 
  ac_cv_func_vsnprintf=yes
23031
 
else
23032
 
  echo "$as_me: failed program was:" >&5
23033
 
sed 's/^/| /' conftest.$ac_ext >&5
23034
 
 
23035
 
        ac_cv_func_vsnprintf=no
23036
 
fi
23037
 
 
23038
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23039
 
      conftest$ac_exeext conftest.$ac_ext
23040
 
fi
23041
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf" >&5
23042
 
echo "${ECHO_T}$ac_cv_func_vsnprintf" >&6; }
23043
 
if test $ac_cv_func_vsnprintf = yes; then
23044
 
  
23045
 
cat >>confdefs.h <<\_ACEOF
23046
 
@%:@define HAVE_VSNPRINTF 
23047
 
_ACEOF
23048
 
 
23049
 
fi
23050
 
 
23051
 
 
23052
 
save_LIBS=$LIBS
23053
 
{ echo "$as_me:$LINENO: checking for library containing gzopen" >&5
23054
 
echo $ECHO_N "checking for library containing gzopen... $ECHO_C" >&6; }
23055
 
if test "${ac_cv_search_gzopen+set}" = set; then
23056
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23057
 
else
23058
 
  ac_func_search_save_LIBS=$LIBS
23059
 
cat >conftest.$ac_ext <<_ACEOF
23060
 
/* confdefs.h.  */
23061
 
_ACEOF
23062
 
cat confdefs.h >>conftest.$ac_ext
23063
 
cat >>conftest.$ac_ext <<_ACEOF
23064
 
/* end confdefs.h.  */
23065
 
 
23066
 
/* Override any GCC internal prototype to avoid an error.
23067
 
   Use char because int might match the return type of a GCC
23068
 
   builtin and then its argument prototype would still apply.  */
23069
 
#ifdef __cplusplus
23070
 
extern "C"
23071
 
#endif
23072
 
char gzopen ();
23073
 
int
23074
 
main ()
23075
 
{
23076
 
return gzopen ();
23077
 
  ;
23078
 
  return 0;
23079
 
}
23080
 
_ACEOF
23081
 
for ac_lib in '' z; do
23082
 
  if test -z "$ac_lib"; then
23083
 
    ac_res="none required"
23084
 
  else
23085
 
    ac_res=-l$ac_lib
23086
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23087
 
  fi
23088
 
  rm -f conftest.$ac_objext conftest$ac_exeext
23089
 
if { (ac_try="$ac_link"
23090
 
case "(($ac_try" in
23091
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23092
 
  *) ac_try_echo=$ac_try;;
23093
 
esac
23094
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23095
 
  (eval "$ac_link") 2>conftest.er1
23096
 
  ac_status=$?
23097
 
  grep -v '^ *+' conftest.er1 >conftest.err
23098
 
  rm -f conftest.er1
23099
 
  cat conftest.err >&5
23100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101
 
  (exit $ac_status); } && {
23102
 
         test -z "$ac_c_werror_flag" ||
23103
 
         test ! -s conftest.err
23104
 
       } && test -s conftest$ac_exeext &&
23105
 
       $as_test_x conftest$ac_exeext; then
23106
 
  ac_cv_search_gzopen=$ac_res
23107
 
else
23108
 
  echo "$as_me: failed program was:" >&5
23109
 
sed 's/^/| /' conftest.$ac_ext >&5
23110
 
 
23111
 
        
23112
 
fi
23113
 
 
23114
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23115
 
      conftest$ac_exeext 
23116
 
  if test "${ac_cv_search_gzopen+set}" = set; then
23117
 
  break
23118
 
fi
23119
 
done
23120
 
if test "${ac_cv_search_gzopen+set}" = set; then
23121
 
  :
23122
 
else
23123
 
  ac_cv_search_gzopen=no
23124
 
fi
23125
 
rm conftest.$ac_ext
23126
 
LIBS=$ac_func_search_save_LIBS
23127
 
fi
23128
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_gzopen" >&5
23129
 
echo "${ECHO_T}$ac_cv_search_gzopen" >&6; }
23130
 
ac_res=$ac_cv_search_gzopen
23131
 
if test "$ac_res" != no; then
23132
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23133
 
  HAVE_ZLIB=yes
23134
 
else
23135
 
  HAVE_ZLIB=no
23136
 
fi
23137
 
 
23138
 
LIBS=$save_LIBS
23139
 
{ echo "$as_me:$LINENO: checking for library containing BZ2_bzopen" >&5
23140
 
echo $ECHO_N "checking for library containing BZ2_bzopen... $ECHO_C" >&6; }
23141
 
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23143
 
else
23144
 
  ac_func_search_save_LIBS=$LIBS
23145
 
cat >conftest.$ac_ext <<_ACEOF
23146
 
/* confdefs.h.  */
23147
 
_ACEOF
23148
 
cat confdefs.h >>conftest.$ac_ext
23149
 
cat >>conftest.$ac_ext <<_ACEOF
23150
 
/* end confdefs.h.  */
23151
 
 
23152
 
/* Override any GCC internal prototype to avoid an error.
23153
 
   Use char because int might match the return type of a GCC
23154
 
   builtin and then its argument prototype would still apply.  */
23155
 
#ifdef __cplusplus
23156
 
extern "C"
23157
 
#endif
23158
 
char BZ2_bzopen ();
23159
 
int
23160
 
main ()
23161
 
{
23162
 
return BZ2_bzopen ();
23163
 
  ;
23164
 
  return 0;
23165
 
}
23166
 
_ACEOF
23167
 
for ac_lib in '' bz2; do
23168
 
  if test -z "$ac_lib"; then
23169
 
    ac_res="none required"
23170
 
  else
23171
 
    ac_res=-l$ac_lib
23172
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23173
 
  fi
23174
 
  rm -f conftest.$ac_objext conftest$ac_exeext
23175
 
if { (ac_try="$ac_link"
23176
 
case "(($ac_try" in
23177
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23178
 
  *) ac_try_echo=$ac_try;;
23179
 
esac
23180
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23181
 
  (eval "$ac_link") 2>conftest.er1
23182
 
  ac_status=$?
23183
 
  grep -v '^ *+' conftest.er1 >conftest.err
23184
 
  rm -f conftest.er1
23185
 
  cat conftest.err >&5
23186
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187
 
  (exit $ac_status); } && {
23188
 
         test -z "$ac_c_werror_flag" ||
23189
 
         test ! -s conftest.err
23190
 
       } && test -s conftest$ac_exeext &&
23191
 
       $as_test_x conftest$ac_exeext; then
23192
 
  ac_cv_search_BZ2_bzopen=$ac_res
23193
 
else
23194
 
  echo "$as_me: failed program was:" >&5
23195
 
sed 's/^/| /' conftest.$ac_ext >&5
23196
 
 
23197
 
        
23198
 
fi
23199
 
 
23200
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23201
 
      conftest$ac_exeext 
23202
 
  if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23203
 
  break
23204
 
fi
23205
 
done
23206
 
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23207
 
  :
23208
 
else
23209
 
  ac_cv_search_BZ2_bzopen=no
23210
 
fi
23211
 
rm conftest.$ac_ext
23212
 
LIBS=$ac_func_search_save_LIBS
23213
 
fi
23214
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_BZ2_bzopen" >&5
23215
 
echo "${ECHO_T}$ac_cv_search_BZ2_bzopen" >&6; }
23216
 
ac_res=$ac_cv_search_BZ2_bzopen
23217
 
if test "$ac_res" != no; then
23218
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23219
 
  HAVE_BZIP2=yes
23220
 
else
23221
 
  HAVE_BZIP2=no
23222
 
fi
23223
 
 
23224
 
LIBS=$save_LIBS
23225
 
 
23226
 
 if test "$HAVE_ZLIB" = yes; then
23227
 
  HAVE_ZLIB_TRUE=
23228
 
  HAVE_ZLIB_FALSE='#'
23229
 
else
23230
 
  HAVE_ZLIB_TRUE='#'
23231
 
  HAVE_ZLIB_FALSE=
23232
 
fi
23233
 
 
23234
 
 if test "$HAVE_BZIP2" = yes; then
23235
 
  HAVE_BZIP2_TRUE=
23236
 
  HAVE_BZIP2_FALSE='#'
23237
 
else
23238
 
  HAVE_BZIP2_TRUE='#'
23239
 
  HAVE_BZIP2_FALSE=
23240
 
fi
23241
 
 
23242
 
 
23243
 
CODEBLOCKS_CURRENT=0
23244
 
CODEBLOCKS_REVISION=1
23245
 
CODEBLOCKS_AGE=0
23246
 
CODEBLOCKS_VERSION_INFO=$CODEBLOCKS_CURRENT:$CODEBLOCKS_REVISION:$CODEBLOCKS_AGE
23247
 
 
23248
 
 
23249
 
 
23250
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
23251
 
 
23252
 
# Always define AMTAR for backward compatibility.
23253
 
 
23254
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
23255
 
 
23256
 
am__tar='${AMTAR} chf - "$$tardir"'; am__untar='${AMTAR} xf -'
23257
 
 
23258
 
 
23259
 
 
23260
 
 
23261
 
CODEBLOCKS_PLATFORM=gtk
23262
 
 
23263
 
# Check whether --with-platform was given.
23264
 
if test "${with_platform+set}" = set; then
23265
 
  withval=$with_platform; CODEBLOCKS_PLATFORM=$withval
23266
 
else
23267
 
  CODEBLOCKS_PLATFORM=gtk
23268
 
fi
23269
 
 
23270
 
 
23271
 
 
23272
 
  PLATFORM_CFLAGS=""
23273
 
  PLATFORM_LIBS=""
23274
 
 
23275
 
    case $CODEBLOCKS_PLATFORM in 
23276
 
    gtk)
23277
 
      PLATFORM_CFLAGS="-I/usr/X11R6/include"
23278
 
      PLATFORM_LIBS="-L/usr/X11R6/lib -lX11"
23279
 
    ;;
23280
 
    win32)
23281
 
      PLATFORM_CFLAGS=""
23282
 
      PLATFORM_LIBS="-lgdi32"
23283
 
    ;;
23284
 
    macosx)
23285
 
      PLATFORM_CFLAGS=""
23286
 
      PLATFORM_LIBS=""
23287
 
    ;;
23288
 
  esac
23289
 
 
23290
 
  
23291
 
  
23292
 
  
23293
 
 
23294
 
 
23295
 
{ echo "$as_me:$LINENO: checking whether to enable debugging" >&5
23296
 
echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; }
23297
 
debug_default="no"
23298
 
# Check whether --enable-debug was given.
23299
 
if test "${enable_debug+set}" = set; then
23300
 
  enableval=$enable_debug; 
23301
 
else
23302
 
  enable_debug=$debug_default
23303
 
fi
23304
 
 
23305
 
if test "x$enable_debug" = "xyes"; then
23306
 
         CFLAGS="-g -DDEBUG $CFLAGS"
23307
 
         CXXFLAGS="-g -DDEBUG $CXXFLAGS"
23308
 
        { echo "$as_me:$LINENO: result: yes" >&5
23309
 
echo "${ECHO_T}yes" >&6; }
23310
 
else
23311
 
        CFLAGS="-O2 -ffast-math $CFLAGS"
23312
 
        CXXFLAGS="-O2 -ffast-math $CXXFLAGS"
23313
 
        { echo "$as_me:$LINENO: result: no" >&5
23314
 
echo "${ECHO_T}no" >&6; }
23315
 
fi
23316
 
 
23317
 
{ echo "$as_me:$LINENO: checking whether to build the source formatter plugin" >&5
23318
 
echo $ECHO_N "checking whether to build the source formatter plugin... $ECHO_C" >&6; }
23319
 
astyle_default="yes"
23320
 
# Check whether --enable-source-formatter was given.
23321
 
if test "${enable_source_formatter+set}" = set; then
23322
 
  enableval=$enable_source_formatter; 
23323
 
else
23324
 
  enable_astyle=$astyle_default
23325
 
fi
23326
 
 
23327
 
 if test "x$enable_astyle" = "xyes"; then
23328
 
  BUILD_ASTYLE_TRUE=
23329
 
  BUILD_ASTYLE_FALSE='#'
23330
 
else
23331
 
  BUILD_ASTYLE_TRUE='#'
23332
 
  BUILD_ASTYLE_FALSE=
23333
 
fi
23334
 
 
23335
 
if test "x$enable_astyle" = "xyes"; then
23336
 
        { echo "$as_me:$LINENO: result: yes" >&5
23337
 
echo "${ECHO_T}yes" >&6; }
23338
 
else
23339
 
        { echo "$as_me:$LINENO: result: no" >&5
23340
 
echo "${ECHO_T}no" >&6; }
23341
 
fi
23342
 
 
23343
 
{ echo "$as_me:$LINENO: checking whether to build the autosave plugin" >&5
23344
 
echo $ECHO_N "checking whether to build the autosave plugin... $ECHO_C" >&6; }
23345
 
autosave_default="yes"
23346
 
# Check whether --enable-autosave was given.
23347
 
if test "${enable_autosave+set}" = set; then
23348
 
  enableval=$enable_autosave; 
23349
 
else
23350
 
  enable_autosave=$autosave_default
23351
 
fi
23352
 
 
23353
 
 if test "x$enable_autosave" = "xyes"; then
23354
 
  BUILD_AUTOSAVE_TRUE=
23355
 
  BUILD_AUTOSAVE_FALSE='#'
23356
 
else
23357
 
  BUILD_AUTOSAVE_TRUE='#'
23358
 
  BUILD_AUTOSAVE_FALSE=
23359
 
fi
23360
 
 
23361
 
if test "x$enable_autosave" = "xyes"; then
23362
 
        { echo "$as_me:$LINENO: result: yes" >&5
23363
 
echo "${ECHO_T}yes" >&6; }
23364
 
else
23365
 
        { echo "$as_me:$LINENO: result: no" >&5
23366
 
echo "${ECHO_T}no" >&6; }
23367
 
fi
23368
 
 
23369
 
{ echo "$as_me:$LINENO: checking whether to build the class wizard plugin" >&5
23370
 
echo $ECHO_N "checking whether to build the class wizard plugin... $ECHO_C" >&6; }
23371
 
cw_default="yes"
23372
 
# Check whether --enable-class-wizard was given.
23373
 
if test "${enable_class_wizard+set}" = set; then
23374
 
  enableval=$enable_class_wizard; 
23375
 
else
23376
 
  enable_cw=$cw_default
23377
 
fi
23378
 
 
23379
 
 if test "x$enable_cw" = "xyes"; then
23380
 
  BUILD_CLASSWIZARD_TRUE=
23381
 
  BUILD_CLASSWIZARD_FALSE='#'
23382
 
else
23383
 
  BUILD_CLASSWIZARD_TRUE='#'
23384
 
  BUILD_CLASSWIZARD_FALSE=
23385
 
fi
23386
 
 
23387
 
if test "x$enable_cw" = "xyes"; then
23388
 
        { echo "$as_me:$LINENO: result: yes" >&5
23389
 
echo "${ECHO_T}yes" >&6; }
23390
 
else
23391
 
        { echo "$as_me:$LINENO: result: no" >&5
23392
 
echo "${ECHO_T}no" >&6; }
23393
 
fi
23394
 
 
23395
 
{ echo "$as_me:$LINENO: checking whether to build the code completion plugin" >&5
23396
 
echo $ECHO_N "checking whether to build the code completion plugin... $ECHO_C" >&6; }
23397
 
cc_default="yes"
23398
 
# Check whether --enable-code-completion was given.
23399
 
if test "${enable_code_completion+set}" = set; then
23400
 
  enableval=$enable_code_completion; 
23401
 
else
23402
 
  enable_cc=$cc_default
23403
 
fi
23404
 
 
23405
 
 if test "x$enable_cc" = "xyes"; then
23406
 
  BUILD_CODECOMPLETION_TRUE=
23407
 
  BUILD_CODECOMPLETION_FALSE='#'
23408
 
else
23409
 
  BUILD_CODECOMPLETION_TRUE='#'
23410
 
  BUILD_CODECOMPLETION_FALSE=
23411
 
fi
23412
 
 
23413
 
if test "x$enable_cc" = "xyes"; then
23414
 
        { echo "$as_me:$LINENO: result: yes" >&5
23415
 
echo "${ECHO_T}yes" >&6; }
23416
 
else
23417
 
        { echo "$as_me:$LINENO: result: no" >&5
23418
 
echo "${ECHO_T}no" >&6; }
23419
 
fi
23420
 
 
23421
 
{ echo "$as_me:$LINENO: checking whether to build the compiler plugin" >&5
23422
 
echo $ECHO_N "checking whether to build the compiler plugin... $ECHO_C" >&6; }
23423
 
gcc_default="yes"
23424
 
# Check whether --enable-compiler was given.
23425
 
if test "${enable_compiler+set}" = set; then
23426
 
  enableval=$enable_compiler; 
23427
 
else
23428
 
  enable_gcc=$gcc_default
23429
 
fi
23430
 
 
23431
 
 if test "x$enable_gcc" = "xyes"; then
23432
 
  BUILD_COMPILER_TRUE=
23433
 
  BUILD_COMPILER_FALSE='#'
23434
 
else
23435
 
  BUILD_COMPILER_TRUE='#'
23436
 
  BUILD_COMPILER_FALSE=
23437
 
fi
23438
 
 
23439
 
if test "x$enable_gcc" = "xyes"; then
23440
 
        { echo "$as_me:$LINENO: result: yes" >&5
23441
 
echo "${ECHO_T}yes" >&6; }
23442
 
else
23443
 
        { echo "$as_me:$LINENO: result: no" >&5
23444
 
echo "${ECHO_T}no" >&6; }
23445
 
fi
23446
 
 
23447
 
{ echo "$as_me:$LINENO: checking whether to build the debugger plugin" >&5
23448
 
echo $ECHO_N "checking whether to build the debugger plugin... $ECHO_C" >&6; }
23449
 
dbg_default="yes"
23450
 
# Check whether --enable-debugger was given.
23451
 
if test "${enable_debugger+set}" = set; then
23452
 
  enableval=$enable_debugger; 
23453
 
else
23454
 
  enable_dbg=$dbg_default
23455
 
fi
23456
 
 
23457
 
 if test "x$enable_dbg" = "xyes"; then
23458
 
  BUILD_DEBUGGER_TRUE=
23459
 
  BUILD_DEBUGGER_FALSE='#'
23460
 
else
23461
 
  BUILD_DEBUGGER_TRUE='#'
23462
 
  BUILD_DEBUGGER_FALSE=
23463
 
fi
23464
 
 
23465
 
if test "x$enable_dbg" = "xyes"; then
23466
 
        { echo "$as_me:$LINENO: result: yes" >&5
23467
 
echo "${ECHO_T}yes" >&6; }
23468
 
else
23469
 
        { echo "$as_me:$LINENO: result: no" >&5
23470
 
echo "${ECHO_T}no" >&6; }
23471
 
fi
23472
 
 
23473
 
{ echo "$as_me:$LINENO: checking whether to build the default MIME handler plugin" >&5
23474
 
echo $ECHO_N "checking whether to build the default MIME handler plugin... $ECHO_C" >&6; }
23475
 
mime_default="yes"
23476
 
# Check whether --enable-mime-handler was given.
23477
 
if test "${enable_mime_handler+set}" = set; then
23478
 
  enableval=$enable_mime_handler; 
23479
 
else
23480
 
  enable_mime=$mime_default
23481
 
fi
23482
 
 
23483
 
 if test "x$enable_mime" = "xyes"; then
23484
 
  BUILD_MIMEHANDLER_TRUE=
23485
 
  BUILD_MIMEHANDLER_FALSE='#'
23486
 
else
23487
 
  BUILD_MIMEHANDLER_TRUE='#'
23488
 
  BUILD_MIMEHANDLER_FALSE=
23489
 
fi
23490
 
 
23491
 
if test "x$enable_mime" = "xyes"; then
23492
 
        { echo "$as_me:$LINENO: result: yes" >&5
23493
 
echo "${ECHO_T}yes" >&6; }
23494
 
else
23495
 
        { echo "$as_me:$LINENO: result: no" >&5
23496
 
echo "${ECHO_T}no" >&6; }
23497
 
fi
23498
 
 
23499
 
{ echo "$as_me:$LINENO: checking whether to build the open files list plugin" >&5
23500
 
echo $ECHO_N "checking whether to build the open files list plugin... $ECHO_C" >&6; }
23501
 
openfiles_default="yes"
23502
 
# Check whether --enable-open-files-list was given.
23503
 
if test "${enable_open_files_list+set}" = set; then
23504
 
  enableval=$enable_open_files_list; 
23505
 
else
23506
 
  enable_openfiles=$openfiles_default
23507
 
fi
23508
 
 
23509
 
 if test "x$enable_openfiles" = "xyes"; then
23510
 
  BUILD_OPENFILESLIST_TRUE=
23511
 
  BUILD_OPENFILESLIST_FALSE='#'
23512
 
else
23513
 
  BUILD_OPENFILESLIST_TRUE='#'
23514
 
  BUILD_OPENFILESLIST_FALSE=
23515
 
fi
23516
 
 
23517
 
if test "x$enable_openfiles" = "xyes"; then
23518
 
        { echo "$as_me:$LINENO: result: yes" >&5
23519
 
echo "${ECHO_T}yes" >&6; }
23520
 
else
23521
 
        { echo "$as_me:$LINENO: result: no" >&5
23522
 
echo "${ECHO_T}no" >&6; }
23523
 
fi
23524
 
 
23525
 
{ echo "$as_me:$LINENO: checking whether to build the foreign projects importer plugin" >&5
23526
 
echo $ECHO_N "checking whether to build the foreign projects importer plugin... $ECHO_C" >&6; }
23527
 
pimport_default="yes"
23528
 
# Check whether --enable-projects-importer was given.
23529
 
if test "${enable_projects_importer+set}" = set; then
23530
 
  enableval=$enable_projects_importer; 
23531
 
else
23532
 
  enable_pimport=$pimport_default
23533
 
fi
23534
 
 
23535
 
 if test "x$enable_pimport" = "xyes"; then
23536
 
  BUILD_PROJECTSIMPORTER_TRUE=
23537
 
  BUILD_PROJECTSIMPORTER_FALSE='#'
23538
 
else
23539
 
  BUILD_PROJECTSIMPORTER_TRUE='#'
23540
 
  BUILD_PROJECTSIMPORTER_FALSE=
23541
 
fi
23542
 
 
23543
 
if test "x$enable_pimport" = "xyes"; then
23544
 
        { echo "$as_me:$LINENO: result: yes" >&5
23545
 
echo "${ECHO_T}yes" >&6; }
23546
 
else
23547
 
        { echo "$as_me:$LINENO: result: no" >&5
23548
 
echo "${ECHO_T}no" >&6; }
23549
 
fi
23550
 
 
23551
 
{ echo "$as_me:$LINENO: checking whether to build the scripted wizard plugin" >&5
23552
 
echo $ECHO_N "checking whether to build the scripted wizard plugin... $ECHO_C" >&6; }
23553
 
prw_default="yes"
23554
 
# Check whether --enable-scripted-wizard was given.
23555
 
if test "${enable_scripted_wizard+set}" = set; then
23556
 
  enableval=$enable_scripted_wizard; 
23557
 
else
23558
 
  enable_prw=$prw_default
23559
 
fi
23560
 
 
23561
 
 if test "x$enable_prw" = "xyes"; then
23562
 
  BUILD_SCRIPTEDWIZARD_TRUE=
23563
 
  BUILD_SCRIPTEDWIZARD_FALSE='#'
23564
 
else
23565
 
  BUILD_SCRIPTEDWIZARD_TRUE='#'
23566
 
  BUILD_SCRIPTEDWIZARD_FALSE=
23567
 
fi
23568
 
 
23569
 
if test "x$enable_prw" = "xyes"; then
23570
 
        { echo "$as_me:$LINENO: result: yes" >&5
23571
 
echo "${ECHO_T}yes" >&6; }
23572
 
else
23573
 
        { echo "$as_me:$LINENO: result: no" >&5
23574
 
echo "${ECHO_T}no" >&6; }
23575
 
fi
23576
 
 
23577
 
{ echo "$as_me:$LINENO: checking whether to build the to-do plugin" >&5
23578
 
echo $ECHO_N "checking whether to build the to-do plugin... $ECHO_C" >&6; }
23579
 
todo_default="yes"
23580
 
# Check whether --enable-todo was given.
23581
 
if test "${enable_todo+set}" = set; then
23582
 
  enableval=$enable_todo; 
23583
 
else
23584
 
  enable_todo=$todo_default
23585
 
fi
23586
 
 
23587
 
 if test "x$enable_todo" = "xyes"; then
23588
 
  BUILD_TODO_TRUE=
23589
 
  BUILD_TODO_FALSE='#'
23590
 
else
23591
 
  BUILD_TODO_TRUE='#'
23592
 
  BUILD_TODO_FALSE=
23593
 
fi
23594
 
 
23595
 
if test "x$enable_todo" = "xyes"; then
23596
 
        { echo "$as_me:$LINENO: result: yes" >&5
23597
 
echo "${ECHO_T}yes" >&6; }
23598
 
else
23599
 
        { echo "$as_me:$LINENO: result: no" >&5
23600
 
echo "${ECHO_T}no" >&6; }
23601
 
fi
23602
 
 
23603
 
 
23604
 
case $host in
23605
 
        *-*-cygwin* | *-*-mingw*)
23606
 
                { echo "$as_me:$LINENO: checking whether to build the xp-manifest plugin" >&5
23607
 
echo $ECHO_N "checking whether to build the xp-manifest plugin... $ECHO_C" >&6; }
23608
 
                xpmanifest_default="yes"
23609
 
                # Check whether --enable-todo was given.
23610
 
if test "${enable_todo+set}" = set; then
23611
 
  enableval=$enable_todo; 
23612
 
else
23613
 
  enable_xpmanifest=$xpmanifest_default
23614
 
fi
23615
 
 
23616
 
                 if test "x$enable_xpmanifest" = "xyes"; then
23617
 
  BUILD_MANIFEST_TRUE=
23618
 
  BUILD_MANIFEST_FALSE='#'
23619
 
else
23620
 
  BUILD_MANIFEST_TRUE='#'
23621
 
  BUILD_MANIFEST_FALSE=
23622
 
fi
23623
 
 
23624
 
                if test "x$enable_xpmanifest" = "xyes"; then
23625
 
                        { echo "$as_me:$LINENO: result: yes" >&5
23626
 
echo "${ECHO_T}yes" >&6; }
23627
 
                else
23628
 
                        { echo "$as_me:$LINENO: result: no" >&5
23629
 
echo "${ECHO_T}no" >&6; }
23630
 
                fi
23631
 
                ;;
23632
 
        *)
23633
 
                 if false; then
23634
 
  BUILD_MANIFEST_TRUE=
23635
 
  BUILD_MANIFEST_FALSE='#'
23636
 
else
23637
 
  BUILD_MANIFEST_TRUE='#'
23638
 
  BUILD_MANIFEST_FALSE=
23639
 
fi
23640
 
 
23641
 
                ;;
23642
 
esac
23643
 
 
23644
 
 
23645
 
 
23646
 
 
23647
 
 
23648
 
# default to 'none'
23649
 
 
23650
 
         if false; then
23651
 
  BUILD_AUTOVERSIONING_TRUE=
23652
 
  BUILD_AUTOVERSIONING_FALSE='#'
23653
 
else
23654
 
  BUILD_AUTOVERSIONING_TRUE='#'
23655
 
  BUILD_AUTOVERSIONING_FALSE=
23656
 
fi
23657
 
 
23658
 
         if false; then
23659
 
  BUILD_BROWSETRACKER_TRUE=
23660
 
  BUILD_BROWSETRACKER_FALSE='#'
23661
 
else
23662
 
  BUILD_BROWSETRACKER_TRUE='#'
23663
 
  BUILD_BROWSETRACKER_FALSE=
23664
 
fi
23665
 
 
23666
 
         if false; then
23667
 
  BUILD_BYOGAMES_TRUE=
23668
 
  BUILD_BYOGAMES_FALSE='#'
23669
 
else
23670
 
  BUILD_BYOGAMES_TRUE='#'
23671
 
  BUILD_BYOGAMES_FALSE=
23672
 
fi
23673
 
 
23674
 
         if false; then
23675
 
  BUILD_CBKODERS_TRUE=
23676
 
  BUILD_CBKODERS_FALSE='#'
23677
 
else
23678
 
  BUILD_CBKODERS_TRUE='#'
23679
 
  BUILD_CBKODERS_FALSE=
23680
 
fi
23681
 
 
23682
 
         if false; then
23683
 
  BUILD_CODESNIPPETS_TRUE=
23684
 
  BUILD_CODESNIPPETS_FALSE='#'
23685
 
else
23686
 
  BUILD_CODESNIPPETS_TRUE='#'
23687
 
  BUILD_CODESNIPPETS_FALSE=
23688
 
fi
23689
 
 
23690
 
         if false; then
23691
 
  BUILD_CODESTAT_TRUE=
23692
 
  BUILD_CODESTAT_FALSE='#'
23693
 
else
23694
 
  BUILD_CODESTAT_TRUE='#'
23695
 
  BUILD_CODESTAT_FALSE=
23696
 
fi
23697
 
 
23698
 
         if false; then
23699
 
  BUILD_DRAGSCROLL_TRUE=
23700
 
  BUILD_DRAGSCROLL_FALSE='#'
23701
 
else
23702
 
  BUILD_DRAGSCROLL_TRUE='#'
23703
 
  BUILD_DRAGSCROLL_FALSE=
23704
 
fi
23705
 
 
23706
 
         if false; then
23707
 
  BUILD_ENVVARS_TRUE=
23708
 
  BUILD_ENVVARS_FALSE='#'
23709
 
else
23710
 
  BUILD_ENVVARS_TRUE='#'
23711
 
  BUILD_ENVVARS_FALSE=
23712
 
fi
23713
 
 
23714
 
         if false; then
23715
 
  BUILD_HELP_TRUE=
23716
 
  BUILD_HELP_FALSE='#'
23717
 
else
23718
 
  BUILD_HELP_TRUE='#'
23719
 
  BUILD_HELP_FALSE=
23720
 
fi
23721
 
 
23722
 
         if false; then
23723
 
  BUILD_KEYBINDER_TRUE=
23724
 
  BUILD_KEYBINDER_FALSE='#'
23725
 
else
23726
 
  BUILD_KEYBINDER_TRUE='#'
23727
 
  BUILD_KEYBINDER_FALSE=
23728
 
fi
23729
 
 
23730
 
         if false; then
23731
 
  BUILD_LIBFINDER_TRUE=
23732
 
  BUILD_LIBFINDER_FALSE='#'
23733
 
else
23734
 
  BUILD_LIBFINDER_TRUE='#'
23735
 
  BUILD_LIBFINDER_FALSE=
23736
 
fi
23737
 
 
23738
 
         if false; then
23739
 
  BUILD_PROFILER_TRUE=
23740
 
  BUILD_PROFILER_FALSE='#'
23741
 
else
23742
 
  BUILD_PROFILER_TRUE='#'
23743
 
  BUILD_PROFILER_FALSE=
23744
 
fi
23745
 
 
23746
 
         if false; then
23747
 
  BUILD_REGEX_TRUE=
23748
 
  BUILD_REGEX_FALSE='#'
23749
 
else
23750
 
  BUILD_REGEX_TRUE='#'
23751
 
  BUILD_REGEX_FALSE=
23752
 
fi
23753
 
 
23754
 
         if false; then
23755
 
  BUILD_EXPORTER_TRUE=
23756
 
  BUILD_EXPORTER_FALSE='#'
23757
 
else
23758
 
  BUILD_EXPORTER_TRUE='#'
23759
 
  BUILD_EXPORTER_FALSE=
23760
 
fi
23761
 
 
23762
 
         if false; then
23763
 
  BUILD_SYMTAB_TRUE=
23764
 
  BUILD_SYMTAB_FALSE='#'
23765
 
else
23766
 
  BUILD_SYMTAB_TRUE='#'
23767
 
  BUILD_SYMTAB_FALSE=
23768
 
fi
23769
 
 
23770
 
         if false; then
23771
 
  BUILD_THREADSEARCH_TRUE=
23772
 
  BUILD_THREADSEARCH_FALSE='#'
23773
 
else
23774
 
  BUILD_THREADSEARCH_TRUE='#'
23775
 
  BUILD_THREADSEARCH_FALSE=
23776
 
fi
23777
 
 
23778
 
         if false; then
23779
 
  BUILD_WXSMITH_TRUE=
23780
 
  BUILD_WXSMITH_FALSE='#'
23781
 
else
23782
 
  BUILD_WXSMITH_TRUE='#'
23783
 
  BUILD_WXSMITH_FALSE=
23784
 
fi
23785
 
 
23786
 
 
23787
 
 
23788
 
{ echo "$as_me:$LINENO: checking which (if any) contrib plugins to build" >&5
23789
 
echo $ECHO_N "checking which (if any) contrib plugins to build... $ECHO_C" >&6; }
23790
 
 
23791
 
# Check whether --with-contrib-plugins was given.
23792
 
if test "${with_contrib_plugins+set}" = set; then
23793
 
  withval=$with_contrib_plugins; plugins="$withval"
23794
 
else
23795
 
  plugins="none"
23796
 
fi
23797
 
 
23798
 
 
23799
 
plugins=`echo $plugins | sed 's/,/ /g'`
23800
 
for plugin in $plugins
23801
 
do
23802
 
    case "$plugin" in
23803
 
        all)
23804
 
                
23805
 
         if true; then
23806
 
  BUILD_AUTOVERSIONING_TRUE=
23807
 
  BUILD_AUTOVERSIONING_FALSE='#'
23808
 
else
23809
 
  BUILD_AUTOVERSIONING_TRUE='#'
23810
 
  BUILD_AUTOVERSIONING_FALSE=
23811
 
fi
23812
 
 
23813
 
         if true; then
23814
 
  BUILD_BROWSETRACKER_TRUE=
23815
 
  BUILD_BROWSETRACKER_FALSE='#'
23816
 
else
23817
 
  BUILD_BROWSETRACKER_TRUE='#'
23818
 
  BUILD_BROWSETRACKER_FALSE=
23819
 
fi
23820
 
 
23821
 
         if true; then
23822
 
  BUILD_BYOGAMES_TRUE=
23823
 
  BUILD_BYOGAMES_FALSE='#'
23824
 
else
23825
 
  BUILD_BYOGAMES_TRUE='#'
23826
 
  BUILD_BYOGAMES_FALSE=
23827
 
fi
23828
 
 
23829
 
         if true; then
23830
 
  BUILD_CBKODERS_TRUE=
23831
 
  BUILD_CBKODERS_FALSE='#'
23832
 
else
23833
 
  BUILD_CBKODERS_TRUE='#'
23834
 
  BUILD_CBKODERS_FALSE=
23835
 
fi
23836
 
 
23837
 
         if true; then
23838
 
  BUILD_CODESNIPPETS_TRUE=
23839
 
  BUILD_CODESNIPPETS_FALSE='#'
23840
 
else
23841
 
  BUILD_CODESNIPPETS_TRUE='#'
23842
 
  BUILD_CODESNIPPETS_FALSE=
23843
 
fi
23844
 
 
23845
 
         if true; then
23846
 
  BUILD_CODESTAT_TRUE=
23847
 
  BUILD_CODESTAT_FALSE='#'
23848
 
else
23849
 
  BUILD_CODESTAT_TRUE='#'
23850
 
  BUILD_CODESTAT_FALSE=
23851
 
fi
23852
 
 
23853
 
         if true; then
23854
 
  BUILD_DRAGSCROLL_TRUE=
23855
 
  BUILD_DRAGSCROLL_FALSE='#'
23856
 
else
23857
 
  BUILD_DRAGSCROLL_TRUE='#'
23858
 
  BUILD_DRAGSCROLL_FALSE=
23859
 
fi
23860
 
 
23861
 
         if true; then
23862
 
  BUILD_ENVVARS_TRUE=
23863
 
  BUILD_ENVVARS_FALSE='#'
23864
 
else
23865
 
  BUILD_ENVVARS_TRUE='#'
23866
 
  BUILD_ENVVARS_FALSE=
23867
 
fi
23868
 
 
23869
 
         if true; then
23870
 
  BUILD_HELP_TRUE=
23871
 
  BUILD_HELP_FALSE='#'
23872
 
else
23873
 
  BUILD_HELP_TRUE='#'
23874
 
  BUILD_HELP_FALSE=
23875
 
fi
23876
 
 
23877
 
         if true; then
23878
 
  BUILD_KEYBINDER_TRUE=
23879
 
  BUILD_KEYBINDER_FALSE='#'
23880
 
else
23881
 
  BUILD_KEYBINDER_TRUE='#'
23882
 
  BUILD_KEYBINDER_FALSE=
23883
 
fi
23884
 
 
23885
 
         if true; then
23886
 
  BUILD_LIBFINDER_TRUE=
23887
 
  BUILD_LIBFINDER_FALSE='#'
23888
 
else
23889
 
  BUILD_LIBFINDER_TRUE='#'
23890
 
  BUILD_LIBFINDER_FALSE=
23891
 
fi
23892
 
 
23893
 
         if true; then
23894
 
  BUILD_PROFILER_TRUE=
23895
 
  BUILD_PROFILER_FALSE='#'
23896
 
else
23897
 
  BUILD_PROFILER_TRUE='#'
23898
 
  BUILD_PROFILER_FALSE=
23899
 
fi
23900
 
 
23901
 
         if true; then
23902
 
  BUILD_REGEX_TRUE=
23903
 
  BUILD_REGEX_FALSE='#'
23904
 
else
23905
 
  BUILD_REGEX_TRUE='#'
23906
 
  BUILD_REGEX_FALSE=
23907
 
fi
23908
 
 
23909
 
         if true; then
23910
 
  BUILD_EXPORTER_TRUE=
23911
 
  BUILD_EXPORTER_FALSE='#'
23912
 
else
23913
 
  BUILD_EXPORTER_TRUE='#'
23914
 
  BUILD_EXPORTER_FALSE=
23915
 
fi
23916
 
 
23917
 
         if true; then
23918
 
  BUILD_SYMTAB_TRUE=
23919
 
  BUILD_SYMTAB_FALSE='#'
23920
 
else
23921
 
  BUILD_SYMTAB_TRUE='#'
23922
 
  BUILD_SYMTAB_FALSE=
23923
 
fi
23924
 
 
23925
 
         if true; then
23926
 
  BUILD_THREADSEARCH_TRUE=
23927
 
  BUILD_THREADSEARCH_FALSE='#'
23928
 
else
23929
 
  BUILD_THREADSEARCH_TRUE='#'
23930
 
  BUILD_THREADSEARCH_FALSE=
23931
 
fi
23932
 
 
23933
 
         if true; then
23934
 
  BUILD_WXSMITH_TRUE=
23935
 
  BUILD_WXSMITH_FALSE='#'
23936
 
else
23937
 
  BUILD_WXSMITH_TRUE='#'
23938
 
  BUILD_WXSMITH_FALSE=
23939
 
fi
23940
 
 
23941
 
 
23942
 
                ;;
23943
 
        AutoVersioning)
23944
 
                 if true; then
23945
 
  BUILD_AUTOVERSIONING_TRUE=
23946
 
  BUILD_AUTOVERSIONING_FALSE='#'
23947
 
else
23948
 
  BUILD_AUTOVERSIONING_TRUE='#'
23949
 
  BUILD_AUTOVERSIONING_FALSE=
23950
 
fi
23951
 
 
23952
 
                ;;
23953
 
        BrowseTracker)
23954
 
                 if true; then
23955
 
  BUILD_BROWSETRACKER_TRUE=
23956
 
  BUILD_BROWSETRACKER_FALSE='#'
23957
 
else
23958
 
  BUILD_BROWSETRACKER_TRUE='#'
23959
 
  BUILD_BROWSETRACKER_FALSE=
23960
 
fi
23961
 
 
23962
 
                ;;
23963
 
        byogames)
23964
 
                 if true; then
23965
 
  BUILD_BYOGAMES_TRUE=
23966
 
  BUILD_BYOGAMES_FALSE='#'
23967
 
else
23968
 
  BUILD_BYOGAMES_TRUE='#'
23969
 
  BUILD_BYOGAMES_FALSE=
23970
 
fi
23971
 
 
23972
 
                ;;
23973
 
        cbkoders)
23974
 
                 if true; then
23975
 
  BUILD_CBKODERS_TRUE=
23976
 
  BUILD_CBKODERS_FALSE='#'
23977
 
else
23978
 
  BUILD_CBKODERS_TRUE='#'
23979
 
  BUILD_CBKODERS_FALSE=
23980
 
fi
23981
 
 
23982
 
                ;;
23983
 
        codesnippets)
23984
 
                 if true; then
23985
 
  BUILD_CODESNIPPETS_TRUE=
23986
 
  BUILD_CODESNIPPETS_FALSE='#'
23987
 
else
23988
 
  BUILD_CODESNIPPETS_TRUE='#'
23989
 
  BUILD_CODESNIPPETS_FALSE=
23990
 
fi
23991
 
 
23992
 
                ;;
23993
 
        codestat)
23994
 
                 if true; then
23995
 
  BUILD_CODESTAT_TRUE=
23996
 
  BUILD_CODESTAT_FALSE='#'
23997
 
else
23998
 
  BUILD_CODESTAT_TRUE='#'
23999
 
  BUILD_CODESTAT_FALSE=
24000
 
fi
24001
 
 
24002
 
                ;;
24003
 
        dragscroll)
24004
 
                 if true; then
24005
 
  BUILD_DRAGSCROLL_TRUE=
24006
 
  BUILD_DRAGSCROLL_FALSE='#'
24007
 
else
24008
 
  BUILD_DRAGSCROLL_TRUE='#'
24009
 
  BUILD_DRAGSCROLL_FALSE=
24010
 
fi
24011
 
 
24012
 
                ;;
24013
 
        envvars)
24014
 
                 if true; then
24015
 
  BUILD_ENVVARS_TRUE=
24016
 
  BUILD_ENVVARS_FALSE='#'
24017
 
else
24018
 
  BUILD_ENVVARS_TRUE='#'
24019
 
  BUILD_ENVVARS_FALSE=
24020
 
fi
24021
 
 
24022
 
                ;;
24023
 
        help)
24024
 
                 if true; then
24025
 
  BUILD_HELP_TRUE=
24026
 
  BUILD_HELP_FALSE='#'
24027
 
else
24028
 
  BUILD_HELP_TRUE='#'
24029
 
  BUILD_HELP_FALSE=
24030
 
fi
24031
 
 
24032
 
                ;;
24033
 
        keybinder)
24034
 
                 if true; then
24035
 
  BUILD_KEYBINDER_TRUE=
24036
 
  BUILD_KEYBINDER_FALSE='#'
24037
 
else
24038
 
  BUILD_KEYBINDER_TRUE='#'
24039
 
  BUILD_KEYBINDER_FALSE=
24040
 
fi
24041
 
 
24042
 
                ;;
24043
 
        libfinder)
24044
 
                 if true; then
24045
 
  BUILD_LIBFINDER_TRUE=
24046
 
  BUILD_LIBFINDER_FALSE='#'
24047
 
else
24048
 
  BUILD_LIBFINDER_TRUE='#'
24049
 
  BUILD_LIBFINDER_FALSE=
24050
 
fi
24051
 
 
24052
 
                ;;
24053
 
        profiler)
24054
 
                 if true; then
24055
 
  BUILD_PROFILER_TRUE=
24056
 
  BUILD_PROFILER_FALSE='#'
24057
 
else
24058
 
  BUILD_PROFILER_TRUE='#'
24059
 
  BUILD_PROFILER_FALSE=
24060
 
fi
24061
 
 
24062
 
                ;;
24063
 
        regex)
24064
 
                 if true; then
24065
 
  BUILD_REGEX_TRUE=
24066
 
  BUILD_REGEX_FALSE='#'
24067
 
else
24068
 
  BUILD_REGEX_TRUE='#'
24069
 
  BUILD_REGEX_FALSE=
24070
 
fi
24071
 
 
24072
 
                ;;
24073
 
        exporter)
24074
 
                 if true; then
24075
 
  BUILD_EXPORTER_TRUE=
24076
 
  BUILD_EXPORTER_FALSE='#'
24077
 
else
24078
 
  BUILD_EXPORTER_TRUE='#'
24079
 
  BUILD_EXPORTER_FALSE=
24080
 
fi
24081
 
 
24082
 
                ;;
24083
 
        symtab)
24084
 
                 if true; then
24085
 
  BUILD_SYMTAB_TRUE=
24086
 
  BUILD_SYMTAB_FALSE='#'
24087
 
else
24088
 
  BUILD_SYMTAB_TRUE='#'
24089
 
  BUILD_SYMTAB_FALSE=
24090
 
fi
24091
 
 
24092
 
                ;;
24093
 
        ThreadSearch)
24094
 
                 if true; then
24095
 
  BUILD_THREADSEARCH_TRUE=
24096
 
  BUILD_THREADSEARCH_FALSE='#'
24097
 
else
24098
 
  BUILD_THREADSEARCH_TRUE='#'
24099
 
  BUILD_THREADSEARCH_FALSE=
24100
 
fi
24101
 
 
24102
 
                ;;
24103
 
        wxsmith)
24104
 
                 if true; then
24105
 
  BUILD_WXSMITH_TRUE=
24106
 
  BUILD_WXSMITH_FALSE='#'
24107
 
else
24108
 
  BUILD_WXSMITH_TRUE='#'
24109
 
  BUILD_WXSMITH_FALSE=
24110
 
fi
24111
 
 
24112
 
                ;;
24113
 
        -AutoVersioning)
24114
 
                 if false; then
24115
 
  BUILD_AUTOVERSIONING_TRUE=
24116
 
  BUILD_AUTOVERSIONING_FALSE='#'
24117
 
else
24118
 
  BUILD_AUTOVERSIONING_TRUE='#'
24119
 
  BUILD_AUTOVERSIONING_FALSE=
24120
 
fi
24121
 
 
24122
 
                ;;
24123
 
        -BrowseTracker)
24124
 
                 if false; then
24125
 
  BUILD_BROWSETRACKER_TRUE=
24126
 
  BUILD_BROWSETRACKER_FALSE='#'
24127
 
else
24128
 
  BUILD_BROWSETRACKER_TRUE='#'
24129
 
  BUILD_BROWSETRACKER_FALSE=
24130
 
fi
24131
 
 
24132
 
                ;;
24133
 
        -byogames)
24134
 
                 if false; then
24135
 
  BUILD_BYOGAMES_TRUE=
24136
 
  BUILD_BYOGAMES_FALSE='#'
24137
 
else
24138
 
  BUILD_BYOGAMES_TRUE='#'
24139
 
  BUILD_BYOGAMES_FALSE=
24140
 
fi
24141
 
 
24142
 
                ;;
24143
 
        -cbkoders)
24144
 
                 if false; then
24145
 
  BUILD_CBKODERS_TRUE=
24146
 
  BUILD_CBKODERS_FALSE='#'
24147
 
else
24148
 
  BUILD_CBKODERS_TRUE='#'
24149
 
  BUILD_CBKODERS_FALSE=
24150
 
fi
24151
 
 
24152
 
                ;;
24153
 
        -codesnippets)
24154
 
                 if false; then
24155
 
  BUILD_CODESNIPPETS_TRUE=
24156
 
  BUILD_CODESNIPPETS_FALSE='#'
24157
 
else
24158
 
  BUILD_CODESNIPPETS_TRUE='#'
24159
 
  BUILD_CODESNIPPETS_FALSE=
24160
 
fi
24161
 
 
24162
 
                ;;
24163
 
        -codestat)
24164
 
                 if false; then
24165
 
  BUILD_CODESTAT_TRUE=
24166
 
  BUILD_CODESTAT_FALSE='#'
24167
 
else
24168
 
  BUILD_CODESTAT_TRUE='#'
24169
 
  BUILD_CODESTAT_FALSE=
24170
 
fi
24171
 
 
24172
 
                ;;
24173
 
        -dragscroll)
24174
 
                 if false; then
24175
 
  BUILD_DRAGSCROLL_TRUE=
24176
 
  BUILD_DRAGSCROLL_FALSE='#'
24177
 
else
24178
 
  BUILD_DRAGSCROLL_TRUE='#'
24179
 
  BUILD_DRAGSCROLL_FALSE=
24180
 
fi
24181
 
 
24182
 
                ;;
24183
 
        -envvars)
24184
 
                 if false; then
24185
 
  BUILD_ENVVARS_TRUE=
24186
 
  BUILD_ENVVARS_FALSE='#'
24187
 
else
24188
 
  BUILD_ENVVARS_TRUE='#'
24189
 
  BUILD_ENVVARS_FALSE=
24190
 
fi
24191
 
 
24192
 
                ;;
24193
 
        -help)
24194
 
                 if false; then
24195
 
  BUILD_HELP_TRUE=
24196
 
  BUILD_HELP_FALSE='#'
24197
 
else
24198
 
  BUILD_HELP_TRUE='#'
24199
 
  BUILD_HELP_FALSE=
24200
 
fi
24201
 
 
24202
 
                ;;
24203
 
        -keybinder)
24204
 
                 if false; then
24205
 
  BUILD_KEYBINDER_TRUE=
24206
 
  BUILD_KEYBINDER_FALSE='#'
24207
 
else
24208
 
  BUILD_KEYBINDER_TRUE='#'
24209
 
  BUILD_KEYBINDER_FALSE=
24210
 
fi
24211
 
 
24212
 
                ;;
24213
 
        -libfinder)
24214
 
                 if false; then
24215
 
  BUILD_LIBFINDER_TRUE=
24216
 
  BUILD_LIBFINDER_FALSE='#'
24217
 
else
24218
 
  BUILD_LIBFINDER_TRUE='#'
24219
 
  BUILD_LIBFINDER_FALSE=
24220
 
fi
24221
 
 
24222
 
                ;;
24223
 
        -profiler)
24224
 
                 if false; then
24225
 
  BUILD_PROFILER_TRUE=
24226
 
  BUILD_PROFILER_FALSE='#'
24227
 
else
24228
 
  BUILD_PROFILER_TRUE='#'
24229
 
  BUILD_PROFILER_FALSE=
24230
 
fi
24231
 
 
24232
 
                ;;
24233
 
        -regex)
24234
 
                 if false; then
24235
 
  BUILD_REGEX_TRUE=
24236
 
  BUILD_REGEX_FALSE='#'
24237
 
else
24238
 
  BUILD_REGEX_TRUE='#'
24239
 
  BUILD_REGEX_FALSE=
24240
 
fi
24241
 
 
24242
 
                ;;
24243
 
        -exporter)
24244
 
                 if false; then
24245
 
  BUILD_EXPORTER_TRUE=
24246
 
  BUILD_EXPORTER_FALSE='#'
24247
 
else
24248
 
  BUILD_EXPORTER_TRUE='#'
24249
 
  BUILD_EXPORTER_FALSE=
24250
 
fi
24251
 
 
24252
 
                ;;
24253
 
        -symtab)
24254
 
                 if false; then
24255
 
  BUILD_SYMTAB_TRUE=
24256
 
  BUILD_SYMTAB_FALSE='#'
24257
 
else
24258
 
  BUILD_SYMTAB_TRUE='#'
24259
 
  BUILD_SYMTAB_FALSE=
24260
 
fi
24261
 
 
24262
 
                ;;
24263
 
        -ThreadSearch)
24264
 
                 if false; then
24265
 
  BUILD_THREADSEARCH_TRUE=
24266
 
  BUILD_THREADSEARCH_FALSE='#'
24267
 
else
24268
 
  BUILD_THREADSEARCH_TRUE='#'
24269
 
  BUILD_THREADSEARCH_FALSE=
24270
 
fi
24271
 
 
24272
 
                ;;
24273
 
        -wxsmith)
24274
 
                 if false; then
24275
 
  BUILD_WXSMITH_TRUE=
24276
 
  BUILD_WXSMITH_FALSE='#'
24277
 
else
24278
 
  BUILD_WXSMITH_TRUE='#'
24279
 
  BUILD_WXSMITH_FALSE=
24280
 
fi
24281
 
 
24282
 
                ;;
24283
 
        *)
24284
 
                echo "Unknown contrib plugin $plugin, ignoring"
24285
 
                ;;
24286
 
    esac
24287
 
done
24288
 
{ echo "$as_me:$LINENO: result: $plugins" >&5
24289
 
echo "${ECHO_T}$plugins" >&6; }
24290
 
 
24291
 
 
24292
 
 
24293
 
 
24294
 
 
24295
 
 
24296
 
 
24297
 
 
24298
 
 
24299
 
 
24300
 
 
24301
 
 
24302
 
 
24303
 
 
24304
 
 
24305
 
 
24306
 
 
24307
 
 
24308
 
 
24309
 
 
24310
 
 
24311
 
GCC_PCH=0
24312
 
PCH_FLAGS=
24313
 
pch_default="yes"
24314
 
 if false; then
24315
 
  PRECOMPILE_HEADERS_TRUE=
24316
 
  PRECOMPILE_HEADERS_FALSE='#'
24317
 
else
24318
 
  PRECOMPILE_HEADERS_TRUE='#'
24319
 
  PRECOMPILE_HEADERS_FALSE=
24320
 
fi
24321
 
 
24322
 
# Check whether --enable-pch was given.
24323
 
if test "${enable_pch+set}" = set; then
24324
 
  enableval=$enable_pch; 
24325
 
else
24326
 
  enable_pch=$pch_default
24327
 
fi
24328
 
 
24329
 
if test "x$enable_pch" = "x" -o "x$enable_pch" = "xyes" ; then
24330
 
    if test "x$GCC" = "xyes"; then
24331
 
                { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
24332
 
echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
24333
 
        cat >conftest.$ac_ext <<_ACEOF
24334
 
/* confdefs.h.  */
24335
 
_ACEOF
24336
 
cat confdefs.h >>conftest.$ac_ext
24337
 
cat >>conftest.$ac_ext <<_ACEOF
24338
 
/* end confdefs.h.  */
24339
 
 
24340
 
int
24341
 
main ()
24342
 
{
24343
 
 
24344
 
                #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
24345
 
                    #error "no pch support"
24346
 
                #endif
24347
 
                #if (__GNUC__ < 3)
24348
 
                    #error "no pch support"
24349
 
                #endif
24350
 
                #if (__GNUC__ == 3) && \
24351
 
                   ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
24352
 
                   ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
24353
 
                    #error "no pch support"
24354
 
                #endif
24355
 
            
24356
 
  ;
24357
 
  return 0;
24358
 
}
24359
 
_ACEOF
24360
 
rm -f conftest.$ac_objext
24361
 
if { (ac_try="$ac_compile"
24362
 
case "(($ac_try" in
24363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24364
 
  *) ac_try_echo=$ac_try;;
24365
 
esac
24366
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24367
 
  (eval "$ac_compile") 2>conftest.er1
24368
 
  ac_status=$?
24369
 
  grep -v '^ *+' conftest.er1 >conftest.err
24370
 
  rm -f conftest.er1
24371
 
  cat conftest.err >&5
24372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373
 
  (exit $ac_status); } && {
24374
 
         test -z "$ac_c_werror_flag" ||
24375
 
         test ! -s conftest.err
24376
 
       } && test -s conftest.$ac_objext; then
24377
 
  
24378
 
                { echo "$as_me:$LINENO: result: yes" >&5
24379
 
echo "${ECHO_T}yes" >&6; }
24380
 
                GCC_PCH=1
24381
 
                PCH_FLAGS="-DCB_PRECOMP -Winvalid-pch"
24382
 
            
24383
 
else
24384
 
  echo "$as_me: failed program was:" >&5
24385
 
sed 's/^/| /' conftest.$ac_ext >&5
24386
 
 
24387
 
        
24388
 
                { echo "$as_me:$LINENO: result: no" >&5
24389
 
echo "${ECHO_T}no" >&6; }
24390
 
            
24391
 
fi
24392
 
 
24393
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24394
 
         if test $GCC_PCH = 1; then
24395
 
  PRECOMPILE_HEADERS_TRUE=
24396
 
  PRECOMPILE_HEADERS_FALSE='#'
24397
 
else
24398
 
  PRECOMPILE_HEADERS_TRUE='#'
24399
 
  PRECOMPILE_HEADERS_FALSE=
24400
 
fi
24401
 
 
24402
 
    fi
24403
 
fi
24404
 
 
24405
 
 
24406
 
 
24407
 
 
24408
 
    
24409
 
# Check whether --with-wxdir was given.
24410
 
if test "${with_wxdir+set}" = set; then
24411
 
  withval=$with_wxdir;  wx_config_name="$withval/wx-config"
24412
 
                  wx_config_args="--inplace"
24413
 
fi
24414
 
 
24415
 
    
24416
 
# Check whether --with-wx-config was given.
24417
 
if test "${with_wx_config+set}" = set; then
24418
 
  withval=$with_wx_config; wx_config_name="$withval" 
24419
 
fi
24420
 
 
24421
 
    
24422
 
# Check whether --with-wx-prefix was given.
24423
 
if test "${with_wx_prefix+set}" = set; then
24424
 
  withval=$with_wx_prefix; wx_config_prefix="$withval"
24425
 
else
24426
 
  wx_config_prefix=""
24427
 
fi
24428
 
 
24429
 
    
24430
 
# Check whether --with-wx-exec-prefix was given.
24431
 
if test "${with_wx_exec_prefix+set}" = set; then
24432
 
  withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
24433
 
else
24434
 
  wx_config_exec_prefix=""
24435
 
fi
24436
 
 
24437
 
 
24438
 
 
24439
 
    if test x${WX_CONFIG_NAME+set} != xset ; then
24440
 
     WX_CONFIG_NAME=wx-config
24441
 
  fi
24442
 
 
24443
 
  if test "x$wx_config_name" != x ; then
24444
 
     WX_CONFIG_NAME="$wx_config_name"
24445
 
  fi
24446
 
 
24447
 
    if test x$wx_config_exec_prefix != x ; then
24448
 
     wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
24449
 
     WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
24450
 
  fi
24451
 
  if test x$wx_config_prefix != x ; then
24452
 
     wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
24453
 
     WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
24454
 
  fi
24455
 
  if test "$cross_compiling" = "yes"; then
24456
 
     wx_config_args="$wx_config_args --host=$host_alias"
24457
 
  fi
24458
 
 
24459
 
    if test -x "$WX_CONFIG_NAME" ; then
24460
 
     { echo "$as_me:$LINENO: checking for wx-config" >&5
24461
 
echo $ECHO_N "checking for wx-config... $ECHO_C" >&6; }
24462
 
     WX_CONFIG_PATH="$WX_CONFIG_NAME"
24463
 
     { echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
24464
 
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; }
24465
 
  else
24466
 
     # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
24467
 
set dummy $WX_CONFIG_NAME; ac_word=$2
24468
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24469
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24470
 
if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
24471
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24472
 
else
24473
 
  case $WX_CONFIG_PATH in
24474
 
  [\\/]* | ?:[\\/]*)
24475
 
  ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
24476
 
  ;;
24477
 
  *)
24478
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24479
 
as_dummy=""$WX_LOOKUP_PATH:$PATH""
24480
 
for as_dir in $as_dummy
24481
 
do
24482
 
  IFS=$as_save_IFS
24483
 
  test -z "$as_dir" && as_dir=.
24484
 
  for ac_exec_ext in '' $ac_executable_extensions; do
24485
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24486
 
    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
24487
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24488
 
    break 2
24489
 
  fi
24490
 
done
24491
 
done
24492
 
IFS=$as_save_IFS
24493
 
 
24494
 
  test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
24495
 
  ;;
24496
 
esac
24497
 
fi
24498
 
WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
24499
 
if test -n "$WX_CONFIG_PATH"; then
24500
 
  { echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
24501
 
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; }
24502
 
else
24503
 
  { echo "$as_me:$LINENO: result: no" >&5
24504
 
echo "${ECHO_T}no" >&6; }
24505
 
fi
24506
 
 
24507
 
 
24508
 
  fi
24509
 
 
24510
 
  if test "$WX_CONFIG_PATH" != "no" ; then
24511
 
    WX_VERSION=""
24512
 
 
24513
 
    min_wx_version=2.8.0
24514
 
    if test -z "" ; then
24515
 
      { echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
24516
 
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6; }
24517
 
    else
24518
 
      { echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ()" >&5
24519
 
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ()... $ECHO_C" >&6; }
24520
 
    fi
24521
 
 
24522
 
    WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args  "
24523
 
 
24524
 
    WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
24525
 
    wx_config_major_version=`echo $WX_VERSION | \
24526
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24527
 
    wx_config_minor_version=`echo $WX_VERSION | \
24528
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24529
 
    wx_config_micro_version=`echo $WX_VERSION | \
24530
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24531
 
 
24532
 
    wx_requested_major_version=`echo $min_wx_version | \
24533
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24534
 
    wx_requested_minor_version=`echo $min_wx_version | \
24535
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24536
 
    wx_requested_micro_version=`echo $min_wx_version | \
24537
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24538
 
 
24539
 
    
24540
 
    wx_ver_ok=""
24541
 
    if test "x$WX_VERSION" != x ; then
24542
 
      if test $wx_config_major_version -gt $wx_requested_major_version; then
24543
 
        wx_ver_ok=yes
24544
 
      else
24545
 
        if test $wx_config_major_version -eq $wx_requested_major_version; then
24546
 
           if test $wx_config_minor_version -gt $wx_requested_minor_version; then
24547
 
              wx_ver_ok=yes
24548
 
           else
24549
 
              if test $wx_config_minor_version -eq $wx_requested_minor_version; then
24550
 
                 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
24551
 
                    wx_ver_ok=yes
24552
 
                 fi
24553
 
              fi
24554
 
           fi
24555
 
        fi
24556
 
      fi
24557
 
    fi
24558
 
 
24559
 
 
24560
 
    if test -n "$wx_ver_ok"; then
24561
 
 
24562
 
      { echo "$as_me:$LINENO: result: yes (version $WX_VERSION)" >&5
24563
 
echo "${ECHO_T}yes (version $WX_VERSION)" >&6; }
24564
 
      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
24565
 
 
24566
 
                              { echo "$as_me:$LINENO: checking for wxWidgets static library" >&5
24567
 
echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6; }
24568
 
      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
24569
 
      if test "x$WX_LIBS_STATIC" = "x"; then
24570
 
        { echo "$as_me:$LINENO: result: no" >&5
24571
 
echo "${ECHO_T}no" >&6; }
24572
 
      else
24573
 
        { echo "$as_me:$LINENO: result: yes" >&5
24574
 
echo "${ECHO_T}yes" >&6; }
24575
 
      fi
24576
 
 
24577
 
            wx_has_cppflags=""
24578
 
      if test $wx_config_major_version -gt 2; then
24579
 
        wx_has_cppflags=yes
24580
 
      else
24581
 
        if test $wx_config_major_version -eq 2; then
24582
 
           if test $wx_config_minor_version -gt 2; then
24583
 
              wx_has_cppflags=yes
24584
 
           else
24585
 
              if test $wx_config_minor_version -eq 2; then
24586
 
                 if test $wx_config_micro_version -ge 6; then
24587
 
                    wx_has_cppflags=yes
24588
 
                 fi
24589
 
              fi
24590
 
           fi
24591
 
        fi
24592
 
      fi
24593
 
 
24594
 
            wx_has_rescomp=""
24595
 
      if test $wx_config_major_version -gt 2; then
24596
 
        wx_has_rescomp=yes
24597
 
      else
24598
 
        if test $wx_config_major_version -eq 2; then
24599
 
           if test $wx_config_minor_version -ge 7; then
24600
 
              wx_has_rescomp=yes
24601
 
           fi
24602
 
        fi
24603
 
      fi
24604
 
      if test "x$wx_has_rescomp" = x ; then
24605
 
                  WX_RESCOMP=
24606
 
      else
24607
 
         WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
24608
 
      fi
24609
 
 
24610
 
      if test "x$wx_has_cppflags" = x ; then
24611
 
                  WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
24612
 
         WX_CPPFLAGS=$WX_CFLAGS
24613
 
         WX_CXXFLAGS=$WX_CFLAGS
24614
 
 
24615
 
         WX_CFLAGS_ONLY=$WX_CFLAGS
24616
 
         WX_CXXFLAGS_ONLY=$WX_CFLAGS
24617
 
      else
24618
 
                  WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
24619
 
         WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
24620
 
         WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
24621
 
 
24622
 
         WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
24623
 
         WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
24624
 
      fi
24625
 
 
24626
 
      wxWin=1
24627
 
 
24628
 
    else
24629
 
 
24630
 
       if test "x$WX_VERSION" = x; then
24631
 
                    { echo "$as_me:$LINENO: result: no" >&5
24632
 
echo "${ECHO_T}no" >&6; }
24633
 
       else
24634
 
          { echo "$as_me:$LINENO: result: no (version $WX_VERSION is not new enough)" >&5
24635
 
echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6; }
24636
 
       fi
24637
 
 
24638
 
       WX_CFLAGS=""
24639
 
       WX_CPPFLAGS=""
24640
 
       WX_CXXFLAGS=""
24641
 
       WX_LIBS=""
24642
 
       WX_LIBS_STATIC=""
24643
 
       WX_RESCOMP=""
24644
 
       :
24645
 
 
24646
 
    fi
24647
 
  else
24648
 
 
24649
 
    WX_CFLAGS=""
24650
 
    WX_CPPFLAGS=""
24651
 
    WX_CXXFLAGS=""
24652
 
    WX_LIBS=""
24653
 
    WX_LIBS_STATIC=""
24654
 
    WX_RESCOMP=""
24655
 
 
24656
 
    :
24657
 
 
24658
 
  fi
24659
 
 
24660
 
  
24661
 
  
24662
 
  
24663
 
  
24664
 
  
24665
 
  
24666
 
  
24667
 
  
24668
 
  
24669
 
 
24670
 
        if test "$wxWin" != 1; then
24671
 
        { { echo "$as_me:$LINENO: error: 
24672
 
                wxWidgets must be installed on your system.
24673
 
 
24674
 
                Please check that wx-config is in path, the directory
24675
 
                where wxWidgets libraries are installed (returned by
24676
 
                'wx-config --libs' or 'wx-config --static --libs' command)
24677
 
                is in LD_LIBRARY_PATH or equivalent variable and
24678
 
                wxWindows version is 2.8.0 or above.
24679
 
                " >&5
24680
 
echo "$as_me: error: 
24681
 
                wxWidgets must be installed on your system.
24682
 
 
24683
 
                Please check that wx-config is in path, the directory
24684
 
                where wxWidgets libraries are installed (returned by
24685
 
                'wx-config --libs' or 'wx-config --static --libs' command)
24686
 
                is in LD_LIBRARY_PATH or equivalent variable and
24687
 
                wxWindows version is 2.8.0 or above.
24688
 
                " >&2;}
24689
 
   { (exit 1); exit 1; }; }
24690
 
        else
24691
 
                # check for wx2.8.3 which is known to behave badly for us
24692
 
                if test "$WX_VERSION" = "2.8.3"; then
24693
 
                        { { echo "$as_me:$LINENO: error: 
24694
 
                wxWidgets version 2.8.3 is known to behave badly with
24695
 
                Code::Blocks. Please upgrade to a newer (or downgrade to an 
24696
 
                earlier) wxWidgets version...
24697
 
                        " >&5
24698
 
echo "$as_me: error: 
24699
 
                wxWidgets version 2.8.3 is known to behave badly with
24700
 
                Code::Blocks. Please upgrade to a newer (or downgrade to an 
24701
 
                earlier) wxWidgets version...
24702
 
                        " >&2;}
24703
 
   { (exit 1); exit 1; }; }
24704
 
                fi
24705
 
        fi
24706
 
 
24707
 
 
24708
 
 
24709
 
 
24710
 
 
24711
 
 
24712
 
 
24713
 
WX_GTK2_CFLAGS=
24714
 
WX_GTK2_LIBS=
24715
 
 
24716
 
POSTLINK_COMMAND="@true"
24717
 
MACSETFILE="@true"
24718
 
 
24719
 
{ echo "$as_me:$LINENO: checking for wxWidgets platform" >&5
24720
 
echo $ECHO_N "checking for wxWidgets platform... $ECHO_C" >&6; }
24721
 
WX_BASENAME=`$WX_CONFIG_WITH_ARGS --basename`
24722
 
case $WX_BASENAME in 
24723
 
    *wx_gtk*)
24724
 
        { echo "$as_me:$LINENO: result: wxGTK" >&5
24725
 
echo "${ECHO_T}wxGTK" >&6; }
24726
 
                                                                                                                # Extract the first word of "pkg-config", so it can be a program name with args.
24727
 
set dummy pkg-config; ac_word=$2
24728
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24729
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24730
 
if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then
24731
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24732
 
else
24733
 
  if test -n "$HAVE_PKG_CONFIG"; then
24734
 
  ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test.
24735
 
else
24736
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24737
 
for as_dir in $PATH
24738
 
do
24739
 
  IFS=$as_save_IFS
24740
 
  test -z "$as_dir" && as_dir=.
24741
 
  for ac_exec_ext in '' $ac_executable_extensions; do
24742
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24743
 
    ac_cv_prog_HAVE_PKG_CONFIG="yes"
24744
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24745
 
    break 2
24746
 
  fi
24747
 
done
24748
 
done
24749
 
IFS=$as_save_IFS
24750
 
 
24751
 
  test -z "$ac_cv_prog_HAVE_PKG_CONFIG" && ac_cv_prog_HAVE_PKG_CONFIG="no"
24752
 
fi
24753
 
fi
24754
 
HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG
24755
 
if test -n "$HAVE_PKG_CONFIG"; then
24756
 
  { echo "$as_me:$LINENO: result: $HAVE_PKG_CONFIG" >&5
24757
 
echo "${ECHO_T}$HAVE_PKG_CONFIG" >&6; }
24758
 
else
24759
 
  { echo "$as_me:$LINENO: result: no" >&5
24760
 
echo "${ECHO_T}no" >&6; }
24761
 
fi
24762
 
 
24763
 
 
24764
 
        
24765
 
        if test "x$HAVE_PKG_CONFIG" = "xyes"; then
24766
 
            
24767
 
 
24768
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24769
 
        if test -n "$ac_tool_prefix"; then
24770
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24771
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24772
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24773
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24774
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24775
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24776
 
else
24777
 
  case $PKG_CONFIG in
24778
 
  [\\/]* | ?:[\\/]*)
24779
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24780
 
  ;;
24781
 
  *)
24782
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24783
 
for as_dir in $PATH
24784
 
do
24785
 
  IFS=$as_save_IFS
24786
 
  test -z "$as_dir" && as_dir=.
24787
 
  for ac_exec_ext in '' $ac_executable_extensions; do
24788
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24789
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24790
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24791
 
    break 2
24792
 
  fi
24793
 
done
24794
 
done
24795
 
IFS=$as_save_IFS
24796
 
 
24797
 
  ;;
24798
 
esac
24799
 
fi
24800
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24801
 
if test -n "$PKG_CONFIG"; then
24802
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24803
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
24804
 
else
24805
 
  { echo "$as_me:$LINENO: result: no" >&5
24806
 
echo "${ECHO_T}no" >&6; }
24807
 
fi
24808
 
 
24809
 
 
24810
 
fi
24811
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
24812
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
24813
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
24814
 
set dummy pkg-config; ac_word=$2
24815
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24816
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24817
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
24818
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24819
 
else
24820
 
  case $ac_pt_PKG_CONFIG in
24821
 
  [\\/]* | ?:[\\/]*)
24822
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24823
 
  ;;
24824
 
  *)
24825
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24826
 
for as_dir in $PATH
24827
 
do
24828
 
  IFS=$as_save_IFS
24829
 
  test -z "$as_dir" && as_dir=.
24830
 
  for ac_exec_ext in '' $ac_executable_extensions; do
24831
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24832
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24833
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24834
 
    break 2
24835
 
  fi
24836
 
done
24837
 
done
24838
 
IFS=$as_save_IFS
24839
 
 
24840
 
  ;;
24841
 
esac
24842
 
fi
24843
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24844
 
if test -n "$ac_pt_PKG_CONFIG"; then
24845
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
24846
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
24847
 
else
24848
 
  { echo "$as_me:$LINENO: result: no" >&5
24849
 
echo "${ECHO_T}no" >&6; }
24850
 
fi
24851
 
 
24852
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
24853
 
    PKG_CONFIG=""
24854
 
  else
24855
 
    case $cross_compiling:$ac_tool_warned in
24856
 
yes:)
24857
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24858
 
whose name does not start with the host triplet.  If you think this
24859
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
24860
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24861
 
whose name does not start with the host triplet.  If you think this
24862
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
24863
 
ac_tool_warned=yes ;;
24864
 
esac
24865
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
24866
 
  fi
24867
 
else
24868
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24869
 
fi
24870
 
 
24871
 
fi
24872
 
if test -n "$PKG_CONFIG"; then
24873
 
        _pkg_min_version=0.9.0
24874
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
24875
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
24876
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24877
 
                { echo "$as_me:$LINENO: result: yes" >&5
24878
 
echo "${ECHO_T}yes" >&6; }
24879
 
        else
24880
 
                { echo "$as_me:$LINENO: result: no" >&5
24881
 
echo "${ECHO_T}no" >&6; }
24882
 
                PKG_CONFIG=""
24883
 
        fi
24884
 
                
24885
 
fi
24886
 
 
24887
 
pkg_failed=no
24888
 
{ echo "$as_me:$LINENO: checking for GTK2" >&5
24889
 
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
24890
 
 
24891
 
if test -n "$PKG_CONFIG"; then
24892
 
    if test -n "$GTK2_CFLAGS"; then
24893
 
        pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
24894
 
    else
24895
 
        if test -n "$PKG_CONFIG" && \
24896
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
24897
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24898
 
  ac_status=$?
24899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900
 
  (exit $ac_status); }; then
24901
 
  pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24902
 
else
24903
 
  pkg_failed=yes
24904
 
fi
24905
 
    fi
24906
 
else
24907
 
        pkg_failed=untried
24908
 
fi
24909
 
if test -n "$PKG_CONFIG"; then
24910
 
    if test -n "$GTK2_LIBS"; then
24911
 
        pkg_cv_GTK2_LIBS="$GTK2_LIBS"
24912
 
    else
24913
 
        if test -n "$PKG_CONFIG" && \
24914
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
24915
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24916
 
  ac_status=$?
24917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918
 
  (exit $ac_status); }; then
24919
 
  pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24920
 
else
24921
 
  pkg_failed=yes
24922
 
fi
24923
 
    fi
24924
 
else
24925
 
        pkg_failed=untried
24926
 
fi
24927
 
 
24928
 
 
24929
 
 
24930
 
if test $pkg_failed = yes; then
24931
 
        
24932
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24933
 
        _pkg_short_errors_supported=yes
24934
 
else
24935
 
        _pkg_short_errors_supported=no
24936
 
fi
24937
 
        if test $_pkg_short_errors_supported = yes; then
24938
 
                GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
24939
 
        else 
24940
 
                GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
24941
 
        fi
24942
 
        # Put the nasty error message in config.log where it belongs
24943
 
        echo "$GTK2_PKG_ERRORS" >&5
24944
 
 
24945
 
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
24946
 
 
24947
 
$GTK2_PKG_ERRORS
24948
 
 
24949
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24950
 
installed software in a non-standard prefix.
24951
 
 
24952
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24953
 
and GTK2_LIBS to avoid the need to call pkg-config.
24954
 
See the pkg-config man page for more details.
24955
 
" >&5
24956
 
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
24957
 
 
24958
 
$GTK2_PKG_ERRORS
24959
 
 
24960
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24961
 
installed software in a non-standard prefix.
24962
 
 
24963
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24964
 
and GTK2_LIBS to avoid the need to call pkg-config.
24965
 
See the pkg-config man page for more details.
24966
 
" >&2;}
24967
 
   { (exit 1); exit 1; }; }
24968
 
elif test $pkg_failed = untried; then
24969
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
24970
 
is in your PATH or set the PKG_CONFIG environment variable to the full
24971
 
path to pkg-config.
24972
 
 
24973
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24974
 
and GTK2_LIBS to avoid the need to call pkg-config.
24975
 
See the pkg-config man page for more details.
24976
 
 
24977
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24978
 
See \`config.log' for more details." >&5
24979
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
24980
 
is in your PATH or set the PKG_CONFIG environment variable to the full
24981
 
path to pkg-config.
24982
 
 
24983
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24984
 
and GTK2_LIBS to avoid the need to call pkg-config.
24985
 
See the pkg-config man page for more details.
24986
 
 
24987
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24988
 
See \`config.log' for more details." >&2;}
24989
 
   { (exit 1); exit 1; }; }
24990
 
else
24991
 
        GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
24992
 
        GTK2_LIBS=$pkg_cv_GTK2_LIBS
24993
 
        { echo "$as_me:$LINENO: result: yes" >&5
24994
 
echo "${ECHO_T}yes" >&6; }
24995
 
        :
24996
 
fi
24997
 
        fi
24998
 
        WX_GTK2_CFLAGS="$GTK2_CFLAGS"
24999
 
        WX_GTK2_LIBS="$GTK2_LIBS"
25000
 
    ;;
25001
 
    *wx_msw*)
25002
 
        { echo "$as_me:$LINENO: result: wxMSW" >&5
25003
 
echo "${ECHO_T}wxMSW" >&6; }
25004
 
    ;;
25005
 
    *wx_mac*)
25006
 
        { echo "$as_me:$LINENO: result: wxMac" >&5
25007
 
echo "${ECHO_T}wxMac" >&6; }
25008
 
        # Extract the first word of "Rez", so it can be a program name with args.
25009
 
set dummy Rez; ac_word=$2
25010
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25011
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25012
 
if test "${ac_cv_prog_REZ+set}" = set; then
25013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25014
 
else
25015
 
  if test -n "$REZ"; then
25016
 
  ac_cv_prog_REZ="$REZ" # Let the user override the test.
25017
 
else
25018
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25019
 
for as_dir in $PATH
25020
 
do
25021
 
  IFS=$as_save_IFS
25022
 
  test -z "$as_dir" && as_dir=.
25023
 
  for ac_exec_ext in '' $ac_executable_extensions; do
25024
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25025
 
    ac_cv_prog_REZ="Rez"
25026
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25027
 
    break 2
25028
 
  fi
25029
 
done
25030
 
done
25031
 
IFS=$as_save_IFS
25032
 
 
25033
 
  test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
25034
 
fi
25035
 
fi
25036
 
REZ=$ac_cv_prog_REZ
25037
 
if test -n "$REZ"; then
25038
 
  { echo "$as_me:$LINENO: result: $REZ" >&5
25039
 
echo "${ECHO_T}$REZ" >&6; }
25040
 
else
25041
 
  { echo "$as_me:$LINENO: result: no" >&5
25042
 
echo "${ECHO_T}no" >&6; }
25043
 
fi
25044
 
 
25045
 
 
25046
 
        POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
25047
 
        # Extract the first word of "SetFile", so it can be a program name with args.
25048
 
set dummy SetFile; ac_word=$2
25049
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25050
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25051
 
if test "${ac_cv_prog_SETFILE+set}" = set; then
25052
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25053
 
else
25054
 
  if test -n "$SETFILE"; then
25055
 
  ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25056
 
else
25057
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25058
 
for as_dir in $PATH
25059
 
do
25060
 
  IFS=$as_save_IFS
25061
 
  test -z "$as_dir" && as_dir=.
25062
 
  for ac_exec_ext in '' $ac_executable_extensions; do
25063
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25064
 
    ac_cv_prog_SETFILE="SetFile"
25065
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25066
 
    break 2
25067
 
  fi
25068
 
done
25069
 
done
25070
 
IFS=$as_save_IFS
25071
 
 
25072
 
  test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25073
 
fi
25074
 
fi
25075
 
SETFILE=$ac_cv_prog_SETFILE
25076
 
if test -n "$SETFILE"; then
25077
 
  { echo "$as_me:$LINENO: result: $SETFILE" >&5
25078
 
echo "${ECHO_T}$SETFILE" >&6; }
25079
 
else
25080
 
  { echo "$as_me:$LINENO: result: no" >&5
25081
 
echo "${ECHO_T}no" >&6; }
25082
 
fi
25083
 
 
25084
 
 
25085
 
        MACSETFILE="\$(SETFILE)"
25086
 
    ;;
25087
 
    *) 
25088
 
        { echo "$as_me:$LINENO: result: other" >&5
25089
 
echo "${ECHO_T}other" >&6; }
25090
 
    ;;
25091
 
esac
25092
 
 
25093
 
 
25094
 
 
25095
 
 
25096
 
 
25097
 
 
25098
 
 
25099
 
PLUGIN_WX_LIBS=
25100
 
 
25101
 
{ echo "$as_me:$LINENO: checking if wxWidgets libraries are needed for plugins" >&5
25102
 
echo $ECHO_N "checking if wxWidgets libraries are needed for plugins... $ECHO_C" >&6; }
25103
 
case `uname` in 
25104
 
    Darwin)
25105
 
        { echo "$as_me:$LINENO: result: yes" >&5
25106
 
echo "${ECHO_T}yes" >&6; }
25107
 
        PLUGIN_WX_LIBS="$WX_LIBS"
25108
 
    ;;
25109
 
    *) 
25110
 
        { echo "$as_me:$LINENO: result: no" >&5
25111
 
echo "${ECHO_T}no" >&6; }
25112
 
    ;;
25113
 
esac
25114
 
 
25115
 
 
25116
 
 
25117
 
PIC_FLAGS=
25118
 
 
25119
 
{ echo "$as_me:$LINENO: checking for PIC flags" >&5
25120
 
echo $ECHO_N "checking for PIC flags... $ECHO_C" >&6; }
25121
 
case `uname` in 
25122
 
    Solaris)
25123
 
        if test "$GCC" = yes; then
25124
 
            PIC_FLAGS="-fPIC -DPIC"
25125
 
        else
25126
 
            PIC_FLAGS="-KPIC -DPIC"
25127
 
        fi
25128
 
    ;;
25129
 
    *) 
25130
 
        PIC_FLAGS="-fPIC -DPIC"
25131
 
    ;;
25132
 
esac
25133
 
{ echo "$as_me:$LINENO: result: $PIC_FLAGS" >&5
25134
 
echo "${ECHO_T}$PIC_FLAGS" >&6; }
25135
 
 
25136
 
CPPFLAGS="$CPPFLAGS -Ulinux -Uunix"
25137
 
CXXFLAGS="$CXXFLAGS $PCH_FLAGS $PIC_FLAGS -fexceptions"
25138
 
codeblocks_PCH_FLAGS="$PCH_FLAGS"
25139
 
 
25140
 
 
25141
 
 
25142
 
 if test `uname` = "Linux"; then
25143
 
  LINUX_TRUE=
25144
 
  LINUX_FALSE='#'
25145
 
else
25146
 
  LINUX_TRUE='#'
25147
 
  LINUX_FALSE=
25148
 
fi
25149
 
 
25150
 
 if test `uname` = "Darwin"; then
25151
 
  DARWIN_TRUE=
25152
 
  DARWIN_FALSE='#'
25153
 
else
25154
 
  DARWIN_TRUE='#'
25155
 
  DARWIN_FALSE=
25156
 
fi
25157
 
 
25158
 
 
25159
 
{ echo "$as_me:$LINENO: Configuring Code::Blocks..." >&5
25160
 
echo "$as_me: Configuring Code::Blocks..." >&6;}
25161
 
{ echo "$as_me:$LINENO: SVN revision 1.0svn ()" >&5
25162
 
echo "$as_me: SVN revision 1.0svn ()" >&6;}
25163
 
 
25164
 
DATE=""
25165
 
 
25166
 
 
25167
 
ac_config_files="$ac_config_files Makefile src/Makefile src/base/Makefile src/base/tinyxml/Makefile src/build_tools/Makefile src/build_tools/autorevision/Makefile src/include/autorevision.h src/include/Makefile src/include/scripting/Makefile src/include/scripting/bindings/Makefile src/include/scripting/include/Makefile src/include/scripting/sqplus/Makefile src/include/scripting/sqstdlib/Makefile src/include/scripting/squirrel/Makefile src/include/tinyxml/Makefile src/include/wxFlatNotebook/Makefile src/include/wxscintilla/Makefile src/sdk/Makefile src/sdk/scripting/Makefile src/sdk/scripting/bindings/Makefile src/sdk/scripting/squirrel/Makefile src/sdk/scripting/sqstdlib/Makefile src/sdk/scripting/sqplus/Makefile src/sdk/wxscintilla/Makefile src/sdk/wxFlatNotebook/Makefile src/sdk/resources/Makefile src/sdk/resources/lexers/Makefile src/src/wxAUI/Makefile src/src/resources/Makefile src/src/resources/icons/Makefile src/src/resources/images/Makefile src/src/resources/images/16x16/Makefile src/src/resources/images/settings/Makefile src/src/Makefile src/plugins/Makefile src/plugins/astyle/Makefile src/plugins/astyle/resources/Makefile src/plugins/autosave/Makefile src/plugins/classwizard/Makefile src/plugins/classwizard/resources/Makefile src/plugins/codecompletion/Makefile src/plugins/codecompletion/resources/Makefile src/plugins/compilergcc/Makefile src/plugins/compilergcc/depslib/Makefile src/plugins/compilergcc/depslib/src/Makefile src/plugins/compilergcc/resources/Makefile src/plugins/debuggergdb/Makefile src/plugins/debuggergdb/resources/Makefile src/plugins/debuggergdb/resources/images/Makefile src/plugins/debuggergdb/resources/images/16x16/Makefile src/plugins/defaultmimehandler/Makefile src/plugins/defaultmimehandler/resources/Makefile src/plugins/openfileslist/Makefile src/plugins/projectsimporter/Makefile src/plugins/projectsimporter/resources/Makefile src/plugins/scriptedwizard/Makefile src/plugins/scriptedwizard/resources/Makefile src/plugins/scriptedwizard/resources/avr/Makefile src/plugins/scriptedwizard/resources/avr/files/Makefile src/plugins/scriptedwizard/resources/c_file/Makefile src/plugins/scriptedwizard/resources/console/Makefile src/plugins/scriptedwizard/resources/console/c/Makefile src/plugins/scriptedwizard/resources/console/cpp/Makefile src/plugins/scriptedwizard/resources/d/Makefile src/plugins/scriptedwizard/resources/d/console/Makefile src/plugins/scriptedwizard/resources/directx/Makefile src/plugins/scriptedwizard/resources/directx/files/Makefile src/plugins/scriptedwizard/resources/dll/Makefile src/plugins/scriptedwizard/resources/dll/files/Makefile src/plugins/scriptedwizard/resources/empty/Makefile src/plugins/scriptedwizard/resources/empty_file/Makefile src/plugins/scriptedwizard/resources/fltk/Makefile src/plugins/scriptedwizard/resources/fltk/files/Makefile src/plugins/scriptedwizard/resources/fltk/fluid/Makefile src/plugins/scriptedwizard/resources/glfw/Makefile src/plugins/scriptedwizard/resources/glfw/files/Makefile src/plugins/scriptedwizard/resources/glut/Makefile src/plugins/scriptedwizard/resources/glut/files/Makefile src/plugins/scriptedwizard/resources/gtk/Makefile src/plugins/scriptedwizard/resources/gtk/files/Makefile src/plugins/scriptedwizard/resources/h_file/Makefile src/plugins/scriptedwizard/resources/irrlicht/Makefile src/plugins/scriptedwizard/resources/irrlicht/files/Makefile src/plugins/scriptedwizard/resources/lf/Makefile src/plugins/scriptedwizard/resources/lf/files/Makefile src/plugins/scriptedwizard/resources/lf/files/quick/Makefile src/plugins/scriptedwizard/resources/lf/files/structured/Makefile src/plugins/scriptedwizard/resources/ogre/Makefile src/plugins/scriptedwizard/resources/ogre/files/Makefile src/plugins/scriptedwizard/resources/opengl/Makefile src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile src/plugins/scriptedwizard/resources/opengl/files_win/Makefile src/plugins/scriptedwizard/resources/qt4/Makefile src/plugins/scriptedwizard/resources/qt4/files/Makefile src/plugins/scriptedwizard/resources/sdl/Makefile src/plugins/scriptedwizard/resources/sdl/files/Makefile src/plugins/scriptedwizard/resources/plugins/Makefile src/plugins/scriptedwizard/resources/plugins/templates/Makefile src/plugins/scriptedwizard/resources/smartwin/Makefile src/plugins/scriptedwizard/resources/smartwin/files/Makefile src/plugins/scriptedwizard/resources/staticlib/Makefile src/plugins/scriptedwizard/resources/staticlib/files/Makefile src/plugins/scriptedwizard/resources/sharedlib/Makefile src/plugins/scriptedwizard/resources/sharedlib/files/Makefile src/plugins/scriptedwizard/resources/sys/Makefile src/plugins/scriptedwizard/resources/sys/files/Makefile src/plugins/scriptedwizard/resources/win32gui/Makefile src/plugins/scriptedwizard/resources/win32gui/files/Makefile src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile src/plugins/scriptedwizard/resources/wxwidgets/Makefile src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile src/plugins/todo/Makefile src/plugins/todo/resources/Makefile src/plugins/xpmanifest/Makefile src/plugins/contrib/Makefile src/plugins/contrib/AutoVersioning/Makefile src/plugins/contrib/BrowseTracker/Makefile src/plugins/contrib/byogames/Makefile src/plugins/contrib/cb_koders/Makefile src/plugins/contrib/codesnippets/Makefile src/plugins/contrib/codesnippets/resources/Makefile src/plugins/contrib/codestat/Makefile src/plugins/contrib/codestat/resources/Makefile src/plugins/contrib/dragscroll/Makefile src/plugins/contrib/envvars/Makefile src/plugins/contrib/help_plugin/Makefile src/plugins/contrib/help_plugin/bzip2/Makefile src/plugins/contrib/help_plugin/zlib/Makefile src/plugins/contrib/keybinder/Makefile src/plugins/contrib/lib_finder/Makefile src/plugins/contrib/lib_finder/lib_finder/Makefile src/plugins/contrib/profiler/Makefile src/plugins/contrib/profiler/resources/Makefile src/plugins/contrib/source_exporter/Makefile src/plugins/contrib/source_exporter/wxPdfDocument/Makefile src/plugins/contrib/symtab/Makefile src/plugins/contrib/symtab/resources/Makefile src/plugins/contrib/regex_testbed/Makefile src/plugins/contrib/ThreadSearch/Makefile src/plugins/contrib/ThreadSearch/resources/Makefile src/plugins/contrib/ThreadSearch/resources/images/Makefile src/plugins/contrib/wxSmith/Makefile src/plugins/contrib/wxSmith/propgrid/Makefile src/plugins/contrib/wxSmith/plugin/Makefile src/plugins/contrib/wxSmith/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/Makefile src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile src/plugins/contrib/wxSmithContribItems/Makefile src/scripts/Makefile src/tools/Makefile src/tools/cb_share_config/Makefile src/tools/ConsoleRunner/Makefile src/setup/Makefile src/setup/mime/Makefile src/templates/Makefile src/templates/common/Makefile src/templates/unix/Makefile src/templates/win32/Makefile src/wxsmith/Makefile codeblocks.pc codeblocks.spec codeblocks.plist"
25168
 
 
25169
 
 
25170
 
cat >confcache <<\_ACEOF
25171
 
# This file is a shell script that caches the results of configure
25172
 
# tests run on this system so they can be shared between configure
25173
 
# scripts and configure runs, see configure's option --config-cache.
25174
 
# It is not useful on other systems.  If it contains results you don't
25175
 
# want to keep, you may remove or edit it.
25176
 
#
25177
 
# config.status only pays attention to the cache file if you give it
25178
 
# the --recheck option to rerun configure.
25179
 
#
25180
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
25181
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
25182
 
# following values.
25183
 
 
25184
 
_ACEOF
25185
 
 
25186
 
# The following way of writing the cache mishandles newlines in values,
25187
 
# but we know of no workaround that is simple, portable, and efficient.
25188
 
# So, we kill variables containing newlines.
25189
 
# Ultrix sh set writes to stderr and can't be redirected directly,
25190
 
# and sets the high bit in the cache file unless we assign to the vars.
25191
 
(
25192
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25193
 
    eval ac_val=\$$ac_var
25194
 
    case $ac_val in #(
25195
 
    *${as_nl}*)
25196
 
      case $ac_var in #(
25197
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25198
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25199
 
      esac
25200
 
      case $ac_var in #(
25201
 
      _ | IFS | as_nl) ;; #(
25202
 
      *) $as_unset $ac_var ;;
25203
 
      esac ;;
25204
 
    esac
25205
 
  done
25206
 
 
25207
 
  (set) 2>&1 |
25208
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
25209
 
    *${as_nl}ac_space=\ *)
25210
 
      # `set' does not quote correctly, so add quotes (double-quote
25211
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
25212
 
      sed -n \
25213
 
        "s/'/'\\\\''/g;
25214
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25215
 
      ;; #(
25216
 
    *)
25217
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
25218
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25219
 
      ;;
25220
 
    esac |
25221
 
    sort
25222
 
) |
25223
 
  sed '
25224
 
     /^ac_cv_env_/b end
25225
 
     t clear
25226
 
     :clear
25227
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25228
 
     t end
25229
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25230
 
     :end' >>confcache
25231
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25232
 
  if test -w "$cache_file"; then
25233
 
    test "x$cache_file" != "x/dev/null" &&
25234
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25235
 
echo "$as_me: updating cache $cache_file" >&6;}
25236
 
    cat confcache >$cache_file
25237
 
  else
25238
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25239
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25240
 
  fi
25241
 
fi
25242
 
rm -f confcache
25243
 
 
25244
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
25245
 
# Let make expand exec_prefix.
25246
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25247
 
 
25248
 
DEFS=-DHAVE_CONFIG_H
25249
 
 
25250
 
ac_libobjs=
25251
 
ac_ltlibobjs=
25252
 
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
25253
 
  # 1. Remove the extension, and $U if already installed.
25254
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25255
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
25256
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25257
 
  #    will be set to the directory where LIBOBJS objects are built.
25258
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25259
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25260
 
done
25261
 
LIB@&t@OBJS=$ac_libobjs
25262
 
 
25263
 
LTLIBOBJS=$ac_ltlibobjs
25264
 
 
25265
 
 
25266
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25267
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25268
 
Usually this means the macro was only invoked conditionally." >&5
25269
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
25270
 
Usually this means the macro was only invoked conditionally." >&2;}
25271
 
   { (exit 1); exit 1; }; }
25272
 
fi
25273
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25274
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25275
 
Usually this means the macro was only invoked conditionally." >&5
25276
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25277
 
Usually this means the macro was only invoked conditionally." >&2;}
25278
 
   { (exit 1); exit 1; }; }
25279
 
fi
25280
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25281
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25282
 
Usually this means the macro was only invoked conditionally." >&5
25283
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25284
 
Usually this means the macro was only invoked conditionally." >&2;}
25285
 
   { (exit 1); exit 1; }; }
25286
 
fi
25287
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25288
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25289
 
Usually this means the macro was only invoked conditionally." >&5
25290
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25291
 
Usually this means the macro was only invoked conditionally." >&2;}
25292
 
   { (exit 1); exit 1; }; }
25293
 
fi
25294
 
if test -z "${CODEBLOCKS_NT_TRUE}" && test -z "${CODEBLOCKS_NT_FALSE}"; then
25295
 
  { { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_NT\" was never defined.
25296
 
Usually this means the macro was only invoked conditionally." >&5
25297
 
echo "$as_me: error: conditional \"CODEBLOCKS_NT\" was never defined.
25298
 
Usually this means the macro was only invoked conditionally." >&2;}
25299
 
   { (exit 1); exit 1; }; }
25300
 
fi
25301
 
if test -z "${CODEBLOCKS_LINUX_TRUE}" && test -z "${CODEBLOCKS_LINUX_FALSE}"; then
25302
 
  { { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_LINUX\" was never defined.
25303
 
Usually this means the macro was only invoked conditionally." >&5
25304
 
echo "$as_me: error: conditional \"CODEBLOCKS_LINUX\" was never defined.
25305
 
Usually this means the macro was only invoked conditionally." >&2;}
25306
 
   { (exit 1); exit 1; }; }
25307
 
fi
25308
 
if test -z "${CODEBLOCKS_DARWIN_TRUE}" && test -z "${CODEBLOCKS_DARWIN_FALSE}"; then
25309
 
  { { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_DARWIN\" was never defined.
25310
 
Usually this means the macro was only invoked conditionally." >&5
25311
 
echo "$as_me: error: conditional \"CODEBLOCKS_DARWIN\" was never defined.
25312
 
Usually this means the macro was only invoked conditionally." >&2;}
25313
 
   { (exit 1); exit 1; }; }
25314
 
fi
25315
 
if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
25316
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
25317
 
Usually this means the macro was only invoked conditionally." >&5
25318
 
echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
25319
 
Usually this means the macro was only invoked conditionally." >&2;}
25320
 
   { (exit 1); exit 1; }; }
25321
 
fi
25322
 
if test -z "${HAVE_BZIP2_TRUE}" && test -z "${HAVE_BZIP2_FALSE}"; then
25323
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_BZIP2\" was never defined.
25324
 
Usually this means the macro was only invoked conditionally." >&5
25325
 
echo "$as_me: error: conditional \"HAVE_BZIP2\" was never defined.
25326
 
Usually this means the macro was only invoked conditionally." >&2;}
25327
 
   { (exit 1); exit 1; }; }
25328
 
fi
25329
 
if test -z "${BUILD_ASTYLE_TRUE}" && test -z "${BUILD_ASTYLE_FALSE}"; then
25330
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ASTYLE\" was never defined.
25331
 
Usually this means the macro was only invoked conditionally." >&5
25332
 
echo "$as_me: error: conditional \"BUILD_ASTYLE\" was never defined.
25333
 
Usually this means the macro was only invoked conditionally." >&2;}
25334
 
   { (exit 1); exit 1; }; }
25335
 
fi
25336
 
if test -z "${BUILD_AUTOSAVE_TRUE}" && test -z "${BUILD_AUTOSAVE_FALSE}"; then
25337
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOSAVE\" was never defined.
25338
 
Usually this means the macro was only invoked conditionally." >&5
25339
 
echo "$as_me: error: conditional \"BUILD_AUTOSAVE\" was never defined.
25340
 
Usually this means the macro was only invoked conditionally." >&2;}
25341
 
   { (exit 1); exit 1; }; }
25342
 
fi
25343
 
if test -z "${BUILD_CLASSWIZARD_TRUE}" && test -z "${BUILD_CLASSWIZARD_FALSE}"; then
25344
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASSWIZARD\" was never defined.
25345
 
Usually this means the macro was only invoked conditionally." >&5
25346
 
echo "$as_me: error: conditional \"BUILD_CLASSWIZARD\" was never defined.
25347
 
Usually this means the macro was only invoked conditionally." >&2;}
25348
 
   { (exit 1); exit 1; }; }
25349
 
fi
25350
 
if test -z "${BUILD_CODECOMPLETION_TRUE}" && test -z "${BUILD_CODECOMPLETION_FALSE}"; then
25351
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODECOMPLETION\" was never defined.
25352
 
Usually this means the macro was only invoked conditionally." >&5
25353
 
echo "$as_me: error: conditional \"BUILD_CODECOMPLETION\" was never defined.
25354
 
Usually this means the macro was only invoked conditionally." >&2;}
25355
 
   { (exit 1); exit 1; }; }
25356
 
fi
25357
 
if test -z "${BUILD_COMPILER_TRUE}" && test -z "${BUILD_COMPILER_FALSE}"; then
25358
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_COMPILER\" was never defined.
25359
 
Usually this means the macro was only invoked conditionally." >&5
25360
 
echo "$as_me: error: conditional \"BUILD_COMPILER\" was never defined.
25361
 
Usually this means the macro was only invoked conditionally." >&2;}
25362
 
   { (exit 1); exit 1; }; }
25363
 
fi
25364
 
if test -z "${BUILD_DEBUGGER_TRUE}" && test -z "${BUILD_DEBUGGER_FALSE}"; then
25365
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DEBUGGER\" was never defined.
25366
 
Usually this means the macro was only invoked conditionally." >&5
25367
 
echo "$as_me: error: conditional \"BUILD_DEBUGGER\" was never defined.
25368
 
Usually this means the macro was only invoked conditionally." >&2;}
25369
 
   { (exit 1); exit 1; }; }
25370
 
fi
25371
 
if test -z "${BUILD_MIMEHANDLER_TRUE}" && test -z "${BUILD_MIMEHANDLER_FALSE}"; then
25372
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MIMEHANDLER\" was never defined.
25373
 
Usually this means the macro was only invoked conditionally." >&5
25374
 
echo "$as_me: error: conditional \"BUILD_MIMEHANDLER\" was never defined.
25375
 
Usually this means the macro was only invoked conditionally." >&2;}
25376
 
   { (exit 1); exit 1; }; }
25377
 
fi
25378
 
if test -z "${BUILD_OPENFILESLIST_TRUE}" && test -z "${BUILD_OPENFILESLIST_FALSE}"; then
25379
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_OPENFILESLIST\" was never defined.
25380
 
Usually this means the macro was only invoked conditionally." >&5
25381
 
echo "$as_me: error: conditional \"BUILD_OPENFILESLIST\" was never defined.
25382
 
Usually this means the macro was only invoked conditionally." >&2;}
25383
 
   { (exit 1); exit 1; }; }
25384
 
fi
25385
 
if test -z "${BUILD_PROJECTSIMPORTER_TRUE}" && test -z "${BUILD_PROJECTSIMPORTER_FALSE}"; then
25386
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
25387
 
Usually this means the macro was only invoked conditionally." >&5
25388
 
echo "$as_me: error: conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
25389
 
Usually this means the macro was only invoked conditionally." >&2;}
25390
 
   { (exit 1); exit 1; }; }
25391
 
fi
25392
 
if test -z "${BUILD_SCRIPTEDWIZARD_TRUE}" && test -z "${BUILD_SCRIPTEDWIZARD_FALSE}"; then
25393
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
25394
 
Usually this means the macro was only invoked conditionally." >&5
25395
 
echo "$as_me: error: conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
25396
 
Usually this means the macro was only invoked conditionally." >&2;}
25397
 
   { (exit 1); exit 1; }; }
25398
 
fi
25399
 
if test -z "${BUILD_TODO_TRUE}" && test -z "${BUILD_TODO_FALSE}"; then
25400
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_TODO\" was never defined.
25401
 
Usually this means the macro was only invoked conditionally." >&5
25402
 
echo "$as_me: error: conditional \"BUILD_TODO\" was never defined.
25403
 
Usually this means the macro was only invoked conditionally." >&2;}
25404
 
   { (exit 1); exit 1; }; }
25405
 
fi
25406
 
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
25407
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MANIFEST\" was never defined.
25408
 
Usually this means the macro was only invoked conditionally." >&5
25409
 
echo "$as_me: error: conditional \"BUILD_MANIFEST\" was never defined.
25410
 
Usually this means the macro was only invoked conditionally." >&2;}
25411
 
   { (exit 1); exit 1; }; }
25412
 
fi
25413
 
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
25414
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MANIFEST\" was never defined.
25415
 
Usually this means the macro was only invoked conditionally." >&5
25416
 
echo "$as_me: error: conditional \"BUILD_MANIFEST\" was never defined.
25417
 
Usually this means the macro was only invoked conditionally." >&2;}
25418
 
   { (exit 1); exit 1; }; }
25419
 
fi
25420
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25421
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25422
 
Usually this means the macro was only invoked conditionally." >&5
25423
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25424
 
Usually this means the macro was only invoked conditionally." >&2;}
25425
 
   { (exit 1); exit 1; }; }
25426
 
fi
25427
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25428
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25429
 
Usually this means the macro was only invoked conditionally." >&5
25430
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25431
 
Usually this means the macro was only invoked conditionally." >&2;}
25432
 
   { (exit 1); exit 1; }; }
25433
 
fi
25434
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25435
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25436
 
Usually this means the macro was only invoked conditionally." >&5
25437
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25438
 
Usually this means the macro was only invoked conditionally." >&2;}
25439
 
   { (exit 1); exit 1; }; }
25440
 
fi
25441
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25442
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25443
 
Usually this means the macro was only invoked conditionally." >&5
25444
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25445
 
Usually this means the macro was only invoked conditionally." >&2;}
25446
 
   { (exit 1); exit 1; }; }
25447
 
fi
25448
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25449
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25450
 
Usually this means the macro was only invoked conditionally." >&5
25451
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25452
 
Usually this means the macro was only invoked conditionally." >&2;}
25453
 
   { (exit 1); exit 1; }; }
25454
 
fi
25455
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25456
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25457
 
Usually this means the macro was only invoked conditionally." >&5
25458
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25459
 
Usually this means the macro was only invoked conditionally." >&2;}
25460
 
   { (exit 1); exit 1; }; }
25461
 
fi
25462
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25463
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25464
 
Usually this means the macro was only invoked conditionally." >&5
25465
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25466
 
Usually this means the macro was only invoked conditionally." >&2;}
25467
 
   { (exit 1); exit 1; }; }
25468
 
fi
25469
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25470
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25471
 
Usually this means the macro was only invoked conditionally." >&5
25472
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25473
 
Usually this means the macro was only invoked conditionally." >&2;}
25474
 
   { (exit 1); exit 1; }; }
25475
 
fi
25476
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25477
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25478
 
Usually this means the macro was only invoked conditionally." >&5
25479
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25480
 
Usually this means the macro was only invoked conditionally." >&2;}
25481
 
   { (exit 1); exit 1; }; }
25482
 
fi
25483
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25484
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25485
 
Usually this means the macro was only invoked conditionally." >&5
25486
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25487
 
Usually this means the macro was only invoked conditionally." >&2;}
25488
 
   { (exit 1); exit 1; }; }
25489
 
fi
25490
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25491
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25492
 
Usually this means the macro was only invoked conditionally." >&5
25493
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25494
 
Usually this means the macro was only invoked conditionally." >&2;}
25495
 
   { (exit 1); exit 1; }; }
25496
 
fi
25497
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25498
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25499
 
Usually this means the macro was only invoked conditionally." >&5
25500
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25501
 
Usually this means the macro was only invoked conditionally." >&2;}
25502
 
   { (exit 1); exit 1; }; }
25503
 
fi
25504
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25505
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25506
 
Usually this means the macro was only invoked conditionally." >&5
25507
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25508
 
Usually this means the macro was only invoked conditionally." >&2;}
25509
 
   { (exit 1); exit 1; }; }
25510
 
fi
25511
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25512
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25513
 
Usually this means the macro was only invoked conditionally." >&5
25514
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25515
 
Usually this means the macro was only invoked conditionally." >&2;}
25516
 
   { (exit 1); exit 1; }; }
25517
 
fi
25518
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25519
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25520
 
Usually this means the macro was only invoked conditionally." >&5
25521
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25522
 
Usually this means the macro was only invoked conditionally." >&2;}
25523
 
   { (exit 1); exit 1; }; }
25524
 
fi
25525
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25526
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25527
 
Usually this means the macro was only invoked conditionally." >&5
25528
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25529
 
Usually this means the macro was only invoked conditionally." >&2;}
25530
 
   { (exit 1); exit 1; }; }
25531
 
fi
25532
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25533
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25534
 
Usually this means the macro was only invoked conditionally." >&5
25535
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25536
 
Usually this means the macro was only invoked conditionally." >&2;}
25537
 
   { (exit 1); exit 1; }; }
25538
 
fi
25539
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25540
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25541
 
Usually this means the macro was only invoked conditionally." >&5
25542
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25543
 
Usually this means the macro was only invoked conditionally." >&2;}
25544
 
   { (exit 1); exit 1; }; }
25545
 
fi
25546
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25547
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25548
 
Usually this means the macro was only invoked conditionally." >&5
25549
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25550
 
Usually this means the macro was only invoked conditionally." >&2;}
25551
 
   { (exit 1); exit 1; }; }
25552
 
fi
25553
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25554
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25555
 
Usually this means the macro was only invoked conditionally." >&5
25556
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25557
 
Usually this means the macro was only invoked conditionally." >&2;}
25558
 
   { (exit 1); exit 1; }; }
25559
 
fi
25560
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25561
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25562
 
Usually this means the macro was only invoked conditionally." >&5
25563
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25564
 
Usually this means the macro was only invoked conditionally." >&2;}
25565
 
   { (exit 1); exit 1; }; }
25566
 
fi
25567
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25568
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25569
 
Usually this means the macro was only invoked conditionally." >&5
25570
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25571
 
Usually this means the macro was only invoked conditionally." >&2;}
25572
 
   { (exit 1); exit 1; }; }
25573
 
fi
25574
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25575
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25576
 
Usually this means the macro was only invoked conditionally." >&5
25577
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25578
 
Usually this means the macro was only invoked conditionally." >&2;}
25579
 
   { (exit 1); exit 1; }; }
25580
 
fi
25581
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25582
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25583
 
Usually this means the macro was only invoked conditionally." >&5
25584
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25585
 
Usually this means the macro was only invoked conditionally." >&2;}
25586
 
   { (exit 1); exit 1; }; }
25587
 
fi
25588
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25589
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25590
 
Usually this means the macro was only invoked conditionally." >&5
25591
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25592
 
Usually this means the macro was only invoked conditionally." >&2;}
25593
 
   { (exit 1); exit 1; }; }
25594
 
fi
25595
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25596
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25597
 
Usually this means the macro was only invoked conditionally." >&5
25598
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25599
 
Usually this means the macro was only invoked conditionally." >&2;}
25600
 
   { (exit 1); exit 1; }; }
25601
 
fi
25602
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25603
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25604
 
Usually this means the macro was only invoked conditionally." >&5
25605
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25606
 
Usually this means the macro was only invoked conditionally." >&2;}
25607
 
   { (exit 1); exit 1; }; }
25608
 
fi
25609
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25610
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25611
 
Usually this means the macro was only invoked conditionally." >&5
25612
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25613
 
Usually this means the macro was only invoked conditionally." >&2;}
25614
 
   { (exit 1); exit 1; }; }
25615
 
fi
25616
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25617
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25618
 
Usually this means the macro was only invoked conditionally." >&5
25619
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25620
 
Usually this means the macro was only invoked conditionally." >&2;}
25621
 
   { (exit 1); exit 1; }; }
25622
 
fi
25623
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25624
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25625
 
Usually this means the macro was only invoked conditionally." >&5
25626
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25627
 
Usually this means the macro was only invoked conditionally." >&2;}
25628
 
   { (exit 1); exit 1; }; }
25629
 
fi
25630
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25631
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25632
 
Usually this means the macro was only invoked conditionally." >&5
25633
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25634
 
Usually this means the macro was only invoked conditionally." >&2;}
25635
 
   { (exit 1); exit 1; }; }
25636
 
fi
25637
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25638
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25639
 
Usually this means the macro was only invoked conditionally." >&5
25640
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25641
 
Usually this means the macro was only invoked conditionally." >&2;}
25642
 
   { (exit 1); exit 1; }; }
25643
 
fi
25644
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25645
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25646
 
Usually this means the macro was only invoked conditionally." >&5
25647
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25648
 
Usually this means the macro was only invoked conditionally." >&2;}
25649
 
   { (exit 1); exit 1; }; }
25650
 
fi
25651
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25652
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25653
 
Usually this means the macro was only invoked conditionally." >&5
25654
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25655
 
Usually this means the macro was only invoked conditionally." >&2;}
25656
 
   { (exit 1); exit 1; }; }
25657
 
fi
25658
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25659
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25660
 
Usually this means the macro was only invoked conditionally." >&5
25661
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25662
 
Usually this means the macro was only invoked conditionally." >&2;}
25663
 
   { (exit 1); exit 1; }; }
25664
 
fi
25665
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25666
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25667
 
Usually this means the macro was only invoked conditionally." >&5
25668
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25669
 
Usually this means the macro was only invoked conditionally." >&2;}
25670
 
   { (exit 1); exit 1; }; }
25671
 
fi
25672
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25673
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25674
 
Usually this means the macro was only invoked conditionally." >&5
25675
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25676
 
Usually this means the macro was only invoked conditionally." >&2;}
25677
 
   { (exit 1); exit 1; }; }
25678
 
fi
25679
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25680
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25681
 
Usually this means the macro was only invoked conditionally." >&5
25682
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25683
 
Usually this means the macro was only invoked conditionally." >&2;}
25684
 
   { (exit 1); exit 1; }; }
25685
 
fi
25686
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25687
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25688
 
Usually this means the macro was only invoked conditionally." >&5
25689
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25690
 
Usually this means the macro was only invoked conditionally." >&2;}
25691
 
   { (exit 1); exit 1; }; }
25692
 
fi
25693
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25694
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25695
 
Usually this means the macro was only invoked conditionally." >&5
25696
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25697
 
Usually this means the macro was only invoked conditionally." >&2;}
25698
 
   { (exit 1); exit 1; }; }
25699
 
fi
25700
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25701
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25702
 
Usually this means the macro was only invoked conditionally." >&5
25703
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25704
 
Usually this means the macro was only invoked conditionally." >&2;}
25705
 
   { (exit 1); exit 1; }; }
25706
 
fi
25707
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25708
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25709
 
Usually this means the macro was only invoked conditionally." >&5
25710
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25711
 
Usually this means the macro was only invoked conditionally." >&2;}
25712
 
   { (exit 1); exit 1; }; }
25713
 
fi
25714
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25715
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25716
 
Usually this means the macro was only invoked conditionally." >&5
25717
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25718
 
Usually this means the macro was only invoked conditionally." >&2;}
25719
 
   { (exit 1); exit 1; }; }
25720
 
fi
25721
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25722
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25723
 
Usually this means the macro was only invoked conditionally." >&5
25724
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25725
 
Usually this means the macro was only invoked conditionally." >&2;}
25726
 
   { (exit 1); exit 1; }; }
25727
 
fi
25728
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25729
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25730
 
Usually this means the macro was only invoked conditionally." >&5
25731
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25732
 
Usually this means the macro was only invoked conditionally." >&2;}
25733
 
   { (exit 1); exit 1; }; }
25734
 
fi
25735
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25736
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25737
 
Usually this means the macro was only invoked conditionally." >&5
25738
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25739
 
Usually this means the macro was only invoked conditionally." >&2;}
25740
 
   { (exit 1); exit 1; }; }
25741
 
fi
25742
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25743
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25744
 
Usually this means the macro was only invoked conditionally." >&5
25745
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25746
 
Usually this means the macro was only invoked conditionally." >&2;}
25747
 
   { (exit 1); exit 1; }; }
25748
 
fi
25749
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25750
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25751
 
Usually this means the macro was only invoked conditionally." >&5
25752
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25753
 
Usually this means the macro was only invoked conditionally." >&2;}
25754
 
   { (exit 1); exit 1; }; }
25755
 
fi
25756
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25757
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25758
 
Usually this means the macro was only invoked conditionally." >&5
25759
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25760
 
Usually this means the macro was only invoked conditionally." >&2;}
25761
 
   { (exit 1); exit 1; }; }
25762
 
fi
25763
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25764
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25765
 
Usually this means the macro was only invoked conditionally." >&5
25766
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25767
 
Usually this means the macro was only invoked conditionally." >&2;}
25768
 
   { (exit 1); exit 1; }; }
25769
 
fi
25770
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25771
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25772
 
Usually this means the macro was only invoked conditionally." >&5
25773
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25774
 
Usually this means the macro was only invoked conditionally." >&2;}
25775
 
   { (exit 1); exit 1; }; }
25776
 
fi
25777
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25778
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25779
 
Usually this means the macro was only invoked conditionally." >&5
25780
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25781
 
Usually this means the macro was only invoked conditionally." >&2;}
25782
 
   { (exit 1); exit 1; }; }
25783
 
fi
25784
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25785
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25786
 
Usually this means the macro was only invoked conditionally." >&5
25787
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25788
 
Usually this means the macro was only invoked conditionally." >&2;}
25789
 
   { (exit 1); exit 1; }; }
25790
 
fi
25791
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25792
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25793
 
Usually this means the macro was only invoked conditionally." >&5
25794
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25795
 
Usually this means the macro was only invoked conditionally." >&2;}
25796
 
   { (exit 1); exit 1; }; }
25797
 
fi
25798
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25799
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25800
 
Usually this means the macro was only invoked conditionally." >&5
25801
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25802
 
Usually this means the macro was only invoked conditionally." >&2;}
25803
 
   { (exit 1); exit 1; }; }
25804
 
fi
25805
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25806
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25807
 
Usually this means the macro was only invoked conditionally." >&5
25808
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25809
 
Usually this means the macro was only invoked conditionally." >&2;}
25810
 
   { (exit 1); exit 1; }; }
25811
 
fi
25812
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25813
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25814
 
Usually this means the macro was only invoked conditionally." >&5
25815
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25816
 
Usually this means the macro was only invoked conditionally." >&2;}
25817
 
   { (exit 1); exit 1; }; }
25818
 
fi
25819
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25820
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25821
 
Usually this means the macro was only invoked conditionally." >&5
25822
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25823
 
Usually this means the macro was only invoked conditionally." >&2;}
25824
 
   { (exit 1); exit 1; }; }
25825
 
fi
25826
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25827
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25828
 
Usually this means the macro was only invoked conditionally." >&5
25829
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25830
 
Usually this means the macro was only invoked conditionally." >&2;}
25831
 
   { (exit 1); exit 1; }; }
25832
 
fi
25833
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25834
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25835
 
Usually this means the macro was only invoked conditionally." >&5
25836
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25837
 
Usually this means the macro was only invoked conditionally." >&2;}
25838
 
   { (exit 1); exit 1; }; }
25839
 
fi
25840
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25841
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25842
 
Usually this means the macro was only invoked conditionally." >&5
25843
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25844
 
Usually this means the macro was only invoked conditionally." >&2;}
25845
 
   { (exit 1); exit 1; }; }
25846
 
fi
25847
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25848
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25849
 
Usually this means the macro was only invoked conditionally." >&5
25850
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25851
 
Usually this means the macro was only invoked conditionally." >&2;}
25852
 
   { (exit 1); exit 1; }; }
25853
 
fi
25854
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25855
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25856
 
Usually this means the macro was only invoked conditionally." >&5
25857
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25858
 
Usually this means the macro was only invoked conditionally." >&2;}
25859
 
   { (exit 1); exit 1; }; }
25860
 
fi
25861
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25862
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25863
 
Usually this means the macro was only invoked conditionally." >&5
25864
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25865
 
Usually this means the macro was only invoked conditionally." >&2;}
25866
 
   { (exit 1); exit 1; }; }
25867
 
fi
25868
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25869
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25870
 
Usually this means the macro was only invoked conditionally." >&5
25871
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25872
 
Usually this means the macro was only invoked conditionally." >&2;}
25873
 
   { (exit 1); exit 1; }; }
25874
 
fi
25875
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25876
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25877
 
Usually this means the macro was only invoked conditionally." >&5
25878
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25879
 
Usually this means the macro was only invoked conditionally." >&2;}
25880
 
   { (exit 1); exit 1; }; }
25881
 
fi
25882
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25883
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25884
 
Usually this means the macro was only invoked conditionally." >&5
25885
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25886
 
Usually this means the macro was only invoked conditionally." >&2;}
25887
 
   { (exit 1); exit 1; }; }
25888
 
fi
25889
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25890
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25891
 
Usually this means the macro was only invoked conditionally." >&5
25892
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25893
 
Usually this means the macro was only invoked conditionally." >&2;}
25894
 
   { (exit 1); exit 1; }; }
25895
 
fi
25896
 
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
25897
 
  { { echo "$as_me:$LINENO: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25898
 
Usually this means the macro was only invoked conditionally." >&5
25899
 
echo "$as_me: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25900
 
Usually this means the macro was only invoked conditionally." >&2;}
25901
 
   { (exit 1); exit 1; }; }
25902
 
fi
25903
 
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
25904
 
  { { echo "$as_me:$LINENO: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25905
 
Usually this means the macro was only invoked conditionally." >&5
25906
 
echo "$as_me: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25907
 
Usually this means the macro was only invoked conditionally." >&2;}
25908
 
   { (exit 1); exit 1; }; }
25909
 
fi
25910
 
if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
25911
 
  { { echo "$as_me:$LINENO: error: conditional \"LINUX\" was never defined.
25912
 
Usually this means the macro was only invoked conditionally." >&5
25913
 
echo "$as_me: error: conditional \"LINUX\" was never defined.
25914
 
Usually this means the macro was only invoked conditionally." >&2;}
25915
 
   { (exit 1); exit 1; }; }
25916
 
fi
25917
 
if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
25918
 
  { { echo "$as_me:$LINENO: error: conditional \"DARWIN\" was never defined.
25919
 
Usually this means the macro was only invoked conditionally." >&5
25920
 
echo "$as_me: error: conditional \"DARWIN\" was never defined.
25921
 
Usually this means the macro was only invoked conditionally." >&2;}
25922
 
   { (exit 1); exit 1; }; }
25923
 
fi
25924
 
 
25925
 
: ${CONFIG_STATUS=./config.status}
25926
 
ac_clean_files_save=$ac_clean_files
25927
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25928
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25929
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
25930
 
cat >$CONFIG_STATUS <<_ACEOF
25931
 
#! $SHELL
25932
 
# Generated by $as_me.
25933
 
# Run this file to recreate the current configuration.
25934
 
# Compiler output produced by configure, useful for debugging
25935
 
# configure, is in config.log if it exists.
25936
 
 
25937
 
debug=false
25938
 
ac_cs_recheck=false
25939
 
ac_cs_silent=false
25940
 
SHELL=\${CONFIG_SHELL-$SHELL}
25941
 
_ACEOF
25942
 
 
25943
 
cat >>$CONFIG_STATUS <<\_ACEOF
25944
 
## --------------------- ##
25945
 
## M4sh Initialization.  ##
25946
 
## --------------------- ##
25947
 
 
25948
 
# Be more Bourne compatible
25949
 
DUALCASE=1; export DUALCASE # for MKS sh
25950
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25951
 
  emulate sh
25952
 
  NULLCMD=:
25953
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25954
 
  # is contrary to our usage.  Disable this feature.
25955
 
  alias -g '${1+"$@"}'='"$@"'
25956
 
  setopt NO_GLOB_SUBST
25957
 
else
25958
 
  case `(set -o) 2>/dev/null` in
25959
 
  *posix*) set -o posix ;;
25960
 
esac
25961
 
 
25962
 
fi
25963
 
 
25964
 
 
25965
 
 
25966
 
 
25967
 
# PATH needs CR
25968
 
# Avoid depending upon Character Ranges.
25969
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25970
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25971
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25972
 
as_cr_digits='0123456789'
25973
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
25974
 
 
25975
 
# The user is always right.
25976
 
if test "${PATH_SEPARATOR+set}" != set; then
25977
 
  echo "#! /bin/sh" >conf$$.sh
25978
 
  echo  "exit 0"   >>conf$$.sh
25979
 
  chmod +x conf$$.sh
25980
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25981
 
    PATH_SEPARATOR=';'
25982
 
  else
25983
 
    PATH_SEPARATOR=:
25984
 
  fi
25985
 
  rm -f conf$$.sh
25986
 
fi
25987
 
 
25988
 
# Support unset when possible.
25989
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25990
 
  as_unset=unset
25991
 
else
25992
 
  as_unset=false
25993
 
fi
25994
 
 
25995
 
 
25996
 
# IFS
25997
 
# We need space, tab and new line, in precisely that order.  Quoting is
25998
 
# there to prevent editors from complaining about space-tab.
25999
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
26000
 
# splitting by setting IFS to empty value.)
26001
 
as_nl='
26002
 
'
26003
 
IFS=" ""        $as_nl"
26004
 
 
26005
 
# Find who we are.  Look in the path if we contain no directory separator.
26006
 
case $0 in
26007
 
  *[\\/]* ) as_myself=$0 ;;
26008
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26009
 
for as_dir in $PATH
26010
 
do
26011
 
  IFS=$as_save_IFS
26012
 
  test -z "$as_dir" && as_dir=.
26013
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26014
 
done
26015
 
IFS=$as_save_IFS
26016
 
 
26017
 
     ;;
26018
 
esac
26019
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
26020
 
# in which case we are not to be found in the path.
26021
 
if test "x$as_myself" = x; then
26022
 
  as_myself=$0
26023
 
fi
26024
 
if test ! -f "$as_myself"; then
26025
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26026
 
  { (exit 1); exit 1; }
26027
 
fi
26028
 
 
26029
 
# Work around bugs in pre-3.0 UWIN ksh.
26030
 
for as_var in ENV MAIL MAILPATH
26031
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26032
 
done
26033
 
PS1='$ '
26034
 
PS2='> '
26035
 
PS4='+ '
26036
 
 
26037
 
# NLS nuisances.
26038
 
for as_var in \
26039
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26040
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26041
 
  LC_TELEPHONE LC_TIME
26042
 
do
26043
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26044
 
    eval $as_var=C; export $as_var
26045
 
  else
26046
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26047
 
  fi
26048
 
done
26049
 
 
26050
 
# Required to use basename.
26051
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
26052
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26053
 
  as_expr=expr
26054
 
else
26055
 
  as_expr=false
26056
 
fi
26057
 
 
26058
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26059
 
  as_basename=basename
26060
 
else
26061
 
  as_basename=false
26062
 
fi
26063
 
 
26064
 
 
26065
 
# Name of the executable.
26066
 
as_me=`$as_basename -- "$0" ||
26067
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26068
 
         X"$0" : 'X\(//\)$' \| \
26069
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26070
 
echo X/"$0" |
26071
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
26072
 
            s//\1/
26073
 
            q
26074
 
          }
26075
 
          /^X\/\(\/\/\)$/{
26076
 
            s//\1/
26077
 
            q
26078
 
          }
26079
 
          /^X\/\(\/\).*/{
26080
 
            s//\1/
26081
 
            q
26082
 
          }
26083
 
          s/.*/./; q'`
26084
 
 
26085
 
# CDPATH.
26086
 
$as_unset CDPATH
26087
 
 
26088
 
 
26089
 
 
26090
 
  as_lineno_1=$LINENO
26091
 
  as_lineno_2=$LINENO
26092
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
26093
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26094
 
 
26095
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26096
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
26097
 
  # line-number line after each line using $LINENO; the second 'sed'
26098
 
  # does the real work.  The second script uses 'N' to pair each
26099
 
  # line-number line with the line containing $LINENO, and appends
26100
 
  # trailing '-' during substitution so that $LINENO is not a special
26101
 
  # case at line end.
26102
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26103
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
26104
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
26105
 
  sed -n '
26106
 
    p
26107
 
    /[$]LINENO/=
26108
 
  ' <$as_myself |
26109
 
    sed '
26110
 
      s/[$]LINENO.*/&-/
26111
 
      t lineno
26112
 
      b
26113
 
      :lineno
26114
 
      N
26115
 
      :loop
26116
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26117
 
      t loop
26118
 
      s/-\n.*//
26119
 
    ' >$as_me.lineno &&
26120
 
  chmod +x "$as_me.lineno" ||
26121
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26122
 
   { (exit 1); exit 1; }; }
26123
 
 
26124
 
  # Don't try to exec as it changes $[0], causing all sort of problems
26125
 
  # (the dirname of $[0] is not the place where we might find the
26126
 
  # original and so on.  Autoconf is especially sensitive to this).
26127
 
  . "./$as_me.lineno"
26128
 
  # Exit status is that of the last command.
26129
 
  exit
26130
 
}
26131
 
 
26132
 
 
26133
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26134
 
  as_dirname=dirname
26135
 
else
26136
 
  as_dirname=false
26137
 
fi
26138
 
 
26139
 
ECHO_C= ECHO_N= ECHO_T=
26140
 
case `echo -n x` in
26141
 
-n*)
26142
 
  case `echo 'x\c'` in
26143
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
26144
 
  *)   ECHO_C='\c';;
26145
 
  esac;;
26146
 
*)
26147
 
  ECHO_N='-n';;
26148
 
esac
26149
 
 
26150
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
26151
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26152
 
  as_expr=expr
26153
 
else
26154
 
  as_expr=false
26155
 
fi
26156
 
 
26157
 
rm -f conf$$ conf$$.exe conf$$.file
26158
 
if test -d conf$$.dir; then
26159
 
  rm -f conf$$.dir/conf$$.file
26160
 
else
26161
 
  rm -f conf$$.dir
26162
 
  mkdir conf$$.dir
26163
 
fi
26164
 
echo >conf$$.file
26165
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
26166
 
  as_ln_s='ln -s'
26167
 
  # ... but there are two gotchas:
26168
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26169
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26170
 
  # In both cases, we have to default to `cp -p'.
26171
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26172
 
    as_ln_s='cp -p'
26173
 
elif ln conf$$.file conf$$ 2>/dev/null; then
26174
 
  as_ln_s=ln
26175
 
else
26176
 
  as_ln_s='cp -p'
26177
 
fi
26178
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26179
 
rmdir conf$$.dir 2>/dev/null
26180
 
 
26181
 
if mkdir -p . 2>/dev/null; then
26182
 
  as_mkdir_p=:
26183
 
else
26184
 
  test -d ./-p && rmdir ./-p
26185
 
  as_mkdir_p=false
26186
 
fi
26187
 
 
26188
 
if test -x / >/dev/null 2>&1; then
26189
 
  as_test_x='test -x'
26190
 
else
26191
 
  if ls -dL / >/dev/null 2>&1; then
26192
 
    as_ls_L_option=L
26193
 
  else
26194
 
    as_ls_L_option=
26195
 
  fi
26196
 
  as_test_x='
26197
 
    eval sh -c '\''
26198
 
      if test -d "$1"; then
26199
 
        test -d "$1/.";
26200
 
      else
26201
 
        case $1 in
26202
 
        -*)set "./$1";;
26203
 
        esac;
26204
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26205
 
        ???[sx]*):;;*)false;;esac;fi
26206
 
    '\'' sh
26207
 
  '
26208
 
fi
26209
 
as_executable_p=$as_test_x
26210
 
 
26211
 
# Sed expression to map a string onto a valid CPP name.
26212
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26213
 
 
26214
 
# Sed expression to map a string onto a valid variable name.
26215
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26216
 
 
26217
 
 
26218
 
exec 6>&1
26219
 
 
26220
 
# Save the log message, to keep $[0] and so on meaningful, and to
26221
 
# report actual input values of CONFIG_FILES etc. instead of their
26222
 
# values after options handling.
26223
 
ac_log="
26224
 
This file was extended by codeblocks $as_me 1.0svn, which was
26225
 
generated by GNU Autoconf 2.61.  Invocation command line was
26226
 
 
26227
 
  CONFIG_FILES    = $CONFIG_FILES
26228
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
26229
 
  CONFIG_LINKS    = $CONFIG_LINKS
26230
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
26231
 
  $ $0 $@
26232
 
 
26233
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
26234
 
"
26235
 
 
26236
 
_ACEOF
26237
 
 
26238
 
cat >>$CONFIG_STATUS <<_ACEOF
26239
 
# Files that config.status was made for.
26240
 
config_files="$ac_config_files"
26241
 
config_headers="$ac_config_headers"
26242
 
config_commands="$ac_config_commands"
26243
 
 
26244
 
_ACEOF
26245
 
 
26246
 
cat >>$CONFIG_STATUS <<\_ACEOF
26247
 
ac_cs_usage="\
26248
 
\`$as_me' instantiates files from templates according to the
26249
 
current configuration.
26250
 
 
26251
 
Usage: $0 [OPTIONS] [FILE]...
26252
 
 
26253
 
  -h, --help       print this help, then exit
26254
 
  -V, --version    print version number and configuration settings, then exit
26255
 
  -q, --quiet      do not print progress messages
26256
 
  -d, --debug      don't remove temporary files
26257
 
      --recheck    update $as_me by reconfiguring in the same conditions
26258
 
  --file=FILE[:TEMPLATE]
26259
 
                   instantiate the configuration file FILE
26260
 
  --header=FILE[:TEMPLATE]
26261
 
                   instantiate the configuration header FILE
26262
 
 
26263
 
Configuration files:
26264
 
$config_files
26265
 
 
26266
 
Configuration headers:
26267
 
$config_headers
26268
 
 
26269
 
Configuration commands:
26270
 
$config_commands
26271
 
 
26272
 
Report bugs to <bug-autoconf@gnu.org>."
26273
 
 
26274
 
_ACEOF
26275
 
cat >>$CONFIG_STATUS <<_ACEOF
26276
 
ac_cs_version="\\
26277
 
codeblocks config.status 1.0svn
26278
 
configured by $0, generated by GNU Autoconf 2.61,
26279
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26280
 
 
26281
 
Copyright (C) 2006 Free Software Foundation, Inc.
26282
 
This config.status script is free software; the Free Software Foundation
26283
 
gives unlimited permission to copy, distribute and modify it."
26284
 
 
26285
 
ac_pwd='$ac_pwd'
26286
 
srcdir='$srcdir'
26287
 
INSTALL='$INSTALL'
26288
 
MKDIR_P='$MKDIR_P'
26289
 
_ACEOF
26290
 
 
26291
 
cat >>$CONFIG_STATUS <<\_ACEOF
26292
 
# If no file are specified by the user, then we need to provide default
26293
 
# value.  By we need to know if files were specified by the user.
26294
 
ac_need_defaults=:
26295
 
while test $# != 0
26296
 
do
26297
 
  case $1 in
26298
 
  --*=*)
26299
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
26300
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26301
 
    ac_shift=:
26302
 
    ;;
26303
 
  *)
26304
 
    ac_option=$1
26305
 
    ac_optarg=$2
26306
 
    ac_shift=shift
26307
 
    ;;
26308
 
  esac
26309
 
 
26310
 
  case $ac_option in
26311
 
  # Handling of the options.
26312
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26313
 
    ac_cs_recheck=: ;;
26314
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26315
 
    echo "$ac_cs_version"; exit ;;
26316
 
  --debug | --debu | --deb | --de | --d | -d )
26317
 
    debug=: ;;
26318
 
  --file | --fil | --fi | --f )
26319
 
    $ac_shift
26320
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
26321
 
    ac_need_defaults=false;;
26322
 
  --header | --heade | --head | --hea )
26323
 
    $ac_shift
26324
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
26325
 
    ac_need_defaults=false;;
26326
 
  --he | --h)
26327
 
    # Conflict between --help and --header
26328
 
    { echo "$as_me: error: ambiguous option: $1
26329
 
Try \`$0 --help' for more information." >&2
26330
 
   { (exit 1); exit 1; }; };;
26331
 
  --help | --hel | -h )
26332
 
    echo "$ac_cs_usage"; exit ;;
26333
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26334
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
26335
 
    ac_cs_silent=: ;;
26336
 
 
26337
 
  # This is an error.
26338
 
  -*) { echo "$as_me: error: unrecognized option: $1
26339
 
Try \`$0 --help' for more information." >&2
26340
 
   { (exit 1); exit 1; }; } ;;
26341
 
 
26342
 
  *) ac_config_targets="$ac_config_targets $1"
26343
 
     ac_need_defaults=false ;;
26344
 
 
26345
 
  esac
26346
 
  shift
26347
 
done
26348
 
 
26349
 
ac_configure_extra_args=
26350
 
 
26351
 
if $ac_cs_silent; then
26352
 
  exec 6>/dev/null
26353
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
26354
 
fi
26355
 
 
26356
 
_ACEOF
26357
 
cat >>$CONFIG_STATUS <<_ACEOF
26358
 
if \$ac_cs_recheck; then
26359
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26360
 
  CONFIG_SHELL=$SHELL
26361
 
  export CONFIG_SHELL
26362
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26363
 
fi
26364
 
 
26365
 
_ACEOF
26366
 
cat >>$CONFIG_STATUS <<\_ACEOF
26367
 
exec 5>>config.log
26368
 
{
26369
 
  echo
26370
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
26371
 
@%:@@%:@ Running $as_me. @%:@@%:@
26372
 
_ASBOX
26373
 
  echo "$ac_log"
26374
 
} >&5
26375
 
 
26376
 
_ACEOF
26377
 
cat >>$CONFIG_STATUS <<_ACEOF
26378
 
#
26379
 
# INIT-COMMANDS
26380
 
#
26381
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26382
 
 
26383
 
_ACEOF
26384
 
 
26385
 
cat >>$CONFIG_STATUS <<\_ACEOF
26386
 
 
26387
 
# Handling of arguments.
26388
 
for ac_config_target in $ac_config_targets
26389
 
do
26390
 
  case $ac_config_target in
26391
 
    "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
26392
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26393
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26394
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
26395
 
    "src/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/Makefile" ;;
26396
 
    "src/base/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/tinyxml/Makefile" ;;
26397
 
    "src/build_tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/Makefile" ;;
26398
 
    "src/build_tools/autorevision/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/autorevision/Makefile" ;;
26399
 
    "src/include/autorevision.h") CONFIG_FILES="$CONFIG_FILES src/include/autorevision.h" ;;
26400
 
    "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
26401
 
    "src/include/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/Makefile" ;;
26402
 
    "src/include/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/bindings/Makefile" ;;
26403
 
    "src/include/scripting/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/include/Makefile" ;;
26404
 
    "src/include/scripting/sqplus/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/sqplus/Makefile" ;;
26405
 
    "src/include/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/sqstdlib/Makefile" ;;
26406
 
    "src/include/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/squirrel/Makefile" ;;
26407
 
    "src/include/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/tinyxml/Makefile" ;;
26408
 
    "src/include/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/wxFlatNotebook/Makefile" ;;
26409
 
    "src/include/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/wxscintilla/Makefile" ;;
26410
 
    "src/sdk/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/Makefile" ;;
26411
 
    "src/sdk/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/Makefile" ;;
26412
 
    "src/sdk/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/bindings/Makefile" ;;
26413
 
    "src/sdk/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/squirrel/Makefile" ;;
26414
 
    "src/sdk/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqstdlib/Makefile" ;;
26415
 
    "src/sdk/scripting/sqplus/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqplus/Makefile" ;;
26416
 
    "src/sdk/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxscintilla/Makefile" ;;
26417
 
    "src/sdk/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxFlatNotebook/Makefile" ;;
26418
 
    "src/sdk/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/Makefile" ;;
26419
 
    "src/sdk/resources/lexers/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/lexers/Makefile" ;;
26420
 
    "src/src/wxAUI/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/wxAUI/Makefile" ;;
26421
 
    "src/src/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/Makefile" ;;
26422
 
    "src/src/resources/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/icons/Makefile" ;;
26423
 
    "src/src/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/Makefile" ;;
26424
 
    "src/src/resources/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/16x16/Makefile" ;;
26425
 
    "src/src/resources/images/settings/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/settings/Makefile" ;;
26426
 
    "src/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/Makefile" ;;
26427
 
    "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
26428
 
    "src/plugins/astyle/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/Makefile" ;;
26429
 
    "src/plugins/astyle/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/resources/Makefile" ;;
26430
 
    "src/plugins/autosave/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/autosave/Makefile" ;;
26431
 
    "src/plugins/classwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/Makefile" ;;
26432
 
    "src/plugins/classwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/resources/Makefile" ;;
26433
 
    "src/plugins/codecompletion/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/Makefile" ;;
26434
 
    "src/plugins/codecompletion/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/resources/Makefile" ;;
26435
 
    "src/plugins/compilergcc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/Makefile" ;;
26436
 
    "src/plugins/compilergcc/depslib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/Makefile" ;;
26437
 
    "src/plugins/compilergcc/depslib/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/src/Makefile" ;;
26438
 
    "src/plugins/compilergcc/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/resources/Makefile" ;;
26439
 
    "src/plugins/debuggergdb/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/Makefile" ;;
26440
 
    "src/plugins/debuggergdb/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/Makefile" ;;
26441
 
    "src/plugins/debuggergdb/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/images/Makefile" ;;
26442
 
    "src/plugins/debuggergdb/resources/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/images/16x16/Makefile" ;;
26443
 
    "src/plugins/defaultmimehandler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/Makefile" ;;
26444
 
    "src/plugins/defaultmimehandler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/resources/Makefile" ;;
26445
 
    "src/plugins/openfileslist/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/openfileslist/Makefile" ;;
26446
 
    "src/plugins/projectsimporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/Makefile" ;;
26447
 
    "src/plugins/projectsimporter/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/resources/Makefile" ;;
26448
 
    "src/plugins/scriptedwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/Makefile" ;;
26449
 
    "src/plugins/scriptedwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/Makefile" ;;
26450
 
    "src/plugins/scriptedwizard/resources/avr/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/Makefile" ;;
26451
 
    "src/plugins/scriptedwizard/resources/avr/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/files/Makefile" ;;
26452
 
    "src/plugins/scriptedwizard/resources/c_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/c_file/Makefile" ;;
26453
 
    "src/plugins/scriptedwizard/resources/console/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/Makefile" ;;
26454
 
    "src/plugins/scriptedwizard/resources/console/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/c/Makefile" ;;
26455
 
    "src/plugins/scriptedwizard/resources/console/cpp/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/cpp/Makefile" ;;
26456
 
    "src/plugins/scriptedwizard/resources/d/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/Makefile" ;;
26457
 
    "src/plugins/scriptedwizard/resources/d/console/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/console/Makefile" ;;
26458
 
    "src/plugins/scriptedwizard/resources/directx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/Makefile" ;;
26459
 
    "src/plugins/scriptedwizard/resources/directx/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/files/Makefile" ;;
26460
 
    "src/plugins/scriptedwizard/resources/dll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/Makefile" ;;
26461
 
    "src/plugins/scriptedwizard/resources/dll/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/files/Makefile" ;;
26462
 
    "src/plugins/scriptedwizard/resources/empty/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty/Makefile" ;;
26463
 
    "src/plugins/scriptedwizard/resources/empty_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty_file/Makefile" ;;
26464
 
    "src/plugins/scriptedwizard/resources/fltk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/Makefile" ;;
26465
 
    "src/plugins/scriptedwizard/resources/fltk/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/files/Makefile" ;;
26466
 
    "src/plugins/scriptedwizard/resources/fltk/fluid/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/fluid/Makefile" ;;
26467
 
    "src/plugins/scriptedwizard/resources/glfw/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glfw/Makefile" ;;
26468
 
    "src/plugins/scriptedwizard/resources/glfw/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glfw/files/Makefile" ;;
26469
 
    "src/plugins/scriptedwizard/resources/glut/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glut/Makefile" ;;
26470
 
    "src/plugins/scriptedwizard/resources/glut/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glut/files/Makefile" ;;
26471
 
    "src/plugins/scriptedwizard/resources/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/gtk/Makefile" ;;
26472
 
    "src/plugins/scriptedwizard/resources/gtk/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/gtk/files/Makefile" ;;
26473
 
    "src/plugins/scriptedwizard/resources/h_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/h_file/Makefile" ;;
26474
 
    "src/plugins/scriptedwizard/resources/irrlicht/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/irrlicht/Makefile" ;;
26475
 
    "src/plugins/scriptedwizard/resources/irrlicht/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/irrlicht/files/Makefile" ;;
26476
 
    "src/plugins/scriptedwizard/resources/lf/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/Makefile" ;;
26477
 
    "src/plugins/scriptedwizard/resources/lf/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/Makefile" ;;
26478
 
    "src/plugins/scriptedwizard/resources/lf/files/quick/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/quick/Makefile" ;;
26479
 
    "src/plugins/scriptedwizard/resources/lf/files/structured/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/structured/Makefile" ;;
26480
 
    "src/plugins/scriptedwizard/resources/ogre/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/Makefile" ;;
26481
 
    "src/plugins/scriptedwizard/resources/ogre/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/files/Makefile" ;;
26482
 
    "src/plugins/scriptedwizard/resources/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/Makefile" ;;
26483
 
    "src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile" ;;
26484
 
    "src/plugins/scriptedwizard/resources/opengl/files_win/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_win/Makefile" ;;
26485
 
    "src/plugins/scriptedwizard/resources/qt4/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/Makefile" ;;
26486
 
    "src/plugins/scriptedwizard/resources/qt4/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/files/Makefile" ;;
26487
 
    "src/plugins/scriptedwizard/resources/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/Makefile" ;;
26488
 
    "src/plugins/scriptedwizard/resources/sdl/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/files/Makefile" ;;
26489
 
    "src/plugins/scriptedwizard/resources/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/Makefile" ;;
26490
 
    "src/plugins/scriptedwizard/resources/plugins/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/templates/Makefile" ;;
26491
 
    "src/plugins/scriptedwizard/resources/smartwin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/Makefile" ;;
26492
 
    "src/plugins/scriptedwizard/resources/smartwin/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/files/Makefile" ;;
26493
 
    "src/plugins/scriptedwizard/resources/staticlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/Makefile" ;;
26494
 
    "src/plugins/scriptedwizard/resources/staticlib/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/files/Makefile" ;;
26495
 
    "src/plugins/scriptedwizard/resources/sharedlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/Makefile" ;;
26496
 
    "src/plugins/scriptedwizard/resources/sharedlib/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/files/Makefile" ;;
26497
 
    "src/plugins/scriptedwizard/resources/sys/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/Makefile" ;;
26498
 
    "src/plugins/scriptedwizard/resources/sys/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/files/Makefile" ;;
26499
 
    "src/plugins/scriptedwizard/resources/win32gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/Makefile" ;;
26500
 
    "src/plugins/scriptedwizard/resources/win32gui/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/Makefile" ;;
26501
 
    "src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile" ;;
26502
 
    "src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile" ;;
26503
 
    "src/plugins/scriptedwizard/resources/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/Makefile" ;;
26504
 
    "src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile" ;;
26505
 
    "src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile" ;;
26506
 
    "src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile" ;;
26507
 
    "src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile" ;;
26508
 
    "src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile" ;;
26509
 
    "src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile" ;;
26510
 
    "src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile" ;;
26511
 
    "src/plugins/todo/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/Makefile" ;;
26512
 
    "src/plugins/todo/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/resources/Makefile" ;;
26513
 
    "src/plugins/xpmanifest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/xpmanifest/Makefile" ;;
26514
 
    "src/plugins/contrib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Makefile" ;;
26515
 
    "src/plugins/contrib/AutoVersioning/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/AutoVersioning/Makefile" ;;
26516
 
    "src/plugins/contrib/BrowseTracker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/BrowseTracker/Makefile" ;;
26517
 
    "src/plugins/contrib/byogames/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/byogames/Makefile" ;;
26518
 
    "src/plugins/contrib/cb_koders/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/cb_koders/Makefile" ;;
26519
 
    "src/plugins/contrib/codesnippets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/Makefile" ;;
26520
 
    "src/plugins/contrib/codesnippets/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/resources/Makefile" ;;
26521
 
    "src/plugins/contrib/codestat/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/Makefile" ;;
26522
 
    "src/plugins/contrib/codestat/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/resources/Makefile" ;;
26523
 
    "src/plugins/contrib/dragscroll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/dragscroll/Makefile" ;;
26524
 
    "src/plugins/contrib/envvars/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/envvars/Makefile" ;;
26525
 
    "src/plugins/contrib/help_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/Makefile" ;;
26526
 
    "src/plugins/contrib/help_plugin/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/bzip2/Makefile" ;;
26527
 
    "src/plugins/contrib/help_plugin/zlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/zlib/Makefile" ;;
26528
 
    "src/plugins/contrib/keybinder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/keybinder/Makefile" ;;
26529
 
    "src/plugins/contrib/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/Makefile" ;;
26530
 
    "src/plugins/contrib/lib_finder/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/lib_finder/Makefile" ;;
26531
 
    "src/plugins/contrib/profiler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/Makefile" ;;
26532
 
    "src/plugins/contrib/profiler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/resources/Makefile" ;;
26533
 
    "src/plugins/contrib/source_exporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/Makefile" ;;
26534
 
    "src/plugins/contrib/source_exporter/wxPdfDocument/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/wxPdfDocument/Makefile" ;;
26535
 
    "src/plugins/contrib/symtab/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/Makefile" ;;
26536
 
    "src/plugins/contrib/symtab/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/resources/Makefile" ;;
26537
 
    "src/plugins/contrib/regex_testbed/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/regex_testbed/Makefile" ;;
26538
 
    "src/plugins/contrib/ThreadSearch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/Makefile" ;;
26539
 
    "src/plugins/contrib/ThreadSearch/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/Makefile" ;;
26540
 
    "src/plugins/contrib/ThreadSearch/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/images/Makefile" ;;
26541
 
    "src/plugins/contrib/wxSmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/Makefile" ;;
26542
 
    "src/plugins/contrib/wxSmith/propgrid/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/propgrid/Makefile" ;;
26543
 
    "src/plugins/contrib/wxSmith/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/plugin/Makefile" ;;
26544
 
    "src/plugins/contrib/wxSmith/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/properties/Makefile" ;;
26545
 
    "src/plugins/contrib/wxSmith/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/Makefile" ;;
26546
 
    "src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile" ;;
26547
 
    "src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile" ;;
26548
 
    "src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile" ;;
26549
 
    "src/plugins/contrib/wxSmithContribItems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithContribItems/Makefile" ;;
26550
 
    "src/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES src/scripts/Makefile" ;;
26551
 
    "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
26552
 
    "src/tools/cb_share_config/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/cb_share_config/Makefile" ;;
26553
 
    "src/tools/ConsoleRunner/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/ConsoleRunner/Makefile" ;;
26554
 
    "src/setup/Makefile") CONFIG_FILES="$CONFIG_FILES src/setup/Makefile" ;;
26555
 
    "src/setup/mime/Makefile") CONFIG_FILES="$CONFIG_FILES src/setup/mime/Makefile" ;;
26556
 
    "src/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/Makefile" ;;
26557
 
    "src/templates/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/common/Makefile" ;;
26558
 
    "src/templates/unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/unix/Makefile" ;;
26559
 
    "src/templates/win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/win32/Makefile" ;;
26560
 
    "src/wxsmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/wxsmith/Makefile" ;;
26561
 
    "codeblocks.pc") CONFIG_FILES="$CONFIG_FILES codeblocks.pc" ;;
26562
 
    "codeblocks.spec") CONFIG_FILES="$CONFIG_FILES codeblocks.spec" ;;
26563
 
    "codeblocks.plist") CONFIG_FILES="$CONFIG_FILES codeblocks.plist" ;;
26564
 
 
26565
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26566
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26567
 
   { (exit 1); exit 1; }; };;
26568
 
  esac
26569
 
done
26570
 
 
26571
 
 
26572
 
# If the user did not use the arguments to specify the items to instantiate,
26573
 
# then the envvar interface is used.  Set only those that are not.
26574
 
# We use the long form for the default assignment because of an extremely
26575
 
# bizarre bug on SunOS 4.1.3.
26576
 
if $ac_need_defaults; then
26577
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26578
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26579
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26580
 
fi
26581
 
 
26582
 
# Have a temporary directory for convenience.  Make it in the build tree
26583
 
# simply because there is no reason against having it here, and in addition,
26584
 
# creating and moving files from /tmp can sometimes cause problems.
26585
 
# Hook for its removal unless debugging.
26586
 
# Note that there is a small window in which the directory will not be cleaned:
26587
 
# after its creation but before its name has been assigned to `$tmp'.
26588
 
$debug ||
26589
 
{
26590
 
  tmp=
26591
 
  trap 'exit_status=$?
26592
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26593
 
' 0
26594
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
26595
 
}
26596
 
# Create a (secure) tmp directory for tmp files.
26597
 
 
26598
 
{
26599
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26600
 
  test -n "$tmp" && test -d "$tmp"
26601
 
}  ||
26602
 
{
26603
 
  tmp=./conf$$-$RANDOM
26604
 
  (umask 077 && mkdir "$tmp")
26605
 
} ||
26606
 
{
26607
 
   echo "$me: cannot create a temporary directory in ." >&2
26608
 
   { (exit 1); exit 1; }
26609
 
}
26610
 
 
26611
 
#
26612
 
# Set up the sed scripts for CONFIG_FILES section.
26613
 
#
26614
 
 
26615
 
# No need to generate the scripts if there are no CONFIG_FILES.
26616
 
# This happens for instance when ./config.status config.h
26617
 
if test -n "$CONFIG_FILES"; then
26618
 
 
26619
 
_ACEOF
26620
 
 
26621
 
 
26622
 
 
26623
 
ac_delim='%!_!# '
26624
 
for ac_last_try in false false false false false :; do
26625
 
  cat >conf$$subs.sed <<_ACEOF
26626
 
SHELL!$SHELL$ac_delim
26627
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26628
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26629
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26630
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26631
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26632
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26633
 
exec_prefix!$exec_prefix$ac_delim
26634
 
prefix!$prefix$ac_delim
26635
 
program_transform_name!$program_transform_name$ac_delim
26636
 
bindir!$bindir$ac_delim
26637
 
sbindir!$sbindir$ac_delim
26638
 
libexecdir!$libexecdir$ac_delim
26639
 
datarootdir!$datarootdir$ac_delim
26640
 
datadir!$datadir$ac_delim
26641
 
sysconfdir!$sysconfdir$ac_delim
26642
 
sharedstatedir!$sharedstatedir$ac_delim
26643
 
localstatedir!$localstatedir$ac_delim
26644
 
includedir!$includedir$ac_delim
26645
 
oldincludedir!$oldincludedir$ac_delim
26646
 
docdir!$docdir$ac_delim
26647
 
infodir!$infodir$ac_delim
26648
 
htmldir!$htmldir$ac_delim
26649
 
dvidir!$dvidir$ac_delim
26650
 
pdfdir!$pdfdir$ac_delim
26651
 
psdir!$psdir$ac_delim
26652
 
libdir!$libdir$ac_delim
26653
 
localedir!$localedir$ac_delim
26654
 
mandir!$mandir$ac_delim
26655
 
DEFS!$DEFS$ac_delim
26656
 
ECHO_C!$ECHO_C$ac_delim
26657
 
ECHO_N!$ECHO_N$ac_delim
26658
 
ECHO_T!$ECHO_T$ac_delim
26659
 
LIBS!$LIBS$ac_delim
26660
 
build_alias!$build_alias$ac_delim
26661
 
host_alias!$host_alias$ac_delim
26662
 
target_alias!$target_alias$ac_delim
26663
 
build!$build$ac_delim
26664
 
build_cpu!$build_cpu$ac_delim
26665
 
build_vendor!$build_vendor$ac_delim
26666
 
build_os!$build_os$ac_delim
26667
 
host!$host$ac_delim
26668
 
host_cpu!$host_cpu$ac_delim
26669
 
host_vendor!$host_vendor$ac_delim
26670
 
host_os!$host_os$ac_delim
26671
 
target!$target$ac_delim
26672
 
target_cpu!$target_cpu$ac_delim
26673
 
target_vendor!$target_vendor$ac_delim
26674
 
target_os!$target_os$ac_delim
26675
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26676
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26677
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
26678
 
am__isrc!$am__isrc$ac_delim
26679
 
CYGPATH_W!$CYGPATH_W$ac_delim
26680
 
PACKAGE!$PACKAGE$ac_delim
26681
 
VERSION!$VERSION$ac_delim
26682
 
ACLOCAL!$ACLOCAL$ac_delim
26683
 
AUTOCONF!$AUTOCONF$ac_delim
26684
 
AUTOMAKE!$AUTOMAKE$ac_delim
26685
 
AUTOHEADER!$AUTOHEADER$ac_delim
26686
 
MAKEINFO!$MAKEINFO$ac_delim
26687
 
install_sh!$install_sh$ac_delim
26688
 
STRIP!$STRIP$ac_delim
26689
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26690
 
mkdir_p!$mkdir_p$ac_delim
26691
 
AWK!$AWK$ac_delim
26692
 
SET_MAKE!$SET_MAKE$ac_delim
26693
 
am__leading_dot!$am__leading_dot$ac_delim
26694
 
AMTAR!$AMTAR$ac_delim
26695
 
am__tar!$am__tar$ac_delim
26696
 
am__untar!$am__untar$ac_delim
26697
 
CXX!$CXX$ac_delim
26698
 
CXXFLAGS!$CXXFLAGS$ac_delim
26699
 
LDFLAGS!$LDFLAGS$ac_delim
26700
 
CPPFLAGS!$CPPFLAGS$ac_delim
26701
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
26702
 
EXEEXT!$EXEEXT$ac_delim
26703
 
OBJEXT!$OBJEXT$ac_delim
26704
 
DEPDIR!$DEPDIR$ac_delim
26705
 
am__include!$am__include$ac_delim
26706
 
am__quote!$am__quote$ac_delim
26707
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26708
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26709
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26710
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
26711
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26712
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26713
 
CC!$CC$ac_delim
26714
 
CFLAGS!$CFLAGS$ac_delim
26715
 
ac_ct_CC!$ac_ct_CC$ac_delim
26716
 
CCDEPMODE!$CCDEPMODE$ac_delim
26717
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26718
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26719
 
CPP!$CPP$ac_delim
26720
 
LN_S!$LN_S$ac_delim
26721
 
SHARED_FLAGS!$SHARED_FLAGS$ac_delim
26722
 
PLUGIN_FLAGS!$PLUGIN_FLAGS$ac_delim
26723
 
_ACEOF
26724
 
 
26725
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26726
 
    break
26727
 
  elif $ac_last_try; then
26728
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26729
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26730
 
   { (exit 1); exit 1; }; }
26731
 
  else
26732
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26733
 
  fi
26734
 
done
26735
 
 
26736
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26737
 
if test -n "$ac_eof"; then
26738
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26739
 
  ac_eof=`expr $ac_eof + 1`
26740
 
fi
26741
 
 
26742
 
cat >>$CONFIG_STATUS <<_ACEOF
26743
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26744
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26745
 
_ACEOF
26746
 
sed '
26747
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26748
 
s/^/s,@/; s/!/@,|#_!!_#|/
26749
 
:n
26750
 
t n
26751
 
s/'"$ac_delim"'$/,g/; t
26752
 
s/$/\\/; p
26753
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26754
 
' >>$CONFIG_STATUS <conf$$subs.sed
26755
 
rm -f conf$$subs.sed
26756
 
cat >>$CONFIG_STATUS <<_ACEOF
26757
 
CEOF$ac_eof
26758
 
_ACEOF
26759
 
 
26760
 
 
26761
 
ac_delim='%!_!# '
26762
 
for ac_last_try in false false false false false :; do
26763
 
  cat >conf$$subs.sed <<_ACEOF
26764
 
RC!$RC$ac_delim
26765
 
CODEBLOCKS_NT_TRUE!$CODEBLOCKS_NT_TRUE$ac_delim
26766
 
CODEBLOCKS_NT_FALSE!$CODEBLOCKS_NT_FALSE$ac_delim
26767
 
CODEBLOCKS_LINUX_TRUE!$CODEBLOCKS_LINUX_TRUE$ac_delim
26768
 
CODEBLOCKS_LINUX_FALSE!$CODEBLOCKS_LINUX_FALSE$ac_delim
26769
 
CODEBLOCKS_DARWIN_TRUE!$CODEBLOCKS_DARWIN_TRUE$ac_delim
26770
 
CODEBLOCKS_DARWIN_FALSE!$CODEBLOCKS_DARWIN_FALSE$ac_delim
26771
 
SED!$SED$ac_delim
26772
 
GREP!$GREP$ac_delim
26773
 
EGREP!$EGREP$ac_delim
26774
 
ECHO!$ECHO$ac_delim
26775
 
AR!$AR$ac_delim
26776
 
RANLIB!$RANLIB$ac_delim
26777
 
CXXCPP!$CXXCPP$ac_delim
26778
 
F77!$F77$ac_delim
26779
 
FFLAGS!$FFLAGS$ac_delim
26780
 
ac_ct_F77!$ac_ct_F77$ac_delim
26781
 
LIBTOOL!$LIBTOOL$ac_delim
26782
 
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
26783
 
HAVE_ZLIB_TRUE!$HAVE_ZLIB_TRUE$ac_delim
26784
 
HAVE_ZLIB_FALSE!$HAVE_ZLIB_FALSE$ac_delim
26785
 
HAVE_BZIP2_TRUE!$HAVE_BZIP2_TRUE$ac_delim
26786
 
HAVE_BZIP2_FALSE!$HAVE_BZIP2_FALSE$ac_delim
26787
 
CODEBLOCKS_VERSION_INFO!$CODEBLOCKS_VERSION_INFO$ac_delim
26788
 
PLATFORM_CFLAGS!$PLATFORM_CFLAGS$ac_delim
26789
 
PLATFORM_LIBS!$PLATFORM_LIBS$ac_delim
26790
 
CODEBLOCKS_PLATFORM!$CODEBLOCKS_PLATFORM$ac_delim
26791
 
BUILD_ASTYLE_TRUE!$BUILD_ASTYLE_TRUE$ac_delim
26792
 
BUILD_ASTYLE_FALSE!$BUILD_ASTYLE_FALSE$ac_delim
26793
 
BUILD_AUTOSAVE_TRUE!$BUILD_AUTOSAVE_TRUE$ac_delim
26794
 
BUILD_AUTOSAVE_FALSE!$BUILD_AUTOSAVE_FALSE$ac_delim
26795
 
BUILD_CLASSWIZARD_TRUE!$BUILD_CLASSWIZARD_TRUE$ac_delim
26796
 
BUILD_CLASSWIZARD_FALSE!$BUILD_CLASSWIZARD_FALSE$ac_delim
26797
 
BUILD_CODECOMPLETION_TRUE!$BUILD_CODECOMPLETION_TRUE$ac_delim
26798
 
BUILD_CODECOMPLETION_FALSE!$BUILD_CODECOMPLETION_FALSE$ac_delim
26799
 
BUILD_COMPILER_TRUE!$BUILD_COMPILER_TRUE$ac_delim
26800
 
BUILD_COMPILER_FALSE!$BUILD_COMPILER_FALSE$ac_delim
26801
 
BUILD_DEBUGGER_TRUE!$BUILD_DEBUGGER_TRUE$ac_delim
26802
 
BUILD_DEBUGGER_FALSE!$BUILD_DEBUGGER_FALSE$ac_delim
26803
 
BUILD_MIMEHANDLER_TRUE!$BUILD_MIMEHANDLER_TRUE$ac_delim
26804
 
BUILD_MIMEHANDLER_FALSE!$BUILD_MIMEHANDLER_FALSE$ac_delim
26805
 
BUILD_OPENFILESLIST_TRUE!$BUILD_OPENFILESLIST_TRUE$ac_delim
26806
 
BUILD_OPENFILESLIST_FALSE!$BUILD_OPENFILESLIST_FALSE$ac_delim
26807
 
BUILD_PROJECTSIMPORTER_TRUE!$BUILD_PROJECTSIMPORTER_TRUE$ac_delim
26808
 
BUILD_PROJECTSIMPORTER_FALSE!$BUILD_PROJECTSIMPORTER_FALSE$ac_delim
26809
 
BUILD_SCRIPTEDWIZARD_TRUE!$BUILD_SCRIPTEDWIZARD_TRUE$ac_delim
26810
 
BUILD_SCRIPTEDWIZARD_FALSE!$BUILD_SCRIPTEDWIZARD_FALSE$ac_delim
26811
 
BUILD_TODO_TRUE!$BUILD_TODO_TRUE$ac_delim
26812
 
BUILD_TODO_FALSE!$BUILD_TODO_FALSE$ac_delim
26813
 
BUILD_MANIFEST_TRUE!$BUILD_MANIFEST_TRUE$ac_delim
26814
 
BUILD_MANIFEST_FALSE!$BUILD_MANIFEST_FALSE$ac_delim
26815
 
BUILD_AUTOVERSIONING_TRUE!$BUILD_AUTOVERSIONING_TRUE$ac_delim
26816
 
BUILD_AUTOVERSIONING_FALSE!$BUILD_AUTOVERSIONING_FALSE$ac_delim
26817
 
BUILD_BROWSETRACKER_TRUE!$BUILD_BROWSETRACKER_TRUE$ac_delim
26818
 
BUILD_BROWSETRACKER_FALSE!$BUILD_BROWSETRACKER_FALSE$ac_delim
26819
 
BUILD_BYOGAMES_TRUE!$BUILD_BYOGAMES_TRUE$ac_delim
26820
 
BUILD_BYOGAMES_FALSE!$BUILD_BYOGAMES_FALSE$ac_delim
26821
 
BUILD_CBKODERS_TRUE!$BUILD_CBKODERS_TRUE$ac_delim
26822
 
BUILD_CBKODERS_FALSE!$BUILD_CBKODERS_FALSE$ac_delim
26823
 
BUILD_CODESNIPPETS_TRUE!$BUILD_CODESNIPPETS_TRUE$ac_delim
26824
 
BUILD_CODESNIPPETS_FALSE!$BUILD_CODESNIPPETS_FALSE$ac_delim
26825
 
BUILD_CODESTAT_TRUE!$BUILD_CODESTAT_TRUE$ac_delim
26826
 
BUILD_CODESTAT_FALSE!$BUILD_CODESTAT_FALSE$ac_delim
26827
 
BUILD_DRAGSCROLL_TRUE!$BUILD_DRAGSCROLL_TRUE$ac_delim
26828
 
BUILD_DRAGSCROLL_FALSE!$BUILD_DRAGSCROLL_FALSE$ac_delim
26829
 
BUILD_ENVVARS_TRUE!$BUILD_ENVVARS_TRUE$ac_delim
26830
 
BUILD_ENVVARS_FALSE!$BUILD_ENVVARS_FALSE$ac_delim
26831
 
BUILD_HELP_TRUE!$BUILD_HELP_TRUE$ac_delim
26832
 
BUILD_HELP_FALSE!$BUILD_HELP_FALSE$ac_delim
26833
 
BUILD_KEYBINDER_TRUE!$BUILD_KEYBINDER_TRUE$ac_delim
26834
 
BUILD_KEYBINDER_FALSE!$BUILD_KEYBINDER_FALSE$ac_delim
26835
 
BUILD_LIBFINDER_TRUE!$BUILD_LIBFINDER_TRUE$ac_delim
26836
 
BUILD_LIBFINDER_FALSE!$BUILD_LIBFINDER_FALSE$ac_delim
26837
 
BUILD_PROFILER_TRUE!$BUILD_PROFILER_TRUE$ac_delim
26838
 
BUILD_PROFILER_FALSE!$BUILD_PROFILER_FALSE$ac_delim
26839
 
BUILD_REGEX_TRUE!$BUILD_REGEX_TRUE$ac_delim
26840
 
BUILD_REGEX_FALSE!$BUILD_REGEX_FALSE$ac_delim
26841
 
BUILD_EXPORTER_TRUE!$BUILD_EXPORTER_TRUE$ac_delim
26842
 
BUILD_EXPORTER_FALSE!$BUILD_EXPORTER_FALSE$ac_delim
26843
 
BUILD_SYMTAB_TRUE!$BUILD_SYMTAB_TRUE$ac_delim
26844
 
BUILD_SYMTAB_FALSE!$BUILD_SYMTAB_FALSE$ac_delim
26845
 
BUILD_THREADSEARCH_TRUE!$BUILD_THREADSEARCH_TRUE$ac_delim
26846
 
BUILD_THREADSEARCH_FALSE!$BUILD_THREADSEARCH_FALSE$ac_delim
26847
 
BUILD_WXSMITH_TRUE!$BUILD_WXSMITH_TRUE$ac_delim
26848
 
BUILD_WXSMITH_FALSE!$BUILD_WXSMITH_FALSE$ac_delim
26849
 
BUILD_AUTOVERSIONING!$BUILD_AUTOVERSIONING$ac_delim
26850
 
BUILD_BROWSETRACKER!$BUILD_BROWSETRACKER$ac_delim
26851
 
BUILD_BYOGAMES!$BUILD_BYOGAMES$ac_delim
26852
 
BUILD_CBKODERS!$BUILD_CBKODERS$ac_delim
26853
 
BUILD_CODESNIPPETS!$BUILD_CODESNIPPETS$ac_delim
26854
 
BUILD_CODESTAT!$BUILD_CODESTAT$ac_delim
26855
 
BUILD_COPYSTRINGS!$BUILD_COPYSTRINGS$ac_delim
26856
 
BUILD_DRAGSCROLL!$BUILD_DRAGSCROLL$ac_delim
26857
 
BUILD_ENVVARS!$BUILD_ENVVARS$ac_delim
26858
 
BUILD_HELP!$BUILD_HELP$ac_delim
26859
 
BUILD_KEYBINDER!$BUILD_KEYBINDER$ac_delim
26860
 
BUILD_LIBFINDER!$BUILD_LIBFINDER$ac_delim
26861
 
_ACEOF
26862
 
 
26863
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26864
 
    break
26865
 
  elif $ac_last_try; then
26866
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26867
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26868
 
   { (exit 1); exit 1; }; }
26869
 
  else
26870
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26871
 
  fi
26872
 
done
26873
 
 
26874
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26875
 
if test -n "$ac_eof"; then
26876
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26877
 
  ac_eof=`expr $ac_eof + 1`
26878
 
fi
26879
 
 
26880
 
cat >>$CONFIG_STATUS <<_ACEOF
26881
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26882
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26883
 
_ACEOF
26884
 
sed '
26885
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26886
 
s/^/s,@/; s/!/@,|#_!!_#|/
26887
 
:n
26888
 
t n
26889
 
s/'"$ac_delim"'$/,g/; t
26890
 
s/$/\\/; p
26891
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26892
 
' >>$CONFIG_STATUS <conf$$subs.sed
26893
 
rm -f conf$$subs.sed
26894
 
cat >>$CONFIG_STATUS <<_ACEOF
26895
 
CEOF$ac_eof
26896
 
_ACEOF
26897
 
 
26898
 
 
26899
 
ac_delim='%!_!# '
26900
 
for ac_last_try in false false false false false :; do
26901
 
  cat >conf$$subs.sed <<_ACEOF
26902
 
BUILD_PROFILER!$BUILD_PROFILER$ac_delim
26903
 
BUILD_REGEX!$BUILD_REGEX$ac_delim
26904
 
BUILD_EXPORTER!$BUILD_EXPORTER$ac_delim
26905
 
BUILD_SYMTAB!$BUILD_SYMTAB$ac_delim
26906
 
BUILD_THREADSEARCH!$BUILD_THREADSEARCH$ac_delim
26907
 
BUILD_WXSMITH!$BUILD_WXSMITH$ac_delim
26908
 
PRECOMPILE_HEADERS_TRUE!$PRECOMPILE_HEADERS_TRUE$ac_delim
26909
 
PRECOMPILE_HEADERS_FALSE!$PRECOMPILE_HEADERS_FALSE$ac_delim
26910
 
WX_CONFIG_PATH!$WX_CONFIG_PATH$ac_delim
26911
 
WX_CPPFLAGS!$WX_CPPFLAGS$ac_delim
26912
 
WX_CFLAGS!$WX_CFLAGS$ac_delim
26913
 
WX_CXXFLAGS!$WX_CXXFLAGS$ac_delim
26914
 
WX_CFLAGS_ONLY!$WX_CFLAGS_ONLY$ac_delim
26915
 
WX_CXXFLAGS_ONLY!$WX_CXXFLAGS_ONLY$ac_delim
26916
 
WX_LIBS!$WX_LIBS$ac_delim
26917
 
WX_LIBS_STATIC!$WX_LIBS_STATIC$ac_delim
26918
 
WX_VERSION!$WX_VERSION$ac_delim
26919
 
WX_RESCOMP!$WX_RESCOMP$ac_delim
26920
 
HAVE_PKG_CONFIG!$HAVE_PKG_CONFIG$ac_delim
26921
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
26922
 
GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
26923
 
GTK2_LIBS!$GTK2_LIBS$ac_delim
26924
 
REZ!$REZ$ac_delim
26925
 
SETFILE!$SETFILE$ac_delim
26926
 
WX_GTK2_CFLAGS!$WX_GTK2_CFLAGS$ac_delim
26927
 
WX_GTK2_LIBS!$WX_GTK2_LIBS$ac_delim
26928
 
POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
26929
 
MACSETFILE!$MACSETFILE$ac_delim
26930
 
PLUGIN_WX_LIBS!$PLUGIN_WX_LIBS$ac_delim
26931
 
codeblocks_PCH_FLAGS!$codeblocks_PCH_FLAGS$ac_delim
26932
 
LINUX_TRUE!$LINUX_TRUE$ac_delim
26933
 
LINUX_FALSE!$LINUX_FALSE$ac_delim
26934
 
DARWIN_TRUE!$DARWIN_TRUE$ac_delim
26935
 
DARWIN_FALSE!$DARWIN_FALSE$ac_delim
26936
 
REVISION!$REVISION$ac_delim
26937
 
DATE!$DATE$ac_delim
26938
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
26939
 
_ACEOF
26940
 
 
26941
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then
26942
 
    break
26943
 
  elif $ac_last_try; then
26944
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26945
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26946
 
   { (exit 1); exit 1; }; }
26947
 
  else
26948
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26949
 
  fi
26950
 
done
26951
 
 
26952
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26953
 
if test -n "$ac_eof"; then
26954
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26955
 
  ac_eof=`expr $ac_eof + 1`
26956
 
fi
26957
 
 
26958
 
cat >>$CONFIG_STATUS <<_ACEOF
26959
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
26960
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26961
 
_ACEOF
26962
 
sed '
26963
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26964
 
s/^/s,@/; s/!/@,|#_!!_#|/
26965
 
:n
26966
 
t n
26967
 
s/'"$ac_delim"'$/,g/; t
26968
 
s/$/\\/; p
26969
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26970
 
' >>$CONFIG_STATUS <conf$$subs.sed
26971
 
rm -f conf$$subs.sed
26972
 
cat >>$CONFIG_STATUS <<_ACEOF
26973
 
:end
26974
 
s/|#_!!_#|//g
26975
 
CEOF$ac_eof
26976
 
_ACEOF
26977
 
 
26978
 
 
26979
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
26980
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26981
 
# trailing colons and then remove the whole line if VPATH becomes empty
26982
 
# (actually we leave an empty line to preserve line numbers).
26983
 
if test "x$srcdir" = x.; then
26984
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
26985
 
s/:*\$(srcdir):*/:/
26986
 
s/:*\${srcdir}:*/:/
26987
 
s/:*@srcdir@:*/:/
26988
 
s/^\([^=]*=[     ]*\):*/\1/
26989
 
s/:*$//
26990
 
s/^[^=]*=[       ]*$//
26991
 
}'
26992
 
fi
26993
 
 
26994
 
cat >>$CONFIG_STATUS <<\_ACEOF
26995
 
fi # test -n "$CONFIG_FILES"
26996
 
 
26997
 
 
26998
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
26999
 
do
27000
 
  case $ac_tag in
27001
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
27002
 
  esac
27003
 
  case $ac_mode$ac_tag in
27004
 
  :[FHL]*:*);;
27005
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27006
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27007
 
   { (exit 1); exit 1; }; };;
27008
 
  :[FH]-) ac_tag=-:-;;
27009
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27010
 
  esac
27011
 
  ac_save_IFS=$IFS
27012
 
  IFS=:
27013
 
  set x $ac_tag
27014
 
  IFS=$ac_save_IFS
27015
 
  shift
27016
 
  ac_file=$1
27017
 
  shift
27018
 
 
27019
 
  case $ac_mode in
27020
 
  :L) ac_source=$1;;
27021
 
  :[FH])
27022
 
    ac_file_inputs=
27023
 
    for ac_f
27024
 
    do
27025
 
      case $ac_f in
27026
 
      -) ac_f="$tmp/stdin";;
27027
 
      *) # Look for the file first in the build tree, then in the source tree
27028
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
27029
 
         # because $ac_f cannot contain `:'.
27030
 
         test -f "$ac_f" ||
27031
 
           case $ac_f in
27032
 
           [\\/$]*) false;;
27033
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27034
 
           esac ||
27035
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27036
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27037
 
   { (exit 1); exit 1; }; };;
27038
 
      esac
27039
 
      ac_file_inputs="$ac_file_inputs $ac_f"
27040
 
    done
27041
 
 
27042
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
27043
 
    # use $as_me), people would be surprised to read:
27044
 
    #    /* config.h.  Generated by config.status.  */
27045
 
    configure_input="Generated from "`IFS=:
27046
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27047
 
    if test x"$ac_file" != x-; then
27048
 
      configure_input="$ac_file.  $configure_input"
27049
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
27050
 
echo "$as_me: creating $ac_file" >&6;}
27051
 
    fi
27052
 
 
27053
 
    case $ac_tag in
27054
 
    *:-:* | *:-) cat >"$tmp/stdin";;
27055
 
    esac
27056
 
    ;;
27057
 
  esac
27058
 
 
27059
 
  ac_dir=`$as_dirname -- "$ac_file" ||
27060
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27061
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
27062
 
         X"$ac_file" : 'X\(//\)$' \| \
27063
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27064
 
echo X"$ac_file" |
27065
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27066
 
            s//\1/
27067
 
            q
27068
 
          }
27069
 
          /^X\(\/\/\)[^/].*/{
27070
 
            s//\1/
27071
 
            q
27072
 
          }
27073
 
          /^X\(\/\/\)$/{
27074
 
            s//\1/
27075
 
            q
27076
 
          }
27077
 
          /^X\(\/\).*/{
27078
 
            s//\1/
27079
 
            q
27080
 
          }
27081
 
          s/.*/./; q'`
27082
 
  { as_dir="$ac_dir"
27083
 
  case $as_dir in #(
27084
 
  -*) as_dir=./$as_dir;;
27085
 
  esac
27086
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27087
 
    as_dirs=
27088
 
    while :; do
27089
 
      case $as_dir in #(
27090
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27091
 
      *) as_qdir=$as_dir;;
27092
 
      esac
27093
 
      as_dirs="'$as_qdir' $as_dirs"
27094
 
      as_dir=`$as_dirname -- "$as_dir" ||
27095
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27096
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
27097
 
         X"$as_dir" : 'X\(//\)$' \| \
27098
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27099
 
echo X"$as_dir" |
27100
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27101
 
            s//\1/
27102
 
            q
27103
 
          }
27104
 
          /^X\(\/\/\)[^/].*/{
27105
 
            s//\1/
27106
 
            q
27107
 
          }
27108
 
          /^X\(\/\/\)$/{
27109
 
            s//\1/
27110
 
            q
27111
 
          }
27112
 
          /^X\(\/\).*/{
27113
 
            s//\1/
27114
 
            q
27115
 
          }
27116
 
          s/.*/./; q'`
27117
 
      test -d "$as_dir" && break
27118
 
    done
27119
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27120
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27121
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27122
 
   { (exit 1); exit 1; }; }; }
27123
 
  ac_builddir=.
27124
 
 
27125
 
case "$ac_dir" in
27126
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27127
 
*)
27128
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27129
 
  # A ".." for each directory in $ac_dir_suffix.
27130
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27131
 
  case $ac_top_builddir_sub in
27132
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27133
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27134
 
  esac ;;
27135
 
esac
27136
 
ac_abs_top_builddir=$ac_pwd
27137
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
27138
 
# for backward compatibility:
27139
 
ac_top_builddir=$ac_top_build_prefix
27140
 
 
27141
 
case $srcdir in
27142
 
  .)  # We are building in place.
27143
 
    ac_srcdir=.
27144
 
    ac_top_srcdir=$ac_top_builddir_sub
27145
 
    ac_abs_top_srcdir=$ac_pwd ;;
27146
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
27147
 
    ac_srcdir=$srcdir$ac_dir_suffix;
27148
 
    ac_top_srcdir=$srcdir
27149
 
    ac_abs_top_srcdir=$srcdir ;;
27150
 
  *) # Relative name.
27151
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27152
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
27153
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27154
 
esac
27155
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27156
 
 
27157
 
 
27158
 
  case $ac_mode in
27159
 
  :F)
27160
 
  #
27161
 
  # CONFIG_FILE
27162
 
  #
27163
 
 
27164
 
  case $INSTALL in
27165
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27166
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27167
 
  esac
27168
 
  ac_MKDIR_P=$MKDIR_P
27169
 
  case $MKDIR_P in
27170
 
  [\\/$]* | ?:[\\/]* ) ;;
27171
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27172
 
  esac
27173
 
_ACEOF
27174
 
 
27175
 
cat >>$CONFIG_STATUS <<\_ACEOF
27176
 
# If the template does not know about datarootdir, expand it.
27177
 
# FIXME: This hack should be removed a few years after 2.60.
27178
 
ac_datarootdir_hack=; ac_datarootdir_seen=
27179
 
 
27180
 
case `sed -n '/datarootdir/ {
27181
 
  p
27182
 
  q
27183
 
}
27184
 
/@datadir@/p
27185
 
/@docdir@/p
27186
 
/@infodir@/p
27187
 
/@localedir@/p
27188
 
/@mandir@/p
27189
 
' $ac_file_inputs` in
27190
 
*datarootdir*) ac_datarootdir_seen=yes;;
27191
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27192
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27193
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27194
 
_ACEOF
27195
 
cat >>$CONFIG_STATUS <<_ACEOF
27196
 
  ac_datarootdir_hack='
27197
 
  s&@datadir@&$datadir&g
27198
 
  s&@docdir@&$docdir&g
27199
 
  s&@infodir@&$infodir&g
27200
 
  s&@localedir@&$localedir&g
27201
 
  s&@mandir@&$mandir&g
27202
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
27203
 
esac
27204
 
_ACEOF
27205
 
 
27206
 
# Neutralize VPATH when `$srcdir' = `.'.
27207
 
# Shell code in configure.ac might set extrasub.
27208
 
# FIXME: do we really want to maintain this feature?
27209
 
cat >>$CONFIG_STATUS <<_ACEOF
27210
 
  sed "$ac_vpsub
27211
 
$extrasub
27212
 
_ACEOF
27213
 
cat >>$CONFIG_STATUS <<\_ACEOF
27214
 
:t
27215
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27216
 
s&@configure_input@&$configure_input&;t t
27217
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
27218
 
s&@srcdir@&$ac_srcdir&;t t
27219
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
27220
 
s&@top_srcdir@&$ac_top_srcdir&;t t
27221
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27222
 
s&@builddir@&$ac_builddir&;t t
27223
 
s&@abs_builddir@&$ac_abs_builddir&;t t
27224
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27225
 
s&@INSTALL@&$ac_INSTALL&;t t
27226
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
27227
 
$ac_datarootdir_hack
27228
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
27229
 
 
27230
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27231
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27232
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27233
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27234
 
which seems to be undefined.  Please make sure it is defined." >&5
27235
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27236
 
which seems to be undefined.  Please make sure it is defined." >&2;}
27237
 
 
27238
 
  rm -f "$tmp/stdin"
27239
 
  case $ac_file in
27240
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
27241
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27242
 
  esac
27243
 
 ;;
27244
 
  :H)
27245
 
  #
27246
 
  # CONFIG_HEADER
27247
 
  #
27248
 
_ACEOF
27249
 
 
27250
 
# Transform confdefs.h into a sed script `conftest.defines', that
27251
 
# substitutes the proper values into config.h.in to produce config.h.
27252
 
rm -f conftest.defines conftest.tail
27253
 
# First, append a space to every undef/define line, to ease matching.
27254
 
echo 's/$/ /' >conftest.defines
27255
 
# Then, protect against being on the right side of a sed subst, or in
27256
 
# an unquoted here document, in config.status.  If some macros were
27257
 
# called several times there might be several #defines for the same
27258
 
# symbol, which is useless.  But do not sort them, since the last
27259
 
# AC_DEFINE must be honored.
27260
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27261
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27262
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
27263
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
27264
 
# just an empty string.
27265
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
27266
 
ac_dB='\\)[      (].*,\\1define\\2'
27267
 
ac_dC=' '
27268
 
ac_dD=' ,'
27269
 
 
27270
 
uniq confdefs.h |
27271
 
  sed -n '
27272
 
        t rset
27273
 
        :rset
27274
 
        s/^[     ]*#[    ]*define[       ][      ]*//
27275
 
        t ok
27276
 
        d
27277
 
        :ok
27278
 
        s/[\\&,]/\\&/g
27279
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27280
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27281
 
  ' >>conftest.defines
27282
 
 
27283
 
# Remove the space that was appended to ease matching.
27284
 
# Then replace #undef with comments.  This is necessary, for
27285
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
27286
 
# on some systems where configure will not decide to define it.
27287
 
# (The regexp can be short, since the line contains either #define or #undef.)
27288
 
echo 's/ $//
27289
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
27290
 
 
27291
 
# Break up conftest.defines:
27292
 
ac_max_sed_lines=50
27293
 
 
27294
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27295
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27296
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27297
 
# et cetera.
27298
 
ac_in='$ac_file_inputs'
27299
 
ac_out='"$tmp/out1"'
27300
 
ac_nxt='"$tmp/out2"'
27301
 
 
27302
 
while :
27303
 
do
27304
 
  # Write a here document:
27305
 
    cat >>$CONFIG_STATUS <<_ACEOF
27306
 
    # First, check the format of the line:
27307
 
    cat >"\$tmp/defines.sed" <<\\CEOF
27308
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
27309
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
27310
 
b
27311
 
:def
27312
 
_ACEOF
27313
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
27314
 
  echo 'CEOF
27315
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27316
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27317
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27318
 
  grep . conftest.tail >/dev/null || break
27319
 
  rm -f conftest.defines
27320
 
  mv conftest.tail conftest.defines
27321
 
done
27322
 
rm -f conftest.defines conftest.tail
27323
 
 
27324
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
27325
 
cat >>$CONFIG_STATUS <<\_ACEOF
27326
 
  if test x"$ac_file" != x-; then
27327
 
    echo "/* $configure_input  */" >"$tmp/config.h"
27328
 
    cat "$ac_result" >>"$tmp/config.h"
27329
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
27330
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27331
 
echo "$as_me: $ac_file is unchanged" >&6;}
27332
 
    else
27333
 
      rm -f $ac_file
27334
 
      mv "$tmp/config.h" $ac_file
27335
 
    fi
27336
 
  else
27337
 
    echo "/* $configure_input  */"
27338
 
    cat "$ac_result"
27339
 
  fi
27340
 
  rm -f "$tmp/out12"
27341
 
# Compute $ac_file's index in $config_headers.
27342
 
_am_stamp_count=1
27343
 
for _am_header in $config_headers :; do
27344
 
  case $_am_header in
27345
 
    $ac_file | $ac_file:* )
27346
 
      break ;;
27347
 
    * )
27348
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27349
 
  esac
27350
 
done
27351
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
27352
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27353
 
         X$ac_file : 'X\(//\)[^/]' \| \
27354
 
         X$ac_file : 'X\(//\)$' \| \
27355
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
27356
 
echo X$ac_file |
27357
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27358
 
            s//\1/
27359
 
            q
27360
 
          }
27361
 
          /^X\(\/\/\)[^/].*/{
27362
 
            s//\1/
27363
 
            q
27364
 
          }
27365
 
          /^X\(\/\/\)$/{
27366
 
            s//\1/
27367
 
            q
27368
 
          }
27369
 
          /^X\(\/\).*/{
27370
 
            s//\1/
27371
 
            q
27372
 
          }
27373
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
27374
 
 ;;
27375
 
  
27376
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27377
 
echo "$as_me: executing $ac_file commands" >&6;}
27378
 
 ;;
27379
 
  esac
27380
 
 
27381
 
 
27382
 
  case $ac_file$ac_mode in
27383
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27384
 
  # Strip MF so we end up with the name of the file.
27385
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
27386
 
  # Check whether this is an Automake generated Makefile or not.
27387
 
  # We used to match only the files named `Makefile.in', but
27388
 
  # some people rename them; so instead we look at the file content.
27389
 
  # Grep'ing the first line is not enough: some people post-process
27390
 
  # each Makefile.in and add a new line on top of each file to say so.
27391
 
  # Grep'ing the whole file is not good either: AIX grep has a line
27392
 
  # limit of 2048, but all sed's we know have understand at least 4000.
27393
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
27394
 
    dirpart=`$as_dirname -- "$mf" ||
27395
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27396
 
         X"$mf" : 'X\(//\)[^/]' \| \
27397
 
         X"$mf" : 'X\(//\)$' \| \
27398
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27399
 
echo X"$mf" |
27400
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27401
 
            s//\1/
27402
 
            q
27403
 
          }
27404
 
          /^X\(\/\/\)[^/].*/{
27405
 
            s//\1/
27406
 
            q
27407
 
          }
27408
 
          /^X\(\/\/\)$/{
27409
 
            s//\1/
27410
 
            q
27411
 
          }
27412
 
          /^X\(\/\).*/{
27413
 
            s//\1/
27414
 
            q
27415
 
          }
27416
 
          s/.*/./; q'`
27417
 
  else
27418
 
    continue
27419
 
  fi
27420
 
  # Extract the definition of DEPDIR, am__include, and am__quote
27421
 
  # from the Makefile without running `make'.
27422
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27423
 
  test -z "$DEPDIR" && continue
27424
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
27425
 
  test -z "am__include" && continue
27426
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27427
 
  # When using ansi2knr, U may be empty or an underscore; expand it
27428
 
  U=`sed -n 's/^U = //p' < "$mf"`
27429
 
  # Find all dependency output files, they are included files with
27430
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
27431
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
27432
 
  # expansion.
27433
 
  for file in `sed -n "
27434
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27435
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27436
 
    # Make sure the directory exists.
27437
 
    test -f "$dirpart/$file" && continue
27438
 
    fdir=`$as_dirname -- "$file" ||
27439
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27440
 
         X"$file" : 'X\(//\)[^/]' \| \
27441
 
         X"$file" : 'X\(//\)$' \| \
27442
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27443
 
echo X"$file" |
27444
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27445
 
            s//\1/
27446
 
            q
27447
 
          }
27448
 
          /^X\(\/\/\)[^/].*/{
27449
 
            s//\1/
27450
 
            q
27451
 
          }
27452
 
          /^X\(\/\/\)$/{
27453
 
            s//\1/
27454
 
            q
27455
 
          }
27456
 
          /^X\(\/\).*/{
27457
 
            s//\1/
27458
 
            q
27459
 
          }
27460
 
          s/.*/./; q'`
27461
 
    { as_dir=$dirpart/$fdir
27462
 
  case $as_dir in #(
27463
 
  -*) as_dir=./$as_dir;;
27464
 
  esac
27465
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27466
 
    as_dirs=
27467
 
    while :; do
27468
 
      case $as_dir in #(
27469
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27470
 
      *) as_qdir=$as_dir;;
27471
 
      esac
27472
 
      as_dirs="'$as_qdir' $as_dirs"
27473
 
      as_dir=`$as_dirname -- "$as_dir" ||
27474
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27475
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
27476
 
         X"$as_dir" : 'X\(//\)$' \| \
27477
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27478
 
echo X"$as_dir" |
27479
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27480
 
            s//\1/
27481
 
            q
27482
 
          }
27483
 
          /^X\(\/\/\)[^/].*/{
27484
 
            s//\1/
27485
 
            q
27486
 
          }
27487
 
          /^X\(\/\/\)$/{
27488
 
            s//\1/
27489
 
            q
27490
 
          }
27491
 
          /^X\(\/\).*/{
27492
 
            s//\1/
27493
 
            q
27494
 
          }
27495
 
          s/.*/./; q'`
27496
 
      test -d "$as_dir" && break
27497
 
    done
27498
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27499
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27500
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27501
 
   { (exit 1); exit 1; }; }; }
27502
 
    # echo "creating $dirpart/$file"
27503
 
    echo '# dummy' > "$dirpart/$file"
27504
 
  done
27505
 
done
27506
 
 ;;
27507
 
 
27508
 
  esac
27509
 
done # for ac_tag
27510
 
 
27511
 
 
27512
 
{ (exit 0); exit 0; }
27513
 
_ACEOF
27514
 
chmod +x $CONFIG_STATUS
27515
 
ac_clean_files=$ac_clean_files_save
27516
 
 
27517
 
 
27518
 
# configure is writing to config.log, and then calls config.status.
27519
 
# config.status does its own redirection, appending to config.log.
27520
 
# Unfortunately, on DOS this fails, as config.log is still kept open
27521
 
# by configure, so config.status won't be able to write to it; its
27522
 
# output is simply discarded.  So we exec the FD to /dev/null,
27523
 
# effectively closing config.log, so it can be properly (re)opened and
27524
 
# appended to by config.status.  When coming back to configure, we
27525
 
# need to make the FD available again.
27526
 
if test "$no_create" != yes; then
27527
 
  ac_cs_success=:
27528
 
  ac_config_status_args=
27529
 
  test "$silent" = yes &&
27530
 
    ac_config_status_args="$ac_config_status_args --quiet"
27531
 
  exec 5>/dev/null
27532
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27533
 
  exec 5>>config.log
27534
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27535
 
  # would make configure fail if this is the last instruction.
27536
 
  $ac_cs_success || { (exit 1); exit 1; }
27537
 
fi
27538
 
 
27539
 
 
27540
 
echo
27541
 
echo
27542
 
echo "*************************************************"
27543
 
echo "* Code::Blocks source tree has been configured. *"
27544
 
echo "*************************************************"
27545
 
echo
27546
 
echo "You can now build Code::Blocks by issuing 'make'".
27547
 
echo "When the build is complete, become root and install"
27548
 
echo "it by issuing 'make install'".
27549
 
echo