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

« back to all changes in this revision

Viewing changes to autom4te.cache/output.0

  • 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
 
## CAVEAT EMPTOR:
8433
 
## There is no encapsulation within the following macros, do not change
8434
 
## the running order or otherwise move them around unless you know exactly
8435
 
## what you are doing...
8436
 
 
8437
 
lt_prog_compiler_no_builtin_flag=
8438
 
 
8439
 
if test "$GCC" = yes; then
8440
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8441
 
 
8442
 
  
8443
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8444
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8445
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8446
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8447
 
else
8448
 
  lt_cv_prog_compiler_rtti_exceptions=no
8449
 
  ac_outfile=conftest.$ac_objext
8450
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8451
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8452
 
   # Insert the option either (1) after the last *FLAGS variable, or
8453
 
   # (2) before a word containing "conftest.", or (3) at the end.
8454
 
   # Note that $ac_compile itself does not contain backslashes and begins
8455
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8456
 
   # The option is referenced via a variable to avoid confusing sed.
8457
 
   lt_compile=`echo "$ac_compile" | $SED \
8458
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8459
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8460
 
   -e 's:$: $lt_compiler_flag:'`
8461
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8462
 
   (eval "$lt_compile" 2>conftest.err)
8463
 
   ac_status=$?
8464
 
   cat conftest.err >&5
8465
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
8466
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8467
 
     # The compiler can only warn and ignore the option if not recognized
8468
 
     # So say no if there are warnings other than the usual output.
8469
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8470
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8471
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8472
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8473
 
     fi
8474
 
   fi
8475
 
   $rm conftest*
8476
 
 
8477
 
fi
8478
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8479
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8480
 
 
8481
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8482
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8483
 
else
8484
 
    :
8485
 
fi
8486
 
 
8487
 
fi
8488
 
 
8489
 
lt_prog_compiler_wl=
8490
 
lt_prog_compiler_pic=
8491
 
lt_prog_compiler_static=
8492
 
 
8493
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8494
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8495
 
 
8496
 
  if test "$GCC" = yes; then
8497
 
    lt_prog_compiler_wl='-Wl,'
8498
 
    lt_prog_compiler_static='-static'
8499
 
 
8500
 
    case $host_os in
8501
 
      aix*)
8502
 
      # All AIX code is PIC.
8503
 
      if test "$host_cpu" = ia64; then
8504
 
        # AIX 5 now supports IA64 processor
8505
 
        lt_prog_compiler_static='-Bstatic'
8506
 
      fi
8507
 
      ;;
8508
 
 
8509
 
    amigaos*)
8510
 
      # FIXME: we need at least 68020 code to build shared libraries, but
8511
 
      # adding the `-m68020' flag to GCC prevents building anything better,
8512
 
      # like `-m68040'.
8513
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8514
 
      ;;
8515
 
 
8516
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8517
 
      # PIC is the default for these OSes.
8518
 
      ;;
8519
 
 
8520
 
    mingw* | cygwin* | pw32* | os2*)
8521
 
      # This hack is so that the source file can tell whether it is being
8522
 
      # built for inclusion in a dll (and should export symbols for example).
8523
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8524
 
      # (--disable-auto-import) libraries
8525
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8526
 
      ;;
8527
 
 
8528
 
    darwin* | rhapsody*)
8529
 
      # PIC is the default on this platform
8530
 
      # Common symbols not allowed in MH_DYLIB files
8531
 
      lt_prog_compiler_pic='-fno-common'
8532
 
      ;;
8533
 
 
8534
 
    interix[3-9]*)
8535
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8536
 
      # Instead, we relocate shared libraries at runtime.
8537
 
      ;;
8538
 
 
8539
 
    msdosdjgpp*)
8540
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8541
 
      # on systems that don't support them.
8542
 
      lt_prog_compiler_can_build_shared=no
8543
 
      enable_shared=no
8544
 
      ;;
8545
 
 
8546
 
    sysv4*MP*)
8547
 
      if test -d /usr/nec; then
8548
 
        lt_prog_compiler_pic=-Kconform_pic
8549
 
      fi
8550
 
      ;;
8551
 
 
8552
 
    hpux*)
8553
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8554
 
      # not for PA HP-UX.
8555
 
      case $host_cpu in
8556
 
      hppa*64*|ia64*)
8557
 
        # +Z the default
8558
 
        ;;
8559
 
      *)
8560
 
        lt_prog_compiler_pic='-fPIC'
8561
 
        ;;
8562
 
      esac
8563
 
      ;;
8564
 
 
8565
 
    *)
8566
 
      lt_prog_compiler_pic='-fPIC'
8567
 
      ;;
8568
 
    esac
8569
 
  else
8570
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8571
 
    case $host_os in
8572
 
    aix*)
8573
 
      lt_prog_compiler_wl='-Wl,'
8574
 
      if test "$host_cpu" = ia64; then
8575
 
        # AIX 5 now supports IA64 processor
8576
 
        lt_prog_compiler_static='-Bstatic'
8577
 
      else
8578
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8579
 
      fi
8580
 
      ;;
8581
 
      darwin*)
8582
 
        # PIC is the default on this platform
8583
 
        # Common symbols not allowed in MH_DYLIB files
8584
 
       case $cc_basename in
8585
 
         xlc*)
8586
 
         lt_prog_compiler_pic='-qnocommon'
8587
 
         lt_prog_compiler_wl='-Wl,'
8588
 
         ;;
8589
 
       esac
8590
 
       ;;
8591
 
 
8592
 
    mingw* | cygwin* | pw32* | os2*)
8593
 
      # This hack is so that the source file can tell whether it is being
8594
 
      # built for inclusion in a dll (and should export symbols for example).
8595
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8596
 
      ;;
8597
 
 
8598
 
    hpux9* | hpux10* | hpux11*)
8599
 
      lt_prog_compiler_wl='-Wl,'
8600
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8601
 
      # not for PA HP-UX.
8602
 
      case $host_cpu in
8603
 
      hppa*64*|ia64*)
8604
 
        # +Z the default
8605
 
        ;;
8606
 
      *)
8607
 
        lt_prog_compiler_pic='+Z'
8608
 
        ;;
8609
 
      esac
8610
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8611
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8612
 
      ;;
8613
 
 
8614
 
    irix5* | irix6* | nonstopux*)
8615
 
      lt_prog_compiler_wl='-Wl,'
8616
 
      # PIC (with -KPIC) is the default.
8617
 
      lt_prog_compiler_static='-non_shared'
8618
 
      ;;
8619
 
 
8620
 
    newsos6)
8621
 
      lt_prog_compiler_pic='-KPIC'
8622
 
      lt_prog_compiler_static='-Bstatic'
8623
 
      ;;
8624
 
 
8625
 
    linux* | k*bsd*-gnu)
8626
 
      case $cc_basename in
8627
 
      icc* | ecc*)
8628
 
        lt_prog_compiler_wl='-Wl,'
8629
 
        lt_prog_compiler_pic='-KPIC'
8630
 
        lt_prog_compiler_static='-static'
8631
 
        ;;
8632
 
      pgcc* | pgf77* | pgf90* | pgf95*)
8633
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8634
 
        # which looks to be a dead project)
8635
 
        lt_prog_compiler_wl='-Wl,'
8636
 
        lt_prog_compiler_pic='-fpic'
8637
 
        lt_prog_compiler_static='-Bstatic'
8638
 
        ;;
8639
 
      ccc*)
8640
 
        lt_prog_compiler_wl='-Wl,'
8641
 
        # All Alpha code is PIC.
8642
 
        lt_prog_compiler_static='-non_shared'
8643
 
        ;;
8644
 
      *)
8645
 
        case `$CC -V 2>&1 | sed 5q` in
8646
 
        *Sun\ C*)
8647
 
          # Sun C 5.9
8648
 
          lt_prog_compiler_pic='-KPIC'
8649
 
          lt_prog_compiler_static='-Bstatic'
8650
 
          lt_prog_compiler_wl='-Wl,'
8651
 
          ;;
8652
 
        *Sun\ F*)
8653
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8654
 
          lt_prog_compiler_pic='-KPIC'
8655
 
          lt_prog_compiler_static='-Bstatic'
8656
 
          lt_prog_compiler_wl=''
8657
 
          ;;
8658
 
        esac
8659
 
        ;;
8660
 
      esac
8661
 
      ;;
8662
 
 
8663
 
    osf3* | osf4* | osf5*)
8664
 
      lt_prog_compiler_wl='-Wl,'
8665
 
      # All OSF/1 code is PIC.
8666
 
      lt_prog_compiler_static='-non_shared'
8667
 
      ;;
8668
 
 
8669
 
    rdos*)
8670
 
      lt_prog_compiler_static='-non_shared'
8671
 
      ;;
8672
 
 
8673
 
    solaris*)
8674
 
      lt_prog_compiler_pic='-KPIC'
8675
 
      lt_prog_compiler_static='-Bstatic'
8676
 
      case $cc_basename in
8677
 
      f77* | f90* | f95*)
8678
 
        lt_prog_compiler_wl='-Qoption ld ';;
8679
 
      *)
8680
 
        lt_prog_compiler_wl='-Wl,';;
8681
 
      esac
8682
 
      ;;
8683
 
 
8684
 
    sunos4*)
8685
 
      lt_prog_compiler_wl='-Qoption ld '
8686
 
      lt_prog_compiler_pic='-PIC'
8687
 
      lt_prog_compiler_static='-Bstatic'
8688
 
      ;;
8689
 
 
8690
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8691
 
      lt_prog_compiler_wl='-Wl,'
8692
 
      lt_prog_compiler_pic='-KPIC'
8693
 
      lt_prog_compiler_static='-Bstatic'
8694
 
      ;;
8695
 
 
8696
 
    sysv4*MP*)
8697
 
      if test -d /usr/nec ;then
8698
 
        lt_prog_compiler_pic='-Kconform_pic'
8699
 
        lt_prog_compiler_static='-Bstatic'
8700
 
      fi
8701
 
      ;;
8702
 
 
8703
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8704
 
      lt_prog_compiler_wl='-Wl,'
8705
 
      lt_prog_compiler_pic='-KPIC'
8706
 
      lt_prog_compiler_static='-Bstatic'
8707
 
      ;;
8708
 
 
8709
 
    unicos*)
8710
 
      lt_prog_compiler_wl='-Wl,'
8711
 
      lt_prog_compiler_can_build_shared=no
8712
 
      ;;
8713
 
 
8714
 
    uts4*)
8715
 
      lt_prog_compiler_pic='-pic'
8716
 
      lt_prog_compiler_static='-Bstatic'
8717
 
      ;;
8718
 
 
8719
 
    *)
8720
 
      lt_prog_compiler_can_build_shared=no
8721
 
      ;;
8722
 
    esac
8723
 
  fi
8724
 
 
8725
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8726
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8727
 
 
8728
 
#
8729
 
# Check to make sure the PIC flag actually works.
8730
 
#
8731
 
if test -n "$lt_prog_compiler_pic"; then
8732
 
  
8733
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8734
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8735
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
8736
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8737
 
else
8738
 
  lt_prog_compiler_pic_works=no
8739
 
  ac_outfile=conftest.$ac_objext
8740
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8741
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8742
 
   # Insert the option either (1) after the last *FLAGS variable, or
8743
 
   # (2) before a word containing "conftest.", or (3) at the end.
8744
 
   # Note that $ac_compile itself does not contain backslashes and begins
8745
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8746
 
   # The option is referenced via a variable to avoid confusing sed.
8747
 
   lt_compile=`echo "$ac_compile" | $SED \
8748
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8749
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8750
 
   -e 's:$: $lt_compiler_flag:'`
8751
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8752
 
   (eval "$lt_compile" 2>conftest.err)
8753
 
   ac_status=$?
8754
 
   cat conftest.err >&5
8755
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
8756
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8757
 
     # The compiler can only warn and ignore the option if not recognized
8758
 
     # So say no if there are warnings other than the usual output.
8759
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8760
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8761
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8762
 
       lt_prog_compiler_pic_works=yes
8763
 
     fi
8764
 
   fi
8765
 
   $rm conftest*
8766
 
 
8767
 
fi
8768
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8769
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8770
 
 
8771
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
8772
 
    case $lt_prog_compiler_pic in
8773
 
     "" | " "*) ;;
8774
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8775
 
     esac
8776
 
else
8777
 
    lt_prog_compiler_pic=
8778
 
     lt_prog_compiler_can_build_shared=no
8779
 
fi
8780
 
 
8781
 
fi
8782
 
case $host_os in
8783
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8784
 
  *djgpp*)
8785
 
    lt_prog_compiler_pic=
8786
 
    ;;
8787
 
  *)
8788
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8789
 
    ;;
8790
 
esac
8791
 
 
8792
 
#
8793
 
# Check to make sure the static flag actually works.
8794
 
#
8795
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8796
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8797
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8798
 
if test "${lt_prog_compiler_static_works+set}" = set; then
8799
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8800
 
else
8801
 
  lt_prog_compiler_static_works=no
8802
 
   save_LDFLAGS="$LDFLAGS"
8803
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8804
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8805
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8806
 
     # The linker can only warn and ignore the option if not recognized
8807
 
     # So say no if there are warnings
8808
 
     if test -s conftest.err; then
8809
 
       # Append any errors to the config.log.
8810
 
       cat conftest.err 1>&5
8811
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8812
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8813
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8814
 
         lt_prog_compiler_static_works=yes
8815
 
       fi
8816
 
     else
8817
 
       lt_prog_compiler_static_works=yes
8818
 
     fi
8819
 
   fi
8820
 
   $rm conftest*
8821
 
   LDFLAGS="$save_LDFLAGS"
8822
 
 
8823
 
fi
8824
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8825
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8826
 
 
8827
 
if test x"$lt_prog_compiler_static_works" = xyes; then
8828
 
    :
8829
 
else
8830
 
    lt_prog_compiler_static=
8831
 
fi
8832
 
 
8833
 
 
8834
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8835
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8836
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8837
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8838
 
else
8839
 
  lt_cv_prog_compiler_c_o=no
8840
 
   $rm -r conftest 2>/dev/null
8841
 
   mkdir conftest
8842
 
   cd conftest
8843
 
   mkdir out
8844
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8845
 
 
8846
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8847
 
   # Insert the option either (1) after the last *FLAGS variable, or
8848
 
   # (2) before a word containing "conftest.", or (3) at the end.
8849
 
   # Note that $ac_compile itself does not contain backslashes and begins
8850
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8851
 
   lt_compile=`echo "$ac_compile" | $SED \
8852
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8853
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8854
 
   -e 's:$: $lt_compiler_flag:'`
8855
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8856
 
   (eval "$lt_compile" 2>out/conftest.err)
8857
 
   ac_status=$?
8858
 
   cat out/conftest.err >&5
8859
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
8860
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8861
 
   then
8862
 
     # The compiler can only warn and ignore the option if not recognized
8863
 
     # So say no if there are warnings
8864
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8865
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8866
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8867
 
       lt_cv_prog_compiler_c_o=yes
8868
 
     fi
8869
 
   fi
8870
 
   chmod u+w . 2>&5
8871
 
   $rm conftest*
8872
 
   # SGI C++ compiler will create directory out/ii_files/ for
8873
 
   # template instantiation
8874
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8875
 
   $rm out/* && rmdir out
8876
 
   cd ..
8877
 
   rmdir conftest
8878
 
   $rm conftest*
8879
 
 
8880
 
fi
8881
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8882
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8883
 
 
8884
 
 
8885
 
hard_links="nottested"
8886
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8887
 
  # do not overwrite the value of need_locks provided by the user
8888
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8889
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8890
 
  hard_links=yes
8891
 
  $rm conftest*
8892
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8893
 
  touch conftest.a
8894
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8895
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8896
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
8897
 
echo "${ECHO_T}$hard_links" >&6; }
8898
 
  if test "$hard_links" = no; then
8899
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8900
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8901
 
    need_locks=warn
8902
 
  fi
8903
 
else
8904
 
  need_locks=no
8905
 
fi
8906
 
 
8907
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8908
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8909
 
 
8910
 
  runpath_var=
8911
 
  allow_undefined_flag=
8912
 
  enable_shared_with_static_runtimes=no
8913
 
  archive_cmds=
8914
 
  archive_expsym_cmds=
8915
 
  old_archive_From_new_cmds=
8916
 
  old_archive_from_expsyms_cmds=
8917
 
  export_dynamic_flag_spec=
8918
 
  whole_archive_flag_spec=
8919
 
  thread_safe_flag_spec=
8920
 
  hardcode_libdir_flag_spec=
8921
 
  hardcode_libdir_flag_spec_ld=
8922
 
  hardcode_libdir_separator=
8923
 
  hardcode_direct=no
8924
 
  hardcode_minus_L=no
8925
 
  hardcode_shlibpath_var=unsupported
8926
 
  link_all_deplibs=unknown
8927
 
  hardcode_automatic=no
8928
 
  module_cmds=
8929
 
  module_expsym_cmds=
8930
 
  always_export_symbols=no
8931
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8932
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8933
 
  # included in the symbol list
8934
 
  include_expsyms=
8935
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8936
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8937
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8938
 
  # as well as any symbol that contains `d'.
8939
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8940
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8941
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8942
 
  # the symbol is explicitly referenced.  Since portable code cannot
8943
 
  # rely on this symbol name, it's probably fine to never include it in
8944
 
  # preloaded symbol tables.
8945
 
  extract_expsyms_cmds=
8946
 
  # Just being paranoid about ensuring that cc_basename is set.
8947
 
  for cc_temp in $compiler""; do
8948
 
  case $cc_temp in
8949
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8950
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8951
 
    \-*) ;;
8952
 
    *) break;;
8953
 
  esac
8954
 
done
8955
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8956
 
 
8957
 
  case $host_os in
8958
 
  cygwin* | mingw* | pw32*)
8959
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8960
 
    # When not using gcc, we currently assume that we are using
8961
 
    # Microsoft Visual C++.
8962
 
    if test "$GCC" != yes; then
8963
 
      with_gnu_ld=no
8964
 
    fi
8965
 
    ;;
8966
 
  interix*)
8967
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8968
 
    with_gnu_ld=yes
8969
 
    ;;
8970
 
  openbsd*)
8971
 
    with_gnu_ld=no
8972
 
    ;;
8973
 
  esac
8974
 
 
8975
 
  ld_shlibs=yes
8976
 
  if test "$with_gnu_ld" = yes; then
8977
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8978
 
    wlarc='${wl}'
8979
 
 
8980
 
    # Set some defaults for GNU ld with shared library support. These
8981
 
    # are reset later if shared libraries are not supported. Putting them
8982
 
    # here allows them to be overridden if necessary.
8983
 
    runpath_var=LD_RUN_PATH
8984
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8985
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8986
 
    # ancient GNU ld didn't support --whole-archive et. al.
8987
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8988
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8989
 
      else
8990
 
        whole_archive_flag_spec=
8991
 
    fi
8992
 
    supports_anon_versioning=no
8993
 
    case `$LD -v 2>/dev/null` in
8994
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8995
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8996
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8997
 
      *\ 2.11.*) ;; # other 2.11 versions
8998
 
      *) supports_anon_versioning=yes ;;
8999
 
    esac
9000
 
 
9001
 
    # See if GNU ld supports shared libraries.
9002
 
    case $host_os in
9003
 
    aix3* | aix4* | aix5*)
9004
 
      # On AIX/PPC, the GNU linker is very broken
9005
 
      if test "$host_cpu" != ia64; then
9006
 
        ld_shlibs=no
9007
 
        cat <<EOF 1>&2
9008
 
 
9009
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9010
 
*** to be unable to reliably create shared libraries on AIX.
9011
 
*** Therefore, libtool is disabling shared libraries support.  If you
9012
 
*** really care for shared libraries, you may want to modify your PATH
9013
 
*** so that a non-GNU linker is found, and then restart.
9014
 
 
9015
 
EOF
9016
 
      fi
9017
 
      ;;
9018
 
 
9019
 
    amigaos*)
9020
 
      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)'
9021
 
      hardcode_libdir_flag_spec='-L$libdir'
9022
 
      hardcode_minus_L=yes
9023
 
 
9024
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9025
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
9026
 
      # to version 4, is to share data among multiple programs linked
9027
 
      # with the same dynamic library.  Since this doesn't match the
9028
 
      # behavior of shared libraries on other platforms, we can't use
9029
 
      # them.
9030
 
      ld_shlibs=no
9031
 
      ;;
9032
 
 
9033
 
    beos*)
9034
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9035
 
        allow_undefined_flag=unsupported
9036
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9037
 
        # support --undefined.  This deserves some investigation.  FIXME
9038
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9039
 
      else
9040
 
        ld_shlibs=no
9041
 
      fi
9042
 
      ;;
9043
 
 
9044
 
    cygwin* | mingw* | pw32*)
9045
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9046
 
      # as there is no search path for DLLs.
9047
 
      hardcode_libdir_flag_spec='-L$libdir'
9048
 
      allow_undefined_flag=unsupported
9049
 
      always_export_symbols=no
9050
 
      enable_shared_with_static_runtimes=yes
9051
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9052
 
 
9053
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9054
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9055
 
        # If the export-symbols file already is a .def file (1st line
9056
 
        # is EXPORTS), use it as is; otherwise, prepend...
9057
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9058
 
          cp $export_symbols $output_objdir/$soname.def;
9059
 
        else
9060
 
          echo EXPORTS > $output_objdir/$soname.def;
9061
 
          cat $export_symbols >> $output_objdir/$soname.def;
9062
 
        fi~
9063
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9064
 
      else
9065
 
        ld_shlibs=no
9066
 
      fi
9067
 
      ;;
9068
 
 
9069
 
    interix[3-9]*)
9070
 
      hardcode_direct=no
9071
 
      hardcode_shlibpath_var=no
9072
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9073
 
      export_dynamic_flag_spec='${wl}-E'
9074
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9075
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9076
 
      # default) and relocated if they conflict, which is a slow very memory
9077
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9078
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9079
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9080
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9081
 
      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'
9082
 
      ;;
9083
 
 
9084
 
    gnu* | linux* | k*bsd*-gnu)
9085
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9086
 
        tmp_addflag=
9087
 
        case $cc_basename,$host_cpu in
9088
 
        pgcc*)                          # Portland Group C compiler
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'
9091
 
          ;;
9092
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9093
 
          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'
9094
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9095
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
9096
 
          tmp_addflag=' -i_dynamic' ;;
9097
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9098
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9099
 
        ifc* | ifort*)                  # Intel Fortran compiler
9100
 
          tmp_addflag=' -nofor_main' ;;
9101
 
        esac
9102
 
        case `$CC -V 2>&1 | sed 5q` in
9103
 
        *Sun\ C*)                       # Sun C 5.9
9104
 
          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'
9105
 
          tmp_sharedflag='-G' ;;
9106
 
        *Sun\ F*)                       # Sun Fortran 8.3
9107
 
          tmp_sharedflag='-G' ;;
9108
 
        *)
9109
 
          tmp_sharedflag='-shared' ;;
9110
 
        esac
9111
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9112
 
 
9113
 
        if test $supports_anon_versioning = yes; then
9114
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9115
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9116
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9117
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9118
 
        fi
9119
 
        link_all_deplibs=no
9120
 
      else
9121
 
        ld_shlibs=no
9122
 
      fi
9123
 
      ;;
9124
 
 
9125
 
    netbsd* | netbsdelf*-gnu)
9126
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9127
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9128
 
        wlarc=
9129
 
      else
9130
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9131
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9132
 
      fi
9133
 
      ;;
9134
 
 
9135
 
    solaris*)
9136
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
9137
 
        ld_shlibs=no
9138
 
        cat <<EOF 1>&2
9139
 
 
9140
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9141
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9142
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9143
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9144
 
*** your PATH or compiler configuration so that the native linker is
9145
 
*** used, and then restart.
9146
 
 
9147
 
EOF
9148
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9149
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9150
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9151
 
      else
9152
 
        ld_shlibs=no
9153
 
      fi
9154
 
      ;;
9155
 
 
9156
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9157
 
      case `$LD -v 2>&1` in
9158
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9159
 
        ld_shlibs=no
9160
 
        cat <<_LT_EOF 1>&2
9161
 
 
9162
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9163
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9164
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9165
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9166
 
*** your PATH or compiler configuration so that the native linker is
9167
 
*** used, and then restart.
9168
 
 
9169
 
_LT_EOF
9170
 
        ;;
9171
 
        *)
9172
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9173
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9174
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9175
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9176
 
          else
9177
 
            ld_shlibs=no
9178
 
          fi
9179
 
        ;;
9180
 
      esac
9181
 
      ;;
9182
 
 
9183
 
    sunos4*)
9184
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9185
 
      wlarc=
9186
 
      hardcode_direct=yes
9187
 
      hardcode_shlibpath_var=no
9188
 
      ;;
9189
 
 
9190
 
    *)
9191
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9192
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9193
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9194
 
      else
9195
 
        ld_shlibs=no
9196
 
      fi
9197
 
      ;;
9198
 
    esac
9199
 
 
9200
 
    if test "$ld_shlibs" = no; then
9201
 
      runpath_var=
9202
 
      hardcode_libdir_flag_spec=
9203
 
      export_dynamic_flag_spec=
9204
 
      whole_archive_flag_spec=
9205
 
    fi
9206
 
  else
9207
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9208
 
    case $host_os in
9209
 
    aix3*)
9210
 
      allow_undefined_flag=unsupported
9211
 
      always_export_symbols=yes
9212
 
      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'
9213
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9214
 
      # are no directories specified by -L.
9215
 
      hardcode_minus_L=yes
9216
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9217
 
        # Neither direct hardcoding nor static linking is supported with a
9218
 
        # broken collect2.
9219
 
        hardcode_direct=unsupported
9220
 
      fi
9221
 
      ;;
9222
 
 
9223
 
    aix4* | aix5*)
9224
 
      if test "$host_cpu" = ia64; then
9225
 
        # On IA64, the linker does run time linking by default, so we don't
9226
 
        # have to do anything special.
9227
 
        aix_use_runtimelinking=no
9228
 
        exp_sym_flag='-Bexport'
9229
 
        no_entry_flag=""
9230
 
      else
9231
 
        # If we're using GNU nm, then we don't want the "-C" option.
9232
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9233
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9234
 
          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'
9235
 
        else
9236
 
          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'
9237
 
        fi
9238
 
        aix_use_runtimelinking=no
9239
 
 
9240
 
        # Test if we are trying to use run time linking or normal
9241
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9242
 
        # need to do runtime linking.
9243
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9244
 
          for ld_flag in $LDFLAGS; do
9245
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9246
 
            aix_use_runtimelinking=yes
9247
 
            break
9248
 
          fi
9249
 
          done
9250
 
          ;;
9251
 
        esac
9252
 
 
9253
 
        exp_sym_flag='-bexport'
9254
 
        no_entry_flag='-bnoentry'
9255
 
      fi
9256
 
 
9257
 
      # When large executables or shared objects are built, AIX ld can
9258
 
      # have problems creating the table of contents.  If linking a library
9259
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9260
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9261
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9262
 
 
9263
 
      archive_cmds=''
9264
 
      hardcode_direct=yes
9265
 
      hardcode_libdir_separator=':'
9266
 
      link_all_deplibs=yes
9267
 
 
9268
 
      if test "$GCC" = yes; then
9269
 
        case $host_os in aix4.[012]|aix4.[012].*)
9270
 
        # We only want to do this on AIX 4.2 and lower, the check
9271
 
        # below for broken collect2 doesn't work under 4.3+
9272
 
          collect2name=`${CC} -print-prog-name=collect2`
9273
 
          if test -f "$collect2name" && \
9274
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9275
 
          then
9276
 
          # We have reworked collect2
9277
 
          :
9278
 
          else
9279
 
          # We have old collect2
9280
 
          hardcode_direct=unsupported
9281
 
          # It fails to find uninstalled libraries when the uninstalled
9282
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9283
 
          # to unsupported forces relinking
9284
 
          hardcode_minus_L=yes
9285
 
          hardcode_libdir_flag_spec='-L$libdir'
9286
 
          hardcode_libdir_separator=
9287
 
          fi
9288
 
          ;;
9289
 
        esac
9290
 
        shared_flag='-shared'
9291
 
        if test "$aix_use_runtimelinking" = yes; then
9292
 
          shared_flag="$shared_flag "'${wl}-G'
9293
 
        fi
9294
 
      else
9295
 
        # not using gcc
9296
 
        if test "$host_cpu" = ia64; then
9297
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9298
 
        # chokes on -Wl,-G. The following line is correct:
9299
 
          shared_flag='-G'
9300
 
        else
9301
 
          if test "$aix_use_runtimelinking" = yes; then
9302
 
            shared_flag='${wl}-G'
9303
 
          else
9304
 
            shared_flag='${wl}-bM:SRE'
9305
 
          fi
9306
 
        fi
9307
 
      fi
9308
 
 
9309
 
      # It seems that -bexpall does not export symbols beginning with
9310
 
      # underscore (_), so it is better to generate a list of symbols to export.
9311
 
      always_export_symbols=yes
9312
 
      if test "$aix_use_runtimelinking" = yes; then
9313
 
        # Warning - without using the other runtime loading flags (-brtl),
9314
 
        # -berok will link without error, but may produce a broken library.
9315
 
        allow_undefined_flag='-berok'
9316
 
       # Determine the default libpath from the value encoded in an empty executable.
9317
 
       cat >conftest.$ac_ext <<_ACEOF
9318
 
/* confdefs.h.  */
9319
 
_ACEOF
9320
 
cat confdefs.h >>conftest.$ac_ext
9321
 
cat >>conftest.$ac_ext <<_ACEOF
9322
 
/* end confdefs.h.  */
9323
 
 
9324
 
int
9325
 
main ()
9326
 
{
9327
 
 
9328
 
  ;
9329
 
  return 0;
9330
 
}
9331
 
_ACEOF
9332
 
rm -f conftest.$ac_objext conftest$ac_exeext
9333
 
if { (ac_try="$ac_link"
9334
 
case "(($ac_try" in
9335
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9336
 
  *) ac_try_echo=$ac_try;;
9337
 
esac
9338
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9339
 
  (eval "$ac_link") 2>conftest.er1
9340
 
  ac_status=$?
9341
 
  grep -v '^ *+' conftest.er1 >conftest.err
9342
 
  rm -f conftest.er1
9343
 
  cat conftest.err >&5
9344
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345
 
  (exit $ac_status); } && {
9346
 
         test -z "$ac_c_werror_flag" ||
9347
 
         test ! -s conftest.err
9348
 
       } && test -s conftest$ac_exeext &&
9349
 
       $as_test_x conftest$ac_exeext; then
9350
 
  
9351
 
lt_aix_libpath_sed='
9352
 
    /Import File Strings/,/^$/ {
9353
 
        /^0/ {
9354
 
            s/^0  *\(.*\)$/\1/
9355
 
            p
9356
 
        }
9357
 
    }'
9358
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9359
 
# Check for a 64-bit object if we didn't find anything.
9360
 
if test -z "$aix_libpath"; then
9361
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9362
 
fi
9363
 
else
9364
 
  echo "$as_me: failed program was:" >&5
9365
 
sed 's/^/| /' conftest.$ac_ext >&5
9366
 
 
9367
 
        
9368
 
fi
9369
 
 
9370
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9371
 
      conftest$ac_exeext conftest.$ac_ext
9372
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9373
 
 
9374
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9375
 
        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"
9376
 
       else
9377
 
        if test "$host_cpu" = ia64; then
9378
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9379
 
          allow_undefined_flag="-z nodefs"
9380
 
          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"
9381
 
        else
9382
 
         # Determine the default libpath from the value encoded in an empty executable.
9383
 
         cat >conftest.$ac_ext <<_ACEOF
9384
 
/* confdefs.h.  */
9385
 
_ACEOF
9386
 
cat confdefs.h >>conftest.$ac_ext
9387
 
cat >>conftest.$ac_ext <<_ACEOF
9388
 
/* end confdefs.h.  */
9389
 
 
9390
 
int
9391
 
main ()
9392
 
{
9393
 
 
9394
 
  ;
9395
 
  return 0;
9396
 
}
9397
 
_ACEOF
9398
 
rm -f conftest.$ac_objext conftest$ac_exeext
9399
 
if { (ac_try="$ac_link"
9400
 
case "(($ac_try" in
9401
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9402
 
  *) ac_try_echo=$ac_try;;
9403
 
esac
9404
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9405
 
  (eval "$ac_link") 2>conftest.er1
9406
 
  ac_status=$?
9407
 
  grep -v '^ *+' conftest.er1 >conftest.err
9408
 
  rm -f conftest.er1
9409
 
  cat conftest.err >&5
9410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411
 
  (exit $ac_status); } && {
9412
 
         test -z "$ac_c_werror_flag" ||
9413
 
         test ! -s conftest.err
9414
 
       } && test -s conftest$ac_exeext &&
9415
 
       $as_test_x conftest$ac_exeext; then
9416
 
  
9417
 
lt_aix_libpath_sed='
9418
 
    /Import File Strings/,/^$/ {
9419
 
        /^0/ {
9420
 
            s/^0  *\(.*\)$/\1/
9421
 
            p
9422
 
        }
9423
 
    }'
9424
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9425
 
# Check for a 64-bit object if we didn't find anything.
9426
 
if test -z "$aix_libpath"; then
9427
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9428
 
fi
9429
 
else
9430
 
  echo "$as_me: failed program was:" >&5
9431
 
sed 's/^/| /' conftest.$ac_ext >&5
9432
 
 
9433
 
        
9434
 
fi
9435
 
 
9436
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9437
 
      conftest$ac_exeext conftest.$ac_ext
9438
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9439
 
 
9440
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9441
 
          # Warning - without using the other run time loading flags,
9442
 
          # -berok will link without error, but may produce a broken library.
9443
 
          no_undefined_flag=' ${wl}-bernotok'
9444
 
          allow_undefined_flag=' ${wl}-berok'
9445
 
          # Exported symbols can be pulled into shared objects from archives
9446
 
          whole_archive_flag_spec='$convenience'
9447
 
          archive_cmds_need_lc=yes
9448
 
          # This is similar to how AIX traditionally builds its shared libraries.
9449
 
          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'
9450
 
        fi
9451
 
      fi
9452
 
      ;;
9453
 
 
9454
 
    amigaos*)
9455
 
      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)'
9456
 
      hardcode_libdir_flag_spec='-L$libdir'
9457
 
      hardcode_minus_L=yes
9458
 
      # see comment about different semantics on the GNU ld section
9459
 
      ld_shlibs=no
9460
 
      ;;
9461
 
 
9462
 
    bsdi[45]*)
9463
 
      export_dynamic_flag_spec=-rdynamic
9464
 
      ;;
9465
 
 
9466
 
    cygwin* | mingw* | pw32*)
9467
 
      # When not using gcc, we currently assume that we are using
9468
 
      # Microsoft Visual C++.
9469
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9470
 
      # no search path for DLLs.
9471
 
      hardcode_libdir_flag_spec=' '
9472
 
      allow_undefined_flag=unsupported
9473
 
      # Tell ltmain to make .lib files, not .a files.
9474
 
      libext=lib
9475
 
      # Tell ltmain to make .dll files, not .so files.
9476
 
      shrext_cmds=".dll"
9477
 
      # FIXME: Setting linknames here is a bad hack.
9478
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9479
 
      # The linker will automatically build a .lib file if we build a DLL.
9480
 
      old_archive_From_new_cmds='true'
9481
 
      # FIXME: Should let the user specify the lib program.
9482
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9483
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9484
 
      enable_shared_with_static_runtimes=yes
9485
 
      ;;
9486
 
 
9487
 
    darwin* | rhapsody*)
9488
 
      case $host_os in
9489
 
        rhapsody* | darwin1.[012])
9490
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9491
 
         ;;
9492
 
       *) # Darwin 1.3 on
9493
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9494
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9495
 
         else
9496
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
9497
 
             10.[012])
9498
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9499
 
               ;;
9500
 
             10.*)
9501
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9502
 
               ;;
9503
 
           esac
9504
 
         fi
9505
 
         ;;
9506
 
      esac
9507
 
      archive_cmds_need_lc=no
9508
 
      hardcode_direct=no
9509
 
      hardcode_automatic=yes
9510
 
      hardcode_shlibpath_var=unsupported
9511
 
      whole_archive_flag_spec=''
9512
 
      link_all_deplibs=yes
9513
 
    if test "$GCC" = yes ; then
9514
 
        output_verbose_link_cmd='echo'
9515
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9516
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9517
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9518
 
      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}'
9519
 
      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}'
9520
 
    else
9521
 
      case $cc_basename in
9522
 
        xlc*)
9523
 
         output_verbose_link_cmd='echo'
9524
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9525
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9526
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9527
 
         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}'
9528
 
          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}'
9529
 
          ;;
9530
 
       *)
9531
 
         ld_shlibs=no
9532
 
          ;;
9533
 
      esac
9534
 
    fi
9535
 
      ;;
9536
 
 
9537
 
    dgux*)
9538
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9539
 
      hardcode_libdir_flag_spec='-L$libdir'
9540
 
      hardcode_shlibpath_var=no
9541
 
      ;;
9542
 
 
9543
 
    freebsd1*)
9544
 
      ld_shlibs=no
9545
 
      ;;
9546
 
 
9547
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9548
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9549
 
    # does not break anything, and helps significantly (at the cost of a little
9550
 
    # extra space).
9551
 
    freebsd2.2*)
9552
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9553
 
      hardcode_libdir_flag_spec='-R$libdir'
9554
 
      hardcode_direct=yes
9555
 
      hardcode_shlibpath_var=no
9556
 
      ;;
9557
 
 
9558
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9559
 
    freebsd2*)
9560
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9561
 
      hardcode_direct=yes
9562
 
      hardcode_minus_L=yes
9563
 
      hardcode_shlibpath_var=no
9564
 
      ;;
9565
 
 
9566
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9567
 
    freebsd* | dragonfly*)
9568
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9569
 
      hardcode_libdir_flag_spec='-R$libdir'
9570
 
      hardcode_direct=yes
9571
 
      hardcode_shlibpath_var=no
9572
 
      ;;
9573
 
 
9574
 
    hpux9*)
9575
 
      if test "$GCC" = yes; then
9576
 
        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'
9577
 
      else
9578
 
        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'
9579
 
      fi
9580
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9581
 
      hardcode_libdir_separator=:
9582
 
      hardcode_direct=yes
9583
 
 
9584
 
      # hardcode_minus_L: Not really in the search PATH,
9585
 
      # but as the default location of the library.
9586
 
      hardcode_minus_L=yes
9587
 
      export_dynamic_flag_spec='${wl}-E'
9588
 
      ;;
9589
 
 
9590
 
    hpux10*)
9591
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9592
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9593
 
      else
9594
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9595
 
      fi
9596
 
      if test "$with_gnu_ld" = no; then
9597
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9598
 
        hardcode_libdir_separator=:
9599
 
 
9600
 
        hardcode_direct=yes
9601
 
        export_dynamic_flag_spec='${wl}-E'
9602
 
 
9603
 
        # hardcode_minus_L: Not really in the search PATH,
9604
 
        # but as the default location of the library.
9605
 
        hardcode_minus_L=yes
9606
 
      fi
9607
 
      ;;
9608
 
 
9609
 
    hpux11*)
9610
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9611
 
        case $host_cpu in
9612
 
        hppa*64*)
9613
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9614
 
          ;;
9615
 
        ia64*)
9616
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9617
 
          ;;
9618
 
        *)
9619
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9620
 
          ;;
9621
 
        esac
9622
 
      else
9623
 
        case $host_cpu in
9624
 
        hppa*64*)
9625
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9626
 
          ;;
9627
 
        ia64*)
9628
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9629
 
          ;;
9630
 
        *)
9631
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9632
 
          ;;
9633
 
        esac
9634
 
      fi
9635
 
      if test "$with_gnu_ld" = no; then
9636
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9637
 
        hardcode_libdir_separator=:
9638
 
 
9639
 
        case $host_cpu in
9640
 
        hppa*64*|ia64*)
9641
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
9642
 
          hardcode_direct=no
9643
 
          hardcode_shlibpath_var=no
9644
 
          ;;
9645
 
        *)
9646
 
          hardcode_direct=yes
9647
 
          export_dynamic_flag_spec='${wl}-E'
9648
 
 
9649
 
          # hardcode_minus_L: Not really in the search PATH,
9650
 
          # but as the default location of the library.
9651
 
          hardcode_minus_L=yes
9652
 
          ;;
9653
 
        esac
9654
 
      fi
9655
 
      ;;
9656
 
 
9657
 
    irix5* | irix6* | nonstopux*)
9658
 
      if test "$GCC" = yes; then
9659
 
        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'
9660
 
      else
9661
 
        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'
9662
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
9663
 
      fi
9664
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9665
 
      hardcode_libdir_separator=:
9666
 
      link_all_deplibs=yes
9667
 
      ;;
9668
 
 
9669
 
    netbsd* | netbsdelf*-gnu)
9670
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9671
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9672
 
      else
9673
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9674
 
      fi
9675
 
      hardcode_libdir_flag_spec='-R$libdir'
9676
 
      hardcode_direct=yes
9677
 
      hardcode_shlibpath_var=no
9678
 
      ;;
9679
 
 
9680
 
    newsos6)
9681
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9682
 
      hardcode_direct=yes
9683
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9684
 
      hardcode_libdir_separator=:
9685
 
      hardcode_shlibpath_var=no
9686
 
      ;;
9687
 
 
9688
 
    openbsd*)
9689
 
      if test -f /usr/libexec/ld.so; then
9690
 
        hardcode_direct=yes
9691
 
        hardcode_shlibpath_var=no
9692
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9693
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9694
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9695
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9696
 
          export_dynamic_flag_spec='${wl}-E'
9697
 
        else
9698
 
          case $host_os in
9699
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9700
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9701
 
             hardcode_libdir_flag_spec='-R$libdir'
9702
 
             ;;
9703
 
           *)
9704
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9705
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9706
 
             ;;
9707
 
          esac
9708
 
        fi
9709
 
      else
9710
 
        ld_shlibs=no
9711
 
      fi
9712
 
      ;;
9713
 
 
9714
 
    os2*)
9715
 
      hardcode_libdir_flag_spec='-L$libdir'
9716
 
      hardcode_minus_L=yes
9717
 
      allow_undefined_flag=unsupported
9718
 
      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'
9719
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9720
 
      ;;
9721
 
 
9722
 
    osf3*)
9723
 
      if test "$GCC" = yes; then
9724
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9725
 
        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'
9726
 
      else
9727
 
        allow_undefined_flag=' -expect_unresolved \*'
9728
 
        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'
9729
 
      fi
9730
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9731
 
      hardcode_libdir_separator=:
9732
 
      ;;
9733
 
 
9734
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9735
 
      if test "$GCC" = yes; then
9736
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9737
 
        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'
9738
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9739
 
      else
9740
 
        allow_undefined_flag=' -expect_unresolved \*'
9741
 
        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'
9742
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9743
 
        $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'
9744
 
 
9745
 
        # Both c and cxx compiler support -rpath directly
9746
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9747
 
      fi
9748
 
      hardcode_libdir_separator=:
9749
 
      ;;
9750
 
 
9751
 
    solaris*)
9752
 
      no_undefined_flag=' -z text'
9753
 
      if test "$GCC" = yes; then
9754
 
        wlarc='${wl}'
9755
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9756
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9757
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9758
 
      else
9759
 
        wlarc=''
9760
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9761
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9762
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9763
 
      fi
9764
 
      hardcode_libdir_flag_spec='-R$libdir'
9765
 
      hardcode_shlibpath_var=no
9766
 
      case $host_os in
9767
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9768
 
      *)
9769
 
        # The compiler driver will combine and reorder linker options,
9770
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9771
 
        # but is careful enough not to reorder.
9772
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9773
 
        if test "$GCC" = yes; then
9774
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9775
 
        else
9776
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9777
 
        fi
9778
 
        ;;
9779
 
      esac
9780
 
      link_all_deplibs=yes
9781
 
      ;;
9782
 
 
9783
 
    sunos4*)
9784
 
      if test "x$host_vendor" = xsequent; then
9785
 
        # Use $CC to link under sequent, because it throws in some extra .o
9786
 
        # files that make .init and .fini sections work.
9787
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9788
 
      else
9789
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9790
 
      fi
9791
 
      hardcode_libdir_flag_spec='-L$libdir'
9792
 
      hardcode_direct=yes
9793
 
      hardcode_minus_L=yes
9794
 
      hardcode_shlibpath_var=no
9795
 
      ;;
9796
 
 
9797
 
    sysv4)
9798
 
      case $host_vendor in
9799
 
        sni)
9800
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9801
 
          hardcode_direct=yes # is this really true???
9802
 
        ;;
9803
 
        siemens)
9804
 
          ## LD is ld it makes a PLAMLIB
9805
 
          ## CC just makes a GrossModule.
9806
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9807
 
          reload_cmds='$CC -r -o $output$reload_objs'
9808
 
          hardcode_direct=no
9809
 
        ;;
9810
 
        motorola)
9811
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9812
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9813
 
        ;;
9814
 
      esac
9815
 
      runpath_var='LD_RUN_PATH'
9816
 
      hardcode_shlibpath_var=no
9817
 
      ;;
9818
 
 
9819
 
    sysv4.3*)
9820
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9821
 
      hardcode_shlibpath_var=no
9822
 
      export_dynamic_flag_spec='-Bexport'
9823
 
      ;;
9824
 
 
9825
 
    sysv4*MP*)
9826
 
      if test -d /usr/nec; then
9827
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9828
 
        hardcode_shlibpath_var=no
9829
 
        runpath_var=LD_RUN_PATH
9830
 
        hardcode_runpath_var=yes
9831
 
        ld_shlibs=yes
9832
 
      fi
9833
 
      ;;
9834
 
 
9835
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9836
 
      no_undefined_flag='${wl}-z,text'
9837
 
      archive_cmds_need_lc=no
9838
 
      hardcode_shlibpath_var=no
9839
 
      runpath_var='LD_RUN_PATH'
9840
 
 
9841
 
      if test "$GCC" = yes; then
9842
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9844
 
      else
9845
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9846
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9847
 
      fi
9848
 
      ;;
9849
 
 
9850
 
    sysv5* | sco3.2v5* | sco5v6*)
9851
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9852
 
      # link with -lc, and that would cause any symbols used from libc to
9853
 
      # always be unresolved, which means just about no library would
9854
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9855
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9856
 
      # as -z defs.
9857
 
      no_undefined_flag='${wl}-z,text'
9858
 
      allow_undefined_flag='${wl}-z,nodefs'
9859
 
      archive_cmds_need_lc=no
9860
 
      hardcode_shlibpath_var=no
9861
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9862
 
      hardcode_libdir_separator=':'
9863
 
      link_all_deplibs=yes
9864
 
      export_dynamic_flag_spec='${wl}-Bexport'
9865
 
      runpath_var='LD_RUN_PATH'
9866
 
 
9867
 
      if test "$GCC" = yes; then
9868
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9869
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9870
 
      else
9871
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9872
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9873
 
      fi
9874
 
      ;;
9875
 
 
9876
 
    uts4*)
9877
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9878
 
      hardcode_libdir_flag_spec='-L$libdir'
9879
 
      hardcode_shlibpath_var=no
9880
 
      ;;
9881
 
 
9882
 
    *)
9883
 
      ld_shlibs=no
9884
 
      ;;
9885
 
    esac
9886
 
  fi
9887
 
 
9888
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9889
 
echo "${ECHO_T}$ld_shlibs" >&6; }
9890
 
test "$ld_shlibs" = no && can_build_shared=no
9891
 
 
9892
 
#
9893
 
# Do we need to explicitly link libc?
9894
 
#
9895
 
case "x$archive_cmds_need_lc" in
9896
 
x|xyes)
9897
 
  # Assume -lc should be added
9898
 
  archive_cmds_need_lc=yes
9899
 
 
9900
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9901
 
    case $archive_cmds in
9902
 
    *'~'*)
9903
 
      # FIXME: we may have to deal with multi-command sequences.
9904
 
      ;;
9905
 
    '$CC '*)
9906
 
      # Test whether the compiler implicitly links with -lc since on some
9907
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9908
 
      # to ld, don't add -lc before -lgcc.
9909
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9910
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9911
 
      $rm conftest*
9912
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9913
 
 
9914
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9915
 
  (eval $ac_compile) 2>&5
9916
 
  ac_status=$?
9917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918
 
  (exit $ac_status); } 2>conftest.err; then
9919
 
        soname=conftest
9920
 
        lib=conftest
9921
 
        libobjs=conftest.$ac_objext
9922
 
        deplibs=
9923
 
        wl=$lt_prog_compiler_wl
9924
 
        pic_flag=$lt_prog_compiler_pic
9925
 
        compiler_flags=-v
9926
 
        linker_flags=-v
9927
 
        verstring=
9928
 
        output_objdir=.
9929
 
        libname=conftest
9930
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9931
 
        allow_undefined_flag=
9932
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9933
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9934
 
  ac_status=$?
9935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936
 
  (exit $ac_status); }
9937
 
        then
9938
 
          archive_cmds_need_lc=no
9939
 
        else
9940
 
          archive_cmds_need_lc=yes
9941
 
        fi
9942
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9943
 
      else
9944
 
        cat conftest.err 1>&5
9945
 
      fi
9946
 
      $rm conftest*
9947
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9948
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9949
 
      ;;
9950
 
    esac
9951
 
  fi
9952
 
  ;;
9953
 
esac
9954
 
 
9955
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9956
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9957
 
library_names_spec=
9958
 
libname_spec='lib$name'
9959
 
soname_spec=
9960
 
shrext_cmds=".so"
9961
 
postinstall_cmds=
9962
 
postuninstall_cmds=
9963
 
finish_cmds=
9964
 
finish_eval=
9965
 
shlibpath_var=
9966
 
shlibpath_overrides_runpath=unknown
9967
 
version_type=none
9968
 
dynamic_linker="$host_os ld.so"
9969
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9970
 
 
9971
 
if test "$GCC" = yes; then
9972
 
  case $host_os in
9973
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9974
 
    *) lt_awk_arg="/^libraries:/" ;;
9975
 
  esac
9976
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9977
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9978
 
    # if the path contains ";" then we assume it to be the separator
9979
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9980
 
    # assumed that no part of a normal pathname contains ";" but that should
9981
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9982
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9983
 
  else
9984
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9985
 
  fi
9986
 
  # Ok, now we have the path, separated by spaces, we can step through it
9987
 
  # and add multilib dir if necessary.
9988
 
  lt_tmp_lt_search_path_spec=
9989
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9990
 
  for lt_sys_path in $lt_search_path_spec; do
9991
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9992
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9993
 
    else
9994
 
      test -d "$lt_sys_path" && \
9995
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9996
 
    fi
9997
 
  done
9998
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9999
 
BEGIN {RS=" "; FS="/|\n";} {
10000
 
  lt_foo="";
10001
 
  lt_count=0;
10002
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10003
 
    if ($lt_i != "" && $lt_i != ".") {
10004
 
      if ($lt_i == "..") {
10005
 
        lt_count++;
10006
 
      } else {
10007
 
        if (lt_count == 0) {
10008
 
          lt_foo="/" $lt_i lt_foo;
10009
 
        } else {
10010
 
          lt_count--;
10011
 
        }
10012
 
      }
10013
 
    }
10014
 
  }
10015
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10016
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10017
 
}'`
10018
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
10019
 
else
10020
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10021
 
fi
10022
 
need_lib_prefix=unknown
10023
 
hardcode_into_libs=no
10024
 
 
10025
 
# when you set need_version to no, make sure it does not cause -set_version
10026
 
# flags to be left without arguments
10027
 
need_version=unknown
10028
 
 
10029
 
case $host_os in
10030
 
aix3*)
10031
 
  version_type=linux
10032
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10033
 
  shlibpath_var=LIBPATH
10034
 
 
10035
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10036
 
  soname_spec='${libname}${release}${shared_ext}$major'
10037
 
  ;;
10038
 
 
10039
 
aix4* | aix5*)
10040
 
  version_type=linux
10041
 
  need_lib_prefix=no
10042
 
  need_version=no
10043
 
  hardcode_into_libs=yes
10044
 
  if test "$host_cpu" = ia64; then
10045
 
    # AIX 5 supports IA64
10046
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10047
 
    shlibpath_var=LD_LIBRARY_PATH
10048
 
  else
10049
 
    # With GCC up to 2.95.x, collect2 would create an import file
10050
 
    # for dependence libraries.  The import file would start with
10051
 
    # the line `#! .'.  This would cause the generated library to
10052
 
    # depend on `.', always an invalid library.  This was fixed in
10053
 
    # development snapshots of GCC prior to 3.0.
10054
 
    case $host_os in
10055
 
      aix4 | aix4.[01] | aix4.[01].*)
10056
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10057
 
           echo ' yes '
10058
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10059
 
        :
10060
 
      else
10061
 
        can_build_shared=no
10062
 
      fi
10063
 
      ;;
10064
 
    esac
10065
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10066
 
    # soname into executable. Probably we can add versioning support to
10067
 
    # collect2, so additional links can be useful in future.
10068
 
    if test "$aix_use_runtimelinking" = yes; then
10069
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10070
 
      # instead of lib<name>.a to let people know that these are not
10071
 
      # typical AIX shared libraries.
10072
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10073
 
    else
10074
 
      # We preserve .a as extension for shared libraries through AIX4.2
10075
 
      # and later when we are not doing run time linking.
10076
 
      library_names_spec='${libname}${release}.a $libname.a'
10077
 
      soname_spec='${libname}${release}${shared_ext}$major'
10078
 
    fi
10079
 
    shlibpath_var=LIBPATH
10080
 
  fi
10081
 
  ;;
10082
 
 
10083
 
amigaos*)
10084
 
  library_names_spec='$libname.ixlibrary $libname.a'
10085
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
10086
 
  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'
10087
 
  ;;
10088
 
 
10089
 
beos*)
10090
 
  library_names_spec='${libname}${shared_ext}'
10091
 
  dynamic_linker="$host_os ld.so"
10092
 
  shlibpath_var=LIBRARY_PATH
10093
 
  ;;
10094
 
 
10095
 
bsdi[45]*)
10096
 
  version_type=linux
10097
 
  need_version=no
10098
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10099
 
  soname_spec='${libname}${release}${shared_ext}$major'
10100
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10101
 
  shlibpath_var=LD_LIBRARY_PATH
10102
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10103
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10104
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10105
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10106
 
  # libtool to hard-code these into programs
10107
 
  ;;
10108
 
 
10109
 
cygwin* | mingw* | pw32*)
10110
 
  version_type=windows
10111
 
  shrext_cmds=".dll"
10112
 
  need_version=no
10113
 
  need_lib_prefix=no
10114
 
 
10115
 
  case $GCC,$host_os in
10116
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
10117
 
    library_names_spec='$libname.dll.a'
10118
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10119
 
    postinstall_cmds='base_file=`basename \${file}`~
10120
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10121
 
      dldir=$destdir/`dirname \$dlpath`~
10122
 
      test -d \$dldir || mkdir -p \$dldir~
10123
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10124
 
      chmod a+x \$dldir/$dlname'
10125
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10126
 
      dlpath=$dir/\$dldll~
10127
 
       $rm \$dlpath'
10128
 
    shlibpath_overrides_runpath=yes
10129
 
 
10130
 
    case $host_os in
10131
 
    cygwin*)
10132
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10133
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10134
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10135
 
      ;;
10136
 
    mingw*)
10137
 
      # MinGW DLLs use traditional 'lib' prefix
10138
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10139
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10140
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10141
 
        # It is most probably a Windows format PATH printed by
10142
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10143
 
        # path with ; separators, and with drive letters. We can handle the
10144
 
        # drive letters (cygwin fileutils understands them), so leave them,
10145
 
        # especially as we might pass files found there to a mingw objdump,
10146
 
        # which wouldn't understand a cygwinified path. Ahh.
10147
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10148
 
      else
10149
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10150
 
      fi
10151
 
      ;;
10152
 
    pw32*)
10153
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10154
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10155
 
      ;;
10156
 
    esac
10157
 
    ;;
10158
 
 
10159
 
  *)
10160
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10161
 
    ;;
10162
 
  esac
10163
 
  dynamic_linker='Win32 ld.exe'
10164
 
  # FIXME: first we should search . and the directory the executable is in
10165
 
  shlibpath_var=PATH
10166
 
  ;;
10167
 
 
10168
 
darwin* | rhapsody*)
10169
 
  dynamic_linker="$host_os dyld"
10170
 
  version_type=darwin
10171
 
  need_lib_prefix=no
10172
 
  need_version=no
10173
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10174
 
  soname_spec='${libname}${release}${major}$shared_ext'
10175
 
  shlibpath_overrides_runpath=yes
10176
 
  shlibpath_var=DYLD_LIBRARY_PATH
10177
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10178
 
  
10179
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 
10180
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10181
 
  ;;
10182
 
 
10183
 
dgux*)
10184
 
  version_type=linux
10185
 
  need_lib_prefix=no
10186
 
  need_version=no
10187
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10188
 
  soname_spec='${libname}${release}${shared_ext}$major'
10189
 
  shlibpath_var=LD_LIBRARY_PATH
10190
 
  ;;
10191
 
 
10192
 
freebsd1*)
10193
 
  dynamic_linker=no
10194
 
  ;;
10195
 
 
10196
 
freebsd* | dragonfly*)
10197
 
  # DragonFly does not have aout.  When/if they implement a new
10198
 
  # versioning mechanism, adjust this.
10199
 
  if test -x /usr/bin/objformat; then
10200
 
    objformat=`/usr/bin/objformat`
10201
 
  else
10202
 
    case $host_os in
10203
 
    freebsd[123]*) objformat=aout ;;
10204
 
    *) objformat=elf ;;
10205
 
    esac
10206
 
  fi
10207
 
  version_type=freebsd-$objformat
10208
 
  case $version_type in
10209
 
    freebsd-elf*)
10210
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10211
 
      need_version=no
10212
 
      need_lib_prefix=no
10213
 
      ;;
10214
 
    freebsd-*)
10215
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10216
 
      need_version=yes
10217
 
      ;;
10218
 
  esac
10219
 
  shlibpath_var=LD_LIBRARY_PATH
10220
 
  case $host_os in
10221
 
  freebsd2*)
10222
 
    shlibpath_overrides_runpath=yes
10223
 
    ;;
10224
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10225
 
    shlibpath_overrides_runpath=yes
10226
 
    hardcode_into_libs=yes
10227
 
    ;;
10228
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10229
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10230
 
    shlibpath_overrides_runpath=no
10231
 
    hardcode_into_libs=yes
10232
 
    ;;
10233
 
  *) # from 4.6 on, and DragonFly
10234
 
    shlibpath_overrides_runpath=yes
10235
 
    hardcode_into_libs=yes
10236
 
    ;;
10237
 
  esac
10238
 
  ;;
10239
 
 
10240
 
gnu*)
10241
 
  version_type=linux
10242
 
  need_lib_prefix=no
10243
 
  need_version=no
10244
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10245
 
  soname_spec='${libname}${release}${shared_ext}$major'
10246
 
  shlibpath_var=LD_LIBRARY_PATH
10247
 
  hardcode_into_libs=yes
10248
 
  ;;
10249
 
 
10250
 
hpux9* | hpux10* | hpux11*)
10251
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10252
 
  # link against other versions.
10253
 
  version_type=sunos
10254
 
  need_lib_prefix=no
10255
 
  need_version=no
10256
 
  case $host_cpu in
10257
 
  ia64*)
10258
 
    shrext_cmds='.so'
10259
 
    hardcode_into_libs=yes
10260
 
    dynamic_linker="$host_os dld.so"
10261
 
    shlibpath_var=LD_LIBRARY_PATH
10262
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10263
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10264
 
    soname_spec='${libname}${release}${shared_ext}$major'
10265
 
    if test "X$HPUX_IA64_MODE" = X32; then
10266
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10267
 
    else
10268
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10269
 
    fi
10270
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10271
 
    ;;
10272
 
   hppa*64*)
10273
 
     shrext_cmds='.sl'
10274
 
     hardcode_into_libs=yes
10275
 
     dynamic_linker="$host_os dld.sl"
10276
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10277
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10278
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10279
 
     soname_spec='${libname}${release}${shared_ext}$major'
10280
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10281
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10282
 
     ;;
10283
 
   *)
10284
 
    shrext_cmds='.sl'
10285
 
    dynamic_linker="$host_os dld.sl"
10286
 
    shlibpath_var=SHLIB_PATH
10287
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10288
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10289
 
    soname_spec='${libname}${release}${shared_ext}$major'
10290
 
    ;;
10291
 
  esac
10292
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10293
 
  postinstall_cmds='chmod 555 $lib'
10294
 
  ;;
10295
 
 
10296
 
interix[3-9]*)
10297
 
  version_type=linux
10298
 
  need_lib_prefix=no
10299
 
  need_version=no
10300
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10301
 
  soname_spec='${libname}${release}${shared_ext}$major'
10302
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10303
 
  shlibpath_var=LD_LIBRARY_PATH
10304
 
  shlibpath_overrides_runpath=no
10305
 
  hardcode_into_libs=yes
10306
 
  ;;
10307
 
 
10308
 
irix5* | irix6* | nonstopux*)
10309
 
  case $host_os in
10310
 
    nonstopux*) version_type=nonstopux ;;
10311
 
    *)
10312
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10313
 
                version_type=linux
10314
 
        else
10315
 
                version_type=irix
10316
 
        fi ;;
10317
 
  esac
10318
 
  need_lib_prefix=no
10319
 
  need_version=no
10320
 
  soname_spec='${libname}${release}${shared_ext}$major'
10321
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10322
 
  case $host_os in
10323
 
  irix5* | nonstopux*)
10324
 
    libsuff= shlibsuff=
10325
 
    ;;
10326
 
  *)
10327
 
    case $LD in # libtool.m4 will add one of these switches to LD
10328
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10329
 
      libsuff= shlibsuff= libmagic=32-bit;;
10330
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10331
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10332
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10333
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10334
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10335
 
    esac
10336
 
    ;;
10337
 
  esac
10338
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10339
 
  shlibpath_overrides_runpath=no
10340
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10341
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10342
 
  hardcode_into_libs=yes
10343
 
  ;;
10344
 
 
10345
 
# No shared lib support for Linux oldld, aout, or coff.
10346
 
linux*oldld* | linux*aout* | linux*coff*)
10347
 
  dynamic_linker=no
10348
 
  ;;
10349
 
 
10350
 
# This must be Linux ELF.
10351
 
linux* | k*bsd*-gnu)
10352
 
  version_type=linux
10353
 
  need_lib_prefix=no
10354
 
  need_version=no
10355
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10356
 
  soname_spec='${libname}${release}${shared_ext}$major'
10357
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10358
 
  shlibpath_var=LD_LIBRARY_PATH
10359
 
  shlibpath_overrides_runpath=no
10360
 
  # This implies no fast_install, which is unacceptable.
10361
 
  # Some rework will be needed to allow for fast_install
10362
 
  # before this can be enabled.
10363
 
  hardcode_into_libs=yes
10364
 
 
10365
 
  # Append ld.so.conf contents to the search path
10366
 
  if test -f /etc/ld.so.conf; then
10367
 
    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' ' '`
10368
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10369
 
  fi
10370
 
 
10371
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10372
 
  # powerpc, because MkLinux only supported shared libraries with the
10373
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10374
 
  # most powerpc-linux boxes support dynamic linking these days and
10375
 
  # people can always --disable-shared, the test was removed, and we
10376
 
  # assume the GNU/Linux dynamic linker is in use.
10377
 
  dynamic_linker='GNU/Linux ld.so'
10378
 
  ;;
10379
 
 
10380
 
netbsdelf*-gnu)
10381
 
  version_type=linux
10382
 
  need_lib_prefix=no
10383
 
  need_version=no
10384
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10385
 
  soname_spec='${libname}${release}${shared_ext}$major'
10386
 
  shlibpath_var=LD_LIBRARY_PATH
10387
 
  shlibpath_overrides_runpath=no
10388
 
  hardcode_into_libs=yes
10389
 
  dynamic_linker='NetBSD ld.elf_so'
10390
 
  ;;
10391
 
 
10392
 
netbsd*)
10393
 
  version_type=sunos
10394
 
  need_lib_prefix=no
10395
 
  need_version=no
10396
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10397
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10398
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10399
 
    dynamic_linker='NetBSD (a.out) ld.so'
10400
 
  else
10401
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10402
 
    soname_spec='${libname}${release}${shared_ext}$major'
10403
 
    dynamic_linker='NetBSD ld.elf_so'
10404
 
  fi
10405
 
  shlibpath_var=LD_LIBRARY_PATH
10406
 
  shlibpath_overrides_runpath=yes
10407
 
  hardcode_into_libs=yes
10408
 
  ;;
10409
 
 
10410
 
newsos6)
10411
 
  version_type=linux
10412
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10413
 
  shlibpath_var=LD_LIBRARY_PATH
10414
 
  shlibpath_overrides_runpath=yes
10415
 
  ;;
10416
 
 
10417
 
nto-qnx*)
10418
 
  version_type=linux
10419
 
  need_lib_prefix=no
10420
 
  need_version=no
10421
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10422
 
  soname_spec='${libname}${release}${shared_ext}$major'
10423
 
  shlibpath_var=LD_LIBRARY_PATH
10424
 
  shlibpath_overrides_runpath=yes
10425
 
  ;;
10426
 
 
10427
 
openbsd*)
10428
 
  version_type=sunos
10429
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10430
 
  need_lib_prefix=no
10431
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10432
 
  case $host_os in
10433
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10434
 
    *)                         need_version=no  ;;
10435
 
  esac
10436
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10437
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10438
 
  shlibpath_var=LD_LIBRARY_PATH
10439
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10440
 
    case $host_os in
10441
 
      openbsd2.[89] | openbsd2.[89].*)
10442
 
        shlibpath_overrides_runpath=no
10443
 
        ;;
10444
 
      *)
10445
 
        shlibpath_overrides_runpath=yes
10446
 
        ;;
10447
 
      esac
10448
 
  else
10449
 
    shlibpath_overrides_runpath=yes
10450
 
  fi
10451
 
  ;;
10452
 
 
10453
 
os2*)
10454
 
  libname_spec='$name'
10455
 
  shrext_cmds=".dll"
10456
 
  need_lib_prefix=no
10457
 
  library_names_spec='$libname${shared_ext} $libname.a'
10458
 
  dynamic_linker='OS/2 ld.exe'
10459
 
  shlibpath_var=LIBPATH
10460
 
  ;;
10461
 
 
10462
 
osf3* | osf4* | osf5*)
10463
 
  version_type=osf
10464
 
  need_lib_prefix=no
10465
 
  need_version=no
10466
 
  soname_spec='${libname}${release}${shared_ext}$major'
10467
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10468
 
  shlibpath_var=LD_LIBRARY_PATH
10469
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10470
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10471
 
  ;;
10472
 
 
10473
 
rdos*)
10474
 
  dynamic_linker=no
10475
 
  ;;
10476
 
 
10477
 
solaris*)
10478
 
  version_type=linux
10479
 
  need_lib_prefix=no
10480
 
  need_version=no
10481
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10482
 
  soname_spec='${libname}${release}${shared_ext}$major'
10483
 
  shlibpath_var=LD_LIBRARY_PATH
10484
 
  shlibpath_overrides_runpath=yes
10485
 
  hardcode_into_libs=yes
10486
 
  # ldd complains unless libraries are executable
10487
 
  postinstall_cmds='chmod +x $lib'
10488
 
  ;;
10489
 
 
10490
 
sunos4*)
10491
 
  version_type=sunos
10492
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10493
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10494
 
  shlibpath_var=LD_LIBRARY_PATH
10495
 
  shlibpath_overrides_runpath=yes
10496
 
  if test "$with_gnu_ld" = yes; then
10497
 
    need_lib_prefix=no
10498
 
  fi
10499
 
  need_version=yes
10500
 
  ;;
10501
 
 
10502
 
sysv4 | sysv4.3*)
10503
 
  version_type=linux
10504
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505
 
  soname_spec='${libname}${release}${shared_ext}$major'
10506
 
  shlibpath_var=LD_LIBRARY_PATH
10507
 
  case $host_vendor in
10508
 
    sni)
10509
 
      shlibpath_overrides_runpath=no
10510
 
      need_lib_prefix=no
10511
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
10512
 
      runpath_var=LD_RUN_PATH
10513
 
      ;;
10514
 
    siemens)
10515
 
      need_lib_prefix=no
10516
 
      ;;
10517
 
    motorola)
10518
 
      need_lib_prefix=no
10519
 
      need_version=no
10520
 
      shlibpath_overrides_runpath=no
10521
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10522
 
      ;;
10523
 
  esac
10524
 
  ;;
10525
 
 
10526
 
sysv4*MP*)
10527
 
  if test -d /usr/nec ;then
10528
 
    version_type=linux
10529
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10530
 
    soname_spec='$libname${shared_ext}.$major'
10531
 
    shlibpath_var=LD_LIBRARY_PATH
10532
 
  fi
10533
 
  ;;
10534
 
 
10535
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10536
 
  version_type=freebsd-elf
10537
 
  need_lib_prefix=no
10538
 
  need_version=no
10539
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10540
 
  soname_spec='${libname}${release}${shared_ext}$major'
10541
 
  shlibpath_var=LD_LIBRARY_PATH
10542
 
  hardcode_into_libs=yes
10543
 
  if test "$with_gnu_ld" = yes; then
10544
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10545
 
    shlibpath_overrides_runpath=no
10546
 
  else
10547
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10548
 
    shlibpath_overrides_runpath=yes
10549
 
    case $host_os in
10550
 
      sco3.2v5*)
10551
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10552
 
        ;;
10553
 
    esac
10554
 
  fi
10555
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10556
 
  ;;
10557
 
 
10558
 
uts4*)
10559
 
  version_type=linux
10560
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10561
 
  soname_spec='${libname}${release}${shared_ext}$major'
10562
 
  shlibpath_var=LD_LIBRARY_PATH
10563
 
  ;;
10564
 
 
10565
 
*)
10566
 
  dynamic_linker=no
10567
 
  ;;
10568
 
esac
10569
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10570
 
echo "${ECHO_T}$dynamic_linker" >&6; }
10571
 
test "$dynamic_linker" = no && can_build_shared=no
10572
 
 
10573
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10574
 
if test "$GCC" = yes; then
10575
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10576
 
fi
10577
 
 
10578
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10579
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10580
 
hardcode_action=
10581
 
if test -n "$hardcode_libdir_flag_spec" || \
10582
 
   test -n "$runpath_var" || \
10583
 
   test "X$hardcode_automatic" = "Xyes" ; then
10584
 
 
10585
 
  # We can hardcode non-existant directories.
10586
 
  if test "$hardcode_direct" != no &&
10587
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10588
 
     # have to relink, otherwise we might link with an installed library
10589
 
     # when we should be linking with a yet-to-be-installed one
10590
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10591
 
     test "$hardcode_minus_L" != no; then
10592
 
    # Linking always hardcodes the temporary library directory.
10593
 
    hardcode_action=relink
10594
 
  else
10595
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10596
 
    hardcode_action=immediate
10597
 
  fi
10598
 
else
10599
 
  # We cannot hardcode anything, or else we can only hardcode existing
10600
 
  # directories.
10601
 
  hardcode_action=unsupported
10602
 
fi
10603
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10604
 
echo "${ECHO_T}$hardcode_action" >&6; }
10605
 
 
10606
 
if test "$hardcode_action" = relink; then
10607
 
  # Fast installation is not supported
10608
 
  enable_fast_install=no
10609
 
elif test "$shlibpath_overrides_runpath" = yes ||
10610
 
     test "$enable_shared" = no; then
10611
 
  # Fast installation is not necessary
10612
 
  enable_fast_install=needless
10613
 
fi
10614
 
 
10615
 
striplib=
10616
 
old_striplib=
10617
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10618
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10619
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10620
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10621
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10622
 
  { echo "$as_me:$LINENO: result: yes" >&5
10623
 
echo "${ECHO_T}yes" >&6; }
10624
 
else
10625
 
# FIXME - insert some real tests, host_os isn't really good enough
10626
 
  case $host_os in
10627
 
   darwin*)
10628
 
       if test -n "$STRIP" ; then
10629
 
         striplib="$STRIP -x"
10630
 
         old_striplib="$STRIP -S"
10631
 
         { echo "$as_me:$LINENO: result: yes" >&5
10632
 
echo "${ECHO_T}yes" >&6; }
10633
 
       else
10634
 
  { echo "$as_me:$LINENO: result: no" >&5
10635
 
echo "${ECHO_T}no" >&6; }
10636
 
fi
10637
 
       ;;
10638
 
   *)
10639
 
  { echo "$as_me:$LINENO: result: no" >&5
10640
 
echo "${ECHO_T}no" >&6; }
10641
 
    ;;
10642
 
  esac
10643
 
fi
10644
 
 
10645
 
if test "x$enable_dlopen" != xyes; then
10646
 
  enable_dlopen=unknown
10647
 
  enable_dlopen_self=unknown
10648
 
  enable_dlopen_self_static=unknown
10649
 
else
10650
 
  lt_cv_dlopen=no
10651
 
  lt_cv_dlopen_libs=
10652
 
 
10653
 
  case $host_os in
10654
 
  beos*)
10655
 
    lt_cv_dlopen="load_add_on"
10656
 
    lt_cv_dlopen_libs=
10657
 
    lt_cv_dlopen_self=yes
10658
 
    ;;
10659
 
 
10660
 
  mingw* | pw32*)
10661
 
    lt_cv_dlopen="LoadLibrary"
10662
 
    lt_cv_dlopen_libs=
10663
 
   ;;
10664
 
 
10665
 
  cygwin*)
10666
 
    lt_cv_dlopen="dlopen"
10667
 
    lt_cv_dlopen_libs=
10668
 
   ;;
10669
 
 
10670
 
  darwin*)
10671
 
  # if libdl is installed we need to link against it
10672
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10673
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10674
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10675
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10676
 
else
10677
 
  ac_check_lib_save_LIBS=$LIBS
10678
 
LIBS="-ldl  $LIBS"
10679
 
cat >conftest.$ac_ext <<_ACEOF
10680
 
/* confdefs.h.  */
10681
 
_ACEOF
10682
 
cat confdefs.h >>conftest.$ac_ext
10683
 
cat >>conftest.$ac_ext <<_ACEOF
10684
 
/* end confdefs.h.  */
10685
 
 
10686
 
/* Override any GCC internal prototype to avoid an error.
10687
 
   Use char because int might match the return type of a GCC
10688
 
   builtin and then its argument prototype would still apply.  */
10689
 
#ifdef __cplusplus
10690
 
extern "C"
10691
 
#endif
10692
 
char dlopen ();
10693
 
int
10694
 
main ()
10695
 
{
10696
 
return dlopen ();
10697
 
  ;
10698
 
  return 0;
10699
 
}
10700
 
_ACEOF
10701
 
rm -f conftest.$ac_objext conftest$ac_exeext
10702
 
if { (ac_try="$ac_link"
10703
 
case "(($ac_try" in
10704
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10705
 
  *) ac_try_echo=$ac_try;;
10706
 
esac
10707
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10708
 
  (eval "$ac_link") 2>conftest.er1
10709
 
  ac_status=$?
10710
 
  grep -v '^ *+' conftest.er1 >conftest.err
10711
 
  rm -f conftest.er1
10712
 
  cat conftest.err >&5
10713
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714
 
  (exit $ac_status); } && {
10715
 
         test -z "$ac_c_werror_flag" ||
10716
 
         test ! -s conftest.err
10717
 
       } && test -s conftest$ac_exeext &&
10718
 
       $as_test_x conftest$ac_exeext; then
10719
 
  ac_cv_lib_dl_dlopen=yes
10720
 
else
10721
 
  echo "$as_me: failed program was:" >&5
10722
 
sed 's/^/| /' conftest.$ac_ext >&5
10723
 
 
10724
 
        ac_cv_lib_dl_dlopen=no
10725
 
fi
10726
 
 
10727
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10728
 
      conftest$ac_exeext conftest.$ac_ext
10729
 
LIBS=$ac_check_lib_save_LIBS
10730
 
fi
10731
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10732
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10733
 
if test $ac_cv_lib_dl_dlopen = yes; then
10734
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10735
 
else
10736
 
  
10737
 
    lt_cv_dlopen="dyld"
10738
 
    lt_cv_dlopen_libs=
10739
 
    lt_cv_dlopen_self=yes
10740
 
    
10741
 
fi
10742
 
 
10743
 
   ;;
10744
 
 
10745
 
  *)
10746
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
10747
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10748
 
if test "${ac_cv_func_shl_load+set}" = set; then
10749
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10750
 
else
10751
 
  cat >conftest.$ac_ext <<_ACEOF
10752
 
/* confdefs.h.  */
10753
 
_ACEOF
10754
 
cat confdefs.h >>conftest.$ac_ext
10755
 
cat >>conftest.$ac_ext <<_ACEOF
10756
 
/* end confdefs.h.  */
10757
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10758
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10759
 
#define shl_load innocuous_shl_load
10760
 
 
10761
 
/* System header to define __stub macros and hopefully few prototypes,
10762
 
    which can conflict with char shl_load (); below.
10763
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10764
 
    <limits.h> exists even on freestanding compilers.  */
10765
 
 
10766
 
#ifdef __STDC__
10767
 
# include <limits.h>
10768
 
#else
10769
 
# include <assert.h>
10770
 
#endif
10771
 
 
10772
 
#undef shl_load
10773
 
 
10774
 
/* Override any GCC internal prototype to avoid an error.
10775
 
   Use char because int might match the return type of a GCC
10776
 
   builtin and then its argument prototype would still apply.  */
10777
 
#ifdef __cplusplus
10778
 
extern "C"
10779
 
#endif
10780
 
char shl_load ();
10781
 
/* The GNU C library defines this for functions which it implements
10782
 
    to always fail with ENOSYS.  Some functions are actually named
10783
 
    something starting with __ and the normal name is an alias.  */
10784
 
#if defined __stub_shl_load || defined __stub___shl_load
10785
 
choke me
10786
 
#endif
10787
 
 
10788
 
int
10789
 
main ()
10790
 
{
10791
 
return shl_load ();
10792
 
  ;
10793
 
  return 0;
10794
 
}
10795
 
_ACEOF
10796
 
rm -f conftest.$ac_objext conftest$ac_exeext
10797
 
if { (ac_try="$ac_link"
10798
 
case "(($ac_try" in
10799
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10800
 
  *) ac_try_echo=$ac_try;;
10801
 
esac
10802
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10803
 
  (eval "$ac_link") 2>conftest.er1
10804
 
  ac_status=$?
10805
 
  grep -v '^ *+' conftest.er1 >conftest.err
10806
 
  rm -f conftest.er1
10807
 
  cat conftest.err >&5
10808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809
 
  (exit $ac_status); } && {
10810
 
         test -z "$ac_c_werror_flag" ||
10811
 
         test ! -s conftest.err
10812
 
       } && test -s conftest$ac_exeext &&
10813
 
       $as_test_x conftest$ac_exeext; then
10814
 
  ac_cv_func_shl_load=yes
10815
 
else
10816
 
  echo "$as_me: failed program was:" >&5
10817
 
sed 's/^/| /' conftest.$ac_ext >&5
10818
 
 
10819
 
        ac_cv_func_shl_load=no
10820
 
fi
10821
 
 
10822
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10823
 
      conftest$ac_exeext conftest.$ac_ext
10824
 
fi
10825
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10826
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10827
 
if test $ac_cv_func_shl_load = yes; then
10828
 
  lt_cv_dlopen="shl_load"
10829
 
else
10830
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10831
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10832
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10833
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10834
 
else
10835
 
  ac_check_lib_save_LIBS=$LIBS
10836
 
LIBS="-ldld  $LIBS"
10837
 
cat >conftest.$ac_ext <<_ACEOF
10838
 
/* confdefs.h.  */
10839
 
_ACEOF
10840
 
cat confdefs.h >>conftest.$ac_ext
10841
 
cat >>conftest.$ac_ext <<_ACEOF
10842
 
/* end confdefs.h.  */
10843
 
 
10844
 
/* Override any GCC internal prototype to avoid an error.
10845
 
   Use char because int might match the return type of a GCC
10846
 
   builtin and then its argument prototype would still apply.  */
10847
 
#ifdef __cplusplus
10848
 
extern "C"
10849
 
#endif
10850
 
char shl_load ();
10851
 
int
10852
 
main ()
10853
 
{
10854
 
return shl_load ();
10855
 
  ;
10856
 
  return 0;
10857
 
}
10858
 
_ACEOF
10859
 
rm -f conftest.$ac_objext conftest$ac_exeext
10860
 
if { (ac_try="$ac_link"
10861
 
case "(($ac_try" in
10862
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10863
 
  *) ac_try_echo=$ac_try;;
10864
 
esac
10865
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10866
 
  (eval "$ac_link") 2>conftest.er1
10867
 
  ac_status=$?
10868
 
  grep -v '^ *+' conftest.er1 >conftest.err
10869
 
  rm -f conftest.er1
10870
 
  cat conftest.err >&5
10871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872
 
  (exit $ac_status); } && {
10873
 
         test -z "$ac_c_werror_flag" ||
10874
 
         test ! -s conftest.err
10875
 
       } && test -s conftest$ac_exeext &&
10876
 
       $as_test_x conftest$ac_exeext; then
10877
 
  ac_cv_lib_dld_shl_load=yes
10878
 
else
10879
 
  echo "$as_me: failed program was:" >&5
10880
 
sed 's/^/| /' conftest.$ac_ext >&5
10881
 
 
10882
 
        ac_cv_lib_dld_shl_load=no
10883
 
fi
10884
 
 
10885
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10886
 
      conftest$ac_exeext conftest.$ac_ext
10887
 
LIBS=$ac_check_lib_save_LIBS
10888
 
fi
10889
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10890
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10891
 
if test $ac_cv_lib_dld_shl_load = yes; then
10892
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10893
 
else
10894
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
10895
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10896
 
if test "${ac_cv_func_dlopen+set}" = set; then
10897
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10898
 
else
10899
 
  cat >conftest.$ac_ext <<_ACEOF
10900
 
/* confdefs.h.  */
10901
 
_ACEOF
10902
 
cat confdefs.h >>conftest.$ac_ext
10903
 
cat >>conftest.$ac_ext <<_ACEOF
10904
 
/* end confdefs.h.  */
10905
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10906
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10907
 
#define dlopen innocuous_dlopen
10908
 
 
10909
 
/* System header to define __stub macros and hopefully few prototypes,
10910
 
    which can conflict with char dlopen (); below.
10911
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10912
 
    <limits.h> exists even on freestanding compilers.  */
10913
 
 
10914
 
#ifdef __STDC__
10915
 
# include <limits.h>
10916
 
#else
10917
 
# include <assert.h>
10918
 
#endif
10919
 
 
10920
 
#undef dlopen
10921
 
 
10922
 
/* Override any GCC internal prototype to avoid an error.
10923
 
   Use char because int might match the return type of a GCC
10924
 
   builtin and then its argument prototype would still apply.  */
10925
 
#ifdef __cplusplus
10926
 
extern "C"
10927
 
#endif
10928
 
char dlopen ();
10929
 
/* The GNU C library defines this for functions which it implements
10930
 
    to always fail with ENOSYS.  Some functions are actually named
10931
 
    something starting with __ and the normal name is an alias.  */
10932
 
#if defined __stub_dlopen || defined __stub___dlopen
10933
 
choke me
10934
 
#endif
10935
 
 
10936
 
int
10937
 
main ()
10938
 
{
10939
 
return dlopen ();
10940
 
  ;
10941
 
  return 0;
10942
 
}
10943
 
_ACEOF
10944
 
rm -f conftest.$ac_objext conftest$ac_exeext
10945
 
if { (ac_try="$ac_link"
10946
 
case "(($ac_try" in
10947
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10948
 
  *) ac_try_echo=$ac_try;;
10949
 
esac
10950
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10951
 
  (eval "$ac_link") 2>conftest.er1
10952
 
  ac_status=$?
10953
 
  grep -v '^ *+' conftest.er1 >conftest.err
10954
 
  rm -f conftest.er1
10955
 
  cat conftest.err >&5
10956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957
 
  (exit $ac_status); } && {
10958
 
         test -z "$ac_c_werror_flag" ||
10959
 
         test ! -s conftest.err
10960
 
       } && test -s conftest$ac_exeext &&
10961
 
       $as_test_x conftest$ac_exeext; then
10962
 
  ac_cv_func_dlopen=yes
10963
 
else
10964
 
  echo "$as_me: failed program was:" >&5
10965
 
sed 's/^/| /' conftest.$ac_ext >&5
10966
 
 
10967
 
        ac_cv_func_dlopen=no
10968
 
fi
10969
 
 
10970
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10971
 
      conftest$ac_exeext conftest.$ac_ext
10972
 
fi
10973
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10974
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10975
 
if test $ac_cv_func_dlopen = yes; then
10976
 
  lt_cv_dlopen="dlopen"
10977
 
else
10978
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10979
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10980
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10981
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10982
 
else
10983
 
  ac_check_lib_save_LIBS=$LIBS
10984
 
LIBS="-ldl  $LIBS"
10985
 
cat >conftest.$ac_ext <<_ACEOF
10986
 
/* confdefs.h.  */
10987
 
_ACEOF
10988
 
cat confdefs.h >>conftest.$ac_ext
10989
 
cat >>conftest.$ac_ext <<_ACEOF
10990
 
/* end confdefs.h.  */
10991
 
 
10992
 
/* Override any GCC internal prototype to avoid an error.
10993
 
   Use char because int might match the return type of a GCC
10994
 
   builtin and then its argument prototype would still apply.  */
10995
 
#ifdef __cplusplus
10996
 
extern "C"
10997
 
#endif
10998
 
char dlopen ();
10999
 
int
11000
 
main ()
11001
 
{
11002
 
return dlopen ();
11003
 
  ;
11004
 
  return 0;
11005
 
}
11006
 
_ACEOF
11007
 
rm -f conftest.$ac_objext conftest$ac_exeext
11008
 
if { (ac_try="$ac_link"
11009
 
case "(($ac_try" in
11010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11011
 
  *) ac_try_echo=$ac_try;;
11012
 
esac
11013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11014
 
  (eval "$ac_link") 2>conftest.er1
11015
 
  ac_status=$?
11016
 
  grep -v '^ *+' conftest.er1 >conftest.err
11017
 
  rm -f conftest.er1
11018
 
  cat conftest.err >&5
11019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020
 
  (exit $ac_status); } && {
11021
 
         test -z "$ac_c_werror_flag" ||
11022
 
         test ! -s conftest.err
11023
 
       } && test -s conftest$ac_exeext &&
11024
 
       $as_test_x conftest$ac_exeext; then
11025
 
  ac_cv_lib_dl_dlopen=yes
11026
 
else
11027
 
  echo "$as_me: failed program was:" >&5
11028
 
sed 's/^/| /' conftest.$ac_ext >&5
11029
 
 
11030
 
        ac_cv_lib_dl_dlopen=no
11031
 
fi
11032
 
 
11033
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11034
 
      conftest$ac_exeext conftest.$ac_ext
11035
 
LIBS=$ac_check_lib_save_LIBS
11036
 
fi
11037
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11038
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11039
 
if test $ac_cv_lib_dl_dlopen = yes; then
11040
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11041
 
else
11042
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11043
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11044
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11046
 
else
11047
 
  ac_check_lib_save_LIBS=$LIBS
11048
 
LIBS="-lsvld  $LIBS"
11049
 
cat >conftest.$ac_ext <<_ACEOF
11050
 
/* confdefs.h.  */
11051
 
_ACEOF
11052
 
cat confdefs.h >>conftest.$ac_ext
11053
 
cat >>conftest.$ac_ext <<_ACEOF
11054
 
/* end confdefs.h.  */
11055
 
 
11056
 
/* Override any GCC internal prototype to avoid an error.
11057
 
   Use char because int might match the return type of a GCC
11058
 
   builtin and then its argument prototype would still apply.  */
11059
 
#ifdef __cplusplus
11060
 
extern "C"
11061
 
#endif
11062
 
char dlopen ();
11063
 
int
11064
 
main ()
11065
 
{
11066
 
return dlopen ();
11067
 
  ;
11068
 
  return 0;
11069
 
}
11070
 
_ACEOF
11071
 
rm -f conftest.$ac_objext conftest$ac_exeext
11072
 
if { (ac_try="$ac_link"
11073
 
case "(($ac_try" in
11074
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11075
 
  *) ac_try_echo=$ac_try;;
11076
 
esac
11077
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11078
 
  (eval "$ac_link") 2>conftest.er1
11079
 
  ac_status=$?
11080
 
  grep -v '^ *+' conftest.er1 >conftest.err
11081
 
  rm -f conftest.er1
11082
 
  cat conftest.err >&5
11083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084
 
  (exit $ac_status); } && {
11085
 
         test -z "$ac_c_werror_flag" ||
11086
 
         test ! -s conftest.err
11087
 
       } && test -s conftest$ac_exeext &&
11088
 
       $as_test_x conftest$ac_exeext; then
11089
 
  ac_cv_lib_svld_dlopen=yes
11090
 
else
11091
 
  echo "$as_me: failed program was:" >&5
11092
 
sed 's/^/| /' conftest.$ac_ext >&5
11093
 
 
11094
 
        ac_cv_lib_svld_dlopen=no
11095
 
fi
11096
 
 
11097
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11098
 
      conftest$ac_exeext conftest.$ac_ext
11099
 
LIBS=$ac_check_lib_save_LIBS
11100
 
fi
11101
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11102
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11103
 
if test $ac_cv_lib_svld_dlopen = yes; then
11104
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11105
 
else
11106
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11107
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11108
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11109
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11110
 
else
11111
 
  ac_check_lib_save_LIBS=$LIBS
11112
 
LIBS="-ldld  $LIBS"
11113
 
cat >conftest.$ac_ext <<_ACEOF
11114
 
/* confdefs.h.  */
11115
 
_ACEOF
11116
 
cat confdefs.h >>conftest.$ac_ext
11117
 
cat >>conftest.$ac_ext <<_ACEOF
11118
 
/* end confdefs.h.  */
11119
 
 
11120
 
/* Override any GCC internal prototype to avoid an error.
11121
 
   Use char because int might match the return type of a GCC
11122
 
   builtin and then its argument prototype would still apply.  */
11123
 
#ifdef __cplusplus
11124
 
extern "C"
11125
 
#endif
11126
 
char dld_link ();
11127
 
int
11128
 
main ()
11129
 
{
11130
 
return dld_link ();
11131
 
  ;
11132
 
  return 0;
11133
 
}
11134
 
_ACEOF
11135
 
rm -f conftest.$ac_objext conftest$ac_exeext
11136
 
if { (ac_try="$ac_link"
11137
 
case "(($ac_try" in
11138
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11139
 
  *) ac_try_echo=$ac_try;;
11140
 
esac
11141
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11142
 
  (eval "$ac_link") 2>conftest.er1
11143
 
  ac_status=$?
11144
 
  grep -v '^ *+' conftest.er1 >conftest.err
11145
 
  rm -f conftest.er1
11146
 
  cat conftest.err >&5
11147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148
 
  (exit $ac_status); } && {
11149
 
         test -z "$ac_c_werror_flag" ||
11150
 
         test ! -s conftest.err
11151
 
       } && test -s conftest$ac_exeext &&
11152
 
       $as_test_x conftest$ac_exeext; then
11153
 
  ac_cv_lib_dld_dld_link=yes
11154
 
else
11155
 
  echo "$as_me: failed program was:" >&5
11156
 
sed 's/^/| /' conftest.$ac_ext >&5
11157
 
 
11158
 
        ac_cv_lib_dld_dld_link=no
11159
 
fi
11160
 
 
11161
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11162
 
      conftest$ac_exeext conftest.$ac_ext
11163
 
LIBS=$ac_check_lib_save_LIBS
11164
 
fi
11165
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11166
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11167
 
if test $ac_cv_lib_dld_dld_link = yes; then
11168
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11169
 
fi
11170
 
 
11171
 
              
11172
 
fi
11173
 
 
11174
 
            
11175
 
fi
11176
 
 
11177
 
          
11178
 
fi
11179
 
 
11180
 
        
11181
 
fi
11182
 
 
11183
 
      
11184
 
fi
11185
 
 
11186
 
    ;;
11187
 
  esac
11188
 
 
11189
 
  if test "x$lt_cv_dlopen" != xno; then
11190
 
    enable_dlopen=yes
11191
 
  else
11192
 
    enable_dlopen=no
11193
 
  fi
11194
 
 
11195
 
  case $lt_cv_dlopen in
11196
 
  dlopen)
11197
 
    save_CPPFLAGS="$CPPFLAGS"
11198
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11199
 
 
11200
 
    save_LDFLAGS="$LDFLAGS"
11201
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11202
 
 
11203
 
    save_LIBS="$LIBS"
11204
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11205
 
 
11206
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11207
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11208
 
if test "${lt_cv_dlopen_self+set}" = set; then
11209
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11210
 
else
11211
 
          if test "$cross_compiling" = yes; then :
11212
 
  lt_cv_dlopen_self=cross
11213
 
else
11214
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11215
 
  lt_status=$lt_dlunknown
11216
 
  cat > conftest.$ac_ext <<EOF
11217
 
#line __oline__ "configure"
11218
 
#include "confdefs.h"
11219
 
 
11220
 
#if HAVE_DLFCN_H
11221
 
#include <dlfcn.h>
11222
 
#endif
11223
 
 
11224
 
#include <stdio.h>
11225
 
 
11226
 
#ifdef RTLD_GLOBAL
11227
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11228
 
#else
11229
 
#  ifdef DL_GLOBAL
11230
 
#    define LT_DLGLOBAL         DL_GLOBAL
11231
 
#  else
11232
 
#    define LT_DLGLOBAL         0
11233
 
#  endif
11234
 
#endif
11235
 
 
11236
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11237
 
   find out it does not work in some platform. */
11238
 
#ifndef LT_DLLAZY_OR_NOW
11239
 
#  ifdef RTLD_LAZY
11240
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11241
 
#  else
11242
 
#    ifdef DL_LAZY
11243
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11244
 
#    else
11245
 
#      ifdef RTLD_NOW
11246
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11247
 
#      else
11248
 
#        ifdef DL_NOW
11249
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11250
 
#        else
11251
 
#          define LT_DLLAZY_OR_NOW      0
11252
 
#        endif
11253
 
#      endif
11254
 
#    endif
11255
 
#  endif
11256
 
#endif
11257
 
 
11258
 
#ifdef __cplusplus
11259
 
extern "C" void exit (int);
11260
 
#endif
11261
 
 
11262
 
void fnord() { int i=42;}
11263
 
int main ()
11264
 
{
11265
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11266
 
  int status = $lt_dlunknown;
11267
 
 
11268
 
  if (self)
11269
 
    {
11270
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11271
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11272
 
      /* dlclose (self); */
11273
 
    }
11274
 
  else
11275
 
    puts (dlerror ());
11276
 
 
11277
 
    exit (status);
11278
 
}
11279
 
EOF
11280
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11281
 
  (eval $ac_link) 2>&5
11282
 
  ac_status=$?
11283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11285
 
    (./conftest; exit; ) >&5 2>/dev/null
11286
 
    lt_status=$?
11287
 
    case x$lt_status in
11288
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11289
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11290
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11291
 
    esac
11292
 
  else :
11293
 
    # compilation failed
11294
 
    lt_cv_dlopen_self=no
11295
 
  fi
11296
 
fi
11297
 
rm -fr conftest*
11298
 
 
11299
 
    
11300
 
fi
11301
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11302
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11303
 
 
11304
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11305
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11306
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11307
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11308
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
11309
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11310
 
else
11311
 
          if test "$cross_compiling" = yes; then :
11312
 
  lt_cv_dlopen_self_static=cross
11313
 
else
11314
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11315
 
  lt_status=$lt_dlunknown
11316
 
  cat > conftest.$ac_ext <<EOF
11317
 
#line __oline__ "configure"
11318
 
#include "confdefs.h"
11319
 
 
11320
 
#if HAVE_DLFCN_H
11321
 
#include <dlfcn.h>
11322
 
#endif
11323
 
 
11324
 
#include <stdio.h>
11325
 
 
11326
 
#ifdef RTLD_GLOBAL
11327
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11328
 
#else
11329
 
#  ifdef DL_GLOBAL
11330
 
#    define LT_DLGLOBAL         DL_GLOBAL
11331
 
#  else
11332
 
#    define LT_DLGLOBAL         0
11333
 
#  endif
11334
 
#endif
11335
 
 
11336
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11337
 
   find out it does not work in some platform. */
11338
 
#ifndef LT_DLLAZY_OR_NOW
11339
 
#  ifdef RTLD_LAZY
11340
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11341
 
#  else
11342
 
#    ifdef DL_LAZY
11343
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11344
 
#    else
11345
 
#      ifdef RTLD_NOW
11346
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11347
 
#      else
11348
 
#        ifdef DL_NOW
11349
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11350
 
#        else
11351
 
#          define LT_DLLAZY_OR_NOW      0
11352
 
#        endif
11353
 
#      endif
11354
 
#    endif
11355
 
#  endif
11356
 
#endif
11357
 
 
11358
 
#ifdef __cplusplus
11359
 
extern "C" void exit (int);
11360
 
#endif
11361
 
 
11362
 
void fnord() { int i=42;}
11363
 
int main ()
11364
 
{
11365
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11366
 
  int status = $lt_dlunknown;
11367
 
 
11368
 
  if (self)
11369
 
    {
11370
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11371
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11372
 
      /* dlclose (self); */
11373
 
    }
11374
 
  else
11375
 
    puts (dlerror ());
11376
 
 
11377
 
    exit (status);
11378
 
}
11379
 
EOF
11380
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11381
 
  (eval $ac_link) 2>&5
11382
 
  ac_status=$?
11383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11385
 
    (./conftest; exit; ) >&5 2>/dev/null
11386
 
    lt_status=$?
11387
 
    case x$lt_status in
11388
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11389
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11390
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11391
 
    esac
11392
 
  else :
11393
 
    # compilation failed
11394
 
    lt_cv_dlopen_self_static=no
11395
 
  fi
11396
 
fi
11397
 
rm -fr conftest*
11398
 
 
11399
 
      
11400
 
fi
11401
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11402
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11403
 
    fi
11404
 
 
11405
 
    CPPFLAGS="$save_CPPFLAGS"
11406
 
    LDFLAGS="$save_LDFLAGS"
11407
 
    LIBS="$save_LIBS"
11408
 
    ;;
11409
 
  esac
11410
 
 
11411
 
  case $lt_cv_dlopen_self in
11412
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11413
 
  *) enable_dlopen_self=unknown ;;
11414
 
  esac
11415
 
 
11416
 
  case $lt_cv_dlopen_self_static in
11417
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11418
 
  *) enable_dlopen_self_static=unknown ;;
11419
 
  esac
11420
 
fi
11421
 
 
11422
 
 
11423
 
# Report which library types will actually be built
11424
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11425
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11426
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11427
 
echo "${ECHO_T}$can_build_shared" >&6; }
11428
 
 
11429
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11430
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11431
 
test "$can_build_shared" = "no" && enable_shared=no
11432
 
 
11433
 
# On AIX, shared libraries and static libraries use the same namespace, and
11434
 
# are all built from PIC.
11435
 
case $host_os in
11436
 
aix3*)
11437
 
  test "$enable_shared" = yes && enable_static=no
11438
 
  if test -n "$RANLIB"; then
11439
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
11440
 
    postinstall_cmds='$RANLIB $lib'
11441
 
  fi
11442
 
  ;;
11443
 
 
11444
 
aix4* | aix5*)
11445
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11446
 
    test "$enable_shared" = yes && enable_static=no
11447
 
  fi
11448
 
    ;;
11449
 
esac
11450
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11451
 
echo "${ECHO_T}$enable_shared" >&6; }
11452
 
 
11453
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11454
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11455
 
# Make sure either enable_shared or enable_static is yes.
11456
 
test "$enable_shared" = yes || enable_static=yes
11457
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11458
 
echo "${ECHO_T}$enable_static" >&6; }
11459
 
 
11460
 
# The else clause should only fire when bootstrapping the
11461
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
11462
 
# with your package, and you will get complaints that there are
11463
 
# no rules to generate ltmain.sh.
11464
 
if test -f "$ltmain"; then
11465
 
  # See if we are running on zsh, and set the options which allow our commands through
11466
 
  # without removal of \ escapes.
11467
 
  if test -n "${ZSH_VERSION+set}" ; then
11468
 
    setopt NO_GLOB_SUBST
11469
 
  fi
11470
 
  # Now quote all the things that may contain metacharacters while being
11471
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
11472
 
  # variables and quote the copies for generation of the libtool script.
11473
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11474
 
    SED SHELL STRIP \
11475
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11476
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11477
 
    deplibs_check_method reload_flag reload_cmds need_locks \
11478
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11479
 
    lt_cv_sys_global_symbol_to_c_name_address \
11480
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11481
 
    old_postinstall_cmds old_postuninstall_cmds \
11482
 
    compiler \
11483
 
    CC \
11484
 
    LD \
11485
 
    lt_prog_compiler_wl \
11486
 
    lt_prog_compiler_pic \
11487
 
    lt_prog_compiler_static \
11488
 
    lt_prog_compiler_no_builtin_flag \
11489
 
    export_dynamic_flag_spec \
11490
 
    thread_safe_flag_spec \
11491
 
    whole_archive_flag_spec \
11492
 
    enable_shared_with_static_runtimes \
11493
 
    old_archive_cmds \
11494
 
    old_archive_from_new_cmds \
11495
 
    predep_objects \
11496
 
    postdep_objects \
11497
 
    predeps \
11498
 
    postdeps \
11499
 
    compiler_lib_search_path \
11500
 
    archive_cmds \
11501
 
    archive_expsym_cmds \
11502
 
    postinstall_cmds \
11503
 
    postuninstall_cmds \
11504
 
    old_archive_from_expsyms_cmds \
11505
 
    allow_undefined_flag \
11506
 
    no_undefined_flag \
11507
 
    export_symbols_cmds \
11508
 
    hardcode_libdir_flag_spec \
11509
 
    hardcode_libdir_flag_spec_ld \
11510
 
    hardcode_libdir_separator \
11511
 
    hardcode_automatic \
11512
 
    module_cmds \
11513
 
    module_expsym_cmds \
11514
 
    lt_cv_prog_compiler_c_o \
11515
 
    fix_srcfile_path \
11516
 
    exclude_expsyms \
11517
 
    include_expsyms; do
11518
 
 
11519
 
    case $var in
11520
 
    old_archive_cmds | \
11521
 
    old_archive_from_new_cmds | \
11522
 
    archive_cmds | \
11523
 
    archive_expsym_cmds | \
11524
 
    module_cmds | \
11525
 
    module_expsym_cmds | \
11526
 
    old_archive_from_expsyms_cmds | \
11527
 
    export_symbols_cmds | \
11528
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
11529
 
    postinstall_cmds | postuninstall_cmds | \
11530
 
    old_postinstall_cmds | old_postuninstall_cmds | \
11531
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11532
 
      # Double-quote double-evaled strings.
11533
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11534
 
      ;;
11535
 
    *)
11536
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11537
 
      ;;
11538
 
    esac
11539
 
  done
11540
 
 
11541
 
  case $lt_echo in
11542
 
  *'\$0 --fallback-echo"')
11543
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11544
 
    ;;
11545
 
  esac
11546
 
 
11547
 
cfgfile="${ofile}T"
11548
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11549
 
  $rm -f "$cfgfile"
11550
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
11551
 
echo "$as_me: creating $ofile" >&6;}
11552
 
 
11553
 
  cat <<__EOF__ >> "$cfgfile"
11554
 
#! $SHELL
11555
 
 
11556
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11557
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11558
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11559
 
#
11560
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11561
 
# Free Software Foundation, Inc.
11562
 
#
11563
 
# This file is part of GNU Libtool:
11564
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11565
 
#
11566
 
# This program is free software; you can redistribute it and/or modify
11567
 
# it under the terms of the GNU General Public License as published by
11568
 
# the Free Software Foundation; either version 2 of the License, or
11569
 
# (at your option) any later version.
11570
 
#
11571
 
# This program is distributed in the hope that it will be useful, but
11572
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
11573
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11574
 
# General Public License for more details.
11575
 
#
11576
 
# You should have received a copy of the GNU General Public License
11577
 
# along with this program; if not, write to the Free Software
11578
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11579
 
#
11580
 
# As a special exception to the GNU General Public License, if you
11581
 
# distribute this file as part of a program that contains a
11582
 
# configuration script generated by Autoconf, you may include it under
11583
 
# the same distribution terms that you use for the rest of that program.
11584
 
 
11585
 
# A sed program that does not truncate output.
11586
 
SED=$lt_SED
11587
 
 
11588
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11589
 
Xsed="$SED -e 1s/^X//"
11590
 
 
11591
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
11592
 
# if CDPATH is set.
11593
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11594
 
 
11595
 
# The names of the tagged configurations supported by this script.
11596
 
available_tags=
11597
 
 
11598
 
# ### BEGIN LIBTOOL CONFIG
11599
 
 
11600
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11601
 
 
11602
 
# Shell to use when invoking shell scripts.
11603
 
SHELL=$lt_SHELL
11604
 
 
11605
 
# Whether or not to build shared libraries.
11606
 
build_libtool_libs=$enable_shared
11607
 
 
11608
 
# Whether or not to build static libraries.
11609
 
build_old_libs=$enable_static
11610
 
 
11611
 
# Whether or not to add -lc for building shared libraries.
11612
 
build_libtool_need_lc=$archive_cmds_need_lc
11613
 
 
11614
 
# Whether or not to disallow shared libs when runtime libs are static
11615
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11616
 
 
11617
 
# Whether or not to optimize for fast installation.
11618
 
fast_install=$enable_fast_install
11619
 
 
11620
 
# The host system.
11621
 
host_alias=$host_alias
11622
 
host=$host
11623
 
host_os=$host_os
11624
 
 
11625
 
# The build system.
11626
 
build_alias=$build_alias
11627
 
build=$build
11628
 
build_os=$build_os
11629
 
 
11630
 
# An echo program that does not interpret backslashes.
11631
 
echo=$lt_echo
11632
 
 
11633
 
# The archiver.
11634
 
AR=$lt_AR
11635
 
AR_FLAGS=$lt_AR_FLAGS
11636
 
 
11637
 
# A C compiler.
11638
 
LTCC=$lt_LTCC
11639
 
 
11640
 
# LTCC compiler flags.
11641
 
LTCFLAGS=$lt_LTCFLAGS
11642
 
 
11643
 
# A language-specific compiler.
11644
 
CC=$lt_compiler
11645
 
 
11646
 
# Is the compiler the GNU C compiler?
11647
 
with_gcc=$GCC
11648
 
 
11649
 
# An ERE matcher.
11650
 
EGREP=$lt_EGREP
11651
 
 
11652
 
# The linker used to build libraries.
11653
 
LD=$lt_LD
11654
 
 
11655
 
# Whether we need hard or soft links.
11656
 
LN_S=$lt_LN_S
11657
 
 
11658
 
# A BSD-compatible nm program.
11659
 
NM=$lt_NM
11660
 
 
11661
 
# A symbol stripping program
11662
 
STRIP=$lt_STRIP
11663
 
 
11664
 
# Used to examine libraries when file_magic_cmd begins "file"
11665
 
MAGIC_CMD=$MAGIC_CMD
11666
 
 
11667
 
# Used on cygwin: DLL creation program.
11668
 
DLLTOOL="$DLLTOOL"
11669
 
 
11670
 
# Used on cygwin: object dumper.
11671
 
OBJDUMP="$OBJDUMP"
11672
 
 
11673
 
# Used on cygwin: assembler.
11674
 
AS="$AS"
11675
 
 
11676
 
# The name of the directory that contains temporary libtool files.
11677
 
objdir=$objdir
11678
 
 
11679
 
# How to create reloadable object files.
11680
 
reload_flag=$lt_reload_flag
11681
 
reload_cmds=$lt_reload_cmds
11682
 
 
11683
 
# How to pass a linker flag through the compiler.
11684
 
wl=$lt_lt_prog_compiler_wl
11685
 
 
11686
 
# Object file suffix (normally "o").
11687
 
objext="$ac_objext"
11688
 
 
11689
 
# Old archive suffix (normally "a").
11690
 
libext="$libext"
11691
 
 
11692
 
# Shared library suffix (normally ".so").
11693
 
shrext_cmds='$shrext_cmds'
11694
 
 
11695
 
# Executable file suffix (normally "").
11696
 
exeext="$exeext"
11697
 
 
11698
 
# Additional compiler flags for building library objects.
11699
 
pic_flag=$lt_lt_prog_compiler_pic
11700
 
pic_mode=$pic_mode
11701
 
 
11702
 
# What is the maximum length of a command?
11703
 
max_cmd_len=$lt_cv_sys_max_cmd_len
11704
 
 
11705
 
# Does compiler simultaneously support -c and -o options?
11706
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11707
 
 
11708
 
# Must we lock files when doing compilation?
11709
 
need_locks=$lt_need_locks
11710
 
 
11711
 
# Do we need the lib prefix for modules?
11712
 
need_lib_prefix=$need_lib_prefix
11713
 
 
11714
 
# Do we need a version for libraries?
11715
 
need_version=$need_version
11716
 
 
11717
 
# Whether dlopen is supported.
11718
 
dlopen_support=$enable_dlopen
11719
 
 
11720
 
# Whether dlopen of programs is supported.
11721
 
dlopen_self=$enable_dlopen_self
11722
 
 
11723
 
# Whether dlopen of statically linked programs is supported.
11724
 
dlopen_self_static=$enable_dlopen_self_static
11725
 
 
11726
 
# Compiler flag to prevent dynamic linking.
11727
 
link_static_flag=$lt_lt_prog_compiler_static
11728
 
 
11729
 
# Compiler flag to turn off builtin functions.
11730
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11731
 
 
11732
 
# Compiler flag to allow reflexive dlopens.
11733
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11734
 
 
11735
 
# Compiler flag to generate shared objects directly from archives.
11736
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11737
 
 
11738
 
# Compiler flag to generate thread-safe objects.
11739
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11740
 
 
11741
 
# Library versioning type.
11742
 
version_type=$version_type
11743
 
 
11744
 
# Format of library name prefix.
11745
 
libname_spec=$lt_libname_spec
11746
 
 
11747
 
# List of archive names.  First name is the real one, the rest are links.
11748
 
# The last name is the one that the linker finds with -lNAME.
11749
 
library_names_spec=$lt_library_names_spec
11750
 
 
11751
 
# The coded name of the library, if different from the real name.
11752
 
soname_spec=$lt_soname_spec
11753
 
 
11754
 
# Commands used to build and install an old-style archive.
11755
 
RANLIB=$lt_RANLIB
11756
 
old_archive_cmds=$lt_old_archive_cmds
11757
 
old_postinstall_cmds=$lt_old_postinstall_cmds
11758
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11759
 
 
11760
 
# Create an old-style archive from a shared archive.
11761
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11762
 
 
11763
 
# Create a temporary old-style archive to link instead of a shared archive.
11764
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11765
 
 
11766
 
# Commands used to build and install a shared archive.
11767
 
archive_cmds=$lt_archive_cmds
11768
 
archive_expsym_cmds=$lt_archive_expsym_cmds
11769
 
postinstall_cmds=$lt_postinstall_cmds
11770
 
postuninstall_cmds=$lt_postuninstall_cmds
11771
 
 
11772
 
# Commands used to build a loadable module (assumed same as above if empty)
11773
 
module_cmds=$lt_module_cmds
11774
 
module_expsym_cmds=$lt_module_expsym_cmds
11775
 
 
11776
 
# Commands to strip libraries.
11777
 
old_striplib=$lt_old_striplib
11778
 
striplib=$lt_striplib
11779
 
 
11780
 
# Dependencies to place before the objects being linked to create a
11781
 
# shared library.
11782
 
predep_objects=$lt_predep_objects
11783
 
 
11784
 
# Dependencies to place after the objects being linked to create a
11785
 
# shared library.
11786
 
postdep_objects=$lt_postdep_objects
11787
 
 
11788
 
# Dependencies to place before the objects being linked to create a
11789
 
# shared library.
11790
 
predeps=$lt_predeps
11791
 
 
11792
 
# Dependencies to place after the objects being linked to create a
11793
 
# shared library.
11794
 
postdeps=$lt_postdeps
11795
 
 
11796
 
# The library search path used internally by the compiler when linking
11797
 
# a shared library.
11798
 
compiler_lib_search_path=$lt_compiler_lib_search_path
11799
 
 
11800
 
# Method to check whether dependent libraries are shared objects.
11801
 
deplibs_check_method=$lt_deplibs_check_method
11802
 
 
11803
 
# Command to use when deplibs_check_method == file_magic.
11804
 
file_magic_cmd=$lt_file_magic_cmd
11805
 
 
11806
 
# Flag that allows shared libraries with undefined symbols to be built.
11807
 
allow_undefined_flag=$lt_allow_undefined_flag
11808
 
 
11809
 
# Flag that forces no undefined symbols.
11810
 
no_undefined_flag=$lt_no_undefined_flag
11811
 
 
11812
 
# Commands used to finish a libtool library installation in a directory.
11813
 
finish_cmds=$lt_finish_cmds
11814
 
 
11815
 
# Same as above, but a single script fragment to be evaled but not shown.
11816
 
finish_eval=$lt_finish_eval
11817
 
 
11818
 
# Take the output of nm and produce a listing of raw symbols and C names.
11819
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11820
 
 
11821
 
# Transform the output of nm in a proper C declaration
11822
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11823
 
 
11824
 
# Transform the output of nm in a C name address pair
11825
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11826
 
 
11827
 
# This is the shared library runtime path variable.
11828
 
runpath_var=$runpath_var
11829
 
 
11830
 
# This is the shared library path variable.
11831
 
shlibpath_var=$shlibpath_var
11832
 
 
11833
 
# Is shlibpath searched before the hard-coded library search path?
11834
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11835
 
 
11836
 
# How to hardcode a shared library path into an executable.
11837
 
hardcode_action=$hardcode_action
11838
 
 
11839
 
# Whether we should hardcode library paths into libraries.
11840
 
hardcode_into_libs=$hardcode_into_libs
11841
 
 
11842
 
# Flag to hardcode \$libdir into a binary during linking.
11843
 
# This must work even if \$libdir does not exist.
11844
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11845
 
 
11846
 
# If ld is used when linking, flag to hardcode \$libdir into
11847
 
# a binary during linking. This must work even if \$libdir does
11848
 
# not exist.
11849
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11850
 
 
11851
 
# Whether we need a single -rpath flag with a separated argument.
11852
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11853
 
 
11854
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11855
 
# resulting binary.
11856
 
hardcode_direct=$hardcode_direct
11857
 
 
11858
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11859
 
# resulting binary.
11860
 
hardcode_minus_L=$hardcode_minus_L
11861
 
 
11862
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11863
 
# the resulting binary.
11864
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
11865
 
 
11866
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
11867
 
# and all subsequent libraries and executables linked against it.
11868
 
hardcode_automatic=$hardcode_automatic
11869
 
 
11870
 
# Variables whose values should be saved in libtool wrapper scripts and
11871
 
# restored at relink time.
11872
 
variables_saved_for_relink="$variables_saved_for_relink"
11873
 
 
11874
 
# Whether libtool must link a program against all its dependency libraries.
11875
 
link_all_deplibs=$link_all_deplibs
11876
 
 
11877
 
# Compile-time system search path for libraries
11878
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11879
 
 
11880
 
# Run-time system search path for libraries
11881
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11882
 
 
11883
 
# Fix the shell variable \$srcfile for the compiler.
11884
 
fix_srcfile_path=$lt_fix_srcfile_path
11885
 
 
11886
 
# Set to yes if exported symbols are required.
11887
 
always_export_symbols=$always_export_symbols
11888
 
 
11889
 
# The commands to list exported symbols.
11890
 
export_symbols_cmds=$lt_export_symbols_cmds
11891
 
 
11892
 
# The commands to extract the exported symbol list from a shared archive.
11893
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11894
 
 
11895
 
# Symbols that should not be listed in the preloaded symbols.
11896
 
exclude_expsyms=$lt_exclude_expsyms
11897
 
 
11898
 
# Symbols that must always be exported.
11899
 
include_expsyms=$lt_include_expsyms
11900
 
 
11901
 
# ### END LIBTOOL CONFIG
11902
 
 
11903
 
__EOF__
11904
 
 
11905
 
 
11906
 
  case $host_os in
11907
 
  aix3*)
11908
 
    cat <<\EOF >> "$cfgfile"
11909
 
 
11910
 
# AIX sometimes has problems with the GCC collect2 program.  For some
11911
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
11912
 
# vanish in a puff of smoke.
11913
 
if test "X${COLLECT_NAMES+set}" != Xset; then
11914
 
  COLLECT_NAMES=
11915
 
  export COLLECT_NAMES
11916
 
fi
11917
 
EOF
11918
 
    ;;
11919
 
  esac
11920
 
 
11921
 
  # We use sed instead of cat because bash on DJGPP gets confused if
11922
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11923
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
11924
 
  # is reportedly fixed, but why not run on old versions too?
11925
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11926
 
 
11927
 
  mv -f "$cfgfile" "$ofile" || \
11928
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11929
 
  chmod +x "$ofile"
11930
 
 
11931
 
else
11932
 
  # If there is no Makefile yet, we rely on a make rule to execute
11933
 
  # `config.status --recheck' to rerun these tests and create the
11934
 
  # libtool script then.
11935
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11936
 
  if test -f "$ltmain_in"; then
11937
 
    test -f Makefile && make "$ltmain"
11938
 
  fi
11939
 
fi
11940
 
 
11941
 
 
11942
 
ac_ext=c
11943
 
ac_cpp='$CPP $CPPFLAGS'
11944
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11945
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11946
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11947
 
 
11948
 
CC="$lt_save_CC"
11949
 
 
11950
 
 
11951
 
# Check whether --with-tags was given.
11952
 
if test "${with_tags+set}" = set; then
11953
 
  withval=$with_tags; tagnames="$withval"
11954
 
fi
11955
 
 
11956
 
 
11957
 
if test -f "$ltmain" && test -n "$tagnames"; then
11958
 
  if test ! -f "${ofile}"; then
11959
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11960
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11961
 
  fi
11962
 
 
11963
 
  if test -z "$LTCC"; then
11964
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11965
 
    if test -z "$LTCC"; then
11966
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11967
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11968
 
    else
11969
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11970
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11971
 
    fi
11972
 
  fi
11973
 
  if test -z "$LTCFLAGS"; then
11974
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11975
 
  fi
11976
 
 
11977
 
  # Extract list of available tagged configurations in $ofile.
11978
 
  # Note that this assumes the entire list is on one line.
11979
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11980
 
 
11981
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11982
 
  for tagname in $tagnames; do
11983
 
    IFS="$lt_save_ifs"
11984
 
    # Check whether tagname contains only valid characters
11985
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11986
 
    "") ;;
11987
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11988
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11989
 
   { (exit 1); exit 1; }; }
11990
 
        ;;
11991
 
    esac
11992
 
 
11993
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11994
 
    then
11995
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11996
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11997
 
   { (exit 1); exit 1; }; }
11998
 
    fi
11999
 
 
12000
 
    # Update the list of available tags.
12001
 
    if test -n "$tagname"; then
12002
 
      echo appending configuration tag \"$tagname\" to $ofile
12003
 
 
12004
 
      case $tagname in
12005
 
      CXX)
12006
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12007
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12008
 
            (test "X$CXX" != "Xg++"))) ; then
12009
 
          ac_ext=cpp
12010
 
ac_cpp='$CXXCPP $CPPFLAGS'
12011
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12012
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12013
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12014
 
 
12015
 
 
12016
 
 
12017
 
 
12018
 
archive_cmds_need_lc_CXX=no
12019
 
allow_undefined_flag_CXX=
12020
 
always_export_symbols_CXX=no
12021
 
archive_expsym_cmds_CXX=
12022
 
export_dynamic_flag_spec_CXX=
12023
 
hardcode_direct_CXX=no
12024
 
hardcode_libdir_flag_spec_CXX=
12025
 
hardcode_libdir_flag_spec_ld_CXX=
12026
 
hardcode_libdir_separator_CXX=
12027
 
hardcode_minus_L_CXX=no
12028
 
hardcode_shlibpath_var_CXX=unsupported
12029
 
hardcode_automatic_CXX=no
12030
 
module_cmds_CXX=
12031
 
module_expsym_cmds_CXX=
12032
 
link_all_deplibs_CXX=unknown
12033
 
old_archive_cmds_CXX=$old_archive_cmds
12034
 
no_undefined_flag_CXX=
12035
 
whole_archive_flag_spec_CXX=
12036
 
enable_shared_with_static_runtimes_CXX=no
12037
 
 
12038
 
# Dependencies to place before and after the object being linked:
12039
 
predep_objects_CXX=
12040
 
postdep_objects_CXX=
12041
 
predeps_CXX=
12042
 
postdeps_CXX=
12043
 
compiler_lib_search_path_CXX=
12044
 
 
12045
 
# Source file extension for C++ test sources.
12046
 
ac_ext=cpp
12047
 
 
12048
 
# Object file extension for compiled C++ test sources.
12049
 
objext=o
12050
 
objext_CXX=$objext
12051
 
 
12052
 
# Code to be used in simple compile tests
12053
 
lt_simple_compile_test_code="int some_variable = 0;"
12054
 
 
12055
 
# Code to be used in simple link tests
12056
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12057
 
 
12058
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12059
 
 
12060
 
# If no C compiler was specified, use CC.
12061
 
LTCC=${LTCC-"$CC"}
12062
 
 
12063
 
# If no C compiler flags were specified, use CFLAGS.
12064
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12065
 
 
12066
 
# Allow CC to be a program name with arguments.
12067
 
compiler=$CC
12068
 
 
12069
 
 
12070
 
# save warnings/boilerplate of simple test code
12071
 
ac_outfile=conftest.$ac_objext
12072
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12073
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12074
 
_lt_compiler_boilerplate=`cat conftest.err`
12075
 
$rm conftest*
12076
 
 
12077
 
ac_outfile=conftest.$ac_objext
12078
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12079
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12080
 
_lt_linker_boilerplate=`cat conftest.err`
12081
 
$rm conftest*
12082
 
 
12083
 
 
12084
 
# Allow CC to be a program name with arguments.
12085
 
lt_save_CC=$CC
12086
 
lt_save_LD=$LD
12087
 
lt_save_GCC=$GCC
12088
 
GCC=$GXX
12089
 
lt_save_with_gnu_ld=$with_gnu_ld
12090
 
lt_save_path_LD=$lt_cv_path_LD
12091
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12092
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12093
 
else
12094
 
  $as_unset lt_cv_prog_gnu_ld
12095
 
fi
12096
 
if test -n "${lt_cv_path_LDCXX+set}"; then
12097
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
12098
 
else
12099
 
  $as_unset lt_cv_path_LD
12100
 
fi
12101
 
test -z "${LDCXX+set}" || LD=$LDCXX
12102
 
CC=${CXX-"c++"}
12103
 
compiler=$CC
12104
 
compiler_CXX=$CC
12105
 
for cc_temp in $compiler""; do
12106
 
  case $cc_temp in
12107
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12108
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12109
 
    \-*) ;;
12110
 
    *) break;;
12111
 
  esac
12112
 
done
12113
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12114
 
 
12115
 
 
12116
 
# We don't want -fno-exception wen compiling C++ code, so set the
12117
 
# no_builtin_flag separately
12118
 
if test "$GXX" = yes; then
12119
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12120
 
else
12121
 
  lt_prog_compiler_no_builtin_flag_CXX=
12122
 
fi
12123
 
 
12124
 
if test "$GXX" = yes; then
12125
 
  # Set up default GNU C++ configuration
12126
 
 
12127
 
  
12128
 
# Check whether --with-gnu-ld was given.
12129
 
if test "${with_gnu_ld+set}" = set; then
12130
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12131
 
else
12132
 
  with_gnu_ld=no
12133
 
fi
12134
 
 
12135
 
ac_prog=ld
12136
 
if test "$GCC" = yes; then
12137
 
  # Check if gcc -print-prog-name=ld gives a path.
12138
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12139
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12140
 
  case $host in
12141
 
  *-*-mingw*)
12142
 
    # gcc leaves a trailing carriage return which upsets mingw
12143
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12144
 
  *)
12145
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12146
 
  esac
12147
 
  case $ac_prog in
12148
 
    # Accept absolute paths.
12149
 
    [\\/]* | ?:[\\/]*)
12150
 
      re_direlt='/[^/][^/]*/\.\./'
12151
 
      # Canonicalize the pathname of ld
12152
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12153
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12154
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12155
 
      done
12156
 
      test -z "$LD" && LD="$ac_prog"
12157
 
      ;;
12158
 
  "")
12159
 
    # If it fails, then pretend we aren't using GCC.
12160
 
    ac_prog=ld
12161
 
    ;;
12162
 
  *)
12163
 
    # If it is relative, then search for the first ld in PATH.
12164
 
    with_gnu_ld=unknown
12165
 
    ;;
12166
 
  esac
12167
 
elif test "$with_gnu_ld" = yes; then
12168
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
12169
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12170
 
else
12171
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12172
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12173
 
fi
12174
 
if test "${lt_cv_path_LD+set}" = set; then
12175
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12176
 
else
12177
 
  if test -z "$LD"; then
12178
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12179
 
  for ac_dir in $PATH; do
12180
 
    IFS="$lt_save_ifs"
12181
 
    test -z "$ac_dir" && ac_dir=.
12182
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12183
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
12184
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
12185
 
      # but apparently some variants of GNU ld only accept -v.
12186
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
12187
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12188
 
      *GNU* | *'with BFD'*)
12189
 
        test "$with_gnu_ld" != no && break
12190
 
        ;;
12191
 
      *)
12192
 
        test "$with_gnu_ld" != yes && break
12193
 
        ;;
12194
 
      esac
12195
 
    fi
12196
 
  done
12197
 
  IFS="$lt_save_ifs"
12198
 
else
12199
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12200
 
fi
12201
 
fi
12202
 
 
12203
 
LD="$lt_cv_path_LD"
12204
 
if test -n "$LD"; then
12205
 
  { echo "$as_me:$LINENO: result: $LD" >&5
12206
 
echo "${ECHO_T}$LD" >&6; }
12207
 
else
12208
 
  { echo "$as_me:$LINENO: result: no" >&5
12209
 
echo "${ECHO_T}no" >&6; }
12210
 
fi
12211
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12212
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12213
 
   { (exit 1); exit 1; }; }
12214
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12215
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12216
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12217
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12218
 
else
12219
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12220
 
case `$LD -v 2>&1 </dev/null` in
12221
 
*GNU* | *'with BFD'*)
12222
 
  lt_cv_prog_gnu_ld=yes
12223
 
  ;;
12224
 
*)
12225
 
  lt_cv_prog_gnu_ld=no
12226
 
  ;;
12227
 
esac
12228
 
fi
12229
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12230
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12231
 
with_gnu_ld=$lt_cv_prog_gnu_ld
12232
 
 
12233
 
 
12234
 
 
12235
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
12236
 
  # archiving commands below assume that GNU ld is being used.
12237
 
  if test "$with_gnu_ld" = yes; then
12238
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12239
 
    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'
12240
 
 
12241
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12242
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12243
 
 
12244
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
12245
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12246
 
    #     investigate it a little bit more. (MM)
12247
 
    wlarc='${wl}'
12248
 
 
12249
 
    # ancient GNU ld didn't support --whole-archive et. al.
12250
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12251
 
        grep 'no-whole-archive' > /dev/null; then
12252
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12253
 
    else
12254
 
      whole_archive_flag_spec_CXX=
12255
 
    fi
12256
 
  else
12257
 
    with_gnu_ld=no
12258
 
    wlarc=
12259
 
 
12260
 
    # A generic and very simple default shared library creation
12261
 
    # command for GNU C++ for the case where it uses the native
12262
 
    # linker, instead of GNU ld.  If possible, this setting should
12263
 
    # overridden to take advantage of the native linker features on
12264
 
    # the platform it is being used on.
12265
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12266
 
  fi
12267
 
 
12268
 
  # Commands to make compiler produce verbose output that lists
12269
 
  # what "hidden" libraries, object files and flags are used when
12270
 
  # linking a shared library.
12271
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12272
 
 
12273
 
else
12274
 
  GXX=no
12275
 
  with_gnu_ld=no
12276
 
  wlarc=
12277
 
fi
12278
 
 
12279
 
# PORTME: fill in a description of your system's C++ link characteristics
12280
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12281
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12282
 
ld_shlibs_CXX=yes
12283
 
case $host_os in
12284
 
  aix3*)
12285
 
    # FIXME: insert proper C++ library support
12286
 
    ld_shlibs_CXX=no
12287
 
    ;;
12288
 
  aix4* | aix5*)
12289
 
    if test "$host_cpu" = ia64; then
12290
 
      # On IA64, the linker does run time linking by default, so we don't
12291
 
      # have to do anything special.
12292
 
      aix_use_runtimelinking=no
12293
 
      exp_sym_flag='-Bexport'
12294
 
      no_entry_flag=""
12295
 
    else
12296
 
      aix_use_runtimelinking=no
12297
 
 
12298
 
      # Test if we are trying to use run time linking or normal
12299
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12300
 
      # need to do runtime linking.
12301
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12302
 
        for ld_flag in $LDFLAGS; do
12303
 
          case $ld_flag in
12304
 
          *-brtl*)
12305
 
            aix_use_runtimelinking=yes
12306
 
            break
12307
 
            ;;
12308
 
          esac
12309
 
        done
12310
 
        ;;
12311
 
      esac
12312
 
 
12313
 
      exp_sym_flag='-bexport'
12314
 
      no_entry_flag='-bnoentry'
12315
 
    fi
12316
 
 
12317
 
    # When large executables or shared objects are built, AIX ld can
12318
 
    # have problems creating the table of contents.  If linking a library
12319
 
    # or program results in "error TOC overflow" add -mminimal-toc to
12320
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12321
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12322
 
 
12323
 
    archive_cmds_CXX=''
12324
 
    hardcode_direct_CXX=yes
12325
 
    hardcode_libdir_separator_CXX=':'
12326
 
    link_all_deplibs_CXX=yes
12327
 
 
12328
 
    if test "$GXX" = yes; then
12329
 
      case $host_os in aix4.[012]|aix4.[012].*)
12330
 
      # We only want to do this on AIX 4.2 and lower, the check
12331
 
      # below for broken collect2 doesn't work under 4.3+
12332
 
        collect2name=`${CC} -print-prog-name=collect2`
12333
 
        if test -f "$collect2name" && \
12334
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12335
 
        then
12336
 
          # We have reworked collect2
12337
 
          :
12338
 
        else
12339
 
          # We have old collect2
12340
 
          hardcode_direct_CXX=unsupported
12341
 
          # It fails to find uninstalled libraries when the uninstalled
12342
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
12343
 
          # to unsupported forces relinking
12344
 
          hardcode_minus_L_CXX=yes
12345
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12346
 
          hardcode_libdir_separator_CXX=
12347
 
        fi
12348
 
        ;;
12349
 
      esac
12350
 
      shared_flag='-shared'
12351
 
      if test "$aix_use_runtimelinking" = yes; then
12352
 
        shared_flag="$shared_flag "'${wl}-G'
12353
 
      fi
12354
 
    else
12355
 
      # not using gcc
12356
 
      if test "$host_cpu" = ia64; then
12357
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12358
 
        # chokes on -Wl,-G. The following line is correct:
12359
 
        shared_flag='-G'
12360
 
      else
12361
 
        if test "$aix_use_runtimelinking" = yes; then
12362
 
          shared_flag='${wl}-G'
12363
 
        else
12364
 
          shared_flag='${wl}-bM:SRE'
12365
 
        fi
12366
 
      fi
12367
 
    fi
12368
 
 
12369
 
    # It seems that -bexpall does not export symbols beginning with
12370
 
    # underscore (_), so it is better to generate a list of symbols to export.
12371
 
    always_export_symbols_CXX=yes
12372
 
    if test "$aix_use_runtimelinking" = yes; then
12373
 
      # Warning - without using the other runtime loading flags (-brtl),
12374
 
      # -berok will link without error, but may produce a broken library.
12375
 
      allow_undefined_flag_CXX='-berok'
12376
 
      # Determine the default libpath from the value encoded in an empty executable.
12377
 
      cat >conftest.$ac_ext <<_ACEOF
12378
 
/* confdefs.h.  */
12379
 
_ACEOF
12380
 
cat confdefs.h >>conftest.$ac_ext
12381
 
cat >>conftest.$ac_ext <<_ACEOF
12382
 
/* end confdefs.h.  */
12383
 
 
12384
 
int
12385
 
main ()
12386
 
{
12387
 
 
12388
 
  ;
12389
 
  return 0;
12390
 
}
12391
 
_ACEOF
12392
 
rm -f conftest.$ac_objext conftest$ac_exeext
12393
 
if { (ac_try="$ac_link"
12394
 
case "(($ac_try" in
12395
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12396
 
  *) ac_try_echo=$ac_try;;
12397
 
esac
12398
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12399
 
  (eval "$ac_link") 2>conftest.er1
12400
 
  ac_status=$?
12401
 
  grep -v '^ *+' conftest.er1 >conftest.err
12402
 
  rm -f conftest.er1
12403
 
  cat conftest.err >&5
12404
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405
 
  (exit $ac_status); } && {
12406
 
         test -z "$ac_cxx_werror_flag" ||
12407
 
         test ! -s conftest.err
12408
 
       } && test -s conftest$ac_exeext &&
12409
 
       $as_test_x conftest$ac_exeext; then
12410
 
  
12411
 
lt_aix_libpath_sed='
12412
 
    /Import File Strings/,/^$/ {
12413
 
        /^0/ {
12414
 
            s/^0  *\(.*\)$/\1/
12415
 
            p
12416
 
        }
12417
 
    }'
12418
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12419
 
# Check for a 64-bit object if we didn't find anything.
12420
 
if test -z "$aix_libpath"; then
12421
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12422
 
fi
12423
 
else
12424
 
  echo "$as_me: failed program was:" >&5
12425
 
sed 's/^/| /' conftest.$ac_ext >&5
12426
 
 
12427
 
        
12428
 
fi
12429
 
 
12430
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12431
 
      conftest$ac_exeext conftest.$ac_ext
12432
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12433
 
 
12434
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12435
 
 
12436
 
      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"
12437
 
     else
12438
 
      if test "$host_cpu" = ia64; then
12439
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12440
 
        allow_undefined_flag_CXX="-z nodefs"
12441
 
        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"
12442
 
      else
12443
 
        # Determine the default libpath from the value encoded in an empty executable.
12444
 
        cat >conftest.$ac_ext <<_ACEOF
12445
 
/* confdefs.h.  */
12446
 
_ACEOF
12447
 
cat confdefs.h >>conftest.$ac_ext
12448
 
cat >>conftest.$ac_ext <<_ACEOF
12449
 
/* end confdefs.h.  */
12450
 
 
12451
 
int
12452
 
main ()
12453
 
{
12454
 
 
12455
 
  ;
12456
 
  return 0;
12457
 
}
12458
 
_ACEOF
12459
 
rm -f conftest.$ac_objext conftest$ac_exeext
12460
 
if { (ac_try="$ac_link"
12461
 
case "(($ac_try" in
12462
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12463
 
  *) ac_try_echo=$ac_try;;
12464
 
esac
12465
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12466
 
  (eval "$ac_link") 2>conftest.er1
12467
 
  ac_status=$?
12468
 
  grep -v '^ *+' conftest.er1 >conftest.err
12469
 
  rm -f conftest.er1
12470
 
  cat conftest.err >&5
12471
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472
 
  (exit $ac_status); } && {
12473
 
         test -z "$ac_cxx_werror_flag" ||
12474
 
         test ! -s conftest.err
12475
 
       } && test -s conftest$ac_exeext &&
12476
 
       $as_test_x conftest$ac_exeext; then
12477
 
  
12478
 
lt_aix_libpath_sed='
12479
 
    /Import File Strings/,/^$/ {
12480
 
        /^0/ {
12481
 
            s/^0  *\(.*\)$/\1/
12482
 
            p
12483
 
        }
12484
 
    }'
12485
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12486
 
# Check for a 64-bit object if we didn't find anything.
12487
 
if test -z "$aix_libpath"; then
12488
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12489
 
fi
12490
 
else
12491
 
  echo "$as_me: failed program was:" >&5
12492
 
sed 's/^/| /' conftest.$ac_ext >&5
12493
 
 
12494
 
        
12495
 
fi
12496
 
 
12497
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12498
 
      conftest$ac_exeext conftest.$ac_ext
12499
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12500
 
 
12501
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12502
 
        # Warning - without using the other run time loading flags,
12503
 
        # -berok will link without error, but may produce a broken library.
12504
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
12505
 
        allow_undefined_flag_CXX=' ${wl}-berok'
12506
 
        # Exported symbols can be pulled into shared objects from archives
12507
 
        whole_archive_flag_spec_CXX='$convenience'
12508
 
        archive_cmds_need_lc_CXX=yes
12509
 
        # This is similar to how AIX traditionally builds its shared libraries.
12510
 
        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'
12511
 
      fi
12512
 
    fi
12513
 
    ;;
12514
 
 
12515
 
  beos*)
12516
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12517
 
      allow_undefined_flag_CXX=unsupported
12518
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12519
 
      # support --undefined.  This deserves some investigation.  FIXME
12520
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12521
 
    else
12522
 
      ld_shlibs_CXX=no
12523
 
    fi
12524
 
    ;;
12525
 
 
12526
 
  chorus*)
12527
 
    case $cc_basename in
12528
 
      *)
12529
 
        # FIXME: insert proper C++ library support
12530
 
        ld_shlibs_CXX=no
12531
 
        ;;
12532
 
    esac
12533
 
    ;;
12534
 
 
12535
 
  cygwin* | mingw* | pw32*)
12536
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12537
 
    # as there is no search path for DLLs.
12538
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
12539
 
    allow_undefined_flag_CXX=unsupported
12540
 
    always_export_symbols_CXX=no
12541
 
    enable_shared_with_static_runtimes_CXX=yes
12542
 
 
12543
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12544
 
      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'
12545
 
      # If the export-symbols file already is a .def file (1st line
12546
 
      # is EXPORTS), use it as is; otherwise, prepend...
12547
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12548
 
        cp $export_symbols $output_objdir/$soname.def;
12549
 
      else
12550
 
        echo EXPORTS > $output_objdir/$soname.def;
12551
 
        cat $export_symbols >> $output_objdir/$soname.def;
12552
 
      fi~
12553
 
      $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'
12554
 
    else
12555
 
      ld_shlibs_CXX=no
12556
 
    fi
12557
 
  ;;
12558
 
      darwin* | rhapsody*)
12559
 
        case $host_os in
12560
 
        rhapsody* | darwin1.[012])
12561
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12562
 
         ;;
12563
 
       *) # Darwin 1.3 on
12564
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12565
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12566
 
         else
12567
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12568
 
             10.[012])
12569
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12570
 
               ;;
12571
 
             10.*)
12572
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12573
 
               ;;
12574
 
           esac
12575
 
         fi
12576
 
         ;;
12577
 
        esac
12578
 
      archive_cmds_need_lc_CXX=no
12579
 
      hardcode_direct_CXX=no
12580
 
      hardcode_automatic_CXX=yes
12581
 
      hardcode_shlibpath_var_CXX=unsupported
12582
 
      whole_archive_flag_spec_CXX=''
12583
 
      link_all_deplibs_CXX=yes
12584
 
 
12585
 
    if test "$GXX" = yes ; then
12586
 
      lt_int_apple_cc_single_mod=no
12587
 
      output_verbose_link_cmd='echo'
12588
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12589
 
       lt_int_apple_cc_single_mod=yes
12590
 
      fi
12591
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12592
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12593
 
      else
12594
 
          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'
12595
 
        fi
12596
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12597
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12598
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12599
 
            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}'
12600
 
          else
12601
 
            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}'
12602
 
          fi
12603
 
            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}'
12604
 
      else
12605
 
      case $cc_basename in
12606
 
        xlc*)
12607
 
         output_verbose_link_cmd='echo'
12608
 
          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'
12609
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12610
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12611
 
          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}'
12612
 
          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}'
12613
 
          ;;
12614
 
       *)
12615
 
         ld_shlibs_CXX=no
12616
 
          ;;
12617
 
      esac
12618
 
      fi
12619
 
        ;;
12620
 
 
12621
 
  dgux*)
12622
 
    case $cc_basename in
12623
 
      ec++*)
12624
 
        # FIXME: insert proper C++ library support
12625
 
        ld_shlibs_CXX=no
12626
 
        ;;
12627
 
      ghcx*)
12628
 
        # Green Hills C++ Compiler
12629
 
        # FIXME: insert proper C++ library support
12630
 
        ld_shlibs_CXX=no
12631
 
        ;;
12632
 
      *)
12633
 
        # FIXME: insert proper C++ library support
12634
 
        ld_shlibs_CXX=no
12635
 
        ;;
12636
 
    esac
12637
 
    ;;
12638
 
  freebsd[12]*)
12639
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
12640
 
    ld_shlibs_CXX=no
12641
 
    ;;
12642
 
  freebsd-elf*)
12643
 
    archive_cmds_need_lc_CXX=no
12644
 
    ;;
12645
 
  freebsd* | dragonfly*)
12646
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12647
 
    # conventions
12648
 
    ld_shlibs_CXX=yes
12649
 
    ;;
12650
 
  gnu*)
12651
 
    ;;
12652
 
  hpux9*)
12653
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12654
 
    hardcode_libdir_separator_CXX=:
12655
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12656
 
    hardcode_direct_CXX=yes
12657
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
12658
 
                                # but as the default
12659
 
                                # location of the library.
12660
 
 
12661
 
    case $cc_basename in
12662
 
    CC*)
12663
 
      # FIXME: insert proper C++ library support
12664
 
      ld_shlibs_CXX=no
12665
 
      ;;
12666
 
    aCC*)
12667
 
      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'
12668
 
      # Commands to make compiler produce verbose output that lists
12669
 
      # what "hidden" libraries, object files and flags are used when
12670
 
      # linking a shared library.
12671
 
      #
12672
 
      # There doesn't appear to be a way to prevent this compiler from
12673
 
      # explicitly linking system object files so we need to strip them
12674
 
      # from the output so that they don't get included in the library
12675
 
      # dependencies.
12676
 
      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'
12677
 
      ;;
12678
 
    *)
12679
 
      if test "$GXX" = yes; then
12680
 
        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'
12681
 
      else
12682
 
        # FIXME: insert proper C++ library support
12683
 
        ld_shlibs_CXX=no
12684
 
      fi
12685
 
      ;;
12686
 
    esac
12687
 
    ;;
12688
 
  hpux10*|hpux11*)
12689
 
    if test $with_gnu_ld = no; then
12690
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12691
 
      hardcode_libdir_separator_CXX=:
12692
 
 
12693
 
      case $host_cpu in
12694
 
      hppa*64*|ia64*) ;;
12695
 
      *)
12696
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12697
 
        ;;
12698
 
      esac
12699
 
    fi
12700
 
    case $host_cpu in
12701
 
    hppa*64*|ia64*)
12702
 
      hardcode_direct_CXX=no
12703
 
      hardcode_shlibpath_var_CXX=no
12704
 
      ;;
12705
 
    *)
12706
 
      hardcode_direct_CXX=yes
12707
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
12708
 
                                              # but as the default
12709
 
                                              # location of the library.
12710
 
      ;;
12711
 
    esac
12712
 
 
12713
 
    case $cc_basename in
12714
 
      CC*)
12715
 
        # FIXME: insert proper C++ library support
12716
 
        ld_shlibs_CXX=no
12717
 
        ;;
12718
 
      aCC*)
12719
 
        case $host_cpu in
12720
 
        hppa*64*)
12721
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12722
 
          ;;
12723
 
        ia64*)
12724
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12725
 
          ;;
12726
 
        *)
12727
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12728
 
          ;;
12729
 
        esac
12730
 
        # Commands to make compiler produce verbose output that lists
12731
 
        # what "hidden" libraries, object files and flags are used when
12732
 
        # linking a shared library.
12733
 
        #
12734
 
        # There doesn't appear to be a way to prevent this compiler from
12735
 
        # explicitly linking system object files so we need to strip them
12736
 
        # from the output so that they don't get included in the library
12737
 
        # dependencies.
12738
 
        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'
12739
 
        ;;
12740
 
      *)
12741
 
        if test "$GXX" = yes; then
12742
 
          if test $with_gnu_ld = no; then
12743
 
            case $host_cpu in
12744
 
            hppa*64*)
12745
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12746
 
              ;;
12747
 
            ia64*)
12748
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12749
 
              ;;
12750
 
            *)
12751
 
              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'
12752
 
              ;;
12753
 
            esac
12754
 
          fi
12755
 
        else
12756
 
          # FIXME: insert proper C++ library support
12757
 
          ld_shlibs_CXX=no
12758
 
        fi
12759
 
        ;;
12760
 
    esac
12761
 
    ;;
12762
 
  interix[3-9]*)
12763
 
    hardcode_direct_CXX=no
12764
 
    hardcode_shlibpath_var_CXX=no
12765
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12766
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12767
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12768
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
12769
 
    # default) and relocated if they conflict, which is a slow very memory
12770
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
12771
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12772
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12773
 
    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'
12774
 
    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'
12775
 
    ;;
12776
 
  irix5* | irix6*)
12777
 
    case $cc_basename in
12778
 
      CC*)
12779
 
        # SGI C++
12780
 
        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'
12781
 
 
12782
 
        # Archives containing C++ object files must be created using
12783
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12784
 
        # necessary to make sure instantiated templates are included
12785
 
        # in the archive.
12786
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12787
 
        ;;
12788
 
      *)
12789
 
        if test "$GXX" = yes; then
12790
 
          if test "$with_gnu_ld" = no; then
12791
 
            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'
12792
 
          else
12793
 
            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'
12794
 
          fi
12795
 
        fi
12796
 
        link_all_deplibs_CXX=yes
12797
 
        ;;
12798
 
    esac
12799
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12800
 
    hardcode_libdir_separator_CXX=:
12801
 
    ;;
12802
 
  linux* | k*bsd*-gnu)
12803
 
    case $cc_basename in
12804
 
      KCC*)
12805
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12806
 
 
12807
 
        # KCC will only create a shared library if the output file
12808
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12809
 
        # to its proper name (with version) after linking.
12810
 
        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'
12811
 
        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'
12812
 
        # Commands to make compiler produce verbose output that lists
12813
 
        # what "hidden" libraries, object files and flags are used when
12814
 
        # linking a shared library.
12815
 
        #
12816
 
        # There doesn't appear to be a way to prevent this compiler from
12817
 
        # explicitly linking system object files so we need to strip them
12818
 
        # from the output so that they don't get included in the library
12819
 
        # dependencies.
12820
 
        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'
12821
 
 
12822
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12823
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12824
 
 
12825
 
        # Archives containing C++ object files must be created using
12826
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12827
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12828
 
        ;;
12829
 
      icpc*)
12830
 
        # Intel C++
12831
 
        with_gnu_ld=yes
12832
 
        # version 8.0 and above of icpc choke on multiply defined symbols
12833
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
12834
 
        # earlier do not add the objects themselves.
12835
 
        case `$CC -V 2>&1` in
12836
 
        *"Version 7."*)
12837
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12838
 
          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'
12839
 
          ;;
12840
 
        *)  # Version 8.0 or newer
12841
 
          tmp_idyn=
12842
 
          case $host_cpu in
12843
 
            ia64*) tmp_idyn=' -i_dynamic';;
12844
 
          esac
12845
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12846
 
          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'
12847
 
          ;;
12848
 
        esac
12849
 
        archive_cmds_need_lc_CXX=no
12850
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12851
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12852
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12853
 
        ;;
12854
 
      pgCC*)
12855
 
        # Portland Group C++ compiler
12856
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12857
 
        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'
12858
 
 
12859
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12860
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12861
 
        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'
12862
 
        ;;
12863
 
      cxx*)
12864
 
        # Compaq C++
12865
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12866
 
        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'
12867
 
 
12868
 
        runpath_var=LD_RUN_PATH
12869
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12870
 
        hardcode_libdir_separator_CXX=:
12871
 
 
12872
 
        # Commands to make compiler produce verbose output that lists
12873
 
        # what "hidden" libraries, object files and flags are used when
12874
 
        # linking a shared library.
12875
 
        #
12876
 
        # There doesn't appear to be a way to prevent this compiler from
12877
 
        # explicitly linking system object files so we need to strip them
12878
 
        # from the output so that they don't get included in the library
12879
 
        # dependencies.
12880
 
        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'
12881
 
        ;;
12882
 
      *)
12883
 
        case `$CC -V 2>&1 | sed 5q` in
12884
 
        *Sun\ C*)
12885
 
          # Sun C++ 5.9
12886
 
          no_undefined_flag_CXX=' -zdefs'
12887
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12888
 
          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'
12889
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12890
 
          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'
12891
 
 
12892
 
          # Not sure whether something based on
12893
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12894
 
          # would be better.
12895
 
          output_verbose_link_cmd='echo'
12896
 
 
12897
 
          # Archives containing C++ object files must be created using
12898
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12899
 
          # necessary to make sure instantiated templates are included
12900
 
          # in the archive.
12901
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12902
 
          ;;
12903
 
        esac
12904
 
        ;;
12905
 
    esac
12906
 
    ;;
12907
 
  lynxos*)
12908
 
    # FIXME: insert proper C++ library support
12909
 
    ld_shlibs_CXX=no
12910
 
    ;;
12911
 
  m88k*)
12912
 
    # FIXME: insert proper C++ library support
12913
 
    ld_shlibs_CXX=no
12914
 
    ;;
12915
 
  mvs*)
12916
 
    case $cc_basename in
12917
 
      cxx*)
12918
 
        # FIXME: insert proper C++ library support
12919
 
        ld_shlibs_CXX=no
12920
 
        ;;
12921
 
      *)
12922
 
        # FIXME: insert proper C++ library support
12923
 
        ld_shlibs_CXX=no
12924
 
        ;;
12925
 
    esac
12926
 
    ;;
12927
 
  netbsd* | netbsdelf*-gnu)
12928
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12929
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12930
 
      wlarc=
12931
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
12932
 
      hardcode_direct_CXX=yes
12933
 
      hardcode_shlibpath_var_CXX=no
12934
 
    fi
12935
 
    # Workaround some broken pre-1.5 toolchains
12936
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12937
 
    ;;
12938
 
  openbsd2*)
12939
 
    # C++ shared libraries are fairly broken
12940
 
    ld_shlibs_CXX=no
12941
 
    ;;
12942
 
  openbsd*)
12943
 
    if test -f /usr/libexec/ld.so; then
12944
 
      hardcode_direct_CXX=yes
12945
 
      hardcode_shlibpath_var_CXX=no
12946
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12947
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12948
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12949
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12950
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12951
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12952
 
      fi
12953
 
      output_verbose_link_cmd='echo'
12954
 
    else
12955
 
      ld_shlibs_CXX=no
12956
 
    fi
12957
 
    ;;
12958
 
  osf3*)
12959
 
    case $cc_basename in
12960
 
      KCC*)
12961
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12962
 
 
12963
 
        # KCC will only create a shared library if the output file
12964
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12965
 
        # to its proper name (with version) after linking.
12966
 
        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'
12967
 
 
12968
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12969
 
        hardcode_libdir_separator_CXX=:
12970
 
 
12971
 
        # Archives containing C++ object files must be created using
12972
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12973
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12974
 
 
12975
 
        ;;
12976
 
      RCC*)
12977
 
        # Rational C++ 2.4.1
12978
 
        # FIXME: insert proper C++ library support
12979
 
        ld_shlibs_CXX=no
12980
 
        ;;
12981
 
      cxx*)
12982
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12983
 
        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'
12984
 
 
12985
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12986
 
        hardcode_libdir_separator_CXX=:
12987
 
 
12988
 
        # Commands to make compiler produce verbose output that lists
12989
 
        # what "hidden" libraries, object files and flags are used when
12990
 
        # linking a shared library.
12991
 
        #
12992
 
        # There doesn't appear to be a way to prevent this compiler from
12993
 
        # explicitly linking system object files so we need to strip them
12994
 
        # from the output so that they don't get included in the library
12995
 
        # dependencies.
12996
 
        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'
12997
 
        ;;
12998
 
      *)
12999
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13000
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13001
 
          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'
13002
 
 
13003
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13004
 
          hardcode_libdir_separator_CXX=:
13005
 
 
13006
 
          # Commands to make compiler produce verbose output that lists
13007
 
          # what "hidden" libraries, object files and flags are used when
13008
 
          # linking a shared library.
13009
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13010
 
 
13011
 
        else
13012
 
          # FIXME: insert proper C++ library support
13013
 
          ld_shlibs_CXX=no
13014
 
        fi
13015
 
        ;;
13016
 
    esac
13017
 
    ;;
13018
 
  osf4* | osf5*)
13019
 
    case $cc_basename in
13020
 
      KCC*)
13021
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13022
 
 
13023
 
        # KCC will only create a shared library if the output file
13024
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13025
 
        # to its proper name (with version) after linking.
13026
 
        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'
13027
 
 
13028
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13029
 
        hardcode_libdir_separator_CXX=:
13030
 
 
13031
 
        # Archives containing C++ object files must be created using
13032
 
        # the KAI C++ compiler.
13033
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13034
 
        ;;
13035
 
      RCC*)
13036
 
        # Rational C++ 2.4.1
13037
 
        # FIXME: insert proper C++ library support
13038
 
        ld_shlibs_CXX=no
13039
 
        ;;
13040
 
      cxx*)
13041
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
13042
 
        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'
13043
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13044
 
          echo "-hidden">> $lib.exp~
13045
 
          $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~
13046
 
          $rm $lib.exp'
13047
 
 
13048
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13049
 
        hardcode_libdir_separator_CXX=:
13050
 
 
13051
 
        # Commands to make compiler produce verbose output that lists
13052
 
        # what "hidden" libraries, object files and flags are used when
13053
 
        # linking a shared library.
13054
 
        #
13055
 
        # There doesn't appear to be a way to prevent this compiler from
13056
 
        # explicitly linking system object files so we need to strip them
13057
 
        # from the output so that they don't get included in the library
13058
 
        # dependencies.
13059
 
        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'
13060
 
        ;;
13061
 
      *)
13062
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13063
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13064
 
         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'
13065
 
 
13066
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13067
 
          hardcode_libdir_separator_CXX=:
13068
 
 
13069
 
          # Commands to make compiler produce verbose output that lists
13070
 
          # what "hidden" libraries, object files and flags are used when
13071
 
          # linking a shared library.
13072
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13073
 
 
13074
 
        else
13075
 
          # FIXME: insert proper C++ library support
13076
 
          ld_shlibs_CXX=no
13077
 
        fi
13078
 
        ;;
13079
 
    esac
13080
 
    ;;
13081
 
  psos*)
13082
 
    # FIXME: insert proper C++ library support
13083
 
    ld_shlibs_CXX=no
13084
 
    ;;
13085
 
  sunos4*)
13086
 
    case $cc_basename in
13087
 
      CC*)
13088
 
        # Sun C++ 4.x
13089
 
        # FIXME: insert proper C++ library support
13090
 
        ld_shlibs_CXX=no
13091
 
        ;;
13092
 
      lcc*)
13093
 
        # Lucid
13094
 
        # FIXME: insert proper C++ library support
13095
 
        ld_shlibs_CXX=no
13096
 
        ;;
13097
 
      *)
13098
 
        # FIXME: insert proper C++ library support
13099
 
        ld_shlibs_CXX=no
13100
 
        ;;
13101
 
    esac
13102
 
    ;;
13103
 
  solaris*)
13104
 
    case $cc_basename in
13105
 
      CC*)
13106
 
        # Sun C++ 4.2, 5.x and Centerline C++
13107
 
        archive_cmds_need_lc_CXX=yes
13108
 
        no_undefined_flag_CXX=' -zdefs'
13109
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13110
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13111
 
        $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'
13112
 
 
13113
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
13114
 
        hardcode_shlibpath_var_CXX=no
13115
 
        case $host_os in
13116
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13117
 
          *)
13118
 
            # The compiler driver will combine and reorder linker options,
13119
 
            # but understands `-z linker_flag'.
13120
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13121
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13122
 
            ;;
13123
 
        esac
13124
 
        link_all_deplibs_CXX=yes
13125
 
 
13126
 
        output_verbose_link_cmd='echo'
13127
 
 
13128
 
        # Archives containing C++ object files must be created using
13129
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13130
 
        # necessary to make sure instantiated templates are included
13131
 
        # in the archive.
13132
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13133
 
        ;;
13134
 
      gcx*)
13135
 
        # Green Hills C++ Compiler
13136
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13137
 
 
13138
 
        # The C++ compiler must be used to create the archive.
13139
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13140
 
        ;;
13141
 
      *)
13142
 
        # GNU C++ compiler with Solaris linker
13143
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13144
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13145
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
13146
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13147
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13148
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13149
 
 
13150
 
            # Commands to make compiler produce verbose output that lists
13151
 
            # what "hidden" libraries, object files and flags are used when
13152
 
            # linking a shared library.
13153
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13154
 
          else
13155
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
13156
 
            # platform.
13157
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13158
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13159
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13160
 
 
13161
 
            # Commands to make compiler produce verbose output that lists
13162
 
            # what "hidden" libraries, object files and flags are used when
13163
 
            # linking a shared library.
13164
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13165
 
          fi
13166
 
 
13167
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13168
 
          case $host_os in
13169
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13170
 
          *)
13171
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13172
 
            ;;
13173
 
          esac
13174
 
        fi
13175
 
        ;;
13176
 
    esac
13177
 
    ;;
13178
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13179
 
    no_undefined_flag_CXX='${wl}-z,text'
13180
 
    archive_cmds_need_lc_CXX=no
13181
 
    hardcode_shlibpath_var_CXX=no
13182
 
    runpath_var='LD_RUN_PATH'
13183
 
 
13184
 
    case $cc_basename in
13185
 
      CC*)
13186
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13187
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13188
 
        ;;
13189
 
      *)
13190
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13191
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13192
 
        ;;
13193
 
    esac
13194
 
    ;;
13195
 
  sysv5* | sco3.2v5* | sco5v6*)
13196
 
    # Note: We can NOT use -z defs as we might desire, because we do not
13197
 
    # link with -lc, and that would cause any symbols used from libc to
13198
 
    # always be unresolved, which means just about no library would
13199
 
    # ever link correctly.  If we're not using GNU ld we use -z text
13200
 
    # though, which does catch some bad symbols but isn't as heavy-handed
13201
 
    # as -z defs.
13202
 
    # For security reasons, it is highly recommended that you always
13203
 
    # use absolute paths for naming shared libraries, and exclude the
13204
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
13205
 
    # requires that you compile everything twice, which is a pain.
13206
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
13207
 
    # non-empty value in the environment.  Most likely only useful for
13208
 
    # creating official distributions of packages.
13209
 
    # This is a hack until libtool officially supports absolute path
13210
 
    # names for shared libraries.
13211
 
    no_undefined_flag_CXX='${wl}-z,text'
13212
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
13213
 
    archive_cmds_need_lc_CXX=no
13214
 
    hardcode_shlibpath_var_CXX=no
13215
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13216
 
    hardcode_libdir_separator_CXX=':'
13217
 
    link_all_deplibs_CXX=yes
13218
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
13219
 
    runpath_var='LD_RUN_PATH'
13220
 
 
13221
 
    case $cc_basename in
13222
 
      CC*)
13223
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13224
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13225
 
        ;;
13226
 
      *)
13227
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13228
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13229
 
        ;;
13230
 
    esac
13231
 
    ;;
13232
 
  tandem*)
13233
 
    case $cc_basename in
13234
 
      NCC*)
13235
 
        # NonStop-UX NCC 3.20
13236
 
        # FIXME: insert proper C++ library support
13237
 
        ld_shlibs_CXX=no
13238
 
        ;;
13239
 
      *)
13240
 
        # FIXME: insert proper C++ library support
13241
 
        ld_shlibs_CXX=no
13242
 
        ;;
13243
 
    esac
13244
 
    ;;
13245
 
  vxworks*)
13246
 
    # FIXME: insert proper C++ library support
13247
 
    ld_shlibs_CXX=no
13248
 
    ;;
13249
 
  *)
13250
 
    # FIXME: insert proper C++ library support
13251
 
    ld_shlibs_CXX=no
13252
 
    ;;
13253
 
esac
13254
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13255
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13256
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13257
 
 
13258
 
GCC_CXX="$GXX"
13259
 
LD_CXX="$LD"
13260
 
 
13261
 
## CAVEAT EMPTOR:
13262
 
## There is no encapsulation within the following macros, do not change
13263
 
## the running order or otherwise move them around unless you know exactly
13264
 
## what you are doing...
13265
 
 
13266
 
cat > conftest.$ac_ext <<EOF
13267
 
class Foo
13268
 
{
13269
 
public:
13270
 
  Foo (void) { a = 0; }
13271
 
private:
13272
 
  int a;
13273
 
};
13274
 
EOF
13275
 
 
13276
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13277
 
  (eval $ac_compile) 2>&5
13278
 
  ac_status=$?
13279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280
 
  (exit $ac_status); }; then
13281
 
  # Parse the compiler output and extract the necessary
13282
 
  # objects, libraries and library flags.
13283
 
 
13284
 
  # Sentinel used to keep track of whether or not we are before
13285
 
  # the conftest object file.
13286
 
  pre_test_object_deps_done=no
13287
 
 
13288
 
  # The `*' in the case matches for architectures that use `case' in
13289
 
  # $output_verbose_cmd can trigger glob expansion during the loop
13290
 
  # eval without this substitution.
13291
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13292
 
 
13293
 
  for p in `eval $output_verbose_link_cmd`; do
13294
 
    case $p in
13295
 
 
13296
 
    -L* | -R* | -l*)
13297
 
       # Some compilers place space between "-{L,R}" and the path.
13298
 
       # Remove the space.
13299
 
       if test $p = "-L" \
13300
 
          || test $p = "-R"; then
13301
 
         prev=$p
13302
 
         continue
13303
 
       else
13304
 
         prev=
13305
 
       fi
13306
 
 
13307
 
       if test "$pre_test_object_deps_done" = no; then
13308
 
         case $p in
13309
 
         -L* | -R*)
13310
 
           # Internal compiler library paths should come after those
13311
 
           # provided the user.  The postdeps already come after the
13312
 
           # user supplied libs so there is no need to process them.
13313
 
           if test -z "$compiler_lib_search_path_CXX"; then
13314
 
             compiler_lib_search_path_CXX="${prev}${p}"
13315
 
           else
13316
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13317
 
           fi
13318
 
           ;;
13319
 
         # The "-l" case would never come before the object being
13320
 
         # linked, so don't bother handling this case.
13321
 
         esac
13322
 
       else
13323
 
         if test -z "$postdeps_CXX"; then
13324
 
           postdeps_CXX="${prev}${p}"
13325
 
         else
13326
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13327
 
         fi
13328
 
       fi
13329
 
       ;;
13330
 
 
13331
 
    *.$objext)
13332
 
       # This assumes that the test object file only shows up
13333
 
       # once in the compiler output.
13334
 
       if test "$p" = "conftest.$objext"; then
13335
 
         pre_test_object_deps_done=yes
13336
 
         continue
13337
 
       fi
13338
 
 
13339
 
       if test "$pre_test_object_deps_done" = no; then
13340
 
         if test -z "$predep_objects_CXX"; then
13341
 
           predep_objects_CXX="$p"
13342
 
         else
13343
 
           predep_objects_CXX="$predep_objects_CXX $p"
13344
 
         fi
13345
 
       else
13346
 
         if test -z "$postdep_objects_CXX"; then
13347
 
           postdep_objects_CXX="$p"
13348
 
         else
13349
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13350
 
         fi
13351
 
       fi
13352
 
       ;;
13353
 
 
13354
 
    *) ;; # Ignore the rest.
13355
 
 
13356
 
    esac
13357
 
  done
13358
 
 
13359
 
  # Clean up.
13360
 
  rm -f a.out a.exe
13361
 
else
13362
 
  echo "libtool.m4: error: problem compiling CXX test program"
13363
 
fi
13364
 
 
13365
 
$rm -f confest.$objext
13366
 
 
13367
 
# PORTME: override above test on systems where it is broken
13368
 
case $host_os in
13369
 
interix[3-9]*)
13370
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13371
 
  # hack all around it, let's just trust "g++" to DTRT.
13372
 
  predep_objects_CXX=
13373
 
  postdep_objects_CXX=
13374
 
  postdeps_CXX=
13375
 
  ;;
13376
 
 
13377
 
linux*)
13378
 
  case `$CC -V 2>&1 | sed 5q` in
13379
 
  *Sun\ C*)
13380
 
    # Sun C++ 5.9
13381
 
    #
13382
 
    # The more standards-conforming stlport4 library is
13383
 
    # incompatible with the Cstd library. Avoid specifying
13384
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13385
 
    # -library=stlport4 depends on it.
13386
 
    case " $CXX $CXXFLAGS " in
13387
 
    *" -library=stlport4 "*)
13388
 
      solaris_use_stlport4=yes
13389
 
      ;;
13390
 
    esac
13391
 
    if test "$solaris_use_stlport4" != yes; then
13392
 
      postdeps_CXX='-library=Cstd -library=Crun'
13393
 
    fi
13394
 
    ;;
13395
 
  esac
13396
 
  ;;
13397
 
 
13398
 
solaris*)
13399
 
  case $cc_basename in
13400
 
  CC*)
13401
 
    # The more standards-conforming stlport4 library is
13402
 
    # incompatible with the Cstd library. Avoid specifying
13403
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13404
 
    # -library=stlport4 depends on it.
13405
 
    case " $CXX $CXXFLAGS " in
13406
 
    *" -library=stlport4 "*)
13407
 
      solaris_use_stlport4=yes
13408
 
      ;;
13409
 
    esac
13410
 
 
13411
 
    # Adding this requires a known-good setup of shared libraries for
13412
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13413
 
    # archive will be linked into the output, leading to subtle bugs.
13414
 
    if test "$solaris_use_stlport4" != yes; then
13415
 
      postdeps_CXX='-library=Cstd -library=Crun'
13416
 
    fi
13417
 
    ;;
13418
 
  esac
13419
 
  ;;
13420
 
esac
13421
 
 
13422
 
 
13423
 
case " $postdeps_CXX " in
13424
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13425
 
esac
13426
 
 
13427
 
lt_prog_compiler_wl_CXX=
13428
 
lt_prog_compiler_pic_CXX=
13429
 
lt_prog_compiler_static_CXX=
13430
 
 
13431
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13432
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13433
 
 
13434
 
  # C++ specific cases for pic, static, wl, etc.
13435
 
  if test "$GXX" = yes; then
13436
 
    lt_prog_compiler_wl_CXX='-Wl,'
13437
 
    lt_prog_compiler_static_CXX='-static'
13438
 
 
13439
 
    case $host_os in
13440
 
    aix*)
13441
 
      # All AIX code is PIC.
13442
 
      if test "$host_cpu" = ia64; then
13443
 
        # AIX 5 now supports IA64 processor
13444
 
        lt_prog_compiler_static_CXX='-Bstatic'
13445
 
      fi
13446
 
      ;;
13447
 
    amigaos*)
13448
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13449
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13450
 
      # like `-m68040'.
13451
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13452
 
      ;;
13453
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13454
 
      # PIC is the default for these OSes.
13455
 
      ;;
13456
 
    mingw* | cygwin* | os2* | pw32*)
13457
 
      # This hack is so that the source file can tell whether it is being
13458
 
      # built for inclusion in a dll (and should export symbols for example).
13459
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13460
 
      # (--disable-auto-import) libraries
13461
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13462
 
      ;;
13463
 
    darwin* | rhapsody*)
13464
 
      # PIC is the default on this platform
13465
 
      # Common symbols not allowed in MH_DYLIB files
13466
 
      lt_prog_compiler_pic_CXX='-fno-common'
13467
 
      ;;
13468
 
    *djgpp*)
13469
 
      # DJGPP does not support shared libraries at all
13470
 
      lt_prog_compiler_pic_CXX=
13471
 
      ;;
13472
 
    interix[3-9]*)
13473
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13474
 
      # Instead, we relocate shared libraries at runtime.
13475
 
      ;;
13476
 
    sysv4*MP*)
13477
 
      if test -d /usr/nec; then
13478
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13479
 
      fi
13480
 
      ;;
13481
 
    hpux*)
13482
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13483
 
      # not for PA HP-UX.
13484
 
      case $host_cpu in
13485
 
      hppa*64*|ia64*)
13486
 
        ;;
13487
 
      *)
13488
 
        lt_prog_compiler_pic_CXX='-fPIC'
13489
 
        ;;
13490
 
      esac
13491
 
      ;;
13492
 
    *)
13493
 
      lt_prog_compiler_pic_CXX='-fPIC'
13494
 
      ;;
13495
 
    esac
13496
 
  else
13497
 
    case $host_os in
13498
 
      aix4* | aix5*)
13499
 
        # All AIX code is PIC.
13500
 
        if test "$host_cpu" = ia64; then
13501
 
          # AIX 5 now supports IA64 processor
13502
 
          lt_prog_compiler_static_CXX='-Bstatic'
13503
 
        else
13504
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13505
 
        fi
13506
 
        ;;
13507
 
      chorus*)
13508
 
        case $cc_basename in
13509
 
        cxch68*)
13510
 
          # Green Hills C++ Compiler
13511
 
          # _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"
13512
 
          ;;
13513
 
        esac
13514
 
        ;;
13515
 
       darwin*)
13516
 
         # PIC is the default on this platform
13517
 
         # Common symbols not allowed in MH_DYLIB files
13518
 
         case $cc_basename in
13519
 
           xlc*)
13520
 
           lt_prog_compiler_pic_CXX='-qnocommon'
13521
 
           lt_prog_compiler_wl_CXX='-Wl,'
13522
 
           ;;
13523
 
         esac
13524
 
       ;;
13525
 
      dgux*)
13526
 
        case $cc_basename in
13527
 
          ec++*)
13528
 
            lt_prog_compiler_pic_CXX='-KPIC'
13529
 
            ;;
13530
 
          ghcx*)
13531
 
            # Green Hills C++ Compiler
13532
 
            lt_prog_compiler_pic_CXX='-pic'
13533
 
            ;;
13534
 
          *)
13535
 
            ;;
13536
 
        esac
13537
 
        ;;
13538
 
      freebsd* | dragonfly*)
13539
 
        # FreeBSD uses GNU C++
13540
 
        ;;
13541
 
      hpux9* | hpux10* | hpux11*)
13542
 
        case $cc_basename in
13543
 
          CC*)
13544
 
            lt_prog_compiler_wl_CXX='-Wl,'
13545
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13546
 
            if test "$host_cpu" != ia64; then
13547
 
              lt_prog_compiler_pic_CXX='+Z'
13548
 
            fi
13549
 
            ;;
13550
 
          aCC*)
13551
 
            lt_prog_compiler_wl_CXX='-Wl,'
13552
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13553
 
            case $host_cpu in
13554
 
            hppa*64*|ia64*)
13555
 
              # +Z the default
13556
 
              ;;
13557
 
            *)
13558
 
              lt_prog_compiler_pic_CXX='+Z'
13559
 
              ;;
13560
 
            esac
13561
 
            ;;
13562
 
          *)
13563
 
            ;;
13564
 
        esac
13565
 
        ;;
13566
 
      interix*)
13567
 
        # This is c89, which is MS Visual C++ (no shared libs)
13568
 
        # Anyone wants to do a port?
13569
 
        ;;
13570
 
      irix5* | irix6* | nonstopux*)
13571
 
        case $cc_basename in
13572
 
          CC*)
13573
 
            lt_prog_compiler_wl_CXX='-Wl,'
13574
 
            lt_prog_compiler_static_CXX='-non_shared'
13575
 
            # CC pic flag -KPIC is the default.
13576
 
            ;;
13577
 
          *)
13578
 
            ;;
13579
 
        esac
13580
 
        ;;
13581
 
      linux* | k*bsd*-gnu)
13582
 
        case $cc_basename in
13583
 
          KCC*)
13584
 
            # KAI C++ Compiler
13585
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13586
 
            lt_prog_compiler_pic_CXX='-fPIC'
13587
 
            ;;
13588
 
          icpc* | ecpc*)
13589
 
            # Intel C++
13590
 
            lt_prog_compiler_wl_CXX='-Wl,'
13591
 
            lt_prog_compiler_pic_CXX='-KPIC'
13592
 
            lt_prog_compiler_static_CXX='-static'
13593
 
            ;;
13594
 
          pgCC*)
13595
 
            # Portland Group C++ compiler.
13596
 
            lt_prog_compiler_wl_CXX='-Wl,'
13597
 
            lt_prog_compiler_pic_CXX='-fpic'
13598
 
            lt_prog_compiler_static_CXX='-Bstatic'
13599
 
            ;;
13600
 
          cxx*)
13601
 
            # Compaq C++
13602
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13603
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13604
 
            lt_prog_compiler_pic_CXX=
13605
 
            lt_prog_compiler_static_CXX='-non_shared'
13606
 
            ;;
13607
 
          *)
13608
 
            case `$CC -V 2>&1 | sed 5q` in
13609
 
            *Sun\ C*)
13610
 
              # Sun C++ 5.9
13611
 
              lt_prog_compiler_pic_CXX='-KPIC'
13612
 
              lt_prog_compiler_static_CXX='-Bstatic'
13613
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13614
 
              ;;
13615
 
            esac
13616
 
            ;;
13617
 
        esac
13618
 
        ;;
13619
 
      lynxos*)
13620
 
        ;;
13621
 
      m88k*)
13622
 
        ;;
13623
 
      mvs*)
13624
 
        case $cc_basename in
13625
 
          cxx*)
13626
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13627
 
            ;;
13628
 
          *)
13629
 
            ;;
13630
 
        esac
13631
 
        ;;
13632
 
      netbsd* | netbsdelf*-gnu)
13633
 
        ;;
13634
 
      osf3* | osf4* | osf5*)
13635
 
        case $cc_basename in
13636
 
          KCC*)
13637
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13638
 
            ;;
13639
 
          RCC*)
13640
 
            # Rational C++ 2.4.1
13641
 
            lt_prog_compiler_pic_CXX='-pic'
13642
 
            ;;
13643
 
          cxx*)
13644
 
            # Digital/Compaq C++
13645
 
            lt_prog_compiler_wl_CXX='-Wl,'
13646
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13647
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13648
 
            lt_prog_compiler_pic_CXX=
13649
 
            lt_prog_compiler_static_CXX='-non_shared'
13650
 
            ;;
13651
 
          *)
13652
 
            ;;
13653
 
        esac
13654
 
        ;;
13655
 
      psos*)
13656
 
        ;;
13657
 
      solaris*)
13658
 
        case $cc_basename in
13659
 
          CC*)
13660
 
            # Sun C++ 4.2, 5.x and Centerline C++
13661
 
            lt_prog_compiler_pic_CXX='-KPIC'
13662
 
            lt_prog_compiler_static_CXX='-Bstatic'
13663
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
13664
 
            ;;
13665
 
          gcx*)
13666
 
            # Green Hills C++ Compiler
13667
 
            lt_prog_compiler_pic_CXX='-PIC'
13668
 
            ;;
13669
 
          *)
13670
 
            ;;
13671
 
        esac
13672
 
        ;;
13673
 
      sunos4*)
13674
 
        case $cc_basename in
13675
 
          CC*)
13676
 
            # Sun C++ 4.x
13677
 
            lt_prog_compiler_pic_CXX='-pic'
13678
 
            lt_prog_compiler_static_CXX='-Bstatic'
13679
 
            ;;
13680
 
          lcc*)
13681
 
            # Lucid
13682
 
            lt_prog_compiler_pic_CXX='-pic'
13683
 
            ;;
13684
 
          *)
13685
 
            ;;
13686
 
        esac
13687
 
        ;;
13688
 
      tandem*)
13689
 
        case $cc_basename in
13690
 
          NCC*)
13691
 
            # NonStop-UX NCC 3.20
13692
 
            lt_prog_compiler_pic_CXX='-KPIC'
13693
 
            ;;
13694
 
          *)
13695
 
            ;;
13696
 
        esac
13697
 
        ;;
13698
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13699
 
        case $cc_basename in
13700
 
          CC*)
13701
 
            lt_prog_compiler_wl_CXX='-Wl,'
13702
 
            lt_prog_compiler_pic_CXX='-KPIC'
13703
 
            lt_prog_compiler_static_CXX='-Bstatic'
13704
 
            ;;
13705
 
        esac
13706
 
        ;;
13707
 
      vxworks*)
13708
 
        ;;
13709
 
      *)
13710
 
        lt_prog_compiler_can_build_shared_CXX=no
13711
 
        ;;
13712
 
    esac
13713
 
  fi
13714
 
 
13715
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13716
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13717
 
 
13718
 
#
13719
 
# Check to make sure the PIC flag actually works.
13720
 
#
13721
 
if test -n "$lt_prog_compiler_pic_CXX"; then
13722
 
  
13723
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13724
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13725
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13727
 
else
13728
 
  lt_prog_compiler_pic_works_CXX=no
13729
 
  ac_outfile=conftest.$ac_objext
13730
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13731
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13732
 
   # Insert the option either (1) after the last *FLAGS variable, or
13733
 
   # (2) before a word containing "conftest.", or (3) at the end.
13734
 
   # Note that $ac_compile itself does not contain backslashes and begins
13735
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13736
 
   # The option is referenced via a variable to avoid confusing sed.
13737
 
   lt_compile=`echo "$ac_compile" | $SED \
13738
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13739
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13740
 
   -e 's:$: $lt_compiler_flag:'`
13741
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13742
 
   (eval "$lt_compile" 2>conftest.err)
13743
 
   ac_status=$?
13744
 
   cat conftest.err >&5
13745
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
13746
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13747
 
     # The compiler can only warn and ignore the option if not recognized
13748
 
     # So say no if there are warnings other than the usual output.
13749
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13750
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13751
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13752
 
       lt_prog_compiler_pic_works_CXX=yes
13753
 
     fi
13754
 
   fi
13755
 
   $rm conftest*
13756
 
 
13757
 
fi
13758
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13759
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13760
 
 
13761
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13762
 
    case $lt_prog_compiler_pic_CXX in
13763
 
     "" | " "*) ;;
13764
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13765
 
     esac
13766
 
else
13767
 
    lt_prog_compiler_pic_CXX=
13768
 
     lt_prog_compiler_can_build_shared_CXX=no
13769
 
fi
13770
 
 
13771
 
fi
13772
 
case $host_os in
13773
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13774
 
  *djgpp*)
13775
 
    lt_prog_compiler_pic_CXX=
13776
 
    ;;
13777
 
  *)
13778
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13779
 
    ;;
13780
 
esac
13781
 
 
13782
 
#
13783
 
# Check to make sure the static flag actually works.
13784
 
#
13785
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13786
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13787
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13788
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13790
 
else
13791
 
  lt_prog_compiler_static_works_CXX=no
13792
 
   save_LDFLAGS="$LDFLAGS"
13793
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13794
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13795
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13796
 
     # The linker can only warn and ignore the option if not recognized
13797
 
     # So say no if there are warnings
13798
 
     if test -s conftest.err; then
13799
 
       # Append any errors to the config.log.
13800
 
       cat conftest.err 1>&5
13801
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13802
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13803
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13804
 
         lt_prog_compiler_static_works_CXX=yes
13805
 
       fi
13806
 
     else
13807
 
       lt_prog_compiler_static_works_CXX=yes
13808
 
     fi
13809
 
   fi
13810
 
   $rm conftest*
13811
 
   LDFLAGS="$save_LDFLAGS"
13812
 
 
13813
 
fi
13814
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13815
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13816
 
 
13817
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
13818
 
    :
13819
 
else
13820
 
    lt_prog_compiler_static_CXX=
13821
 
fi
13822
 
 
13823
 
 
13824
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13825
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13826
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13827
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13828
 
else
13829
 
  lt_cv_prog_compiler_c_o_CXX=no
13830
 
   $rm -r conftest 2>/dev/null
13831
 
   mkdir conftest
13832
 
   cd conftest
13833
 
   mkdir out
13834
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13835
 
 
13836
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13837
 
   # Insert the option either (1) after the last *FLAGS variable, or
13838
 
   # (2) before a word containing "conftest.", or (3) at the end.
13839
 
   # Note that $ac_compile itself does not contain backslashes and begins
13840
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13841
 
   lt_compile=`echo "$ac_compile" | $SED \
13842
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13843
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13844
 
   -e 's:$: $lt_compiler_flag:'`
13845
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13846
 
   (eval "$lt_compile" 2>out/conftest.err)
13847
 
   ac_status=$?
13848
 
   cat out/conftest.err >&5
13849
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
13850
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13851
 
   then
13852
 
     # The compiler can only warn and ignore the option if not recognized
13853
 
     # So say no if there are warnings
13854
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13855
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13856
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13857
 
       lt_cv_prog_compiler_c_o_CXX=yes
13858
 
     fi
13859
 
   fi
13860
 
   chmod u+w . 2>&5
13861
 
   $rm conftest*
13862
 
   # SGI C++ compiler will create directory out/ii_files/ for
13863
 
   # template instantiation
13864
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13865
 
   $rm out/* && rmdir out
13866
 
   cd ..
13867
 
   rmdir conftest
13868
 
   $rm conftest*
13869
 
 
13870
 
fi
13871
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13872
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13873
 
 
13874
 
 
13875
 
hard_links="nottested"
13876
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13877
 
  # do not overwrite the value of need_locks provided by the user
13878
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13879
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13880
 
  hard_links=yes
13881
 
  $rm conftest*
13882
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13883
 
  touch conftest.a
13884
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13885
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13886
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
13887
 
echo "${ECHO_T}$hard_links" >&6; }
13888
 
  if test "$hard_links" = no; then
13889
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13890
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13891
 
    need_locks=warn
13892
 
  fi
13893
 
else
13894
 
  need_locks=no
13895
 
fi
13896
 
 
13897
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13898
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13899
 
 
13900
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13901
 
  case $host_os in
13902
 
  aix4* | aix5*)
13903
 
    # If we're using GNU nm, then we don't want the "-C" option.
13904
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13905
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13906
 
      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'
13907
 
    else
13908
 
      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'
13909
 
    fi
13910
 
    ;;
13911
 
  pw32*)
13912
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13913
 
  ;;
13914
 
  cygwin* | mingw*)
13915
 
    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'
13916
 
  ;;
13917
 
  linux* | k*bsd*-gnu)
13918
 
    link_all_deplibs_CXX=no
13919
 
  ;;
13920
 
  *)
13921
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13922
 
  ;;
13923
 
  esac
13924
 
 
13925
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13926
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13927
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13928
 
 
13929
 
#
13930
 
# Do we need to explicitly link libc?
13931
 
#
13932
 
case "x$archive_cmds_need_lc_CXX" in
13933
 
x|xyes)
13934
 
  # Assume -lc should be added
13935
 
  archive_cmds_need_lc_CXX=yes
13936
 
 
13937
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13938
 
    case $archive_cmds_CXX in
13939
 
    *'~'*)
13940
 
      # FIXME: we may have to deal with multi-command sequences.
13941
 
      ;;
13942
 
    '$CC '*)
13943
 
      # Test whether the compiler implicitly links with -lc since on some
13944
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13945
 
      # to ld, don't add -lc before -lgcc.
13946
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13947
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13948
 
      $rm conftest*
13949
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13950
 
 
13951
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13952
 
  (eval $ac_compile) 2>&5
13953
 
  ac_status=$?
13954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955
 
  (exit $ac_status); } 2>conftest.err; then
13956
 
        soname=conftest
13957
 
        lib=conftest
13958
 
        libobjs=conftest.$ac_objext
13959
 
        deplibs=
13960
 
        wl=$lt_prog_compiler_wl_CXX
13961
 
        pic_flag=$lt_prog_compiler_pic_CXX
13962
 
        compiler_flags=-v
13963
 
        linker_flags=-v
13964
 
        verstring=
13965
 
        output_objdir=.
13966
 
        libname=conftest
13967
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13968
 
        allow_undefined_flag_CXX=
13969
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13970
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13971
 
  ac_status=$?
13972
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973
 
  (exit $ac_status); }
13974
 
        then
13975
 
          archive_cmds_need_lc_CXX=no
13976
 
        else
13977
 
          archive_cmds_need_lc_CXX=yes
13978
 
        fi
13979
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13980
 
      else
13981
 
        cat conftest.err 1>&5
13982
 
      fi
13983
 
      $rm conftest*
13984
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13985
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13986
 
      ;;
13987
 
    esac
13988
 
  fi
13989
 
  ;;
13990
 
esac
13991
 
 
13992
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13993
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13994
 
library_names_spec=
13995
 
libname_spec='lib$name'
13996
 
soname_spec=
13997
 
shrext_cmds=".so"
13998
 
postinstall_cmds=
13999
 
postuninstall_cmds=
14000
 
finish_cmds=
14001
 
finish_eval=
14002
 
shlibpath_var=
14003
 
shlibpath_overrides_runpath=unknown
14004
 
version_type=none
14005
 
dynamic_linker="$host_os ld.so"
14006
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14007
 
 
14008
 
need_lib_prefix=unknown
14009
 
hardcode_into_libs=no
14010
 
 
14011
 
# when you set need_version to no, make sure it does not cause -set_version
14012
 
# flags to be left without arguments
14013
 
need_version=unknown
14014
 
 
14015
 
case $host_os in
14016
 
aix3*)
14017
 
  version_type=linux
14018
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14019
 
  shlibpath_var=LIBPATH
14020
 
 
14021
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14022
 
  soname_spec='${libname}${release}${shared_ext}$major'
14023
 
  ;;
14024
 
 
14025
 
aix4* | aix5*)
14026
 
  version_type=linux
14027
 
  need_lib_prefix=no
14028
 
  need_version=no
14029
 
  hardcode_into_libs=yes
14030
 
  if test "$host_cpu" = ia64; then
14031
 
    # AIX 5 supports IA64
14032
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14033
 
    shlibpath_var=LD_LIBRARY_PATH
14034
 
  else
14035
 
    # With GCC up to 2.95.x, collect2 would create an import file
14036
 
    # for dependence libraries.  The import file would start with
14037
 
    # the line `#! .'.  This would cause the generated library to
14038
 
    # depend on `.', always an invalid library.  This was fixed in
14039
 
    # development snapshots of GCC prior to 3.0.
14040
 
    case $host_os in
14041
 
      aix4 | aix4.[01] | aix4.[01].*)
14042
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14043
 
           echo ' yes '
14044
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14045
 
        :
14046
 
      else
14047
 
        can_build_shared=no
14048
 
      fi
14049
 
      ;;
14050
 
    esac
14051
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14052
 
    # soname into executable. Probably we can add versioning support to
14053
 
    # collect2, so additional links can be useful in future.
14054
 
    if test "$aix_use_runtimelinking" = yes; then
14055
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14056
 
      # instead of lib<name>.a to let people know that these are not
14057
 
      # typical AIX shared libraries.
14058
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14059
 
    else
14060
 
      # We preserve .a as extension for shared libraries through AIX4.2
14061
 
      # and later when we are not doing run time linking.
14062
 
      library_names_spec='${libname}${release}.a $libname.a'
14063
 
      soname_spec='${libname}${release}${shared_ext}$major'
14064
 
    fi
14065
 
    shlibpath_var=LIBPATH
14066
 
  fi
14067
 
  ;;
14068
 
 
14069
 
amigaos*)
14070
 
  library_names_spec='$libname.ixlibrary $libname.a'
14071
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
14072
 
  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'
14073
 
  ;;
14074
 
 
14075
 
beos*)
14076
 
  library_names_spec='${libname}${shared_ext}'
14077
 
  dynamic_linker="$host_os ld.so"
14078
 
  shlibpath_var=LIBRARY_PATH
14079
 
  ;;
14080
 
 
14081
 
bsdi[45]*)
14082
 
  version_type=linux
14083
 
  need_version=no
14084
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14085
 
  soname_spec='${libname}${release}${shared_ext}$major'
14086
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14087
 
  shlibpath_var=LD_LIBRARY_PATH
14088
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14089
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14090
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14091
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14092
 
  # libtool to hard-code these into programs
14093
 
  ;;
14094
 
 
14095
 
cygwin* | mingw* | pw32*)
14096
 
  version_type=windows
14097
 
  shrext_cmds=".dll"
14098
 
  need_version=no
14099
 
  need_lib_prefix=no
14100
 
 
14101
 
  case $GCC,$host_os in
14102
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
14103
 
    library_names_spec='$libname.dll.a'
14104
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14105
 
    postinstall_cmds='base_file=`basename \${file}`~
14106
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14107
 
      dldir=$destdir/`dirname \$dlpath`~
14108
 
      test -d \$dldir || mkdir -p \$dldir~
14109
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14110
 
      chmod a+x \$dldir/$dlname'
14111
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14112
 
      dlpath=$dir/\$dldll~
14113
 
       $rm \$dlpath'
14114
 
    shlibpath_overrides_runpath=yes
14115
 
 
14116
 
    case $host_os in
14117
 
    cygwin*)
14118
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14119
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14120
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14121
 
      ;;
14122
 
    mingw*)
14123
 
      # MinGW DLLs use traditional 'lib' prefix
14124
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14125
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14126
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14127
 
        # It is most probably a Windows format PATH printed by
14128
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14129
 
        # path with ; separators, and with drive letters. We can handle the
14130
 
        # drive letters (cygwin fileutils understands them), so leave them,
14131
 
        # especially as we might pass files found there to a mingw objdump,
14132
 
        # which wouldn't understand a cygwinified path. Ahh.
14133
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14134
 
      else
14135
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14136
 
      fi
14137
 
      ;;
14138
 
    pw32*)
14139
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14140
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14141
 
      ;;
14142
 
    esac
14143
 
    ;;
14144
 
 
14145
 
  *)
14146
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14147
 
    ;;
14148
 
  esac
14149
 
  dynamic_linker='Win32 ld.exe'
14150
 
  # FIXME: first we should search . and the directory the executable is in
14151
 
  shlibpath_var=PATH
14152
 
  ;;
14153
 
 
14154
 
darwin* | rhapsody*)
14155
 
  dynamic_linker="$host_os dyld"
14156
 
  version_type=darwin
14157
 
  need_lib_prefix=no
14158
 
  need_version=no
14159
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14160
 
  soname_spec='${libname}${release}${major}$shared_ext'
14161
 
  shlibpath_overrides_runpath=yes
14162
 
  shlibpath_var=DYLD_LIBRARY_PATH
14163
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14164
 
   
14165
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14166
 
  ;;
14167
 
 
14168
 
dgux*)
14169
 
  version_type=linux
14170
 
  need_lib_prefix=no
14171
 
  need_version=no
14172
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14173
 
  soname_spec='${libname}${release}${shared_ext}$major'
14174
 
  shlibpath_var=LD_LIBRARY_PATH
14175
 
  ;;
14176
 
 
14177
 
freebsd1*)
14178
 
  dynamic_linker=no
14179
 
  ;;
14180
 
 
14181
 
freebsd* | dragonfly*)
14182
 
  # DragonFly does not have aout.  When/if they implement a new
14183
 
  # versioning mechanism, adjust this.
14184
 
  if test -x /usr/bin/objformat; then
14185
 
    objformat=`/usr/bin/objformat`
14186
 
  else
14187
 
    case $host_os in
14188
 
    freebsd[123]*) objformat=aout ;;
14189
 
    *) objformat=elf ;;
14190
 
    esac
14191
 
  fi
14192
 
  version_type=freebsd-$objformat
14193
 
  case $version_type in
14194
 
    freebsd-elf*)
14195
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14196
 
      need_version=no
14197
 
      need_lib_prefix=no
14198
 
      ;;
14199
 
    freebsd-*)
14200
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14201
 
      need_version=yes
14202
 
      ;;
14203
 
  esac
14204
 
  shlibpath_var=LD_LIBRARY_PATH
14205
 
  case $host_os in
14206
 
  freebsd2*)
14207
 
    shlibpath_overrides_runpath=yes
14208
 
    ;;
14209
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14210
 
    shlibpath_overrides_runpath=yes
14211
 
    hardcode_into_libs=yes
14212
 
    ;;
14213
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14214
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14215
 
    shlibpath_overrides_runpath=no
14216
 
    hardcode_into_libs=yes
14217
 
    ;;
14218
 
  *) # from 4.6 on, and DragonFly
14219
 
    shlibpath_overrides_runpath=yes
14220
 
    hardcode_into_libs=yes
14221
 
    ;;
14222
 
  esac
14223
 
  ;;
14224
 
 
14225
 
gnu*)
14226
 
  version_type=linux
14227
 
  need_lib_prefix=no
14228
 
  need_version=no
14229
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14230
 
  soname_spec='${libname}${release}${shared_ext}$major'
14231
 
  shlibpath_var=LD_LIBRARY_PATH
14232
 
  hardcode_into_libs=yes
14233
 
  ;;
14234
 
 
14235
 
hpux9* | hpux10* | hpux11*)
14236
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14237
 
  # link against other versions.
14238
 
  version_type=sunos
14239
 
  need_lib_prefix=no
14240
 
  need_version=no
14241
 
  case $host_cpu in
14242
 
  ia64*)
14243
 
    shrext_cmds='.so'
14244
 
    hardcode_into_libs=yes
14245
 
    dynamic_linker="$host_os dld.so"
14246
 
    shlibpath_var=LD_LIBRARY_PATH
14247
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14248
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14249
 
    soname_spec='${libname}${release}${shared_ext}$major'
14250
 
    if test "X$HPUX_IA64_MODE" = X32; then
14251
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14252
 
    else
14253
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14254
 
    fi
14255
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14256
 
    ;;
14257
 
   hppa*64*)
14258
 
     shrext_cmds='.sl'
14259
 
     hardcode_into_libs=yes
14260
 
     dynamic_linker="$host_os dld.sl"
14261
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14262
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14263
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14264
 
     soname_spec='${libname}${release}${shared_ext}$major'
14265
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14266
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14267
 
     ;;
14268
 
   *)
14269
 
    shrext_cmds='.sl'
14270
 
    dynamic_linker="$host_os dld.sl"
14271
 
    shlibpath_var=SHLIB_PATH
14272
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14273
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14274
 
    soname_spec='${libname}${release}${shared_ext}$major'
14275
 
    ;;
14276
 
  esac
14277
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14278
 
  postinstall_cmds='chmod 555 $lib'
14279
 
  ;;
14280
 
 
14281
 
interix[3-9]*)
14282
 
  version_type=linux
14283
 
  need_lib_prefix=no
14284
 
  need_version=no
14285
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14286
 
  soname_spec='${libname}${release}${shared_ext}$major'
14287
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14288
 
  shlibpath_var=LD_LIBRARY_PATH
14289
 
  shlibpath_overrides_runpath=no
14290
 
  hardcode_into_libs=yes
14291
 
  ;;
14292
 
 
14293
 
irix5* | irix6* | nonstopux*)
14294
 
  case $host_os in
14295
 
    nonstopux*) version_type=nonstopux ;;
14296
 
    *)
14297
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14298
 
                version_type=linux
14299
 
        else
14300
 
                version_type=irix
14301
 
        fi ;;
14302
 
  esac
14303
 
  need_lib_prefix=no
14304
 
  need_version=no
14305
 
  soname_spec='${libname}${release}${shared_ext}$major'
14306
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14307
 
  case $host_os in
14308
 
  irix5* | nonstopux*)
14309
 
    libsuff= shlibsuff=
14310
 
    ;;
14311
 
  *)
14312
 
    case $LD in # libtool.m4 will add one of these switches to LD
14313
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14314
 
      libsuff= shlibsuff= libmagic=32-bit;;
14315
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14316
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14317
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14318
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14319
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14320
 
    esac
14321
 
    ;;
14322
 
  esac
14323
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14324
 
  shlibpath_overrides_runpath=no
14325
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14326
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14327
 
  hardcode_into_libs=yes
14328
 
  ;;
14329
 
 
14330
 
# No shared lib support for Linux oldld, aout, or coff.
14331
 
linux*oldld* | linux*aout* | linux*coff*)
14332
 
  dynamic_linker=no
14333
 
  ;;
14334
 
 
14335
 
# This must be Linux ELF.
14336
 
linux* | k*bsd*-gnu)
14337
 
  version_type=linux
14338
 
  need_lib_prefix=no
14339
 
  need_version=no
14340
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14341
 
  soname_spec='${libname}${release}${shared_ext}$major'
14342
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14343
 
  shlibpath_var=LD_LIBRARY_PATH
14344
 
  shlibpath_overrides_runpath=no
14345
 
  # This implies no fast_install, which is unacceptable.
14346
 
  # Some rework will be needed to allow for fast_install
14347
 
  # before this can be enabled.
14348
 
  hardcode_into_libs=yes
14349
 
 
14350
 
  # Append ld.so.conf contents to the search path
14351
 
  if test -f /etc/ld.so.conf; then
14352
 
    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' ' '`
14353
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14354
 
  fi
14355
 
 
14356
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14357
 
  # powerpc, because MkLinux only supported shared libraries with the
14358
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14359
 
  # most powerpc-linux boxes support dynamic linking these days and
14360
 
  # people can always --disable-shared, the test was removed, and we
14361
 
  # assume the GNU/Linux dynamic linker is in use.
14362
 
  dynamic_linker='GNU/Linux ld.so'
14363
 
  ;;
14364
 
 
14365
 
netbsdelf*-gnu)
14366
 
  version_type=linux
14367
 
  need_lib_prefix=no
14368
 
  need_version=no
14369
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14370
 
  soname_spec='${libname}${release}${shared_ext}$major'
14371
 
  shlibpath_var=LD_LIBRARY_PATH
14372
 
  shlibpath_overrides_runpath=no
14373
 
  hardcode_into_libs=yes
14374
 
  dynamic_linker='NetBSD ld.elf_so'
14375
 
  ;;
14376
 
 
14377
 
netbsd*)
14378
 
  version_type=sunos
14379
 
  need_lib_prefix=no
14380
 
  need_version=no
14381
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14382
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14383
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14384
 
    dynamic_linker='NetBSD (a.out) ld.so'
14385
 
  else
14386
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14387
 
    soname_spec='${libname}${release}${shared_ext}$major'
14388
 
    dynamic_linker='NetBSD ld.elf_so'
14389
 
  fi
14390
 
  shlibpath_var=LD_LIBRARY_PATH
14391
 
  shlibpath_overrides_runpath=yes
14392
 
  hardcode_into_libs=yes
14393
 
  ;;
14394
 
 
14395
 
newsos6)
14396
 
  version_type=linux
14397
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14398
 
  shlibpath_var=LD_LIBRARY_PATH
14399
 
  shlibpath_overrides_runpath=yes
14400
 
  ;;
14401
 
 
14402
 
nto-qnx*)
14403
 
  version_type=linux
14404
 
  need_lib_prefix=no
14405
 
  need_version=no
14406
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14407
 
  soname_spec='${libname}${release}${shared_ext}$major'
14408
 
  shlibpath_var=LD_LIBRARY_PATH
14409
 
  shlibpath_overrides_runpath=yes
14410
 
  ;;
14411
 
 
14412
 
openbsd*)
14413
 
  version_type=sunos
14414
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14415
 
  need_lib_prefix=no
14416
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14417
 
  case $host_os in
14418
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14419
 
    *)                         need_version=no  ;;
14420
 
  esac
14421
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14422
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14423
 
  shlibpath_var=LD_LIBRARY_PATH
14424
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14425
 
    case $host_os in
14426
 
      openbsd2.[89] | openbsd2.[89].*)
14427
 
        shlibpath_overrides_runpath=no
14428
 
        ;;
14429
 
      *)
14430
 
        shlibpath_overrides_runpath=yes
14431
 
        ;;
14432
 
      esac
14433
 
  else
14434
 
    shlibpath_overrides_runpath=yes
14435
 
  fi
14436
 
  ;;
14437
 
 
14438
 
os2*)
14439
 
  libname_spec='$name'
14440
 
  shrext_cmds=".dll"
14441
 
  need_lib_prefix=no
14442
 
  library_names_spec='$libname${shared_ext} $libname.a'
14443
 
  dynamic_linker='OS/2 ld.exe'
14444
 
  shlibpath_var=LIBPATH
14445
 
  ;;
14446
 
 
14447
 
osf3* | osf4* | osf5*)
14448
 
  version_type=osf
14449
 
  need_lib_prefix=no
14450
 
  need_version=no
14451
 
  soname_spec='${libname}${release}${shared_ext}$major'
14452
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14453
 
  shlibpath_var=LD_LIBRARY_PATH
14454
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14455
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14456
 
  ;;
14457
 
 
14458
 
rdos*)
14459
 
  dynamic_linker=no
14460
 
  ;;
14461
 
 
14462
 
solaris*)
14463
 
  version_type=linux
14464
 
  need_lib_prefix=no
14465
 
  need_version=no
14466
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14467
 
  soname_spec='${libname}${release}${shared_ext}$major'
14468
 
  shlibpath_var=LD_LIBRARY_PATH
14469
 
  shlibpath_overrides_runpath=yes
14470
 
  hardcode_into_libs=yes
14471
 
  # ldd complains unless libraries are executable
14472
 
  postinstall_cmds='chmod +x $lib'
14473
 
  ;;
14474
 
 
14475
 
sunos4*)
14476
 
  version_type=sunos
14477
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14478
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14479
 
  shlibpath_var=LD_LIBRARY_PATH
14480
 
  shlibpath_overrides_runpath=yes
14481
 
  if test "$with_gnu_ld" = yes; then
14482
 
    need_lib_prefix=no
14483
 
  fi
14484
 
  need_version=yes
14485
 
  ;;
14486
 
 
14487
 
sysv4 | sysv4.3*)
14488
 
  version_type=linux
14489
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14490
 
  soname_spec='${libname}${release}${shared_ext}$major'
14491
 
  shlibpath_var=LD_LIBRARY_PATH
14492
 
  case $host_vendor in
14493
 
    sni)
14494
 
      shlibpath_overrides_runpath=no
14495
 
      need_lib_prefix=no
14496
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
14497
 
      runpath_var=LD_RUN_PATH
14498
 
      ;;
14499
 
    siemens)
14500
 
      need_lib_prefix=no
14501
 
      ;;
14502
 
    motorola)
14503
 
      need_lib_prefix=no
14504
 
      need_version=no
14505
 
      shlibpath_overrides_runpath=no
14506
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14507
 
      ;;
14508
 
  esac
14509
 
  ;;
14510
 
 
14511
 
sysv4*MP*)
14512
 
  if test -d /usr/nec ;then
14513
 
    version_type=linux
14514
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14515
 
    soname_spec='$libname${shared_ext}.$major'
14516
 
    shlibpath_var=LD_LIBRARY_PATH
14517
 
  fi
14518
 
  ;;
14519
 
 
14520
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14521
 
  version_type=freebsd-elf
14522
 
  need_lib_prefix=no
14523
 
  need_version=no
14524
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14525
 
  soname_spec='${libname}${release}${shared_ext}$major'
14526
 
  shlibpath_var=LD_LIBRARY_PATH
14527
 
  hardcode_into_libs=yes
14528
 
  if test "$with_gnu_ld" = yes; then
14529
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14530
 
    shlibpath_overrides_runpath=no
14531
 
  else
14532
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14533
 
    shlibpath_overrides_runpath=yes
14534
 
    case $host_os in
14535
 
      sco3.2v5*)
14536
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14537
 
        ;;
14538
 
    esac
14539
 
  fi
14540
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14541
 
  ;;
14542
 
 
14543
 
uts4*)
14544
 
  version_type=linux
14545
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14546
 
  soname_spec='${libname}${release}${shared_ext}$major'
14547
 
  shlibpath_var=LD_LIBRARY_PATH
14548
 
  ;;
14549
 
 
14550
 
*)
14551
 
  dynamic_linker=no
14552
 
  ;;
14553
 
esac
14554
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14555
 
echo "${ECHO_T}$dynamic_linker" >&6; }
14556
 
test "$dynamic_linker" = no && can_build_shared=no
14557
 
 
14558
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14559
 
if test "$GCC" = yes; then
14560
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14561
 
fi
14562
 
 
14563
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14564
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14565
 
hardcode_action_CXX=
14566
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14567
 
   test -n "$runpath_var_CXX" || \
14568
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14569
 
 
14570
 
  # We can hardcode non-existant directories.
14571
 
  if test "$hardcode_direct_CXX" != no &&
14572
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14573
 
     # have to relink, otherwise we might link with an installed library
14574
 
     # when we should be linking with a yet-to-be-installed one
14575
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14576
 
     test "$hardcode_minus_L_CXX" != no; then
14577
 
    # Linking always hardcodes the temporary library directory.
14578
 
    hardcode_action_CXX=relink
14579
 
  else
14580
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14581
 
    hardcode_action_CXX=immediate
14582
 
  fi
14583
 
else
14584
 
  # We cannot hardcode anything, or else we can only hardcode existing
14585
 
  # directories.
14586
 
  hardcode_action_CXX=unsupported
14587
 
fi
14588
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14589
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14590
 
 
14591
 
if test "$hardcode_action_CXX" = relink; then
14592
 
  # Fast installation is not supported
14593
 
  enable_fast_install=no
14594
 
elif test "$shlibpath_overrides_runpath" = yes ||
14595
 
     test "$enable_shared" = no; then
14596
 
  # Fast installation is not necessary
14597
 
  enable_fast_install=needless
14598
 
fi
14599
 
 
14600
 
 
14601
 
# The else clause should only fire when bootstrapping the
14602
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14603
 
# with your package, and you will get complaints that there are
14604
 
# no rules to generate ltmain.sh.
14605
 
if test -f "$ltmain"; then
14606
 
  # See if we are running on zsh, and set the options which allow our commands through
14607
 
  # without removal of \ escapes.
14608
 
  if test -n "${ZSH_VERSION+set}" ; then
14609
 
    setopt NO_GLOB_SUBST
14610
 
  fi
14611
 
  # Now quote all the things that may contain metacharacters while being
14612
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14613
 
  # variables and quote the copies for generation of the libtool script.
14614
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14615
 
    SED SHELL STRIP \
14616
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14617
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14618
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14619
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14620
 
    lt_cv_sys_global_symbol_to_c_name_address \
14621
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14622
 
    old_postinstall_cmds old_postuninstall_cmds \
14623
 
    compiler_CXX \
14624
 
    CC_CXX \
14625
 
    LD_CXX \
14626
 
    lt_prog_compiler_wl_CXX \
14627
 
    lt_prog_compiler_pic_CXX \
14628
 
    lt_prog_compiler_static_CXX \
14629
 
    lt_prog_compiler_no_builtin_flag_CXX \
14630
 
    export_dynamic_flag_spec_CXX \
14631
 
    thread_safe_flag_spec_CXX \
14632
 
    whole_archive_flag_spec_CXX \
14633
 
    enable_shared_with_static_runtimes_CXX \
14634
 
    old_archive_cmds_CXX \
14635
 
    old_archive_from_new_cmds_CXX \
14636
 
    predep_objects_CXX \
14637
 
    postdep_objects_CXX \
14638
 
    predeps_CXX \
14639
 
    postdeps_CXX \
14640
 
    compiler_lib_search_path_CXX \
14641
 
    archive_cmds_CXX \
14642
 
    archive_expsym_cmds_CXX \
14643
 
    postinstall_cmds_CXX \
14644
 
    postuninstall_cmds_CXX \
14645
 
    old_archive_from_expsyms_cmds_CXX \
14646
 
    allow_undefined_flag_CXX \
14647
 
    no_undefined_flag_CXX \
14648
 
    export_symbols_cmds_CXX \
14649
 
    hardcode_libdir_flag_spec_CXX \
14650
 
    hardcode_libdir_flag_spec_ld_CXX \
14651
 
    hardcode_libdir_separator_CXX \
14652
 
    hardcode_automatic_CXX \
14653
 
    module_cmds_CXX \
14654
 
    module_expsym_cmds_CXX \
14655
 
    lt_cv_prog_compiler_c_o_CXX \
14656
 
    fix_srcfile_path_CXX \
14657
 
    exclude_expsyms_CXX \
14658
 
    include_expsyms_CXX; do
14659
 
 
14660
 
    case $var in
14661
 
    old_archive_cmds_CXX | \
14662
 
    old_archive_from_new_cmds_CXX | \
14663
 
    archive_cmds_CXX | \
14664
 
    archive_expsym_cmds_CXX | \
14665
 
    module_cmds_CXX | \
14666
 
    module_expsym_cmds_CXX | \
14667
 
    old_archive_from_expsyms_cmds_CXX | \
14668
 
    export_symbols_cmds_CXX | \
14669
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14670
 
    postinstall_cmds | postuninstall_cmds | \
14671
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14672
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14673
 
      # Double-quote double-evaled strings.
14674
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14675
 
      ;;
14676
 
    *)
14677
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14678
 
      ;;
14679
 
    esac
14680
 
  done
14681
 
 
14682
 
  case $lt_echo in
14683
 
  *'\$0 --fallback-echo"')
14684
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14685
 
    ;;
14686
 
  esac
14687
 
 
14688
 
cfgfile="$ofile"
14689
 
 
14690
 
  cat <<__EOF__ >> "$cfgfile"
14691
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14692
 
 
14693
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14694
 
 
14695
 
# Shell to use when invoking shell scripts.
14696
 
SHELL=$lt_SHELL
14697
 
 
14698
 
# Whether or not to build shared libraries.
14699
 
build_libtool_libs=$enable_shared
14700
 
 
14701
 
# Whether or not to build static libraries.
14702
 
build_old_libs=$enable_static
14703
 
 
14704
 
# Whether or not to add -lc for building shared libraries.
14705
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14706
 
 
14707
 
# Whether or not to disallow shared libs when runtime libs are static
14708
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14709
 
 
14710
 
# Whether or not to optimize for fast installation.
14711
 
fast_install=$enable_fast_install
14712
 
 
14713
 
# The host system.
14714
 
host_alias=$host_alias
14715
 
host=$host
14716
 
host_os=$host_os
14717
 
 
14718
 
# The build system.
14719
 
build_alias=$build_alias
14720
 
build=$build
14721
 
build_os=$build_os
14722
 
 
14723
 
# An echo program that does not interpret backslashes.
14724
 
echo=$lt_echo
14725
 
 
14726
 
# The archiver.
14727
 
AR=$lt_AR
14728
 
AR_FLAGS=$lt_AR_FLAGS
14729
 
 
14730
 
# A C compiler.
14731
 
LTCC=$lt_LTCC
14732
 
 
14733
 
# LTCC compiler flags.
14734
 
LTCFLAGS=$lt_LTCFLAGS
14735
 
 
14736
 
# A language-specific compiler.
14737
 
CC=$lt_compiler_CXX
14738
 
 
14739
 
# Is the compiler the GNU C compiler?
14740
 
with_gcc=$GCC_CXX
14741
 
 
14742
 
# An ERE matcher.
14743
 
EGREP=$lt_EGREP
14744
 
 
14745
 
# The linker used to build libraries.
14746
 
LD=$lt_LD_CXX
14747
 
 
14748
 
# Whether we need hard or soft links.
14749
 
LN_S=$lt_LN_S
14750
 
 
14751
 
# A BSD-compatible nm program.
14752
 
NM=$lt_NM
14753
 
 
14754
 
# A symbol stripping program
14755
 
STRIP=$lt_STRIP
14756
 
 
14757
 
# Used to examine libraries when file_magic_cmd begins "file"
14758
 
MAGIC_CMD=$MAGIC_CMD
14759
 
 
14760
 
# Used on cygwin: DLL creation program.
14761
 
DLLTOOL="$DLLTOOL"
14762
 
 
14763
 
# Used on cygwin: object dumper.
14764
 
OBJDUMP="$OBJDUMP"
14765
 
 
14766
 
# Used on cygwin: assembler.
14767
 
AS="$AS"
14768
 
 
14769
 
# The name of the directory that contains temporary libtool files.
14770
 
objdir=$objdir
14771
 
 
14772
 
# How to create reloadable object files.
14773
 
reload_flag=$lt_reload_flag
14774
 
reload_cmds=$lt_reload_cmds
14775
 
 
14776
 
# How to pass a linker flag through the compiler.
14777
 
wl=$lt_lt_prog_compiler_wl_CXX
14778
 
 
14779
 
# Object file suffix (normally "o").
14780
 
objext="$ac_objext"
14781
 
 
14782
 
# Old archive suffix (normally "a").
14783
 
libext="$libext"
14784
 
 
14785
 
# Shared library suffix (normally ".so").
14786
 
shrext_cmds='$shrext_cmds'
14787
 
 
14788
 
# Executable file suffix (normally "").
14789
 
exeext="$exeext"
14790
 
 
14791
 
# Additional compiler flags for building library objects.
14792
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
14793
 
pic_mode=$pic_mode
14794
 
 
14795
 
# What is the maximum length of a command?
14796
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14797
 
 
14798
 
# Does compiler simultaneously support -c and -o options?
14799
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14800
 
 
14801
 
# Must we lock files when doing compilation?
14802
 
need_locks=$lt_need_locks
14803
 
 
14804
 
# Do we need the lib prefix for modules?
14805
 
need_lib_prefix=$need_lib_prefix
14806
 
 
14807
 
# Do we need a version for libraries?
14808
 
need_version=$need_version
14809
 
 
14810
 
# Whether dlopen is supported.
14811
 
dlopen_support=$enable_dlopen
14812
 
 
14813
 
# Whether dlopen of programs is supported.
14814
 
dlopen_self=$enable_dlopen_self
14815
 
 
14816
 
# Whether dlopen of statically linked programs is supported.
14817
 
dlopen_self_static=$enable_dlopen_self_static
14818
 
 
14819
 
# Compiler flag to prevent dynamic linking.
14820
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
14821
 
 
14822
 
# Compiler flag to turn off builtin functions.
14823
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14824
 
 
14825
 
# Compiler flag to allow reflexive dlopens.
14826
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14827
 
 
14828
 
# Compiler flag to generate shared objects directly from archives.
14829
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14830
 
 
14831
 
# Compiler flag to generate thread-safe objects.
14832
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14833
 
 
14834
 
# Library versioning type.
14835
 
version_type=$version_type
14836
 
 
14837
 
# Format of library name prefix.
14838
 
libname_spec=$lt_libname_spec
14839
 
 
14840
 
# List of archive names.  First name is the real one, the rest are links.
14841
 
# The last name is the one that the linker finds with -lNAME.
14842
 
library_names_spec=$lt_library_names_spec
14843
 
 
14844
 
# The coded name of the library, if different from the real name.
14845
 
soname_spec=$lt_soname_spec
14846
 
 
14847
 
# Commands used to build and install an old-style archive.
14848
 
RANLIB=$lt_RANLIB
14849
 
old_archive_cmds=$lt_old_archive_cmds_CXX
14850
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14851
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14852
 
 
14853
 
# Create an old-style archive from a shared archive.
14854
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14855
 
 
14856
 
# Create a temporary old-style archive to link instead of a shared archive.
14857
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14858
 
 
14859
 
# Commands used to build and install a shared archive.
14860
 
archive_cmds=$lt_archive_cmds_CXX
14861
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14862
 
postinstall_cmds=$lt_postinstall_cmds
14863
 
postuninstall_cmds=$lt_postuninstall_cmds
14864
 
 
14865
 
# Commands used to build a loadable module (assumed same as above if empty)
14866
 
module_cmds=$lt_module_cmds_CXX
14867
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14868
 
 
14869
 
# Commands to strip libraries.
14870
 
old_striplib=$lt_old_striplib
14871
 
striplib=$lt_striplib
14872
 
 
14873
 
# Dependencies to place before the objects being linked to create a
14874
 
# shared library.
14875
 
predep_objects=$lt_predep_objects_CXX
14876
 
 
14877
 
# Dependencies to place after the objects being linked to create a
14878
 
# shared library.
14879
 
postdep_objects=$lt_postdep_objects_CXX
14880
 
 
14881
 
# Dependencies to place before the objects being linked to create a
14882
 
# shared library.
14883
 
predeps=$lt_predeps_CXX
14884
 
 
14885
 
# Dependencies to place after the objects being linked to create a
14886
 
# shared library.
14887
 
postdeps=$lt_postdeps_CXX
14888
 
 
14889
 
# The library search path used internally by the compiler when linking
14890
 
# a shared library.
14891
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14892
 
 
14893
 
# Method to check whether dependent libraries are shared objects.
14894
 
deplibs_check_method=$lt_deplibs_check_method
14895
 
 
14896
 
# Command to use when deplibs_check_method == file_magic.
14897
 
file_magic_cmd=$lt_file_magic_cmd
14898
 
 
14899
 
# Flag that allows shared libraries with undefined symbols to be built.
14900
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14901
 
 
14902
 
# Flag that forces no undefined symbols.
14903
 
no_undefined_flag=$lt_no_undefined_flag_CXX
14904
 
 
14905
 
# Commands used to finish a libtool library installation in a directory.
14906
 
finish_cmds=$lt_finish_cmds
14907
 
 
14908
 
# Same as above, but a single script fragment to be evaled but not shown.
14909
 
finish_eval=$lt_finish_eval
14910
 
 
14911
 
# Take the output of nm and produce a listing of raw symbols and C names.
14912
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14913
 
 
14914
 
# Transform the output of nm in a proper C declaration
14915
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14916
 
 
14917
 
# Transform the output of nm in a C name address pair
14918
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14919
 
 
14920
 
# This is the shared library runtime path variable.
14921
 
runpath_var=$runpath_var
14922
 
 
14923
 
# This is the shared library path variable.
14924
 
shlibpath_var=$shlibpath_var
14925
 
 
14926
 
# Is shlibpath searched before the hard-coded library search path?
14927
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14928
 
 
14929
 
# How to hardcode a shared library path into an executable.
14930
 
hardcode_action=$hardcode_action_CXX
14931
 
 
14932
 
# Whether we should hardcode library paths into libraries.
14933
 
hardcode_into_libs=$hardcode_into_libs
14934
 
 
14935
 
# Flag to hardcode \$libdir into a binary during linking.
14936
 
# This must work even if \$libdir does not exist.
14937
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14938
 
 
14939
 
# If ld is used when linking, flag to hardcode \$libdir into
14940
 
# a binary during linking. This must work even if \$libdir does
14941
 
# not exist.
14942
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14943
 
 
14944
 
# Whether we need a single -rpath flag with a separated argument.
14945
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14946
 
 
14947
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14948
 
# resulting binary.
14949
 
hardcode_direct=$hardcode_direct_CXX
14950
 
 
14951
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14952
 
# resulting binary.
14953
 
hardcode_minus_L=$hardcode_minus_L_CXX
14954
 
 
14955
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14956
 
# the resulting binary.
14957
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14958
 
 
14959
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14960
 
# and all subsequent libraries and executables linked against it.
14961
 
hardcode_automatic=$hardcode_automatic_CXX
14962
 
 
14963
 
# Variables whose values should be saved in libtool wrapper scripts and
14964
 
# restored at relink time.
14965
 
variables_saved_for_relink="$variables_saved_for_relink"
14966
 
 
14967
 
# Whether libtool must link a program against all its dependency libraries.
14968
 
link_all_deplibs=$link_all_deplibs_CXX
14969
 
 
14970
 
# Compile-time system search path for libraries
14971
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14972
 
 
14973
 
# Run-time system search path for libraries
14974
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14975
 
 
14976
 
# Fix the shell variable \$srcfile for the compiler.
14977
 
fix_srcfile_path=$lt_fix_srcfile_path
14978
 
 
14979
 
# Set to yes if exported symbols are required.
14980
 
always_export_symbols=$always_export_symbols_CXX
14981
 
 
14982
 
# The commands to list exported symbols.
14983
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14984
 
 
14985
 
# The commands to extract the exported symbol list from a shared archive.
14986
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14987
 
 
14988
 
# Symbols that should not be listed in the preloaded symbols.
14989
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14990
 
 
14991
 
# Symbols that must always be exported.
14992
 
include_expsyms=$lt_include_expsyms_CXX
14993
 
 
14994
 
# ### END LIBTOOL TAG CONFIG: $tagname
14995
 
 
14996
 
__EOF__
14997
 
 
14998
 
 
14999
 
else
15000
 
  # If there is no Makefile yet, we rely on a make rule to execute
15001
 
  # `config.status --recheck' to rerun these tests and create the
15002
 
  # libtool script then.
15003
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15004
 
  if test -f "$ltmain_in"; then
15005
 
    test -f Makefile && make "$ltmain"
15006
 
  fi
15007
 
fi
15008
 
 
15009
 
 
15010
 
ac_ext=c
15011
 
ac_cpp='$CPP $CPPFLAGS'
15012
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15013
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15014
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15015
 
 
15016
 
CC=$lt_save_CC
15017
 
LDCXX=$LD
15018
 
LD=$lt_save_LD
15019
 
GCC=$lt_save_GCC
15020
 
with_gnu_ldcxx=$with_gnu_ld
15021
 
with_gnu_ld=$lt_save_with_gnu_ld
15022
 
lt_cv_path_LDCXX=$lt_cv_path_LD
15023
 
lt_cv_path_LD=$lt_save_path_LD
15024
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15025
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15026
 
 
15027
 
        else
15028
 
          tagname=""
15029
 
        fi
15030
 
        ;;
15031
 
 
15032
 
      F77)
15033
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
15034
 
          
15035
 
ac_ext=f
15036
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15037
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15038
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15039
 
 
15040
 
 
15041
 
archive_cmds_need_lc_F77=no
15042
 
allow_undefined_flag_F77=
15043
 
always_export_symbols_F77=no
15044
 
archive_expsym_cmds_F77=
15045
 
export_dynamic_flag_spec_F77=
15046
 
hardcode_direct_F77=no
15047
 
hardcode_libdir_flag_spec_F77=
15048
 
hardcode_libdir_flag_spec_ld_F77=
15049
 
hardcode_libdir_separator_F77=
15050
 
hardcode_minus_L_F77=no
15051
 
hardcode_automatic_F77=no
15052
 
module_cmds_F77=
15053
 
module_expsym_cmds_F77=
15054
 
link_all_deplibs_F77=unknown
15055
 
old_archive_cmds_F77=$old_archive_cmds
15056
 
no_undefined_flag_F77=
15057
 
whole_archive_flag_spec_F77=
15058
 
enable_shared_with_static_runtimes_F77=no
15059
 
 
15060
 
# Source file extension for f77 test sources.
15061
 
ac_ext=f
15062
 
 
15063
 
# Object file extension for compiled f77 test sources.
15064
 
objext=o
15065
 
objext_F77=$objext
15066
 
 
15067
 
# Code to be used in simple compile tests
15068
 
lt_simple_compile_test_code="\
15069
 
      subroutine t
15070
 
      return
15071
 
      end
15072
 
"
15073
 
 
15074
 
# Code to be used in simple link tests
15075
 
lt_simple_link_test_code="\
15076
 
      program t
15077
 
      end
15078
 
"
15079
 
 
15080
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15081
 
 
15082
 
# If no C compiler was specified, use CC.
15083
 
LTCC=${LTCC-"$CC"}
15084
 
 
15085
 
# If no C compiler flags were specified, use CFLAGS.
15086
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15087
 
 
15088
 
# Allow CC to be a program name with arguments.
15089
 
compiler=$CC
15090
 
 
15091
 
 
15092
 
# save warnings/boilerplate of simple test code
15093
 
ac_outfile=conftest.$ac_objext
15094
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15095
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15096
 
_lt_compiler_boilerplate=`cat conftest.err`
15097
 
$rm conftest*
15098
 
 
15099
 
ac_outfile=conftest.$ac_objext
15100
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15101
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15102
 
_lt_linker_boilerplate=`cat conftest.err`
15103
 
$rm conftest*
15104
 
 
15105
 
 
15106
 
# Allow CC to be a program name with arguments.
15107
 
lt_save_CC="$CC"
15108
 
CC=${F77-"f77"}
15109
 
compiler=$CC
15110
 
compiler_F77=$CC
15111
 
for cc_temp in $compiler""; do
15112
 
  case $cc_temp in
15113
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15114
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15115
 
    \-*) ;;
15116
 
    *) break;;
15117
 
  esac
15118
 
done
15119
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15120
 
 
15121
 
 
15122
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15123
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15124
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
15125
 
echo "${ECHO_T}$can_build_shared" >&6; }
15126
 
 
15127
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15128
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15129
 
test "$can_build_shared" = "no" && enable_shared=no
15130
 
 
15131
 
# On AIX, shared libraries and static libraries use the same namespace, and
15132
 
# are all built from PIC.
15133
 
case $host_os in
15134
 
aix3*)
15135
 
  test "$enable_shared" = yes && enable_static=no
15136
 
  if test -n "$RANLIB"; then
15137
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
15138
 
    postinstall_cmds='$RANLIB $lib'
15139
 
  fi
15140
 
  ;;
15141
 
aix4* | aix5*)
15142
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15143
 
    test "$enable_shared" = yes && enable_static=no
15144
 
  fi
15145
 
  ;;
15146
 
esac
15147
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
15148
 
echo "${ECHO_T}$enable_shared" >&6; }
15149
 
 
15150
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15151
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15152
 
# Make sure either enable_shared or enable_static is yes.
15153
 
test "$enable_shared" = yes || enable_static=yes
15154
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
15155
 
echo "${ECHO_T}$enable_static" >&6; }
15156
 
 
15157
 
GCC_F77="$G77"
15158
 
LD_F77="$LD"
15159
 
 
15160
 
lt_prog_compiler_wl_F77=
15161
 
lt_prog_compiler_pic_F77=
15162
 
lt_prog_compiler_static_F77=
15163
 
 
15164
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15165
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15166
 
 
15167
 
  if test "$GCC" = yes; then
15168
 
    lt_prog_compiler_wl_F77='-Wl,'
15169
 
    lt_prog_compiler_static_F77='-static'
15170
 
 
15171
 
    case $host_os in
15172
 
      aix*)
15173
 
      # All AIX code is PIC.
15174
 
      if test "$host_cpu" = ia64; then
15175
 
        # AIX 5 now supports IA64 processor
15176
 
        lt_prog_compiler_static_F77='-Bstatic'
15177
 
      fi
15178
 
      ;;
15179
 
 
15180
 
    amigaos*)
15181
 
      # FIXME: we need at least 68020 code to build shared libraries, but
15182
 
      # adding the `-m68020' flag to GCC prevents building anything better,
15183
 
      # like `-m68040'.
15184
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15185
 
      ;;
15186
 
 
15187
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15188
 
      # PIC is the default for these OSes.
15189
 
      ;;
15190
 
 
15191
 
    mingw* | cygwin* | pw32* | os2*)
15192
 
      # This hack is so that the source file can tell whether it is being
15193
 
      # built for inclusion in a dll (and should export symbols for example).
15194
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15195
 
      # (--disable-auto-import) libraries
15196
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15197
 
      ;;
15198
 
 
15199
 
    darwin* | rhapsody*)
15200
 
      # PIC is the default on this platform
15201
 
      # Common symbols not allowed in MH_DYLIB files
15202
 
      lt_prog_compiler_pic_F77='-fno-common'
15203
 
      ;;
15204
 
 
15205
 
    interix[3-9]*)
15206
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15207
 
      # Instead, we relocate shared libraries at runtime.
15208
 
      ;;
15209
 
 
15210
 
    msdosdjgpp*)
15211
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15212
 
      # on systems that don't support them.
15213
 
      lt_prog_compiler_can_build_shared_F77=no
15214
 
      enable_shared=no
15215
 
      ;;
15216
 
 
15217
 
    sysv4*MP*)
15218
 
      if test -d /usr/nec; then
15219
 
        lt_prog_compiler_pic_F77=-Kconform_pic
15220
 
      fi
15221
 
      ;;
15222
 
 
15223
 
    hpux*)
15224
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15225
 
      # not for PA HP-UX.
15226
 
      case $host_cpu in
15227
 
      hppa*64*|ia64*)
15228
 
        # +Z the default
15229
 
        ;;
15230
 
      *)
15231
 
        lt_prog_compiler_pic_F77='-fPIC'
15232
 
        ;;
15233
 
      esac
15234
 
      ;;
15235
 
 
15236
 
    *)
15237
 
      lt_prog_compiler_pic_F77='-fPIC'
15238
 
      ;;
15239
 
    esac
15240
 
  else
15241
 
    # PORTME Check for flag to pass linker flags through the system compiler.
15242
 
    case $host_os in
15243
 
    aix*)
15244
 
      lt_prog_compiler_wl_F77='-Wl,'
15245
 
      if test "$host_cpu" = ia64; then
15246
 
        # AIX 5 now supports IA64 processor
15247
 
        lt_prog_compiler_static_F77='-Bstatic'
15248
 
      else
15249
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15250
 
      fi
15251
 
      ;;
15252
 
      darwin*)
15253
 
        # PIC is the default on this platform
15254
 
        # Common symbols not allowed in MH_DYLIB files
15255
 
       case $cc_basename in
15256
 
         xlc*)
15257
 
         lt_prog_compiler_pic_F77='-qnocommon'
15258
 
         lt_prog_compiler_wl_F77='-Wl,'
15259
 
         ;;
15260
 
       esac
15261
 
       ;;
15262
 
 
15263
 
    mingw* | cygwin* | pw32* | os2*)
15264
 
      # This hack is so that the source file can tell whether it is being
15265
 
      # built for inclusion in a dll (and should export symbols for example).
15266
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15267
 
      ;;
15268
 
 
15269
 
    hpux9* | hpux10* | hpux11*)
15270
 
      lt_prog_compiler_wl_F77='-Wl,'
15271
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15272
 
      # not for PA HP-UX.
15273
 
      case $host_cpu in
15274
 
      hppa*64*|ia64*)
15275
 
        # +Z the default
15276
 
        ;;
15277
 
      *)
15278
 
        lt_prog_compiler_pic_F77='+Z'
15279
 
        ;;
15280
 
      esac
15281
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
15282
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15283
 
      ;;
15284
 
 
15285
 
    irix5* | irix6* | nonstopux*)
15286
 
      lt_prog_compiler_wl_F77='-Wl,'
15287
 
      # PIC (with -KPIC) is the default.
15288
 
      lt_prog_compiler_static_F77='-non_shared'
15289
 
      ;;
15290
 
 
15291
 
    newsos6)
15292
 
      lt_prog_compiler_pic_F77='-KPIC'
15293
 
      lt_prog_compiler_static_F77='-Bstatic'
15294
 
      ;;
15295
 
 
15296
 
    linux* | k*bsd*-gnu)
15297
 
      case $cc_basename in
15298
 
      icc* | ecc*)
15299
 
        lt_prog_compiler_wl_F77='-Wl,'
15300
 
        lt_prog_compiler_pic_F77='-KPIC'
15301
 
        lt_prog_compiler_static_F77='-static'
15302
 
        ;;
15303
 
      pgcc* | pgf77* | pgf90* | pgf95*)
15304
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
15305
 
        # which looks to be a dead project)
15306
 
        lt_prog_compiler_wl_F77='-Wl,'
15307
 
        lt_prog_compiler_pic_F77='-fpic'
15308
 
        lt_prog_compiler_static_F77='-Bstatic'
15309
 
        ;;
15310
 
      ccc*)
15311
 
        lt_prog_compiler_wl_F77='-Wl,'
15312
 
        # All Alpha code is PIC.
15313
 
        lt_prog_compiler_static_F77='-non_shared'
15314
 
        ;;
15315
 
      *)
15316
 
        case `$CC -V 2>&1 | sed 5q` in
15317
 
        *Sun\ C*)
15318
 
          # Sun C 5.9
15319
 
          lt_prog_compiler_pic_F77='-KPIC'
15320
 
          lt_prog_compiler_static_F77='-Bstatic'
15321
 
          lt_prog_compiler_wl_F77='-Wl,'
15322
 
          ;;
15323
 
        *Sun\ F*)
15324
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
15325
 
          lt_prog_compiler_pic_F77='-KPIC'
15326
 
          lt_prog_compiler_static_F77='-Bstatic'
15327
 
          lt_prog_compiler_wl_F77=''
15328
 
          ;;
15329
 
        esac
15330
 
        ;;
15331
 
      esac
15332
 
      ;;
15333
 
 
15334
 
    osf3* | osf4* | osf5*)
15335
 
      lt_prog_compiler_wl_F77='-Wl,'
15336
 
      # All OSF/1 code is PIC.
15337
 
      lt_prog_compiler_static_F77='-non_shared'
15338
 
      ;;
15339
 
 
15340
 
    rdos*)
15341
 
      lt_prog_compiler_static_F77='-non_shared'
15342
 
      ;;
15343
 
 
15344
 
    solaris*)
15345
 
      lt_prog_compiler_pic_F77='-KPIC'
15346
 
      lt_prog_compiler_static_F77='-Bstatic'
15347
 
      case $cc_basename in
15348
 
      f77* | f90* | f95*)
15349
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
15350
 
      *)
15351
 
        lt_prog_compiler_wl_F77='-Wl,';;
15352
 
      esac
15353
 
      ;;
15354
 
 
15355
 
    sunos4*)
15356
 
      lt_prog_compiler_wl_F77='-Qoption ld '
15357
 
      lt_prog_compiler_pic_F77='-PIC'
15358
 
      lt_prog_compiler_static_F77='-Bstatic'
15359
 
      ;;
15360
 
 
15361
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
15362
 
      lt_prog_compiler_wl_F77='-Wl,'
15363
 
      lt_prog_compiler_pic_F77='-KPIC'
15364
 
      lt_prog_compiler_static_F77='-Bstatic'
15365
 
      ;;
15366
 
 
15367
 
    sysv4*MP*)
15368
 
      if test -d /usr/nec ;then
15369
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
15370
 
        lt_prog_compiler_static_F77='-Bstatic'
15371
 
      fi
15372
 
      ;;
15373
 
 
15374
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15375
 
      lt_prog_compiler_wl_F77='-Wl,'
15376
 
      lt_prog_compiler_pic_F77='-KPIC'
15377
 
      lt_prog_compiler_static_F77='-Bstatic'
15378
 
      ;;
15379
 
 
15380
 
    unicos*)
15381
 
      lt_prog_compiler_wl_F77='-Wl,'
15382
 
      lt_prog_compiler_can_build_shared_F77=no
15383
 
      ;;
15384
 
 
15385
 
    uts4*)
15386
 
      lt_prog_compiler_pic_F77='-pic'
15387
 
      lt_prog_compiler_static_F77='-Bstatic'
15388
 
      ;;
15389
 
 
15390
 
    *)
15391
 
      lt_prog_compiler_can_build_shared_F77=no
15392
 
      ;;
15393
 
    esac
15394
 
  fi
15395
 
 
15396
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15397
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15398
 
 
15399
 
#
15400
 
# Check to make sure the PIC flag actually works.
15401
 
#
15402
 
if test -n "$lt_prog_compiler_pic_F77"; then
15403
 
  
15404
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15405
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15406
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15407
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15408
 
else
15409
 
  lt_prog_compiler_pic_works_F77=no
15410
 
  ac_outfile=conftest.$ac_objext
15411
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15412
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15413
 
   # Insert the option either (1) after the last *FLAGS variable, or
15414
 
   # (2) before a word containing "conftest.", or (3) at the end.
15415
 
   # Note that $ac_compile itself does not contain backslashes and begins
15416
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15417
 
   # The option is referenced via a variable to avoid confusing sed.
15418
 
   lt_compile=`echo "$ac_compile" | $SED \
15419
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15420
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15421
 
   -e 's:$: $lt_compiler_flag:'`
15422
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15423
 
   (eval "$lt_compile" 2>conftest.err)
15424
 
   ac_status=$?
15425
 
   cat conftest.err >&5
15426
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
15427
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15428
 
     # The compiler can only warn and ignore the option if not recognized
15429
 
     # So say no if there are warnings other than the usual output.
15430
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15431
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15432
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15433
 
       lt_prog_compiler_pic_works_F77=yes
15434
 
     fi
15435
 
   fi
15436
 
   $rm conftest*
15437
 
 
15438
 
fi
15439
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15440
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15441
 
 
15442
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15443
 
    case $lt_prog_compiler_pic_F77 in
15444
 
     "" | " "*) ;;
15445
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15446
 
     esac
15447
 
else
15448
 
    lt_prog_compiler_pic_F77=
15449
 
     lt_prog_compiler_can_build_shared_F77=no
15450
 
fi
15451
 
 
15452
 
fi
15453
 
case $host_os in
15454
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15455
 
  *djgpp*)
15456
 
    lt_prog_compiler_pic_F77=
15457
 
    ;;
15458
 
  *)
15459
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15460
 
    ;;
15461
 
esac
15462
 
 
15463
 
#
15464
 
# Check to make sure the static flag actually works.
15465
 
#
15466
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15467
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15468
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15469
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15470
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15471
 
else
15472
 
  lt_prog_compiler_static_works_F77=no
15473
 
   save_LDFLAGS="$LDFLAGS"
15474
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15475
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15476
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15477
 
     # The linker can only warn and ignore the option if not recognized
15478
 
     # So say no if there are warnings
15479
 
     if test -s conftest.err; then
15480
 
       # Append any errors to the config.log.
15481
 
       cat conftest.err 1>&5
15482
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15483
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15484
 
       if diff conftest.exp conftest.er2 >/dev/null; then
15485
 
         lt_prog_compiler_static_works_F77=yes
15486
 
       fi
15487
 
     else
15488
 
       lt_prog_compiler_static_works_F77=yes
15489
 
     fi
15490
 
   fi
15491
 
   $rm conftest*
15492
 
   LDFLAGS="$save_LDFLAGS"
15493
 
 
15494
 
fi
15495
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15496
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15497
 
 
15498
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
15499
 
    :
15500
 
else
15501
 
    lt_prog_compiler_static_F77=
15502
 
fi
15503
 
 
15504
 
 
15505
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15506
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15507
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15508
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15509
 
else
15510
 
  lt_cv_prog_compiler_c_o_F77=no
15511
 
   $rm -r conftest 2>/dev/null
15512
 
   mkdir conftest
15513
 
   cd conftest
15514
 
   mkdir out
15515
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15516
 
 
15517
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15518
 
   # Insert the option either (1) after the last *FLAGS variable, or
15519
 
   # (2) before a word containing "conftest.", or (3) at the end.
15520
 
   # Note that $ac_compile itself does not contain backslashes and begins
15521
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15522
 
   lt_compile=`echo "$ac_compile" | $SED \
15523
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15524
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15525
 
   -e 's:$: $lt_compiler_flag:'`
15526
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15527
 
   (eval "$lt_compile" 2>out/conftest.err)
15528
 
   ac_status=$?
15529
 
   cat out/conftest.err >&5
15530
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
15531
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15532
 
   then
15533
 
     # The compiler can only warn and ignore the option if not recognized
15534
 
     # So say no if there are warnings
15535
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15536
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15537
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15538
 
       lt_cv_prog_compiler_c_o_F77=yes
15539
 
     fi
15540
 
   fi
15541
 
   chmod u+w . 2>&5
15542
 
   $rm conftest*
15543
 
   # SGI C++ compiler will create directory out/ii_files/ for
15544
 
   # template instantiation
15545
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15546
 
   $rm out/* && rmdir out
15547
 
   cd ..
15548
 
   rmdir conftest
15549
 
   $rm conftest*
15550
 
 
15551
 
fi
15552
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15553
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15554
 
 
15555
 
 
15556
 
hard_links="nottested"
15557
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15558
 
  # do not overwrite the value of need_locks provided by the user
15559
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15560
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15561
 
  hard_links=yes
15562
 
  $rm conftest*
15563
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15564
 
  touch conftest.a
15565
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15566
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15567
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15568
 
echo "${ECHO_T}$hard_links" >&6; }
15569
 
  if test "$hard_links" = no; then
15570
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15571
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15572
 
    need_locks=warn
15573
 
  fi
15574
 
else
15575
 
  need_locks=no
15576
 
fi
15577
 
 
15578
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15579
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15580
 
 
15581
 
  runpath_var=
15582
 
  allow_undefined_flag_F77=
15583
 
  enable_shared_with_static_runtimes_F77=no
15584
 
  archive_cmds_F77=
15585
 
  archive_expsym_cmds_F77=
15586
 
  old_archive_From_new_cmds_F77=
15587
 
  old_archive_from_expsyms_cmds_F77=
15588
 
  export_dynamic_flag_spec_F77=
15589
 
  whole_archive_flag_spec_F77=
15590
 
  thread_safe_flag_spec_F77=
15591
 
  hardcode_libdir_flag_spec_F77=
15592
 
  hardcode_libdir_flag_spec_ld_F77=
15593
 
  hardcode_libdir_separator_F77=
15594
 
  hardcode_direct_F77=no
15595
 
  hardcode_minus_L_F77=no
15596
 
  hardcode_shlibpath_var_F77=unsupported
15597
 
  link_all_deplibs_F77=unknown
15598
 
  hardcode_automatic_F77=no
15599
 
  module_cmds_F77=
15600
 
  module_expsym_cmds_F77=
15601
 
  always_export_symbols_F77=no
15602
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15603
 
  # include_expsyms should be a list of space-separated symbols to be *always*
15604
 
  # included in the symbol list
15605
 
  include_expsyms_F77=
15606
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
15607
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15608
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15609
 
  # as well as any symbol that contains `d'.
15610
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15611
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15612
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
15613
 
  # the symbol is explicitly referenced.  Since portable code cannot
15614
 
  # rely on this symbol name, it's probably fine to never include it in
15615
 
  # preloaded symbol tables.
15616
 
  extract_expsyms_cmds=
15617
 
  # Just being paranoid about ensuring that cc_basename is set.
15618
 
  for cc_temp in $compiler""; do
15619
 
  case $cc_temp in
15620
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15621
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15622
 
    \-*) ;;
15623
 
    *) break;;
15624
 
  esac
15625
 
done
15626
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15627
 
 
15628
 
  case $host_os in
15629
 
  cygwin* | mingw* | pw32*)
15630
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15631
 
    # When not using gcc, we currently assume that we are using
15632
 
    # Microsoft Visual C++.
15633
 
    if test "$GCC" != yes; then
15634
 
      with_gnu_ld=no
15635
 
    fi
15636
 
    ;;
15637
 
  interix*)
15638
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
15639
 
    with_gnu_ld=yes
15640
 
    ;;
15641
 
  openbsd*)
15642
 
    with_gnu_ld=no
15643
 
    ;;
15644
 
  esac
15645
 
 
15646
 
  ld_shlibs_F77=yes
15647
 
  if test "$with_gnu_ld" = yes; then
15648
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15649
 
    wlarc='${wl}'
15650
 
 
15651
 
    # Set some defaults for GNU ld with shared library support. These
15652
 
    # are reset later if shared libraries are not supported. Putting them
15653
 
    # here allows them to be overridden if necessary.
15654
 
    runpath_var=LD_RUN_PATH
15655
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15656
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15657
 
    # ancient GNU ld didn't support --whole-archive et. al.
15658
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15659
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15660
 
      else
15661
 
        whole_archive_flag_spec_F77=
15662
 
    fi
15663
 
    supports_anon_versioning=no
15664
 
    case `$LD -v 2>/dev/null` in
15665
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15666
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15667
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15668
 
      *\ 2.11.*) ;; # other 2.11 versions
15669
 
      *) supports_anon_versioning=yes ;;
15670
 
    esac
15671
 
 
15672
 
    # See if GNU ld supports shared libraries.
15673
 
    case $host_os in
15674
 
    aix3* | aix4* | aix5*)
15675
 
      # On AIX/PPC, the GNU linker is very broken
15676
 
      if test "$host_cpu" != ia64; then
15677
 
        ld_shlibs_F77=no
15678
 
        cat <<EOF 1>&2
15679
 
 
15680
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15681
 
*** to be unable to reliably create shared libraries on AIX.
15682
 
*** Therefore, libtool is disabling shared libraries support.  If you
15683
 
*** really care for shared libraries, you may want to modify your PATH
15684
 
*** so that a non-GNU linker is found, and then restart.
15685
 
 
15686
 
EOF
15687
 
      fi
15688
 
      ;;
15689
 
 
15690
 
    amigaos*)
15691
 
      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)'
15692
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15693
 
      hardcode_minus_L_F77=yes
15694
 
 
15695
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15696
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
15697
 
      # to version 4, is to share data among multiple programs linked
15698
 
      # with the same dynamic library.  Since this doesn't match the
15699
 
      # behavior of shared libraries on other platforms, we can't use
15700
 
      # them.
15701
 
      ld_shlibs_F77=no
15702
 
      ;;
15703
 
 
15704
 
    beos*)
15705
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15706
 
        allow_undefined_flag_F77=unsupported
15707
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15708
 
        # support --undefined.  This deserves some investigation.  FIXME
15709
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15710
 
      else
15711
 
        ld_shlibs_F77=no
15712
 
      fi
15713
 
      ;;
15714
 
 
15715
 
    cygwin* | mingw* | pw32*)
15716
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15717
 
      # as there is no search path for DLLs.
15718
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15719
 
      allow_undefined_flag_F77=unsupported
15720
 
      always_export_symbols_F77=no
15721
 
      enable_shared_with_static_runtimes_F77=yes
15722
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15723
 
 
15724
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15725
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15726
 
        # If the export-symbols file already is a .def file (1st line
15727
 
        # is EXPORTS), use it as is; otherwise, prepend...
15728
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15729
 
          cp $export_symbols $output_objdir/$soname.def;
15730
 
        else
15731
 
          echo EXPORTS > $output_objdir/$soname.def;
15732
 
          cat $export_symbols >> $output_objdir/$soname.def;
15733
 
        fi~
15734
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15735
 
      else
15736
 
        ld_shlibs_F77=no
15737
 
      fi
15738
 
      ;;
15739
 
 
15740
 
    interix[3-9]*)
15741
 
      hardcode_direct_F77=no
15742
 
      hardcode_shlibpath_var_F77=no
15743
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15744
 
      export_dynamic_flag_spec_F77='${wl}-E'
15745
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15746
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15747
 
      # default) and relocated if they conflict, which is a slow very memory
15748
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15749
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15750
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15751
 
      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'
15752
 
      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'
15753
 
      ;;
15754
 
 
15755
 
    gnu* | linux* | k*bsd*-gnu)
15756
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15757
 
        tmp_addflag=
15758
 
        case $cc_basename,$host_cpu in
15759
 
        pgcc*)                          # Portland Group C compiler
15760
 
          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'
15761
 
          tmp_addflag=' $pic_flag'
15762
 
          ;;
15763
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15764
 
          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'
15765
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15766
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15767
 
          tmp_addflag=' -i_dynamic' ;;
15768
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15769
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15770
 
        ifc* | ifort*)                  # Intel Fortran compiler
15771
 
          tmp_addflag=' -nofor_main' ;;
15772
 
        esac
15773
 
        case `$CC -V 2>&1 | sed 5q` in
15774
 
        *Sun\ C*)                       # Sun C 5.9
15775
 
          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'
15776
 
          tmp_sharedflag='-G' ;;
15777
 
        *Sun\ F*)                       # Sun Fortran 8.3
15778
 
          tmp_sharedflag='-G' ;;
15779
 
        *)
15780
 
          tmp_sharedflag='-shared' ;;
15781
 
        esac
15782
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15783
 
 
15784
 
        if test $supports_anon_versioning = yes; then
15785
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15786
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15787
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15788
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15789
 
        fi
15790
 
        link_all_deplibs_F77=no
15791
 
      else
15792
 
        ld_shlibs_F77=no
15793
 
      fi
15794
 
      ;;
15795
 
 
15796
 
    netbsd* | netbsdelf*-gnu)
15797
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15798
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15799
 
        wlarc=
15800
 
      else
15801
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15802
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15803
 
      fi
15804
 
      ;;
15805
 
 
15806
 
    solaris*)
15807
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15808
 
        ld_shlibs_F77=no
15809
 
        cat <<EOF 1>&2
15810
 
 
15811
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15812
 
*** create shared libraries on Solaris systems.  Therefore, libtool
15813
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15814
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
15815
 
*** your PATH or compiler configuration so that the native linker is
15816
 
*** used, and then restart.
15817
 
 
15818
 
EOF
15819
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15820
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15821
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15822
 
      else
15823
 
        ld_shlibs_F77=no
15824
 
      fi
15825
 
      ;;
15826
 
 
15827
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15828
 
      case `$LD -v 2>&1` in
15829
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15830
 
        ld_shlibs_F77=no
15831
 
        cat <<_LT_EOF 1>&2
15832
 
 
15833
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15834
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
15835
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15836
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15837
 
*** your PATH or compiler configuration so that the native linker is
15838
 
*** used, and then restart.
15839
 
 
15840
 
_LT_EOF
15841
 
        ;;
15842
 
        *)
15843
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15844
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15845
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15846
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15847
 
          else
15848
 
            ld_shlibs_F77=no
15849
 
          fi
15850
 
        ;;
15851
 
      esac
15852
 
      ;;
15853
 
 
15854
 
    sunos4*)
15855
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15856
 
      wlarc=
15857
 
      hardcode_direct_F77=yes
15858
 
      hardcode_shlibpath_var_F77=no
15859
 
      ;;
15860
 
 
15861
 
    *)
15862
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15863
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15864
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15865
 
      else
15866
 
        ld_shlibs_F77=no
15867
 
      fi
15868
 
      ;;
15869
 
    esac
15870
 
 
15871
 
    if test "$ld_shlibs_F77" = no; then
15872
 
      runpath_var=
15873
 
      hardcode_libdir_flag_spec_F77=
15874
 
      export_dynamic_flag_spec_F77=
15875
 
      whole_archive_flag_spec_F77=
15876
 
    fi
15877
 
  else
15878
 
    # PORTME fill in a description of your system's linker (not GNU ld)
15879
 
    case $host_os in
15880
 
    aix3*)
15881
 
      allow_undefined_flag_F77=unsupported
15882
 
      always_export_symbols_F77=yes
15883
 
      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'
15884
 
      # Note: this linker hardcodes the directories in LIBPATH if there
15885
 
      # are no directories specified by -L.
15886
 
      hardcode_minus_L_F77=yes
15887
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15888
 
        # Neither direct hardcoding nor static linking is supported with a
15889
 
        # broken collect2.
15890
 
        hardcode_direct_F77=unsupported
15891
 
      fi
15892
 
      ;;
15893
 
 
15894
 
    aix4* | aix5*)
15895
 
      if test "$host_cpu" = ia64; then
15896
 
        # On IA64, the linker does run time linking by default, so we don't
15897
 
        # have to do anything special.
15898
 
        aix_use_runtimelinking=no
15899
 
        exp_sym_flag='-Bexport'
15900
 
        no_entry_flag=""
15901
 
      else
15902
 
        # If we're using GNU nm, then we don't want the "-C" option.
15903
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15904
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15905
 
          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'
15906
 
        else
15907
 
          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'
15908
 
        fi
15909
 
        aix_use_runtimelinking=no
15910
 
 
15911
 
        # Test if we are trying to use run time linking or normal
15912
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15913
 
        # need to do runtime linking.
15914
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15915
 
          for ld_flag in $LDFLAGS; do
15916
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15917
 
            aix_use_runtimelinking=yes
15918
 
            break
15919
 
          fi
15920
 
          done
15921
 
          ;;
15922
 
        esac
15923
 
 
15924
 
        exp_sym_flag='-bexport'
15925
 
        no_entry_flag='-bnoentry'
15926
 
      fi
15927
 
 
15928
 
      # When large executables or shared objects are built, AIX ld can
15929
 
      # have problems creating the table of contents.  If linking a library
15930
 
      # or program results in "error TOC overflow" add -mminimal-toc to
15931
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15932
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15933
 
 
15934
 
      archive_cmds_F77=''
15935
 
      hardcode_direct_F77=yes
15936
 
      hardcode_libdir_separator_F77=':'
15937
 
      link_all_deplibs_F77=yes
15938
 
 
15939
 
      if test "$GCC" = yes; then
15940
 
        case $host_os in aix4.[012]|aix4.[012].*)
15941
 
        # We only want to do this on AIX 4.2 and lower, the check
15942
 
        # below for broken collect2 doesn't work under 4.3+
15943
 
          collect2name=`${CC} -print-prog-name=collect2`
15944
 
          if test -f "$collect2name" && \
15945
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15946
 
          then
15947
 
          # We have reworked collect2
15948
 
          :
15949
 
          else
15950
 
          # We have old collect2
15951
 
          hardcode_direct_F77=unsupported
15952
 
          # It fails to find uninstalled libraries when the uninstalled
15953
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15954
 
          # to unsupported forces relinking
15955
 
          hardcode_minus_L_F77=yes
15956
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15957
 
          hardcode_libdir_separator_F77=
15958
 
          fi
15959
 
          ;;
15960
 
        esac
15961
 
        shared_flag='-shared'
15962
 
        if test "$aix_use_runtimelinking" = yes; then
15963
 
          shared_flag="$shared_flag "'${wl}-G'
15964
 
        fi
15965
 
      else
15966
 
        # not using gcc
15967
 
        if test "$host_cpu" = ia64; then
15968
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15969
 
        # chokes on -Wl,-G. The following line is correct:
15970
 
          shared_flag='-G'
15971
 
        else
15972
 
          if test "$aix_use_runtimelinking" = yes; then
15973
 
            shared_flag='${wl}-G'
15974
 
          else
15975
 
            shared_flag='${wl}-bM:SRE'
15976
 
          fi
15977
 
        fi
15978
 
      fi
15979
 
 
15980
 
      # It seems that -bexpall does not export symbols beginning with
15981
 
      # underscore (_), so it is better to generate a list of symbols to export.
15982
 
      always_export_symbols_F77=yes
15983
 
      if test "$aix_use_runtimelinking" = yes; then
15984
 
        # Warning - without using the other runtime loading flags (-brtl),
15985
 
        # -berok will link without error, but may produce a broken library.
15986
 
        allow_undefined_flag_F77='-berok'
15987
 
       # Determine the default libpath from the value encoded in an empty executable.
15988
 
       cat >conftest.$ac_ext <<_ACEOF
15989
 
      program main
15990
 
 
15991
 
      end
15992
 
_ACEOF
15993
 
rm -f conftest.$ac_objext conftest$ac_exeext
15994
 
if { (ac_try="$ac_link"
15995
 
case "(($ac_try" in
15996
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15997
 
  *) ac_try_echo=$ac_try;;
15998
 
esac
15999
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16000
 
  (eval "$ac_link") 2>conftest.er1
16001
 
  ac_status=$?
16002
 
  grep -v '^ *+' conftest.er1 >conftest.err
16003
 
  rm -f conftest.er1
16004
 
  cat conftest.err >&5
16005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006
 
  (exit $ac_status); } && {
16007
 
         test -z "$ac_f77_werror_flag" ||
16008
 
         test ! -s conftest.err
16009
 
       } && test -s conftest$ac_exeext &&
16010
 
       $as_test_x conftest$ac_exeext; then
16011
 
  
16012
 
lt_aix_libpath_sed='
16013
 
    /Import File Strings/,/^$/ {
16014
 
        /^0/ {
16015
 
            s/^0  *\(.*\)$/\1/
16016
 
            p
16017
 
        }
16018
 
    }'
16019
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16020
 
# Check for a 64-bit object if we didn't find anything.
16021
 
if test -z "$aix_libpath"; then
16022
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16023
 
fi
16024
 
else
16025
 
  echo "$as_me: failed program was:" >&5
16026
 
sed 's/^/| /' conftest.$ac_ext >&5
16027
 
 
16028
 
        
16029
 
fi
16030
 
 
16031
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16032
 
      conftest$ac_exeext conftest.$ac_ext
16033
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16034
 
 
16035
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16036
 
        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"
16037
 
       else
16038
 
        if test "$host_cpu" = ia64; then
16039
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16040
 
          allow_undefined_flag_F77="-z nodefs"
16041
 
          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"
16042
 
        else
16043
 
         # Determine the default libpath from the value encoded in an empty executable.
16044
 
         cat >conftest.$ac_ext <<_ACEOF
16045
 
      program main
16046
 
 
16047
 
      end
16048
 
_ACEOF
16049
 
rm -f conftest.$ac_objext conftest$ac_exeext
16050
 
if { (ac_try="$ac_link"
16051
 
case "(($ac_try" in
16052
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16053
 
  *) ac_try_echo=$ac_try;;
16054
 
esac
16055
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16056
 
  (eval "$ac_link") 2>conftest.er1
16057
 
  ac_status=$?
16058
 
  grep -v '^ *+' conftest.er1 >conftest.err
16059
 
  rm -f conftest.er1
16060
 
  cat conftest.err >&5
16061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062
 
  (exit $ac_status); } && {
16063
 
         test -z "$ac_f77_werror_flag" ||
16064
 
         test ! -s conftest.err
16065
 
       } && test -s conftest$ac_exeext &&
16066
 
       $as_test_x conftest$ac_exeext; then
16067
 
  
16068
 
lt_aix_libpath_sed='
16069
 
    /Import File Strings/,/^$/ {
16070
 
        /^0/ {
16071
 
            s/^0  *\(.*\)$/\1/
16072
 
            p
16073
 
        }
16074
 
    }'
16075
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16076
 
# Check for a 64-bit object if we didn't find anything.
16077
 
if test -z "$aix_libpath"; then
16078
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16079
 
fi
16080
 
else
16081
 
  echo "$as_me: failed program was:" >&5
16082
 
sed 's/^/| /' conftest.$ac_ext >&5
16083
 
 
16084
 
        
16085
 
fi
16086
 
 
16087
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16088
 
      conftest$ac_exeext conftest.$ac_ext
16089
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16090
 
 
16091
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16092
 
          # Warning - without using the other run time loading flags,
16093
 
          # -berok will link without error, but may produce a broken library.
16094
 
          no_undefined_flag_F77=' ${wl}-bernotok'
16095
 
          allow_undefined_flag_F77=' ${wl}-berok'
16096
 
          # Exported symbols can be pulled into shared objects from archives
16097
 
          whole_archive_flag_spec_F77='$convenience'
16098
 
          archive_cmds_need_lc_F77=yes
16099
 
          # This is similar to how AIX traditionally builds its shared libraries.
16100
 
          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'
16101
 
        fi
16102
 
      fi
16103
 
      ;;
16104
 
 
16105
 
    amigaos*)
16106
 
      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)'
16107
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16108
 
      hardcode_minus_L_F77=yes
16109
 
      # see comment about different semantics on the GNU ld section
16110
 
      ld_shlibs_F77=no
16111
 
      ;;
16112
 
 
16113
 
    bsdi[45]*)
16114
 
      export_dynamic_flag_spec_F77=-rdynamic
16115
 
      ;;
16116
 
 
16117
 
    cygwin* | mingw* | pw32*)
16118
 
      # When not using gcc, we currently assume that we are using
16119
 
      # Microsoft Visual C++.
16120
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
16121
 
      # no search path for DLLs.
16122
 
      hardcode_libdir_flag_spec_F77=' '
16123
 
      allow_undefined_flag_F77=unsupported
16124
 
      # Tell ltmain to make .lib files, not .a files.
16125
 
      libext=lib
16126
 
      # Tell ltmain to make .dll files, not .so files.
16127
 
      shrext_cmds=".dll"
16128
 
      # FIXME: Setting linknames here is a bad hack.
16129
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16130
 
      # The linker will automatically build a .lib file if we build a DLL.
16131
 
      old_archive_From_new_cmds_F77='true'
16132
 
      # FIXME: Should let the user specify the lib program.
16133
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16134
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16135
 
      enable_shared_with_static_runtimes_F77=yes
16136
 
      ;;
16137
 
 
16138
 
    darwin* | rhapsody*)
16139
 
      case $host_os in
16140
 
        rhapsody* | darwin1.[012])
16141
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
16142
 
         ;;
16143
 
       *) # Darwin 1.3 on
16144
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16145
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16146
 
         else
16147
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
16148
 
             10.[012])
16149
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16150
 
               ;;
16151
 
             10.*)
16152
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
16153
 
               ;;
16154
 
           esac
16155
 
         fi
16156
 
         ;;
16157
 
      esac
16158
 
      archive_cmds_need_lc_F77=no
16159
 
      hardcode_direct_F77=no
16160
 
      hardcode_automatic_F77=yes
16161
 
      hardcode_shlibpath_var_F77=unsupported
16162
 
      whole_archive_flag_spec_F77=''
16163
 
      link_all_deplibs_F77=yes
16164
 
    if test "$GCC" = yes ; then
16165
 
        output_verbose_link_cmd='echo'
16166
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16167
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16168
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16169
 
      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}'
16170
 
      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}'
16171
 
    else
16172
 
      case $cc_basename in
16173
 
        xlc*)
16174
 
         output_verbose_link_cmd='echo'
16175
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16176
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16177
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16178
 
         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}'
16179
 
          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}'
16180
 
          ;;
16181
 
       *)
16182
 
         ld_shlibs_F77=no
16183
 
          ;;
16184
 
      esac
16185
 
    fi
16186
 
      ;;
16187
 
 
16188
 
    dgux*)
16189
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16190
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16191
 
      hardcode_shlibpath_var_F77=no
16192
 
      ;;
16193
 
 
16194
 
    freebsd1*)
16195
 
      ld_shlibs_F77=no
16196
 
      ;;
16197
 
 
16198
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16199
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
16200
 
    # does not break anything, and helps significantly (at the cost of a little
16201
 
    # extra space).
16202
 
    freebsd2.2*)
16203
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16204
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16205
 
      hardcode_direct_F77=yes
16206
 
      hardcode_shlibpath_var_F77=no
16207
 
      ;;
16208
 
 
16209
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16210
 
    freebsd2*)
16211
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16212
 
      hardcode_direct_F77=yes
16213
 
      hardcode_minus_L_F77=yes
16214
 
      hardcode_shlibpath_var_F77=no
16215
 
      ;;
16216
 
 
16217
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16218
 
    freebsd* | dragonfly*)
16219
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16220
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16221
 
      hardcode_direct_F77=yes
16222
 
      hardcode_shlibpath_var_F77=no
16223
 
      ;;
16224
 
 
16225
 
    hpux9*)
16226
 
      if test "$GCC" = yes; then
16227
 
        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'
16228
 
      else
16229
 
        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'
16230
 
      fi
16231
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16232
 
      hardcode_libdir_separator_F77=:
16233
 
      hardcode_direct_F77=yes
16234
 
 
16235
 
      # hardcode_minus_L: Not really in the search PATH,
16236
 
      # but as the default location of the library.
16237
 
      hardcode_minus_L_F77=yes
16238
 
      export_dynamic_flag_spec_F77='${wl}-E'
16239
 
      ;;
16240
 
 
16241
 
    hpux10*)
16242
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16243
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16244
 
      else
16245
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16246
 
      fi
16247
 
      if test "$with_gnu_ld" = no; then
16248
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16249
 
        hardcode_libdir_separator_F77=:
16250
 
 
16251
 
        hardcode_direct_F77=yes
16252
 
        export_dynamic_flag_spec_F77='${wl}-E'
16253
 
 
16254
 
        # hardcode_minus_L: Not really in the search PATH,
16255
 
        # but as the default location of the library.
16256
 
        hardcode_minus_L_F77=yes
16257
 
      fi
16258
 
      ;;
16259
 
 
16260
 
    hpux11*)
16261
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16262
 
        case $host_cpu in
16263
 
        hppa*64*)
16264
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16265
 
          ;;
16266
 
        ia64*)
16267
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16268
 
          ;;
16269
 
        *)
16270
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16271
 
          ;;
16272
 
        esac
16273
 
      else
16274
 
        case $host_cpu in
16275
 
        hppa*64*)
16276
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16277
 
          ;;
16278
 
        ia64*)
16279
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16280
 
          ;;
16281
 
        *)
16282
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16283
 
          ;;
16284
 
        esac
16285
 
      fi
16286
 
      if test "$with_gnu_ld" = no; then
16287
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16288
 
        hardcode_libdir_separator_F77=:
16289
 
 
16290
 
        case $host_cpu in
16291
 
        hppa*64*|ia64*)
16292
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16293
 
          hardcode_direct_F77=no
16294
 
          hardcode_shlibpath_var_F77=no
16295
 
          ;;
16296
 
        *)
16297
 
          hardcode_direct_F77=yes
16298
 
          export_dynamic_flag_spec_F77='${wl}-E'
16299
 
 
16300
 
          # hardcode_minus_L: Not really in the search PATH,
16301
 
          # but as the default location of the library.
16302
 
          hardcode_minus_L_F77=yes
16303
 
          ;;
16304
 
        esac
16305
 
      fi
16306
 
      ;;
16307
 
 
16308
 
    irix5* | irix6* | nonstopux*)
16309
 
      if test "$GCC" = yes; then
16310
 
        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'
16311
 
      else
16312
 
        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'
16313
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16314
 
      fi
16315
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16316
 
      hardcode_libdir_separator_F77=:
16317
 
      link_all_deplibs_F77=yes
16318
 
      ;;
16319
 
 
16320
 
    netbsd* | netbsdelf*-gnu)
16321
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16322
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16323
 
      else
16324
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
16325
 
      fi
16326
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16327
 
      hardcode_direct_F77=yes
16328
 
      hardcode_shlibpath_var_F77=no
16329
 
      ;;
16330
 
 
16331
 
    newsos6)
16332
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16333
 
      hardcode_direct_F77=yes
16334
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16335
 
      hardcode_libdir_separator_F77=:
16336
 
      hardcode_shlibpath_var_F77=no
16337
 
      ;;
16338
 
 
16339
 
    openbsd*)
16340
 
      if test -f /usr/libexec/ld.so; then
16341
 
        hardcode_direct_F77=yes
16342
 
        hardcode_shlibpath_var_F77=no
16343
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16344
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16345
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16346
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16347
 
          export_dynamic_flag_spec_F77='${wl}-E'
16348
 
        else
16349
 
          case $host_os in
16350
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16351
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16352
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
16353
 
             ;;
16354
 
           *)
16355
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16356
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16357
 
             ;;
16358
 
          esac
16359
 
        fi
16360
 
      else
16361
 
        ld_shlibs_F77=no
16362
 
      fi
16363
 
      ;;
16364
 
 
16365
 
    os2*)
16366
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16367
 
      hardcode_minus_L_F77=yes
16368
 
      allow_undefined_flag_F77=unsupported
16369
 
      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'
16370
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16371
 
      ;;
16372
 
 
16373
 
    osf3*)
16374
 
      if test "$GCC" = yes; then
16375
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16376
 
        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'
16377
 
      else
16378
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16379
 
        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'
16380
 
      fi
16381
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16382
 
      hardcode_libdir_separator_F77=:
16383
 
      ;;
16384
 
 
16385
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
16386
 
      if test "$GCC" = yes; then
16387
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16388
 
        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'
16389
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16390
 
      else
16391
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16392
 
        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'
16393
 
        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~
16394
 
        $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'
16395
 
 
16396
 
        # Both c and cxx compiler support -rpath directly
16397
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
16398
 
      fi
16399
 
      hardcode_libdir_separator_F77=:
16400
 
      ;;
16401
 
 
16402
 
    solaris*)
16403
 
      no_undefined_flag_F77=' -z text'
16404
 
      if test "$GCC" = yes; then
16405
 
        wlarc='${wl}'
16406
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16407
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16408
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16409
 
      else
16410
 
        wlarc=''
16411
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16412
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16413
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16414
 
      fi
16415
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16416
 
      hardcode_shlibpath_var_F77=no
16417
 
      case $host_os in
16418
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16419
 
      *)
16420
 
        # The compiler driver will combine and reorder linker options,
16421
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
16422
 
        # but is careful enough not to reorder.
16423
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16424
 
        if test "$GCC" = yes; then
16425
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16426
 
        else
16427
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16428
 
        fi
16429
 
        ;;
16430
 
      esac
16431
 
      link_all_deplibs_F77=yes
16432
 
      ;;
16433
 
 
16434
 
    sunos4*)
16435
 
      if test "x$host_vendor" = xsequent; then
16436
 
        # Use $CC to link under sequent, because it throws in some extra .o
16437
 
        # files that make .init and .fini sections work.
16438
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16439
 
      else
16440
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16441
 
      fi
16442
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16443
 
      hardcode_direct_F77=yes
16444
 
      hardcode_minus_L_F77=yes
16445
 
      hardcode_shlibpath_var_F77=no
16446
 
      ;;
16447
 
 
16448
 
    sysv4)
16449
 
      case $host_vendor in
16450
 
        sni)
16451
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16452
 
          hardcode_direct_F77=yes # is this really true???
16453
 
        ;;
16454
 
        siemens)
16455
 
          ## LD is ld it makes a PLAMLIB
16456
 
          ## CC just makes a GrossModule.
16457
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16458
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
16459
 
          hardcode_direct_F77=no
16460
 
        ;;
16461
 
        motorola)
16462
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16463
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16464
 
        ;;
16465
 
      esac
16466
 
      runpath_var='LD_RUN_PATH'
16467
 
      hardcode_shlibpath_var_F77=no
16468
 
      ;;
16469
 
 
16470
 
    sysv4.3*)
16471
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16472
 
      hardcode_shlibpath_var_F77=no
16473
 
      export_dynamic_flag_spec_F77='-Bexport'
16474
 
      ;;
16475
 
 
16476
 
    sysv4*MP*)
16477
 
      if test -d /usr/nec; then
16478
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16479
 
        hardcode_shlibpath_var_F77=no
16480
 
        runpath_var=LD_RUN_PATH
16481
 
        hardcode_runpath_var=yes
16482
 
        ld_shlibs_F77=yes
16483
 
      fi
16484
 
      ;;
16485
 
 
16486
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16487
 
      no_undefined_flag_F77='${wl}-z,text'
16488
 
      archive_cmds_need_lc_F77=no
16489
 
      hardcode_shlibpath_var_F77=no
16490
 
      runpath_var='LD_RUN_PATH'
16491
 
 
16492
 
      if test "$GCC" = yes; then
16493
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16494
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16495
 
      else
16496
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16497
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16498
 
      fi
16499
 
      ;;
16500
 
 
16501
 
    sysv5* | sco3.2v5* | sco5v6*)
16502
 
      # Note: We can NOT use -z defs as we might desire, because we do not
16503
 
      # link with -lc, and that would cause any symbols used from libc to
16504
 
      # always be unresolved, which means just about no library would
16505
 
      # ever link correctly.  If we're not using GNU ld we use -z text
16506
 
      # though, which does catch some bad symbols but isn't as heavy-handed
16507
 
      # as -z defs.
16508
 
      no_undefined_flag_F77='${wl}-z,text'
16509
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
16510
 
      archive_cmds_need_lc_F77=no
16511
 
      hardcode_shlibpath_var_F77=no
16512
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16513
 
      hardcode_libdir_separator_F77=':'
16514
 
      link_all_deplibs_F77=yes
16515
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
16516
 
      runpath_var='LD_RUN_PATH'
16517
 
 
16518
 
      if test "$GCC" = yes; then
16519
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16520
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16521
 
      else
16522
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16523
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16524
 
      fi
16525
 
      ;;
16526
 
 
16527
 
    uts4*)
16528
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16529
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16530
 
      hardcode_shlibpath_var_F77=no
16531
 
      ;;
16532
 
 
16533
 
    *)
16534
 
      ld_shlibs_F77=no
16535
 
      ;;
16536
 
    esac
16537
 
  fi
16538
 
 
16539
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16540
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16541
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16542
 
 
16543
 
#
16544
 
# Do we need to explicitly link libc?
16545
 
#
16546
 
case "x$archive_cmds_need_lc_F77" in
16547
 
x|xyes)
16548
 
  # Assume -lc should be added
16549
 
  archive_cmds_need_lc_F77=yes
16550
 
 
16551
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16552
 
    case $archive_cmds_F77 in
16553
 
    *'~'*)
16554
 
      # FIXME: we may have to deal with multi-command sequences.
16555
 
      ;;
16556
 
    '$CC '*)
16557
 
      # Test whether the compiler implicitly links with -lc since on some
16558
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16559
 
      # to ld, don't add -lc before -lgcc.
16560
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16561
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16562
 
      $rm conftest*
16563
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16564
 
 
16565
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16566
 
  (eval $ac_compile) 2>&5
16567
 
  ac_status=$?
16568
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569
 
  (exit $ac_status); } 2>conftest.err; then
16570
 
        soname=conftest
16571
 
        lib=conftest
16572
 
        libobjs=conftest.$ac_objext
16573
 
        deplibs=
16574
 
        wl=$lt_prog_compiler_wl_F77
16575
 
        pic_flag=$lt_prog_compiler_pic_F77
16576
 
        compiler_flags=-v
16577
 
        linker_flags=-v
16578
 
        verstring=
16579
 
        output_objdir=.
16580
 
        libname=conftest
16581
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16582
 
        allow_undefined_flag_F77=
16583
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16584
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16585
 
  ac_status=$?
16586
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587
 
  (exit $ac_status); }
16588
 
        then
16589
 
          archive_cmds_need_lc_F77=no
16590
 
        else
16591
 
          archive_cmds_need_lc_F77=yes
16592
 
        fi
16593
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16594
 
      else
16595
 
        cat conftest.err 1>&5
16596
 
      fi
16597
 
      $rm conftest*
16598
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16599
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16600
 
      ;;
16601
 
    esac
16602
 
  fi
16603
 
  ;;
16604
 
esac
16605
 
 
16606
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16607
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16608
 
library_names_spec=
16609
 
libname_spec='lib$name'
16610
 
soname_spec=
16611
 
shrext_cmds=".so"
16612
 
postinstall_cmds=
16613
 
postuninstall_cmds=
16614
 
finish_cmds=
16615
 
finish_eval=
16616
 
shlibpath_var=
16617
 
shlibpath_overrides_runpath=unknown
16618
 
version_type=none
16619
 
dynamic_linker="$host_os ld.so"
16620
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16621
 
 
16622
 
need_lib_prefix=unknown
16623
 
hardcode_into_libs=no
16624
 
 
16625
 
# when you set need_version to no, make sure it does not cause -set_version
16626
 
# flags to be left without arguments
16627
 
need_version=unknown
16628
 
 
16629
 
case $host_os in
16630
 
aix3*)
16631
 
  version_type=linux
16632
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16633
 
  shlibpath_var=LIBPATH
16634
 
 
16635
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16636
 
  soname_spec='${libname}${release}${shared_ext}$major'
16637
 
  ;;
16638
 
 
16639
 
aix4* | aix5*)
16640
 
  version_type=linux
16641
 
  need_lib_prefix=no
16642
 
  need_version=no
16643
 
  hardcode_into_libs=yes
16644
 
  if test "$host_cpu" = ia64; then
16645
 
    # AIX 5 supports IA64
16646
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16647
 
    shlibpath_var=LD_LIBRARY_PATH
16648
 
  else
16649
 
    # With GCC up to 2.95.x, collect2 would create an import file
16650
 
    # for dependence libraries.  The import file would start with
16651
 
    # the line `#! .'.  This would cause the generated library to
16652
 
    # depend on `.', always an invalid library.  This was fixed in
16653
 
    # development snapshots of GCC prior to 3.0.
16654
 
    case $host_os in
16655
 
      aix4 | aix4.[01] | aix4.[01].*)
16656
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16657
 
           echo ' yes '
16658
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16659
 
        :
16660
 
      else
16661
 
        can_build_shared=no
16662
 
      fi
16663
 
      ;;
16664
 
    esac
16665
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16666
 
    # soname into executable. Probably we can add versioning support to
16667
 
    # collect2, so additional links can be useful in future.
16668
 
    if test "$aix_use_runtimelinking" = yes; then
16669
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16670
 
      # instead of lib<name>.a to let people know that these are not
16671
 
      # typical AIX shared libraries.
16672
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16673
 
    else
16674
 
      # We preserve .a as extension for shared libraries through AIX4.2
16675
 
      # and later when we are not doing run time linking.
16676
 
      library_names_spec='${libname}${release}.a $libname.a'
16677
 
      soname_spec='${libname}${release}${shared_ext}$major'
16678
 
    fi
16679
 
    shlibpath_var=LIBPATH
16680
 
  fi
16681
 
  ;;
16682
 
 
16683
 
amigaos*)
16684
 
  library_names_spec='$libname.ixlibrary $libname.a'
16685
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16686
 
  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'
16687
 
  ;;
16688
 
 
16689
 
beos*)
16690
 
  library_names_spec='${libname}${shared_ext}'
16691
 
  dynamic_linker="$host_os ld.so"
16692
 
  shlibpath_var=LIBRARY_PATH
16693
 
  ;;
16694
 
 
16695
 
bsdi[45]*)
16696
 
  version_type=linux
16697
 
  need_version=no
16698
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16699
 
  soname_spec='${libname}${release}${shared_ext}$major'
16700
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16701
 
  shlibpath_var=LD_LIBRARY_PATH
16702
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16703
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16704
 
  # the default ld.so.conf also contains /usr/contrib/lib and
16705
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16706
 
  # libtool to hard-code these into programs
16707
 
  ;;
16708
 
 
16709
 
cygwin* | mingw* | pw32*)
16710
 
  version_type=windows
16711
 
  shrext_cmds=".dll"
16712
 
  need_version=no
16713
 
  need_lib_prefix=no
16714
 
 
16715
 
  case $GCC,$host_os in
16716
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16717
 
    library_names_spec='$libname.dll.a'
16718
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16719
 
    postinstall_cmds='base_file=`basename \${file}`~
16720
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16721
 
      dldir=$destdir/`dirname \$dlpath`~
16722
 
      test -d \$dldir || mkdir -p \$dldir~
16723
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16724
 
      chmod a+x \$dldir/$dlname'
16725
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16726
 
      dlpath=$dir/\$dldll~
16727
 
       $rm \$dlpath'
16728
 
    shlibpath_overrides_runpath=yes
16729
 
 
16730
 
    case $host_os in
16731
 
    cygwin*)
16732
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16733
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16734
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16735
 
      ;;
16736
 
    mingw*)
16737
 
      # MinGW DLLs use traditional 'lib' prefix
16738
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16739
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16740
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16741
 
        # It is most probably a Windows format PATH printed by
16742
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16743
 
        # path with ; separators, and with drive letters. We can handle the
16744
 
        # drive letters (cygwin fileutils understands them), so leave them,
16745
 
        # especially as we might pass files found there to a mingw objdump,
16746
 
        # which wouldn't understand a cygwinified path. Ahh.
16747
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16748
 
      else
16749
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16750
 
      fi
16751
 
      ;;
16752
 
    pw32*)
16753
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16754
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16755
 
      ;;
16756
 
    esac
16757
 
    ;;
16758
 
 
16759
 
  *)
16760
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16761
 
    ;;
16762
 
  esac
16763
 
  dynamic_linker='Win32 ld.exe'
16764
 
  # FIXME: first we should search . and the directory the executable is in
16765
 
  shlibpath_var=PATH
16766
 
  ;;
16767
 
 
16768
 
darwin* | rhapsody*)
16769
 
  dynamic_linker="$host_os dyld"
16770
 
  version_type=darwin
16771
 
  need_lib_prefix=no
16772
 
  need_version=no
16773
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16774
 
  soname_spec='${libname}${release}${major}$shared_ext'
16775
 
  shlibpath_overrides_runpath=yes
16776
 
  shlibpath_var=DYLD_LIBRARY_PATH
16777
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16778
 
   
16779
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16780
 
  ;;
16781
 
 
16782
 
dgux*)
16783
 
  version_type=linux
16784
 
  need_lib_prefix=no
16785
 
  need_version=no
16786
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16787
 
  soname_spec='${libname}${release}${shared_ext}$major'
16788
 
  shlibpath_var=LD_LIBRARY_PATH
16789
 
  ;;
16790
 
 
16791
 
freebsd1*)
16792
 
  dynamic_linker=no
16793
 
  ;;
16794
 
 
16795
 
freebsd* | dragonfly*)
16796
 
  # DragonFly does not have aout.  When/if they implement a new
16797
 
  # versioning mechanism, adjust this.
16798
 
  if test -x /usr/bin/objformat; then
16799
 
    objformat=`/usr/bin/objformat`
16800
 
  else
16801
 
    case $host_os in
16802
 
    freebsd[123]*) objformat=aout ;;
16803
 
    *) objformat=elf ;;
16804
 
    esac
16805
 
  fi
16806
 
  version_type=freebsd-$objformat
16807
 
  case $version_type in
16808
 
    freebsd-elf*)
16809
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16810
 
      need_version=no
16811
 
      need_lib_prefix=no
16812
 
      ;;
16813
 
    freebsd-*)
16814
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16815
 
      need_version=yes
16816
 
      ;;
16817
 
  esac
16818
 
  shlibpath_var=LD_LIBRARY_PATH
16819
 
  case $host_os in
16820
 
  freebsd2*)
16821
 
    shlibpath_overrides_runpath=yes
16822
 
    ;;
16823
 
  freebsd3.[01]* | freebsdelf3.[01]*)
16824
 
    shlibpath_overrides_runpath=yes
16825
 
    hardcode_into_libs=yes
16826
 
    ;;
16827
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16828
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16829
 
    shlibpath_overrides_runpath=no
16830
 
    hardcode_into_libs=yes
16831
 
    ;;
16832
 
  *) # from 4.6 on, and DragonFly
16833
 
    shlibpath_overrides_runpath=yes
16834
 
    hardcode_into_libs=yes
16835
 
    ;;
16836
 
  esac
16837
 
  ;;
16838
 
 
16839
 
gnu*)
16840
 
  version_type=linux
16841
 
  need_lib_prefix=no
16842
 
  need_version=no
16843
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16844
 
  soname_spec='${libname}${release}${shared_ext}$major'
16845
 
  shlibpath_var=LD_LIBRARY_PATH
16846
 
  hardcode_into_libs=yes
16847
 
  ;;
16848
 
 
16849
 
hpux9* | hpux10* | hpux11*)
16850
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16851
 
  # link against other versions.
16852
 
  version_type=sunos
16853
 
  need_lib_prefix=no
16854
 
  need_version=no
16855
 
  case $host_cpu in
16856
 
  ia64*)
16857
 
    shrext_cmds='.so'
16858
 
    hardcode_into_libs=yes
16859
 
    dynamic_linker="$host_os dld.so"
16860
 
    shlibpath_var=LD_LIBRARY_PATH
16861
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16862
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16863
 
    soname_spec='${libname}${release}${shared_ext}$major'
16864
 
    if test "X$HPUX_IA64_MODE" = X32; then
16865
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16866
 
    else
16867
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16868
 
    fi
16869
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16870
 
    ;;
16871
 
   hppa*64*)
16872
 
     shrext_cmds='.sl'
16873
 
     hardcode_into_libs=yes
16874
 
     dynamic_linker="$host_os dld.sl"
16875
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16876
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16877
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16878
 
     soname_spec='${libname}${release}${shared_ext}$major'
16879
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16880
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16881
 
     ;;
16882
 
   *)
16883
 
    shrext_cmds='.sl'
16884
 
    dynamic_linker="$host_os dld.sl"
16885
 
    shlibpath_var=SHLIB_PATH
16886
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16887
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16888
 
    soname_spec='${libname}${release}${shared_ext}$major'
16889
 
    ;;
16890
 
  esac
16891
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16892
 
  postinstall_cmds='chmod 555 $lib'
16893
 
  ;;
16894
 
 
16895
 
interix[3-9]*)
16896
 
  version_type=linux
16897
 
  need_lib_prefix=no
16898
 
  need_version=no
16899
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16900
 
  soname_spec='${libname}${release}${shared_ext}$major'
16901
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16902
 
  shlibpath_var=LD_LIBRARY_PATH
16903
 
  shlibpath_overrides_runpath=no
16904
 
  hardcode_into_libs=yes
16905
 
  ;;
16906
 
 
16907
 
irix5* | irix6* | nonstopux*)
16908
 
  case $host_os in
16909
 
    nonstopux*) version_type=nonstopux ;;
16910
 
    *)
16911
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16912
 
                version_type=linux
16913
 
        else
16914
 
                version_type=irix
16915
 
        fi ;;
16916
 
  esac
16917
 
  need_lib_prefix=no
16918
 
  need_version=no
16919
 
  soname_spec='${libname}${release}${shared_ext}$major'
16920
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16921
 
  case $host_os in
16922
 
  irix5* | nonstopux*)
16923
 
    libsuff= shlibsuff=
16924
 
    ;;
16925
 
  *)
16926
 
    case $LD in # libtool.m4 will add one of these switches to LD
16927
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16928
 
      libsuff= shlibsuff= libmagic=32-bit;;
16929
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16930
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16931
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16932
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16933
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16934
 
    esac
16935
 
    ;;
16936
 
  esac
16937
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16938
 
  shlibpath_overrides_runpath=no
16939
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16940
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16941
 
  hardcode_into_libs=yes
16942
 
  ;;
16943
 
 
16944
 
# No shared lib support for Linux oldld, aout, or coff.
16945
 
linux*oldld* | linux*aout* | linux*coff*)
16946
 
  dynamic_linker=no
16947
 
  ;;
16948
 
 
16949
 
# This must be Linux ELF.
16950
 
linux* | k*bsd*-gnu)
16951
 
  version_type=linux
16952
 
  need_lib_prefix=no
16953
 
  need_version=no
16954
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16955
 
  soname_spec='${libname}${release}${shared_ext}$major'
16956
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16957
 
  shlibpath_var=LD_LIBRARY_PATH
16958
 
  shlibpath_overrides_runpath=no
16959
 
  # This implies no fast_install, which is unacceptable.
16960
 
  # Some rework will be needed to allow for fast_install
16961
 
  # before this can be enabled.
16962
 
  hardcode_into_libs=yes
16963
 
 
16964
 
  # Append ld.so.conf contents to the search path
16965
 
  if test -f /etc/ld.so.conf; then
16966
 
    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' ' '`
16967
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16968
 
  fi
16969
 
 
16970
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16971
 
  # powerpc, because MkLinux only supported shared libraries with the
16972
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16973
 
  # most powerpc-linux boxes support dynamic linking these days and
16974
 
  # people can always --disable-shared, the test was removed, and we
16975
 
  # assume the GNU/Linux dynamic linker is in use.
16976
 
  dynamic_linker='GNU/Linux ld.so'
16977
 
  ;;
16978
 
 
16979
 
netbsdelf*-gnu)
16980
 
  version_type=linux
16981
 
  need_lib_prefix=no
16982
 
  need_version=no
16983
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16984
 
  soname_spec='${libname}${release}${shared_ext}$major'
16985
 
  shlibpath_var=LD_LIBRARY_PATH
16986
 
  shlibpath_overrides_runpath=no
16987
 
  hardcode_into_libs=yes
16988
 
  dynamic_linker='NetBSD ld.elf_so'
16989
 
  ;;
16990
 
 
16991
 
netbsd*)
16992
 
  version_type=sunos
16993
 
  need_lib_prefix=no
16994
 
  need_version=no
16995
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16996
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16997
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16998
 
    dynamic_linker='NetBSD (a.out) ld.so'
16999
 
  else
17000
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17001
 
    soname_spec='${libname}${release}${shared_ext}$major'
17002
 
    dynamic_linker='NetBSD ld.elf_so'
17003
 
  fi
17004
 
  shlibpath_var=LD_LIBRARY_PATH
17005
 
  shlibpath_overrides_runpath=yes
17006
 
  hardcode_into_libs=yes
17007
 
  ;;
17008
 
 
17009
 
newsos6)
17010
 
  version_type=linux
17011
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17012
 
  shlibpath_var=LD_LIBRARY_PATH
17013
 
  shlibpath_overrides_runpath=yes
17014
 
  ;;
17015
 
 
17016
 
nto-qnx*)
17017
 
  version_type=linux
17018
 
  need_lib_prefix=no
17019
 
  need_version=no
17020
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17021
 
  soname_spec='${libname}${release}${shared_ext}$major'
17022
 
  shlibpath_var=LD_LIBRARY_PATH
17023
 
  shlibpath_overrides_runpath=yes
17024
 
  ;;
17025
 
 
17026
 
openbsd*)
17027
 
  version_type=sunos
17028
 
  sys_lib_dlsearch_path_spec="/usr/lib"
17029
 
  need_lib_prefix=no
17030
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17031
 
  case $host_os in
17032
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17033
 
    *)                         need_version=no  ;;
17034
 
  esac
17035
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17036
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17037
 
  shlibpath_var=LD_LIBRARY_PATH
17038
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17039
 
    case $host_os in
17040
 
      openbsd2.[89] | openbsd2.[89].*)
17041
 
        shlibpath_overrides_runpath=no
17042
 
        ;;
17043
 
      *)
17044
 
        shlibpath_overrides_runpath=yes
17045
 
        ;;
17046
 
      esac
17047
 
  else
17048
 
    shlibpath_overrides_runpath=yes
17049
 
  fi
17050
 
  ;;
17051
 
 
17052
 
os2*)
17053
 
  libname_spec='$name'
17054
 
  shrext_cmds=".dll"
17055
 
  need_lib_prefix=no
17056
 
  library_names_spec='$libname${shared_ext} $libname.a'
17057
 
  dynamic_linker='OS/2 ld.exe'
17058
 
  shlibpath_var=LIBPATH
17059
 
  ;;
17060
 
 
17061
 
osf3* | osf4* | osf5*)
17062
 
  version_type=osf
17063
 
  need_lib_prefix=no
17064
 
  need_version=no
17065
 
  soname_spec='${libname}${release}${shared_ext}$major'
17066
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17067
 
  shlibpath_var=LD_LIBRARY_PATH
17068
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17069
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17070
 
  ;;
17071
 
 
17072
 
rdos*)
17073
 
  dynamic_linker=no
17074
 
  ;;
17075
 
 
17076
 
solaris*)
17077
 
  version_type=linux
17078
 
  need_lib_prefix=no
17079
 
  need_version=no
17080
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17081
 
  soname_spec='${libname}${release}${shared_ext}$major'
17082
 
  shlibpath_var=LD_LIBRARY_PATH
17083
 
  shlibpath_overrides_runpath=yes
17084
 
  hardcode_into_libs=yes
17085
 
  # ldd complains unless libraries are executable
17086
 
  postinstall_cmds='chmod +x $lib'
17087
 
  ;;
17088
 
 
17089
 
sunos4*)
17090
 
  version_type=sunos
17091
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17092
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17093
 
  shlibpath_var=LD_LIBRARY_PATH
17094
 
  shlibpath_overrides_runpath=yes
17095
 
  if test "$with_gnu_ld" = yes; then
17096
 
    need_lib_prefix=no
17097
 
  fi
17098
 
  need_version=yes
17099
 
  ;;
17100
 
 
17101
 
sysv4 | sysv4.3*)
17102
 
  version_type=linux
17103
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17104
 
  soname_spec='${libname}${release}${shared_ext}$major'
17105
 
  shlibpath_var=LD_LIBRARY_PATH
17106
 
  case $host_vendor in
17107
 
    sni)
17108
 
      shlibpath_overrides_runpath=no
17109
 
      need_lib_prefix=no
17110
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
17111
 
      runpath_var=LD_RUN_PATH
17112
 
      ;;
17113
 
    siemens)
17114
 
      need_lib_prefix=no
17115
 
      ;;
17116
 
    motorola)
17117
 
      need_lib_prefix=no
17118
 
      need_version=no
17119
 
      shlibpath_overrides_runpath=no
17120
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17121
 
      ;;
17122
 
  esac
17123
 
  ;;
17124
 
 
17125
 
sysv4*MP*)
17126
 
  if test -d /usr/nec ;then
17127
 
    version_type=linux
17128
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17129
 
    soname_spec='$libname${shared_ext}.$major'
17130
 
    shlibpath_var=LD_LIBRARY_PATH
17131
 
  fi
17132
 
  ;;
17133
 
 
17134
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17135
 
  version_type=freebsd-elf
17136
 
  need_lib_prefix=no
17137
 
  need_version=no
17138
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17139
 
  soname_spec='${libname}${release}${shared_ext}$major'
17140
 
  shlibpath_var=LD_LIBRARY_PATH
17141
 
  hardcode_into_libs=yes
17142
 
  if test "$with_gnu_ld" = yes; then
17143
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17144
 
    shlibpath_overrides_runpath=no
17145
 
  else
17146
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17147
 
    shlibpath_overrides_runpath=yes
17148
 
    case $host_os in
17149
 
      sco3.2v5*)
17150
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17151
 
        ;;
17152
 
    esac
17153
 
  fi
17154
 
  sys_lib_dlsearch_path_spec='/usr/lib'
17155
 
  ;;
17156
 
 
17157
 
uts4*)
17158
 
  version_type=linux
17159
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17160
 
  soname_spec='${libname}${release}${shared_ext}$major'
17161
 
  shlibpath_var=LD_LIBRARY_PATH
17162
 
  ;;
17163
 
 
17164
 
*)
17165
 
  dynamic_linker=no
17166
 
  ;;
17167
 
esac
17168
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17169
 
echo "${ECHO_T}$dynamic_linker" >&6; }
17170
 
test "$dynamic_linker" = no && can_build_shared=no
17171
 
 
17172
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17173
 
if test "$GCC" = yes; then
17174
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17175
 
fi
17176
 
 
17177
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17178
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17179
 
hardcode_action_F77=
17180
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
17181
 
   test -n "$runpath_var_F77" || \
17182
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
17183
 
 
17184
 
  # We can hardcode non-existant directories.
17185
 
  if test "$hardcode_direct_F77" != no &&
17186
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17187
 
     # have to relink, otherwise we might link with an installed library
17188
 
     # when we should be linking with a yet-to-be-installed one
17189
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17190
 
     test "$hardcode_minus_L_F77" != no; then
17191
 
    # Linking always hardcodes the temporary library directory.
17192
 
    hardcode_action_F77=relink
17193
 
  else
17194
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17195
 
    hardcode_action_F77=immediate
17196
 
  fi
17197
 
else
17198
 
  # We cannot hardcode anything, or else we can only hardcode existing
17199
 
  # directories.
17200
 
  hardcode_action_F77=unsupported
17201
 
fi
17202
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17203
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
17204
 
 
17205
 
if test "$hardcode_action_F77" = relink; then
17206
 
  # Fast installation is not supported
17207
 
  enable_fast_install=no
17208
 
elif test "$shlibpath_overrides_runpath" = yes ||
17209
 
     test "$enable_shared" = no; then
17210
 
  # Fast installation is not necessary
17211
 
  enable_fast_install=needless
17212
 
fi
17213
 
 
17214
 
 
17215
 
# The else clause should only fire when bootstrapping the
17216
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17217
 
# with your package, and you will get complaints that there are
17218
 
# no rules to generate ltmain.sh.
17219
 
if test -f "$ltmain"; then
17220
 
  # See if we are running on zsh, and set the options which allow our commands through
17221
 
  # without removal of \ escapes.
17222
 
  if test -n "${ZSH_VERSION+set}" ; then
17223
 
    setopt NO_GLOB_SUBST
17224
 
  fi
17225
 
  # Now quote all the things that may contain metacharacters while being
17226
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17227
 
  # variables and quote the copies for generation of the libtool script.
17228
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17229
 
    SED SHELL STRIP \
17230
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17231
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17232
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17233
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17234
 
    lt_cv_sys_global_symbol_to_c_name_address \
17235
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17236
 
    old_postinstall_cmds old_postuninstall_cmds \
17237
 
    compiler_F77 \
17238
 
    CC_F77 \
17239
 
    LD_F77 \
17240
 
    lt_prog_compiler_wl_F77 \
17241
 
    lt_prog_compiler_pic_F77 \
17242
 
    lt_prog_compiler_static_F77 \
17243
 
    lt_prog_compiler_no_builtin_flag_F77 \
17244
 
    export_dynamic_flag_spec_F77 \
17245
 
    thread_safe_flag_spec_F77 \
17246
 
    whole_archive_flag_spec_F77 \
17247
 
    enable_shared_with_static_runtimes_F77 \
17248
 
    old_archive_cmds_F77 \
17249
 
    old_archive_from_new_cmds_F77 \
17250
 
    predep_objects_F77 \
17251
 
    postdep_objects_F77 \
17252
 
    predeps_F77 \
17253
 
    postdeps_F77 \
17254
 
    compiler_lib_search_path_F77 \
17255
 
    archive_cmds_F77 \
17256
 
    archive_expsym_cmds_F77 \
17257
 
    postinstall_cmds_F77 \
17258
 
    postuninstall_cmds_F77 \
17259
 
    old_archive_from_expsyms_cmds_F77 \
17260
 
    allow_undefined_flag_F77 \
17261
 
    no_undefined_flag_F77 \
17262
 
    export_symbols_cmds_F77 \
17263
 
    hardcode_libdir_flag_spec_F77 \
17264
 
    hardcode_libdir_flag_spec_ld_F77 \
17265
 
    hardcode_libdir_separator_F77 \
17266
 
    hardcode_automatic_F77 \
17267
 
    module_cmds_F77 \
17268
 
    module_expsym_cmds_F77 \
17269
 
    lt_cv_prog_compiler_c_o_F77 \
17270
 
    fix_srcfile_path_F77 \
17271
 
    exclude_expsyms_F77 \
17272
 
    include_expsyms_F77; do
17273
 
 
17274
 
    case $var in
17275
 
    old_archive_cmds_F77 | \
17276
 
    old_archive_from_new_cmds_F77 | \
17277
 
    archive_cmds_F77 | \
17278
 
    archive_expsym_cmds_F77 | \
17279
 
    module_cmds_F77 | \
17280
 
    module_expsym_cmds_F77 | \
17281
 
    old_archive_from_expsyms_cmds_F77 | \
17282
 
    export_symbols_cmds_F77 | \
17283
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17284
 
    postinstall_cmds | postuninstall_cmds | \
17285
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17286
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17287
 
      # Double-quote double-evaled strings.
17288
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17289
 
      ;;
17290
 
    *)
17291
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17292
 
      ;;
17293
 
    esac
17294
 
  done
17295
 
 
17296
 
  case $lt_echo in
17297
 
  *'\$0 --fallback-echo"')
17298
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17299
 
    ;;
17300
 
  esac
17301
 
 
17302
 
cfgfile="$ofile"
17303
 
 
17304
 
  cat <<__EOF__ >> "$cfgfile"
17305
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17306
 
 
17307
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17308
 
 
17309
 
# Shell to use when invoking shell scripts.
17310
 
SHELL=$lt_SHELL
17311
 
 
17312
 
# Whether or not to build shared libraries.
17313
 
build_libtool_libs=$enable_shared
17314
 
 
17315
 
# Whether or not to build static libraries.
17316
 
build_old_libs=$enable_static
17317
 
 
17318
 
# Whether or not to add -lc for building shared libraries.
17319
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
17320
 
 
17321
 
# Whether or not to disallow shared libs when runtime libs are static
17322
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17323
 
 
17324
 
# Whether or not to optimize for fast installation.
17325
 
fast_install=$enable_fast_install
17326
 
 
17327
 
# The host system.
17328
 
host_alias=$host_alias
17329
 
host=$host
17330
 
host_os=$host_os
17331
 
 
17332
 
# The build system.
17333
 
build_alias=$build_alias
17334
 
build=$build
17335
 
build_os=$build_os
17336
 
 
17337
 
# An echo program that does not interpret backslashes.
17338
 
echo=$lt_echo
17339
 
 
17340
 
# The archiver.
17341
 
AR=$lt_AR
17342
 
AR_FLAGS=$lt_AR_FLAGS
17343
 
 
17344
 
# A C compiler.
17345
 
LTCC=$lt_LTCC
17346
 
 
17347
 
# LTCC compiler flags.
17348
 
LTCFLAGS=$lt_LTCFLAGS
17349
 
 
17350
 
# A language-specific compiler.
17351
 
CC=$lt_compiler_F77
17352
 
 
17353
 
# Is the compiler the GNU C compiler?
17354
 
with_gcc=$GCC_F77
17355
 
 
17356
 
# An ERE matcher.
17357
 
EGREP=$lt_EGREP
17358
 
 
17359
 
# The linker used to build libraries.
17360
 
LD=$lt_LD_F77
17361
 
 
17362
 
# Whether we need hard or soft links.
17363
 
LN_S=$lt_LN_S
17364
 
 
17365
 
# A BSD-compatible nm program.
17366
 
NM=$lt_NM
17367
 
 
17368
 
# A symbol stripping program
17369
 
STRIP=$lt_STRIP
17370
 
 
17371
 
# Used to examine libraries when file_magic_cmd begins "file"
17372
 
MAGIC_CMD=$MAGIC_CMD
17373
 
 
17374
 
# Used on cygwin: DLL creation program.
17375
 
DLLTOOL="$DLLTOOL"
17376
 
 
17377
 
# Used on cygwin: object dumper.
17378
 
OBJDUMP="$OBJDUMP"
17379
 
 
17380
 
# Used on cygwin: assembler.
17381
 
AS="$AS"
17382
 
 
17383
 
# The name of the directory that contains temporary libtool files.
17384
 
objdir=$objdir
17385
 
 
17386
 
# How to create reloadable object files.
17387
 
reload_flag=$lt_reload_flag
17388
 
reload_cmds=$lt_reload_cmds
17389
 
 
17390
 
# How to pass a linker flag through the compiler.
17391
 
wl=$lt_lt_prog_compiler_wl_F77
17392
 
 
17393
 
# Object file suffix (normally "o").
17394
 
objext="$ac_objext"
17395
 
 
17396
 
# Old archive suffix (normally "a").
17397
 
libext="$libext"
17398
 
 
17399
 
# Shared library suffix (normally ".so").
17400
 
shrext_cmds='$shrext_cmds'
17401
 
 
17402
 
# Executable file suffix (normally "").
17403
 
exeext="$exeext"
17404
 
 
17405
 
# Additional compiler flags for building library objects.
17406
 
pic_flag=$lt_lt_prog_compiler_pic_F77
17407
 
pic_mode=$pic_mode
17408
 
 
17409
 
# What is the maximum length of a command?
17410
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17411
 
 
17412
 
# Does compiler simultaneously support -c and -o options?
17413
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17414
 
 
17415
 
# Must we lock files when doing compilation?
17416
 
need_locks=$lt_need_locks
17417
 
 
17418
 
# Do we need the lib prefix for modules?
17419
 
need_lib_prefix=$need_lib_prefix
17420
 
 
17421
 
# Do we need a version for libraries?
17422
 
need_version=$need_version
17423
 
 
17424
 
# Whether dlopen is supported.
17425
 
dlopen_support=$enable_dlopen
17426
 
 
17427
 
# Whether dlopen of programs is supported.
17428
 
dlopen_self=$enable_dlopen_self
17429
 
 
17430
 
# Whether dlopen of statically linked programs is supported.
17431
 
dlopen_self_static=$enable_dlopen_self_static
17432
 
 
17433
 
# Compiler flag to prevent dynamic linking.
17434
 
link_static_flag=$lt_lt_prog_compiler_static_F77
17435
 
 
17436
 
# Compiler flag to turn off builtin functions.
17437
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17438
 
 
17439
 
# Compiler flag to allow reflexive dlopens.
17440
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17441
 
 
17442
 
# Compiler flag to generate shared objects directly from archives.
17443
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17444
 
 
17445
 
# Compiler flag to generate thread-safe objects.
17446
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17447
 
 
17448
 
# Library versioning type.
17449
 
version_type=$version_type
17450
 
 
17451
 
# Format of library name prefix.
17452
 
libname_spec=$lt_libname_spec
17453
 
 
17454
 
# List of archive names.  First name is the real one, the rest are links.
17455
 
# The last name is the one that the linker finds with -lNAME.
17456
 
library_names_spec=$lt_library_names_spec
17457
 
 
17458
 
# The coded name of the library, if different from the real name.
17459
 
soname_spec=$lt_soname_spec
17460
 
 
17461
 
# Commands used to build and install an old-style archive.
17462
 
RANLIB=$lt_RANLIB
17463
 
old_archive_cmds=$lt_old_archive_cmds_F77
17464
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17465
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17466
 
 
17467
 
# Create an old-style archive from a shared archive.
17468
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17469
 
 
17470
 
# Create a temporary old-style archive to link instead of a shared archive.
17471
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17472
 
 
17473
 
# Commands used to build and install a shared archive.
17474
 
archive_cmds=$lt_archive_cmds_F77
17475
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17476
 
postinstall_cmds=$lt_postinstall_cmds
17477
 
postuninstall_cmds=$lt_postuninstall_cmds
17478
 
 
17479
 
# Commands used to build a loadable module (assumed same as above if empty)
17480
 
module_cmds=$lt_module_cmds_F77
17481
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
17482
 
 
17483
 
# Commands to strip libraries.
17484
 
old_striplib=$lt_old_striplib
17485
 
striplib=$lt_striplib
17486
 
 
17487
 
# Dependencies to place before the objects being linked to create a
17488
 
# shared library.
17489
 
predep_objects=$lt_predep_objects_F77
17490
 
 
17491
 
# Dependencies to place after the objects being linked to create a
17492
 
# shared library.
17493
 
postdep_objects=$lt_postdep_objects_F77
17494
 
 
17495
 
# Dependencies to place before the objects being linked to create a
17496
 
# shared library.
17497
 
predeps=$lt_predeps_F77
17498
 
 
17499
 
# Dependencies to place after the objects being linked to create a
17500
 
# shared library.
17501
 
postdeps=$lt_postdeps_F77
17502
 
 
17503
 
# The library search path used internally by the compiler when linking
17504
 
# a shared library.
17505
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17506
 
 
17507
 
# Method to check whether dependent libraries are shared objects.
17508
 
deplibs_check_method=$lt_deplibs_check_method
17509
 
 
17510
 
# Command to use when deplibs_check_method == file_magic.
17511
 
file_magic_cmd=$lt_file_magic_cmd
17512
 
 
17513
 
# Flag that allows shared libraries with undefined symbols to be built.
17514
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
17515
 
 
17516
 
# Flag that forces no undefined symbols.
17517
 
no_undefined_flag=$lt_no_undefined_flag_F77
17518
 
 
17519
 
# Commands used to finish a libtool library installation in a directory.
17520
 
finish_cmds=$lt_finish_cmds
17521
 
 
17522
 
# Same as above, but a single script fragment to be evaled but not shown.
17523
 
finish_eval=$lt_finish_eval
17524
 
 
17525
 
# Take the output of nm and produce a listing of raw symbols and C names.
17526
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17527
 
 
17528
 
# Transform the output of nm in a proper C declaration
17529
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17530
 
 
17531
 
# Transform the output of nm in a C name address pair
17532
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17533
 
 
17534
 
# This is the shared library runtime path variable.
17535
 
runpath_var=$runpath_var
17536
 
 
17537
 
# This is the shared library path variable.
17538
 
shlibpath_var=$shlibpath_var
17539
 
 
17540
 
# Is shlibpath searched before the hard-coded library search path?
17541
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17542
 
 
17543
 
# How to hardcode a shared library path into an executable.
17544
 
hardcode_action=$hardcode_action_F77
17545
 
 
17546
 
# Whether we should hardcode library paths into libraries.
17547
 
hardcode_into_libs=$hardcode_into_libs
17548
 
 
17549
 
# Flag to hardcode \$libdir into a binary during linking.
17550
 
# This must work even if \$libdir does not exist.
17551
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17552
 
 
17553
 
# If ld is used when linking, flag to hardcode \$libdir into
17554
 
# a binary during linking. This must work even if \$libdir does
17555
 
# not exist.
17556
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17557
 
 
17558
 
# Whether we need a single -rpath flag with a separated argument.
17559
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17560
 
 
17561
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17562
 
# resulting binary.
17563
 
hardcode_direct=$hardcode_direct_F77
17564
 
 
17565
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17566
 
# resulting binary.
17567
 
hardcode_minus_L=$hardcode_minus_L_F77
17568
 
 
17569
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17570
 
# the resulting binary.
17571
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17572
 
 
17573
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17574
 
# and all subsequent libraries and executables linked against it.
17575
 
hardcode_automatic=$hardcode_automatic_F77
17576
 
 
17577
 
# Variables whose values should be saved in libtool wrapper scripts and
17578
 
# restored at relink time.
17579
 
variables_saved_for_relink="$variables_saved_for_relink"
17580
 
 
17581
 
# Whether libtool must link a program against all its dependency libraries.
17582
 
link_all_deplibs=$link_all_deplibs_F77
17583
 
 
17584
 
# Compile-time system search path for libraries
17585
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17586
 
 
17587
 
# Run-time system search path for libraries
17588
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17589
 
 
17590
 
# Fix the shell variable \$srcfile for the compiler.
17591
 
fix_srcfile_path=$lt_fix_srcfile_path
17592
 
 
17593
 
# Set to yes if exported symbols are required.
17594
 
always_export_symbols=$always_export_symbols_F77
17595
 
 
17596
 
# The commands to list exported symbols.
17597
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
17598
 
 
17599
 
# The commands to extract the exported symbol list from a shared archive.
17600
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17601
 
 
17602
 
# Symbols that should not be listed in the preloaded symbols.
17603
 
exclude_expsyms=$lt_exclude_expsyms_F77
17604
 
 
17605
 
# Symbols that must always be exported.
17606
 
include_expsyms=$lt_include_expsyms_F77
17607
 
 
17608
 
# ### END LIBTOOL TAG CONFIG: $tagname
17609
 
 
17610
 
__EOF__
17611
 
 
17612
 
 
17613
 
else
17614
 
  # If there is no Makefile yet, we rely on a make rule to execute
17615
 
  # `config.status --recheck' to rerun these tests and create the
17616
 
  # libtool script then.
17617
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17618
 
  if test -f "$ltmain_in"; then
17619
 
    test -f Makefile && make "$ltmain"
17620
 
  fi
17621
 
fi
17622
 
 
17623
 
 
17624
 
ac_ext=c
17625
 
ac_cpp='$CPP $CPPFLAGS'
17626
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17629
 
 
17630
 
CC="$lt_save_CC"
17631
 
 
17632
 
        else
17633
 
          tagname=""
17634
 
        fi
17635
 
        ;;
17636
 
 
17637
 
      GCJ)
17638
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17639
 
          
17640
 
 
17641
 
# Source file extension for Java test sources.
17642
 
ac_ext=java
17643
 
 
17644
 
# Object file extension for compiled Java test sources.
17645
 
objext=o
17646
 
objext_GCJ=$objext
17647
 
 
17648
 
# Code to be used in simple compile tests
17649
 
lt_simple_compile_test_code="class foo {}"
17650
 
 
17651
 
# Code to be used in simple link tests
17652
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17653
 
 
17654
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17655
 
 
17656
 
# If no C compiler was specified, use CC.
17657
 
LTCC=${LTCC-"$CC"}
17658
 
 
17659
 
# If no C compiler flags were specified, use CFLAGS.
17660
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17661
 
 
17662
 
# Allow CC to be a program name with arguments.
17663
 
compiler=$CC
17664
 
 
17665
 
 
17666
 
# save warnings/boilerplate of simple test code
17667
 
ac_outfile=conftest.$ac_objext
17668
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17669
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17670
 
_lt_compiler_boilerplate=`cat conftest.err`
17671
 
$rm conftest*
17672
 
 
17673
 
ac_outfile=conftest.$ac_objext
17674
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17675
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17676
 
_lt_linker_boilerplate=`cat conftest.err`
17677
 
$rm conftest*
17678
 
 
17679
 
 
17680
 
# Allow CC to be a program name with arguments.
17681
 
lt_save_CC="$CC"
17682
 
CC=${GCJ-"gcj"}
17683
 
compiler=$CC
17684
 
compiler_GCJ=$CC
17685
 
for cc_temp in $compiler""; do
17686
 
  case $cc_temp in
17687
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17688
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17689
 
    \-*) ;;
17690
 
    *) break;;
17691
 
  esac
17692
 
done
17693
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17694
 
 
17695
 
 
17696
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17697
 
archive_cmds_need_lc_GCJ=no
17698
 
 
17699
 
old_archive_cmds_GCJ=$old_archive_cmds
17700
 
 
17701
 
## CAVEAT EMPTOR:
17702
 
## There is no encapsulation within the following macros, do not change
17703
 
## the running order or otherwise move them around unless you know exactly
17704
 
## what you are doing...
17705
 
 
17706
 
lt_prog_compiler_no_builtin_flag_GCJ=
17707
 
 
17708
 
if test "$GCC" = yes; then
17709
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17710
 
 
17711
 
  
17712
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17713
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17714
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17715
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17716
 
else
17717
 
  lt_cv_prog_compiler_rtti_exceptions=no
17718
 
  ac_outfile=conftest.$ac_objext
17719
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17720
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17721
 
   # Insert the option either (1) after the last *FLAGS variable, or
17722
 
   # (2) before a word containing "conftest.", or (3) at the end.
17723
 
   # Note that $ac_compile itself does not contain backslashes and begins
17724
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17725
 
   # The option is referenced via a variable to avoid confusing sed.
17726
 
   lt_compile=`echo "$ac_compile" | $SED \
17727
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17728
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17729
 
   -e 's:$: $lt_compiler_flag:'`
17730
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
17731
 
   (eval "$lt_compile" 2>conftest.err)
17732
 
   ac_status=$?
17733
 
   cat conftest.err >&5
17734
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
17735
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17736
 
     # The compiler can only warn and ignore the option if not recognized
17737
 
     # So say no if there are warnings other than the usual output.
17738
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17739
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17740
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17741
 
       lt_cv_prog_compiler_rtti_exceptions=yes
17742
 
     fi
17743
 
   fi
17744
 
   $rm conftest*
17745
 
 
17746
 
fi
17747
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17748
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17749
 
 
17750
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17751
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17752
 
else
17753
 
    :
17754
 
fi
17755
 
 
17756
 
fi
17757
 
 
17758
 
lt_prog_compiler_wl_GCJ=
17759
 
lt_prog_compiler_pic_GCJ=
17760
 
lt_prog_compiler_static_GCJ=
17761
 
 
17762
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17763
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17764
 
 
17765
 
  if test "$GCC" = yes; then
17766
 
    lt_prog_compiler_wl_GCJ='-Wl,'
17767
 
    lt_prog_compiler_static_GCJ='-static'
17768
 
 
17769
 
    case $host_os in
17770
 
      aix*)
17771
 
      # All AIX code is PIC.
17772
 
      if test "$host_cpu" = ia64; then
17773
 
        # AIX 5 now supports IA64 processor
17774
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17775
 
      fi
17776
 
      ;;
17777
 
 
17778
 
    amigaos*)
17779
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17780
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17781
 
      # like `-m68040'.
17782
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17783
 
      ;;
17784
 
 
17785
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17786
 
      # PIC is the default for these OSes.
17787
 
      ;;
17788
 
 
17789
 
    mingw* | cygwin* | pw32* | os2*)
17790
 
      # This hack is so that the source file can tell whether it is being
17791
 
      # built for inclusion in a dll (and should export symbols for example).
17792
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17793
 
      # (--disable-auto-import) libraries
17794
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17795
 
      ;;
17796
 
 
17797
 
    darwin* | rhapsody*)
17798
 
      # PIC is the default on this platform
17799
 
      # Common symbols not allowed in MH_DYLIB files
17800
 
      lt_prog_compiler_pic_GCJ='-fno-common'
17801
 
      ;;
17802
 
 
17803
 
    interix[3-9]*)
17804
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17805
 
      # Instead, we relocate shared libraries at runtime.
17806
 
      ;;
17807
 
 
17808
 
    msdosdjgpp*)
17809
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17810
 
      # on systems that don't support them.
17811
 
      lt_prog_compiler_can_build_shared_GCJ=no
17812
 
      enable_shared=no
17813
 
      ;;
17814
 
 
17815
 
    sysv4*MP*)
17816
 
      if test -d /usr/nec; then
17817
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
17818
 
      fi
17819
 
      ;;
17820
 
 
17821
 
    hpux*)
17822
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17823
 
      # not for PA HP-UX.
17824
 
      case $host_cpu in
17825
 
      hppa*64*|ia64*)
17826
 
        # +Z the default
17827
 
        ;;
17828
 
      *)
17829
 
        lt_prog_compiler_pic_GCJ='-fPIC'
17830
 
        ;;
17831
 
      esac
17832
 
      ;;
17833
 
 
17834
 
    *)
17835
 
      lt_prog_compiler_pic_GCJ='-fPIC'
17836
 
      ;;
17837
 
    esac
17838
 
  else
17839
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17840
 
    case $host_os in
17841
 
    aix*)
17842
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17843
 
      if test "$host_cpu" = ia64; then
17844
 
        # AIX 5 now supports IA64 processor
17845
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17846
 
      else
17847
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17848
 
      fi
17849
 
      ;;
17850
 
      darwin*)
17851
 
        # PIC is the default on this platform
17852
 
        # Common symbols not allowed in MH_DYLIB files
17853
 
       case $cc_basename in
17854
 
         xlc*)
17855
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
17856
 
         lt_prog_compiler_wl_GCJ='-Wl,'
17857
 
         ;;
17858
 
       esac
17859
 
       ;;
17860
 
 
17861
 
    mingw* | cygwin* | pw32* | os2*)
17862
 
      # This hack is so that the source file can tell whether it is being
17863
 
      # built for inclusion in a dll (and should export symbols for example).
17864
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17865
 
      ;;
17866
 
 
17867
 
    hpux9* | hpux10* | hpux11*)
17868
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17869
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17870
 
      # not for PA HP-UX.
17871
 
      case $host_cpu in
17872
 
      hppa*64*|ia64*)
17873
 
        # +Z the default
17874
 
        ;;
17875
 
      *)
17876
 
        lt_prog_compiler_pic_GCJ='+Z'
17877
 
        ;;
17878
 
      esac
17879
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17880
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17881
 
      ;;
17882
 
 
17883
 
    irix5* | irix6* | nonstopux*)
17884
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17885
 
      # PIC (with -KPIC) is the default.
17886
 
      lt_prog_compiler_static_GCJ='-non_shared'
17887
 
      ;;
17888
 
 
17889
 
    newsos6)
17890
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17891
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17892
 
      ;;
17893
 
 
17894
 
    linux* | k*bsd*-gnu)
17895
 
      case $cc_basename in
17896
 
      icc* | ecc*)
17897
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17898
 
        lt_prog_compiler_pic_GCJ='-KPIC'
17899
 
        lt_prog_compiler_static_GCJ='-static'
17900
 
        ;;
17901
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17902
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17903
 
        # which looks to be a dead project)
17904
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17905
 
        lt_prog_compiler_pic_GCJ='-fpic'
17906
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17907
 
        ;;
17908
 
      ccc*)
17909
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17910
 
        # All Alpha code is PIC.
17911
 
        lt_prog_compiler_static_GCJ='-non_shared'
17912
 
        ;;
17913
 
      *)
17914
 
        case `$CC -V 2>&1 | sed 5q` in
17915
 
        *Sun\ C*)
17916
 
          # Sun C 5.9
17917
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17918
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17919
 
          lt_prog_compiler_wl_GCJ='-Wl,'
17920
 
          ;;
17921
 
        *Sun\ F*)
17922
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
17923
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17924
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17925
 
          lt_prog_compiler_wl_GCJ=''
17926
 
          ;;
17927
 
        esac
17928
 
        ;;
17929
 
      esac
17930
 
      ;;
17931
 
 
17932
 
    osf3* | osf4* | osf5*)
17933
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17934
 
      # All OSF/1 code is PIC.
17935
 
      lt_prog_compiler_static_GCJ='-non_shared'
17936
 
      ;;
17937
 
 
17938
 
    rdos*)
17939
 
      lt_prog_compiler_static_GCJ='-non_shared'
17940
 
      ;;
17941
 
 
17942
 
    solaris*)
17943
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17944
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17945
 
      case $cc_basename in
17946
 
      f77* | f90* | f95*)
17947
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17948
 
      *)
17949
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
17950
 
      esac
17951
 
      ;;
17952
 
 
17953
 
    sunos4*)
17954
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
17955
 
      lt_prog_compiler_pic_GCJ='-PIC'
17956
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17957
 
      ;;
17958
 
 
17959
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17960
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17961
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17962
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17963
 
      ;;
17964
 
 
17965
 
    sysv4*MP*)
17966
 
      if test -d /usr/nec ;then
17967
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
17968
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17969
 
      fi
17970
 
      ;;
17971
 
 
17972
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17973
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17974
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17975
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17976
 
      ;;
17977
 
 
17978
 
    unicos*)
17979
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17980
 
      lt_prog_compiler_can_build_shared_GCJ=no
17981
 
      ;;
17982
 
 
17983
 
    uts4*)
17984
 
      lt_prog_compiler_pic_GCJ='-pic'
17985
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17986
 
      ;;
17987
 
 
17988
 
    *)
17989
 
      lt_prog_compiler_can_build_shared_GCJ=no
17990
 
      ;;
17991
 
    esac
17992
 
  fi
17993
 
 
17994
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17995
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17996
 
 
17997
 
#
17998
 
# Check to make sure the PIC flag actually works.
17999
 
#
18000
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
18001
 
  
18002
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18003
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18004
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18005
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18006
 
else
18007
 
  lt_prog_compiler_pic_works_GCJ=no
18008
 
  ac_outfile=conftest.$ac_objext
18009
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18010
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18011
 
   # Insert the option either (1) after the last *FLAGS variable, or
18012
 
   # (2) before a word containing "conftest.", or (3) at the end.
18013
 
   # Note that $ac_compile itself does not contain backslashes and begins
18014
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18015
 
   # The option is referenced via a variable to avoid confusing sed.
18016
 
   lt_compile=`echo "$ac_compile" | $SED \
18017
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18018
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18019
 
   -e 's:$: $lt_compiler_flag:'`
18020
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18021
 
   (eval "$lt_compile" 2>conftest.err)
18022
 
   ac_status=$?
18023
 
   cat conftest.err >&5
18024
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
18025
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18026
 
     # The compiler can only warn and ignore the option if not recognized
18027
 
     # So say no if there are warnings other than the usual output.
18028
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18029
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18030
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18031
 
       lt_prog_compiler_pic_works_GCJ=yes
18032
 
     fi
18033
 
   fi
18034
 
   $rm conftest*
18035
 
 
18036
 
fi
18037
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18038
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18039
 
 
18040
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18041
 
    case $lt_prog_compiler_pic_GCJ in
18042
 
     "" | " "*) ;;
18043
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18044
 
     esac
18045
 
else
18046
 
    lt_prog_compiler_pic_GCJ=
18047
 
     lt_prog_compiler_can_build_shared_GCJ=no
18048
 
fi
18049
 
 
18050
 
fi
18051
 
case $host_os in
18052
 
  # For platforms which do not support PIC, -DPIC is meaningless:
18053
 
  *djgpp*)
18054
 
    lt_prog_compiler_pic_GCJ=
18055
 
    ;;
18056
 
  *)
18057
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18058
 
    ;;
18059
 
esac
18060
 
 
18061
 
#
18062
 
# Check to make sure the static flag actually works.
18063
 
#
18064
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18065
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18066
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18067
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18068
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18069
 
else
18070
 
  lt_prog_compiler_static_works_GCJ=no
18071
 
   save_LDFLAGS="$LDFLAGS"
18072
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18073
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18074
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18075
 
     # The linker can only warn and ignore the option if not recognized
18076
 
     # So say no if there are warnings
18077
 
     if test -s conftest.err; then
18078
 
       # Append any errors to the config.log.
18079
 
       cat conftest.err 1>&5
18080
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18081
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18082
 
       if diff conftest.exp conftest.er2 >/dev/null; then
18083
 
         lt_prog_compiler_static_works_GCJ=yes
18084
 
       fi
18085
 
     else
18086
 
       lt_prog_compiler_static_works_GCJ=yes
18087
 
     fi
18088
 
   fi
18089
 
   $rm conftest*
18090
 
   LDFLAGS="$save_LDFLAGS"
18091
 
 
18092
 
fi
18093
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18094
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
18095
 
 
18096
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
18097
 
    :
18098
 
else
18099
 
    lt_prog_compiler_static_GCJ=
18100
 
fi
18101
 
 
18102
 
 
18103
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18104
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18105
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18106
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18107
 
else
18108
 
  lt_cv_prog_compiler_c_o_GCJ=no
18109
 
   $rm -r conftest 2>/dev/null
18110
 
   mkdir conftest
18111
 
   cd conftest
18112
 
   mkdir out
18113
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18114
 
 
18115
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18116
 
   # Insert the option either (1) after the last *FLAGS variable, or
18117
 
   # (2) before a word containing "conftest.", or (3) at the end.
18118
 
   # Note that $ac_compile itself does not contain backslashes and begins
18119
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18120
 
   lt_compile=`echo "$ac_compile" | $SED \
18121
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18122
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18123
 
   -e 's:$: $lt_compiler_flag:'`
18124
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18125
 
   (eval "$lt_compile" 2>out/conftest.err)
18126
 
   ac_status=$?
18127
 
   cat out/conftest.err >&5
18128
 
   echo "$as_me:__oline__: \$? = $ac_status" >&5
18129
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18130
 
   then
18131
 
     # The compiler can only warn and ignore the option if not recognized
18132
 
     # So say no if there are warnings
18133
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18134
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18135
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18136
 
       lt_cv_prog_compiler_c_o_GCJ=yes
18137
 
     fi
18138
 
   fi
18139
 
   chmod u+w . 2>&5
18140
 
   $rm conftest*
18141
 
   # SGI C++ compiler will create directory out/ii_files/ for
18142
 
   # template instantiation
18143
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18144
 
   $rm out/* && rmdir out
18145
 
   cd ..
18146
 
   rmdir conftest
18147
 
   $rm conftest*
18148
 
 
18149
 
fi
18150
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18151
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18152
 
 
18153
 
 
18154
 
hard_links="nottested"
18155
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18156
 
  # do not overwrite the value of need_locks provided by the user
18157
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18158
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18159
 
  hard_links=yes
18160
 
  $rm conftest*
18161
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18162
 
  touch conftest.a
18163
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
18164
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18165
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
18166
 
echo "${ECHO_T}$hard_links" >&6; }
18167
 
  if test "$hard_links" = no; then
18168
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18169
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18170
 
    need_locks=warn
18171
 
  fi
18172
 
else
18173
 
  need_locks=no
18174
 
fi
18175
 
 
18176
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18177
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18178
 
 
18179
 
  runpath_var=
18180
 
  allow_undefined_flag_GCJ=
18181
 
  enable_shared_with_static_runtimes_GCJ=no
18182
 
  archive_cmds_GCJ=
18183
 
  archive_expsym_cmds_GCJ=
18184
 
  old_archive_From_new_cmds_GCJ=
18185
 
  old_archive_from_expsyms_cmds_GCJ=
18186
 
  export_dynamic_flag_spec_GCJ=
18187
 
  whole_archive_flag_spec_GCJ=
18188
 
  thread_safe_flag_spec_GCJ=
18189
 
  hardcode_libdir_flag_spec_GCJ=
18190
 
  hardcode_libdir_flag_spec_ld_GCJ=
18191
 
  hardcode_libdir_separator_GCJ=
18192
 
  hardcode_direct_GCJ=no
18193
 
  hardcode_minus_L_GCJ=no
18194
 
  hardcode_shlibpath_var_GCJ=unsupported
18195
 
  link_all_deplibs_GCJ=unknown
18196
 
  hardcode_automatic_GCJ=no
18197
 
  module_cmds_GCJ=
18198
 
  module_expsym_cmds_GCJ=
18199
 
  always_export_symbols_GCJ=no
18200
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18201
 
  # include_expsyms should be a list of space-separated symbols to be *always*
18202
 
  # included in the symbol list
18203
 
  include_expsyms_GCJ=
18204
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
18205
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18206
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18207
 
  # as well as any symbol that contains `d'.
18208
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
18209
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18210
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
18211
 
  # the symbol is explicitly referenced.  Since portable code cannot
18212
 
  # rely on this symbol name, it's probably fine to never include it in
18213
 
  # preloaded symbol tables.
18214
 
  extract_expsyms_cmds=
18215
 
  # Just being paranoid about ensuring that cc_basename is set.
18216
 
  for cc_temp in $compiler""; do
18217
 
  case $cc_temp in
18218
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18219
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18220
 
    \-*) ;;
18221
 
    *) break;;
18222
 
  esac
18223
 
done
18224
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18225
 
 
18226
 
  case $host_os in
18227
 
  cygwin* | mingw* | pw32*)
18228
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
18229
 
    # When not using gcc, we currently assume that we are using
18230
 
    # Microsoft Visual C++.
18231
 
    if test "$GCC" != yes; then
18232
 
      with_gnu_ld=no
18233
 
    fi
18234
 
    ;;
18235
 
  interix*)
18236
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
18237
 
    with_gnu_ld=yes
18238
 
    ;;
18239
 
  openbsd*)
18240
 
    with_gnu_ld=no
18241
 
    ;;
18242
 
  esac
18243
 
 
18244
 
  ld_shlibs_GCJ=yes
18245
 
  if test "$with_gnu_ld" = yes; then
18246
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
18247
 
    wlarc='${wl}'
18248
 
 
18249
 
    # Set some defaults for GNU ld with shared library support. These
18250
 
    # are reset later if shared libraries are not supported. Putting them
18251
 
    # here allows them to be overridden if necessary.
18252
 
    runpath_var=LD_RUN_PATH
18253
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18254
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18255
 
    # ancient GNU ld didn't support --whole-archive et. al.
18256
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18257
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18258
 
      else
18259
 
        whole_archive_flag_spec_GCJ=
18260
 
    fi
18261
 
    supports_anon_versioning=no
18262
 
    case `$LD -v 2>/dev/null` in
18263
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18264
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18265
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18266
 
      *\ 2.11.*) ;; # other 2.11 versions
18267
 
      *) supports_anon_versioning=yes ;;
18268
 
    esac
18269
 
 
18270
 
    # See if GNU ld supports shared libraries.
18271
 
    case $host_os in
18272
 
    aix3* | aix4* | aix5*)
18273
 
      # On AIX/PPC, the GNU linker is very broken
18274
 
      if test "$host_cpu" != ia64; then
18275
 
        ld_shlibs_GCJ=no
18276
 
        cat <<EOF 1>&2
18277
 
 
18278
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18279
 
*** to be unable to reliably create shared libraries on AIX.
18280
 
*** Therefore, libtool is disabling shared libraries support.  If you
18281
 
*** really care for shared libraries, you may want to modify your PATH
18282
 
*** so that a non-GNU linker is found, and then restart.
18283
 
 
18284
 
EOF
18285
 
      fi
18286
 
      ;;
18287
 
 
18288
 
    amigaos*)
18289
 
      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)'
18290
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18291
 
      hardcode_minus_L_GCJ=yes
18292
 
 
18293
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18294
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
18295
 
      # to version 4, is to share data among multiple programs linked
18296
 
      # with the same dynamic library.  Since this doesn't match the
18297
 
      # behavior of shared libraries on other platforms, we can't use
18298
 
      # them.
18299
 
      ld_shlibs_GCJ=no
18300
 
      ;;
18301
 
 
18302
 
    beos*)
18303
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18304
 
        allow_undefined_flag_GCJ=unsupported
18305
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18306
 
        # support --undefined.  This deserves some investigation.  FIXME
18307
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18308
 
      else
18309
 
        ld_shlibs_GCJ=no
18310
 
      fi
18311
 
      ;;
18312
 
 
18313
 
    cygwin* | mingw* | pw32*)
18314
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18315
 
      # as there is no search path for DLLs.
18316
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18317
 
      allow_undefined_flag_GCJ=unsupported
18318
 
      always_export_symbols_GCJ=no
18319
 
      enable_shared_with_static_runtimes_GCJ=yes
18320
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18321
 
 
18322
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18323
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18324
 
        # If the export-symbols file already is a .def file (1st line
18325
 
        # is EXPORTS), use it as is; otherwise, prepend...
18326
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18327
 
          cp $export_symbols $output_objdir/$soname.def;
18328
 
        else
18329
 
          echo EXPORTS > $output_objdir/$soname.def;
18330
 
          cat $export_symbols >> $output_objdir/$soname.def;
18331
 
        fi~
18332
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18333
 
      else
18334
 
        ld_shlibs_GCJ=no
18335
 
      fi
18336
 
      ;;
18337
 
 
18338
 
    interix[3-9]*)
18339
 
      hardcode_direct_GCJ=no
18340
 
      hardcode_shlibpath_var_GCJ=no
18341
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18342
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18343
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18344
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
18345
 
      # default) and relocated if they conflict, which is a slow very memory
18346
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
18347
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18348
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18349
 
      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'
18350
 
      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'
18351
 
      ;;
18352
 
 
18353
 
    gnu* | linux* | k*bsd*-gnu)
18354
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18355
 
        tmp_addflag=
18356
 
        case $cc_basename,$host_cpu in
18357
 
        pgcc*)                          # Portland Group C compiler
18358
 
          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'
18359
 
          tmp_addflag=' $pic_flag'
18360
 
          ;;
18361
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
18362
 
          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'
18363
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
18364
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
18365
 
          tmp_addflag=' -i_dynamic' ;;
18366
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
18367
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
18368
 
        ifc* | ifort*)                  # Intel Fortran compiler
18369
 
          tmp_addflag=' -nofor_main' ;;
18370
 
        esac
18371
 
        case `$CC -V 2>&1 | sed 5q` in
18372
 
        *Sun\ C*)                       # Sun C 5.9
18373
 
          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'
18374
 
          tmp_sharedflag='-G' ;;
18375
 
        *Sun\ F*)                       # Sun Fortran 8.3
18376
 
          tmp_sharedflag='-G' ;;
18377
 
        *)
18378
 
          tmp_sharedflag='-shared' ;;
18379
 
        esac
18380
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18381
 
 
18382
 
        if test $supports_anon_versioning = yes; then
18383
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18384
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18385
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18386
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18387
 
        fi
18388
 
        link_all_deplibs_GCJ=no
18389
 
      else
18390
 
        ld_shlibs_GCJ=no
18391
 
      fi
18392
 
      ;;
18393
 
 
18394
 
    netbsd* | netbsdelf*-gnu)
18395
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18396
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18397
 
        wlarc=
18398
 
      else
18399
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18400
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18401
 
      fi
18402
 
      ;;
18403
 
 
18404
 
    solaris*)
18405
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18406
 
        ld_shlibs_GCJ=no
18407
 
        cat <<EOF 1>&2
18408
 
 
18409
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18410
 
*** create shared libraries on Solaris systems.  Therefore, libtool
18411
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18412
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
18413
 
*** your PATH or compiler configuration so that the native linker is
18414
 
*** used, and then restart.
18415
 
 
18416
 
EOF
18417
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18418
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18419
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18420
 
      else
18421
 
        ld_shlibs_GCJ=no
18422
 
      fi
18423
 
      ;;
18424
 
 
18425
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18426
 
      case `$LD -v 2>&1` in
18427
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18428
 
        ld_shlibs_GCJ=no
18429
 
        cat <<_LT_EOF 1>&2
18430
 
 
18431
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18432
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
18433
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18434
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
18435
 
*** your PATH or compiler configuration so that the native linker is
18436
 
*** used, and then restart.
18437
 
 
18438
 
_LT_EOF
18439
 
        ;;
18440
 
        *)
18441
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18442
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18443
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18444
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18445
 
          else
18446
 
            ld_shlibs_GCJ=no
18447
 
          fi
18448
 
        ;;
18449
 
      esac
18450
 
      ;;
18451
 
 
18452
 
    sunos4*)
18453
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18454
 
      wlarc=
18455
 
      hardcode_direct_GCJ=yes
18456
 
      hardcode_shlibpath_var_GCJ=no
18457
 
      ;;
18458
 
 
18459
 
    *)
18460
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18461
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18462
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18463
 
      else
18464
 
        ld_shlibs_GCJ=no
18465
 
      fi
18466
 
      ;;
18467
 
    esac
18468
 
 
18469
 
    if test "$ld_shlibs_GCJ" = no; then
18470
 
      runpath_var=
18471
 
      hardcode_libdir_flag_spec_GCJ=
18472
 
      export_dynamic_flag_spec_GCJ=
18473
 
      whole_archive_flag_spec_GCJ=
18474
 
    fi
18475
 
  else
18476
 
    # PORTME fill in a description of your system's linker (not GNU ld)
18477
 
    case $host_os in
18478
 
    aix3*)
18479
 
      allow_undefined_flag_GCJ=unsupported
18480
 
      always_export_symbols_GCJ=yes
18481
 
      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'
18482
 
      # Note: this linker hardcodes the directories in LIBPATH if there
18483
 
      # are no directories specified by -L.
18484
 
      hardcode_minus_L_GCJ=yes
18485
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18486
 
        # Neither direct hardcoding nor static linking is supported with a
18487
 
        # broken collect2.
18488
 
        hardcode_direct_GCJ=unsupported
18489
 
      fi
18490
 
      ;;
18491
 
 
18492
 
    aix4* | aix5*)
18493
 
      if test "$host_cpu" = ia64; then
18494
 
        # On IA64, the linker does run time linking by default, so we don't
18495
 
        # have to do anything special.
18496
 
        aix_use_runtimelinking=no
18497
 
        exp_sym_flag='-Bexport'
18498
 
        no_entry_flag=""
18499
 
      else
18500
 
        # If we're using GNU nm, then we don't want the "-C" option.
18501
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
18502
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18503
 
          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'
18504
 
        else
18505
 
          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'
18506
 
        fi
18507
 
        aix_use_runtimelinking=no
18508
 
 
18509
 
        # Test if we are trying to use run time linking or normal
18510
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18511
 
        # need to do runtime linking.
18512
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18513
 
          for ld_flag in $LDFLAGS; do
18514
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18515
 
            aix_use_runtimelinking=yes
18516
 
            break
18517
 
          fi
18518
 
          done
18519
 
          ;;
18520
 
        esac
18521
 
 
18522
 
        exp_sym_flag='-bexport'
18523
 
        no_entry_flag='-bnoentry'
18524
 
      fi
18525
 
 
18526
 
      # When large executables or shared objects are built, AIX ld can
18527
 
      # have problems creating the table of contents.  If linking a library
18528
 
      # or program results in "error TOC overflow" add -mminimal-toc to
18529
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18530
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18531
 
 
18532
 
      archive_cmds_GCJ=''
18533
 
      hardcode_direct_GCJ=yes
18534
 
      hardcode_libdir_separator_GCJ=':'
18535
 
      link_all_deplibs_GCJ=yes
18536
 
 
18537
 
      if test "$GCC" = yes; then
18538
 
        case $host_os in aix4.[012]|aix4.[012].*)
18539
 
        # We only want to do this on AIX 4.2 and lower, the check
18540
 
        # below for broken collect2 doesn't work under 4.3+
18541
 
          collect2name=`${CC} -print-prog-name=collect2`
18542
 
          if test -f "$collect2name" && \
18543
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18544
 
          then
18545
 
          # We have reworked collect2
18546
 
          :
18547
 
          else
18548
 
          # We have old collect2
18549
 
          hardcode_direct_GCJ=unsupported
18550
 
          # It fails to find uninstalled libraries when the uninstalled
18551
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18552
 
          # to unsupported forces relinking
18553
 
          hardcode_minus_L_GCJ=yes
18554
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18555
 
          hardcode_libdir_separator_GCJ=
18556
 
          fi
18557
 
          ;;
18558
 
        esac
18559
 
        shared_flag='-shared'
18560
 
        if test "$aix_use_runtimelinking" = yes; then
18561
 
          shared_flag="$shared_flag "'${wl}-G'
18562
 
        fi
18563
 
      else
18564
 
        # not using gcc
18565
 
        if test "$host_cpu" = ia64; then
18566
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18567
 
        # chokes on -Wl,-G. The following line is correct:
18568
 
          shared_flag='-G'
18569
 
        else
18570
 
          if test "$aix_use_runtimelinking" = yes; then
18571
 
            shared_flag='${wl}-G'
18572
 
          else
18573
 
            shared_flag='${wl}-bM:SRE'
18574
 
          fi
18575
 
        fi
18576
 
      fi
18577
 
 
18578
 
      # It seems that -bexpall does not export symbols beginning with
18579
 
      # underscore (_), so it is better to generate a list of symbols to export.
18580
 
      always_export_symbols_GCJ=yes
18581
 
      if test "$aix_use_runtimelinking" = yes; then
18582
 
        # Warning - without using the other runtime loading flags (-brtl),
18583
 
        # -berok will link without error, but may produce a broken library.
18584
 
        allow_undefined_flag_GCJ='-berok'
18585
 
       # Determine the default libpath from the value encoded in an empty executable.
18586
 
       cat >conftest.$ac_ext <<_ACEOF
18587
 
/* confdefs.h.  */
18588
 
_ACEOF
18589
 
cat confdefs.h >>conftest.$ac_ext
18590
 
cat >>conftest.$ac_ext <<_ACEOF
18591
 
/* end confdefs.h.  */
18592
 
 
18593
 
int
18594
 
main ()
18595
 
{
18596
 
 
18597
 
  ;
18598
 
  return 0;
18599
 
}
18600
 
_ACEOF
18601
 
rm -f conftest.$ac_objext conftest$ac_exeext
18602
 
if { (ac_try="$ac_link"
18603
 
case "(($ac_try" in
18604
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18605
 
  *) ac_try_echo=$ac_try;;
18606
 
esac
18607
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18608
 
  (eval "$ac_link") 2>conftest.er1
18609
 
  ac_status=$?
18610
 
  grep -v '^ *+' conftest.er1 >conftest.err
18611
 
  rm -f conftest.er1
18612
 
  cat conftest.err >&5
18613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614
 
  (exit $ac_status); } && {
18615
 
         test -z "$ac_c_werror_flag" ||
18616
 
         test ! -s conftest.err
18617
 
       } && test -s conftest$ac_exeext &&
18618
 
       $as_test_x conftest$ac_exeext; then
18619
 
  
18620
 
lt_aix_libpath_sed='
18621
 
    /Import File Strings/,/^$/ {
18622
 
        /^0/ {
18623
 
            s/^0  *\(.*\)$/\1/
18624
 
            p
18625
 
        }
18626
 
    }'
18627
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18628
 
# Check for a 64-bit object if we didn't find anything.
18629
 
if test -z "$aix_libpath"; then
18630
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18631
 
fi
18632
 
else
18633
 
  echo "$as_me: failed program was:" >&5
18634
 
sed 's/^/| /' conftest.$ac_ext >&5
18635
 
 
18636
 
        
18637
 
fi
18638
 
 
18639
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18640
 
      conftest$ac_exeext conftest.$ac_ext
18641
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18642
 
 
18643
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18644
 
        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"
18645
 
       else
18646
 
        if test "$host_cpu" = ia64; then
18647
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18648
 
          allow_undefined_flag_GCJ="-z nodefs"
18649
 
          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"
18650
 
        else
18651
 
         # Determine the default libpath from the value encoded in an empty executable.
18652
 
         cat >conftest.$ac_ext <<_ACEOF
18653
 
/* confdefs.h.  */
18654
 
_ACEOF
18655
 
cat confdefs.h >>conftest.$ac_ext
18656
 
cat >>conftest.$ac_ext <<_ACEOF
18657
 
/* end confdefs.h.  */
18658
 
 
18659
 
int
18660
 
main ()
18661
 
{
18662
 
 
18663
 
  ;
18664
 
  return 0;
18665
 
}
18666
 
_ACEOF
18667
 
rm -f conftest.$ac_objext conftest$ac_exeext
18668
 
if { (ac_try="$ac_link"
18669
 
case "(($ac_try" in
18670
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671
 
  *) ac_try_echo=$ac_try;;
18672
 
esac
18673
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674
 
  (eval "$ac_link") 2>conftest.er1
18675
 
  ac_status=$?
18676
 
  grep -v '^ *+' conftest.er1 >conftest.err
18677
 
  rm -f conftest.er1
18678
 
  cat conftest.err >&5
18679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680
 
  (exit $ac_status); } && {
18681
 
         test -z "$ac_c_werror_flag" ||
18682
 
         test ! -s conftest.err
18683
 
       } && test -s conftest$ac_exeext &&
18684
 
       $as_test_x conftest$ac_exeext; then
18685
 
  
18686
 
lt_aix_libpath_sed='
18687
 
    /Import File Strings/,/^$/ {
18688
 
        /^0/ {
18689
 
            s/^0  *\(.*\)$/\1/
18690
 
            p
18691
 
        }
18692
 
    }'
18693
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18694
 
# Check for a 64-bit object if we didn't find anything.
18695
 
if test -z "$aix_libpath"; then
18696
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18697
 
fi
18698
 
else
18699
 
  echo "$as_me: failed program was:" >&5
18700
 
sed 's/^/| /' conftest.$ac_ext >&5
18701
 
 
18702
 
        
18703
 
fi
18704
 
 
18705
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18706
 
      conftest$ac_exeext conftest.$ac_ext
18707
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18708
 
 
18709
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18710
 
          # Warning - without using the other run time loading flags,
18711
 
          # -berok will link without error, but may produce a broken library.
18712
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
18713
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
18714
 
          # Exported symbols can be pulled into shared objects from archives
18715
 
          whole_archive_flag_spec_GCJ='$convenience'
18716
 
          archive_cmds_need_lc_GCJ=yes
18717
 
          # This is similar to how AIX traditionally builds its shared libraries.
18718
 
          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'
18719
 
        fi
18720
 
      fi
18721
 
      ;;
18722
 
 
18723
 
    amigaos*)
18724
 
      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)'
18725
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18726
 
      hardcode_minus_L_GCJ=yes
18727
 
      # see comment about different semantics on the GNU ld section
18728
 
      ld_shlibs_GCJ=no
18729
 
      ;;
18730
 
 
18731
 
    bsdi[45]*)
18732
 
      export_dynamic_flag_spec_GCJ=-rdynamic
18733
 
      ;;
18734
 
 
18735
 
    cygwin* | mingw* | pw32*)
18736
 
      # When not using gcc, we currently assume that we are using
18737
 
      # Microsoft Visual C++.
18738
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
18739
 
      # no search path for DLLs.
18740
 
      hardcode_libdir_flag_spec_GCJ=' '
18741
 
      allow_undefined_flag_GCJ=unsupported
18742
 
      # Tell ltmain to make .lib files, not .a files.
18743
 
      libext=lib
18744
 
      # Tell ltmain to make .dll files, not .so files.
18745
 
      shrext_cmds=".dll"
18746
 
      # FIXME: Setting linknames here is a bad hack.
18747
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18748
 
      # The linker will automatically build a .lib file if we build a DLL.
18749
 
      old_archive_From_new_cmds_GCJ='true'
18750
 
      # FIXME: Should let the user specify the lib program.
18751
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18752
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18753
 
      enable_shared_with_static_runtimes_GCJ=yes
18754
 
      ;;
18755
 
 
18756
 
    darwin* | rhapsody*)
18757
 
      case $host_os in
18758
 
        rhapsody* | darwin1.[012])
18759
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18760
 
         ;;
18761
 
       *) # Darwin 1.3 on
18762
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18763
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18764
 
         else
18765
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
18766
 
             10.[012])
18767
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18768
 
               ;;
18769
 
             10.*)
18770
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18771
 
               ;;
18772
 
           esac
18773
 
         fi
18774
 
         ;;
18775
 
      esac
18776
 
      archive_cmds_need_lc_GCJ=no
18777
 
      hardcode_direct_GCJ=no
18778
 
      hardcode_automatic_GCJ=yes
18779
 
      hardcode_shlibpath_var_GCJ=unsupported
18780
 
      whole_archive_flag_spec_GCJ=''
18781
 
      link_all_deplibs_GCJ=yes
18782
 
    if test "$GCC" = yes ; then
18783
 
        output_verbose_link_cmd='echo'
18784
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18785
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18786
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18787
 
      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}'
18788
 
      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}'
18789
 
    else
18790
 
      case $cc_basename in
18791
 
        xlc*)
18792
 
         output_verbose_link_cmd='echo'
18793
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18794
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18795
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18796
 
         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}'
18797
 
          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}'
18798
 
          ;;
18799
 
       *)
18800
 
         ld_shlibs_GCJ=no
18801
 
          ;;
18802
 
      esac
18803
 
    fi
18804
 
      ;;
18805
 
 
18806
 
    dgux*)
18807
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18808
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18809
 
      hardcode_shlibpath_var_GCJ=no
18810
 
      ;;
18811
 
 
18812
 
    freebsd1*)
18813
 
      ld_shlibs_GCJ=no
18814
 
      ;;
18815
 
 
18816
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18817
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
18818
 
    # does not break anything, and helps significantly (at the cost of a little
18819
 
    # extra space).
18820
 
    freebsd2.2*)
18821
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18822
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18823
 
      hardcode_direct_GCJ=yes
18824
 
      hardcode_shlibpath_var_GCJ=no
18825
 
      ;;
18826
 
 
18827
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18828
 
    freebsd2*)
18829
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18830
 
      hardcode_direct_GCJ=yes
18831
 
      hardcode_minus_L_GCJ=yes
18832
 
      hardcode_shlibpath_var_GCJ=no
18833
 
      ;;
18834
 
 
18835
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18836
 
    freebsd* | dragonfly*)
18837
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18838
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18839
 
      hardcode_direct_GCJ=yes
18840
 
      hardcode_shlibpath_var_GCJ=no
18841
 
      ;;
18842
 
 
18843
 
    hpux9*)
18844
 
      if test "$GCC" = yes; then
18845
 
        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'
18846
 
      else
18847
 
        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'
18848
 
      fi
18849
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18850
 
      hardcode_libdir_separator_GCJ=:
18851
 
      hardcode_direct_GCJ=yes
18852
 
 
18853
 
      # hardcode_minus_L: Not really in the search PATH,
18854
 
      # but as the default location of the library.
18855
 
      hardcode_minus_L_GCJ=yes
18856
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18857
 
      ;;
18858
 
 
18859
 
    hpux10*)
18860
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18861
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18862
 
      else
18863
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18864
 
      fi
18865
 
      if test "$with_gnu_ld" = no; then
18866
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18867
 
        hardcode_libdir_separator_GCJ=:
18868
 
 
18869
 
        hardcode_direct_GCJ=yes
18870
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18871
 
 
18872
 
        # hardcode_minus_L: Not really in the search PATH,
18873
 
        # but as the default location of the library.
18874
 
        hardcode_minus_L_GCJ=yes
18875
 
      fi
18876
 
      ;;
18877
 
 
18878
 
    hpux11*)
18879
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18880
 
        case $host_cpu in
18881
 
        hppa*64*)
18882
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18883
 
          ;;
18884
 
        ia64*)
18885
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18886
 
          ;;
18887
 
        *)
18888
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18889
 
          ;;
18890
 
        esac
18891
 
      else
18892
 
        case $host_cpu in
18893
 
        hppa*64*)
18894
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18895
 
          ;;
18896
 
        ia64*)
18897
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18898
 
          ;;
18899
 
        *)
18900
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18901
 
          ;;
18902
 
        esac
18903
 
      fi
18904
 
      if test "$with_gnu_ld" = no; then
18905
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18906
 
        hardcode_libdir_separator_GCJ=:
18907
 
 
18908
 
        case $host_cpu in
18909
 
        hppa*64*|ia64*)
18910
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18911
 
          hardcode_direct_GCJ=no
18912
 
          hardcode_shlibpath_var_GCJ=no
18913
 
          ;;
18914
 
        *)
18915
 
          hardcode_direct_GCJ=yes
18916
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18917
 
 
18918
 
          # hardcode_minus_L: Not really in the search PATH,
18919
 
          # but as the default location of the library.
18920
 
          hardcode_minus_L_GCJ=yes
18921
 
          ;;
18922
 
        esac
18923
 
      fi
18924
 
      ;;
18925
 
 
18926
 
    irix5* | irix6* | nonstopux*)
18927
 
      if test "$GCC" = yes; then
18928
 
        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'
18929
 
      else
18930
 
        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'
18931
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18932
 
      fi
18933
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18934
 
      hardcode_libdir_separator_GCJ=:
18935
 
      link_all_deplibs_GCJ=yes
18936
 
      ;;
18937
 
 
18938
 
    netbsd* | netbsdelf*-gnu)
18939
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18940
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18941
 
      else
18942
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18943
 
      fi
18944
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18945
 
      hardcode_direct_GCJ=yes
18946
 
      hardcode_shlibpath_var_GCJ=no
18947
 
      ;;
18948
 
 
18949
 
    newsos6)
18950
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18951
 
      hardcode_direct_GCJ=yes
18952
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18953
 
      hardcode_libdir_separator_GCJ=:
18954
 
      hardcode_shlibpath_var_GCJ=no
18955
 
      ;;
18956
 
 
18957
 
    openbsd*)
18958
 
      if test -f /usr/libexec/ld.so; then
18959
 
        hardcode_direct_GCJ=yes
18960
 
        hardcode_shlibpath_var_GCJ=no
18961
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18962
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18963
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18964
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18965
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18966
 
        else
18967
 
          case $host_os in
18968
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18969
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18970
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
18971
 
             ;;
18972
 
           *)
18973
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18974
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18975
 
             ;;
18976
 
          esac
18977
 
        fi
18978
 
      else
18979
 
        ld_shlibs_GCJ=no
18980
 
      fi
18981
 
      ;;
18982
 
 
18983
 
    os2*)
18984
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18985
 
      hardcode_minus_L_GCJ=yes
18986
 
      allow_undefined_flag_GCJ=unsupported
18987
 
      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'
18988
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18989
 
      ;;
18990
 
 
18991
 
    osf3*)
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}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18995
 
      else
18996
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18997
 
        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'
18998
 
      fi
18999
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19000
 
      hardcode_libdir_separator_GCJ=:
19001
 
      ;;
19002
 
 
19003
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
19004
 
      if test "$GCC" = yes; then
19005
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19006
 
        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'
19007
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19008
 
      else
19009
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19010
 
        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'
19011
 
        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~
19012
 
        $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'
19013
 
 
19014
 
        # Both c and cxx compiler support -rpath directly
19015
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19016
 
      fi
19017
 
      hardcode_libdir_separator_GCJ=:
19018
 
      ;;
19019
 
 
19020
 
    solaris*)
19021
 
      no_undefined_flag_GCJ=' -z text'
19022
 
      if test "$GCC" = yes; then
19023
 
        wlarc='${wl}'
19024
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19025
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19026
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19027
 
      else
19028
 
        wlarc=''
19029
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19030
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19031
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19032
 
      fi
19033
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19034
 
      hardcode_shlibpath_var_GCJ=no
19035
 
      case $host_os in
19036
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19037
 
      *)
19038
 
        # The compiler driver will combine and reorder linker options,
19039
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
19040
 
        # but is careful enough not to reorder.
19041
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19042
 
        if test "$GCC" = yes; then
19043
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19044
 
        else
19045
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19046
 
        fi
19047
 
        ;;
19048
 
      esac
19049
 
      link_all_deplibs_GCJ=yes
19050
 
      ;;
19051
 
 
19052
 
    sunos4*)
19053
 
      if test "x$host_vendor" = xsequent; then
19054
 
        # Use $CC to link under sequent, because it throws in some extra .o
19055
 
        # files that make .init and .fini sections work.
19056
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19057
 
      else
19058
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19059
 
      fi
19060
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19061
 
      hardcode_direct_GCJ=yes
19062
 
      hardcode_minus_L_GCJ=yes
19063
 
      hardcode_shlibpath_var_GCJ=no
19064
 
      ;;
19065
 
 
19066
 
    sysv4)
19067
 
      case $host_vendor in
19068
 
        sni)
19069
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19070
 
          hardcode_direct_GCJ=yes # is this really true???
19071
 
        ;;
19072
 
        siemens)
19073
 
          ## LD is ld it makes a PLAMLIB
19074
 
          ## CC just makes a GrossModule.
19075
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19076
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19077
 
          hardcode_direct_GCJ=no
19078
 
        ;;
19079
 
        motorola)
19080
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19081
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19082
 
        ;;
19083
 
      esac
19084
 
      runpath_var='LD_RUN_PATH'
19085
 
      hardcode_shlibpath_var_GCJ=no
19086
 
      ;;
19087
 
 
19088
 
    sysv4.3*)
19089
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19090
 
      hardcode_shlibpath_var_GCJ=no
19091
 
      export_dynamic_flag_spec_GCJ='-Bexport'
19092
 
      ;;
19093
 
 
19094
 
    sysv4*MP*)
19095
 
      if test -d /usr/nec; then
19096
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19097
 
        hardcode_shlibpath_var_GCJ=no
19098
 
        runpath_var=LD_RUN_PATH
19099
 
        hardcode_runpath_var=yes
19100
 
        ld_shlibs_GCJ=yes
19101
 
      fi
19102
 
      ;;
19103
 
 
19104
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19105
 
      no_undefined_flag_GCJ='${wl}-z,text'
19106
 
      archive_cmds_need_lc_GCJ=no
19107
 
      hardcode_shlibpath_var_GCJ=no
19108
 
      runpath_var='LD_RUN_PATH'
19109
 
 
19110
 
      if test "$GCC" = yes; then
19111
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19112
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19113
 
      else
19114
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19115
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19116
 
      fi
19117
 
      ;;
19118
 
 
19119
 
    sysv5* | sco3.2v5* | sco5v6*)
19120
 
      # Note: We can NOT use -z defs as we might desire, because we do not
19121
 
      # link with -lc, and that would cause any symbols used from libc to
19122
 
      # always be unresolved, which means just about no library would
19123
 
      # ever link correctly.  If we're not using GNU ld we use -z text
19124
 
      # though, which does catch some bad symbols but isn't as heavy-handed
19125
 
      # as -z defs.
19126
 
      no_undefined_flag_GCJ='${wl}-z,text'
19127
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
19128
 
      archive_cmds_need_lc_GCJ=no
19129
 
      hardcode_shlibpath_var_GCJ=no
19130
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19131
 
      hardcode_libdir_separator_GCJ=':'
19132
 
      link_all_deplibs_GCJ=yes
19133
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19134
 
      runpath_var='LD_RUN_PATH'
19135
 
 
19136
 
      if test "$GCC" = yes; then
19137
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19138
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19139
 
      else
19140
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19141
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19142
 
      fi
19143
 
      ;;
19144
 
 
19145
 
    uts4*)
19146
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19147
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19148
 
      hardcode_shlibpath_var_GCJ=no
19149
 
      ;;
19150
 
 
19151
 
    *)
19152
 
      ld_shlibs_GCJ=no
19153
 
      ;;
19154
 
    esac
19155
 
  fi
19156
 
 
19157
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19158
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19159
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19160
 
 
19161
 
#
19162
 
# Do we need to explicitly link libc?
19163
 
#
19164
 
case "x$archive_cmds_need_lc_GCJ" in
19165
 
x|xyes)
19166
 
  # Assume -lc should be added
19167
 
  archive_cmds_need_lc_GCJ=yes
19168
 
 
19169
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
19170
 
    case $archive_cmds_GCJ in
19171
 
    *'~'*)
19172
 
      # FIXME: we may have to deal with multi-command sequences.
19173
 
      ;;
19174
 
    '$CC '*)
19175
 
      # Test whether the compiler implicitly links with -lc since on some
19176
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19177
 
      # to ld, don't add -lc before -lgcc.
19178
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19179
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19180
 
      $rm conftest*
19181
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19182
 
 
19183
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19184
 
  (eval $ac_compile) 2>&5
19185
 
  ac_status=$?
19186
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187
 
  (exit $ac_status); } 2>conftest.err; then
19188
 
        soname=conftest
19189
 
        lib=conftest
19190
 
        libobjs=conftest.$ac_objext
19191
 
        deplibs=
19192
 
        wl=$lt_prog_compiler_wl_GCJ
19193
 
        pic_flag=$lt_prog_compiler_pic_GCJ
19194
 
        compiler_flags=-v
19195
 
        linker_flags=-v
19196
 
        verstring=
19197
 
        output_objdir=.
19198
 
        libname=conftest
19199
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19200
 
        allow_undefined_flag_GCJ=
19201
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19202
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19203
 
  ac_status=$?
19204
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205
 
  (exit $ac_status); }
19206
 
        then
19207
 
          archive_cmds_need_lc_GCJ=no
19208
 
        else
19209
 
          archive_cmds_need_lc_GCJ=yes
19210
 
        fi
19211
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19212
 
      else
19213
 
        cat conftest.err 1>&5
19214
 
      fi
19215
 
      $rm conftest*
19216
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19217
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19218
 
      ;;
19219
 
    esac
19220
 
  fi
19221
 
  ;;
19222
 
esac
19223
 
 
19224
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19225
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19226
 
library_names_spec=
19227
 
libname_spec='lib$name'
19228
 
soname_spec=
19229
 
shrext_cmds=".so"
19230
 
postinstall_cmds=
19231
 
postuninstall_cmds=
19232
 
finish_cmds=
19233
 
finish_eval=
19234
 
shlibpath_var=
19235
 
shlibpath_overrides_runpath=unknown
19236
 
version_type=none
19237
 
dynamic_linker="$host_os ld.so"
19238
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19239
 
 
19240
 
need_lib_prefix=unknown
19241
 
hardcode_into_libs=no
19242
 
 
19243
 
# when you set need_version to no, make sure it does not cause -set_version
19244
 
# flags to be left without arguments
19245
 
need_version=unknown
19246
 
 
19247
 
case $host_os in
19248
 
aix3*)
19249
 
  version_type=linux
19250
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19251
 
  shlibpath_var=LIBPATH
19252
 
 
19253
 
  # AIX 3 has no versioning support, so we append a major version to the name.
19254
 
  soname_spec='${libname}${release}${shared_ext}$major'
19255
 
  ;;
19256
 
 
19257
 
aix4* | aix5*)
19258
 
  version_type=linux
19259
 
  need_lib_prefix=no
19260
 
  need_version=no
19261
 
  hardcode_into_libs=yes
19262
 
  if test "$host_cpu" = ia64; then
19263
 
    # AIX 5 supports IA64
19264
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19265
 
    shlibpath_var=LD_LIBRARY_PATH
19266
 
  else
19267
 
    # With GCC up to 2.95.x, collect2 would create an import file
19268
 
    # for dependence libraries.  The import file would start with
19269
 
    # the line `#! .'.  This would cause the generated library to
19270
 
    # depend on `.', always an invalid library.  This was fixed in
19271
 
    # development snapshots of GCC prior to 3.0.
19272
 
    case $host_os in
19273
 
      aix4 | aix4.[01] | aix4.[01].*)
19274
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19275
 
           echo ' yes '
19276
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19277
 
        :
19278
 
      else
19279
 
        can_build_shared=no
19280
 
      fi
19281
 
      ;;
19282
 
    esac
19283
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19284
 
    # soname into executable. Probably we can add versioning support to
19285
 
    # collect2, so additional links can be useful in future.
19286
 
    if test "$aix_use_runtimelinking" = yes; then
19287
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19288
 
      # instead of lib<name>.a to let people know that these are not
19289
 
      # typical AIX shared libraries.
19290
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19291
 
    else
19292
 
      # We preserve .a as extension for shared libraries through AIX4.2
19293
 
      # and later when we are not doing run time linking.
19294
 
      library_names_spec='${libname}${release}.a $libname.a'
19295
 
      soname_spec='${libname}${release}${shared_ext}$major'
19296
 
    fi
19297
 
    shlibpath_var=LIBPATH
19298
 
  fi
19299
 
  ;;
19300
 
 
19301
 
amigaos*)
19302
 
  library_names_spec='$libname.ixlibrary $libname.a'
19303
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
19304
 
  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'
19305
 
  ;;
19306
 
 
19307
 
beos*)
19308
 
  library_names_spec='${libname}${shared_ext}'
19309
 
  dynamic_linker="$host_os ld.so"
19310
 
  shlibpath_var=LIBRARY_PATH
19311
 
  ;;
19312
 
 
19313
 
bsdi[45]*)
19314
 
  version_type=linux
19315
 
  need_version=no
19316
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19317
 
  soname_spec='${libname}${release}${shared_ext}$major'
19318
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19319
 
  shlibpath_var=LD_LIBRARY_PATH
19320
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19321
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19322
 
  # the default ld.so.conf also contains /usr/contrib/lib and
19323
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19324
 
  # libtool to hard-code these into programs
19325
 
  ;;
19326
 
 
19327
 
cygwin* | mingw* | pw32*)
19328
 
  version_type=windows
19329
 
  shrext_cmds=".dll"
19330
 
  need_version=no
19331
 
  need_lib_prefix=no
19332
 
 
19333
 
  case $GCC,$host_os in
19334
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
19335
 
    library_names_spec='$libname.dll.a'
19336
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19337
 
    postinstall_cmds='base_file=`basename \${file}`~
19338
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19339
 
      dldir=$destdir/`dirname \$dlpath`~
19340
 
      test -d \$dldir || mkdir -p \$dldir~
19341
 
      $install_prog $dir/$dlname \$dldir/$dlname~
19342
 
      chmod a+x \$dldir/$dlname'
19343
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19344
 
      dlpath=$dir/\$dldll~
19345
 
       $rm \$dlpath'
19346
 
    shlibpath_overrides_runpath=yes
19347
 
 
19348
 
    case $host_os in
19349
 
    cygwin*)
19350
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19351
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19352
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19353
 
      ;;
19354
 
    mingw*)
19355
 
      # MinGW DLLs use traditional 'lib' prefix
19356
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19357
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19358
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19359
 
        # It is most probably a Windows format PATH printed by
19360
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
19361
 
        # path with ; separators, and with drive letters. We can handle the
19362
 
        # drive letters (cygwin fileutils understands them), so leave them,
19363
 
        # especially as we might pass files found there to a mingw objdump,
19364
 
        # which wouldn't understand a cygwinified path. Ahh.
19365
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19366
 
      else
19367
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19368
 
      fi
19369
 
      ;;
19370
 
    pw32*)
19371
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
19372
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19373
 
      ;;
19374
 
    esac
19375
 
    ;;
19376
 
 
19377
 
  *)
19378
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19379
 
    ;;
19380
 
  esac
19381
 
  dynamic_linker='Win32 ld.exe'
19382
 
  # FIXME: first we should search . and the directory the executable is in
19383
 
  shlibpath_var=PATH
19384
 
  ;;
19385
 
 
19386
 
darwin* | rhapsody*)
19387
 
  dynamic_linker="$host_os dyld"
19388
 
  version_type=darwin
19389
 
  need_lib_prefix=no
19390
 
  need_version=no
19391
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19392
 
  soname_spec='${libname}${release}${major}$shared_ext'
19393
 
  shlibpath_overrides_runpath=yes
19394
 
  shlibpath_var=DYLD_LIBRARY_PATH
19395
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19396
 
   
19397
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19398
 
  ;;
19399
 
 
19400
 
dgux*)
19401
 
  version_type=linux
19402
 
  need_lib_prefix=no
19403
 
  need_version=no
19404
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19405
 
  soname_spec='${libname}${release}${shared_ext}$major'
19406
 
  shlibpath_var=LD_LIBRARY_PATH
19407
 
  ;;
19408
 
 
19409
 
freebsd1*)
19410
 
  dynamic_linker=no
19411
 
  ;;
19412
 
 
19413
 
freebsd* | dragonfly*)
19414
 
  # DragonFly does not have aout.  When/if they implement a new
19415
 
  # versioning mechanism, adjust this.
19416
 
  if test -x /usr/bin/objformat; then
19417
 
    objformat=`/usr/bin/objformat`
19418
 
  else
19419
 
    case $host_os in
19420
 
    freebsd[123]*) objformat=aout ;;
19421
 
    *) objformat=elf ;;
19422
 
    esac
19423
 
  fi
19424
 
  version_type=freebsd-$objformat
19425
 
  case $version_type in
19426
 
    freebsd-elf*)
19427
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19428
 
      need_version=no
19429
 
      need_lib_prefix=no
19430
 
      ;;
19431
 
    freebsd-*)
19432
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19433
 
      need_version=yes
19434
 
      ;;
19435
 
  esac
19436
 
  shlibpath_var=LD_LIBRARY_PATH
19437
 
  case $host_os in
19438
 
  freebsd2*)
19439
 
    shlibpath_overrides_runpath=yes
19440
 
    ;;
19441
 
  freebsd3.[01]* | freebsdelf3.[01]*)
19442
 
    shlibpath_overrides_runpath=yes
19443
 
    hardcode_into_libs=yes
19444
 
    ;;
19445
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19446
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19447
 
    shlibpath_overrides_runpath=no
19448
 
    hardcode_into_libs=yes
19449
 
    ;;
19450
 
  *) # from 4.6 on, and DragonFly
19451
 
    shlibpath_overrides_runpath=yes
19452
 
    hardcode_into_libs=yes
19453
 
    ;;
19454
 
  esac
19455
 
  ;;
19456
 
 
19457
 
gnu*)
19458
 
  version_type=linux
19459
 
  need_lib_prefix=no
19460
 
  need_version=no
19461
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19462
 
  soname_spec='${libname}${release}${shared_ext}$major'
19463
 
  shlibpath_var=LD_LIBRARY_PATH
19464
 
  hardcode_into_libs=yes
19465
 
  ;;
19466
 
 
19467
 
hpux9* | hpux10* | hpux11*)
19468
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
19469
 
  # link against other versions.
19470
 
  version_type=sunos
19471
 
  need_lib_prefix=no
19472
 
  need_version=no
19473
 
  case $host_cpu in
19474
 
  ia64*)
19475
 
    shrext_cmds='.so'
19476
 
    hardcode_into_libs=yes
19477
 
    dynamic_linker="$host_os dld.so"
19478
 
    shlibpath_var=LD_LIBRARY_PATH
19479
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19480
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19481
 
    soname_spec='${libname}${release}${shared_ext}$major'
19482
 
    if test "X$HPUX_IA64_MODE" = X32; then
19483
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19484
 
    else
19485
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19486
 
    fi
19487
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19488
 
    ;;
19489
 
   hppa*64*)
19490
 
     shrext_cmds='.sl'
19491
 
     hardcode_into_libs=yes
19492
 
     dynamic_linker="$host_os dld.sl"
19493
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19494
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19495
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19496
 
     soname_spec='${libname}${release}${shared_ext}$major'
19497
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19498
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19499
 
     ;;
19500
 
   *)
19501
 
    shrext_cmds='.sl'
19502
 
    dynamic_linker="$host_os dld.sl"
19503
 
    shlibpath_var=SHLIB_PATH
19504
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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
 
    ;;
19508
 
  esac
19509
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19510
 
  postinstall_cmds='chmod 555 $lib'
19511
 
  ;;
19512
 
 
19513
 
interix[3-9]*)
19514
 
  version_type=linux
19515
 
  need_lib_prefix=no
19516
 
  need_version=no
19517
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19518
 
  soname_spec='${libname}${release}${shared_ext}$major'
19519
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19520
 
  shlibpath_var=LD_LIBRARY_PATH
19521
 
  shlibpath_overrides_runpath=no
19522
 
  hardcode_into_libs=yes
19523
 
  ;;
19524
 
 
19525
 
irix5* | irix6* | nonstopux*)
19526
 
  case $host_os in
19527
 
    nonstopux*) version_type=nonstopux ;;
19528
 
    *)
19529
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
19530
 
                version_type=linux
19531
 
        else
19532
 
                version_type=irix
19533
 
        fi ;;
19534
 
  esac
19535
 
  need_lib_prefix=no
19536
 
  need_version=no
19537
 
  soname_spec='${libname}${release}${shared_ext}$major'
19538
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19539
 
  case $host_os in
19540
 
  irix5* | nonstopux*)
19541
 
    libsuff= shlibsuff=
19542
 
    ;;
19543
 
  *)
19544
 
    case $LD in # libtool.m4 will add one of these switches to LD
19545
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19546
 
      libsuff= shlibsuff= libmagic=32-bit;;
19547
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19548
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
19549
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19550
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19551
 
    *) libsuff= shlibsuff= libmagic=never-match;;
19552
 
    esac
19553
 
    ;;
19554
 
  esac
19555
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19556
 
  shlibpath_overrides_runpath=no
19557
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19558
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19559
 
  hardcode_into_libs=yes
19560
 
  ;;
19561
 
 
19562
 
# No shared lib support for Linux oldld, aout, or coff.
19563
 
linux*oldld* | linux*aout* | linux*coff*)
19564
 
  dynamic_linker=no
19565
 
  ;;
19566
 
 
19567
 
# This must be Linux ELF.
19568
 
linux* | k*bsd*-gnu)
19569
 
  version_type=linux
19570
 
  need_lib_prefix=no
19571
 
  need_version=no
19572
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19573
 
  soname_spec='${libname}${release}${shared_ext}$major'
19574
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19575
 
  shlibpath_var=LD_LIBRARY_PATH
19576
 
  shlibpath_overrides_runpath=no
19577
 
  # This implies no fast_install, which is unacceptable.
19578
 
  # Some rework will be needed to allow for fast_install
19579
 
  # before this can be enabled.
19580
 
  hardcode_into_libs=yes
19581
 
 
19582
 
  # Append ld.so.conf contents to the search path
19583
 
  if test -f /etc/ld.so.conf; then
19584
 
    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' ' '`
19585
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19586
 
  fi
19587
 
 
19588
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19589
 
  # powerpc, because MkLinux only supported shared libraries with the
19590
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
19591
 
  # most powerpc-linux boxes support dynamic linking these days and
19592
 
  # people can always --disable-shared, the test was removed, and we
19593
 
  # assume the GNU/Linux dynamic linker is in use.
19594
 
  dynamic_linker='GNU/Linux ld.so'
19595
 
  ;;
19596
 
 
19597
 
netbsdelf*-gnu)
19598
 
  version_type=linux
19599
 
  need_lib_prefix=no
19600
 
  need_version=no
19601
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19602
 
  soname_spec='${libname}${release}${shared_ext}$major'
19603
 
  shlibpath_var=LD_LIBRARY_PATH
19604
 
  shlibpath_overrides_runpath=no
19605
 
  hardcode_into_libs=yes
19606
 
  dynamic_linker='NetBSD ld.elf_so'
19607
 
  ;;
19608
 
 
19609
 
netbsd*)
19610
 
  version_type=sunos
19611
 
  need_lib_prefix=no
19612
 
  need_version=no
19613
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19614
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19615
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19616
 
    dynamic_linker='NetBSD (a.out) ld.so'
19617
 
  else
19618
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19619
 
    soname_spec='${libname}${release}${shared_ext}$major'
19620
 
    dynamic_linker='NetBSD ld.elf_so'
19621
 
  fi
19622
 
  shlibpath_var=LD_LIBRARY_PATH
19623
 
  shlibpath_overrides_runpath=yes
19624
 
  hardcode_into_libs=yes
19625
 
  ;;
19626
 
 
19627
 
newsos6)
19628
 
  version_type=linux
19629
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19630
 
  shlibpath_var=LD_LIBRARY_PATH
19631
 
  shlibpath_overrides_runpath=yes
19632
 
  ;;
19633
 
 
19634
 
nto-qnx*)
19635
 
  version_type=linux
19636
 
  need_lib_prefix=no
19637
 
  need_version=no
19638
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19639
 
  soname_spec='${libname}${release}${shared_ext}$major'
19640
 
  shlibpath_var=LD_LIBRARY_PATH
19641
 
  shlibpath_overrides_runpath=yes
19642
 
  ;;
19643
 
 
19644
 
openbsd*)
19645
 
  version_type=sunos
19646
 
  sys_lib_dlsearch_path_spec="/usr/lib"
19647
 
  need_lib_prefix=no
19648
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19649
 
  case $host_os in
19650
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19651
 
    *)                         need_version=no  ;;
19652
 
  esac
19653
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19654
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19655
 
  shlibpath_var=LD_LIBRARY_PATH
19656
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19657
 
    case $host_os in
19658
 
      openbsd2.[89] | openbsd2.[89].*)
19659
 
        shlibpath_overrides_runpath=no
19660
 
        ;;
19661
 
      *)
19662
 
        shlibpath_overrides_runpath=yes
19663
 
        ;;
19664
 
      esac
19665
 
  else
19666
 
    shlibpath_overrides_runpath=yes
19667
 
  fi
19668
 
  ;;
19669
 
 
19670
 
os2*)
19671
 
  libname_spec='$name'
19672
 
  shrext_cmds=".dll"
19673
 
  need_lib_prefix=no
19674
 
  library_names_spec='$libname${shared_ext} $libname.a'
19675
 
  dynamic_linker='OS/2 ld.exe'
19676
 
  shlibpath_var=LIBPATH
19677
 
  ;;
19678
 
 
19679
 
osf3* | osf4* | osf5*)
19680
 
  version_type=osf
19681
 
  need_lib_prefix=no
19682
 
  need_version=no
19683
 
  soname_spec='${libname}${release}${shared_ext}$major'
19684
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19685
 
  shlibpath_var=LD_LIBRARY_PATH
19686
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19687
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19688
 
  ;;
19689
 
 
19690
 
rdos*)
19691
 
  dynamic_linker=no
19692
 
  ;;
19693
 
 
19694
 
solaris*)
19695
 
  version_type=linux
19696
 
  need_lib_prefix=no
19697
 
  need_version=no
19698
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19699
 
  soname_spec='${libname}${release}${shared_ext}$major'
19700
 
  shlibpath_var=LD_LIBRARY_PATH
19701
 
  shlibpath_overrides_runpath=yes
19702
 
  hardcode_into_libs=yes
19703
 
  # ldd complains unless libraries are executable
19704
 
  postinstall_cmds='chmod +x $lib'
19705
 
  ;;
19706
 
 
19707
 
sunos4*)
19708
 
  version_type=sunos
19709
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19710
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19711
 
  shlibpath_var=LD_LIBRARY_PATH
19712
 
  shlibpath_overrides_runpath=yes
19713
 
  if test "$with_gnu_ld" = yes; then
19714
 
    need_lib_prefix=no
19715
 
  fi
19716
 
  need_version=yes
19717
 
  ;;
19718
 
 
19719
 
sysv4 | sysv4.3*)
19720
 
  version_type=linux
19721
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19722
 
  soname_spec='${libname}${release}${shared_ext}$major'
19723
 
  shlibpath_var=LD_LIBRARY_PATH
19724
 
  case $host_vendor in
19725
 
    sni)
19726
 
      shlibpath_overrides_runpath=no
19727
 
      need_lib_prefix=no
19728
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
19729
 
      runpath_var=LD_RUN_PATH
19730
 
      ;;
19731
 
    siemens)
19732
 
      need_lib_prefix=no
19733
 
      ;;
19734
 
    motorola)
19735
 
      need_lib_prefix=no
19736
 
      need_version=no
19737
 
      shlibpath_overrides_runpath=no
19738
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19739
 
      ;;
19740
 
  esac
19741
 
  ;;
19742
 
 
19743
 
sysv4*MP*)
19744
 
  if test -d /usr/nec ;then
19745
 
    version_type=linux
19746
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19747
 
    soname_spec='$libname${shared_ext}.$major'
19748
 
    shlibpath_var=LD_LIBRARY_PATH
19749
 
  fi
19750
 
  ;;
19751
 
 
19752
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19753
 
  version_type=freebsd-elf
19754
 
  need_lib_prefix=no
19755
 
  need_version=no
19756
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19757
 
  soname_spec='${libname}${release}${shared_ext}$major'
19758
 
  shlibpath_var=LD_LIBRARY_PATH
19759
 
  hardcode_into_libs=yes
19760
 
  if test "$with_gnu_ld" = yes; then
19761
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19762
 
    shlibpath_overrides_runpath=no
19763
 
  else
19764
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19765
 
    shlibpath_overrides_runpath=yes
19766
 
    case $host_os in
19767
 
      sco3.2v5*)
19768
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19769
 
        ;;
19770
 
    esac
19771
 
  fi
19772
 
  sys_lib_dlsearch_path_spec='/usr/lib'
19773
 
  ;;
19774
 
 
19775
 
uts4*)
19776
 
  version_type=linux
19777
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19778
 
  soname_spec='${libname}${release}${shared_ext}$major'
19779
 
  shlibpath_var=LD_LIBRARY_PATH
19780
 
  ;;
19781
 
 
19782
 
*)
19783
 
  dynamic_linker=no
19784
 
  ;;
19785
 
esac
19786
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19787
 
echo "${ECHO_T}$dynamic_linker" >&6; }
19788
 
test "$dynamic_linker" = no && can_build_shared=no
19789
 
 
19790
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19791
 
if test "$GCC" = yes; then
19792
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19793
 
fi
19794
 
 
19795
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19796
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19797
 
hardcode_action_GCJ=
19798
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19799
 
   test -n "$runpath_var_GCJ" || \
19800
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19801
 
 
19802
 
  # We can hardcode non-existant directories.
19803
 
  if test "$hardcode_direct_GCJ" != no &&
19804
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19805
 
     # have to relink, otherwise we might link with an installed library
19806
 
     # when we should be linking with a yet-to-be-installed one
19807
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19808
 
     test "$hardcode_minus_L_GCJ" != no; then
19809
 
    # Linking always hardcodes the temporary library directory.
19810
 
    hardcode_action_GCJ=relink
19811
 
  else
19812
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19813
 
    hardcode_action_GCJ=immediate
19814
 
  fi
19815
 
else
19816
 
  # We cannot hardcode anything, or else we can only hardcode existing
19817
 
  # directories.
19818
 
  hardcode_action_GCJ=unsupported
19819
 
fi
19820
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19821
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19822
 
 
19823
 
if test "$hardcode_action_GCJ" = relink; then
19824
 
  # Fast installation is not supported
19825
 
  enable_fast_install=no
19826
 
elif test "$shlibpath_overrides_runpath" = yes ||
19827
 
     test "$enable_shared" = no; then
19828
 
  # Fast installation is not necessary
19829
 
  enable_fast_install=needless
19830
 
fi
19831
 
 
19832
 
 
19833
 
# The else clause should only fire when bootstrapping the
19834
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19835
 
# with your package, and you will get complaints that there are
19836
 
# no rules to generate ltmain.sh.
19837
 
if test -f "$ltmain"; then
19838
 
  # See if we are running on zsh, and set the options which allow our commands through
19839
 
  # without removal of \ escapes.
19840
 
  if test -n "${ZSH_VERSION+set}" ; then
19841
 
    setopt NO_GLOB_SUBST
19842
 
  fi
19843
 
  # Now quote all the things that may contain metacharacters while being
19844
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19845
 
  # variables and quote the copies for generation of the libtool script.
19846
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19847
 
    SED SHELL STRIP \
19848
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19849
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19850
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19851
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19852
 
    lt_cv_sys_global_symbol_to_c_name_address \
19853
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19854
 
    old_postinstall_cmds old_postuninstall_cmds \
19855
 
    compiler_GCJ \
19856
 
    CC_GCJ \
19857
 
    LD_GCJ \
19858
 
    lt_prog_compiler_wl_GCJ \
19859
 
    lt_prog_compiler_pic_GCJ \
19860
 
    lt_prog_compiler_static_GCJ \
19861
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19862
 
    export_dynamic_flag_spec_GCJ \
19863
 
    thread_safe_flag_spec_GCJ \
19864
 
    whole_archive_flag_spec_GCJ \
19865
 
    enable_shared_with_static_runtimes_GCJ \
19866
 
    old_archive_cmds_GCJ \
19867
 
    old_archive_from_new_cmds_GCJ \
19868
 
    predep_objects_GCJ \
19869
 
    postdep_objects_GCJ \
19870
 
    predeps_GCJ \
19871
 
    postdeps_GCJ \
19872
 
    compiler_lib_search_path_GCJ \
19873
 
    archive_cmds_GCJ \
19874
 
    archive_expsym_cmds_GCJ \
19875
 
    postinstall_cmds_GCJ \
19876
 
    postuninstall_cmds_GCJ \
19877
 
    old_archive_from_expsyms_cmds_GCJ \
19878
 
    allow_undefined_flag_GCJ \
19879
 
    no_undefined_flag_GCJ \
19880
 
    export_symbols_cmds_GCJ \
19881
 
    hardcode_libdir_flag_spec_GCJ \
19882
 
    hardcode_libdir_flag_spec_ld_GCJ \
19883
 
    hardcode_libdir_separator_GCJ \
19884
 
    hardcode_automatic_GCJ \
19885
 
    module_cmds_GCJ \
19886
 
    module_expsym_cmds_GCJ \
19887
 
    lt_cv_prog_compiler_c_o_GCJ \
19888
 
    fix_srcfile_path_GCJ \
19889
 
    exclude_expsyms_GCJ \
19890
 
    include_expsyms_GCJ; do
19891
 
 
19892
 
    case $var in
19893
 
    old_archive_cmds_GCJ | \
19894
 
    old_archive_from_new_cmds_GCJ | \
19895
 
    archive_cmds_GCJ | \
19896
 
    archive_expsym_cmds_GCJ | \
19897
 
    module_cmds_GCJ | \
19898
 
    module_expsym_cmds_GCJ | \
19899
 
    old_archive_from_expsyms_cmds_GCJ | \
19900
 
    export_symbols_cmds_GCJ | \
19901
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19902
 
    postinstall_cmds | postuninstall_cmds | \
19903
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19904
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19905
 
      # Double-quote double-evaled strings.
19906
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19907
 
      ;;
19908
 
    *)
19909
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19910
 
      ;;
19911
 
    esac
19912
 
  done
19913
 
 
19914
 
  case $lt_echo in
19915
 
  *'\$0 --fallback-echo"')
19916
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19917
 
    ;;
19918
 
  esac
19919
 
 
19920
 
cfgfile="$ofile"
19921
 
 
19922
 
  cat <<__EOF__ >> "$cfgfile"
19923
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19924
 
 
19925
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19926
 
 
19927
 
# Shell to use when invoking shell scripts.
19928
 
SHELL=$lt_SHELL
19929
 
 
19930
 
# Whether or not to build shared libraries.
19931
 
build_libtool_libs=$enable_shared
19932
 
 
19933
 
# Whether or not to build static libraries.
19934
 
build_old_libs=$enable_static
19935
 
 
19936
 
# Whether or not to add -lc for building shared libraries.
19937
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19938
 
 
19939
 
# Whether or not to disallow shared libs when runtime libs are static
19940
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19941
 
 
19942
 
# Whether or not to optimize for fast installation.
19943
 
fast_install=$enable_fast_install
19944
 
 
19945
 
# The host system.
19946
 
host_alias=$host_alias
19947
 
host=$host
19948
 
host_os=$host_os
19949
 
 
19950
 
# The build system.
19951
 
build_alias=$build_alias
19952
 
build=$build
19953
 
build_os=$build_os
19954
 
 
19955
 
# An echo program that does not interpret backslashes.
19956
 
echo=$lt_echo
19957
 
 
19958
 
# The archiver.
19959
 
AR=$lt_AR
19960
 
AR_FLAGS=$lt_AR_FLAGS
19961
 
 
19962
 
# A C compiler.
19963
 
LTCC=$lt_LTCC
19964
 
 
19965
 
# LTCC compiler flags.
19966
 
LTCFLAGS=$lt_LTCFLAGS
19967
 
 
19968
 
# A language-specific compiler.
19969
 
CC=$lt_compiler_GCJ
19970
 
 
19971
 
# Is the compiler the GNU C compiler?
19972
 
with_gcc=$GCC_GCJ
19973
 
 
19974
 
# An ERE matcher.
19975
 
EGREP=$lt_EGREP
19976
 
 
19977
 
# The linker used to build libraries.
19978
 
LD=$lt_LD_GCJ
19979
 
 
19980
 
# Whether we need hard or soft links.
19981
 
LN_S=$lt_LN_S
19982
 
 
19983
 
# A BSD-compatible nm program.
19984
 
NM=$lt_NM
19985
 
 
19986
 
# A symbol stripping program
19987
 
STRIP=$lt_STRIP
19988
 
 
19989
 
# Used to examine libraries when file_magic_cmd begins "file"
19990
 
MAGIC_CMD=$MAGIC_CMD
19991
 
 
19992
 
# Used on cygwin: DLL creation program.
19993
 
DLLTOOL="$DLLTOOL"
19994
 
 
19995
 
# Used on cygwin: object dumper.
19996
 
OBJDUMP="$OBJDUMP"
19997
 
 
19998
 
# Used on cygwin: assembler.
19999
 
AS="$AS"
20000
 
 
20001
 
# The name of the directory that contains temporary libtool files.
20002
 
objdir=$objdir
20003
 
 
20004
 
# How to create reloadable object files.
20005
 
reload_flag=$lt_reload_flag
20006
 
reload_cmds=$lt_reload_cmds
20007
 
 
20008
 
# How to pass a linker flag through the compiler.
20009
 
wl=$lt_lt_prog_compiler_wl_GCJ
20010
 
 
20011
 
# Object file suffix (normally "o").
20012
 
objext="$ac_objext"
20013
 
 
20014
 
# Old archive suffix (normally "a").
20015
 
libext="$libext"
20016
 
 
20017
 
# Shared library suffix (normally ".so").
20018
 
shrext_cmds='$shrext_cmds'
20019
 
 
20020
 
# Executable file suffix (normally "").
20021
 
exeext="$exeext"
20022
 
 
20023
 
# Additional compiler flags for building library objects.
20024
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
20025
 
pic_mode=$pic_mode
20026
 
 
20027
 
# What is the maximum length of a command?
20028
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20029
 
 
20030
 
# Does compiler simultaneously support -c and -o options?
20031
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20032
 
 
20033
 
# Must we lock files when doing compilation?
20034
 
need_locks=$lt_need_locks
20035
 
 
20036
 
# Do we need the lib prefix for modules?
20037
 
need_lib_prefix=$need_lib_prefix
20038
 
 
20039
 
# Do we need a version for libraries?
20040
 
need_version=$need_version
20041
 
 
20042
 
# Whether dlopen is supported.
20043
 
dlopen_support=$enable_dlopen
20044
 
 
20045
 
# Whether dlopen of programs is supported.
20046
 
dlopen_self=$enable_dlopen_self
20047
 
 
20048
 
# Whether dlopen of statically linked programs is supported.
20049
 
dlopen_self_static=$enable_dlopen_self_static
20050
 
 
20051
 
# Compiler flag to prevent dynamic linking.
20052
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
20053
 
 
20054
 
# Compiler flag to turn off builtin functions.
20055
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20056
 
 
20057
 
# Compiler flag to allow reflexive dlopens.
20058
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20059
 
 
20060
 
# Compiler flag to generate shared objects directly from archives.
20061
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20062
 
 
20063
 
# Compiler flag to generate thread-safe objects.
20064
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20065
 
 
20066
 
# Library versioning type.
20067
 
version_type=$version_type
20068
 
 
20069
 
# Format of library name prefix.
20070
 
libname_spec=$lt_libname_spec
20071
 
 
20072
 
# List of archive names.  First name is the real one, the rest are links.
20073
 
# The last name is the one that the linker finds with -lNAME.
20074
 
library_names_spec=$lt_library_names_spec
20075
 
 
20076
 
# The coded name of the library, if different from the real name.
20077
 
soname_spec=$lt_soname_spec
20078
 
 
20079
 
# Commands used to build and install an old-style archive.
20080
 
RANLIB=$lt_RANLIB
20081
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
20082
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20083
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20084
 
 
20085
 
# Create an old-style archive from a shared archive.
20086
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20087
 
 
20088
 
# Create a temporary old-style archive to link instead of a shared archive.
20089
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20090
 
 
20091
 
# Commands used to build and install a shared archive.
20092
 
archive_cmds=$lt_archive_cmds_GCJ
20093
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20094
 
postinstall_cmds=$lt_postinstall_cmds
20095
 
postuninstall_cmds=$lt_postuninstall_cmds
20096
 
 
20097
 
# Commands used to build a loadable module (assumed same as above if empty)
20098
 
module_cmds=$lt_module_cmds_GCJ
20099
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20100
 
 
20101
 
# Commands to strip libraries.
20102
 
old_striplib=$lt_old_striplib
20103
 
striplib=$lt_striplib
20104
 
 
20105
 
# Dependencies to place before the objects being linked to create a
20106
 
# shared library.
20107
 
predep_objects=$lt_predep_objects_GCJ
20108
 
 
20109
 
# Dependencies to place after the objects being linked to create a
20110
 
# shared library.
20111
 
postdep_objects=$lt_postdep_objects_GCJ
20112
 
 
20113
 
# Dependencies to place before the objects being linked to create a
20114
 
# shared library.
20115
 
predeps=$lt_predeps_GCJ
20116
 
 
20117
 
# Dependencies to place after the objects being linked to create a
20118
 
# shared library.
20119
 
postdeps=$lt_postdeps_GCJ
20120
 
 
20121
 
# The library search path used internally by the compiler when linking
20122
 
# a shared library.
20123
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20124
 
 
20125
 
# Method to check whether dependent libraries are shared objects.
20126
 
deplibs_check_method=$lt_deplibs_check_method
20127
 
 
20128
 
# Command to use when deplibs_check_method == file_magic.
20129
 
file_magic_cmd=$lt_file_magic_cmd
20130
 
 
20131
 
# Flag that allows shared libraries with undefined symbols to be built.
20132
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20133
 
 
20134
 
# Flag that forces no undefined symbols.
20135
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
20136
 
 
20137
 
# Commands used to finish a libtool library installation in a directory.
20138
 
finish_cmds=$lt_finish_cmds
20139
 
 
20140
 
# Same as above, but a single script fragment to be evaled but not shown.
20141
 
finish_eval=$lt_finish_eval
20142
 
 
20143
 
# Take the output of nm and produce a listing of raw symbols and C names.
20144
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20145
 
 
20146
 
# Transform the output of nm in a proper C declaration
20147
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20148
 
 
20149
 
# Transform the output of nm in a C name address pair
20150
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20151
 
 
20152
 
# This is the shared library runtime path variable.
20153
 
runpath_var=$runpath_var
20154
 
 
20155
 
# This is the shared library path variable.
20156
 
shlibpath_var=$shlibpath_var
20157
 
 
20158
 
# Is shlibpath searched before the hard-coded library search path?
20159
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20160
 
 
20161
 
# How to hardcode a shared library path into an executable.
20162
 
hardcode_action=$hardcode_action_GCJ
20163
 
 
20164
 
# Whether we should hardcode library paths into libraries.
20165
 
hardcode_into_libs=$hardcode_into_libs
20166
 
 
20167
 
# Flag to hardcode \$libdir into a binary during linking.
20168
 
# This must work even if \$libdir does not exist.
20169
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20170
 
 
20171
 
# If ld is used when linking, flag to hardcode \$libdir into
20172
 
# a binary during linking. This must work even if \$libdir does
20173
 
# not exist.
20174
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20175
 
 
20176
 
# Whether we need a single -rpath flag with a separated argument.
20177
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20178
 
 
20179
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20180
 
# resulting binary.
20181
 
hardcode_direct=$hardcode_direct_GCJ
20182
 
 
20183
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20184
 
# resulting binary.
20185
 
hardcode_minus_L=$hardcode_minus_L_GCJ
20186
 
 
20187
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20188
 
# the resulting binary.
20189
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20190
 
 
20191
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20192
 
# and all subsequent libraries and executables linked against it.
20193
 
hardcode_automatic=$hardcode_automatic_GCJ
20194
 
 
20195
 
# Variables whose values should be saved in libtool wrapper scripts and
20196
 
# restored at relink time.
20197
 
variables_saved_for_relink="$variables_saved_for_relink"
20198
 
 
20199
 
# Whether libtool must link a program against all its dependency libraries.
20200
 
link_all_deplibs=$link_all_deplibs_GCJ
20201
 
 
20202
 
# Compile-time system search path for libraries
20203
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20204
 
 
20205
 
# Run-time system search path for libraries
20206
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20207
 
 
20208
 
# Fix the shell variable \$srcfile for the compiler.
20209
 
fix_srcfile_path=$lt_fix_srcfile_path
20210
 
 
20211
 
# Set to yes if exported symbols are required.
20212
 
always_export_symbols=$always_export_symbols_GCJ
20213
 
 
20214
 
# The commands to list exported symbols.
20215
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20216
 
 
20217
 
# The commands to extract the exported symbol list from a shared archive.
20218
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20219
 
 
20220
 
# Symbols that should not be listed in the preloaded symbols.
20221
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
20222
 
 
20223
 
# Symbols that must always be exported.
20224
 
include_expsyms=$lt_include_expsyms_GCJ
20225
 
 
20226
 
# ### END LIBTOOL TAG CONFIG: $tagname
20227
 
 
20228
 
__EOF__
20229
 
 
20230
 
 
20231
 
else
20232
 
  # If there is no Makefile yet, we rely on a make rule to execute
20233
 
  # `config.status --recheck' to rerun these tests and create the
20234
 
  # libtool script then.
20235
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20236
 
  if test -f "$ltmain_in"; then
20237
 
    test -f Makefile && make "$ltmain"
20238
 
  fi
20239
 
fi
20240
 
 
20241
 
 
20242
 
ac_ext=c
20243
 
ac_cpp='$CPP $CPPFLAGS'
20244
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20245
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20246
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20247
 
 
20248
 
CC="$lt_save_CC"
20249
 
 
20250
 
        else
20251
 
          tagname=""
20252
 
        fi
20253
 
        ;;
20254
 
 
20255
 
      RC)
20256
 
        
20257
 
 
20258
 
# Source file extension for RC test sources.
20259
 
ac_ext=rc
20260
 
 
20261
 
# Object file extension for compiled RC test sources.
20262
 
objext=o
20263
 
objext_RC=$objext
20264
 
 
20265
 
# Code to be used in simple compile tests
20266
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20267
 
 
20268
 
# Code to be used in simple link tests
20269
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
20270
 
 
20271
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20272
 
 
20273
 
# If no C compiler was specified, use CC.
20274
 
LTCC=${LTCC-"$CC"}
20275
 
 
20276
 
# If no C compiler flags were specified, use CFLAGS.
20277
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20278
 
 
20279
 
# Allow CC to be a program name with arguments.
20280
 
compiler=$CC
20281
 
 
20282
 
 
20283
 
# save warnings/boilerplate of simple test code
20284
 
ac_outfile=conftest.$ac_objext
20285
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20286
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20287
 
_lt_compiler_boilerplate=`cat conftest.err`
20288
 
$rm conftest*
20289
 
 
20290
 
ac_outfile=conftest.$ac_objext
20291
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20292
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20293
 
_lt_linker_boilerplate=`cat conftest.err`
20294
 
$rm conftest*
20295
 
 
20296
 
 
20297
 
# Allow CC to be a program name with arguments.
20298
 
lt_save_CC="$CC"
20299
 
CC=${RC-"windres"}
20300
 
compiler=$CC
20301
 
compiler_RC=$CC
20302
 
for cc_temp in $compiler""; do
20303
 
  case $cc_temp in
20304
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20305
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20306
 
    \-*) ;;
20307
 
    *) break;;
20308
 
  esac
20309
 
done
20310
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20311
 
 
20312
 
lt_cv_prog_compiler_c_o_RC=yes
20313
 
 
20314
 
# The else clause should only fire when bootstrapping the
20315
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20316
 
# with your package, and you will get complaints that there are
20317
 
# no rules to generate ltmain.sh.
20318
 
if test -f "$ltmain"; then
20319
 
  # See if we are running on zsh, and set the options which allow our commands through
20320
 
  # without removal of \ escapes.
20321
 
  if test -n "${ZSH_VERSION+set}" ; then
20322
 
    setopt NO_GLOB_SUBST
20323
 
  fi
20324
 
  # Now quote all the things that may contain metacharacters while being
20325
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20326
 
  # variables and quote the copies for generation of the libtool script.
20327
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20328
 
    SED SHELL STRIP \
20329
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20330
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20331
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20332
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20333
 
    lt_cv_sys_global_symbol_to_c_name_address \
20334
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20335
 
    old_postinstall_cmds old_postuninstall_cmds \
20336
 
    compiler_RC \
20337
 
    CC_RC \
20338
 
    LD_RC \
20339
 
    lt_prog_compiler_wl_RC \
20340
 
    lt_prog_compiler_pic_RC \
20341
 
    lt_prog_compiler_static_RC \
20342
 
    lt_prog_compiler_no_builtin_flag_RC \
20343
 
    export_dynamic_flag_spec_RC \
20344
 
    thread_safe_flag_spec_RC \
20345
 
    whole_archive_flag_spec_RC \
20346
 
    enable_shared_with_static_runtimes_RC \
20347
 
    old_archive_cmds_RC \
20348
 
    old_archive_from_new_cmds_RC \
20349
 
    predep_objects_RC \
20350
 
    postdep_objects_RC \
20351
 
    predeps_RC \
20352
 
    postdeps_RC \
20353
 
    compiler_lib_search_path_RC \
20354
 
    archive_cmds_RC \
20355
 
    archive_expsym_cmds_RC \
20356
 
    postinstall_cmds_RC \
20357
 
    postuninstall_cmds_RC \
20358
 
    old_archive_from_expsyms_cmds_RC \
20359
 
    allow_undefined_flag_RC \
20360
 
    no_undefined_flag_RC \
20361
 
    export_symbols_cmds_RC \
20362
 
    hardcode_libdir_flag_spec_RC \
20363
 
    hardcode_libdir_flag_spec_ld_RC \
20364
 
    hardcode_libdir_separator_RC \
20365
 
    hardcode_automatic_RC \
20366
 
    module_cmds_RC \
20367
 
    module_expsym_cmds_RC \
20368
 
    lt_cv_prog_compiler_c_o_RC \
20369
 
    fix_srcfile_path_RC \
20370
 
    exclude_expsyms_RC \
20371
 
    include_expsyms_RC; do
20372
 
 
20373
 
    case $var in
20374
 
    old_archive_cmds_RC | \
20375
 
    old_archive_from_new_cmds_RC | \
20376
 
    archive_cmds_RC | \
20377
 
    archive_expsym_cmds_RC | \
20378
 
    module_cmds_RC | \
20379
 
    module_expsym_cmds_RC | \
20380
 
    old_archive_from_expsyms_cmds_RC | \
20381
 
    export_symbols_cmds_RC | \
20382
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20383
 
    postinstall_cmds | postuninstall_cmds | \
20384
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20385
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20386
 
      # Double-quote double-evaled strings.
20387
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20388
 
      ;;
20389
 
    *)
20390
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20391
 
      ;;
20392
 
    esac
20393
 
  done
20394
 
 
20395
 
  case $lt_echo in
20396
 
  *'\$0 --fallback-echo"')
20397
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20398
 
    ;;
20399
 
  esac
20400
 
 
20401
 
cfgfile="$ofile"
20402
 
 
20403
 
  cat <<__EOF__ >> "$cfgfile"
20404
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20405
 
 
20406
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20407
 
 
20408
 
# Shell to use when invoking shell scripts.
20409
 
SHELL=$lt_SHELL
20410
 
 
20411
 
# Whether or not to build shared libraries.
20412
 
build_libtool_libs=$enable_shared
20413
 
 
20414
 
# Whether or not to build static libraries.
20415
 
build_old_libs=$enable_static
20416
 
 
20417
 
# Whether or not to add -lc for building shared libraries.
20418
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
20419
 
 
20420
 
# Whether or not to disallow shared libs when runtime libs are static
20421
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20422
 
 
20423
 
# Whether or not to optimize for fast installation.
20424
 
fast_install=$enable_fast_install
20425
 
 
20426
 
# The host system.
20427
 
host_alias=$host_alias
20428
 
host=$host
20429
 
host_os=$host_os
20430
 
 
20431
 
# The build system.
20432
 
build_alias=$build_alias
20433
 
build=$build
20434
 
build_os=$build_os
20435
 
 
20436
 
# An echo program that does not interpret backslashes.
20437
 
echo=$lt_echo
20438
 
 
20439
 
# The archiver.
20440
 
AR=$lt_AR
20441
 
AR_FLAGS=$lt_AR_FLAGS
20442
 
 
20443
 
# A C compiler.
20444
 
LTCC=$lt_LTCC
20445
 
 
20446
 
# LTCC compiler flags.
20447
 
LTCFLAGS=$lt_LTCFLAGS
20448
 
 
20449
 
# A language-specific compiler.
20450
 
CC=$lt_compiler_RC
20451
 
 
20452
 
# Is the compiler the GNU C compiler?
20453
 
with_gcc=$GCC_RC
20454
 
 
20455
 
# An ERE matcher.
20456
 
EGREP=$lt_EGREP
20457
 
 
20458
 
# The linker used to build libraries.
20459
 
LD=$lt_LD_RC
20460
 
 
20461
 
# Whether we need hard or soft links.
20462
 
LN_S=$lt_LN_S
20463
 
 
20464
 
# A BSD-compatible nm program.
20465
 
NM=$lt_NM
20466
 
 
20467
 
# A symbol stripping program
20468
 
STRIP=$lt_STRIP
20469
 
 
20470
 
# Used to examine libraries when file_magic_cmd begins "file"
20471
 
MAGIC_CMD=$MAGIC_CMD
20472
 
 
20473
 
# Used on cygwin: DLL creation program.
20474
 
DLLTOOL="$DLLTOOL"
20475
 
 
20476
 
# Used on cygwin: object dumper.
20477
 
OBJDUMP="$OBJDUMP"
20478
 
 
20479
 
# Used on cygwin: assembler.
20480
 
AS="$AS"
20481
 
 
20482
 
# The name of the directory that contains temporary libtool files.
20483
 
objdir=$objdir
20484
 
 
20485
 
# How to create reloadable object files.
20486
 
reload_flag=$lt_reload_flag
20487
 
reload_cmds=$lt_reload_cmds
20488
 
 
20489
 
# How to pass a linker flag through the compiler.
20490
 
wl=$lt_lt_prog_compiler_wl_RC
20491
 
 
20492
 
# Object file suffix (normally "o").
20493
 
objext="$ac_objext"
20494
 
 
20495
 
# Old archive suffix (normally "a").
20496
 
libext="$libext"
20497
 
 
20498
 
# Shared library suffix (normally ".so").
20499
 
shrext_cmds='$shrext_cmds'
20500
 
 
20501
 
# Executable file suffix (normally "").
20502
 
exeext="$exeext"
20503
 
 
20504
 
# Additional compiler flags for building library objects.
20505
 
pic_flag=$lt_lt_prog_compiler_pic_RC
20506
 
pic_mode=$pic_mode
20507
 
 
20508
 
# What is the maximum length of a command?
20509
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20510
 
 
20511
 
# Does compiler simultaneously support -c and -o options?
20512
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20513
 
 
20514
 
# Must we lock files when doing compilation?
20515
 
need_locks=$lt_need_locks
20516
 
 
20517
 
# Do we need the lib prefix for modules?
20518
 
need_lib_prefix=$need_lib_prefix
20519
 
 
20520
 
# Do we need a version for libraries?
20521
 
need_version=$need_version
20522
 
 
20523
 
# Whether dlopen is supported.
20524
 
dlopen_support=$enable_dlopen
20525
 
 
20526
 
# Whether dlopen of programs is supported.
20527
 
dlopen_self=$enable_dlopen_self
20528
 
 
20529
 
# Whether dlopen of statically linked programs is supported.
20530
 
dlopen_self_static=$enable_dlopen_self_static
20531
 
 
20532
 
# Compiler flag to prevent dynamic linking.
20533
 
link_static_flag=$lt_lt_prog_compiler_static_RC
20534
 
 
20535
 
# Compiler flag to turn off builtin functions.
20536
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20537
 
 
20538
 
# Compiler flag to allow reflexive dlopens.
20539
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20540
 
 
20541
 
# Compiler flag to generate shared objects directly from archives.
20542
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20543
 
 
20544
 
# Compiler flag to generate thread-safe objects.
20545
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20546
 
 
20547
 
# Library versioning type.
20548
 
version_type=$version_type
20549
 
 
20550
 
# Format of library name prefix.
20551
 
libname_spec=$lt_libname_spec
20552
 
 
20553
 
# List of archive names.  First name is the real one, the rest are links.
20554
 
# The last name is the one that the linker finds with -lNAME.
20555
 
library_names_spec=$lt_library_names_spec
20556
 
 
20557
 
# The coded name of the library, if different from the real name.
20558
 
soname_spec=$lt_soname_spec
20559
 
 
20560
 
# Commands used to build and install an old-style archive.
20561
 
RANLIB=$lt_RANLIB
20562
 
old_archive_cmds=$lt_old_archive_cmds_RC
20563
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20564
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20565
 
 
20566
 
# Create an old-style archive from a shared archive.
20567
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20568
 
 
20569
 
# Create a temporary old-style archive to link instead of a shared archive.
20570
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20571
 
 
20572
 
# Commands used to build and install a shared archive.
20573
 
archive_cmds=$lt_archive_cmds_RC
20574
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20575
 
postinstall_cmds=$lt_postinstall_cmds
20576
 
postuninstall_cmds=$lt_postuninstall_cmds
20577
 
 
20578
 
# Commands used to build a loadable module (assumed same as above if empty)
20579
 
module_cmds=$lt_module_cmds_RC
20580
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
20581
 
 
20582
 
# Commands to strip libraries.
20583
 
old_striplib=$lt_old_striplib
20584
 
striplib=$lt_striplib
20585
 
 
20586
 
# Dependencies to place before the objects being linked to create a
20587
 
# shared library.
20588
 
predep_objects=$lt_predep_objects_RC
20589
 
 
20590
 
# Dependencies to place after the objects being linked to create a
20591
 
# shared library.
20592
 
postdep_objects=$lt_postdep_objects_RC
20593
 
 
20594
 
# Dependencies to place before the objects being linked to create a
20595
 
# shared library.
20596
 
predeps=$lt_predeps_RC
20597
 
 
20598
 
# Dependencies to place after the objects being linked to create a
20599
 
# shared library.
20600
 
postdeps=$lt_postdeps_RC
20601
 
 
20602
 
# The library search path used internally by the compiler when linking
20603
 
# a shared library.
20604
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20605
 
 
20606
 
# Method to check whether dependent libraries are shared objects.
20607
 
deplibs_check_method=$lt_deplibs_check_method
20608
 
 
20609
 
# Command to use when deplibs_check_method == file_magic.
20610
 
file_magic_cmd=$lt_file_magic_cmd
20611
 
 
20612
 
# Flag that allows shared libraries with undefined symbols to be built.
20613
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
20614
 
 
20615
 
# Flag that forces no undefined symbols.
20616
 
no_undefined_flag=$lt_no_undefined_flag_RC
20617
 
 
20618
 
# Commands used to finish a libtool library installation in a directory.
20619
 
finish_cmds=$lt_finish_cmds
20620
 
 
20621
 
# Same as above, but a single script fragment to be evaled but not shown.
20622
 
finish_eval=$lt_finish_eval
20623
 
 
20624
 
# Take the output of nm and produce a listing of raw symbols and C names.
20625
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20626
 
 
20627
 
# Transform the output of nm in a proper C declaration
20628
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20629
 
 
20630
 
# Transform the output of nm in a C name address pair
20631
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20632
 
 
20633
 
# This is the shared library runtime path variable.
20634
 
runpath_var=$runpath_var
20635
 
 
20636
 
# This is the shared library path variable.
20637
 
shlibpath_var=$shlibpath_var
20638
 
 
20639
 
# Is shlibpath searched before the hard-coded library search path?
20640
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20641
 
 
20642
 
# How to hardcode a shared library path into an executable.
20643
 
hardcode_action=$hardcode_action_RC
20644
 
 
20645
 
# Whether we should hardcode library paths into libraries.
20646
 
hardcode_into_libs=$hardcode_into_libs
20647
 
 
20648
 
# Flag to hardcode \$libdir into a binary during linking.
20649
 
# This must work even if \$libdir does not exist.
20650
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20651
 
 
20652
 
# If ld is used when linking, flag to hardcode \$libdir into
20653
 
# a binary during linking. This must work even if \$libdir does
20654
 
# not exist.
20655
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20656
 
 
20657
 
# Whether we need a single -rpath flag with a separated argument.
20658
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20659
 
 
20660
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20661
 
# resulting binary.
20662
 
hardcode_direct=$hardcode_direct_RC
20663
 
 
20664
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20665
 
# resulting binary.
20666
 
hardcode_minus_L=$hardcode_minus_L_RC
20667
 
 
20668
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20669
 
# the resulting binary.
20670
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20671
 
 
20672
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20673
 
# and all subsequent libraries and executables linked against it.
20674
 
hardcode_automatic=$hardcode_automatic_RC
20675
 
 
20676
 
# Variables whose values should be saved in libtool wrapper scripts and
20677
 
# restored at relink time.
20678
 
variables_saved_for_relink="$variables_saved_for_relink"
20679
 
 
20680
 
# Whether libtool must link a program against all its dependency libraries.
20681
 
link_all_deplibs=$link_all_deplibs_RC
20682
 
 
20683
 
# Compile-time system search path for libraries
20684
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20685
 
 
20686
 
# Run-time system search path for libraries
20687
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20688
 
 
20689
 
# Fix the shell variable \$srcfile for the compiler.
20690
 
fix_srcfile_path=$lt_fix_srcfile_path
20691
 
 
20692
 
# Set to yes if exported symbols are required.
20693
 
always_export_symbols=$always_export_symbols_RC
20694
 
 
20695
 
# The commands to list exported symbols.
20696
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
20697
 
 
20698
 
# The commands to extract the exported symbol list from a shared archive.
20699
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20700
 
 
20701
 
# Symbols that should not be listed in the preloaded symbols.
20702
 
exclude_expsyms=$lt_exclude_expsyms_RC
20703
 
 
20704
 
# Symbols that must always be exported.
20705
 
include_expsyms=$lt_include_expsyms_RC
20706
 
 
20707
 
# ### END LIBTOOL TAG CONFIG: $tagname
20708
 
 
20709
 
__EOF__
20710
 
 
20711
 
 
20712
 
else
20713
 
  # If there is no Makefile yet, we rely on a make rule to execute
20714
 
  # `config.status --recheck' to rerun these tests and create the
20715
 
  # libtool script then.
20716
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20717
 
  if test -f "$ltmain_in"; then
20718
 
    test -f Makefile && make "$ltmain"
20719
 
  fi
20720
 
fi
20721
 
 
20722
 
 
20723
 
ac_ext=c
20724
 
ac_cpp='$CPP $CPPFLAGS'
20725
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20726
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20727
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20728
 
 
20729
 
CC="$lt_save_CC"
20730
 
 
20731
 
        ;;
20732
 
 
20733
 
      *)
20734
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20735
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20736
 
   { (exit 1); exit 1; }; }
20737
 
        ;;
20738
 
      esac
20739
 
 
20740
 
      # Append the new tag name to the list of available tags.
20741
 
      if test -n "$tagname" ; then
20742
 
      available_tags="$available_tags $tagname"
20743
 
    fi
20744
 
    fi
20745
 
  done
20746
 
  IFS="$lt_save_ifs"
20747
 
 
20748
 
  # Now substitute the updated list of available tags.
20749
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20750
 
    mv "${ofile}T" "$ofile"
20751
 
    chmod +x "$ofile"
20752
 
  else
20753
 
    rm -f "${ofile}T"
20754
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20755
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20756
 
   { (exit 1); exit 1; }; }
20757
 
  fi
20758
 
fi
20759
 
 
20760
 
 
20761
 
 
20762
 
# This can be used to rebuild libtool when needed
20763
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20764
 
 
20765
 
# Always use our own libtool.
20766
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20767
 
 
20768
 
# Prevent multiple expansion
20769
 
 
20770
 
 
20771
 
 
20772
 
 
20773
 
 
20774
 
 
20775
 
 
20776
 
 
20777
 
 
20778
 
 
20779
 
 
20780
 
  
20781
 
 
20782
 
  
20783
 
 
20784
 
 
20785
 
  
20786
 
       
20787
 
       
20788
 
 
20789
 
 
20790
 
 
20791
 
 
20792
 
 
20793
 
 
20794
 
 
20795
 
ac_header_dirent=no
20796
 
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
20797
 
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20798
 
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
20799
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
20800
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20801
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20802
 
else
20803
 
  cat >conftest.$ac_ext <<_ACEOF
20804
 
/* confdefs.h.  */
20805
 
_ACEOF
20806
 
cat confdefs.h >>conftest.$ac_ext
20807
 
cat >>conftest.$ac_ext <<_ACEOF
20808
 
/* end confdefs.h.  */
20809
 
#include <sys/types.h>
20810
 
#include <$ac_hdr>
20811
 
 
20812
 
int
20813
 
main ()
20814
 
{
20815
 
if ((DIR *) 0)
20816
 
return 0;
20817
 
  ;
20818
 
  return 0;
20819
 
}
20820
 
_ACEOF
20821
 
rm -f conftest.$ac_objext
20822
 
if { (ac_try="$ac_compile"
20823
 
case "(($ac_try" in
20824
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20825
 
  *) ac_try_echo=$ac_try;;
20826
 
esac
20827
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20828
 
  (eval "$ac_compile") 2>conftest.er1
20829
 
  ac_status=$?
20830
 
  grep -v '^ *+' conftest.er1 >conftest.err
20831
 
  rm -f conftest.er1
20832
 
  cat conftest.err >&5
20833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834
 
  (exit $ac_status); } && {
20835
 
         test -z "$ac_c_werror_flag" ||
20836
 
         test ! -s conftest.err
20837
 
       } && test -s conftest.$ac_objext; then
20838
 
  eval "$as_ac_Header=yes"
20839
 
else
20840
 
  echo "$as_me: failed program was:" >&5
20841
 
sed 's/^/| /' conftest.$ac_ext >&5
20842
 
 
20843
 
        eval "$as_ac_Header=no"
20844
 
fi
20845
 
 
20846
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20847
 
fi
20848
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20849
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20850
 
echo "${ECHO_T}$ac_res" >&6; }
20851
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20852
 
  cat >>confdefs.h <<_ACEOF
20853
 
@%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20854
 
_ACEOF
20855
 
 
20856
 
ac_header_dirent=$ac_hdr; break
20857
 
fi
20858
 
 
20859
 
done
20860
 
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20861
 
if test $ac_header_dirent = dirent.h; then
20862
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
20863
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
20864
 
if test "${ac_cv_search_opendir+set}" = set; then
20865
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20866
 
else
20867
 
  ac_func_search_save_LIBS=$LIBS
20868
 
cat >conftest.$ac_ext <<_ACEOF
20869
 
/* confdefs.h.  */
20870
 
_ACEOF
20871
 
cat confdefs.h >>conftest.$ac_ext
20872
 
cat >>conftest.$ac_ext <<_ACEOF
20873
 
/* end confdefs.h.  */
20874
 
 
20875
 
/* Override any GCC internal prototype to avoid an error.
20876
 
   Use char because int might match the return type of a GCC
20877
 
   builtin and then its argument prototype would still apply.  */
20878
 
#ifdef __cplusplus
20879
 
extern "C"
20880
 
#endif
20881
 
char opendir ();
20882
 
int
20883
 
main ()
20884
 
{
20885
 
return opendir ();
20886
 
  ;
20887
 
  return 0;
20888
 
}
20889
 
_ACEOF
20890
 
for ac_lib in '' dir; do
20891
 
  if test -z "$ac_lib"; then
20892
 
    ac_res="none required"
20893
 
  else
20894
 
    ac_res=-l$ac_lib
20895
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20896
 
  fi
20897
 
  rm -f conftest.$ac_objext conftest$ac_exeext
20898
 
if { (ac_try="$ac_link"
20899
 
case "(($ac_try" in
20900
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20901
 
  *) ac_try_echo=$ac_try;;
20902
 
esac
20903
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20904
 
  (eval "$ac_link") 2>conftest.er1
20905
 
  ac_status=$?
20906
 
  grep -v '^ *+' conftest.er1 >conftest.err
20907
 
  rm -f conftest.er1
20908
 
  cat conftest.err >&5
20909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910
 
  (exit $ac_status); } && {
20911
 
         test -z "$ac_c_werror_flag" ||
20912
 
         test ! -s conftest.err
20913
 
       } && test -s conftest$ac_exeext &&
20914
 
       $as_test_x conftest$ac_exeext; then
20915
 
  ac_cv_search_opendir=$ac_res
20916
 
else
20917
 
  echo "$as_me: failed program was:" >&5
20918
 
sed 's/^/| /' conftest.$ac_ext >&5
20919
 
 
20920
 
        
20921
 
fi
20922
 
 
20923
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20924
 
      conftest$ac_exeext 
20925
 
  if test "${ac_cv_search_opendir+set}" = set; then
20926
 
  break
20927
 
fi
20928
 
done
20929
 
if test "${ac_cv_search_opendir+set}" = set; then
20930
 
  :
20931
 
else
20932
 
  ac_cv_search_opendir=no
20933
 
fi
20934
 
rm conftest.$ac_ext
20935
 
LIBS=$ac_func_search_save_LIBS
20936
 
fi
20937
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20938
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
20939
 
ac_res=$ac_cv_search_opendir
20940
 
if test "$ac_res" != no; then
20941
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20942
 
  
20943
 
fi
20944
 
 
20945
 
else
20946
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
20947
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
20948
 
if test "${ac_cv_search_opendir+set}" = set; then
20949
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20950
 
else
20951
 
  ac_func_search_save_LIBS=$LIBS
20952
 
cat >conftest.$ac_ext <<_ACEOF
20953
 
/* confdefs.h.  */
20954
 
_ACEOF
20955
 
cat confdefs.h >>conftest.$ac_ext
20956
 
cat >>conftest.$ac_ext <<_ACEOF
20957
 
/* end confdefs.h.  */
20958
 
 
20959
 
/* Override any GCC internal prototype to avoid an error.
20960
 
   Use char because int might match the return type of a GCC
20961
 
   builtin and then its argument prototype would still apply.  */
20962
 
#ifdef __cplusplus
20963
 
extern "C"
20964
 
#endif
20965
 
char opendir ();
20966
 
int
20967
 
main ()
20968
 
{
20969
 
return opendir ();
20970
 
  ;
20971
 
  return 0;
20972
 
}
20973
 
_ACEOF
20974
 
for ac_lib in '' x; do
20975
 
  if test -z "$ac_lib"; then
20976
 
    ac_res="none required"
20977
 
  else
20978
 
    ac_res=-l$ac_lib
20979
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20980
 
  fi
20981
 
  rm -f conftest.$ac_objext conftest$ac_exeext
20982
 
if { (ac_try="$ac_link"
20983
 
case "(($ac_try" in
20984
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985
 
  *) ac_try_echo=$ac_try;;
20986
 
esac
20987
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988
 
  (eval "$ac_link") 2>conftest.er1
20989
 
  ac_status=$?
20990
 
  grep -v '^ *+' conftest.er1 >conftest.err
20991
 
  rm -f conftest.er1
20992
 
  cat conftest.err >&5
20993
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994
 
  (exit $ac_status); } && {
20995
 
         test -z "$ac_c_werror_flag" ||
20996
 
         test ! -s conftest.err
20997
 
       } && test -s conftest$ac_exeext &&
20998
 
       $as_test_x conftest$ac_exeext; then
20999
 
  ac_cv_search_opendir=$ac_res
21000
 
else
21001
 
  echo "$as_me: failed program was:" >&5
21002
 
sed 's/^/| /' conftest.$ac_ext >&5
21003
 
 
21004
 
        
21005
 
fi
21006
 
 
21007
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21008
 
      conftest$ac_exeext 
21009
 
  if test "${ac_cv_search_opendir+set}" = set; then
21010
 
  break
21011
 
fi
21012
 
done
21013
 
if test "${ac_cv_search_opendir+set}" = set; then
21014
 
  :
21015
 
else
21016
 
  ac_cv_search_opendir=no
21017
 
fi
21018
 
rm conftest.$ac_ext
21019
 
LIBS=$ac_func_search_save_LIBS
21020
 
fi
21021
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21022
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21023
 
ac_res=$ac_cv_search_opendir
21024
 
if test "$ac_res" != no; then
21025
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21026
 
  
21027
 
fi
21028
 
 
21029
 
fi
21030
 
 
21031
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21032
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21033
 
if test "${ac_cv_header_stdc+set}" = set; then
21034
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21035
 
else
21036
 
  cat >conftest.$ac_ext <<_ACEOF
21037
 
/* confdefs.h.  */
21038
 
_ACEOF
21039
 
cat confdefs.h >>conftest.$ac_ext
21040
 
cat >>conftest.$ac_ext <<_ACEOF
21041
 
/* end confdefs.h.  */
21042
 
#include <stdlib.h>
21043
 
#include <stdarg.h>
21044
 
#include <string.h>
21045
 
#include <float.h>
21046
 
 
21047
 
int
21048
 
main ()
21049
 
{
21050
 
 
21051
 
  ;
21052
 
  return 0;
21053
 
}
21054
 
_ACEOF
21055
 
rm -f conftest.$ac_objext
21056
 
if { (ac_try="$ac_compile"
21057
 
case "(($ac_try" in
21058
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21059
 
  *) ac_try_echo=$ac_try;;
21060
 
esac
21061
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062
 
  (eval "$ac_compile") 2>conftest.er1
21063
 
  ac_status=$?
21064
 
  grep -v '^ *+' conftest.er1 >conftest.err
21065
 
  rm -f conftest.er1
21066
 
  cat conftest.err >&5
21067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068
 
  (exit $ac_status); } && {
21069
 
         test -z "$ac_c_werror_flag" ||
21070
 
         test ! -s conftest.err
21071
 
       } && test -s conftest.$ac_objext; then
21072
 
  ac_cv_header_stdc=yes
21073
 
else
21074
 
  echo "$as_me: failed program was:" >&5
21075
 
sed 's/^/| /' conftest.$ac_ext >&5
21076
 
 
21077
 
        ac_cv_header_stdc=no
21078
 
fi
21079
 
 
21080
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21081
 
 
21082
 
if test $ac_cv_header_stdc = yes; then
21083
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21084
 
  cat >conftest.$ac_ext <<_ACEOF
21085
 
/* confdefs.h.  */
21086
 
_ACEOF
21087
 
cat confdefs.h >>conftest.$ac_ext
21088
 
cat >>conftest.$ac_ext <<_ACEOF
21089
 
/* end confdefs.h.  */
21090
 
#include <string.h>
21091
 
 
21092
 
_ACEOF
21093
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21094
 
  $EGREP "memchr" >/dev/null 2>&1; then
21095
 
  :
21096
 
else
21097
 
  ac_cv_header_stdc=no
21098
 
fi
21099
 
rm -f conftest*
21100
 
 
21101
 
fi
21102
 
 
21103
 
if test $ac_cv_header_stdc = yes; then
21104
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21105
 
  cat >conftest.$ac_ext <<_ACEOF
21106
 
/* confdefs.h.  */
21107
 
_ACEOF
21108
 
cat confdefs.h >>conftest.$ac_ext
21109
 
cat >>conftest.$ac_ext <<_ACEOF
21110
 
/* end confdefs.h.  */
21111
 
#include <stdlib.h>
21112
 
 
21113
 
_ACEOF
21114
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21115
 
  $EGREP "free" >/dev/null 2>&1; then
21116
 
  :
21117
 
else
21118
 
  ac_cv_header_stdc=no
21119
 
fi
21120
 
rm -f conftest*
21121
 
 
21122
 
fi
21123
 
 
21124
 
if test $ac_cv_header_stdc = yes; then
21125
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21126
 
  if test "$cross_compiling" = yes; then
21127
 
  :
21128
 
else
21129
 
  cat >conftest.$ac_ext <<_ACEOF
21130
 
/* confdefs.h.  */
21131
 
_ACEOF
21132
 
cat confdefs.h >>conftest.$ac_ext
21133
 
cat >>conftest.$ac_ext <<_ACEOF
21134
 
/* end confdefs.h.  */
21135
 
#include <ctype.h>
21136
 
#include <stdlib.h>
21137
 
#if ((' ' & 0x0FF) == 0x020)
21138
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21139
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21140
 
#else
21141
 
# define ISLOWER(c) \
21142
 
                   (('a' <= (c) && (c) <= 'i') \
21143
 
                     || ('j' <= (c) && (c) <= 'r') \
21144
 
                     || ('s' <= (c) && (c) <= 'z'))
21145
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21146
 
#endif
21147
 
 
21148
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21149
 
int
21150
 
main ()
21151
 
{
21152
 
  int i;
21153
 
  for (i = 0; i < 256; i++)
21154
 
    if (XOR (islower (i), ISLOWER (i))
21155
 
        || toupper (i) != TOUPPER (i))
21156
 
      return 2;
21157
 
  return 0;
21158
 
}
21159
 
_ACEOF
21160
 
rm -f conftest$ac_exeext
21161
 
if { (ac_try="$ac_link"
21162
 
case "(($ac_try" in
21163
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21164
 
  *) ac_try_echo=$ac_try;;
21165
 
esac
21166
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21167
 
  (eval "$ac_link") 2>&5
21168
 
  ac_status=$?
21169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21171
 
  { (case "(($ac_try" in
21172
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173
 
  *) ac_try_echo=$ac_try;;
21174
 
esac
21175
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176
 
  (eval "$ac_try") 2>&5
21177
 
  ac_status=$?
21178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179
 
  (exit $ac_status); }; }; then
21180
 
  :
21181
 
else
21182
 
  echo "$as_me: program exited with status $ac_status" >&5
21183
 
echo "$as_me: failed program was:" >&5
21184
 
sed 's/^/| /' conftest.$ac_ext >&5
21185
 
 
21186
 
( exit $ac_status )
21187
 
ac_cv_header_stdc=no
21188
 
fi
21189
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21190
 
fi
21191
 
 
21192
 
 
21193
 
fi
21194
 
fi
21195
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21196
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21197
 
if test $ac_cv_header_stdc = yes; then
21198
 
  
21199
 
cat >>confdefs.h <<\_ACEOF
21200
 
@%:@define STDC_HEADERS 1
21201
 
_ACEOF
21202
 
 
21203
 
fi
21204
 
 
21205
 
 
21206
 
 
21207
 
 
21208
 
 
21209
 
 
21210
 
 
21211
 
 
21212
 
for ac_header in fcntl.h limits.h stdlib.h string.h sys/param.h unistd.h malloc.h
21213
 
do
21214
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21215
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21216
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21217
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21218
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21220
 
fi
21221
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21222
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21223
 
echo "${ECHO_T}$ac_res" >&6; }
21224
 
else
21225
 
  # Is the header compilable?
21226
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21227
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21228
 
cat >conftest.$ac_ext <<_ACEOF
21229
 
/* confdefs.h.  */
21230
 
_ACEOF
21231
 
cat confdefs.h >>conftest.$ac_ext
21232
 
cat >>conftest.$ac_ext <<_ACEOF
21233
 
/* end confdefs.h.  */
21234
 
$ac_includes_default
21235
 
@%:@include <$ac_header>
21236
 
_ACEOF
21237
 
rm -f conftest.$ac_objext
21238
 
if { (ac_try="$ac_compile"
21239
 
case "(($ac_try" in
21240
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241
 
  *) ac_try_echo=$ac_try;;
21242
 
esac
21243
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244
 
  (eval "$ac_compile") 2>conftest.er1
21245
 
  ac_status=$?
21246
 
  grep -v '^ *+' conftest.er1 >conftest.err
21247
 
  rm -f conftest.er1
21248
 
  cat conftest.err >&5
21249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250
 
  (exit $ac_status); } && {
21251
 
         test -z "$ac_c_werror_flag" ||
21252
 
         test ! -s conftest.err
21253
 
       } && test -s conftest.$ac_objext; then
21254
 
  ac_header_compiler=yes
21255
 
else
21256
 
  echo "$as_me: failed program was:" >&5
21257
 
sed 's/^/| /' conftest.$ac_ext >&5
21258
 
 
21259
 
        ac_header_compiler=no
21260
 
fi
21261
 
 
21262
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21263
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21264
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21265
 
 
21266
 
# Is the header present?
21267
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21268
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21269
 
cat >conftest.$ac_ext <<_ACEOF
21270
 
/* confdefs.h.  */
21271
 
_ACEOF
21272
 
cat confdefs.h >>conftest.$ac_ext
21273
 
cat >>conftest.$ac_ext <<_ACEOF
21274
 
/* end confdefs.h.  */
21275
 
@%:@include <$ac_header>
21276
 
_ACEOF
21277
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21278
 
case "(($ac_try" in
21279
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21280
 
  *) ac_try_echo=$ac_try;;
21281
 
esac
21282
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21284
 
  ac_status=$?
21285
 
  grep -v '^ *+' conftest.er1 >conftest.err
21286
 
  rm -f conftest.er1
21287
 
  cat conftest.err >&5
21288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289
 
  (exit $ac_status); } >/dev/null && {
21290
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21291
 
         test ! -s conftest.err
21292
 
       }; then
21293
 
  ac_header_preproc=yes
21294
 
else
21295
 
  echo "$as_me: failed program was:" >&5
21296
 
sed 's/^/| /' conftest.$ac_ext >&5
21297
 
 
21298
 
  ac_header_preproc=no
21299
 
fi
21300
 
 
21301
 
rm -f conftest.err conftest.$ac_ext
21302
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21303
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21304
 
 
21305
 
# So?  What about this header?
21306
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21307
 
  yes:no: )
21308
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21309
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21310
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21311
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21312
 
    ac_header_preproc=yes
21313
 
    ;;
21314
 
  no:yes:* )
21315
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21316
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21317
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21318
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21319
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21320
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21321
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21322
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21323
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21324
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21325
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21326
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21327
 
    
21328
 
    ;;
21329
 
esac
21330
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21331
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21332
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21334
 
else
21335
 
  eval "$as_ac_Header=\$ac_header_preproc"
21336
 
fi
21337
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21338
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21339
 
echo "${ECHO_T}$ac_res" >&6; }
21340
 
 
21341
 
fi
21342
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21343
 
  cat >>confdefs.h <<_ACEOF
21344
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21345
 
_ACEOF
21346
 
 
21347
 
fi
21348
 
 
21349
 
done
21350
 
 
21351
 
 
21352
 
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
21353
 
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
21354
 
if test "${ac_cv_header_stdbool_h+set}" = set; then
21355
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21356
 
else
21357
 
  cat >conftest.$ac_ext <<_ACEOF
21358
 
/* confdefs.h.  */
21359
 
_ACEOF
21360
 
cat confdefs.h >>conftest.$ac_ext
21361
 
cat >>conftest.$ac_ext <<_ACEOF
21362
 
/* end confdefs.h.  */
21363
 
 
21364
 
#include <stdbool.h>
21365
 
#ifndef bool
21366
 
 "error: bool is not defined"
21367
 
#endif
21368
 
#ifndef false
21369
 
 "error: false is not defined"
21370
 
#endif
21371
 
#if false
21372
 
 "error: false is not 0"
21373
 
#endif
21374
 
#ifndef true
21375
 
 "error: true is not defined"
21376
 
#endif
21377
 
#if true != 1
21378
 
 "error: true is not 1"
21379
 
#endif
21380
 
#ifndef __bool_true_false_are_defined
21381
 
 "error: __bool_true_false_are_defined is not defined"
21382
 
#endif
21383
 
 
21384
 
        struct s { _Bool s: 1; _Bool t; } s;
21385
 
 
21386
 
        char a[true == 1 ? 1 : -1];
21387
 
        char b[false == 0 ? 1 : -1];
21388
 
        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
21389
 
        char d[(bool) 0.5 == true ? 1 : -1];
21390
 
        bool e = &s;
21391
 
        char f[(_Bool) 0.0 == false ? 1 : -1];
21392
 
        char g[true];
21393
 
        char h[sizeof (_Bool)];
21394
 
        char i[sizeof s.t];
21395
 
        enum { j = false, k = true, l = false * true, m = true * 256 };
21396
 
        _Bool n[m];
21397
 
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
21398
 
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
21399
 
#       if defined __xlc__ || defined __GNUC__
21400
 
         /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
21401
 
            reported by James Lemley on 2005-10-05; see
21402
 
            http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
21403
 
            This test is not quite right, since xlc is allowed to
21404
 
            reject this program, as the initializer for xlcbug is
21405
 
            not one of the forms that C requires support for.
21406
 
            However, doing the test right would require a runtime
21407
 
            test, and that would make cross-compilation harder.
21408
 
            Let us hope that IBM fixes the xlc bug, and also adds
21409
 
            support for this kind of constant expression.  In the
21410
 
            meantime, this test will reject xlc, which is OK, since
21411
 
            our stdbool.h substitute should suffice.  We also test
21412
 
            this with GCC, where it should work, to detect more
21413
 
            quickly whether someone messes up the test in the
21414
 
            future.  */
21415
 
         char digs[] = "0123456789";
21416
 
         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
21417
 
#       endif
21418
 
        /* Catch a bug in an HP-UX C compiler.  See
21419
 
           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
21420
 
           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
21421
 
         */
21422
 
        _Bool q = true;
21423
 
        _Bool *pq = &q;
21424
 
      
21425
 
int
21426
 
main ()
21427
 
{
21428
 
 
21429
 
        *pq |= q;
21430
 
        *pq |= ! q;
21431
 
        /* Refer to every declared value, to avoid compiler optimizations.  */
21432
 
        return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
21433
 
                + !m + !n + !o + !p + !q + !pq);
21434
 
      
21435
 
  ;
21436
 
  return 0;
21437
 
}
21438
 
_ACEOF
21439
 
rm -f conftest.$ac_objext
21440
 
if { (ac_try="$ac_compile"
21441
 
case "(($ac_try" in
21442
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21443
 
  *) ac_try_echo=$ac_try;;
21444
 
esac
21445
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21446
 
  (eval "$ac_compile") 2>conftest.er1
21447
 
  ac_status=$?
21448
 
  grep -v '^ *+' conftest.er1 >conftest.err
21449
 
  rm -f conftest.er1
21450
 
  cat conftest.err >&5
21451
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452
 
  (exit $ac_status); } && {
21453
 
         test -z "$ac_c_werror_flag" ||
21454
 
         test ! -s conftest.err
21455
 
       } && test -s conftest.$ac_objext; then
21456
 
  ac_cv_header_stdbool_h=yes
21457
 
else
21458
 
  echo "$as_me: failed program was:" >&5
21459
 
sed 's/^/| /' conftest.$ac_ext >&5
21460
 
 
21461
 
        ac_cv_header_stdbool_h=no
21462
 
fi
21463
 
 
21464
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21465
 
fi
21466
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
21467
 
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
21468
 
{ echo "$as_me:$LINENO: checking for _Bool" >&5
21469
 
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
21470
 
if test "${ac_cv_type__Bool+set}" = set; then
21471
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21472
 
else
21473
 
  cat >conftest.$ac_ext <<_ACEOF
21474
 
/* confdefs.h.  */
21475
 
_ACEOF
21476
 
cat confdefs.h >>conftest.$ac_ext
21477
 
cat >>conftest.$ac_ext <<_ACEOF
21478
 
/* end confdefs.h.  */
21479
 
$ac_includes_default
21480
 
typedef _Bool ac__type_new_;
21481
 
int
21482
 
main ()
21483
 
{
21484
 
if ((ac__type_new_ *) 0)
21485
 
  return 0;
21486
 
if (sizeof (ac__type_new_))
21487
 
  return 0;
21488
 
  ;
21489
 
  return 0;
21490
 
}
21491
 
_ACEOF
21492
 
rm -f conftest.$ac_objext
21493
 
if { (ac_try="$ac_compile"
21494
 
case "(($ac_try" in
21495
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21496
 
  *) ac_try_echo=$ac_try;;
21497
 
esac
21498
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21499
 
  (eval "$ac_compile") 2>conftest.er1
21500
 
  ac_status=$?
21501
 
  grep -v '^ *+' conftest.er1 >conftest.err
21502
 
  rm -f conftest.er1
21503
 
  cat conftest.err >&5
21504
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505
 
  (exit $ac_status); } && {
21506
 
         test -z "$ac_c_werror_flag" ||
21507
 
         test ! -s conftest.err
21508
 
       } && test -s conftest.$ac_objext; then
21509
 
  ac_cv_type__Bool=yes
21510
 
else
21511
 
  echo "$as_me: failed program was:" >&5
21512
 
sed 's/^/| /' conftest.$ac_ext >&5
21513
 
 
21514
 
        ac_cv_type__Bool=no
21515
 
fi
21516
 
 
21517
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21518
 
fi
21519
 
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
21520
 
echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
21521
 
if test $ac_cv_type__Bool = yes; then
21522
 
  
21523
 
cat >>confdefs.h <<_ACEOF
21524
 
@%:@define HAVE__BOOL 1
21525
 
_ACEOF
21526
 
 
21527
 
 
21528
 
fi
21529
 
 
21530
 
if test $ac_cv_header_stdbool_h = yes; then
21531
 
  
21532
 
cat >>confdefs.h <<\_ACEOF
21533
 
@%:@define HAVE_STDBOOL_H 1
21534
 
_ACEOF
21535
 
 
21536
 
fi
21537
 
 
21538
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21539
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21540
 
if test "${ac_cv_c_const+set}" = set; then
21541
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21542
 
else
21543
 
  cat >conftest.$ac_ext <<_ACEOF
21544
 
/* confdefs.h.  */
21545
 
_ACEOF
21546
 
cat confdefs.h >>conftest.$ac_ext
21547
 
cat >>conftest.$ac_ext <<_ACEOF
21548
 
/* end confdefs.h.  */
21549
 
 
21550
 
int
21551
 
main ()
21552
 
{
21553
 
/* FIXME: Include the comments suggested by Paul. */
21554
 
#ifndef __cplusplus
21555
 
  /* Ultrix mips cc rejects this.  */
21556
 
  typedef int charset[2];
21557
 
  const charset cs;
21558
 
  /* SunOS 4.1.1 cc rejects this.  */
21559
 
  char const *const *pcpcc;
21560
 
  char **ppc;
21561
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
21562
 
  struct point {int x, y;};
21563
 
  static struct point const zero = {0,0};
21564
 
  /* AIX XL C 1.02.0.0 rejects this.
21565
 
     It does not let you subtract one const X* pointer from another in
21566
 
     an arm of an if-expression whose if-part is not a constant
21567
 
     expression */
21568
 
  const char *g = "string";
21569
 
  pcpcc = &g + (g ? g-g : 0);
21570
 
  /* HPUX 7.0 cc rejects these. */
21571
 
  ++pcpcc;
21572
 
  ppc = (char**) pcpcc;
21573
 
  pcpcc = (char const *const *) ppc;
21574
 
  { /* SCO 3.2v4 cc rejects this.  */
21575
 
    char *t;
21576
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
21577
 
 
21578
 
    *t++ = 0;
21579
 
    if (s) return 0;
21580
 
  }
21581
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
21582
 
    int x[] = {25, 17};
21583
 
    const int *foo = &x[0];
21584
 
    ++foo;
21585
 
  }
21586
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21587
 
    typedef const int *iptr;
21588
 
    iptr p = 0;
21589
 
    ++p;
21590
 
  }
21591
 
  { /* AIX XL C 1.02.0.0 rejects this saying
21592
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21593
 
    struct s { int j; const int *ap[3]; };
21594
 
    struct s *b; b->j = 5;
21595
 
  }
21596
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21597
 
    const int foo = 10;
21598
 
    if (!foo) return 0;
21599
 
  }
21600
 
  return !cs[0] && !zero.x;
21601
 
#endif
21602
 
 
21603
 
  ;
21604
 
  return 0;
21605
 
}
21606
 
_ACEOF
21607
 
rm -f conftest.$ac_objext
21608
 
if { (ac_try="$ac_compile"
21609
 
case "(($ac_try" in
21610
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21611
 
  *) ac_try_echo=$ac_try;;
21612
 
esac
21613
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21614
 
  (eval "$ac_compile") 2>conftest.er1
21615
 
  ac_status=$?
21616
 
  grep -v '^ *+' conftest.er1 >conftest.err
21617
 
  rm -f conftest.er1
21618
 
  cat conftest.err >&5
21619
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620
 
  (exit $ac_status); } && {
21621
 
         test -z "$ac_c_werror_flag" ||
21622
 
         test ! -s conftest.err
21623
 
       } && test -s conftest.$ac_objext; then
21624
 
  ac_cv_c_const=yes
21625
 
else
21626
 
  echo "$as_me: failed program was:" >&5
21627
 
sed 's/^/| /' conftest.$ac_ext >&5
21628
 
 
21629
 
        ac_cv_c_const=no
21630
 
fi
21631
 
 
21632
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21633
 
fi
21634
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21635
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
21636
 
if test $ac_cv_c_const = no; then
21637
 
  
21638
 
cat >>confdefs.h <<\_ACEOF
21639
 
@%:@define const 
21640
 
_ACEOF
21641
 
 
21642
 
fi
21643
 
 
21644
 
{ echo "$as_me:$LINENO: checking for inline" >&5
21645
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21646
 
if test "${ac_cv_c_inline+set}" = set; then
21647
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21648
 
else
21649
 
  ac_cv_c_inline=no
21650
 
for ac_kw in inline __inline__ __inline; do
21651
 
  cat >conftest.$ac_ext <<_ACEOF
21652
 
/* confdefs.h.  */
21653
 
_ACEOF
21654
 
cat confdefs.h >>conftest.$ac_ext
21655
 
cat >>conftest.$ac_ext <<_ACEOF
21656
 
/* end confdefs.h.  */
21657
 
#ifndef __cplusplus
21658
 
typedef int foo_t;
21659
 
static $ac_kw foo_t static_foo () {return 0; }
21660
 
$ac_kw foo_t foo () {return 0; }
21661
 
#endif
21662
 
 
21663
 
_ACEOF
21664
 
rm -f conftest.$ac_objext
21665
 
if { (ac_try="$ac_compile"
21666
 
case "(($ac_try" in
21667
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21668
 
  *) ac_try_echo=$ac_try;;
21669
 
esac
21670
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21671
 
  (eval "$ac_compile") 2>conftest.er1
21672
 
  ac_status=$?
21673
 
  grep -v '^ *+' conftest.er1 >conftest.err
21674
 
  rm -f conftest.er1
21675
 
  cat conftest.err >&5
21676
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677
 
  (exit $ac_status); } && {
21678
 
         test -z "$ac_c_werror_flag" ||
21679
 
         test ! -s conftest.err
21680
 
       } && test -s conftest.$ac_objext; then
21681
 
  ac_cv_c_inline=$ac_kw
21682
 
else
21683
 
  echo "$as_me: failed program was:" >&5
21684
 
sed 's/^/| /' conftest.$ac_ext >&5
21685
 
 
21686
 
        
21687
 
fi
21688
 
 
21689
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21690
 
  test "$ac_cv_c_inline" != no && break
21691
 
done
21692
 
 
21693
 
fi
21694
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21695
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21696
 
 
21697
 
 
21698
 
case $ac_cv_c_inline in
21699
 
  inline | yes) ;;
21700
 
  *)
21701
 
    case $ac_cv_c_inline in
21702
 
      no) ac_val=;;
21703
 
      *) ac_val=$ac_cv_c_inline;;
21704
 
    esac
21705
 
    cat >>confdefs.h <<_ACEOF
21706
 
#ifndef __cplusplus
21707
 
#define inline $ac_val
21708
 
#endif
21709
 
_ACEOF
21710
 
    ;;
21711
 
esac
21712
 
 
21713
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
21714
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21715
 
if test "${ac_cv_type_size_t+set}" = set; then
21716
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21717
 
else
21718
 
  cat >conftest.$ac_ext <<_ACEOF
21719
 
/* confdefs.h.  */
21720
 
_ACEOF
21721
 
cat confdefs.h >>conftest.$ac_ext
21722
 
cat >>conftest.$ac_ext <<_ACEOF
21723
 
/* end confdefs.h.  */
21724
 
$ac_includes_default
21725
 
typedef size_t ac__type_new_;
21726
 
int
21727
 
main ()
21728
 
{
21729
 
if ((ac__type_new_ *) 0)
21730
 
  return 0;
21731
 
if (sizeof (ac__type_new_))
21732
 
  return 0;
21733
 
  ;
21734
 
  return 0;
21735
 
}
21736
 
_ACEOF
21737
 
rm -f conftest.$ac_objext
21738
 
if { (ac_try="$ac_compile"
21739
 
case "(($ac_try" in
21740
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21741
 
  *) ac_try_echo=$ac_try;;
21742
 
esac
21743
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21744
 
  (eval "$ac_compile") 2>conftest.er1
21745
 
  ac_status=$?
21746
 
  grep -v '^ *+' conftest.er1 >conftest.err
21747
 
  rm -f conftest.er1
21748
 
  cat conftest.err >&5
21749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750
 
  (exit $ac_status); } && {
21751
 
         test -z "$ac_c_werror_flag" ||
21752
 
         test ! -s conftest.err
21753
 
       } && test -s conftest.$ac_objext; then
21754
 
  ac_cv_type_size_t=yes
21755
 
else
21756
 
  echo "$as_me: failed program was:" >&5
21757
 
sed 's/^/| /' conftest.$ac_ext >&5
21758
 
 
21759
 
        ac_cv_type_size_t=no
21760
 
fi
21761
 
 
21762
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21763
 
fi
21764
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21765
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21766
 
if test $ac_cv_type_size_t = yes; then
21767
 
  :
21768
 
else
21769
 
  
21770
 
cat >>confdefs.h <<_ACEOF
21771
 
@%:@define size_t unsigned int
21772
 
_ACEOF
21773
 
 
21774
 
fi
21775
 
 
21776
 
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
21777
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
21778
 
if test "${ac_cv_header_time+set}" = set; then
21779
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21780
 
else
21781
 
  cat >conftest.$ac_ext <<_ACEOF
21782
 
/* confdefs.h.  */
21783
 
_ACEOF
21784
 
cat confdefs.h >>conftest.$ac_ext
21785
 
cat >>conftest.$ac_ext <<_ACEOF
21786
 
/* end confdefs.h.  */
21787
 
#include <sys/types.h>
21788
 
#include <sys/time.h>
21789
 
#include <time.h>
21790
 
 
21791
 
int
21792
 
main ()
21793
 
{
21794
 
if ((struct tm *) 0)
21795
 
return 0;
21796
 
  ;
21797
 
  return 0;
21798
 
}
21799
 
_ACEOF
21800
 
rm -f conftest.$ac_objext
21801
 
if { (ac_try="$ac_compile"
21802
 
case "(($ac_try" in
21803
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21804
 
  *) ac_try_echo=$ac_try;;
21805
 
esac
21806
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21807
 
  (eval "$ac_compile") 2>conftest.er1
21808
 
  ac_status=$?
21809
 
  grep -v '^ *+' conftest.er1 >conftest.err
21810
 
  rm -f conftest.er1
21811
 
  cat conftest.err >&5
21812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813
 
  (exit $ac_status); } && {
21814
 
         test -z "$ac_c_werror_flag" ||
21815
 
         test ! -s conftest.err
21816
 
       } && test -s conftest.$ac_objext; then
21817
 
  ac_cv_header_time=yes
21818
 
else
21819
 
  echo "$as_me: failed program was:" >&5
21820
 
sed 's/^/| /' conftest.$ac_ext >&5
21821
 
 
21822
 
        ac_cv_header_time=no
21823
 
fi
21824
 
 
21825
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21826
 
fi
21827
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
21828
 
echo "${ECHO_T}$ac_cv_header_time" >&6; }
21829
 
if test $ac_cv_header_time = yes; then
21830
 
  
21831
 
cat >>confdefs.h <<\_ACEOF
21832
 
@%:@define TIME_WITH_SYS_TIME 1
21833
 
_ACEOF
21834
 
 
21835
 
fi
21836
 
 
21837
 
{ echo "$as_me:$LINENO: checking for working volatile" >&5
21838
 
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
21839
 
if test "${ac_cv_c_volatile+set}" = set; then
21840
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21841
 
else
21842
 
  cat >conftest.$ac_ext <<_ACEOF
21843
 
/* confdefs.h.  */
21844
 
_ACEOF
21845
 
cat confdefs.h >>conftest.$ac_ext
21846
 
cat >>conftest.$ac_ext <<_ACEOF
21847
 
/* end confdefs.h.  */
21848
 
 
21849
 
int
21850
 
main ()
21851
 
{
21852
 
 
21853
 
volatile int x;
21854
 
int * volatile y = (int *) 0;
21855
 
return !x && !y;
21856
 
  ;
21857
 
  return 0;
21858
 
}
21859
 
_ACEOF
21860
 
rm -f conftest.$ac_objext
21861
 
if { (ac_try="$ac_compile"
21862
 
case "(($ac_try" in
21863
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21864
 
  *) ac_try_echo=$ac_try;;
21865
 
esac
21866
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21867
 
  (eval "$ac_compile") 2>conftest.er1
21868
 
  ac_status=$?
21869
 
  grep -v '^ *+' conftest.er1 >conftest.err
21870
 
  rm -f conftest.er1
21871
 
  cat conftest.err >&5
21872
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873
 
  (exit $ac_status); } && {
21874
 
         test -z "$ac_c_werror_flag" ||
21875
 
         test ! -s conftest.err
21876
 
       } && test -s conftest.$ac_objext; then
21877
 
  ac_cv_c_volatile=yes
21878
 
else
21879
 
  echo "$as_me: failed program was:" >&5
21880
 
sed 's/^/| /' conftest.$ac_ext >&5
21881
 
 
21882
 
        ac_cv_c_volatile=no
21883
 
fi
21884
 
 
21885
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21886
 
fi
21887
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
21888
 
echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
21889
 
if test $ac_cv_c_volatile = no; then
21890
 
  
21891
 
cat >>confdefs.h <<\_ACEOF
21892
 
@%:@define volatile 
21893
 
_ACEOF
21894
 
 
21895
 
fi
21896
 
 
21897
 
 
21898
 
{ echo "$as_me:$LINENO: checking whether closedir returns void" >&5
21899
 
echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
21900
 
if test "${ac_cv_func_closedir_void+set}" = set; then
21901
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21902
 
else
21903
 
  if test "$cross_compiling" = yes; then
21904
 
  ac_cv_func_closedir_void=yes
21905
 
else
21906
 
  cat >conftest.$ac_ext <<_ACEOF
21907
 
/* confdefs.h.  */
21908
 
_ACEOF
21909
 
cat confdefs.h >>conftest.$ac_ext
21910
 
cat >>conftest.$ac_ext <<_ACEOF
21911
 
/* end confdefs.h.  */
21912
 
$ac_includes_default
21913
 
#include <$ac_header_dirent>
21914
 
#ifndef __cplusplus
21915
 
int closedir ();
21916
 
#endif
21917
 
 
21918
 
int
21919
 
main ()
21920
 
{
21921
 
return closedir (opendir (".")) != 0;
21922
 
  ;
21923
 
  return 0;
21924
 
}
21925
 
_ACEOF
21926
 
rm -f conftest$ac_exeext
21927
 
if { (ac_try="$ac_link"
21928
 
case "(($ac_try" in
21929
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930
 
  *) ac_try_echo=$ac_try;;
21931
 
esac
21932
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933
 
  (eval "$ac_link") 2>&5
21934
 
  ac_status=$?
21935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21937
 
  { (case "(($ac_try" in
21938
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939
 
  *) ac_try_echo=$ac_try;;
21940
 
esac
21941
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942
 
  (eval "$ac_try") 2>&5
21943
 
  ac_status=$?
21944
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945
 
  (exit $ac_status); }; }; then
21946
 
  ac_cv_func_closedir_void=no
21947
 
else
21948
 
  echo "$as_me: program exited with status $ac_status" >&5
21949
 
echo "$as_me: failed program was:" >&5
21950
 
sed 's/^/| /' conftest.$ac_ext >&5
21951
 
 
21952
 
( exit $ac_status )
21953
 
ac_cv_func_closedir_void=yes
21954
 
fi
21955
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21956
 
fi
21957
 
 
21958
 
 
21959
 
fi
21960
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
21961
 
echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
21962
 
if test $ac_cv_func_closedir_void = yes; then
21963
 
  
21964
 
cat >>confdefs.h <<\_ACEOF
21965
 
@%:@define CLOSEDIR_VOID 1
21966
 
_ACEOF
21967
 
 
21968
 
fi
21969
 
 
21970
 
 
21971
 
for ac_header in stdlib.h
21972
 
do
21973
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21974
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21975
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21976
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21977
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21978
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21979
 
fi
21980
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21981
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21982
 
echo "${ECHO_T}$ac_res" >&6; }
21983
 
else
21984
 
  # Is the header compilable?
21985
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21986
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21987
 
cat >conftest.$ac_ext <<_ACEOF
21988
 
/* confdefs.h.  */
21989
 
_ACEOF
21990
 
cat confdefs.h >>conftest.$ac_ext
21991
 
cat >>conftest.$ac_ext <<_ACEOF
21992
 
/* end confdefs.h.  */
21993
 
$ac_includes_default
21994
 
@%:@include <$ac_header>
21995
 
_ACEOF
21996
 
rm -f conftest.$ac_objext
21997
 
if { (ac_try="$ac_compile"
21998
 
case "(($ac_try" in
21999
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22000
 
  *) ac_try_echo=$ac_try;;
22001
 
esac
22002
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22003
 
  (eval "$ac_compile") 2>conftest.er1
22004
 
  ac_status=$?
22005
 
  grep -v '^ *+' conftest.er1 >conftest.err
22006
 
  rm -f conftest.er1
22007
 
  cat conftest.err >&5
22008
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009
 
  (exit $ac_status); } && {
22010
 
         test -z "$ac_c_werror_flag" ||
22011
 
         test ! -s conftest.err
22012
 
       } && test -s conftest.$ac_objext; then
22013
 
  ac_header_compiler=yes
22014
 
else
22015
 
  echo "$as_me: failed program was:" >&5
22016
 
sed 's/^/| /' conftest.$ac_ext >&5
22017
 
 
22018
 
        ac_header_compiler=no
22019
 
fi
22020
 
 
22021
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22022
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22023
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
22024
 
 
22025
 
# Is the header present?
22026
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22027
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22028
 
cat >conftest.$ac_ext <<_ACEOF
22029
 
/* confdefs.h.  */
22030
 
_ACEOF
22031
 
cat confdefs.h >>conftest.$ac_ext
22032
 
cat >>conftest.$ac_ext <<_ACEOF
22033
 
/* end confdefs.h.  */
22034
 
@%:@include <$ac_header>
22035
 
_ACEOF
22036
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
22037
 
case "(($ac_try" in
22038
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039
 
  *) ac_try_echo=$ac_try;;
22040
 
esac
22041
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22043
 
  ac_status=$?
22044
 
  grep -v '^ *+' conftest.er1 >conftest.err
22045
 
  rm -f conftest.er1
22046
 
  cat conftest.err >&5
22047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048
 
  (exit $ac_status); } >/dev/null && {
22049
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22050
 
         test ! -s conftest.err
22051
 
       }; then
22052
 
  ac_header_preproc=yes
22053
 
else
22054
 
  echo "$as_me: failed program was:" >&5
22055
 
sed 's/^/| /' conftest.$ac_ext >&5
22056
 
 
22057
 
  ac_header_preproc=no
22058
 
fi
22059
 
 
22060
 
rm -f conftest.err conftest.$ac_ext
22061
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22062
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
22063
 
 
22064
 
# So?  What about this header?
22065
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22066
 
  yes:no: )
22067
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22068
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22069
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22070
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22071
 
    ac_header_preproc=yes
22072
 
    ;;
22073
 
  no:yes:* )
22074
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22075
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22076
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22077
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22078
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22079
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22080
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22081
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22082
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22083
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22084
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22085
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22086
 
    
22087
 
    ;;
22088
 
esac
22089
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22090
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22091
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22092
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22093
 
else
22094
 
  eval "$as_ac_Header=\$ac_header_preproc"
22095
 
fi
22096
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22097
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22098
 
echo "${ECHO_T}$ac_res" >&6; }
22099
 
 
22100
 
fi
22101
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22102
 
  cat >>confdefs.h <<_ACEOF
22103
 
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22104
 
_ACEOF
22105
 
 
22106
 
fi
22107
 
 
22108
 
done
22109
 
 
22110
 
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
22111
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
22112
 
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
22113
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22114
 
else
22115
 
  if test "$cross_compiling" = yes; then
22116
 
  ac_cv_func_malloc_0_nonnull=no
22117
 
else
22118
 
  cat >conftest.$ac_ext <<_ACEOF
22119
 
/* confdefs.h.  */
22120
 
_ACEOF
22121
 
cat confdefs.h >>conftest.$ac_ext
22122
 
cat >>conftest.$ac_ext <<_ACEOF
22123
 
/* end confdefs.h.  */
22124
 
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
22125
 
# include <stdlib.h>
22126
 
#else
22127
 
char *malloc ();
22128
 
#endif
22129
 
 
22130
 
int
22131
 
main ()
22132
 
{
22133
 
return ! malloc (0);
22134
 
  ;
22135
 
  return 0;
22136
 
}
22137
 
_ACEOF
22138
 
rm -f conftest$ac_exeext
22139
 
if { (ac_try="$ac_link"
22140
 
case "(($ac_try" in
22141
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22142
 
  *) ac_try_echo=$ac_try;;
22143
 
esac
22144
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22145
 
  (eval "$ac_link") 2>&5
22146
 
  ac_status=$?
22147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22149
 
  { (case "(($ac_try" in
22150
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22151
 
  *) ac_try_echo=$ac_try;;
22152
 
esac
22153
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22154
 
  (eval "$ac_try") 2>&5
22155
 
  ac_status=$?
22156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157
 
  (exit $ac_status); }; }; then
22158
 
  ac_cv_func_malloc_0_nonnull=yes
22159
 
else
22160
 
  echo "$as_me: program exited with status $ac_status" >&5
22161
 
echo "$as_me: failed program was:" >&5
22162
 
sed 's/^/| /' conftest.$ac_ext >&5
22163
 
 
22164
 
( exit $ac_status )
22165
 
ac_cv_func_malloc_0_nonnull=no
22166
 
fi
22167
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22168
 
fi
22169
 
 
22170
 
 
22171
 
fi
22172
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
22173
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
22174
 
if test $ac_cv_func_malloc_0_nonnull = yes; then
22175
 
  
22176
 
cat >>confdefs.h <<\_ACEOF
22177
 
@%:@define HAVE_MALLOC 1
22178
 
_ACEOF
22179
 
 
22180
 
else
22181
 
  cat >>confdefs.h <<\_ACEOF
22182
 
@%:@define HAVE_MALLOC 0
22183
 
_ACEOF
22184
 
 
22185
 
   case " $LIB@&t@OBJS " in
22186
 
  *" malloc.$ac_objext "* ) ;;
22187
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
22188
 
 ;;
22189
 
esac
22190
 
 
22191
 
   
22192
 
cat >>confdefs.h <<\_ACEOF
22193
 
@%:@define malloc rpl_malloc
22194
 
_ACEOF
22195
 
 
22196
 
fi
22197
 
 
22198
 
 
22199
 
 
22200
 
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
22201
 
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
22202
 
if test "${ac_cv_func_memcmp_working+set}" = set; then
22203
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22204
 
else
22205
 
  if test "$cross_compiling" = yes; then
22206
 
  ac_cv_func_memcmp_working=no
22207
 
else
22208
 
  cat >conftest.$ac_ext <<_ACEOF
22209
 
/* confdefs.h.  */
22210
 
_ACEOF
22211
 
cat confdefs.h >>conftest.$ac_ext
22212
 
cat >>conftest.$ac_ext <<_ACEOF
22213
 
/* end confdefs.h.  */
22214
 
$ac_includes_default
22215
 
int
22216
 
main ()
22217
 
{
22218
 
 
22219
 
  /* Some versions of memcmp are not 8-bit clean.  */
22220
 
  char c0 = '\100', c1 = '\200', c2 = '\201';
22221
 
  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
22222
 
    return 1;
22223
 
 
22224
 
  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
22225
 
     or more and with at least one buffer not starting on a 4-byte boundary.
22226
 
     William Lewis provided this test program.   */
22227
 
  {
22228
 
    char foo[21];
22229
 
    char bar[21];
22230
 
    int i;
22231
 
    for (i = 0; i < 4; i++)
22232
 
      {
22233
 
        char *a = foo + i;
22234
 
        char *b = bar + i;
22235
 
        strcpy (a, "--------01111111");
22236
 
        strcpy (b, "--------10000000");
22237
 
        if (memcmp (a, b, 16) >= 0)
22238
 
          return 1;
22239
 
      }
22240
 
    return 0;
22241
 
  }
22242
 
 
22243
 
  ;
22244
 
  return 0;
22245
 
}
22246
 
_ACEOF
22247
 
rm -f conftest$ac_exeext
22248
 
if { (ac_try="$ac_link"
22249
 
case "(($ac_try" in
22250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22251
 
  *) ac_try_echo=$ac_try;;
22252
 
esac
22253
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22254
 
  (eval "$ac_link") 2>&5
22255
 
  ac_status=$?
22256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22258
 
  { (case "(($ac_try" in
22259
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260
 
  *) ac_try_echo=$ac_try;;
22261
 
esac
22262
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263
 
  (eval "$ac_try") 2>&5
22264
 
  ac_status=$?
22265
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266
 
  (exit $ac_status); }; }; then
22267
 
  ac_cv_func_memcmp_working=yes
22268
 
else
22269
 
  echo "$as_me: program exited with status $ac_status" >&5
22270
 
echo "$as_me: failed program was:" >&5
22271
 
sed 's/^/| /' conftest.$ac_ext >&5
22272
 
 
22273
 
( exit $ac_status )
22274
 
ac_cv_func_memcmp_working=no
22275
 
fi
22276
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22277
 
fi
22278
 
 
22279
 
 
22280
 
fi
22281
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22282
 
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
22283
 
test $ac_cv_func_memcmp_working = no && case " $LIB@&t@OBJS " in
22284
 
  *" memcmp.$ac_objext "* ) ;;
22285
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS memcmp.$ac_objext"
22286
 
 ;;
22287
 
esac
22288
 
 
22289
 
 
22290
 
{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
22291
 
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
22292
 
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
22293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22294
 
else
22295
 
  rm -f conftest.sym conftest.file
22296
 
echo >conftest.file
22297
 
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
22298
 
  if test "$cross_compiling" = yes; then
22299
 
  ac_cv_func_lstat_dereferences_slashed_symlink=no
22300
 
else
22301
 
  cat >conftest.$ac_ext <<_ACEOF
22302
 
/* confdefs.h.  */
22303
 
_ACEOF
22304
 
cat confdefs.h >>conftest.$ac_ext
22305
 
cat >>conftest.$ac_ext <<_ACEOF
22306
 
/* end confdefs.h.  */
22307
 
$ac_includes_default
22308
 
int
22309
 
main ()
22310
 
{
22311
 
struct stat sbuf;
22312
 
     /* Linux will dereference the symlink and fail.
22313
 
        That is better in the sense that it means we will not
22314
 
        have to compile and use the lstat wrapper.  */
22315
 
     return lstat ("conftest.sym/", &sbuf) == 0;
22316
 
  ;
22317
 
  return 0;
22318
 
}
22319
 
_ACEOF
22320
 
rm -f conftest$ac_exeext
22321
 
if { (ac_try="$ac_link"
22322
 
case "(($ac_try" in
22323
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22324
 
  *) ac_try_echo=$ac_try;;
22325
 
esac
22326
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22327
 
  (eval "$ac_link") 2>&5
22328
 
  ac_status=$?
22329
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22331
 
  { (case "(($ac_try" in
22332
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22333
 
  *) ac_try_echo=$ac_try;;
22334
 
esac
22335
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22336
 
  (eval "$ac_try") 2>&5
22337
 
  ac_status=$?
22338
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339
 
  (exit $ac_status); }; }; then
22340
 
  ac_cv_func_lstat_dereferences_slashed_symlink=yes
22341
 
else
22342
 
  echo "$as_me: program exited with status $ac_status" >&5
22343
 
echo "$as_me: failed program was:" >&5
22344
 
sed 's/^/| /' conftest.$ac_ext >&5
22345
 
 
22346
 
( exit $ac_status )
22347
 
ac_cv_func_lstat_dereferences_slashed_symlink=no
22348
 
fi
22349
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22350
 
fi
22351
 
 
22352
 
 
22353
 
else
22354
 
  # If the `ln -s' command failed, then we probably don't even
22355
 
  # have an lstat function.
22356
 
  ac_cv_func_lstat_dereferences_slashed_symlink=no
22357
 
fi
22358
 
rm -f conftest.sym conftest.file
22359
 
 
22360
 
fi
22361
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
22362
 
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
22363
 
 
22364
 
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
22365
 
  
22366
 
cat >>confdefs.h <<_ACEOF
22367
 
@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
22368
 
_ACEOF
22369
 
 
22370
 
 
22371
 
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
22372
 
  case " $LIB@&t@OBJS " in
22373
 
  *" lstat.$ac_objext "* ) ;;
22374
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
22375
 
 ;;
22376
 
esac
22377
 
 
22378
 
fi
22379
 
 
22380
 
{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
22381
 
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
22382
 
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
22383
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22384
 
else
22385
 
  if test "$cross_compiling" = yes; then
22386
 
  ac_cv_func_stat_empty_string_bug=yes
22387
 
else
22388
 
  cat >conftest.$ac_ext <<_ACEOF
22389
 
/* confdefs.h.  */
22390
 
_ACEOF
22391
 
cat confdefs.h >>conftest.$ac_ext
22392
 
cat >>conftest.$ac_ext <<_ACEOF
22393
 
/* end confdefs.h.  */
22394
 
$ac_includes_default
22395
 
int
22396
 
main ()
22397
 
{
22398
 
struct stat sbuf;
22399
 
  return stat ("", &sbuf) == 0;
22400
 
  ;
22401
 
  return 0;
22402
 
}
22403
 
_ACEOF
22404
 
rm -f conftest$ac_exeext
22405
 
if { (ac_try="$ac_link"
22406
 
case "(($ac_try" in
22407
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22408
 
  *) ac_try_echo=$ac_try;;
22409
 
esac
22410
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22411
 
  (eval "$ac_link") 2>&5
22412
 
  ac_status=$?
22413
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22415
 
  { (case "(($ac_try" in
22416
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22417
 
  *) ac_try_echo=$ac_try;;
22418
 
esac
22419
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22420
 
  (eval "$ac_try") 2>&5
22421
 
  ac_status=$?
22422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423
 
  (exit $ac_status); }; }; then
22424
 
  ac_cv_func_stat_empty_string_bug=no
22425
 
else
22426
 
  echo "$as_me: program exited with status $ac_status" >&5
22427
 
echo "$as_me: failed program was:" >&5
22428
 
sed 's/^/| /' conftest.$ac_ext >&5
22429
 
 
22430
 
( exit $ac_status )
22431
 
ac_cv_func_stat_empty_string_bug=yes
22432
 
fi
22433
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22434
 
fi
22435
 
 
22436
 
 
22437
 
fi
22438
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
22439
 
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
22440
 
if test $ac_cv_func_stat_empty_string_bug = yes; then
22441
 
  case " $LIB@&t@OBJS " in
22442
 
  *" stat.$ac_objext "* ) ;;
22443
 
  *) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext"
22444
 
 ;;
22445
 
esac
22446
 
 
22447
 
  
22448
 
cat >>confdefs.h <<_ACEOF
22449
 
@%:@define HAVE_STAT_EMPTY_STRING_BUG 1
22450
 
_ACEOF
22451
 
 
22452
 
fi
22453
 
 
22454
 
 
22455
 
for ac_func in vprintf
22456
 
do
22457
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22458
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22459
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22460
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22461
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22462
 
else
22463
 
  cat >conftest.$ac_ext <<_ACEOF
22464
 
/* confdefs.h.  */
22465
 
_ACEOF
22466
 
cat confdefs.h >>conftest.$ac_ext
22467
 
cat >>conftest.$ac_ext <<_ACEOF
22468
 
/* end confdefs.h.  */
22469
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22470
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22471
 
#define $ac_func innocuous_$ac_func
22472
 
 
22473
 
/* System header to define __stub macros and hopefully few prototypes,
22474
 
    which can conflict with char $ac_func (); below.
22475
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22476
 
    <limits.h> exists even on freestanding compilers.  */
22477
 
 
22478
 
#ifdef __STDC__
22479
 
# include <limits.h>
22480
 
#else
22481
 
# include <assert.h>
22482
 
#endif
22483
 
 
22484
 
#undef $ac_func
22485
 
 
22486
 
/* Override any GCC internal prototype to avoid an error.
22487
 
   Use char because int might match the return type of a GCC
22488
 
   builtin and then its argument prototype would still apply.  */
22489
 
#ifdef __cplusplus
22490
 
extern "C"
22491
 
#endif
22492
 
char $ac_func ();
22493
 
/* The GNU C library defines this for functions which it implements
22494
 
    to always fail with ENOSYS.  Some functions are actually named
22495
 
    something starting with __ and the normal name is an alias.  */
22496
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22497
 
choke me
22498
 
#endif
22499
 
 
22500
 
int
22501
 
main ()
22502
 
{
22503
 
return $ac_func ();
22504
 
  ;
22505
 
  return 0;
22506
 
}
22507
 
_ACEOF
22508
 
rm -f conftest.$ac_objext conftest$ac_exeext
22509
 
if { (ac_try="$ac_link"
22510
 
case "(($ac_try" in
22511
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22512
 
  *) ac_try_echo=$ac_try;;
22513
 
esac
22514
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22515
 
  (eval "$ac_link") 2>conftest.er1
22516
 
  ac_status=$?
22517
 
  grep -v '^ *+' conftest.er1 >conftest.err
22518
 
  rm -f conftest.er1
22519
 
  cat conftest.err >&5
22520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521
 
  (exit $ac_status); } && {
22522
 
         test -z "$ac_c_werror_flag" ||
22523
 
         test ! -s conftest.err
22524
 
       } && test -s conftest$ac_exeext &&
22525
 
       $as_test_x conftest$ac_exeext; then
22526
 
  eval "$as_ac_var=yes"
22527
 
else
22528
 
  echo "$as_me: failed program was:" >&5
22529
 
sed 's/^/| /' conftest.$ac_ext >&5
22530
 
 
22531
 
        eval "$as_ac_var=no"
22532
 
fi
22533
 
 
22534
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22535
 
      conftest$ac_exeext conftest.$ac_ext
22536
 
fi
22537
 
ac_res=`eval echo '${'$as_ac_var'}'`
22538
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22539
 
echo "${ECHO_T}$ac_res" >&6; }
22540
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
22541
 
  cat >>confdefs.h <<_ACEOF
22542
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22543
 
_ACEOF
22544
 
 
22545
 
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
22546
 
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
22547
 
if test "${ac_cv_func__doprnt+set}" = set; then
22548
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22549
 
else
22550
 
  cat >conftest.$ac_ext <<_ACEOF
22551
 
/* confdefs.h.  */
22552
 
_ACEOF
22553
 
cat confdefs.h >>conftest.$ac_ext
22554
 
cat >>conftest.$ac_ext <<_ACEOF
22555
 
/* end confdefs.h.  */
22556
 
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
22557
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22558
 
#define _doprnt innocuous__doprnt
22559
 
 
22560
 
/* System header to define __stub macros and hopefully few prototypes,
22561
 
    which can conflict with char _doprnt (); below.
22562
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22563
 
    <limits.h> exists even on freestanding compilers.  */
22564
 
 
22565
 
#ifdef __STDC__
22566
 
# include <limits.h>
22567
 
#else
22568
 
# include <assert.h>
22569
 
#endif
22570
 
 
22571
 
#undef _doprnt
22572
 
 
22573
 
/* Override any GCC internal prototype to avoid an error.
22574
 
   Use char because int might match the return type of a GCC
22575
 
   builtin and then its argument prototype would still apply.  */
22576
 
#ifdef __cplusplus
22577
 
extern "C"
22578
 
#endif
22579
 
char _doprnt ();
22580
 
/* The GNU C library defines this for functions which it implements
22581
 
    to always fail with ENOSYS.  Some functions are actually named
22582
 
    something starting with __ and the normal name is an alias.  */
22583
 
#if defined __stub__doprnt || defined __stub____doprnt
22584
 
choke me
22585
 
#endif
22586
 
 
22587
 
int
22588
 
main ()
22589
 
{
22590
 
return _doprnt ();
22591
 
  ;
22592
 
  return 0;
22593
 
}
22594
 
_ACEOF
22595
 
rm -f conftest.$ac_objext conftest$ac_exeext
22596
 
if { (ac_try="$ac_link"
22597
 
case "(($ac_try" in
22598
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22599
 
  *) ac_try_echo=$ac_try;;
22600
 
esac
22601
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22602
 
  (eval "$ac_link") 2>conftest.er1
22603
 
  ac_status=$?
22604
 
  grep -v '^ *+' conftest.er1 >conftest.err
22605
 
  rm -f conftest.er1
22606
 
  cat conftest.err >&5
22607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608
 
  (exit $ac_status); } && {
22609
 
         test -z "$ac_c_werror_flag" ||
22610
 
         test ! -s conftest.err
22611
 
       } && test -s conftest$ac_exeext &&
22612
 
       $as_test_x conftest$ac_exeext; then
22613
 
  ac_cv_func__doprnt=yes
22614
 
else
22615
 
  echo "$as_me: failed program was:" >&5
22616
 
sed 's/^/| /' conftest.$ac_ext >&5
22617
 
 
22618
 
        ac_cv_func__doprnt=no
22619
 
fi
22620
 
 
22621
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22622
 
      conftest$ac_exeext conftest.$ac_ext
22623
 
fi
22624
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
22625
 
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
22626
 
if test $ac_cv_func__doprnt = yes; then
22627
 
  
22628
 
cat >>confdefs.h <<\_ACEOF
22629
 
@%:@define HAVE_DOPRNT 1
22630
 
_ACEOF
22631
 
 
22632
 
fi
22633
 
 
22634
 
fi
22635
 
done
22636
 
 
22637
 
 
22638
 
 
22639
 
 
22640
 
 
22641
 
 
22642
 
 
22643
 
 
22644
 
 
22645
 
 
22646
 
 
22647
 
 
22648
 
 
22649
 
 
22650
 
for ac_func in atexit getcwd isascii memchr memmove memset strcasecmp strchr strcspn strdup strrchr strstr
22651
 
do
22652
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22653
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22654
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22655
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22656
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22657
 
else
22658
 
  cat >conftest.$ac_ext <<_ACEOF
22659
 
/* confdefs.h.  */
22660
 
_ACEOF
22661
 
cat confdefs.h >>conftest.$ac_ext
22662
 
cat >>conftest.$ac_ext <<_ACEOF
22663
 
/* end confdefs.h.  */
22664
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22665
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22666
 
#define $ac_func innocuous_$ac_func
22667
 
 
22668
 
/* System header to define __stub macros and hopefully few prototypes,
22669
 
    which can conflict with char $ac_func (); below.
22670
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22671
 
    <limits.h> exists even on freestanding compilers.  */
22672
 
 
22673
 
#ifdef __STDC__
22674
 
# include <limits.h>
22675
 
#else
22676
 
# include <assert.h>
22677
 
#endif
22678
 
 
22679
 
#undef $ac_func
22680
 
 
22681
 
/* Override any GCC internal prototype to avoid an error.
22682
 
   Use char because int might match the return type of a GCC
22683
 
   builtin and then its argument prototype would still apply.  */
22684
 
#ifdef __cplusplus
22685
 
extern "C"
22686
 
#endif
22687
 
char $ac_func ();
22688
 
/* The GNU C library defines this for functions which it implements
22689
 
    to always fail with ENOSYS.  Some functions are actually named
22690
 
    something starting with __ and the normal name is an alias.  */
22691
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22692
 
choke me
22693
 
#endif
22694
 
 
22695
 
int
22696
 
main ()
22697
 
{
22698
 
return $ac_func ();
22699
 
  ;
22700
 
  return 0;
22701
 
}
22702
 
_ACEOF
22703
 
rm -f conftest.$ac_objext conftest$ac_exeext
22704
 
if { (ac_try="$ac_link"
22705
 
case "(($ac_try" in
22706
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22707
 
  *) ac_try_echo=$ac_try;;
22708
 
esac
22709
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22710
 
  (eval "$ac_link") 2>conftest.er1
22711
 
  ac_status=$?
22712
 
  grep -v '^ *+' conftest.er1 >conftest.err
22713
 
  rm -f conftest.er1
22714
 
  cat conftest.err >&5
22715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716
 
  (exit $ac_status); } && {
22717
 
         test -z "$ac_c_werror_flag" ||
22718
 
         test ! -s conftest.err
22719
 
       } && test -s conftest$ac_exeext &&
22720
 
       $as_test_x conftest$ac_exeext; then
22721
 
  eval "$as_ac_var=yes"
22722
 
else
22723
 
  echo "$as_me: failed program was:" >&5
22724
 
sed 's/^/| /' conftest.$ac_ext >&5
22725
 
 
22726
 
        eval "$as_ac_var=no"
22727
 
fi
22728
 
 
22729
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22730
 
      conftest$ac_exeext conftest.$ac_ext
22731
 
fi
22732
 
ac_res=`eval echo '${'$as_ac_var'}'`
22733
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22734
 
echo "${ECHO_T}$ac_res" >&6; }
22735
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
22736
 
  cat >>confdefs.h <<_ACEOF
22737
 
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22738
 
_ACEOF
22739
 
 
22740
 
fi
22741
 
done
22742
 
 
22743
 
 
22744
 
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22745
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
22746
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22747
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22748
 
else
22749
 
  ac_check_lib_save_LIBS=$LIBS
22750
 
LIBS="-ldl  $LIBS"
22751
 
cat >conftest.$ac_ext <<_ACEOF
22752
 
/* confdefs.h.  */
22753
 
_ACEOF
22754
 
cat confdefs.h >>conftest.$ac_ext
22755
 
cat >>conftest.$ac_ext <<_ACEOF
22756
 
/* end confdefs.h.  */
22757
 
 
22758
 
/* Override any GCC internal prototype to avoid an error.
22759
 
   Use char because int might match the return type of a GCC
22760
 
   builtin and then its argument prototype would still apply.  */
22761
 
#ifdef __cplusplus
22762
 
extern "C"
22763
 
#endif
22764
 
char dlopen ();
22765
 
int
22766
 
main ()
22767
 
{
22768
 
return dlopen ();
22769
 
  ;
22770
 
  return 0;
22771
 
}
22772
 
_ACEOF
22773
 
rm -f conftest.$ac_objext conftest$ac_exeext
22774
 
if { (ac_try="$ac_link"
22775
 
case "(($ac_try" in
22776
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22777
 
  *) ac_try_echo=$ac_try;;
22778
 
esac
22779
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22780
 
  (eval "$ac_link") 2>conftest.er1
22781
 
  ac_status=$?
22782
 
  grep -v '^ *+' conftest.er1 >conftest.err
22783
 
  rm -f conftest.er1
22784
 
  cat conftest.err >&5
22785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786
 
  (exit $ac_status); } && {
22787
 
         test -z "$ac_c_werror_flag" ||
22788
 
         test ! -s conftest.err
22789
 
       } && test -s conftest$ac_exeext &&
22790
 
       $as_test_x conftest$ac_exeext; then
22791
 
  ac_cv_lib_dl_dlopen=yes
22792
 
else
22793
 
  echo "$as_me: failed program was:" >&5
22794
 
sed 's/^/| /' conftest.$ac_ext >&5
22795
 
 
22796
 
        ac_cv_lib_dl_dlopen=no
22797
 
fi
22798
 
 
22799
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22800
 
      conftest$ac_exeext conftest.$ac_ext
22801
 
LIBS=$ac_check_lib_save_LIBS
22802
 
fi
22803
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22804
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
22805
 
if test $ac_cv_lib_dl_dlopen = yes; then
22806
 
  cat >>confdefs.h <<_ACEOF
22807
 
@%:@define HAVE_LIBDL 1
22808
 
_ACEOF
22809
 
 
22810
 
  LIBS="-ldl $LIBS"
22811
 
 
22812
 
fi
22813
 
 
22814
 
 
22815
 
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
22816
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
22817
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
22818
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22819
 
else
22820
 
  ac_check_lib_save_LIBS=$LIBS
22821
 
LIBS="-lpthread  $LIBS"
22822
 
cat >conftest.$ac_ext <<_ACEOF
22823
 
/* confdefs.h.  */
22824
 
_ACEOF
22825
 
cat confdefs.h >>conftest.$ac_ext
22826
 
cat >>conftest.$ac_ext <<_ACEOF
22827
 
/* end confdefs.h.  */
22828
 
 
22829
 
/* Override any GCC internal prototype to avoid an error.
22830
 
   Use char because int might match the return type of a GCC
22831
 
   builtin and then its argument prototype would still apply.  */
22832
 
#ifdef __cplusplus
22833
 
extern "C"
22834
 
#endif
22835
 
char pthread_create ();
22836
 
int
22837
 
main ()
22838
 
{
22839
 
return pthread_create ();
22840
 
  ;
22841
 
  return 0;
22842
 
}
22843
 
_ACEOF
22844
 
rm -f conftest.$ac_objext conftest$ac_exeext
22845
 
if { (ac_try="$ac_link"
22846
 
case "(($ac_try" in
22847
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22848
 
  *) ac_try_echo=$ac_try;;
22849
 
esac
22850
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22851
 
  (eval "$ac_link") 2>conftest.er1
22852
 
  ac_status=$?
22853
 
  grep -v '^ *+' conftest.er1 >conftest.err
22854
 
  rm -f conftest.er1
22855
 
  cat conftest.err >&5
22856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857
 
  (exit $ac_status); } && {
22858
 
         test -z "$ac_c_werror_flag" ||
22859
 
         test ! -s conftest.err
22860
 
       } && test -s conftest$ac_exeext &&
22861
 
       $as_test_x conftest$ac_exeext; then
22862
 
  ac_cv_lib_pthread_pthread_create=yes
22863
 
else
22864
 
  echo "$as_me: failed program was:" >&5
22865
 
sed 's/^/| /' conftest.$ac_ext >&5
22866
 
 
22867
 
        ac_cv_lib_pthread_pthread_create=no
22868
 
fi
22869
 
 
22870
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22871
 
      conftest$ac_exeext conftest.$ac_ext
22872
 
LIBS=$ac_check_lib_save_LIBS
22873
 
fi
22874
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
22875
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
22876
 
if test $ac_cv_lib_pthread_pthread_create = yes; then
22877
 
  cat >>confdefs.h <<_ACEOF
22878
 
@%:@define HAVE_LIBPTHREAD 1
22879
 
_ACEOF
22880
 
 
22881
 
  LIBS="-lpthread $LIBS"
22882
 
 
22883
 
fi
22884
 
 
22885
 
{ echo "$as_me:$LINENO: checking for snprintf" >&5
22886
 
echo $ECHO_N "checking for snprintf... $ECHO_C" >&6; }
22887
 
if test "${ac_cv_func_snprintf+set}" = set; then
22888
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22889
 
else
22890
 
  cat >conftest.$ac_ext <<_ACEOF
22891
 
/* confdefs.h.  */
22892
 
_ACEOF
22893
 
cat confdefs.h >>conftest.$ac_ext
22894
 
cat >>conftest.$ac_ext <<_ACEOF
22895
 
/* end confdefs.h.  */
22896
 
/* Define snprintf to an innocuous variant, in case <limits.h> declares snprintf.
22897
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22898
 
#define snprintf innocuous_snprintf
22899
 
 
22900
 
/* System header to define __stub macros and hopefully few prototypes,
22901
 
    which can conflict with char snprintf (); below.
22902
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22903
 
    <limits.h> exists even on freestanding compilers.  */
22904
 
 
22905
 
#ifdef __STDC__
22906
 
# include <limits.h>
22907
 
#else
22908
 
# include <assert.h>
22909
 
#endif
22910
 
 
22911
 
#undef snprintf
22912
 
 
22913
 
/* Override any GCC internal prototype to avoid an error.
22914
 
   Use char because int might match the return type of a GCC
22915
 
   builtin and then its argument prototype would still apply.  */
22916
 
#ifdef __cplusplus
22917
 
extern "C"
22918
 
#endif
22919
 
char snprintf ();
22920
 
/* The GNU C library defines this for functions which it implements
22921
 
    to always fail with ENOSYS.  Some functions are actually named
22922
 
    something starting with __ and the normal name is an alias.  */
22923
 
#if defined __stub_snprintf || defined __stub___snprintf
22924
 
choke me
22925
 
#endif
22926
 
 
22927
 
int
22928
 
main ()
22929
 
{
22930
 
return snprintf ();
22931
 
  ;
22932
 
  return 0;
22933
 
}
22934
 
_ACEOF
22935
 
rm -f conftest.$ac_objext conftest$ac_exeext
22936
 
if { (ac_try="$ac_link"
22937
 
case "(($ac_try" in
22938
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22939
 
  *) ac_try_echo=$ac_try;;
22940
 
esac
22941
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22942
 
  (eval "$ac_link") 2>conftest.er1
22943
 
  ac_status=$?
22944
 
  grep -v '^ *+' conftest.er1 >conftest.err
22945
 
  rm -f conftest.er1
22946
 
  cat conftest.err >&5
22947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948
 
  (exit $ac_status); } && {
22949
 
         test -z "$ac_c_werror_flag" ||
22950
 
         test ! -s conftest.err
22951
 
       } && test -s conftest$ac_exeext &&
22952
 
       $as_test_x conftest$ac_exeext; then
22953
 
  ac_cv_func_snprintf=yes
22954
 
else
22955
 
  echo "$as_me: failed program was:" >&5
22956
 
sed 's/^/| /' conftest.$ac_ext >&5
22957
 
 
22958
 
        ac_cv_func_snprintf=no
22959
 
fi
22960
 
 
22961
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22962
 
      conftest$ac_exeext conftest.$ac_ext
22963
 
fi
22964
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_snprintf" >&5
22965
 
echo "${ECHO_T}$ac_cv_func_snprintf" >&6; }
22966
 
if test $ac_cv_func_snprintf = yes; then
22967
 
  
22968
 
cat >>confdefs.h <<\_ACEOF
22969
 
@%:@define HAVE_SNPRINTF 
22970
 
_ACEOF
22971
 
 
22972
 
fi
22973
 
 
22974
 
{ echo "$as_me:$LINENO: checking for vsnprintf" >&5
22975
 
echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6; }
22976
 
if test "${ac_cv_func_vsnprintf+set}" = set; then
22977
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22978
 
else
22979
 
  cat >conftest.$ac_ext <<_ACEOF
22980
 
/* confdefs.h.  */
22981
 
_ACEOF
22982
 
cat confdefs.h >>conftest.$ac_ext
22983
 
cat >>conftest.$ac_ext <<_ACEOF
22984
 
/* end confdefs.h.  */
22985
 
/* Define vsnprintf to an innocuous variant, in case <limits.h> declares vsnprintf.
22986
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22987
 
#define vsnprintf innocuous_vsnprintf
22988
 
 
22989
 
/* System header to define __stub macros and hopefully few prototypes,
22990
 
    which can conflict with char vsnprintf (); below.
22991
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22992
 
    <limits.h> exists even on freestanding compilers.  */
22993
 
 
22994
 
#ifdef __STDC__
22995
 
# include <limits.h>
22996
 
#else
22997
 
# include <assert.h>
22998
 
#endif
22999
 
 
23000
 
#undef vsnprintf
23001
 
 
23002
 
/* Override any GCC internal prototype to avoid an error.
23003
 
   Use char because int might match the return type of a GCC
23004
 
   builtin and then its argument prototype would still apply.  */
23005
 
#ifdef __cplusplus
23006
 
extern "C"
23007
 
#endif
23008
 
char vsnprintf ();
23009
 
/* The GNU C library defines this for functions which it implements
23010
 
    to always fail with ENOSYS.  Some functions are actually named
23011
 
    something starting with __ and the normal name is an alias.  */
23012
 
#if defined __stub_vsnprintf || defined __stub___vsnprintf
23013
 
choke me
23014
 
#endif
23015
 
 
23016
 
int
23017
 
main ()
23018
 
{
23019
 
return vsnprintf ();
23020
 
  ;
23021
 
  return 0;
23022
 
}
23023
 
_ACEOF
23024
 
rm -f conftest.$ac_objext conftest$ac_exeext
23025
 
if { (ac_try="$ac_link"
23026
 
case "(($ac_try" in
23027
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23028
 
  *) ac_try_echo=$ac_try;;
23029
 
esac
23030
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23031
 
  (eval "$ac_link") 2>conftest.er1
23032
 
  ac_status=$?
23033
 
  grep -v '^ *+' conftest.er1 >conftest.err
23034
 
  rm -f conftest.er1
23035
 
  cat conftest.err >&5
23036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037
 
  (exit $ac_status); } && {
23038
 
         test -z "$ac_c_werror_flag" ||
23039
 
         test ! -s conftest.err
23040
 
       } && test -s conftest$ac_exeext &&
23041
 
       $as_test_x conftest$ac_exeext; then
23042
 
  ac_cv_func_vsnprintf=yes
23043
 
else
23044
 
  echo "$as_me: failed program was:" >&5
23045
 
sed 's/^/| /' conftest.$ac_ext >&5
23046
 
 
23047
 
        ac_cv_func_vsnprintf=no
23048
 
fi
23049
 
 
23050
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23051
 
      conftest$ac_exeext conftest.$ac_ext
23052
 
fi
23053
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf" >&5
23054
 
echo "${ECHO_T}$ac_cv_func_vsnprintf" >&6; }
23055
 
if test $ac_cv_func_vsnprintf = yes; then
23056
 
  
23057
 
cat >>confdefs.h <<\_ACEOF
23058
 
@%:@define HAVE_VSNPRINTF 
23059
 
_ACEOF
23060
 
 
23061
 
fi
23062
 
 
23063
 
 
23064
 
save_LIBS=$LIBS
23065
 
{ echo "$as_me:$LINENO: checking for library containing gzopen" >&5
23066
 
echo $ECHO_N "checking for library containing gzopen... $ECHO_C" >&6; }
23067
 
if test "${ac_cv_search_gzopen+set}" = set; then
23068
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23069
 
else
23070
 
  ac_func_search_save_LIBS=$LIBS
23071
 
cat >conftest.$ac_ext <<_ACEOF
23072
 
/* confdefs.h.  */
23073
 
_ACEOF
23074
 
cat confdefs.h >>conftest.$ac_ext
23075
 
cat >>conftest.$ac_ext <<_ACEOF
23076
 
/* end confdefs.h.  */
23077
 
 
23078
 
/* Override any GCC internal prototype to avoid an error.
23079
 
   Use char because int might match the return type of a GCC
23080
 
   builtin and then its argument prototype would still apply.  */
23081
 
#ifdef __cplusplus
23082
 
extern "C"
23083
 
#endif
23084
 
char gzopen ();
23085
 
int
23086
 
main ()
23087
 
{
23088
 
return gzopen ();
23089
 
  ;
23090
 
  return 0;
23091
 
}
23092
 
_ACEOF
23093
 
for ac_lib in '' z; do
23094
 
  if test -z "$ac_lib"; then
23095
 
    ac_res="none required"
23096
 
  else
23097
 
    ac_res=-l$ac_lib
23098
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23099
 
  fi
23100
 
  rm -f conftest.$ac_objext conftest$ac_exeext
23101
 
if { (ac_try="$ac_link"
23102
 
case "(($ac_try" in
23103
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23104
 
  *) ac_try_echo=$ac_try;;
23105
 
esac
23106
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23107
 
  (eval "$ac_link") 2>conftest.er1
23108
 
  ac_status=$?
23109
 
  grep -v '^ *+' conftest.er1 >conftest.err
23110
 
  rm -f conftest.er1
23111
 
  cat conftest.err >&5
23112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113
 
  (exit $ac_status); } && {
23114
 
         test -z "$ac_c_werror_flag" ||
23115
 
         test ! -s conftest.err
23116
 
       } && test -s conftest$ac_exeext &&
23117
 
       $as_test_x conftest$ac_exeext; then
23118
 
  ac_cv_search_gzopen=$ac_res
23119
 
else
23120
 
  echo "$as_me: failed program was:" >&5
23121
 
sed 's/^/| /' conftest.$ac_ext >&5
23122
 
 
23123
 
        
23124
 
fi
23125
 
 
23126
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23127
 
      conftest$ac_exeext 
23128
 
  if test "${ac_cv_search_gzopen+set}" = set; then
23129
 
  break
23130
 
fi
23131
 
done
23132
 
if test "${ac_cv_search_gzopen+set}" = set; then
23133
 
  :
23134
 
else
23135
 
  ac_cv_search_gzopen=no
23136
 
fi
23137
 
rm conftest.$ac_ext
23138
 
LIBS=$ac_func_search_save_LIBS
23139
 
fi
23140
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_gzopen" >&5
23141
 
echo "${ECHO_T}$ac_cv_search_gzopen" >&6; }
23142
 
ac_res=$ac_cv_search_gzopen
23143
 
if test "$ac_res" != no; then
23144
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23145
 
  HAVE_ZLIB=yes
23146
 
else
23147
 
  HAVE_ZLIB=no
23148
 
fi
23149
 
 
23150
 
LIBS=$save_LIBS
23151
 
{ echo "$as_me:$LINENO: checking for library containing BZ2_bzopen" >&5
23152
 
echo $ECHO_N "checking for library containing BZ2_bzopen... $ECHO_C" >&6; }
23153
 
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23154
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23155
 
else
23156
 
  ac_func_search_save_LIBS=$LIBS
23157
 
cat >conftest.$ac_ext <<_ACEOF
23158
 
/* confdefs.h.  */
23159
 
_ACEOF
23160
 
cat confdefs.h >>conftest.$ac_ext
23161
 
cat >>conftest.$ac_ext <<_ACEOF
23162
 
/* end confdefs.h.  */
23163
 
 
23164
 
/* Override any GCC internal prototype to avoid an error.
23165
 
   Use char because int might match the return type of a GCC
23166
 
   builtin and then its argument prototype would still apply.  */
23167
 
#ifdef __cplusplus
23168
 
extern "C"
23169
 
#endif
23170
 
char BZ2_bzopen ();
23171
 
int
23172
 
main ()
23173
 
{
23174
 
return BZ2_bzopen ();
23175
 
  ;
23176
 
  return 0;
23177
 
}
23178
 
_ACEOF
23179
 
for ac_lib in '' bz2; do
23180
 
  if test -z "$ac_lib"; then
23181
 
    ac_res="none required"
23182
 
  else
23183
 
    ac_res=-l$ac_lib
23184
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23185
 
  fi
23186
 
  rm -f conftest.$ac_objext conftest$ac_exeext
23187
 
if { (ac_try="$ac_link"
23188
 
case "(($ac_try" in
23189
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23190
 
  *) ac_try_echo=$ac_try;;
23191
 
esac
23192
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23193
 
  (eval "$ac_link") 2>conftest.er1
23194
 
  ac_status=$?
23195
 
  grep -v '^ *+' conftest.er1 >conftest.err
23196
 
  rm -f conftest.er1
23197
 
  cat conftest.err >&5
23198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199
 
  (exit $ac_status); } && {
23200
 
         test -z "$ac_c_werror_flag" ||
23201
 
         test ! -s conftest.err
23202
 
       } && test -s conftest$ac_exeext &&
23203
 
       $as_test_x conftest$ac_exeext; then
23204
 
  ac_cv_search_BZ2_bzopen=$ac_res
23205
 
else
23206
 
  echo "$as_me: failed program was:" >&5
23207
 
sed 's/^/| /' conftest.$ac_ext >&5
23208
 
 
23209
 
        
23210
 
fi
23211
 
 
23212
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23213
 
      conftest$ac_exeext 
23214
 
  if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23215
 
  break
23216
 
fi
23217
 
done
23218
 
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23219
 
  :
23220
 
else
23221
 
  ac_cv_search_BZ2_bzopen=no
23222
 
fi
23223
 
rm conftest.$ac_ext
23224
 
LIBS=$ac_func_search_save_LIBS
23225
 
fi
23226
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_BZ2_bzopen" >&5
23227
 
echo "${ECHO_T}$ac_cv_search_BZ2_bzopen" >&6; }
23228
 
ac_res=$ac_cv_search_BZ2_bzopen
23229
 
if test "$ac_res" != no; then
23230
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23231
 
  HAVE_BZIP2=yes
23232
 
else
23233
 
  HAVE_BZIP2=no
23234
 
fi
23235
 
 
23236
 
LIBS=$save_LIBS
23237
 
 
23238
 
 if test "$HAVE_ZLIB" = yes; then
23239
 
  HAVE_ZLIB_TRUE=
23240
 
  HAVE_ZLIB_FALSE='#'
23241
 
else
23242
 
  HAVE_ZLIB_TRUE='#'
23243
 
  HAVE_ZLIB_FALSE=
23244
 
fi
23245
 
 
23246
 
 if test "$HAVE_BZIP2" = yes; then
23247
 
  HAVE_BZIP2_TRUE=
23248
 
  HAVE_BZIP2_FALSE='#'
23249
 
else
23250
 
  HAVE_BZIP2_TRUE='#'
23251
 
  HAVE_BZIP2_FALSE=
23252
 
fi
23253
 
 
23254
 
 
23255
 
CODEBLOCKS_CURRENT=0
23256
 
CODEBLOCKS_REVISION=1
23257
 
CODEBLOCKS_AGE=0
23258
 
CODEBLOCKS_VERSION_INFO=$CODEBLOCKS_CURRENT:$CODEBLOCKS_REVISION:$CODEBLOCKS_AGE
23259
 
 
23260
 
 
23261
 
 
23262
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
23263
 
 
23264
 
# Always define AMTAR for backward compatibility.
23265
 
 
23266
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
23267
 
 
23268
 
am__tar='${AMTAR} chf - "$$tardir"'; am__untar='${AMTAR} xf -'
23269
 
 
23270
 
 
23271
 
 
23272
 
 
23273
 
CODEBLOCKS_PLATFORM=gtk
23274
 
 
23275
 
# Check whether --with-platform was given.
23276
 
if test "${with_platform+set}" = set; then
23277
 
  withval=$with_platform; CODEBLOCKS_PLATFORM=$withval
23278
 
else
23279
 
  CODEBLOCKS_PLATFORM=gtk
23280
 
fi
23281
 
 
23282
 
 
23283
 
 
23284
 
  PLATFORM_CFLAGS=""
23285
 
  PLATFORM_LIBS=""
23286
 
 
23287
 
    case $CODEBLOCKS_PLATFORM in 
23288
 
    gtk)
23289
 
      PLATFORM_CFLAGS="-I/usr/X11R6/include"
23290
 
      PLATFORM_LIBS="-L/usr/X11R6/lib -lX11"
23291
 
    ;;
23292
 
    win32)
23293
 
      PLATFORM_CFLAGS=""
23294
 
      PLATFORM_LIBS="-lgdi32"
23295
 
    ;;
23296
 
    macosx)
23297
 
      PLATFORM_CFLAGS=""
23298
 
      PLATFORM_LIBS=""
23299
 
    ;;
23300
 
  esac
23301
 
 
23302
 
  
23303
 
  
23304
 
  
23305
 
 
23306
 
 
23307
 
{ echo "$as_me:$LINENO: checking whether to enable debugging" >&5
23308
 
echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; }
23309
 
debug_default="no"
23310
 
# Check whether --enable-debug was given.
23311
 
if test "${enable_debug+set}" = set; then
23312
 
  enableval=$enable_debug; 
23313
 
else
23314
 
  enable_debug=$debug_default
23315
 
fi
23316
 
 
23317
 
if test "x$enable_debug" = "xyes"; then
23318
 
         CFLAGS="-g -DDEBUG $CFLAGS"
23319
 
         CXXFLAGS="-g -DDEBUG $CXXFLAGS"
23320
 
        { echo "$as_me:$LINENO: result: yes" >&5
23321
 
echo "${ECHO_T}yes" >&6; }
23322
 
else
23323
 
        CFLAGS="-O2 -ffast-math $CFLAGS"
23324
 
        CXXFLAGS="-O2 -ffast-math $CXXFLAGS"
23325
 
        { echo "$as_me:$LINENO: result: no" >&5
23326
 
echo "${ECHO_T}no" >&6; }
23327
 
fi
23328
 
 
23329
 
{ echo "$as_me:$LINENO: checking whether to build the source formatter plugin" >&5
23330
 
echo $ECHO_N "checking whether to build the source formatter plugin... $ECHO_C" >&6; }
23331
 
astyle_default="yes"
23332
 
# Check whether --enable-source-formatter was given.
23333
 
if test "${enable_source_formatter+set}" = set; then
23334
 
  enableval=$enable_source_formatter; 
23335
 
else
23336
 
  enable_astyle=$astyle_default
23337
 
fi
23338
 
 
23339
 
 if test "x$enable_astyle" = "xyes"; then
23340
 
  BUILD_ASTYLE_TRUE=
23341
 
  BUILD_ASTYLE_FALSE='#'
23342
 
else
23343
 
  BUILD_ASTYLE_TRUE='#'
23344
 
  BUILD_ASTYLE_FALSE=
23345
 
fi
23346
 
 
23347
 
if test "x$enable_astyle" = "xyes"; then
23348
 
        { echo "$as_me:$LINENO: result: yes" >&5
23349
 
echo "${ECHO_T}yes" >&6; }
23350
 
else
23351
 
        { echo "$as_me:$LINENO: result: no" >&5
23352
 
echo "${ECHO_T}no" >&6; }
23353
 
fi
23354
 
 
23355
 
{ echo "$as_me:$LINENO: checking whether to build the autosave plugin" >&5
23356
 
echo $ECHO_N "checking whether to build the autosave plugin... $ECHO_C" >&6; }
23357
 
autosave_default="yes"
23358
 
# Check whether --enable-autosave was given.
23359
 
if test "${enable_autosave+set}" = set; then
23360
 
  enableval=$enable_autosave; 
23361
 
else
23362
 
  enable_autosave=$autosave_default
23363
 
fi
23364
 
 
23365
 
 if test "x$enable_autosave" = "xyes"; then
23366
 
  BUILD_AUTOSAVE_TRUE=
23367
 
  BUILD_AUTOSAVE_FALSE='#'
23368
 
else
23369
 
  BUILD_AUTOSAVE_TRUE='#'
23370
 
  BUILD_AUTOSAVE_FALSE=
23371
 
fi
23372
 
 
23373
 
if test "x$enable_autosave" = "xyes"; then
23374
 
        { echo "$as_me:$LINENO: result: yes" >&5
23375
 
echo "${ECHO_T}yes" >&6; }
23376
 
else
23377
 
        { echo "$as_me:$LINENO: result: no" >&5
23378
 
echo "${ECHO_T}no" >&6; }
23379
 
fi
23380
 
 
23381
 
{ echo "$as_me:$LINENO: checking whether to build the class wizard plugin" >&5
23382
 
echo $ECHO_N "checking whether to build the class wizard plugin... $ECHO_C" >&6; }
23383
 
cw_default="yes"
23384
 
# Check whether --enable-class-wizard was given.
23385
 
if test "${enable_class_wizard+set}" = set; then
23386
 
  enableval=$enable_class_wizard; 
23387
 
else
23388
 
  enable_cw=$cw_default
23389
 
fi
23390
 
 
23391
 
 if test "x$enable_cw" = "xyes"; then
23392
 
  BUILD_CLASSWIZARD_TRUE=
23393
 
  BUILD_CLASSWIZARD_FALSE='#'
23394
 
else
23395
 
  BUILD_CLASSWIZARD_TRUE='#'
23396
 
  BUILD_CLASSWIZARD_FALSE=
23397
 
fi
23398
 
 
23399
 
if test "x$enable_cw" = "xyes"; then
23400
 
        { echo "$as_me:$LINENO: result: yes" >&5
23401
 
echo "${ECHO_T}yes" >&6; }
23402
 
else
23403
 
        { echo "$as_me:$LINENO: result: no" >&5
23404
 
echo "${ECHO_T}no" >&6; }
23405
 
fi
23406
 
 
23407
 
{ echo "$as_me:$LINENO: checking whether to build the code completion plugin" >&5
23408
 
echo $ECHO_N "checking whether to build the code completion plugin... $ECHO_C" >&6; }
23409
 
cc_default="yes"
23410
 
# Check whether --enable-code-completion was given.
23411
 
if test "${enable_code_completion+set}" = set; then
23412
 
  enableval=$enable_code_completion; 
23413
 
else
23414
 
  enable_cc=$cc_default
23415
 
fi
23416
 
 
23417
 
 if test "x$enable_cc" = "xyes"; then
23418
 
  BUILD_CODECOMPLETION_TRUE=
23419
 
  BUILD_CODECOMPLETION_FALSE='#'
23420
 
else
23421
 
  BUILD_CODECOMPLETION_TRUE='#'
23422
 
  BUILD_CODECOMPLETION_FALSE=
23423
 
fi
23424
 
 
23425
 
if test "x$enable_cc" = "xyes"; then
23426
 
        { echo "$as_me:$LINENO: result: yes" >&5
23427
 
echo "${ECHO_T}yes" >&6; }
23428
 
else
23429
 
        { echo "$as_me:$LINENO: result: no" >&5
23430
 
echo "${ECHO_T}no" >&6; }
23431
 
fi
23432
 
 
23433
 
{ echo "$as_me:$LINENO: checking whether to build the compiler plugin" >&5
23434
 
echo $ECHO_N "checking whether to build the compiler plugin... $ECHO_C" >&6; }
23435
 
gcc_default="yes"
23436
 
# Check whether --enable-compiler was given.
23437
 
if test "${enable_compiler+set}" = set; then
23438
 
  enableval=$enable_compiler; 
23439
 
else
23440
 
  enable_gcc=$gcc_default
23441
 
fi
23442
 
 
23443
 
 if test "x$enable_gcc" = "xyes"; then
23444
 
  BUILD_COMPILER_TRUE=
23445
 
  BUILD_COMPILER_FALSE='#'
23446
 
else
23447
 
  BUILD_COMPILER_TRUE='#'
23448
 
  BUILD_COMPILER_FALSE=
23449
 
fi
23450
 
 
23451
 
if test "x$enable_gcc" = "xyes"; then
23452
 
        { echo "$as_me:$LINENO: result: yes" >&5
23453
 
echo "${ECHO_T}yes" >&6; }
23454
 
else
23455
 
        { echo "$as_me:$LINENO: result: no" >&5
23456
 
echo "${ECHO_T}no" >&6; }
23457
 
fi
23458
 
 
23459
 
{ echo "$as_me:$LINENO: checking whether to build the debugger plugin" >&5
23460
 
echo $ECHO_N "checking whether to build the debugger plugin... $ECHO_C" >&6; }
23461
 
dbg_default="yes"
23462
 
# Check whether --enable-debugger was given.
23463
 
if test "${enable_debugger+set}" = set; then
23464
 
  enableval=$enable_debugger; 
23465
 
else
23466
 
  enable_dbg=$dbg_default
23467
 
fi
23468
 
 
23469
 
 if test "x$enable_dbg" = "xyes"; then
23470
 
  BUILD_DEBUGGER_TRUE=
23471
 
  BUILD_DEBUGGER_FALSE='#'
23472
 
else
23473
 
  BUILD_DEBUGGER_TRUE='#'
23474
 
  BUILD_DEBUGGER_FALSE=
23475
 
fi
23476
 
 
23477
 
if test "x$enable_dbg" = "xyes"; then
23478
 
        { echo "$as_me:$LINENO: result: yes" >&5
23479
 
echo "${ECHO_T}yes" >&6; }
23480
 
else
23481
 
        { echo "$as_me:$LINENO: result: no" >&5
23482
 
echo "${ECHO_T}no" >&6; }
23483
 
fi
23484
 
 
23485
 
{ echo "$as_me:$LINENO: checking whether to build the default MIME handler plugin" >&5
23486
 
echo $ECHO_N "checking whether to build the default MIME handler plugin... $ECHO_C" >&6; }
23487
 
mime_default="yes"
23488
 
# Check whether --enable-mime-handler was given.
23489
 
if test "${enable_mime_handler+set}" = set; then
23490
 
  enableval=$enable_mime_handler; 
23491
 
else
23492
 
  enable_mime=$mime_default
23493
 
fi
23494
 
 
23495
 
 if test "x$enable_mime" = "xyes"; then
23496
 
  BUILD_MIMEHANDLER_TRUE=
23497
 
  BUILD_MIMEHANDLER_FALSE='#'
23498
 
else
23499
 
  BUILD_MIMEHANDLER_TRUE='#'
23500
 
  BUILD_MIMEHANDLER_FALSE=
23501
 
fi
23502
 
 
23503
 
if test "x$enable_mime" = "xyes"; then
23504
 
        { echo "$as_me:$LINENO: result: yes" >&5
23505
 
echo "${ECHO_T}yes" >&6; }
23506
 
else
23507
 
        { echo "$as_me:$LINENO: result: no" >&5
23508
 
echo "${ECHO_T}no" >&6; }
23509
 
fi
23510
 
 
23511
 
{ echo "$as_me:$LINENO: checking whether to build the open files list plugin" >&5
23512
 
echo $ECHO_N "checking whether to build the open files list plugin... $ECHO_C" >&6; }
23513
 
openfiles_default="yes"
23514
 
# Check whether --enable-open-files-list was given.
23515
 
if test "${enable_open_files_list+set}" = set; then
23516
 
  enableval=$enable_open_files_list; 
23517
 
else
23518
 
  enable_openfiles=$openfiles_default
23519
 
fi
23520
 
 
23521
 
 if test "x$enable_openfiles" = "xyes"; then
23522
 
  BUILD_OPENFILESLIST_TRUE=
23523
 
  BUILD_OPENFILESLIST_FALSE='#'
23524
 
else
23525
 
  BUILD_OPENFILESLIST_TRUE='#'
23526
 
  BUILD_OPENFILESLIST_FALSE=
23527
 
fi
23528
 
 
23529
 
if test "x$enable_openfiles" = "xyes"; then
23530
 
        { echo "$as_me:$LINENO: result: yes" >&5
23531
 
echo "${ECHO_T}yes" >&6; }
23532
 
else
23533
 
        { echo "$as_me:$LINENO: result: no" >&5
23534
 
echo "${ECHO_T}no" >&6; }
23535
 
fi
23536
 
 
23537
 
{ echo "$as_me:$LINENO: checking whether to build the foreign projects importer plugin" >&5
23538
 
echo $ECHO_N "checking whether to build the foreign projects importer plugin... $ECHO_C" >&6; }
23539
 
pimport_default="yes"
23540
 
# Check whether --enable-projects-importer was given.
23541
 
if test "${enable_projects_importer+set}" = set; then
23542
 
  enableval=$enable_projects_importer; 
23543
 
else
23544
 
  enable_pimport=$pimport_default
23545
 
fi
23546
 
 
23547
 
 if test "x$enable_pimport" = "xyes"; then
23548
 
  BUILD_PROJECTSIMPORTER_TRUE=
23549
 
  BUILD_PROJECTSIMPORTER_FALSE='#'
23550
 
else
23551
 
  BUILD_PROJECTSIMPORTER_TRUE='#'
23552
 
  BUILD_PROJECTSIMPORTER_FALSE=
23553
 
fi
23554
 
 
23555
 
if test "x$enable_pimport" = "xyes"; then
23556
 
        { echo "$as_me:$LINENO: result: yes" >&5
23557
 
echo "${ECHO_T}yes" >&6; }
23558
 
else
23559
 
        { echo "$as_me:$LINENO: result: no" >&5
23560
 
echo "${ECHO_T}no" >&6; }
23561
 
fi
23562
 
 
23563
 
{ echo "$as_me:$LINENO: checking whether to build the scripted wizard plugin" >&5
23564
 
echo $ECHO_N "checking whether to build the scripted wizard plugin... $ECHO_C" >&6; }
23565
 
prw_default="yes"
23566
 
# Check whether --enable-scripted-wizard was given.
23567
 
if test "${enable_scripted_wizard+set}" = set; then
23568
 
  enableval=$enable_scripted_wizard; 
23569
 
else
23570
 
  enable_prw=$prw_default
23571
 
fi
23572
 
 
23573
 
 if test "x$enable_prw" = "xyes"; then
23574
 
  BUILD_SCRIPTEDWIZARD_TRUE=
23575
 
  BUILD_SCRIPTEDWIZARD_FALSE='#'
23576
 
else
23577
 
  BUILD_SCRIPTEDWIZARD_TRUE='#'
23578
 
  BUILD_SCRIPTEDWIZARD_FALSE=
23579
 
fi
23580
 
 
23581
 
if test "x$enable_prw" = "xyes"; then
23582
 
        { echo "$as_me:$LINENO: result: yes" >&5
23583
 
echo "${ECHO_T}yes" >&6; }
23584
 
else
23585
 
        { echo "$as_me:$LINENO: result: no" >&5
23586
 
echo "${ECHO_T}no" >&6; }
23587
 
fi
23588
 
 
23589
 
{ echo "$as_me:$LINENO: checking whether to build the to-do plugin" >&5
23590
 
echo $ECHO_N "checking whether to build the to-do plugin... $ECHO_C" >&6; }
23591
 
todo_default="yes"
23592
 
# Check whether --enable-todo was given.
23593
 
if test "${enable_todo+set}" = set; then
23594
 
  enableval=$enable_todo; 
23595
 
else
23596
 
  enable_todo=$todo_default
23597
 
fi
23598
 
 
23599
 
 if test "x$enable_todo" = "xyes"; then
23600
 
  BUILD_TODO_TRUE=
23601
 
  BUILD_TODO_FALSE='#'
23602
 
else
23603
 
  BUILD_TODO_TRUE='#'
23604
 
  BUILD_TODO_FALSE=
23605
 
fi
23606
 
 
23607
 
if test "x$enable_todo" = "xyes"; then
23608
 
        { echo "$as_me:$LINENO: result: yes" >&5
23609
 
echo "${ECHO_T}yes" >&6; }
23610
 
else
23611
 
        { echo "$as_me:$LINENO: result: no" >&5
23612
 
echo "${ECHO_T}no" >&6; }
23613
 
fi
23614
 
 
23615
 
 
23616
 
case $host in
23617
 
        *-*-cygwin* | *-*-mingw*)
23618
 
                { echo "$as_me:$LINENO: checking whether to build the xp-manifest plugin" >&5
23619
 
echo $ECHO_N "checking whether to build the xp-manifest plugin... $ECHO_C" >&6; }
23620
 
                xpmanifest_default="yes"
23621
 
                # Check whether --enable-todo was given.
23622
 
if test "${enable_todo+set}" = set; then
23623
 
  enableval=$enable_todo; 
23624
 
else
23625
 
  enable_xpmanifest=$xpmanifest_default
23626
 
fi
23627
 
 
23628
 
                 if test "x$enable_xpmanifest" = "xyes"; then
23629
 
  BUILD_MANIFEST_TRUE=
23630
 
  BUILD_MANIFEST_FALSE='#'
23631
 
else
23632
 
  BUILD_MANIFEST_TRUE='#'
23633
 
  BUILD_MANIFEST_FALSE=
23634
 
fi
23635
 
 
23636
 
                if test "x$enable_xpmanifest" = "xyes"; then
23637
 
                        { echo "$as_me:$LINENO: result: yes" >&5
23638
 
echo "${ECHO_T}yes" >&6; }
23639
 
                else
23640
 
                        { echo "$as_me:$LINENO: result: no" >&5
23641
 
echo "${ECHO_T}no" >&6; }
23642
 
                fi
23643
 
                ;;
23644
 
        *)
23645
 
                 if false; then
23646
 
  BUILD_MANIFEST_TRUE=
23647
 
  BUILD_MANIFEST_FALSE='#'
23648
 
else
23649
 
  BUILD_MANIFEST_TRUE='#'
23650
 
  BUILD_MANIFEST_FALSE=
23651
 
fi
23652
 
 
23653
 
                ;;
23654
 
esac
23655
 
 
23656
 
 
23657
 
 
23658
 
 
23659
 
 
23660
 
# default to 'none'
23661
 
 
23662
 
         if false; then
23663
 
  BUILD_AUTOVERSIONING_TRUE=
23664
 
  BUILD_AUTOVERSIONING_FALSE='#'
23665
 
else
23666
 
  BUILD_AUTOVERSIONING_TRUE='#'
23667
 
  BUILD_AUTOVERSIONING_FALSE=
23668
 
fi
23669
 
 
23670
 
         if false; then
23671
 
  BUILD_BROWSETRACKER_TRUE=
23672
 
  BUILD_BROWSETRACKER_FALSE='#'
23673
 
else
23674
 
  BUILD_BROWSETRACKER_TRUE='#'
23675
 
  BUILD_BROWSETRACKER_FALSE=
23676
 
fi
23677
 
 
23678
 
         if false; then
23679
 
  BUILD_BYOGAMES_TRUE=
23680
 
  BUILD_BYOGAMES_FALSE='#'
23681
 
else
23682
 
  BUILD_BYOGAMES_TRUE='#'
23683
 
  BUILD_BYOGAMES_FALSE=
23684
 
fi
23685
 
 
23686
 
         if false; then
23687
 
  BUILD_CBKODERS_TRUE=
23688
 
  BUILD_CBKODERS_FALSE='#'
23689
 
else
23690
 
  BUILD_CBKODERS_TRUE='#'
23691
 
  BUILD_CBKODERS_FALSE=
23692
 
fi
23693
 
 
23694
 
         if false; then
23695
 
  BUILD_CODESNIPPETS_TRUE=
23696
 
  BUILD_CODESNIPPETS_FALSE='#'
23697
 
else
23698
 
  BUILD_CODESNIPPETS_TRUE='#'
23699
 
  BUILD_CODESNIPPETS_FALSE=
23700
 
fi
23701
 
 
23702
 
         if false; then
23703
 
  BUILD_CODESTAT_TRUE=
23704
 
  BUILD_CODESTAT_FALSE='#'
23705
 
else
23706
 
  BUILD_CODESTAT_TRUE='#'
23707
 
  BUILD_CODESTAT_FALSE=
23708
 
fi
23709
 
 
23710
 
         if false; then
23711
 
  BUILD_DRAGSCROLL_TRUE=
23712
 
  BUILD_DRAGSCROLL_FALSE='#'
23713
 
else
23714
 
  BUILD_DRAGSCROLL_TRUE='#'
23715
 
  BUILD_DRAGSCROLL_FALSE=
23716
 
fi
23717
 
 
23718
 
         if false; then
23719
 
  BUILD_ENVVARS_TRUE=
23720
 
  BUILD_ENVVARS_FALSE='#'
23721
 
else
23722
 
  BUILD_ENVVARS_TRUE='#'
23723
 
  BUILD_ENVVARS_FALSE=
23724
 
fi
23725
 
 
23726
 
         if false; then
23727
 
  BUILD_HELP_TRUE=
23728
 
  BUILD_HELP_FALSE='#'
23729
 
else
23730
 
  BUILD_HELP_TRUE='#'
23731
 
  BUILD_HELP_FALSE=
23732
 
fi
23733
 
 
23734
 
         if false; then
23735
 
  BUILD_KEYBINDER_TRUE=
23736
 
  BUILD_KEYBINDER_FALSE='#'
23737
 
else
23738
 
  BUILD_KEYBINDER_TRUE='#'
23739
 
  BUILD_KEYBINDER_FALSE=
23740
 
fi
23741
 
 
23742
 
         if false; then
23743
 
  BUILD_LIBFINDER_TRUE=
23744
 
  BUILD_LIBFINDER_FALSE='#'
23745
 
else
23746
 
  BUILD_LIBFINDER_TRUE='#'
23747
 
  BUILD_LIBFINDER_FALSE=
23748
 
fi
23749
 
 
23750
 
         if false; then
23751
 
  BUILD_PROFILER_TRUE=
23752
 
  BUILD_PROFILER_FALSE='#'
23753
 
else
23754
 
  BUILD_PROFILER_TRUE='#'
23755
 
  BUILD_PROFILER_FALSE=
23756
 
fi
23757
 
 
23758
 
         if false; then
23759
 
  BUILD_REGEX_TRUE=
23760
 
  BUILD_REGEX_FALSE='#'
23761
 
else
23762
 
  BUILD_REGEX_TRUE='#'
23763
 
  BUILD_REGEX_FALSE=
23764
 
fi
23765
 
 
23766
 
         if false; then
23767
 
  BUILD_EXPORTER_TRUE=
23768
 
  BUILD_EXPORTER_FALSE='#'
23769
 
else
23770
 
  BUILD_EXPORTER_TRUE='#'
23771
 
  BUILD_EXPORTER_FALSE=
23772
 
fi
23773
 
 
23774
 
         if false; then
23775
 
  BUILD_SYMTAB_TRUE=
23776
 
  BUILD_SYMTAB_FALSE='#'
23777
 
else
23778
 
  BUILD_SYMTAB_TRUE='#'
23779
 
  BUILD_SYMTAB_FALSE=
23780
 
fi
23781
 
 
23782
 
         if false; then
23783
 
  BUILD_THREADSEARCH_TRUE=
23784
 
  BUILD_THREADSEARCH_FALSE='#'
23785
 
else
23786
 
  BUILD_THREADSEARCH_TRUE='#'
23787
 
  BUILD_THREADSEARCH_FALSE=
23788
 
fi
23789
 
 
23790
 
         if false; then
23791
 
  BUILD_WXSMITH_TRUE=
23792
 
  BUILD_WXSMITH_FALSE='#'
23793
 
else
23794
 
  BUILD_WXSMITH_TRUE='#'
23795
 
  BUILD_WXSMITH_FALSE=
23796
 
fi
23797
 
 
23798
 
 
23799
 
 
23800
 
{ echo "$as_me:$LINENO: checking which (if any) contrib plugins to build" >&5
23801
 
echo $ECHO_N "checking which (if any) contrib plugins to build... $ECHO_C" >&6; }
23802
 
 
23803
 
# Check whether --with-contrib-plugins was given.
23804
 
if test "${with_contrib_plugins+set}" = set; then
23805
 
  withval=$with_contrib_plugins; plugins="$withval"
23806
 
else
23807
 
  plugins="none"
23808
 
fi
23809
 
 
23810
 
 
23811
 
plugins=`echo $plugins | sed 's/,/ /g'`
23812
 
for plugin in $plugins
23813
 
do
23814
 
    case "$plugin" in
23815
 
        all)
23816
 
                
23817
 
         if true; then
23818
 
  BUILD_AUTOVERSIONING_TRUE=
23819
 
  BUILD_AUTOVERSIONING_FALSE='#'
23820
 
else
23821
 
  BUILD_AUTOVERSIONING_TRUE='#'
23822
 
  BUILD_AUTOVERSIONING_FALSE=
23823
 
fi
23824
 
 
23825
 
         if true; then
23826
 
  BUILD_BROWSETRACKER_TRUE=
23827
 
  BUILD_BROWSETRACKER_FALSE='#'
23828
 
else
23829
 
  BUILD_BROWSETRACKER_TRUE='#'
23830
 
  BUILD_BROWSETRACKER_FALSE=
23831
 
fi
23832
 
 
23833
 
         if true; then
23834
 
  BUILD_BYOGAMES_TRUE=
23835
 
  BUILD_BYOGAMES_FALSE='#'
23836
 
else
23837
 
  BUILD_BYOGAMES_TRUE='#'
23838
 
  BUILD_BYOGAMES_FALSE=
23839
 
fi
23840
 
 
23841
 
         if true; then
23842
 
  BUILD_CBKODERS_TRUE=
23843
 
  BUILD_CBKODERS_FALSE='#'
23844
 
else
23845
 
  BUILD_CBKODERS_TRUE='#'
23846
 
  BUILD_CBKODERS_FALSE=
23847
 
fi
23848
 
 
23849
 
         if true; then
23850
 
  BUILD_CODESNIPPETS_TRUE=
23851
 
  BUILD_CODESNIPPETS_FALSE='#'
23852
 
else
23853
 
  BUILD_CODESNIPPETS_TRUE='#'
23854
 
  BUILD_CODESNIPPETS_FALSE=
23855
 
fi
23856
 
 
23857
 
         if true; then
23858
 
  BUILD_CODESTAT_TRUE=
23859
 
  BUILD_CODESTAT_FALSE='#'
23860
 
else
23861
 
  BUILD_CODESTAT_TRUE='#'
23862
 
  BUILD_CODESTAT_FALSE=
23863
 
fi
23864
 
 
23865
 
         if true; then
23866
 
  BUILD_DRAGSCROLL_TRUE=
23867
 
  BUILD_DRAGSCROLL_FALSE='#'
23868
 
else
23869
 
  BUILD_DRAGSCROLL_TRUE='#'
23870
 
  BUILD_DRAGSCROLL_FALSE=
23871
 
fi
23872
 
 
23873
 
         if true; then
23874
 
  BUILD_ENVVARS_TRUE=
23875
 
  BUILD_ENVVARS_FALSE='#'
23876
 
else
23877
 
  BUILD_ENVVARS_TRUE='#'
23878
 
  BUILD_ENVVARS_FALSE=
23879
 
fi
23880
 
 
23881
 
         if true; then
23882
 
  BUILD_HELP_TRUE=
23883
 
  BUILD_HELP_FALSE='#'
23884
 
else
23885
 
  BUILD_HELP_TRUE='#'
23886
 
  BUILD_HELP_FALSE=
23887
 
fi
23888
 
 
23889
 
         if true; then
23890
 
  BUILD_KEYBINDER_TRUE=
23891
 
  BUILD_KEYBINDER_FALSE='#'
23892
 
else
23893
 
  BUILD_KEYBINDER_TRUE='#'
23894
 
  BUILD_KEYBINDER_FALSE=
23895
 
fi
23896
 
 
23897
 
         if true; then
23898
 
  BUILD_LIBFINDER_TRUE=
23899
 
  BUILD_LIBFINDER_FALSE='#'
23900
 
else
23901
 
  BUILD_LIBFINDER_TRUE='#'
23902
 
  BUILD_LIBFINDER_FALSE=
23903
 
fi
23904
 
 
23905
 
         if true; then
23906
 
  BUILD_PROFILER_TRUE=
23907
 
  BUILD_PROFILER_FALSE='#'
23908
 
else
23909
 
  BUILD_PROFILER_TRUE='#'
23910
 
  BUILD_PROFILER_FALSE=
23911
 
fi
23912
 
 
23913
 
         if true; then
23914
 
  BUILD_REGEX_TRUE=
23915
 
  BUILD_REGEX_FALSE='#'
23916
 
else
23917
 
  BUILD_REGEX_TRUE='#'
23918
 
  BUILD_REGEX_FALSE=
23919
 
fi
23920
 
 
23921
 
         if true; then
23922
 
  BUILD_EXPORTER_TRUE=
23923
 
  BUILD_EXPORTER_FALSE='#'
23924
 
else
23925
 
  BUILD_EXPORTER_TRUE='#'
23926
 
  BUILD_EXPORTER_FALSE=
23927
 
fi
23928
 
 
23929
 
         if true; then
23930
 
  BUILD_SYMTAB_TRUE=
23931
 
  BUILD_SYMTAB_FALSE='#'
23932
 
else
23933
 
  BUILD_SYMTAB_TRUE='#'
23934
 
  BUILD_SYMTAB_FALSE=
23935
 
fi
23936
 
 
23937
 
         if true; then
23938
 
  BUILD_THREADSEARCH_TRUE=
23939
 
  BUILD_THREADSEARCH_FALSE='#'
23940
 
else
23941
 
  BUILD_THREADSEARCH_TRUE='#'
23942
 
  BUILD_THREADSEARCH_FALSE=
23943
 
fi
23944
 
 
23945
 
         if true; then
23946
 
  BUILD_WXSMITH_TRUE=
23947
 
  BUILD_WXSMITH_FALSE='#'
23948
 
else
23949
 
  BUILD_WXSMITH_TRUE='#'
23950
 
  BUILD_WXSMITH_FALSE=
23951
 
fi
23952
 
 
23953
 
 
23954
 
                ;;
23955
 
        AutoVersioning)
23956
 
                 if true; then
23957
 
  BUILD_AUTOVERSIONING_TRUE=
23958
 
  BUILD_AUTOVERSIONING_FALSE='#'
23959
 
else
23960
 
  BUILD_AUTOVERSIONING_TRUE='#'
23961
 
  BUILD_AUTOVERSIONING_FALSE=
23962
 
fi
23963
 
 
23964
 
                ;;
23965
 
        BrowseTracker)
23966
 
                 if true; then
23967
 
  BUILD_BROWSETRACKER_TRUE=
23968
 
  BUILD_BROWSETRACKER_FALSE='#'
23969
 
else
23970
 
  BUILD_BROWSETRACKER_TRUE='#'
23971
 
  BUILD_BROWSETRACKER_FALSE=
23972
 
fi
23973
 
 
23974
 
                ;;
23975
 
        byogames)
23976
 
                 if true; then
23977
 
  BUILD_BYOGAMES_TRUE=
23978
 
  BUILD_BYOGAMES_FALSE='#'
23979
 
else
23980
 
  BUILD_BYOGAMES_TRUE='#'
23981
 
  BUILD_BYOGAMES_FALSE=
23982
 
fi
23983
 
 
23984
 
                ;;
23985
 
        cbkoders)
23986
 
                 if true; then
23987
 
  BUILD_CBKODERS_TRUE=
23988
 
  BUILD_CBKODERS_FALSE='#'
23989
 
else
23990
 
  BUILD_CBKODERS_TRUE='#'
23991
 
  BUILD_CBKODERS_FALSE=
23992
 
fi
23993
 
 
23994
 
                ;;
23995
 
        codesnippets)
23996
 
                 if true; then
23997
 
  BUILD_CODESNIPPETS_TRUE=
23998
 
  BUILD_CODESNIPPETS_FALSE='#'
23999
 
else
24000
 
  BUILD_CODESNIPPETS_TRUE='#'
24001
 
  BUILD_CODESNIPPETS_FALSE=
24002
 
fi
24003
 
 
24004
 
                ;;
24005
 
        codestat)
24006
 
                 if true; then
24007
 
  BUILD_CODESTAT_TRUE=
24008
 
  BUILD_CODESTAT_FALSE='#'
24009
 
else
24010
 
  BUILD_CODESTAT_TRUE='#'
24011
 
  BUILD_CODESTAT_FALSE=
24012
 
fi
24013
 
 
24014
 
                ;;
24015
 
        dragscroll)
24016
 
                 if true; then
24017
 
  BUILD_DRAGSCROLL_TRUE=
24018
 
  BUILD_DRAGSCROLL_FALSE='#'
24019
 
else
24020
 
  BUILD_DRAGSCROLL_TRUE='#'
24021
 
  BUILD_DRAGSCROLL_FALSE=
24022
 
fi
24023
 
 
24024
 
                ;;
24025
 
        envvars)
24026
 
                 if true; then
24027
 
  BUILD_ENVVARS_TRUE=
24028
 
  BUILD_ENVVARS_FALSE='#'
24029
 
else
24030
 
  BUILD_ENVVARS_TRUE='#'
24031
 
  BUILD_ENVVARS_FALSE=
24032
 
fi
24033
 
 
24034
 
                ;;
24035
 
        help)
24036
 
                 if true; then
24037
 
  BUILD_HELP_TRUE=
24038
 
  BUILD_HELP_FALSE='#'
24039
 
else
24040
 
  BUILD_HELP_TRUE='#'
24041
 
  BUILD_HELP_FALSE=
24042
 
fi
24043
 
 
24044
 
                ;;
24045
 
        keybinder)
24046
 
                 if true; then
24047
 
  BUILD_KEYBINDER_TRUE=
24048
 
  BUILD_KEYBINDER_FALSE='#'
24049
 
else
24050
 
  BUILD_KEYBINDER_TRUE='#'
24051
 
  BUILD_KEYBINDER_FALSE=
24052
 
fi
24053
 
 
24054
 
                ;;
24055
 
        libfinder)
24056
 
                 if true; then
24057
 
  BUILD_LIBFINDER_TRUE=
24058
 
  BUILD_LIBFINDER_FALSE='#'
24059
 
else
24060
 
  BUILD_LIBFINDER_TRUE='#'
24061
 
  BUILD_LIBFINDER_FALSE=
24062
 
fi
24063
 
 
24064
 
                ;;
24065
 
        profiler)
24066
 
                 if true; then
24067
 
  BUILD_PROFILER_TRUE=
24068
 
  BUILD_PROFILER_FALSE='#'
24069
 
else
24070
 
  BUILD_PROFILER_TRUE='#'
24071
 
  BUILD_PROFILER_FALSE=
24072
 
fi
24073
 
 
24074
 
                ;;
24075
 
        regex)
24076
 
                 if true; then
24077
 
  BUILD_REGEX_TRUE=
24078
 
  BUILD_REGEX_FALSE='#'
24079
 
else
24080
 
  BUILD_REGEX_TRUE='#'
24081
 
  BUILD_REGEX_FALSE=
24082
 
fi
24083
 
 
24084
 
                ;;
24085
 
        exporter)
24086
 
                 if true; then
24087
 
  BUILD_EXPORTER_TRUE=
24088
 
  BUILD_EXPORTER_FALSE='#'
24089
 
else
24090
 
  BUILD_EXPORTER_TRUE='#'
24091
 
  BUILD_EXPORTER_FALSE=
24092
 
fi
24093
 
 
24094
 
                ;;
24095
 
        symtab)
24096
 
                 if true; then
24097
 
  BUILD_SYMTAB_TRUE=
24098
 
  BUILD_SYMTAB_FALSE='#'
24099
 
else
24100
 
  BUILD_SYMTAB_TRUE='#'
24101
 
  BUILD_SYMTAB_FALSE=
24102
 
fi
24103
 
 
24104
 
                ;;
24105
 
        ThreadSearch)
24106
 
                 if true; then
24107
 
  BUILD_THREADSEARCH_TRUE=
24108
 
  BUILD_THREADSEARCH_FALSE='#'
24109
 
else
24110
 
  BUILD_THREADSEARCH_TRUE='#'
24111
 
  BUILD_THREADSEARCH_FALSE=
24112
 
fi
24113
 
 
24114
 
                ;;
24115
 
        wxsmith)
24116
 
                 if true; then
24117
 
  BUILD_WXSMITH_TRUE=
24118
 
  BUILD_WXSMITH_FALSE='#'
24119
 
else
24120
 
  BUILD_WXSMITH_TRUE='#'
24121
 
  BUILD_WXSMITH_FALSE=
24122
 
fi
24123
 
 
24124
 
                ;;
24125
 
        -AutoVersioning)
24126
 
                 if false; then
24127
 
  BUILD_AUTOVERSIONING_TRUE=
24128
 
  BUILD_AUTOVERSIONING_FALSE='#'
24129
 
else
24130
 
  BUILD_AUTOVERSIONING_TRUE='#'
24131
 
  BUILD_AUTOVERSIONING_FALSE=
24132
 
fi
24133
 
 
24134
 
                ;;
24135
 
        -BrowseTracker)
24136
 
                 if false; then
24137
 
  BUILD_BROWSETRACKER_TRUE=
24138
 
  BUILD_BROWSETRACKER_FALSE='#'
24139
 
else
24140
 
  BUILD_BROWSETRACKER_TRUE='#'
24141
 
  BUILD_BROWSETRACKER_FALSE=
24142
 
fi
24143
 
 
24144
 
                ;;
24145
 
        -byogames)
24146
 
                 if false; then
24147
 
  BUILD_BYOGAMES_TRUE=
24148
 
  BUILD_BYOGAMES_FALSE='#'
24149
 
else
24150
 
  BUILD_BYOGAMES_TRUE='#'
24151
 
  BUILD_BYOGAMES_FALSE=
24152
 
fi
24153
 
 
24154
 
                ;;
24155
 
        -cbkoders)
24156
 
                 if false; then
24157
 
  BUILD_CBKODERS_TRUE=
24158
 
  BUILD_CBKODERS_FALSE='#'
24159
 
else
24160
 
  BUILD_CBKODERS_TRUE='#'
24161
 
  BUILD_CBKODERS_FALSE=
24162
 
fi
24163
 
 
24164
 
                ;;
24165
 
        -codesnippets)
24166
 
                 if false; then
24167
 
  BUILD_CODESNIPPETS_TRUE=
24168
 
  BUILD_CODESNIPPETS_FALSE='#'
24169
 
else
24170
 
  BUILD_CODESNIPPETS_TRUE='#'
24171
 
  BUILD_CODESNIPPETS_FALSE=
24172
 
fi
24173
 
 
24174
 
                ;;
24175
 
        -codestat)
24176
 
                 if false; then
24177
 
  BUILD_CODESTAT_TRUE=
24178
 
  BUILD_CODESTAT_FALSE='#'
24179
 
else
24180
 
  BUILD_CODESTAT_TRUE='#'
24181
 
  BUILD_CODESTAT_FALSE=
24182
 
fi
24183
 
 
24184
 
                ;;
24185
 
        -dragscroll)
24186
 
                 if false; then
24187
 
  BUILD_DRAGSCROLL_TRUE=
24188
 
  BUILD_DRAGSCROLL_FALSE='#'
24189
 
else
24190
 
  BUILD_DRAGSCROLL_TRUE='#'
24191
 
  BUILD_DRAGSCROLL_FALSE=
24192
 
fi
24193
 
 
24194
 
                ;;
24195
 
        -envvars)
24196
 
                 if false; then
24197
 
  BUILD_ENVVARS_TRUE=
24198
 
  BUILD_ENVVARS_FALSE='#'
24199
 
else
24200
 
  BUILD_ENVVARS_TRUE='#'
24201
 
  BUILD_ENVVARS_FALSE=
24202
 
fi
24203
 
 
24204
 
                ;;
24205
 
        -help)
24206
 
                 if false; then
24207
 
  BUILD_HELP_TRUE=
24208
 
  BUILD_HELP_FALSE='#'
24209
 
else
24210
 
  BUILD_HELP_TRUE='#'
24211
 
  BUILD_HELP_FALSE=
24212
 
fi
24213
 
 
24214
 
                ;;
24215
 
        -keybinder)
24216
 
                 if false; then
24217
 
  BUILD_KEYBINDER_TRUE=
24218
 
  BUILD_KEYBINDER_FALSE='#'
24219
 
else
24220
 
  BUILD_KEYBINDER_TRUE='#'
24221
 
  BUILD_KEYBINDER_FALSE=
24222
 
fi
24223
 
 
24224
 
                ;;
24225
 
        -libfinder)
24226
 
                 if false; then
24227
 
  BUILD_LIBFINDER_TRUE=
24228
 
  BUILD_LIBFINDER_FALSE='#'
24229
 
else
24230
 
  BUILD_LIBFINDER_TRUE='#'
24231
 
  BUILD_LIBFINDER_FALSE=
24232
 
fi
24233
 
 
24234
 
                ;;
24235
 
        -profiler)
24236
 
                 if false; then
24237
 
  BUILD_PROFILER_TRUE=
24238
 
  BUILD_PROFILER_FALSE='#'
24239
 
else
24240
 
  BUILD_PROFILER_TRUE='#'
24241
 
  BUILD_PROFILER_FALSE=
24242
 
fi
24243
 
 
24244
 
                ;;
24245
 
        -regex)
24246
 
                 if false; then
24247
 
  BUILD_REGEX_TRUE=
24248
 
  BUILD_REGEX_FALSE='#'
24249
 
else
24250
 
  BUILD_REGEX_TRUE='#'
24251
 
  BUILD_REGEX_FALSE=
24252
 
fi
24253
 
 
24254
 
                ;;
24255
 
        -exporter)
24256
 
                 if false; then
24257
 
  BUILD_EXPORTER_TRUE=
24258
 
  BUILD_EXPORTER_FALSE='#'
24259
 
else
24260
 
  BUILD_EXPORTER_TRUE='#'
24261
 
  BUILD_EXPORTER_FALSE=
24262
 
fi
24263
 
 
24264
 
                ;;
24265
 
        -symtab)
24266
 
                 if false; then
24267
 
  BUILD_SYMTAB_TRUE=
24268
 
  BUILD_SYMTAB_FALSE='#'
24269
 
else
24270
 
  BUILD_SYMTAB_TRUE='#'
24271
 
  BUILD_SYMTAB_FALSE=
24272
 
fi
24273
 
 
24274
 
                ;;
24275
 
        -ThreadSearch)
24276
 
                 if false; then
24277
 
  BUILD_THREADSEARCH_TRUE=
24278
 
  BUILD_THREADSEARCH_FALSE='#'
24279
 
else
24280
 
  BUILD_THREADSEARCH_TRUE='#'
24281
 
  BUILD_THREADSEARCH_FALSE=
24282
 
fi
24283
 
 
24284
 
                ;;
24285
 
        -wxsmith)
24286
 
                 if false; then
24287
 
  BUILD_WXSMITH_TRUE=
24288
 
  BUILD_WXSMITH_FALSE='#'
24289
 
else
24290
 
  BUILD_WXSMITH_TRUE='#'
24291
 
  BUILD_WXSMITH_FALSE=
24292
 
fi
24293
 
 
24294
 
                ;;
24295
 
        *)
24296
 
                echo "Unknown contrib plugin $plugin, ignoring"
24297
 
                ;;
24298
 
    esac
24299
 
done
24300
 
{ echo "$as_me:$LINENO: result: $plugins" >&5
24301
 
echo "${ECHO_T}$plugins" >&6; }
24302
 
 
24303
 
 
24304
 
 
24305
 
 
24306
 
 
24307
 
 
24308
 
 
24309
 
 
24310
 
 
24311
 
 
24312
 
 
24313
 
 
24314
 
 
24315
 
 
24316
 
 
24317
 
 
24318
 
 
24319
 
 
24320
 
 
24321
 
 
24322
 
 
24323
 
GCC_PCH=0
24324
 
PCH_FLAGS=
24325
 
pch_default="yes"
24326
 
 if false; then
24327
 
  PRECOMPILE_HEADERS_TRUE=
24328
 
  PRECOMPILE_HEADERS_FALSE='#'
24329
 
else
24330
 
  PRECOMPILE_HEADERS_TRUE='#'
24331
 
  PRECOMPILE_HEADERS_FALSE=
24332
 
fi
24333
 
 
24334
 
# Check whether --enable-pch was given.
24335
 
if test "${enable_pch+set}" = set; then
24336
 
  enableval=$enable_pch; 
24337
 
else
24338
 
  enable_pch=$pch_default
24339
 
fi
24340
 
 
24341
 
if test "x$enable_pch" = "x" -o "x$enable_pch" = "xyes" ; then
24342
 
    if test "x$GCC" = "xyes"; then
24343
 
                { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
24344
 
echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
24345
 
        cat >conftest.$ac_ext <<_ACEOF
24346
 
/* confdefs.h.  */
24347
 
_ACEOF
24348
 
cat confdefs.h >>conftest.$ac_ext
24349
 
cat >>conftest.$ac_ext <<_ACEOF
24350
 
/* end confdefs.h.  */
24351
 
 
24352
 
int
24353
 
main ()
24354
 
{
24355
 
 
24356
 
                #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
24357
 
                    #error "no pch support"
24358
 
                #endif
24359
 
                #if (__GNUC__ < 3)
24360
 
                    #error "no pch support"
24361
 
                #endif
24362
 
                #if (__GNUC__ == 3) && \
24363
 
                   ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
24364
 
                   ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
24365
 
                    #error "no pch support"
24366
 
                #endif
24367
 
            
24368
 
  ;
24369
 
  return 0;
24370
 
}
24371
 
_ACEOF
24372
 
rm -f conftest.$ac_objext
24373
 
if { (ac_try="$ac_compile"
24374
 
case "(($ac_try" in
24375
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24376
 
  *) ac_try_echo=$ac_try;;
24377
 
esac
24378
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24379
 
  (eval "$ac_compile") 2>conftest.er1
24380
 
  ac_status=$?
24381
 
  grep -v '^ *+' conftest.er1 >conftest.err
24382
 
  rm -f conftest.er1
24383
 
  cat conftest.err >&5
24384
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385
 
  (exit $ac_status); } && {
24386
 
         test -z "$ac_c_werror_flag" ||
24387
 
         test ! -s conftest.err
24388
 
       } && test -s conftest.$ac_objext; then
24389
 
  
24390
 
                { echo "$as_me:$LINENO: result: yes" >&5
24391
 
echo "${ECHO_T}yes" >&6; }
24392
 
                GCC_PCH=1
24393
 
                PCH_FLAGS="-DCB_PRECOMP -Winvalid-pch"
24394
 
            
24395
 
else
24396
 
  echo "$as_me: failed program was:" >&5
24397
 
sed 's/^/| /' conftest.$ac_ext >&5
24398
 
 
24399
 
        
24400
 
                { echo "$as_me:$LINENO: result: no" >&5
24401
 
echo "${ECHO_T}no" >&6; }
24402
 
            
24403
 
fi
24404
 
 
24405
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24406
 
         if test $GCC_PCH = 1; then
24407
 
  PRECOMPILE_HEADERS_TRUE=
24408
 
  PRECOMPILE_HEADERS_FALSE='#'
24409
 
else
24410
 
  PRECOMPILE_HEADERS_TRUE='#'
24411
 
  PRECOMPILE_HEADERS_FALSE=
24412
 
fi
24413
 
 
24414
 
    fi
24415
 
fi
24416
 
 
24417
 
 
24418
 
 
24419
 
 
24420
 
    
24421
 
# Check whether --with-wxdir was given.
24422
 
if test "${with_wxdir+set}" = set; then
24423
 
  withval=$with_wxdir;  wx_config_name="$withval/wx-config"
24424
 
                  wx_config_args="--inplace"
24425
 
fi
24426
 
 
24427
 
    
24428
 
# Check whether --with-wx-config was given.
24429
 
if test "${with_wx_config+set}" = set; then
24430
 
  withval=$with_wx_config; wx_config_name="$withval" 
24431
 
fi
24432
 
 
24433
 
    
24434
 
# Check whether --with-wx-prefix was given.
24435
 
if test "${with_wx_prefix+set}" = set; then
24436
 
  withval=$with_wx_prefix; wx_config_prefix="$withval"
24437
 
else
24438
 
  wx_config_prefix=""
24439
 
fi
24440
 
 
24441
 
    
24442
 
# Check whether --with-wx-exec-prefix was given.
24443
 
if test "${with_wx_exec_prefix+set}" = set; then
24444
 
  withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
24445
 
else
24446
 
  wx_config_exec_prefix=""
24447
 
fi
24448
 
 
24449
 
 
24450
 
 
24451
 
    if test x${WX_CONFIG_NAME+set} != xset ; then
24452
 
     WX_CONFIG_NAME=wx-config
24453
 
  fi
24454
 
 
24455
 
  if test "x$wx_config_name" != x ; then
24456
 
     WX_CONFIG_NAME="$wx_config_name"
24457
 
  fi
24458
 
 
24459
 
    if test x$wx_config_exec_prefix != x ; then
24460
 
     wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
24461
 
     WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
24462
 
  fi
24463
 
  if test x$wx_config_prefix != x ; then
24464
 
     wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
24465
 
     WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
24466
 
  fi
24467
 
  if test "$cross_compiling" = "yes"; then
24468
 
     wx_config_args="$wx_config_args --host=$host_alias"
24469
 
  fi
24470
 
 
24471
 
    if test -x "$WX_CONFIG_NAME" ; then
24472
 
     { echo "$as_me:$LINENO: checking for wx-config" >&5
24473
 
echo $ECHO_N "checking for wx-config... $ECHO_C" >&6; }
24474
 
     WX_CONFIG_PATH="$WX_CONFIG_NAME"
24475
 
     { echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
24476
 
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; }
24477
 
  else
24478
 
     # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
24479
 
set dummy $WX_CONFIG_NAME; ac_word=$2
24480
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24481
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24482
 
if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
24483
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24484
 
else
24485
 
  case $WX_CONFIG_PATH in
24486
 
  [\\/]* | ?:[\\/]*)
24487
 
  ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
24488
 
  ;;
24489
 
  *)
24490
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24491
 
as_dummy=""$WX_LOOKUP_PATH:$PATH""
24492
 
for as_dir in $as_dummy
24493
 
do
24494
 
  IFS=$as_save_IFS
24495
 
  test -z "$as_dir" && as_dir=.
24496
 
  for ac_exec_ext in '' $ac_executable_extensions; do
24497
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24498
 
    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
24499
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24500
 
    break 2
24501
 
  fi
24502
 
done
24503
 
done
24504
 
IFS=$as_save_IFS
24505
 
 
24506
 
  test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
24507
 
  ;;
24508
 
esac
24509
 
fi
24510
 
WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
24511
 
if test -n "$WX_CONFIG_PATH"; then
24512
 
  { echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
24513
 
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; }
24514
 
else
24515
 
  { echo "$as_me:$LINENO: result: no" >&5
24516
 
echo "${ECHO_T}no" >&6; }
24517
 
fi
24518
 
 
24519
 
 
24520
 
  fi
24521
 
 
24522
 
  if test "$WX_CONFIG_PATH" != "no" ; then
24523
 
    WX_VERSION=""
24524
 
 
24525
 
    min_wx_version=2.8.0
24526
 
    if test -z "" ; then
24527
 
      { echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
24528
 
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6; }
24529
 
    else
24530
 
      { echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ()" >&5
24531
 
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ()... $ECHO_C" >&6; }
24532
 
    fi
24533
 
 
24534
 
    WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args  "
24535
 
 
24536
 
    WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
24537
 
    wx_config_major_version=`echo $WX_VERSION | \
24538
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24539
 
    wx_config_minor_version=`echo $WX_VERSION | \
24540
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24541
 
    wx_config_micro_version=`echo $WX_VERSION | \
24542
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24543
 
 
24544
 
    wx_requested_major_version=`echo $min_wx_version | \
24545
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24546
 
    wx_requested_minor_version=`echo $min_wx_version | \
24547
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24548
 
    wx_requested_micro_version=`echo $min_wx_version | \
24549
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24550
 
 
24551
 
    
24552
 
    wx_ver_ok=""
24553
 
    if test "x$WX_VERSION" != x ; then
24554
 
      if test $wx_config_major_version -gt $wx_requested_major_version; then
24555
 
        wx_ver_ok=yes
24556
 
      else
24557
 
        if test $wx_config_major_version -eq $wx_requested_major_version; then
24558
 
           if test $wx_config_minor_version -gt $wx_requested_minor_version; then
24559
 
              wx_ver_ok=yes
24560
 
           else
24561
 
              if test $wx_config_minor_version -eq $wx_requested_minor_version; then
24562
 
                 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
24563
 
                    wx_ver_ok=yes
24564
 
                 fi
24565
 
              fi
24566
 
           fi
24567
 
        fi
24568
 
      fi
24569
 
    fi
24570
 
 
24571
 
 
24572
 
    if test -n "$wx_ver_ok"; then
24573
 
 
24574
 
      { echo "$as_me:$LINENO: result: yes (version $WX_VERSION)" >&5
24575
 
echo "${ECHO_T}yes (version $WX_VERSION)" >&6; }
24576
 
      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
24577
 
 
24578
 
                              { echo "$as_me:$LINENO: checking for wxWidgets static library" >&5
24579
 
echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6; }
24580
 
      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
24581
 
      if test "x$WX_LIBS_STATIC" = "x"; then
24582
 
        { echo "$as_me:$LINENO: result: no" >&5
24583
 
echo "${ECHO_T}no" >&6; }
24584
 
      else
24585
 
        { echo "$as_me:$LINENO: result: yes" >&5
24586
 
echo "${ECHO_T}yes" >&6; }
24587
 
      fi
24588
 
 
24589
 
            wx_has_cppflags=""
24590
 
      if test $wx_config_major_version -gt 2; then
24591
 
        wx_has_cppflags=yes
24592
 
      else
24593
 
        if test $wx_config_major_version -eq 2; then
24594
 
           if test $wx_config_minor_version -gt 2; then
24595
 
              wx_has_cppflags=yes
24596
 
           else
24597
 
              if test $wx_config_minor_version -eq 2; then
24598
 
                 if test $wx_config_micro_version -ge 6; then
24599
 
                    wx_has_cppflags=yes
24600
 
                 fi
24601
 
              fi
24602
 
           fi
24603
 
        fi
24604
 
      fi
24605
 
 
24606
 
            wx_has_rescomp=""
24607
 
      if test $wx_config_major_version -gt 2; then
24608
 
        wx_has_rescomp=yes
24609
 
      else
24610
 
        if test $wx_config_major_version -eq 2; then
24611
 
           if test $wx_config_minor_version -ge 7; then
24612
 
              wx_has_rescomp=yes
24613
 
           fi
24614
 
        fi
24615
 
      fi
24616
 
      if test "x$wx_has_rescomp" = x ; then
24617
 
                  WX_RESCOMP=
24618
 
      else
24619
 
         WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
24620
 
      fi
24621
 
 
24622
 
      if test "x$wx_has_cppflags" = x ; then
24623
 
                  WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
24624
 
         WX_CPPFLAGS=$WX_CFLAGS
24625
 
         WX_CXXFLAGS=$WX_CFLAGS
24626
 
 
24627
 
         WX_CFLAGS_ONLY=$WX_CFLAGS
24628
 
         WX_CXXFLAGS_ONLY=$WX_CFLAGS
24629
 
      else
24630
 
                  WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
24631
 
         WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
24632
 
         WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
24633
 
 
24634
 
         WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
24635
 
         WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
24636
 
      fi
24637
 
 
24638
 
      wxWin=1
24639
 
 
24640
 
    else
24641
 
 
24642
 
       if test "x$WX_VERSION" = x; then
24643
 
                    { echo "$as_me:$LINENO: result: no" >&5
24644
 
echo "${ECHO_T}no" >&6; }
24645
 
       else
24646
 
          { echo "$as_me:$LINENO: result: no (version $WX_VERSION is not new enough)" >&5
24647
 
echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6; }
24648
 
       fi
24649
 
 
24650
 
       WX_CFLAGS=""
24651
 
       WX_CPPFLAGS=""
24652
 
       WX_CXXFLAGS=""
24653
 
       WX_LIBS=""
24654
 
       WX_LIBS_STATIC=""
24655
 
       WX_RESCOMP=""
24656
 
       :
24657
 
 
24658
 
    fi
24659
 
  else
24660
 
 
24661
 
    WX_CFLAGS=""
24662
 
    WX_CPPFLAGS=""
24663
 
    WX_CXXFLAGS=""
24664
 
    WX_LIBS=""
24665
 
    WX_LIBS_STATIC=""
24666
 
    WX_RESCOMP=""
24667
 
 
24668
 
    :
24669
 
 
24670
 
  fi
24671
 
 
24672
 
  
24673
 
  
24674
 
  
24675
 
  
24676
 
  
24677
 
  
24678
 
  
24679
 
  
24680
 
  
24681
 
 
24682
 
        if test "$wxWin" != 1; then
24683
 
        { { echo "$as_me:$LINENO: error: 
24684
 
                wxWidgets must be installed on your system.
24685
 
 
24686
 
                Please check that wx-config is in path, the directory
24687
 
                where wxWidgets libraries are installed (returned by
24688
 
                'wx-config --libs' or 'wx-config --static --libs' command)
24689
 
                is in LD_LIBRARY_PATH or equivalent variable and
24690
 
                wxWindows version is 2.8.0 or above.
24691
 
                " >&5
24692
 
echo "$as_me: error: 
24693
 
                wxWidgets must be installed on your system.
24694
 
 
24695
 
                Please check that wx-config is in path, the directory
24696
 
                where wxWidgets libraries are installed (returned by
24697
 
                'wx-config --libs' or 'wx-config --static --libs' command)
24698
 
                is in LD_LIBRARY_PATH or equivalent variable and
24699
 
                wxWindows version is 2.8.0 or above.
24700
 
                " >&2;}
24701
 
   { (exit 1); exit 1; }; }
24702
 
        else
24703
 
                # check for wx2.8.3 which is known to behave badly for us
24704
 
                if test "$WX_VERSION" = "2.8.3"; then
24705
 
                        { { echo "$as_me:$LINENO: error: 
24706
 
                wxWidgets version 2.8.3 is known to behave badly with
24707
 
                Code::Blocks. Please upgrade to a newer (or downgrade to an 
24708
 
                earlier) wxWidgets version...
24709
 
                        " >&5
24710
 
echo "$as_me: error: 
24711
 
                wxWidgets version 2.8.3 is known to behave badly with
24712
 
                Code::Blocks. Please upgrade to a newer (or downgrade to an 
24713
 
                earlier) wxWidgets version...
24714
 
                        " >&2;}
24715
 
   { (exit 1); exit 1; }; }
24716
 
                fi
24717
 
        fi
24718
 
 
24719
 
 
24720
 
 
24721
 
 
24722
 
 
24723
 
 
24724
 
 
24725
 
WX_GTK2_CFLAGS=
24726
 
WX_GTK2_LIBS=
24727
 
 
24728
 
POSTLINK_COMMAND="@true"
24729
 
MACSETFILE="@true"
24730
 
 
24731
 
{ echo "$as_me:$LINENO: checking for wxWidgets platform" >&5
24732
 
echo $ECHO_N "checking for wxWidgets platform... $ECHO_C" >&6; }
24733
 
WX_BASENAME=`$WX_CONFIG_WITH_ARGS --basename`
24734
 
case $WX_BASENAME in 
24735
 
    *wx_gtk*)
24736
 
        { echo "$as_me:$LINENO: result: wxGTK" >&5
24737
 
echo "${ECHO_T}wxGTK" >&6; }
24738
 
                                                                                                                # Extract the first word of "pkg-config", so it can be a program name with args.
24739
 
set dummy pkg-config; ac_word=$2
24740
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24741
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24742
 
if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then
24743
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24744
 
else
24745
 
  if test -n "$HAVE_PKG_CONFIG"; then
24746
 
  ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test.
24747
 
else
24748
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24749
 
for as_dir in $PATH
24750
 
do
24751
 
  IFS=$as_save_IFS
24752
 
  test -z "$as_dir" && as_dir=.
24753
 
  for ac_exec_ext in '' $ac_executable_extensions; do
24754
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24755
 
    ac_cv_prog_HAVE_PKG_CONFIG="yes"
24756
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24757
 
    break 2
24758
 
  fi
24759
 
done
24760
 
done
24761
 
IFS=$as_save_IFS
24762
 
 
24763
 
  test -z "$ac_cv_prog_HAVE_PKG_CONFIG" && ac_cv_prog_HAVE_PKG_CONFIG="no"
24764
 
fi
24765
 
fi
24766
 
HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG
24767
 
if test -n "$HAVE_PKG_CONFIG"; then
24768
 
  { echo "$as_me:$LINENO: result: $HAVE_PKG_CONFIG" >&5
24769
 
echo "${ECHO_T}$HAVE_PKG_CONFIG" >&6; }
24770
 
else
24771
 
  { echo "$as_me:$LINENO: result: no" >&5
24772
 
echo "${ECHO_T}no" >&6; }
24773
 
fi
24774
 
 
24775
 
 
24776
 
        
24777
 
        if test "x$HAVE_PKG_CONFIG" = "xyes"; then
24778
 
            
24779
 
 
24780
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24781
 
        if test -n "$ac_tool_prefix"; then
24782
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24783
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24784
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24785
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24786
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24787
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24788
 
else
24789
 
  case $PKG_CONFIG in
24790
 
  [\\/]* | ?:[\\/]*)
24791
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24792
 
  ;;
24793
 
  *)
24794
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24795
 
for as_dir in $PATH
24796
 
do
24797
 
  IFS=$as_save_IFS
24798
 
  test -z "$as_dir" && as_dir=.
24799
 
  for ac_exec_ext in '' $ac_executable_extensions; do
24800
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24801
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24802
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24803
 
    break 2
24804
 
  fi
24805
 
done
24806
 
done
24807
 
IFS=$as_save_IFS
24808
 
 
24809
 
  ;;
24810
 
esac
24811
 
fi
24812
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24813
 
if test -n "$PKG_CONFIG"; then
24814
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24815
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
24816
 
else
24817
 
  { echo "$as_me:$LINENO: result: no" >&5
24818
 
echo "${ECHO_T}no" >&6; }
24819
 
fi
24820
 
 
24821
 
 
24822
 
fi
24823
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
24824
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
24825
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
24826
 
set dummy pkg-config; ac_word=$2
24827
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24828
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24829
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
24830
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24831
 
else
24832
 
  case $ac_pt_PKG_CONFIG in
24833
 
  [\\/]* | ?:[\\/]*)
24834
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24835
 
  ;;
24836
 
  *)
24837
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24838
 
for as_dir in $PATH
24839
 
do
24840
 
  IFS=$as_save_IFS
24841
 
  test -z "$as_dir" && as_dir=.
24842
 
  for ac_exec_ext in '' $ac_executable_extensions; do
24843
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24844
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24845
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24846
 
    break 2
24847
 
  fi
24848
 
done
24849
 
done
24850
 
IFS=$as_save_IFS
24851
 
 
24852
 
  ;;
24853
 
esac
24854
 
fi
24855
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24856
 
if test -n "$ac_pt_PKG_CONFIG"; then
24857
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
24858
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
24859
 
else
24860
 
  { echo "$as_me:$LINENO: result: no" >&5
24861
 
echo "${ECHO_T}no" >&6; }
24862
 
fi
24863
 
 
24864
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
24865
 
    PKG_CONFIG=""
24866
 
  else
24867
 
    case $cross_compiling:$ac_tool_warned in
24868
 
yes:)
24869
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24870
 
whose name does not start with the host triplet.  If you think this
24871
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
24872
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24873
 
whose name does not start with the host triplet.  If you think this
24874
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
24875
 
ac_tool_warned=yes ;;
24876
 
esac
24877
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
24878
 
  fi
24879
 
else
24880
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24881
 
fi
24882
 
 
24883
 
fi
24884
 
if test -n "$PKG_CONFIG"; then
24885
 
        _pkg_min_version=0.9.0
24886
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
24887
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
24888
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24889
 
                { echo "$as_me:$LINENO: result: yes" >&5
24890
 
echo "${ECHO_T}yes" >&6; }
24891
 
        else
24892
 
                { echo "$as_me:$LINENO: result: no" >&5
24893
 
echo "${ECHO_T}no" >&6; }
24894
 
                PKG_CONFIG=""
24895
 
        fi
24896
 
                
24897
 
fi
24898
 
 
24899
 
pkg_failed=no
24900
 
{ echo "$as_me:$LINENO: checking for GTK2" >&5
24901
 
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
24902
 
 
24903
 
if test -n "$PKG_CONFIG"; then
24904
 
    if test -n "$GTK2_CFLAGS"; then
24905
 
        pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
24906
 
    else
24907
 
        if test -n "$PKG_CONFIG" && \
24908
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
24909
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24910
 
  ac_status=$?
24911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912
 
  (exit $ac_status); }; then
24913
 
  pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24914
 
else
24915
 
  pkg_failed=yes
24916
 
fi
24917
 
    fi
24918
 
else
24919
 
        pkg_failed=untried
24920
 
fi
24921
 
if test -n "$PKG_CONFIG"; then
24922
 
    if test -n "$GTK2_LIBS"; then
24923
 
        pkg_cv_GTK2_LIBS="$GTK2_LIBS"
24924
 
    else
24925
 
        if test -n "$PKG_CONFIG" && \
24926
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
24927
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24928
 
  ac_status=$?
24929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930
 
  (exit $ac_status); }; then
24931
 
  pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24932
 
else
24933
 
  pkg_failed=yes
24934
 
fi
24935
 
    fi
24936
 
else
24937
 
        pkg_failed=untried
24938
 
fi
24939
 
 
24940
 
 
24941
 
 
24942
 
if test $pkg_failed = yes; then
24943
 
        
24944
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24945
 
        _pkg_short_errors_supported=yes
24946
 
else
24947
 
        _pkg_short_errors_supported=no
24948
 
fi
24949
 
        if test $_pkg_short_errors_supported = yes; then
24950
 
                GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
24951
 
        else 
24952
 
                GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
24953
 
        fi
24954
 
        # Put the nasty error message in config.log where it belongs
24955
 
        echo "$GTK2_PKG_ERRORS" >&5
24956
 
 
24957
 
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
24958
 
 
24959
 
$GTK2_PKG_ERRORS
24960
 
 
24961
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24962
 
installed software in a non-standard prefix.
24963
 
 
24964
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24965
 
and GTK2_LIBS to avoid the need to call pkg-config.
24966
 
See the pkg-config man page for more details.
24967
 
" >&5
24968
 
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
24969
 
 
24970
 
$GTK2_PKG_ERRORS
24971
 
 
24972
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24973
 
installed software in a non-standard prefix.
24974
 
 
24975
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24976
 
and GTK2_LIBS to avoid the need to call pkg-config.
24977
 
See the pkg-config man page for more details.
24978
 
" >&2;}
24979
 
   { (exit 1); exit 1; }; }
24980
 
elif test $pkg_failed = untried; then
24981
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
24982
 
is in your PATH or set the PKG_CONFIG environment variable to the full
24983
 
path to pkg-config.
24984
 
 
24985
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24986
 
and GTK2_LIBS to avoid the need to call pkg-config.
24987
 
See the pkg-config man page for more details.
24988
 
 
24989
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24990
 
See \`config.log' for more details." >&5
24991
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
24992
 
is in your PATH or set the PKG_CONFIG environment variable to the full
24993
 
path to pkg-config.
24994
 
 
24995
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24996
 
and GTK2_LIBS to avoid the need to call pkg-config.
24997
 
See the pkg-config man page for more details.
24998
 
 
24999
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25000
 
See \`config.log' for more details." >&2;}
25001
 
   { (exit 1); exit 1; }; }
25002
 
else
25003
 
        GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
25004
 
        GTK2_LIBS=$pkg_cv_GTK2_LIBS
25005
 
        { echo "$as_me:$LINENO: result: yes" >&5
25006
 
echo "${ECHO_T}yes" >&6; }
25007
 
        :
25008
 
fi
25009
 
        fi
25010
 
        WX_GTK2_CFLAGS="$GTK2_CFLAGS"
25011
 
        WX_GTK2_LIBS="$GTK2_LIBS"
25012
 
    ;;
25013
 
    *wx_msw*)
25014
 
        { echo "$as_me:$LINENO: result: wxMSW" >&5
25015
 
echo "${ECHO_T}wxMSW" >&6; }
25016
 
    ;;
25017
 
    *wx_mac*)
25018
 
        { echo "$as_me:$LINENO: result: wxMac" >&5
25019
 
echo "${ECHO_T}wxMac" >&6; }
25020
 
        # Extract the first word of "Rez", so it can be a program name with args.
25021
 
set dummy Rez; ac_word=$2
25022
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25023
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25024
 
if test "${ac_cv_prog_REZ+set}" = set; then
25025
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25026
 
else
25027
 
  if test -n "$REZ"; then
25028
 
  ac_cv_prog_REZ="$REZ" # Let the user override the test.
25029
 
else
25030
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25031
 
for as_dir in $PATH
25032
 
do
25033
 
  IFS=$as_save_IFS
25034
 
  test -z "$as_dir" && as_dir=.
25035
 
  for ac_exec_ext in '' $ac_executable_extensions; do
25036
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25037
 
    ac_cv_prog_REZ="Rez"
25038
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25039
 
    break 2
25040
 
  fi
25041
 
done
25042
 
done
25043
 
IFS=$as_save_IFS
25044
 
 
25045
 
  test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
25046
 
fi
25047
 
fi
25048
 
REZ=$ac_cv_prog_REZ
25049
 
if test -n "$REZ"; then
25050
 
  { echo "$as_me:$LINENO: result: $REZ" >&5
25051
 
echo "${ECHO_T}$REZ" >&6; }
25052
 
else
25053
 
  { echo "$as_me:$LINENO: result: no" >&5
25054
 
echo "${ECHO_T}no" >&6; }
25055
 
fi
25056
 
 
25057
 
 
25058
 
        POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
25059
 
        # Extract the first word of "SetFile", so it can be a program name with args.
25060
 
set dummy SetFile; ac_word=$2
25061
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25062
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25063
 
if test "${ac_cv_prog_SETFILE+set}" = set; then
25064
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25065
 
else
25066
 
  if test -n "$SETFILE"; then
25067
 
  ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25068
 
else
25069
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25070
 
for as_dir in $PATH
25071
 
do
25072
 
  IFS=$as_save_IFS
25073
 
  test -z "$as_dir" && as_dir=.
25074
 
  for ac_exec_ext in '' $ac_executable_extensions; do
25075
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25076
 
    ac_cv_prog_SETFILE="SetFile"
25077
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25078
 
    break 2
25079
 
  fi
25080
 
done
25081
 
done
25082
 
IFS=$as_save_IFS
25083
 
 
25084
 
  test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25085
 
fi
25086
 
fi
25087
 
SETFILE=$ac_cv_prog_SETFILE
25088
 
if test -n "$SETFILE"; then
25089
 
  { echo "$as_me:$LINENO: result: $SETFILE" >&5
25090
 
echo "${ECHO_T}$SETFILE" >&6; }
25091
 
else
25092
 
  { echo "$as_me:$LINENO: result: no" >&5
25093
 
echo "${ECHO_T}no" >&6; }
25094
 
fi
25095
 
 
25096
 
 
25097
 
        MACSETFILE="\$(SETFILE)"
25098
 
    ;;
25099
 
    *) 
25100
 
        { echo "$as_me:$LINENO: result: other" >&5
25101
 
echo "${ECHO_T}other" >&6; }
25102
 
    ;;
25103
 
esac
25104
 
 
25105
 
 
25106
 
 
25107
 
 
25108
 
 
25109
 
 
25110
 
 
25111
 
PLUGIN_WX_LIBS=
25112
 
 
25113
 
{ echo "$as_me:$LINENO: checking if wxWidgets libraries are needed for plugins" >&5
25114
 
echo $ECHO_N "checking if wxWidgets libraries are needed for plugins... $ECHO_C" >&6; }
25115
 
case `uname` in 
25116
 
    Darwin)
25117
 
        { echo "$as_me:$LINENO: result: yes" >&5
25118
 
echo "${ECHO_T}yes" >&6; }
25119
 
        PLUGIN_WX_LIBS="$WX_LIBS"
25120
 
    ;;
25121
 
    *) 
25122
 
        { echo "$as_me:$LINENO: result: no" >&5
25123
 
echo "${ECHO_T}no" >&6; }
25124
 
    ;;
25125
 
esac
25126
 
 
25127
 
 
25128
 
 
25129
 
PIC_FLAGS=
25130
 
 
25131
 
{ echo "$as_me:$LINENO: checking for PIC flags" >&5
25132
 
echo $ECHO_N "checking for PIC flags... $ECHO_C" >&6; }
25133
 
case `uname` in 
25134
 
    Solaris)
25135
 
        if test "$GCC" = yes; then
25136
 
            PIC_FLAGS="-fPIC -DPIC"
25137
 
        else
25138
 
            PIC_FLAGS="-KPIC -DPIC"
25139
 
        fi
25140
 
    ;;
25141
 
    *) 
25142
 
        PIC_FLAGS="-fPIC -DPIC"
25143
 
    ;;
25144
 
esac
25145
 
{ echo "$as_me:$LINENO: result: $PIC_FLAGS" >&5
25146
 
echo "${ECHO_T}$PIC_FLAGS" >&6; }
25147
 
 
25148
 
CPPFLAGS="$CPPFLAGS -Ulinux -Uunix"
25149
 
CXXFLAGS="$CXXFLAGS $PCH_FLAGS $PIC_FLAGS -fexceptions"
25150
 
codeblocks_PCH_FLAGS="$PCH_FLAGS"
25151
 
 
25152
 
 
25153
 
 
25154
 
 if test `uname` = "Linux"; then
25155
 
  LINUX_TRUE=
25156
 
  LINUX_FALSE='#'
25157
 
else
25158
 
  LINUX_TRUE='#'
25159
 
  LINUX_FALSE=
25160
 
fi
25161
 
 
25162
 
 if test `uname` = "Darwin"; then
25163
 
  DARWIN_TRUE=
25164
 
  DARWIN_FALSE='#'
25165
 
else
25166
 
  DARWIN_TRUE='#'
25167
 
  DARWIN_FALSE=
25168
 
fi
25169
 
 
25170
 
 
25171
 
{ echo "$as_me:$LINENO: Configuring Code::Blocks..." >&5
25172
 
echo "$as_me: Configuring Code::Blocks..." >&6;}
25173
 
{ echo "$as_me:$LINENO: SVN revision 1.0svn ()" >&5
25174
 
echo "$as_me: SVN revision 1.0svn ()" >&6;}
25175
 
 
25176
 
DATE=""
25177
 
 
25178
 
 
25179
 
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"
25180
 
 
25181
 
 
25182
 
cat >confcache <<\_ACEOF
25183
 
# This file is a shell script that caches the results of configure
25184
 
# tests run on this system so they can be shared between configure
25185
 
# scripts and configure runs, see configure's option --config-cache.
25186
 
# It is not useful on other systems.  If it contains results you don't
25187
 
# want to keep, you may remove or edit it.
25188
 
#
25189
 
# config.status only pays attention to the cache file if you give it
25190
 
# the --recheck option to rerun configure.
25191
 
#
25192
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
25193
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
25194
 
# following values.
25195
 
 
25196
 
_ACEOF
25197
 
 
25198
 
# The following way of writing the cache mishandles newlines in values,
25199
 
# but we know of no workaround that is simple, portable, and efficient.
25200
 
# So, we kill variables containing newlines.
25201
 
# Ultrix sh set writes to stderr and can't be redirected directly,
25202
 
# and sets the high bit in the cache file unless we assign to the vars.
25203
 
(
25204
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25205
 
    eval ac_val=\$$ac_var
25206
 
    case $ac_val in #(
25207
 
    *${as_nl}*)
25208
 
      case $ac_var in #(
25209
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25210
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25211
 
      esac
25212
 
      case $ac_var in #(
25213
 
      _ | IFS | as_nl) ;; #(
25214
 
      *) $as_unset $ac_var ;;
25215
 
      esac ;;
25216
 
    esac
25217
 
  done
25218
 
 
25219
 
  (set) 2>&1 |
25220
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
25221
 
    *${as_nl}ac_space=\ *)
25222
 
      # `set' does not quote correctly, so add quotes (double-quote
25223
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
25224
 
      sed -n \
25225
 
        "s/'/'\\\\''/g;
25226
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25227
 
      ;; #(
25228
 
    *)
25229
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
25230
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25231
 
      ;;
25232
 
    esac |
25233
 
    sort
25234
 
) |
25235
 
  sed '
25236
 
     /^ac_cv_env_/b end
25237
 
     t clear
25238
 
     :clear
25239
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25240
 
     t end
25241
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25242
 
     :end' >>confcache
25243
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25244
 
  if test -w "$cache_file"; then
25245
 
    test "x$cache_file" != "x/dev/null" &&
25246
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25247
 
echo "$as_me: updating cache $cache_file" >&6;}
25248
 
    cat confcache >$cache_file
25249
 
  else
25250
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25251
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25252
 
  fi
25253
 
fi
25254
 
rm -f confcache
25255
 
 
25256
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
25257
 
# Let make expand exec_prefix.
25258
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25259
 
 
25260
 
DEFS=-DHAVE_CONFIG_H
25261
 
 
25262
 
ac_libobjs=
25263
 
ac_ltlibobjs=
25264
 
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
25265
 
  # 1. Remove the extension, and $U if already installed.
25266
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25267
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
25268
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25269
 
  #    will be set to the directory where LIBOBJS objects are built.
25270
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25271
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25272
 
done
25273
 
LIB@&t@OBJS=$ac_libobjs
25274
 
 
25275
 
LTLIBOBJS=$ac_ltlibobjs
25276
 
 
25277
 
 
25278
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25279
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25280
 
Usually this means the macro was only invoked conditionally." >&5
25281
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
25282
 
Usually this means the macro was only invoked conditionally." >&2;}
25283
 
   { (exit 1); exit 1; }; }
25284
 
fi
25285
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25286
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25287
 
Usually this means the macro was only invoked conditionally." >&5
25288
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25289
 
Usually this means the macro was only invoked conditionally." >&2;}
25290
 
   { (exit 1); exit 1; }; }
25291
 
fi
25292
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25293
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25294
 
Usually this means the macro was only invoked conditionally." >&5
25295
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25296
 
Usually this means the macro was only invoked conditionally." >&2;}
25297
 
   { (exit 1); exit 1; }; }
25298
 
fi
25299
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25300
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25301
 
Usually this means the macro was only invoked conditionally." >&5
25302
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25303
 
Usually this means the macro was only invoked conditionally." >&2;}
25304
 
   { (exit 1); exit 1; }; }
25305
 
fi
25306
 
if test -z "${CODEBLOCKS_NT_TRUE}" && test -z "${CODEBLOCKS_NT_FALSE}"; then
25307
 
  { { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_NT\" was never defined.
25308
 
Usually this means the macro was only invoked conditionally." >&5
25309
 
echo "$as_me: error: conditional \"CODEBLOCKS_NT\" was never defined.
25310
 
Usually this means the macro was only invoked conditionally." >&2;}
25311
 
   { (exit 1); exit 1; }; }
25312
 
fi
25313
 
if test -z "${CODEBLOCKS_LINUX_TRUE}" && test -z "${CODEBLOCKS_LINUX_FALSE}"; then
25314
 
  { { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_LINUX\" was never defined.
25315
 
Usually this means the macro was only invoked conditionally." >&5
25316
 
echo "$as_me: error: conditional \"CODEBLOCKS_LINUX\" was never defined.
25317
 
Usually this means the macro was only invoked conditionally." >&2;}
25318
 
   { (exit 1); exit 1; }; }
25319
 
fi
25320
 
if test -z "${CODEBLOCKS_DARWIN_TRUE}" && test -z "${CODEBLOCKS_DARWIN_FALSE}"; then
25321
 
  { { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_DARWIN\" was never defined.
25322
 
Usually this means the macro was only invoked conditionally." >&5
25323
 
echo "$as_me: error: conditional \"CODEBLOCKS_DARWIN\" was never defined.
25324
 
Usually this means the macro was only invoked conditionally." >&2;}
25325
 
   { (exit 1); exit 1; }; }
25326
 
fi
25327
 
if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
25328
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
25329
 
Usually this means the macro was only invoked conditionally." >&5
25330
 
echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
25331
 
Usually this means the macro was only invoked conditionally." >&2;}
25332
 
   { (exit 1); exit 1; }; }
25333
 
fi
25334
 
if test -z "${HAVE_BZIP2_TRUE}" && test -z "${HAVE_BZIP2_FALSE}"; then
25335
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_BZIP2\" was never defined.
25336
 
Usually this means the macro was only invoked conditionally." >&5
25337
 
echo "$as_me: error: conditional \"HAVE_BZIP2\" was never defined.
25338
 
Usually this means the macro was only invoked conditionally." >&2;}
25339
 
   { (exit 1); exit 1; }; }
25340
 
fi
25341
 
if test -z "${BUILD_ASTYLE_TRUE}" && test -z "${BUILD_ASTYLE_FALSE}"; then
25342
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ASTYLE\" was never defined.
25343
 
Usually this means the macro was only invoked conditionally." >&5
25344
 
echo "$as_me: error: conditional \"BUILD_ASTYLE\" was never defined.
25345
 
Usually this means the macro was only invoked conditionally." >&2;}
25346
 
   { (exit 1); exit 1; }; }
25347
 
fi
25348
 
if test -z "${BUILD_AUTOSAVE_TRUE}" && test -z "${BUILD_AUTOSAVE_FALSE}"; then
25349
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOSAVE\" was never defined.
25350
 
Usually this means the macro was only invoked conditionally." >&5
25351
 
echo "$as_me: error: conditional \"BUILD_AUTOSAVE\" was never defined.
25352
 
Usually this means the macro was only invoked conditionally." >&2;}
25353
 
   { (exit 1); exit 1; }; }
25354
 
fi
25355
 
if test -z "${BUILD_CLASSWIZARD_TRUE}" && test -z "${BUILD_CLASSWIZARD_FALSE}"; then
25356
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASSWIZARD\" was never defined.
25357
 
Usually this means the macro was only invoked conditionally." >&5
25358
 
echo "$as_me: error: conditional \"BUILD_CLASSWIZARD\" was never defined.
25359
 
Usually this means the macro was only invoked conditionally." >&2;}
25360
 
   { (exit 1); exit 1; }; }
25361
 
fi
25362
 
if test -z "${BUILD_CODECOMPLETION_TRUE}" && test -z "${BUILD_CODECOMPLETION_FALSE}"; then
25363
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODECOMPLETION\" was never defined.
25364
 
Usually this means the macro was only invoked conditionally." >&5
25365
 
echo "$as_me: error: conditional \"BUILD_CODECOMPLETION\" was never defined.
25366
 
Usually this means the macro was only invoked conditionally." >&2;}
25367
 
   { (exit 1); exit 1; }; }
25368
 
fi
25369
 
if test -z "${BUILD_COMPILER_TRUE}" && test -z "${BUILD_COMPILER_FALSE}"; then
25370
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_COMPILER\" was never defined.
25371
 
Usually this means the macro was only invoked conditionally." >&5
25372
 
echo "$as_me: error: conditional \"BUILD_COMPILER\" was never defined.
25373
 
Usually this means the macro was only invoked conditionally." >&2;}
25374
 
   { (exit 1); exit 1; }; }
25375
 
fi
25376
 
if test -z "${BUILD_DEBUGGER_TRUE}" && test -z "${BUILD_DEBUGGER_FALSE}"; then
25377
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DEBUGGER\" was never defined.
25378
 
Usually this means the macro was only invoked conditionally." >&5
25379
 
echo "$as_me: error: conditional \"BUILD_DEBUGGER\" was never defined.
25380
 
Usually this means the macro was only invoked conditionally." >&2;}
25381
 
   { (exit 1); exit 1; }; }
25382
 
fi
25383
 
if test -z "${BUILD_MIMEHANDLER_TRUE}" && test -z "${BUILD_MIMEHANDLER_FALSE}"; then
25384
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MIMEHANDLER\" was never defined.
25385
 
Usually this means the macro was only invoked conditionally." >&5
25386
 
echo "$as_me: error: conditional \"BUILD_MIMEHANDLER\" was never defined.
25387
 
Usually this means the macro was only invoked conditionally." >&2;}
25388
 
   { (exit 1); exit 1; }; }
25389
 
fi
25390
 
if test -z "${BUILD_OPENFILESLIST_TRUE}" && test -z "${BUILD_OPENFILESLIST_FALSE}"; then
25391
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_OPENFILESLIST\" was never defined.
25392
 
Usually this means the macro was only invoked conditionally." >&5
25393
 
echo "$as_me: error: conditional \"BUILD_OPENFILESLIST\" was never defined.
25394
 
Usually this means the macro was only invoked conditionally." >&2;}
25395
 
   { (exit 1); exit 1; }; }
25396
 
fi
25397
 
if test -z "${BUILD_PROJECTSIMPORTER_TRUE}" && test -z "${BUILD_PROJECTSIMPORTER_FALSE}"; then
25398
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
25399
 
Usually this means the macro was only invoked conditionally." >&5
25400
 
echo "$as_me: error: conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
25401
 
Usually this means the macro was only invoked conditionally." >&2;}
25402
 
   { (exit 1); exit 1; }; }
25403
 
fi
25404
 
if test -z "${BUILD_SCRIPTEDWIZARD_TRUE}" && test -z "${BUILD_SCRIPTEDWIZARD_FALSE}"; then
25405
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
25406
 
Usually this means the macro was only invoked conditionally." >&5
25407
 
echo "$as_me: error: conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
25408
 
Usually this means the macro was only invoked conditionally." >&2;}
25409
 
   { (exit 1); exit 1; }; }
25410
 
fi
25411
 
if test -z "${BUILD_TODO_TRUE}" && test -z "${BUILD_TODO_FALSE}"; then
25412
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_TODO\" was never defined.
25413
 
Usually this means the macro was only invoked conditionally." >&5
25414
 
echo "$as_me: error: conditional \"BUILD_TODO\" was never defined.
25415
 
Usually this means the macro was only invoked conditionally." >&2;}
25416
 
   { (exit 1); exit 1; }; }
25417
 
fi
25418
 
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
25419
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MANIFEST\" was never defined.
25420
 
Usually this means the macro was only invoked conditionally." >&5
25421
 
echo "$as_me: error: conditional \"BUILD_MANIFEST\" was never defined.
25422
 
Usually this means the macro was only invoked conditionally." >&2;}
25423
 
   { (exit 1); exit 1; }; }
25424
 
fi
25425
 
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
25426
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MANIFEST\" was never defined.
25427
 
Usually this means the macro was only invoked conditionally." >&5
25428
 
echo "$as_me: error: conditional \"BUILD_MANIFEST\" was never defined.
25429
 
Usually this means the macro was only invoked conditionally." >&2;}
25430
 
   { (exit 1); exit 1; }; }
25431
 
fi
25432
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25433
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25434
 
Usually this means the macro was only invoked conditionally." >&5
25435
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25436
 
Usually this means the macro was only invoked conditionally." >&2;}
25437
 
   { (exit 1); exit 1; }; }
25438
 
fi
25439
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25440
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25441
 
Usually this means the macro was only invoked conditionally." >&5
25442
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25443
 
Usually this means the macro was only invoked conditionally." >&2;}
25444
 
   { (exit 1); exit 1; }; }
25445
 
fi
25446
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25447
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25448
 
Usually this means the macro was only invoked conditionally." >&5
25449
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25450
 
Usually this means the macro was only invoked conditionally." >&2;}
25451
 
   { (exit 1); exit 1; }; }
25452
 
fi
25453
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25454
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25455
 
Usually this means the macro was only invoked conditionally." >&5
25456
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25457
 
Usually this means the macro was only invoked conditionally." >&2;}
25458
 
   { (exit 1); exit 1; }; }
25459
 
fi
25460
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25461
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25462
 
Usually this means the macro was only invoked conditionally." >&5
25463
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25464
 
Usually this means the macro was only invoked conditionally." >&2;}
25465
 
   { (exit 1); exit 1; }; }
25466
 
fi
25467
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25468
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25469
 
Usually this means the macro was only invoked conditionally." >&5
25470
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25471
 
Usually this means the macro was only invoked conditionally." >&2;}
25472
 
   { (exit 1); exit 1; }; }
25473
 
fi
25474
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25475
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25476
 
Usually this means the macro was only invoked conditionally." >&5
25477
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25478
 
Usually this means the macro was only invoked conditionally." >&2;}
25479
 
   { (exit 1); exit 1; }; }
25480
 
fi
25481
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25482
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25483
 
Usually this means the macro was only invoked conditionally." >&5
25484
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25485
 
Usually this means the macro was only invoked conditionally." >&2;}
25486
 
   { (exit 1); exit 1; }; }
25487
 
fi
25488
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25489
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25490
 
Usually this means the macro was only invoked conditionally." >&5
25491
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25492
 
Usually this means the macro was only invoked conditionally." >&2;}
25493
 
   { (exit 1); exit 1; }; }
25494
 
fi
25495
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25496
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25497
 
Usually this means the macro was only invoked conditionally." >&5
25498
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25499
 
Usually this means the macro was only invoked conditionally." >&2;}
25500
 
   { (exit 1); exit 1; }; }
25501
 
fi
25502
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25503
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25504
 
Usually this means the macro was only invoked conditionally." >&5
25505
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25506
 
Usually this means the macro was only invoked conditionally." >&2;}
25507
 
   { (exit 1); exit 1; }; }
25508
 
fi
25509
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25510
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25511
 
Usually this means the macro was only invoked conditionally." >&5
25512
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25513
 
Usually this means the macro was only invoked conditionally." >&2;}
25514
 
   { (exit 1); exit 1; }; }
25515
 
fi
25516
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25517
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25518
 
Usually this means the macro was only invoked conditionally." >&5
25519
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25520
 
Usually this means the macro was only invoked conditionally." >&2;}
25521
 
   { (exit 1); exit 1; }; }
25522
 
fi
25523
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25524
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25525
 
Usually this means the macro was only invoked conditionally." >&5
25526
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25527
 
Usually this means the macro was only invoked conditionally." >&2;}
25528
 
   { (exit 1); exit 1; }; }
25529
 
fi
25530
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25531
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25532
 
Usually this means the macro was only invoked conditionally." >&5
25533
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25534
 
Usually this means the macro was only invoked conditionally." >&2;}
25535
 
   { (exit 1); exit 1; }; }
25536
 
fi
25537
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25538
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25539
 
Usually this means the macro was only invoked conditionally." >&5
25540
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25541
 
Usually this means the macro was only invoked conditionally." >&2;}
25542
 
   { (exit 1); exit 1; }; }
25543
 
fi
25544
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25545
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25546
 
Usually this means the macro was only invoked conditionally." >&5
25547
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25548
 
Usually this means the macro was only invoked conditionally." >&2;}
25549
 
   { (exit 1); exit 1; }; }
25550
 
fi
25551
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25552
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25553
 
Usually this means the macro was only invoked conditionally." >&5
25554
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25555
 
Usually this means the macro was only invoked conditionally." >&2;}
25556
 
   { (exit 1); exit 1; }; }
25557
 
fi
25558
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25559
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25560
 
Usually this means the macro was only invoked conditionally." >&5
25561
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25562
 
Usually this means the macro was only invoked conditionally." >&2;}
25563
 
   { (exit 1); exit 1; }; }
25564
 
fi
25565
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25566
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25567
 
Usually this means the macro was only invoked conditionally." >&5
25568
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25569
 
Usually this means the macro was only invoked conditionally." >&2;}
25570
 
   { (exit 1); exit 1; }; }
25571
 
fi
25572
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25573
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25574
 
Usually this means the macro was only invoked conditionally." >&5
25575
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25576
 
Usually this means the macro was only invoked conditionally." >&2;}
25577
 
   { (exit 1); exit 1; }; }
25578
 
fi
25579
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25580
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25581
 
Usually this means the macro was only invoked conditionally." >&5
25582
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25583
 
Usually this means the macro was only invoked conditionally." >&2;}
25584
 
   { (exit 1); exit 1; }; }
25585
 
fi
25586
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25587
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25588
 
Usually this means the macro was only invoked conditionally." >&5
25589
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25590
 
Usually this means the macro was only invoked conditionally." >&2;}
25591
 
   { (exit 1); exit 1; }; }
25592
 
fi
25593
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25594
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25595
 
Usually this means the macro was only invoked conditionally." >&5
25596
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25597
 
Usually this means the macro was only invoked conditionally." >&2;}
25598
 
   { (exit 1); exit 1; }; }
25599
 
fi
25600
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25601
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25602
 
Usually this means the macro was only invoked conditionally." >&5
25603
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25604
 
Usually this means the macro was only invoked conditionally." >&2;}
25605
 
   { (exit 1); exit 1; }; }
25606
 
fi
25607
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25608
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25609
 
Usually this means the macro was only invoked conditionally." >&5
25610
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25611
 
Usually this means the macro was only invoked conditionally." >&2;}
25612
 
   { (exit 1); exit 1; }; }
25613
 
fi
25614
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25615
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25616
 
Usually this means the macro was only invoked conditionally." >&5
25617
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25618
 
Usually this means the macro was only invoked conditionally." >&2;}
25619
 
   { (exit 1); exit 1; }; }
25620
 
fi
25621
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25622
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25623
 
Usually this means the macro was only invoked conditionally." >&5
25624
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25625
 
Usually this means the macro was only invoked conditionally." >&2;}
25626
 
   { (exit 1); exit 1; }; }
25627
 
fi
25628
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25629
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25630
 
Usually this means the macro was only invoked conditionally." >&5
25631
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25632
 
Usually this means the macro was only invoked conditionally." >&2;}
25633
 
   { (exit 1); exit 1; }; }
25634
 
fi
25635
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25636
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25637
 
Usually this means the macro was only invoked conditionally." >&5
25638
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25639
 
Usually this means the macro was only invoked conditionally." >&2;}
25640
 
   { (exit 1); exit 1; }; }
25641
 
fi
25642
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25643
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25644
 
Usually this means the macro was only invoked conditionally." >&5
25645
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25646
 
Usually this means the macro was only invoked conditionally." >&2;}
25647
 
   { (exit 1); exit 1; }; }
25648
 
fi
25649
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25650
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25651
 
Usually this means the macro was only invoked conditionally." >&5
25652
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25653
 
Usually this means the macro was only invoked conditionally." >&2;}
25654
 
   { (exit 1); exit 1; }; }
25655
 
fi
25656
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25657
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25658
 
Usually this means the macro was only invoked conditionally." >&5
25659
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25660
 
Usually this means the macro was only invoked conditionally." >&2;}
25661
 
   { (exit 1); exit 1; }; }
25662
 
fi
25663
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25664
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25665
 
Usually this means the macro was only invoked conditionally." >&5
25666
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25667
 
Usually this means the macro was only invoked conditionally." >&2;}
25668
 
   { (exit 1); exit 1; }; }
25669
 
fi
25670
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25671
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25672
 
Usually this means the macro was only invoked conditionally." >&5
25673
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25674
 
Usually this means the macro was only invoked conditionally." >&2;}
25675
 
   { (exit 1); exit 1; }; }
25676
 
fi
25677
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25678
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25679
 
Usually this means the macro was only invoked conditionally." >&5
25680
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25681
 
Usually this means the macro was only invoked conditionally." >&2;}
25682
 
   { (exit 1); exit 1; }; }
25683
 
fi
25684
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25685
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25686
 
Usually this means the macro was only invoked conditionally." >&5
25687
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25688
 
Usually this means the macro was only invoked conditionally." >&2;}
25689
 
   { (exit 1); exit 1; }; }
25690
 
fi
25691
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25692
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25693
 
Usually this means the macro was only invoked conditionally." >&5
25694
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25695
 
Usually this means the macro was only invoked conditionally." >&2;}
25696
 
   { (exit 1); exit 1; }; }
25697
 
fi
25698
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25699
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25700
 
Usually this means the macro was only invoked conditionally." >&5
25701
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25702
 
Usually this means the macro was only invoked conditionally." >&2;}
25703
 
   { (exit 1); exit 1; }; }
25704
 
fi
25705
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25706
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25707
 
Usually this means the macro was only invoked conditionally." >&5
25708
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25709
 
Usually this means the macro was only invoked conditionally." >&2;}
25710
 
   { (exit 1); exit 1; }; }
25711
 
fi
25712
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25713
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25714
 
Usually this means the macro was only invoked conditionally." >&5
25715
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25716
 
Usually this means the macro was only invoked conditionally." >&2;}
25717
 
   { (exit 1); exit 1; }; }
25718
 
fi
25719
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25720
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25721
 
Usually this means the macro was only invoked conditionally." >&5
25722
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25723
 
Usually this means the macro was only invoked conditionally." >&2;}
25724
 
   { (exit 1); exit 1; }; }
25725
 
fi
25726
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25727
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25728
 
Usually this means the macro was only invoked conditionally." >&5
25729
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25730
 
Usually this means the macro was only invoked conditionally." >&2;}
25731
 
   { (exit 1); exit 1; }; }
25732
 
fi
25733
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25734
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25735
 
Usually this means the macro was only invoked conditionally." >&5
25736
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25737
 
Usually this means the macro was only invoked conditionally." >&2;}
25738
 
   { (exit 1); exit 1; }; }
25739
 
fi
25740
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25741
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25742
 
Usually this means the macro was only invoked conditionally." >&5
25743
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25744
 
Usually this means the macro was only invoked conditionally." >&2;}
25745
 
   { (exit 1); exit 1; }; }
25746
 
fi
25747
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25748
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25749
 
Usually this means the macro was only invoked conditionally." >&5
25750
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25751
 
Usually this means the macro was only invoked conditionally." >&2;}
25752
 
   { (exit 1); exit 1; }; }
25753
 
fi
25754
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25755
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25756
 
Usually this means the macro was only invoked conditionally." >&5
25757
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25758
 
Usually this means the macro was only invoked conditionally." >&2;}
25759
 
   { (exit 1); exit 1; }; }
25760
 
fi
25761
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25762
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25763
 
Usually this means the macro was only invoked conditionally." >&5
25764
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25765
 
Usually this means the macro was only invoked conditionally." >&2;}
25766
 
   { (exit 1); exit 1; }; }
25767
 
fi
25768
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25769
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25770
 
Usually this means the macro was only invoked conditionally." >&5
25771
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25772
 
Usually this means the macro was only invoked conditionally." >&2;}
25773
 
   { (exit 1); exit 1; }; }
25774
 
fi
25775
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25776
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25777
 
Usually this means the macro was only invoked conditionally." >&5
25778
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25779
 
Usually this means the macro was only invoked conditionally." >&2;}
25780
 
   { (exit 1); exit 1; }; }
25781
 
fi
25782
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25783
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25784
 
Usually this means the macro was only invoked conditionally." >&5
25785
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25786
 
Usually this means the macro was only invoked conditionally." >&2;}
25787
 
   { (exit 1); exit 1; }; }
25788
 
fi
25789
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25790
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25791
 
Usually this means the macro was only invoked conditionally." >&5
25792
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25793
 
Usually this means the macro was only invoked conditionally." >&2;}
25794
 
   { (exit 1); exit 1; }; }
25795
 
fi
25796
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25797
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25798
 
Usually this means the macro was only invoked conditionally." >&5
25799
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25800
 
Usually this means the macro was only invoked conditionally." >&2;}
25801
 
   { (exit 1); exit 1; }; }
25802
 
fi
25803
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25804
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25805
 
Usually this means the macro was only invoked conditionally." >&5
25806
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25807
 
Usually this means the macro was only invoked conditionally." >&2;}
25808
 
   { (exit 1); exit 1; }; }
25809
 
fi
25810
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25811
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25812
 
Usually this means the macro was only invoked conditionally." >&5
25813
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25814
 
Usually this means the macro was only invoked conditionally." >&2;}
25815
 
   { (exit 1); exit 1; }; }
25816
 
fi
25817
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25818
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25819
 
Usually this means the macro was only invoked conditionally." >&5
25820
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25821
 
Usually this means the macro was only invoked conditionally." >&2;}
25822
 
   { (exit 1); exit 1; }; }
25823
 
fi
25824
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25825
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25826
 
Usually this means the macro was only invoked conditionally." >&5
25827
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25828
 
Usually this means the macro was only invoked conditionally." >&2;}
25829
 
   { (exit 1); exit 1; }; }
25830
 
fi
25831
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25832
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25833
 
Usually this means the macro was only invoked conditionally." >&5
25834
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25835
 
Usually this means the macro was only invoked conditionally." >&2;}
25836
 
   { (exit 1); exit 1; }; }
25837
 
fi
25838
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25839
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25840
 
Usually this means the macro was only invoked conditionally." >&5
25841
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25842
 
Usually this means the macro was only invoked conditionally." >&2;}
25843
 
   { (exit 1); exit 1; }; }
25844
 
fi
25845
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25846
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25847
 
Usually this means the macro was only invoked conditionally." >&5
25848
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25849
 
Usually this means the macro was only invoked conditionally." >&2;}
25850
 
   { (exit 1); exit 1; }; }
25851
 
fi
25852
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25853
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25854
 
Usually this means the macro was only invoked conditionally." >&5
25855
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25856
 
Usually this means the macro was only invoked conditionally." >&2;}
25857
 
   { (exit 1); exit 1; }; }
25858
 
fi
25859
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25860
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25861
 
Usually this means the macro was only invoked conditionally." >&5
25862
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25863
 
Usually this means the macro was only invoked conditionally." >&2;}
25864
 
   { (exit 1); exit 1; }; }
25865
 
fi
25866
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25867
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25868
 
Usually this means the macro was only invoked conditionally." >&5
25869
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25870
 
Usually this means the macro was only invoked conditionally." >&2;}
25871
 
   { (exit 1); exit 1; }; }
25872
 
fi
25873
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25874
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25875
 
Usually this means the macro was only invoked conditionally." >&5
25876
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25877
 
Usually this means the macro was only invoked conditionally." >&2;}
25878
 
   { (exit 1); exit 1; }; }
25879
 
fi
25880
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25881
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25882
 
Usually this means the macro was only invoked conditionally." >&5
25883
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25884
 
Usually this means the macro was only invoked conditionally." >&2;}
25885
 
   { (exit 1); exit 1; }; }
25886
 
fi
25887
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25888
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25889
 
Usually this means the macro was only invoked conditionally." >&5
25890
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25891
 
Usually this means the macro was only invoked conditionally." >&2;}
25892
 
   { (exit 1); exit 1; }; }
25893
 
fi
25894
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25895
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25896
 
Usually this means the macro was only invoked conditionally." >&5
25897
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25898
 
Usually this means the macro was only invoked conditionally." >&2;}
25899
 
   { (exit 1); exit 1; }; }
25900
 
fi
25901
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25902
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25903
 
Usually this means the macro was only invoked conditionally." >&5
25904
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25905
 
Usually this means the macro was only invoked conditionally." >&2;}
25906
 
   { (exit 1); exit 1; }; }
25907
 
fi
25908
 
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
25909
 
  { { echo "$as_me:$LINENO: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25910
 
Usually this means the macro was only invoked conditionally." >&5
25911
 
echo "$as_me: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25912
 
Usually this means the macro was only invoked conditionally." >&2;}
25913
 
   { (exit 1); exit 1; }; }
25914
 
fi
25915
 
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
25916
 
  { { echo "$as_me:$LINENO: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25917
 
Usually this means the macro was only invoked conditionally." >&5
25918
 
echo "$as_me: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25919
 
Usually this means the macro was only invoked conditionally." >&2;}
25920
 
   { (exit 1); exit 1; }; }
25921
 
fi
25922
 
if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
25923
 
  { { echo "$as_me:$LINENO: error: conditional \"LINUX\" was never defined.
25924
 
Usually this means the macro was only invoked conditionally." >&5
25925
 
echo "$as_me: error: conditional \"LINUX\" was never defined.
25926
 
Usually this means the macro was only invoked conditionally." >&2;}
25927
 
   { (exit 1); exit 1; }; }
25928
 
fi
25929
 
if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
25930
 
  { { echo "$as_me:$LINENO: error: conditional \"DARWIN\" was never defined.
25931
 
Usually this means the macro was only invoked conditionally." >&5
25932
 
echo "$as_me: error: conditional \"DARWIN\" was never defined.
25933
 
Usually this means the macro was only invoked conditionally." >&2;}
25934
 
   { (exit 1); exit 1; }; }
25935
 
fi
25936
 
 
25937
 
: ${CONFIG_STATUS=./config.status}
25938
 
ac_clean_files_save=$ac_clean_files
25939
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25940
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25941
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
25942
 
cat >$CONFIG_STATUS <<_ACEOF
25943
 
#! $SHELL
25944
 
# Generated by $as_me.
25945
 
# Run this file to recreate the current configuration.
25946
 
# Compiler output produced by configure, useful for debugging
25947
 
# configure, is in config.log if it exists.
25948
 
 
25949
 
debug=false
25950
 
ac_cs_recheck=false
25951
 
ac_cs_silent=false
25952
 
SHELL=\${CONFIG_SHELL-$SHELL}
25953
 
_ACEOF
25954
 
 
25955
 
cat >>$CONFIG_STATUS <<\_ACEOF
25956
 
## --------------------- ##
25957
 
## M4sh Initialization.  ##
25958
 
## --------------------- ##
25959
 
 
25960
 
# Be more Bourne compatible
25961
 
DUALCASE=1; export DUALCASE # for MKS sh
25962
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25963
 
  emulate sh
25964
 
  NULLCMD=:
25965
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25966
 
  # is contrary to our usage.  Disable this feature.
25967
 
  alias -g '${1+"$@"}'='"$@"'
25968
 
  setopt NO_GLOB_SUBST
25969
 
else
25970
 
  case `(set -o) 2>/dev/null` in
25971
 
  *posix*) set -o posix ;;
25972
 
esac
25973
 
 
25974
 
fi
25975
 
 
25976
 
 
25977
 
 
25978
 
 
25979
 
# PATH needs CR
25980
 
# Avoid depending upon Character Ranges.
25981
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25982
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25983
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25984
 
as_cr_digits='0123456789'
25985
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
25986
 
 
25987
 
# The user is always right.
25988
 
if test "${PATH_SEPARATOR+set}" != set; then
25989
 
  echo "#! /bin/sh" >conf$$.sh
25990
 
  echo  "exit 0"   >>conf$$.sh
25991
 
  chmod +x conf$$.sh
25992
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25993
 
    PATH_SEPARATOR=';'
25994
 
  else
25995
 
    PATH_SEPARATOR=:
25996
 
  fi
25997
 
  rm -f conf$$.sh
25998
 
fi
25999
 
 
26000
 
# Support unset when possible.
26001
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26002
 
  as_unset=unset
26003
 
else
26004
 
  as_unset=false
26005
 
fi
26006
 
 
26007
 
 
26008
 
# IFS
26009
 
# We need space, tab and new line, in precisely that order.  Quoting is
26010
 
# there to prevent editors from complaining about space-tab.
26011
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
26012
 
# splitting by setting IFS to empty value.)
26013
 
as_nl='
26014
 
'
26015
 
IFS=" ""        $as_nl"
26016
 
 
26017
 
# Find who we are.  Look in the path if we contain no directory separator.
26018
 
case $0 in
26019
 
  *[\\/]* ) as_myself=$0 ;;
26020
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26021
 
for as_dir in $PATH
26022
 
do
26023
 
  IFS=$as_save_IFS
26024
 
  test -z "$as_dir" && as_dir=.
26025
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26026
 
done
26027
 
IFS=$as_save_IFS
26028
 
 
26029
 
     ;;
26030
 
esac
26031
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
26032
 
# in which case we are not to be found in the path.
26033
 
if test "x$as_myself" = x; then
26034
 
  as_myself=$0
26035
 
fi
26036
 
if test ! -f "$as_myself"; then
26037
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26038
 
  { (exit 1); exit 1; }
26039
 
fi
26040
 
 
26041
 
# Work around bugs in pre-3.0 UWIN ksh.
26042
 
for as_var in ENV MAIL MAILPATH
26043
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26044
 
done
26045
 
PS1='$ '
26046
 
PS2='> '
26047
 
PS4='+ '
26048
 
 
26049
 
# NLS nuisances.
26050
 
for as_var in \
26051
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26052
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26053
 
  LC_TELEPHONE LC_TIME
26054
 
do
26055
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26056
 
    eval $as_var=C; export $as_var
26057
 
  else
26058
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26059
 
  fi
26060
 
done
26061
 
 
26062
 
# Required to use basename.
26063
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
26064
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26065
 
  as_expr=expr
26066
 
else
26067
 
  as_expr=false
26068
 
fi
26069
 
 
26070
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26071
 
  as_basename=basename
26072
 
else
26073
 
  as_basename=false
26074
 
fi
26075
 
 
26076
 
 
26077
 
# Name of the executable.
26078
 
as_me=`$as_basename -- "$0" ||
26079
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26080
 
         X"$0" : 'X\(//\)$' \| \
26081
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26082
 
echo X/"$0" |
26083
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
26084
 
            s//\1/
26085
 
            q
26086
 
          }
26087
 
          /^X\/\(\/\/\)$/{
26088
 
            s//\1/
26089
 
            q
26090
 
          }
26091
 
          /^X\/\(\/\).*/{
26092
 
            s//\1/
26093
 
            q
26094
 
          }
26095
 
          s/.*/./; q'`
26096
 
 
26097
 
# CDPATH.
26098
 
$as_unset CDPATH
26099
 
 
26100
 
 
26101
 
 
26102
 
  as_lineno_1=$LINENO
26103
 
  as_lineno_2=$LINENO
26104
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
26105
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26106
 
 
26107
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26108
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
26109
 
  # line-number line after each line using $LINENO; the second 'sed'
26110
 
  # does the real work.  The second script uses 'N' to pair each
26111
 
  # line-number line with the line containing $LINENO, and appends
26112
 
  # trailing '-' during substitution so that $LINENO is not a special
26113
 
  # case at line end.
26114
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26115
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
26116
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
26117
 
  sed -n '
26118
 
    p
26119
 
    /[$]LINENO/=
26120
 
  ' <$as_myself |
26121
 
    sed '
26122
 
      s/[$]LINENO.*/&-/
26123
 
      t lineno
26124
 
      b
26125
 
      :lineno
26126
 
      N
26127
 
      :loop
26128
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26129
 
      t loop
26130
 
      s/-\n.*//
26131
 
    ' >$as_me.lineno &&
26132
 
  chmod +x "$as_me.lineno" ||
26133
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26134
 
   { (exit 1); exit 1; }; }
26135
 
 
26136
 
  # Don't try to exec as it changes $[0], causing all sort of problems
26137
 
  # (the dirname of $[0] is not the place where we might find the
26138
 
  # original and so on.  Autoconf is especially sensitive to this).
26139
 
  . "./$as_me.lineno"
26140
 
  # Exit status is that of the last command.
26141
 
  exit
26142
 
}
26143
 
 
26144
 
 
26145
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26146
 
  as_dirname=dirname
26147
 
else
26148
 
  as_dirname=false
26149
 
fi
26150
 
 
26151
 
ECHO_C= ECHO_N= ECHO_T=
26152
 
case `echo -n x` in
26153
 
-n*)
26154
 
  case `echo 'x\c'` in
26155
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
26156
 
  *)   ECHO_C='\c';;
26157
 
  esac;;
26158
 
*)
26159
 
  ECHO_N='-n';;
26160
 
esac
26161
 
 
26162
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
26163
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26164
 
  as_expr=expr
26165
 
else
26166
 
  as_expr=false
26167
 
fi
26168
 
 
26169
 
rm -f conf$$ conf$$.exe conf$$.file
26170
 
if test -d conf$$.dir; then
26171
 
  rm -f conf$$.dir/conf$$.file
26172
 
else
26173
 
  rm -f conf$$.dir
26174
 
  mkdir conf$$.dir
26175
 
fi
26176
 
echo >conf$$.file
26177
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
26178
 
  as_ln_s='ln -s'
26179
 
  # ... but there are two gotchas:
26180
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26181
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26182
 
  # In both cases, we have to default to `cp -p'.
26183
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26184
 
    as_ln_s='cp -p'
26185
 
elif ln conf$$.file conf$$ 2>/dev/null; then
26186
 
  as_ln_s=ln
26187
 
else
26188
 
  as_ln_s='cp -p'
26189
 
fi
26190
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26191
 
rmdir conf$$.dir 2>/dev/null
26192
 
 
26193
 
if mkdir -p . 2>/dev/null; then
26194
 
  as_mkdir_p=:
26195
 
else
26196
 
  test -d ./-p && rmdir ./-p
26197
 
  as_mkdir_p=false
26198
 
fi
26199
 
 
26200
 
if test -x / >/dev/null 2>&1; then
26201
 
  as_test_x='test -x'
26202
 
else
26203
 
  if ls -dL / >/dev/null 2>&1; then
26204
 
    as_ls_L_option=L
26205
 
  else
26206
 
    as_ls_L_option=
26207
 
  fi
26208
 
  as_test_x='
26209
 
    eval sh -c '\''
26210
 
      if test -d "$1"; then
26211
 
        test -d "$1/.";
26212
 
      else
26213
 
        case $1 in
26214
 
        -*)set "./$1";;
26215
 
        esac;
26216
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26217
 
        ???[sx]*):;;*)false;;esac;fi
26218
 
    '\'' sh
26219
 
  '
26220
 
fi
26221
 
as_executable_p=$as_test_x
26222
 
 
26223
 
# Sed expression to map a string onto a valid CPP name.
26224
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26225
 
 
26226
 
# Sed expression to map a string onto a valid variable name.
26227
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26228
 
 
26229
 
 
26230
 
exec 6>&1
26231
 
 
26232
 
# Save the log message, to keep $[0] and so on meaningful, and to
26233
 
# report actual input values of CONFIG_FILES etc. instead of their
26234
 
# values after options handling.
26235
 
ac_log="
26236
 
This file was extended by codeblocks $as_me 1.0svn, which was
26237
 
generated by GNU Autoconf 2.61.  Invocation command line was
26238
 
 
26239
 
  CONFIG_FILES    = $CONFIG_FILES
26240
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
26241
 
  CONFIG_LINKS    = $CONFIG_LINKS
26242
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
26243
 
  $ $0 $@
26244
 
 
26245
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
26246
 
"
26247
 
 
26248
 
_ACEOF
26249
 
 
26250
 
cat >>$CONFIG_STATUS <<_ACEOF
26251
 
# Files that config.status was made for.
26252
 
config_files="$ac_config_files"
26253
 
config_headers="$ac_config_headers"
26254
 
config_commands="$ac_config_commands"
26255
 
 
26256
 
_ACEOF
26257
 
 
26258
 
cat >>$CONFIG_STATUS <<\_ACEOF
26259
 
ac_cs_usage="\
26260
 
\`$as_me' instantiates files from templates according to the
26261
 
current configuration.
26262
 
 
26263
 
Usage: $0 [OPTIONS] [FILE]...
26264
 
 
26265
 
  -h, --help       print this help, then exit
26266
 
  -V, --version    print version number and configuration settings, then exit
26267
 
  -q, --quiet      do not print progress messages
26268
 
  -d, --debug      don't remove temporary files
26269
 
      --recheck    update $as_me by reconfiguring in the same conditions
26270
 
  --file=FILE[:TEMPLATE]
26271
 
                   instantiate the configuration file FILE
26272
 
  --header=FILE[:TEMPLATE]
26273
 
                   instantiate the configuration header FILE
26274
 
 
26275
 
Configuration files:
26276
 
$config_files
26277
 
 
26278
 
Configuration headers:
26279
 
$config_headers
26280
 
 
26281
 
Configuration commands:
26282
 
$config_commands
26283
 
 
26284
 
Report bugs to <bug-autoconf@gnu.org>."
26285
 
 
26286
 
_ACEOF
26287
 
cat >>$CONFIG_STATUS <<_ACEOF
26288
 
ac_cs_version="\\
26289
 
codeblocks config.status 1.0svn
26290
 
configured by $0, generated by GNU Autoconf 2.61,
26291
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26292
 
 
26293
 
Copyright (C) 2006 Free Software Foundation, Inc.
26294
 
This config.status script is free software; the Free Software Foundation
26295
 
gives unlimited permission to copy, distribute and modify it."
26296
 
 
26297
 
ac_pwd='$ac_pwd'
26298
 
srcdir='$srcdir'
26299
 
INSTALL='$INSTALL'
26300
 
MKDIR_P='$MKDIR_P'
26301
 
_ACEOF
26302
 
 
26303
 
cat >>$CONFIG_STATUS <<\_ACEOF
26304
 
# If no file are specified by the user, then we need to provide default
26305
 
# value.  By we need to know if files were specified by the user.
26306
 
ac_need_defaults=:
26307
 
while test $# != 0
26308
 
do
26309
 
  case $1 in
26310
 
  --*=*)
26311
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
26312
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26313
 
    ac_shift=:
26314
 
    ;;
26315
 
  *)
26316
 
    ac_option=$1
26317
 
    ac_optarg=$2
26318
 
    ac_shift=shift
26319
 
    ;;
26320
 
  esac
26321
 
 
26322
 
  case $ac_option in
26323
 
  # Handling of the options.
26324
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26325
 
    ac_cs_recheck=: ;;
26326
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26327
 
    echo "$ac_cs_version"; exit ;;
26328
 
  --debug | --debu | --deb | --de | --d | -d )
26329
 
    debug=: ;;
26330
 
  --file | --fil | --fi | --f )
26331
 
    $ac_shift
26332
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
26333
 
    ac_need_defaults=false;;
26334
 
  --header | --heade | --head | --hea )
26335
 
    $ac_shift
26336
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
26337
 
    ac_need_defaults=false;;
26338
 
  --he | --h)
26339
 
    # Conflict between --help and --header
26340
 
    { echo "$as_me: error: ambiguous option: $1
26341
 
Try \`$0 --help' for more information." >&2
26342
 
   { (exit 1); exit 1; }; };;
26343
 
  --help | --hel | -h )
26344
 
    echo "$ac_cs_usage"; exit ;;
26345
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26346
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
26347
 
    ac_cs_silent=: ;;
26348
 
 
26349
 
  # This is an error.
26350
 
  -*) { echo "$as_me: error: unrecognized option: $1
26351
 
Try \`$0 --help' for more information." >&2
26352
 
   { (exit 1); exit 1; }; } ;;
26353
 
 
26354
 
  *) ac_config_targets="$ac_config_targets $1"
26355
 
     ac_need_defaults=false ;;
26356
 
 
26357
 
  esac
26358
 
  shift
26359
 
done
26360
 
 
26361
 
ac_configure_extra_args=
26362
 
 
26363
 
if $ac_cs_silent; then
26364
 
  exec 6>/dev/null
26365
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
26366
 
fi
26367
 
 
26368
 
_ACEOF
26369
 
cat >>$CONFIG_STATUS <<_ACEOF
26370
 
if \$ac_cs_recheck; then
26371
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26372
 
  CONFIG_SHELL=$SHELL
26373
 
  export CONFIG_SHELL
26374
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26375
 
fi
26376
 
 
26377
 
_ACEOF
26378
 
cat >>$CONFIG_STATUS <<\_ACEOF
26379
 
exec 5>>config.log
26380
 
{
26381
 
  echo
26382
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
26383
 
@%:@@%:@ Running $as_me. @%:@@%:@
26384
 
_ASBOX
26385
 
  echo "$ac_log"
26386
 
} >&5
26387
 
 
26388
 
_ACEOF
26389
 
cat >>$CONFIG_STATUS <<_ACEOF
26390
 
#
26391
 
# INIT-COMMANDS
26392
 
#
26393
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26394
 
 
26395
 
_ACEOF
26396
 
 
26397
 
cat >>$CONFIG_STATUS <<\_ACEOF
26398
 
 
26399
 
# Handling of arguments.
26400
 
for ac_config_target in $ac_config_targets
26401
 
do
26402
 
  case $ac_config_target in
26403
 
    "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
26404
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26405
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26406
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
26407
 
    "src/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/Makefile" ;;
26408
 
    "src/base/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/tinyxml/Makefile" ;;
26409
 
    "src/build_tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/Makefile" ;;
26410
 
    "src/build_tools/autorevision/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/autorevision/Makefile" ;;
26411
 
    "src/include/autorevision.h") CONFIG_FILES="$CONFIG_FILES src/include/autorevision.h" ;;
26412
 
    "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
26413
 
    "src/include/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/Makefile" ;;
26414
 
    "src/include/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/bindings/Makefile" ;;
26415
 
    "src/include/scripting/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/include/Makefile" ;;
26416
 
    "src/include/scripting/sqplus/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/sqplus/Makefile" ;;
26417
 
    "src/include/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/sqstdlib/Makefile" ;;
26418
 
    "src/include/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/squirrel/Makefile" ;;
26419
 
    "src/include/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/tinyxml/Makefile" ;;
26420
 
    "src/include/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/wxFlatNotebook/Makefile" ;;
26421
 
    "src/include/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/wxscintilla/Makefile" ;;
26422
 
    "src/sdk/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/Makefile" ;;
26423
 
    "src/sdk/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/Makefile" ;;
26424
 
    "src/sdk/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/bindings/Makefile" ;;
26425
 
    "src/sdk/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/squirrel/Makefile" ;;
26426
 
    "src/sdk/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqstdlib/Makefile" ;;
26427
 
    "src/sdk/scripting/sqplus/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqplus/Makefile" ;;
26428
 
    "src/sdk/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxscintilla/Makefile" ;;
26429
 
    "src/sdk/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxFlatNotebook/Makefile" ;;
26430
 
    "src/sdk/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/Makefile" ;;
26431
 
    "src/sdk/resources/lexers/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/lexers/Makefile" ;;
26432
 
    "src/src/wxAUI/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/wxAUI/Makefile" ;;
26433
 
    "src/src/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/Makefile" ;;
26434
 
    "src/src/resources/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/icons/Makefile" ;;
26435
 
    "src/src/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/Makefile" ;;
26436
 
    "src/src/resources/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/16x16/Makefile" ;;
26437
 
    "src/src/resources/images/settings/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/settings/Makefile" ;;
26438
 
    "src/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/Makefile" ;;
26439
 
    "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
26440
 
    "src/plugins/astyle/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/Makefile" ;;
26441
 
    "src/plugins/astyle/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/resources/Makefile" ;;
26442
 
    "src/plugins/autosave/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/autosave/Makefile" ;;
26443
 
    "src/plugins/classwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/Makefile" ;;
26444
 
    "src/plugins/classwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/resources/Makefile" ;;
26445
 
    "src/plugins/codecompletion/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/Makefile" ;;
26446
 
    "src/plugins/codecompletion/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/resources/Makefile" ;;
26447
 
    "src/plugins/compilergcc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/Makefile" ;;
26448
 
    "src/plugins/compilergcc/depslib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/Makefile" ;;
26449
 
    "src/plugins/compilergcc/depslib/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/src/Makefile" ;;
26450
 
    "src/plugins/compilergcc/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/resources/Makefile" ;;
26451
 
    "src/plugins/debuggergdb/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/Makefile" ;;
26452
 
    "src/plugins/debuggergdb/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/Makefile" ;;
26453
 
    "src/plugins/debuggergdb/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/images/Makefile" ;;
26454
 
    "src/plugins/debuggergdb/resources/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/images/16x16/Makefile" ;;
26455
 
    "src/plugins/defaultmimehandler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/Makefile" ;;
26456
 
    "src/plugins/defaultmimehandler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/resources/Makefile" ;;
26457
 
    "src/plugins/openfileslist/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/openfileslist/Makefile" ;;
26458
 
    "src/plugins/projectsimporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/Makefile" ;;
26459
 
    "src/plugins/projectsimporter/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/resources/Makefile" ;;
26460
 
    "src/plugins/scriptedwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/Makefile" ;;
26461
 
    "src/plugins/scriptedwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/Makefile" ;;
26462
 
    "src/plugins/scriptedwizard/resources/avr/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/Makefile" ;;
26463
 
    "src/plugins/scriptedwizard/resources/avr/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/files/Makefile" ;;
26464
 
    "src/plugins/scriptedwizard/resources/c_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/c_file/Makefile" ;;
26465
 
    "src/plugins/scriptedwizard/resources/console/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/Makefile" ;;
26466
 
    "src/plugins/scriptedwizard/resources/console/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/c/Makefile" ;;
26467
 
    "src/plugins/scriptedwizard/resources/console/cpp/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/cpp/Makefile" ;;
26468
 
    "src/plugins/scriptedwizard/resources/d/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/Makefile" ;;
26469
 
    "src/plugins/scriptedwizard/resources/d/console/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/console/Makefile" ;;
26470
 
    "src/plugins/scriptedwizard/resources/directx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/Makefile" ;;
26471
 
    "src/plugins/scriptedwizard/resources/directx/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/files/Makefile" ;;
26472
 
    "src/plugins/scriptedwizard/resources/dll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/Makefile" ;;
26473
 
    "src/plugins/scriptedwizard/resources/dll/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/files/Makefile" ;;
26474
 
    "src/plugins/scriptedwizard/resources/empty/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty/Makefile" ;;
26475
 
    "src/plugins/scriptedwizard/resources/empty_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty_file/Makefile" ;;
26476
 
    "src/plugins/scriptedwizard/resources/fltk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/Makefile" ;;
26477
 
    "src/plugins/scriptedwizard/resources/fltk/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/files/Makefile" ;;
26478
 
    "src/plugins/scriptedwizard/resources/fltk/fluid/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/fluid/Makefile" ;;
26479
 
    "src/plugins/scriptedwizard/resources/glfw/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glfw/Makefile" ;;
26480
 
    "src/plugins/scriptedwizard/resources/glfw/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glfw/files/Makefile" ;;
26481
 
    "src/plugins/scriptedwizard/resources/glut/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glut/Makefile" ;;
26482
 
    "src/plugins/scriptedwizard/resources/glut/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glut/files/Makefile" ;;
26483
 
    "src/plugins/scriptedwizard/resources/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/gtk/Makefile" ;;
26484
 
    "src/plugins/scriptedwizard/resources/gtk/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/gtk/files/Makefile" ;;
26485
 
    "src/plugins/scriptedwizard/resources/h_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/h_file/Makefile" ;;
26486
 
    "src/plugins/scriptedwizard/resources/irrlicht/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/irrlicht/Makefile" ;;
26487
 
    "src/plugins/scriptedwizard/resources/irrlicht/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/irrlicht/files/Makefile" ;;
26488
 
    "src/plugins/scriptedwizard/resources/lf/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/Makefile" ;;
26489
 
    "src/plugins/scriptedwizard/resources/lf/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/Makefile" ;;
26490
 
    "src/plugins/scriptedwizard/resources/lf/files/quick/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/quick/Makefile" ;;
26491
 
    "src/plugins/scriptedwizard/resources/lf/files/structured/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/structured/Makefile" ;;
26492
 
    "src/plugins/scriptedwizard/resources/ogre/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/Makefile" ;;
26493
 
    "src/plugins/scriptedwizard/resources/ogre/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/files/Makefile" ;;
26494
 
    "src/plugins/scriptedwizard/resources/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/Makefile" ;;
26495
 
    "src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile" ;;
26496
 
    "src/plugins/scriptedwizard/resources/opengl/files_win/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_win/Makefile" ;;
26497
 
    "src/plugins/scriptedwizard/resources/qt4/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/Makefile" ;;
26498
 
    "src/plugins/scriptedwizard/resources/qt4/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/files/Makefile" ;;
26499
 
    "src/plugins/scriptedwizard/resources/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/Makefile" ;;
26500
 
    "src/plugins/scriptedwizard/resources/sdl/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/files/Makefile" ;;
26501
 
    "src/plugins/scriptedwizard/resources/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/Makefile" ;;
26502
 
    "src/plugins/scriptedwizard/resources/plugins/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/templates/Makefile" ;;
26503
 
    "src/plugins/scriptedwizard/resources/smartwin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/Makefile" ;;
26504
 
    "src/plugins/scriptedwizard/resources/smartwin/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/files/Makefile" ;;
26505
 
    "src/plugins/scriptedwizard/resources/staticlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/Makefile" ;;
26506
 
    "src/plugins/scriptedwizard/resources/staticlib/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/files/Makefile" ;;
26507
 
    "src/plugins/scriptedwizard/resources/sharedlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/Makefile" ;;
26508
 
    "src/plugins/scriptedwizard/resources/sharedlib/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/files/Makefile" ;;
26509
 
    "src/plugins/scriptedwizard/resources/sys/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/Makefile" ;;
26510
 
    "src/plugins/scriptedwizard/resources/sys/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/files/Makefile" ;;
26511
 
    "src/plugins/scriptedwizard/resources/win32gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/Makefile" ;;
26512
 
    "src/plugins/scriptedwizard/resources/win32gui/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/Makefile" ;;
26513
 
    "src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile" ;;
26514
 
    "src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile" ;;
26515
 
    "src/plugins/scriptedwizard/resources/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/Makefile" ;;
26516
 
    "src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile" ;;
26517
 
    "src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile" ;;
26518
 
    "src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile" ;;
26519
 
    "src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile" ;;
26520
 
    "src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile" ;;
26521
 
    "src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile" ;;
26522
 
    "src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile" ;;
26523
 
    "src/plugins/todo/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/Makefile" ;;
26524
 
    "src/plugins/todo/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/resources/Makefile" ;;
26525
 
    "src/plugins/xpmanifest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/xpmanifest/Makefile" ;;
26526
 
    "src/plugins/contrib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Makefile" ;;
26527
 
    "src/plugins/contrib/AutoVersioning/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/AutoVersioning/Makefile" ;;
26528
 
    "src/plugins/contrib/BrowseTracker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/BrowseTracker/Makefile" ;;
26529
 
    "src/plugins/contrib/byogames/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/byogames/Makefile" ;;
26530
 
    "src/plugins/contrib/cb_koders/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/cb_koders/Makefile" ;;
26531
 
    "src/plugins/contrib/codesnippets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/Makefile" ;;
26532
 
    "src/plugins/contrib/codesnippets/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/resources/Makefile" ;;
26533
 
    "src/plugins/contrib/codestat/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/Makefile" ;;
26534
 
    "src/plugins/contrib/codestat/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/resources/Makefile" ;;
26535
 
    "src/plugins/contrib/dragscroll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/dragscroll/Makefile" ;;
26536
 
    "src/plugins/contrib/envvars/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/envvars/Makefile" ;;
26537
 
    "src/plugins/contrib/help_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/Makefile" ;;
26538
 
    "src/plugins/contrib/help_plugin/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/bzip2/Makefile" ;;
26539
 
    "src/plugins/contrib/help_plugin/zlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/zlib/Makefile" ;;
26540
 
    "src/plugins/contrib/keybinder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/keybinder/Makefile" ;;
26541
 
    "src/plugins/contrib/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/Makefile" ;;
26542
 
    "src/plugins/contrib/lib_finder/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/lib_finder/Makefile" ;;
26543
 
    "src/plugins/contrib/profiler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/Makefile" ;;
26544
 
    "src/plugins/contrib/profiler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/resources/Makefile" ;;
26545
 
    "src/plugins/contrib/source_exporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/Makefile" ;;
26546
 
    "src/plugins/contrib/source_exporter/wxPdfDocument/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/wxPdfDocument/Makefile" ;;
26547
 
    "src/plugins/contrib/symtab/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/Makefile" ;;
26548
 
    "src/plugins/contrib/symtab/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/resources/Makefile" ;;
26549
 
    "src/plugins/contrib/regex_testbed/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/regex_testbed/Makefile" ;;
26550
 
    "src/plugins/contrib/ThreadSearch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/Makefile" ;;
26551
 
    "src/plugins/contrib/ThreadSearch/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/Makefile" ;;
26552
 
    "src/plugins/contrib/ThreadSearch/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/images/Makefile" ;;
26553
 
    "src/plugins/contrib/wxSmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/Makefile" ;;
26554
 
    "src/plugins/contrib/wxSmith/propgrid/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/propgrid/Makefile" ;;
26555
 
    "src/plugins/contrib/wxSmith/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/plugin/Makefile" ;;
26556
 
    "src/plugins/contrib/wxSmith/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/properties/Makefile" ;;
26557
 
    "src/plugins/contrib/wxSmith/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/Makefile" ;;
26558
 
    "src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile" ;;
26559
 
    "src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile" ;;
26560
 
    "src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile" ;;
26561
 
    "src/plugins/contrib/wxSmithContribItems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithContribItems/Makefile" ;;
26562
 
    "src/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES src/scripts/Makefile" ;;
26563
 
    "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
26564
 
    "src/tools/cb_share_config/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/cb_share_config/Makefile" ;;
26565
 
    "src/tools/ConsoleRunner/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/ConsoleRunner/Makefile" ;;
26566
 
    "src/setup/Makefile") CONFIG_FILES="$CONFIG_FILES src/setup/Makefile" ;;
26567
 
    "src/setup/mime/Makefile") CONFIG_FILES="$CONFIG_FILES src/setup/mime/Makefile" ;;
26568
 
    "src/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/Makefile" ;;
26569
 
    "src/templates/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/common/Makefile" ;;
26570
 
    "src/templates/unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/unix/Makefile" ;;
26571
 
    "src/templates/win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/win32/Makefile" ;;
26572
 
    "src/wxsmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/wxsmith/Makefile" ;;
26573
 
    "codeblocks.pc") CONFIG_FILES="$CONFIG_FILES codeblocks.pc" ;;
26574
 
    "codeblocks.spec") CONFIG_FILES="$CONFIG_FILES codeblocks.spec" ;;
26575
 
    "codeblocks.plist") CONFIG_FILES="$CONFIG_FILES codeblocks.plist" ;;
26576
 
 
26577
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26578
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26579
 
   { (exit 1); exit 1; }; };;
26580
 
  esac
26581
 
done
26582
 
 
26583
 
 
26584
 
# If the user did not use the arguments to specify the items to instantiate,
26585
 
# then the envvar interface is used.  Set only those that are not.
26586
 
# We use the long form for the default assignment because of an extremely
26587
 
# bizarre bug on SunOS 4.1.3.
26588
 
if $ac_need_defaults; then
26589
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26590
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26591
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26592
 
fi
26593
 
 
26594
 
# Have a temporary directory for convenience.  Make it in the build tree
26595
 
# simply because there is no reason against having it here, and in addition,
26596
 
# creating and moving files from /tmp can sometimes cause problems.
26597
 
# Hook for its removal unless debugging.
26598
 
# Note that there is a small window in which the directory will not be cleaned:
26599
 
# after its creation but before its name has been assigned to `$tmp'.
26600
 
$debug ||
26601
 
{
26602
 
  tmp=
26603
 
  trap 'exit_status=$?
26604
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26605
 
' 0
26606
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
26607
 
}
26608
 
# Create a (secure) tmp directory for tmp files.
26609
 
 
26610
 
{
26611
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26612
 
  test -n "$tmp" && test -d "$tmp"
26613
 
}  ||
26614
 
{
26615
 
  tmp=./conf$$-$RANDOM
26616
 
  (umask 077 && mkdir "$tmp")
26617
 
} ||
26618
 
{
26619
 
   echo "$me: cannot create a temporary directory in ." >&2
26620
 
   { (exit 1); exit 1; }
26621
 
}
26622
 
 
26623
 
#
26624
 
# Set up the sed scripts for CONFIG_FILES section.
26625
 
#
26626
 
 
26627
 
# No need to generate the scripts if there are no CONFIG_FILES.
26628
 
# This happens for instance when ./config.status config.h
26629
 
if test -n "$CONFIG_FILES"; then
26630
 
 
26631
 
_ACEOF
26632
 
 
26633
 
 
26634
 
 
26635
 
ac_delim='%!_!# '
26636
 
for ac_last_try in false false false false false :; do
26637
 
  cat >conf$$subs.sed <<_ACEOF
26638
 
SHELL!$SHELL$ac_delim
26639
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26640
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26641
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26642
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26643
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26644
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26645
 
exec_prefix!$exec_prefix$ac_delim
26646
 
prefix!$prefix$ac_delim
26647
 
program_transform_name!$program_transform_name$ac_delim
26648
 
bindir!$bindir$ac_delim
26649
 
sbindir!$sbindir$ac_delim
26650
 
libexecdir!$libexecdir$ac_delim
26651
 
datarootdir!$datarootdir$ac_delim
26652
 
datadir!$datadir$ac_delim
26653
 
sysconfdir!$sysconfdir$ac_delim
26654
 
sharedstatedir!$sharedstatedir$ac_delim
26655
 
localstatedir!$localstatedir$ac_delim
26656
 
includedir!$includedir$ac_delim
26657
 
oldincludedir!$oldincludedir$ac_delim
26658
 
docdir!$docdir$ac_delim
26659
 
infodir!$infodir$ac_delim
26660
 
htmldir!$htmldir$ac_delim
26661
 
dvidir!$dvidir$ac_delim
26662
 
pdfdir!$pdfdir$ac_delim
26663
 
psdir!$psdir$ac_delim
26664
 
libdir!$libdir$ac_delim
26665
 
localedir!$localedir$ac_delim
26666
 
mandir!$mandir$ac_delim
26667
 
DEFS!$DEFS$ac_delim
26668
 
ECHO_C!$ECHO_C$ac_delim
26669
 
ECHO_N!$ECHO_N$ac_delim
26670
 
ECHO_T!$ECHO_T$ac_delim
26671
 
LIBS!$LIBS$ac_delim
26672
 
build_alias!$build_alias$ac_delim
26673
 
host_alias!$host_alias$ac_delim
26674
 
target_alias!$target_alias$ac_delim
26675
 
build!$build$ac_delim
26676
 
build_cpu!$build_cpu$ac_delim
26677
 
build_vendor!$build_vendor$ac_delim
26678
 
build_os!$build_os$ac_delim
26679
 
host!$host$ac_delim
26680
 
host_cpu!$host_cpu$ac_delim
26681
 
host_vendor!$host_vendor$ac_delim
26682
 
host_os!$host_os$ac_delim
26683
 
target!$target$ac_delim
26684
 
target_cpu!$target_cpu$ac_delim
26685
 
target_vendor!$target_vendor$ac_delim
26686
 
target_os!$target_os$ac_delim
26687
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26688
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26689
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
26690
 
am__isrc!$am__isrc$ac_delim
26691
 
CYGPATH_W!$CYGPATH_W$ac_delim
26692
 
PACKAGE!$PACKAGE$ac_delim
26693
 
VERSION!$VERSION$ac_delim
26694
 
ACLOCAL!$ACLOCAL$ac_delim
26695
 
AUTOCONF!$AUTOCONF$ac_delim
26696
 
AUTOMAKE!$AUTOMAKE$ac_delim
26697
 
AUTOHEADER!$AUTOHEADER$ac_delim
26698
 
MAKEINFO!$MAKEINFO$ac_delim
26699
 
install_sh!$install_sh$ac_delim
26700
 
STRIP!$STRIP$ac_delim
26701
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26702
 
mkdir_p!$mkdir_p$ac_delim
26703
 
AWK!$AWK$ac_delim
26704
 
SET_MAKE!$SET_MAKE$ac_delim
26705
 
am__leading_dot!$am__leading_dot$ac_delim
26706
 
AMTAR!$AMTAR$ac_delim
26707
 
am__tar!$am__tar$ac_delim
26708
 
am__untar!$am__untar$ac_delim
26709
 
CXX!$CXX$ac_delim
26710
 
CXXFLAGS!$CXXFLAGS$ac_delim
26711
 
LDFLAGS!$LDFLAGS$ac_delim
26712
 
CPPFLAGS!$CPPFLAGS$ac_delim
26713
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
26714
 
EXEEXT!$EXEEXT$ac_delim
26715
 
OBJEXT!$OBJEXT$ac_delim
26716
 
DEPDIR!$DEPDIR$ac_delim
26717
 
am__include!$am__include$ac_delim
26718
 
am__quote!$am__quote$ac_delim
26719
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26720
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26721
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26722
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
26723
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26724
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26725
 
CC!$CC$ac_delim
26726
 
CFLAGS!$CFLAGS$ac_delim
26727
 
ac_ct_CC!$ac_ct_CC$ac_delim
26728
 
CCDEPMODE!$CCDEPMODE$ac_delim
26729
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26730
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26731
 
CPP!$CPP$ac_delim
26732
 
LN_S!$LN_S$ac_delim
26733
 
SHARED_FLAGS!$SHARED_FLAGS$ac_delim
26734
 
PLUGIN_FLAGS!$PLUGIN_FLAGS$ac_delim
26735
 
_ACEOF
26736
 
 
26737
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26738
 
    break
26739
 
  elif $ac_last_try; then
26740
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26741
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26742
 
   { (exit 1); exit 1; }; }
26743
 
  else
26744
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26745
 
  fi
26746
 
done
26747
 
 
26748
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26749
 
if test -n "$ac_eof"; then
26750
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26751
 
  ac_eof=`expr $ac_eof + 1`
26752
 
fi
26753
 
 
26754
 
cat >>$CONFIG_STATUS <<_ACEOF
26755
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26756
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26757
 
_ACEOF
26758
 
sed '
26759
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26760
 
s/^/s,@/; s/!/@,|#_!!_#|/
26761
 
:n
26762
 
t n
26763
 
s/'"$ac_delim"'$/,g/; t
26764
 
s/$/\\/; p
26765
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26766
 
' >>$CONFIG_STATUS <conf$$subs.sed
26767
 
rm -f conf$$subs.sed
26768
 
cat >>$CONFIG_STATUS <<_ACEOF
26769
 
CEOF$ac_eof
26770
 
_ACEOF
26771
 
 
26772
 
 
26773
 
ac_delim='%!_!# '
26774
 
for ac_last_try in false false false false false :; do
26775
 
  cat >conf$$subs.sed <<_ACEOF
26776
 
RC!$RC$ac_delim
26777
 
CODEBLOCKS_NT_TRUE!$CODEBLOCKS_NT_TRUE$ac_delim
26778
 
CODEBLOCKS_NT_FALSE!$CODEBLOCKS_NT_FALSE$ac_delim
26779
 
CODEBLOCKS_LINUX_TRUE!$CODEBLOCKS_LINUX_TRUE$ac_delim
26780
 
CODEBLOCKS_LINUX_FALSE!$CODEBLOCKS_LINUX_FALSE$ac_delim
26781
 
CODEBLOCKS_DARWIN_TRUE!$CODEBLOCKS_DARWIN_TRUE$ac_delim
26782
 
CODEBLOCKS_DARWIN_FALSE!$CODEBLOCKS_DARWIN_FALSE$ac_delim
26783
 
SED!$SED$ac_delim
26784
 
GREP!$GREP$ac_delim
26785
 
EGREP!$EGREP$ac_delim
26786
 
ECHO!$ECHO$ac_delim
26787
 
AR!$AR$ac_delim
26788
 
RANLIB!$RANLIB$ac_delim
26789
 
CXXCPP!$CXXCPP$ac_delim
26790
 
F77!$F77$ac_delim
26791
 
FFLAGS!$FFLAGS$ac_delim
26792
 
ac_ct_F77!$ac_ct_F77$ac_delim
26793
 
LIBTOOL!$LIBTOOL$ac_delim
26794
 
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
26795
 
HAVE_ZLIB_TRUE!$HAVE_ZLIB_TRUE$ac_delim
26796
 
HAVE_ZLIB_FALSE!$HAVE_ZLIB_FALSE$ac_delim
26797
 
HAVE_BZIP2_TRUE!$HAVE_BZIP2_TRUE$ac_delim
26798
 
HAVE_BZIP2_FALSE!$HAVE_BZIP2_FALSE$ac_delim
26799
 
CODEBLOCKS_VERSION_INFO!$CODEBLOCKS_VERSION_INFO$ac_delim
26800
 
PLATFORM_CFLAGS!$PLATFORM_CFLAGS$ac_delim
26801
 
PLATFORM_LIBS!$PLATFORM_LIBS$ac_delim
26802
 
CODEBLOCKS_PLATFORM!$CODEBLOCKS_PLATFORM$ac_delim
26803
 
BUILD_ASTYLE_TRUE!$BUILD_ASTYLE_TRUE$ac_delim
26804
 
BUILD_ASTYLE_FALSE!$BUILD_ASTYLE_FALSE$ac_delim
26805
 
BUILD_AUTOSAVE_TRUE!$BUILD_AUTOSAVE_TRUE$ac_delim
26806
 
BUILD_AUTOSAVE_FALSE!$BUILD_AUTOSAVE_FALSE$ac_delim
26807
 
BUILD_CLASSWIZARD_TRUE!$BUILD_CLASSWIZARD_TRUE$ac_delim
26808
 
BUILD_CLASSWIZARD_FALSE!$BUILD_CLASSWIZARD_FALSE$ac_delim
26809
 
BUILD_CODECOMPLETION_TRUE!$BUILD_CODECOMPLETION_TRUE$ac_delim
26810
 
BUILD_CODECOMPLETION_FALSE!$BUILD_CODECOMPLETION_FALSE$ac_delim
26811
 
BUILD_COMPILER_TRUE!$BUILD_COMPILER_TRUE$ac_delim
26812
 
BUILD_COMPILER_FALSE!$BUILD_COMPILER_FALSE$ac_delim
26813
 
BUILD_DEBUGGER_TRUE!$BUILD_DEBUGGER_TRUE$ac_delim
26814
 
BUILD_DEBUGGER_FALSE!$BUILD_DEBUGGER_FALSE$ac_delim
26815
 
BUILD_MIMEHANDLER_TRUE!$BUILD_MIMEHANDLER_TRUE$ac_delim
26816
 
BUILD_MIMEHANDLER_FALSE!$BUILD_MIMEHANDLER_FALSE$ac_delim
26817
 
BUILD_OPENFILESLIST_TRUE!$BUILD_OPENFILESLIST_TRUE$ac_delim
26818
 
BUILD_OPENFILESLIST_FALSE!$BUILD_OPENFILESLIST_FALSE$ac_delim
26819
 
BUILD_PROJECTSIMPORTER_TRUE!$BUILD_PROJECTSIMPORTER_TRUE$ac_delim
26820
 
BUILD_PROJECTSIMPORTER_FALSE!$BUILD_PROJECTSIMPORTER_FALSE$ac_delim
26821
 
BUILD_SCRIPTEDWIZARD_TRUE!$BUILD_SCRIPTEDWIZARD_TRUE$ac_delim
26822
 
BUILD_SCRIPTEDWIZARD_FALSE!$BUILD_SCRIPTEDWIZARD_FALSE$ac_delim
26823
 
BUILD_TODO_TRUE!$BUILD_TODO_TRUE$ac_delim
26824
 
BUILD_TODO_FALSE!$BUILD_TODO_FALSE$ac_delim
26825
 
BUILD_MANIFEST_TRUE!$BUILD_MANIFEST_TRUE$ac_delim
26826
 
BUILD_MANIFEST_FALSE!$BUILD_MANIFEST_FALSE$ac_delim
26827
 
BUILD_AUTOVERSIONING_TRUE!$BUILD_AUTOVERSIONING_TRUE$ac_delim
26828
 
BUILD_AUTOVERSIONING_FALSE!$BUILD_AUTOVERSIONING_FALSE$ac_delim
26829
 
BUILD_BROWSETRACKER_TRUE!$BUILD_BROWSETRACKER_TRUE$ac_delim
26830
 
BUILD_BROWSETRACKER_FALSE!$BUILD_BROWSETRACKER_FALSE$ac_delim
26831
 
BUILD_BYOGAMES_TRUE!$BUILD_BYOGAMES_TRUE$ac_delim
26832
 
BUILD_BYOGAMES_FALSE!$BUILD_BYOGAMES_FALSE$ac_delim
26833
 
BUILD_CBKODERS_TRUE!$BUILD_CBKODERS_TRUE$ac_delim
26834
 
BUILD_CBKODERS_FALSE!$BUILD_CBKODERS_FALSE$ac_delim
26835
 
BUILD_CODESNIPPETS_TRUE!$BUILD_CODESNIPPETS_TRUE$ac_delim
26836
 
BUILD_CODESNIPPETS_FALSE!$BUILD_CODESNIPPETS_FALSE$ac_delim
26837
 
BUILD_CODESTAT_TRUE!$BUILD_CODESTAT_TRUE$ac_delim
26838
 
BUILD_CODESTAT_FALSE!$BUILD_CODESTAT_FALSE$ac_delim
26839
 
BUILD_DRAGSCROLL_TRUE!$BUILD_DRAGSCROLL_TRUE$ac_delim
26840
 
BUILD_DRAGSCROLL_FALSE!$BUILD_DRAGSCROLL_FALSE$ac_delim
26841
 
BUILD_ENVVARS_TRUE!$BUILD_ENVVARS_TRUE$ac_delim
26842
 
BUILD_ENVVARS_FALSE!$BUILD_ENVVARS_FALSE$ac_delim
26843
 
BUILD_HELP_TRUE!$BUILD_HELP_TRUE$ac_delim
26844
 
BUILD_HELP_FALSE!$BUILD_HELP_FALSE$ac_delim
26845
 
BUILD_KEYBINDER_TRUE!$BUILD_KEYBINDER_TRUE$ac_delim
26846
 
BUILD_KEYBINDER_FALSE!$BUILD_KEYBINDER_FALSE$ac_delim
26847
 
BUILD_LIBFINDER_TRUE!$BUILD_LIBFINDER_TRUE$ac_delim
26848
 
BUILD_LIBFINDER_FALSE!$BUILD_LIBFINDER_FALSE$ac_delim
26849
 
BUILD_PROFILER_TRUE!$BUILD_PROFILER_TRUE$ac_delim
26850
 
BUILD_PROFILER_FALSE!$BUILD_PROFILER_FALSE$ac_delim
26851
 
BUILD_REGEX_TRUE!$BUILD_REGEX_TRUE$ac_delim
26852
 
BUILD_REGEX_FALSE!$BUILD_REGEX_FALSE$ac_delim
26853
 
BUILD_EXPORTER_TRUE!$BUILD_EXPORTER_TRUE$ac_delim
26854
 
BUILD_EXPORTER_FALSE!$BUILD_EXPORTER_FALSE$ac_delim
26855
 
BUILD_SYMTAB_TRUE!$BUILD_SYMTAB_TRUE$ac_delim
26856
 
BUILD_SYMTAB_FALSE!$BUILD_SYMTAB_FALSE$ac_delim
26857
 
BUILD_THREADSEARCH_TRUE!$BUILD_THREADSEARCH_TRUE$ac_delim
26858
 
BUILD_THREADSEARCH_FALSE!$BUILD_THREADSEARCH_FALSE$ac_delim
26859
 
BUILD_WXSMITH_TRUE!$BUILD_WXSMITH_TRUE$ac_delim
26860
 
BUILD_WXSMITH_FALSE!$BUILD_WXSMITH_FALSE$ac_delim
26861
 
BUILD_AUTOVERSIONING!$BUILD_AUTOVERSIONING$ac_delim
26862
 
BUILD_BROWSETRACKER!$BUILD_BROWSETRACKER$ac_delim
26863
 
BUILD_BYOGAMES!$BUILD_BYOGAMES$ac_delim
26864
 
BUILD_CBKODERS!$BUILD_CBKODERS$ac_delim
26865
 
BUILD_CODESNIPPETS!$BUILD_CODESNIPPETS$ac_delim
26866
 
BUILD_CODESTAT!$BUILD_CODESTAT$ac_delim
26867
 
BUILD_COPYSTRINGS!$BUILD_COPYSTRINGS$ac_delim
26868
 
BUILD_DRAGSCROLL!$BUILD_DRAGSCROLL$ac_delim
26869
 
BUILD_ENVVARS!$BUILD_ENVVARS$ac_delim
26870
 
BUILD_HELP!$BUILD_HELP$ac_delim
26871
 
BUILD_KEYBINDER!$BUILD_KEYBINDER$ac_delim
26872
 
BUILD_LIBFINDER!$BUILD_LIBFINDER$ac_delim
26873
 
_ACEOF
26874
 
 
26875
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26876
 
    break
26877
 
  elif $ac_last_try; then
26878
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26879
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26880
 
   { (exit 1); exit 1; }; }
26881
 
  else
26882
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26883
 
  fi
26884
 
done
26885
 
 
26886
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26887
 
if test -n "$ac_eof"; then
26888
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26889
 
  ac_eof=`expr $ac_eof + 1`
26890
 
fi
26891
 
 
26892
 
cat >>$CONFIG_STATUS <<_ACEOF
26893
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26894
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26895
 
_ACEOF
26896
 
sed '
26897
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26898
 
s/^/s,@/; s/!/@,|#_!!_#|/
26899
 
:n
26900
 
t n
26901
 
s/'"$ac_delim"'$/,g/; t
26902
 
s/$/\\/; p
26903
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26904
 
' >>$CONFIG_STATUS <conf$$subs.sed
26905
 
rm -f conf$$subs.sed
26906
 
cat >>$CONFIG_STATUS <<_ACEOF
26907
 
CEOF$ac_eof
26908
 
_ACEOF
26909
 
 
26910
 
 
26911
 
ac_delim='%!_!# '
26912
 
for ac_last_try in false false false false false :; do
26913
 
  cat >conf$$subs.sed <<_ACEOF
26914
 
BUILD_PROFILER!$BUILD_PROFILER$ac_delim
26915
 
BUILD_REGEX!$BUILD_REGEX$ac_delim
26916
 
BUILD_EXPORTER!$BUILD_EXPORTER$ac_delim
26917
 
BUILD_SYMTAB!$BUILD_SYMTAB$ac_delim
26918
 
BUILD_THREADSEARCH!$BUILD_THREADSEARCH$ac_delim
26919
 
BUILD_WXSMITH!$BUILD_WXSMITH$ac_delim
26920
 
PRECOMPILE_HEADERS_TRUE!$PRECOMPILE_HEADERS_TRUE$ac_delim
26921
 
PRECOMPILE_HEADERS_FALSE!$PRECOMPILE_HEADERS_FALSE$ac_delim
26922
 
WX_CONFIG_PATH!$WX_CONFIG_PATH$ac_delim
26923
 
WX_CPPFLAGS!$WX_CPPFLAGS$ac_delim
26924
 
WX_CFLAGS!$WX_CFLAGS$ac_delim
26925
 
WX_CXXFLAGS!$WX_CXXFLAGS$ac_delim
26926
 
WX_CFLAGS_ONLY!$WX_CFLAGS_ONLY$ac_delim
26927
 
WX_CXXFLAGS_ONLY!$WX_CXXFLAGS_ONLY$ac_delim
26928
 
WX_LIBS!$WX_LIBS$ac_delim
26929
 
WX_LIBS_STATIC!$WX_LIBS_STATIC$ac_delim
26930
 
WX_VERSION!$WX_VERSION$ac_delim
26931
 
WX_RESCOMP!$WX_RESCOMP$ac_delim
26932
 
HAVE_PKG_CONFIG!$HAVE_PKG_CONFIG$ac_delim
26933
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
26934
 
GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
26935
 
GTK2_LIBS!$GTK2_LIBS$ac_delim
26936
 
REZ!$REZ$ac_delim
26937
 
SETFILE!$SETFILE$ac_delim
26938
 
WX_GTK2_CFLAGS!$WX_GTK2_CFLAGS$ac_delim
26939
 
WX_GTK2_LIBS!$WX_GTK2_LIBS$ac_delim
26940
 
POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
26941
 
MACSETFILE!$MACSETFILE$ac_delim
26942
 
PLUGIN_WX_LIBS!$PLUGIN_WX_LIBS$ac_delim
26943
 
codeblocks_PCH_FLAGS!$codeblocks_PCH_FLAGS$ac_delim
26944
 
LINUX_TRUE!$LINUX_TRUE$ac_delim
26945
 
LINUX_FALSE!$LINUX_FALSE$ac_delim
26946
 
DARWIN_TRUE!$DARWIN_TRUE$ac_delim
26947
 
DARWIN_FALSE!$DARWIN_FALSE$ac_delim
26948
 
REVISION!$REVISION$ac_delim
26949
 
DATE!$DATE$ac_delim
26950
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
26951
 
_ACEOF
26952
 
 
26953
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then
26954
 
    break
26955
 
  elif $ac_last_try; then
26956
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26957
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26958
 
   { (exit 1); exit 1; }; }
26959
 
  else
26960
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26961
 
  fi
26962
 
done
26963
 
 
26964
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26965
 
if test -n "$ac_eof"; then
26966
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26967
 
  ac_eof=`expr $ac_eof + 1`
26968
 
fi
26969
 
 
26970
 
cat >>$CONFIG_STATUS <<_ACEOF
26971
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
26972
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26973
 
_ACEOF
26974
 
sed '
26975
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26976
 
s/^/s,@/; s/!/@,|#_!!_#|/
26977
 
:n
26978
 
t n
26979
 
s/'"$ac_delim"'$/,g/; t
26980
 
s/$/\\/; p
26981
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26982
 
' >>$CONFIG_STATUS <conf$$subs.sed
26983
 
rm -f conf$$subs.sed
26984
 
cat >>$CONFIG_STATUS <<_ACEOF
26985
 
:end
26986
 
s/|#_!!_#|//g
26987
 
CEOF$ac_eof
26988
 
_ACEOF
26989
 
 
26990
 
 
26991
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
26992
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26993
 
# trailing colons and then remove the whole line if VPATH becomes empty
26994
 
# (actually we leave an empty line to preserve line numbers).
26995
 
if test "x$srcdir" = x.; then
26996
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
26997
 
s/:*\$(srcdir):*/:/
26998
 
s/:*\${srcdir}:*/:/
26999
 
s/:*@srcdir@:*/:/
27000
 
s/^\([^=]*=[     ]*\):*/\1/
27001
 
s/:*$//
27002
 
s/^[^=]*=[       ]*$//
27003
 
}'
27004
 
fi
27005
 
 
27006
 
cat >>$CONFIG_STATUS <<\_ACEOF
27007
 
fi # test -n "$CONFIG_FILES"
27008
 
 
27009
 
 
27010
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
27011
 
do
27012
 
  case $ac_tag in
27013
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
27014
 
  esac
27015
 
  case $ac_mode$ac_tag in
27016
 
  :[FHL]*:*);;
27017
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27018
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27019
 
   { (exit 1); exit 1; }; };;
27020
 
  :[FH]-) ac_tag=-:-;;
27021
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27022
 
  esac
27023
 
  ac_save_IFS=$IFS
27024
 
  IFS=:
27025
 
  set x $ac_tag
27026
 
  IFS=$ac_save_IFS
27027
 
  shift
27028
 
  ac_file=$1
27029
 
  shift
27030
 
 
27031
 
  case $ac_mode in
27032
 
  :L) ac_source=$1;;
27033
 
  :[FH])
27034
 
    ac_file_inputs=
27035
 
    for ac_f
27036
 
    do
27037
 
      case $ac_f in
27038
 
      -) ac_f="$tmp/stdin";;
27039
 
      *) # Look for the file first in the build tree, then in the source tree
27040
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
27041
 
         # because $ac_f cannot contain `:'.
27042
 
         test -f "$ac_f" ||
27043
 
           case $ac_f in
27044
 
           [\\/$]*) false;;
27045
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27046
 
           esac ||
27047
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27048
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27049
 
   { (exit 1); exit 1; }; };;
27050
 
      esac
27051
 
      ac_file_inputs="$ac_file_inputs $ac_f"
27052
 
    done
27053
 
 
27054
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
27055
 
    # use $as_me), people would be surprised to read:
27056
 
    #    /* config.h.  Generated by config.status.  */
27057
 
    configure_input="Generated from "`IFS=:
27058
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27059
 
    if test x"$ac_file" != x-; then
27060
 
      configure_input="$ac_file.  $configure_input"
27061
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
27062
 
echo "$as_me: creating $ac_file" >&6;}
27063
 
    fi
27064
 
 
27065
 
    case $ac_tag in
27066
 
    *:-:* | *:-) cat >"$tmp/stdin";;
27067
 
    esac
27068
 
    ;;
27069
 
  esac
27070
 
 
27071
 
  ac_dir=`$as_dirname -- "$ac_file" ||
27072
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27073
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
27074
 
         X"$ac_file" : 'X\(//\)$' \| \
27075
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27076
 
echo X"$ac_file" |
27077
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27078
 
            s//\1/
27079
 
            q
27080
 
          }
27081
 
          /^X\(\/\/\)[^/].*/{
27082
 
            s//\1/
27083
 
            q
27084
 
          }
27085
 
          /^X\(\/\/\)$/{
27086
 
            s//\1/
27087
 
            q
27088
 
          }
27089
 
          /^X\(\/\).*/{
27090
 
            s//\1/
27091
 
            q
27092
 
          }
27093
 
          s/.*/./; q'`
27094
 
  { as_dir="$ac_dir"
27095
 
  case $as_dir in #(
27096
 
  -*) as_dir=./$as_dir;;
27097
 
  esac
27098
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27099
 
    as_dirs=
27100
 
    while :; do
27101
 
      case $as_dir in #(
27102
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27103
 
      *) as_qdir=$as_dir;;
27104
 
      esac
27105
 
      as_dirs="'$as_qdir' $as_dirs"
27106
 
      as_dir=`$as_dirname -- "$as_dir" ||
27107
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27108
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
27109
 
         X"$as_dir" : 'X\(//\)$' \| \
27110
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27111
 
echo X"$as_dir" |
27112
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27113
 
            s//\1/
27114
 
            q
27115
 
          }
27116
 
          /^X\(\/\/\)[^/].*/{
27117
 
            s//\1/
27118
 
            q
27119
 
          }
27120
 
          /^X\(\/\/\)$/{
27121
 
            s//\1/
27122
 
            q
27123
 
          }
27124
 
          /^X\(\/\).*/{
27125
 
            s//\1/
27126
 
            q
27127
 
          }
27128
 
          s/.*/./; q'`
27129
 
      test -d "$as_dir" && break
27130
 
    done
27131
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27132
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27133
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27134
 
   { (exit 1); exit 1; }; }; }
27135
 
  ac_builddir=.
27136
 
 
27137
 
case "$ac_dir" in
27138
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27139
 
*)
27140
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27141
 
  # A ".." for each directory in $ac_dir_suffix.
27142
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27143
 
  case $ac_top_builddir_sub in
27144
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27145
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27146
 
  esac ;;
27147
 
esac
27148
 
ac_abs_top_builddir=$ac_pwd
27149
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
27150
 
# for backward compatibility:
27151
 
ac_top_builddir=$ac_top_build_prefix
27152
 
 
27153
 
case $srcdir in
27154
 
  .)  # We are building in place.
27155
 
    ac_srcdir=.
27156
 
    ac_top_srcdir=$ac_top_builddir_sub
27157
 
    ac_abs_top_srcdir=$ac_pwd ;;
27158
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
27159
 
    ac_srcdir=$srcdir$ac_dir_suffix;
27160
 
    ac_top_srcdir=$srcdir
27161
 
    ac_abs_top_srcdir=$srcdir ;;
27162
 
  *) # Relative name.
27163
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27164
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
27165
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27166
 
esac
27167
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27168
 
 
27169
 
 
27170
 
  case $ac_mode in
27171
 
  :F)
27172
 
  #
27173
 
  # CONFIG_FILE
27174
 
  #
27175
 
 
27176
 
  case $INSTALL in
27177
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27178
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27179
 
  esac
27180
 
  ac_MKDIR_P=$MKDIR_P
27181
 
  case $MKDIR_P in
27182
 
  [\\/$]* | ?:[\\/]* ) ;;
27183
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27184
 
  esac
27185
 
_ACEOF
27186
 
 
27187
 
cat >>$CONFIG_STATUS <<\_ACEOF
27188
 
# If the template does not know about datarootdir, expand it.
27189
 
# FIXME: This hack should be removed a few years after 2.60.
27190
 
ac_datarootdir_hack=; ac_datarootdir_seen=
27191
 
 
27192
 
case `sed -n '/datarootdir/ {
27193
 
  p
27194
 
  q
27195
 
}
27196
 
/@datadir@/p
27197
 
/@docdir@/p
27198
 
/@infodir@/p
27199
 
/@localedir@/p
27200
 
/@mandir@/p
27201
 
' $ac_file_inputs` in
27202
 
*datarootdir*) ac_datarootdir_seen=yes;;
27203
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27204
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27205
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27206
 
_ACEOF
27207
 
cat >>$CONFIG_STATUS <<_ACEOF
27208
 
  ac_datarootdir_hack='
27209
 
  s&@datadir@&$datadir&g
27210
 
  s&@docdir@&$docdir&g
27211
 
  s&@infodir@&$infodir&g
27212
 
  s&@localedir@&$localedir&g
27213
 
  s&@mandir@&$mandir&g
27214
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
27215
 
esac
27216
 
_ACEOF
27217
 
 
27218
 
# Neutralize VPATH when `$srcdir' = `.'.
27219
 
# Shell code in configure.ac might set extrasub.
27220
 
# FIXME: do we really want to maintain this feature?
27221
 
cat >>$CONFIG_STATUS <<_ACEOF
27222
 
  sed "$ac_vpsub
27223
 
$extrasub
27224
 
_ACEOF
27225
 
cat >>$CONFIG_STATUS <<\_ACEOF
27226
 
:t
27227
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27228
 
s&@configure_input@&$configure_input&;t t
27229
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
27230
 
s&@srcdir@&$ac_srcdir&;t t
27231
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
27232
 
s&@top_srcdir@&$ac_top_srcdir&;t t
27233
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27234
 
s&@builddir@&$ac_builddir&;t t
27235
 
s&@abs_builddir@&$ac_abs_builddir&;t t
27236
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27237
 
s&@INSTALL@&$ac_INSTALL&;t t
27238
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
27239
 
$ac_datarootdir_hack
27240
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
27241
 
 
27242
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27243
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27244
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27245
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27246
 
which seems to be undefined.  Please make sure it is defined." >&5
27247
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27248
 
which seems to be undefined.  Please make sure it is defined." >&2;}
27249
 
 
27250
 
  rm -f "$tmp/stdin"
27251
 
  case $ac_file in
27252
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
27253
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27254
 
  esac
27255
 
 ;;
27256
 
  :H)
27257
 
  #
27258
 
  # CONFIG_HEADER
27259
 
  #
27260
 
_ACEOF
27261
 
 
27262
 
# Transform confdefs.h into a sed script `conftest.defines', that
27263
 
# substitutes the proper values into config.h.in to produce config.h.
27264
 
rm -f conftest.defines conftest.tail
27265
 
# First, append a space to every undef/define line, to ease matching.
27266
 
echo 's/$/ /' >conftest.defines
27267
 
# Then, protect against being on the right side of a sed subst, or in
27268
 
# an unquoted here document, in config.status.  If some macros were
27269
 
# called several times there might be several #defines for the same
27270
 
# symbol, which is useless.  But do not sort them, since the last
27271
 
# AC_DEFINE must be honored.
27272
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27273
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27274
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
27275
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
27276
 
# just an empty string.
27277
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
27278
 
ac_dB='\\)[      (].*,\\1define\\2'
27279
 
ac_dC=' '
27280
 
ac_dD=' ,'
27281
 
 
27282
 
uniq confdefs.h |
27283
 
  sed -n '
27284
 
        t rset
27285
 
        :rset
27286
 
        s/^[     ]*#[    ]*define[       ][      ]*//
27287
 
        t ok
27288
 
        d
27289
 
        :ok
27290
 
        s/[\\&,]/\\&/g
27291
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27292
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27293
 
  ' >>conftest.defines
27294
 
 
27295
 
# Remove the space that was appended to ease matching.
27296
 
# Then replace #undef with comments.  This is necessary, for
27297
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
27298
 
# on some systems where configure will not decide to define it.
27299
 
# (The regexp can be short, since the line contains either #define or #undef.)
27300
 
echo 's/ $//
27301
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
27302
 
 
27303
 
# Break up conftest.defines:
27304
 
ac_max_sed_lines=50
27305
 
 
27306
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27307
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27308
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27309
 
# et cetera.
27310
 
ac_in='$ac_file_inputs'
27311
 
ac_out='"$tmp/out1"'
27312
 
ac_nxt='"$tmp/out2"'
27313
 
 
27314
 
while :
27315
 
do
27316
 
  # Write a here document:
27317
 
    cat >>$CONFIG_STATUS <<_ACEOF
27318
 
    # First, check the format of the line:
27319
 
    cat >"\$tmp/defines.sed" <<\\CEOF
27320
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
27321
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
27322
 
b
27323
 
:def
27324
 
_ACEOF
27325
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
27326
 
  echo 'CEOF
27327
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27328
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27329
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27330
 
  grep . conftest.tail >/dev/null || break
27331
 
  rm -f conftest.defines
27332
 
  mv conftest.tail conftest.defines
27333
 
done
27334
 
rm -f conftest.defines conftest.tail
27335
 
 
27336
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
27337
 
cat >>$CONFIG_STATUS <<\_ACEOF
27338
 
  if test x"$ac_file" != x-; then
27339
 
    echo "/* $configure_input  */" >"$tmp/config.h"
27340
 
    cat "$ac_result" >>"$tmp/config.h"
27341
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
27342
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27343
 
echo "$as_me: $ac_file is unchanged" >&6;}
27344
 
    else
27345
 
      rm -f $ac_file
27346
 
      mv "$tmp/config.h" $ac_file
27347
 
    fi
27348
 
  else
27349
 
    echo "/* $configure_input  */"
27350
 
    cat "$ac_result"
27351
 
  fi
27352
 
  rm -f "$tmp/out12"
27353
 
# Compute $ac_file's index in $config_headers.
27354
 
_am_stamp_count=1
27355
 
for _am_header in $config_headers :; do
27356
 
  case $_am_header in
27357
 
    $ac_file | $ac_file:* )
27358
 
      break ;;
27359
 
    * )
27360
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27361
 
  esac
27362
 
done
27363
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
27364
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27365
 
         X$ac_file : 'X\(//\)[^/]' \| \
27366
 
         X$ac_file : 'X\(//\)$' \| \
27367
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
27368
 
echo X$ac_file |
27369
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27370
 
            s//\1/
27371
 
            q
27372
 
          }
27373
 
          /^X\(\/\/\)[^/].*/{
27374
 
            s//\1/
27375
 
            q
27376
 
          }
27377
 
          /^X\(\/\/\)$/{
27378
 
            s//\1/
27379
 
            q
27380
 
          }
27381
 
          /^X\(\/\).*/{
27382
 
            s//\1/
27383
 
            q
27384
 
          }
27385
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
27386
 
 ;;
27387
 
  
27388
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27389
 
echo "$as_me: executing $ac_file commands" >&6;}
27390
 
 ;;
27391
 
  esac
27392
 
 
27393
 
 
27394
 
  case $ac_file$ac_mode in
27395
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27396
 
  # Strip MF so we end up with the name of the file.
27397
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
27398
 
  # Check whether this is an Automake generated Makefile or not.
27399
 
  # We used to match only the files named `Makefile.in', but
27400
 
  # some people rename them; so instead we look at the file content.
27401
 
  # Grep'ing the first line is not enough: some people post-process
27402
 
  # each Makefile.in and add a new line on top of each file to say so.
27403
 
  # Grep'ing the whole file is not good either: AIX grep has a line
27404
 
  # limit of 2048, but all sed's we know have understand at least 4000.
27405
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
27406
 
    dirpart=`$as_dirname -- "$mf" ||
27407
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27408
 
         X"$mf" : 'X\(//\)[^/]' \| \
27409
 
         X"$mf" : 'X\(//\)$' \| \
27410
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27411
 
echo X"$mf" |
27412
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27413
 
            s//\1/
27414
 
            q
27415
 
          }
27416
 
          /^X\(\/\/\)[^/].*/{
27417
 
            s//\1/
27418
 
            q
27419
 
          }
27420
 
          /^X\(\/\/\)$/{
27421
 
            s//\1/
27422
 
            q
27423
 
          }
27424
 
          /^X\(\/\).*/{
27425
 
            s//\1/
27426
 
            q
27427
 
          }
27428
 
          s/.*/./; q'`
27429
 
  else
27430
 
    continue
27431
 
  fi
27432
 
  # Extract the definition of DEPDIR, am__include, and am__quote
27433
 
  # from the Makefile without running `make'.
27434
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27435
 
  test -z "$DEPDIR" && continue
27436
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
27437
 
  test -z "am__include" && continue
27438
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27439
 
  # When using ansi2knr, U may be empty or an underscore; expand it
27440
 
  U=`sed -n 's/^U = //p' < "$mf"`
27441
 
  # Find all dependency output files, they are included files with
27442
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
27443
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
27444
 
  # expansion.
27445
 
  for file in `sed -n "
27446
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27447
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27448
 
    # Make sure the directory exists.
27449
 
    test -f "$dirpart/$file" && continue
27450
 
    fdir=`$as_dirname -- "$file" ||
27451
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27452
 
         X"$file" : 'X\(//\)[^/]' \| \
27453
 
         X"$file" : 'X\(//\)$' \| \
27454
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27455
 
echo X"$file" |
27456
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27457
 
            s//\1/
27458
 
            q
27459
 
          }
27460
 
          /^X\(\/\/\)[^/].*/{
27461
 
            s//\1/
27462
 
            q
27463
 
          }
27464
 
          /^X\(\/\/\)$/{
27465
 
            s//\1/
27466
 
            q
27467
 
          }
27468
 
          /^X\(\/\).*/{
27469
 
            s//\1/
27470
 
            q
27471
 
          }
27472
 
          s/.*/./; q'`
27473
 
    { as_dir=$dirpart/$fdir
27474
 
  case $as_dir in #(
27475
 
  -*) as_dir=./$as_dir;;
27476
 
  esac
27477
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27478
 
    as_dirs=
27479
 
    while :; do
27480
 
      case $as_dir in #(
27481
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27482
 
      *) as_qdir=$as_dir;;
27483
 
      esac
27484
 
      as_dirs="'$as_qdir' $as_dirs"
27485
 
      as_dir=`$as_dirname -- "$as_dir" ||
27486
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27487
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
27488
 
         X"$as_dir" : 'X\(//\)$' \| \
27489
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27490
 
echo X"$as_dir" |
27491
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27492
 
            s//\1/
27493
 
            q
27494
 
          }
27495
 
          /^X\(\/\/\)[^/].*/{
27496
 
            s//\1/
27497
 
            q
27498
 
          }
27499
 
          /^X\(\/\/\)$/{
27500
 
            s//\1/
27501
 
            q
27502
 
          }
27503
 
          /^X\(\/\).*/{
27504
 
            s//\1/
27505
 
            q
27506
 
          }
27507
 
          s/.*/./; q'`
27508
 
      test -d "$as_dir" && break
27509
 
    done
27510
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27511
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27512
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27513
 
   { (exit 1); exit 1; }; }; }
27514
 
    # echo "creating $dirpart/$file"
27515
 
    echo '# dummy' > "$dirpart/$file"
27516
 
  done
27517
 
done
27518
 
 ;;
27519
 
 
27520
 
  esac
27521
 
done # for ac_tag
27522
 
 
27523
 
 
27524
 
{ (exit 0); exit 0; }
27525
 
_ACEOF
27526
 
chmod +x $CONFIG_STATUS
27527
 
ac_clean_files=$ac_clean_files_save
27528
 
 
27529
 
 
27530
 
# configure is writing to config.log, and then calls config.status.
27531
 
# config.status does its own redirection, appending to config.log.
27532
 
# Unfortunately, on DOS this fails, as config.log is still kept open
27533
 
# by configure, so config.status won't be able to write to it; its
27534
 
# output is simply discarded.  So we exec the FD to /dev/null,
27535
 
# effectively closing config.log, so it can be properly (re)opened and
27536
 
# appended to by config.status.  When coming back to configure, we
27537
 
# need to make the FD available again.
27538
 
if test "$no_create" != yes; then
27539
 
  ac_cs_success=:
27540
 
  ac_config_status_args=
27541
 
  test "$silent" = yes &&
27542
 
    ac_config_status_args="$ac_config_status_args --quiet"
27543
 
  exec 5>/dev/null
27544
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27545
 
  exec 5>>config.log
27546
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27547
 
  # would make configure fail if this is the last instruction.
27548
 
  $ac_cs_success || { (exit 1); exit 1; }
27549
 
fi
27550
 
 
27551
 
 
27552
 
echo
27553
 
echo
27554
 
echo "*************************************************"
27555
 
echo "* Code::Blocks source tree has been configured. *"
27556
 
echo "*************************************************"
27557
 
echo
27558
 
echo "You can now build Code::Blocks by issuing 'make'".
27559
 
echo "When the build is complete, become root and install"
27560
 
echo "it by issuing 'make install'".
27561
 
echo