~ubuntu-branches/ubuntu/saucy/kwin-style-crystal/saucy-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Pino Toscano
  • Date: 2009-04-13 16:10:20 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090413161020-sfv3it91oo26artc
Tags: 2.0.3-1
* New upstream release, aimed for KDE 4. (Closes: #522569)
  - Update dependencies to KDE 4.
  - Switch rules to pkg-kde-tools + CDBS.
* Set the kde-extras team as maintainer, putting Hai Zaar and myself as
  uploaders.
* Update copyright, adopt the DEP 5 (r48).
* Bump compat to 7.
* Bump Standards-Version to 3.8.1, no changes required.
* Remove dirs file, unneeded.
* Add Homepage field in control.
* Remove old conflict with 'crystal' package, not even present in Etch.

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.62.
4
 
#
5
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 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
 
  # Pre-4.2 versions of Zsh do 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
 
as_nl='
41
 
'
42
 
export as_nl
43
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
 
  as_echo='printf %s\n'
49
 
  as_echo_n='printf %s'
50
 
else
51
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
 
    as_echo_n='/usr/ucb/echo -n'
54
 
  else
55
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
 
    as_echo_n_body='eval
57
 
      arg=$1;
58
 
      case $arg in
59
 
      *"$as_nl"*)
60
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
 
      esac;
63
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
 
    '
65
 
    export as_echo_n_body
66
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
 
  fi
68
 
  export as_echo_body
69
 
  as_echo='sh -c $as_echo_body as_echo'
70
 
fi
71
 
 
72
 
# The user is always right.
73
 
if test "${PATH_SEPARATOR+set}" != set; then
74
 
  PATH_SEPARATOR=:
75
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77
 
      PATH_SEPARATOR=';'
78
 
  }
79
 
fi
80
 
 
81
 
# Support unset when possible.
82
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
 
  as_unset=unset
84
 
else
85
 
  as_unset=false
86
 
fi
87
 
 
88
 
 
89
 
# IFS
90
 
# We need space, tab and new line, in precisely that order.  Quoting is
91
 
# there to prevent editors from complaining about space-tab.
92
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93
 
# splitting by setting IFS to empty value.)
94
 
IFS=" ""        $as_nl"
95
 
 
96
 
# Find who we are.  Look in the path if we contain no directory separator.
97
 
case $0 in
98
 
  *[\\/]* ) as_myself=$0 ;;
99
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
 
for as_dir in $PATH
101
 
do
102
 
  IFS=$as_save_IFS
103
 
  test -z "$as_dir" && as_dir=.
104
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
 
done
106
 
IFS=$as_save_IFS
107
 
 
108
 
     ;;
109
 
esac
110
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
111
 
# in which case we are not to be found in the path.
112
 
if test "x$as_myself" = x; then
113
 
  as_myself=$0
114
 
fi
115
 
if test ! -f "$as_myself"; then
116
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
 
  { (exit 1); exit 1; }
118
 
fi
119
 
 
120
 
# Work around bugs in pre-3.0 UWIN ksh.
121
 
for as_var in ENV MAIL MAILPATH
122
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123
 
done
124
 
PS1='$ '
125
 
PS2='> '
126
 
PS4='+ '
127
 
 
128
 
# NLS nuisances.
129
 
LC_ALL=C
130
 
export LC_ALL
131
 
LANGUAGE=C
132
 
export LANGUAGE
133
 
 
134
 
# Required to use basename.
135
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
 
  as_expr=expr
138
 
else
139
 
  as_expr=false
140
 
fi
141
 
 
142
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
 
  as_basename=basename
144
 
else
145
 
  as_basename=false
146
 
fi
147
 
 
148
 
 
149
 
# Name of the executable.
150
 
as_me=`$as_basename -- "$0" ||
151
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
 
         X"$0" : 'X\(//\)$' \| \
153
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
 
$as_echo X/"$0" |
155
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
 
            s//\1/
157
 
            q
158
 
          }
159
 
          /^X\/\(\/\/\)$/{
160
 
            s//\1/
161
 
            q
162
 
          }
163
 
          /^X\/\(\/\).*/{
164
 
            s//\1/
165
 
            q
166
 
          }
167
 
          s/.*/./; q'`
168
 
 
169
 
# CDPATH.
170
 
$as_unset CDPATH
171
 
 
172
 
 
173
 
if test "x$CONFIG_SHELL" = x; then
174
 
  if (eval ":") 2>/dev/null; then
175
 
  as_have_required=yes
176
 
else
177
 
  as_have_required=no
178
 
fi
179
 
 
180
 
  if test $as_have_required = yes &&     (eval ":
181
 
(as_func_return () {
182
 
  (exit \$1)
183
 
}
184
 
as_func_success () {
185
 
  as_func_return 0
186
 
}
187
 
as_func_failure () {
188
 
  as_func_return 1
189
 
}
190
 
as_func_ret_success () {
191
 
  return 0
192
 
}
193
 
as_func_ret_failure () {
194
 
  return 1
195
 
}
196
 
 
197
 
exitcode=0
198
 
if as_func_success; then
199
 
  :
200
 
else
201
 
  exitcode=1
202
 
  echo as_func_success failed.
203
 
fi
204
 
 
205
 
if as_func_failure; then
206
 
  exitcode=1
207
 
  echo as_func_failure succeeded.
208
 
fi
209
 
 
210
 
if as_func_ret_success; then
211
 
  :
212
 
else
213
 
  exitcode=1
214
 
  echo as_func_ret_success failed.
215
 
fi
216
 
 
217
 
if as_func_ret_failure; then
218
 
  exitcode=1
219
 
  echo as_func_ret_failure succeeded.
220
 
fi
221
 
 
222
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
 
  :
224
 
else
225
 
  exitcode=1
226
 
  echo positional parameters were not saved.
227
 
fi
228
 
 
229
 
test \$exitcode = 0) || { (exit 1); exit 1; }
230
 
 
231
 
(
232
 
  as_lineno_1=\$LINENO
233
 
  as_lineno_2=\$LINENO
234
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
 
") 2> /dev/null; then
237
 
  :
238
 
else
239
 
  as_candidate_shells=
240
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
 
do
243
 
  IFS=$as_save_IFS
244
 
  test -z "$as_dir" && as_dir=.
245
 
  case $as_dir in
246
 
         /*)
247
 
           for as_base in sh bash ksh sh5; do
248
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249
 
           done;;
250
 
       esac
251
 
done
252
 
IFS=$as_save_IFS
253
 
 
254
 
 
255
 
      for as_shell in $as_candidate_shells $SHELL; do
256
 
         # Try only shells that exist, to save several forks.
257
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
 
  emulate sh
261
 
  NULLCMD=:
262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
 
  # is contrary to our usage.  Disable this feature.
264
 
  alias -g '${1+"$@"}'='"$@"'
265
 
  setopt NO_GLOB_SUBST
266
 
else
267
 
  case `(set -o) 2>/dev/null` in
268
 
  *posix*) set -o posix ;;
269
 
esac
270
 
 
271
 
fi
272
 
 
273
 
 
274
 
:
275
 
_ASEOF
276
 
}; then
277
 
  CONFIG_SHELL=$as_shell
278
 
               as_have_required=yes
279
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
280
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
 
  emulate sh
282
 
  NULLCMD=:
283
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
 
  # is contrary to our usage.  Disable this feature.
285
 
  alias -g '${1+"$@"}'='"$@"'
286
 
  setopt NO_GLOB_SUBST
287
 
else
288
 
  case `(set -o) 2>/dev/null` in
289
 
  *posix*) set -o posix ;;
290
 
esac
291
 
 
292
 
fi
293
 
 
294
 
 
295
 
:
296
 
(as_func_return () {
297
 
  (exit $1)
298
 
}
299
 
as_func_success () {
300
 
  as_func_return 0
301
 
}
302
 
as_func_failure () {
303
 
  as_func_return 1
304
 
}
305
 
as_func_ret_success () {
306
 
  return 0
307
 
}
308
 
as_func_ret_failure () {
309
 
  return 1
310
 
}
311
 
 
312
 
exitcode=0
313
 
if as_func_success; then
314
 
  :
315
 
else
316
 
  exitcode=1
317
 
  echo as_func_success failed.
318
 
fi
319
 
 
320
 
if as_func_failure; then
321
 
  exitcode=1
322
 
  echo as_func_failure succeeded.
323
 
fi
324
 
 
325
 
if as_func_ret_success; then
326
 
  :
327
 
else
328
 
  exitcode=1
329
 
  echo as_func_ret_success failed.
330
 
fi
331
 
 
332
 
if as_func_ret_failure; then
333
 
  exitcode=1
334
 
  echo as_func_ret_failure succeeded.
335
 
fi
336
 
 
337
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
338
 
  :
339
 
else
340
 
  exitcode=1
341
 
  echo positional parameters were not saved.
342
 
fi
343
 
 
344
 
test $exitcode = 0) || { (exit 1); exit 1; }
345
 
 
346
 
(
347
 
  as_lineno_1=$LINENO
348
 
  as_lineno_2=$LINENO
349
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
 
 
352
 
_ASEOF
353
 
}; then
354
 
  break
355
 
fi
356
 
 
357
 
fi
358
 
 
359
 
      done
360
 
 
361
 
      if test "x$CONFIG_SHELL" != x; then
362
 
  for as_var in BASH_ENV ENV
363
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
 
        done
365
 
        export CONFIG_SHELL
366
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
 
fi
368
 
 
369
 
 
370
 
    if test $as_have_required = no; then
371
 
  echo This script requires a shell more modern than all the
372
 
      echo shells that I found on your system.  Please install a
373
 
      echo modern shell, or manually run the script under such a
374
 
      echo shell if you do have one.
375
 
      { (exit 1); exit 1; }
376
 
fi
377
 
 
378
 
 
379
 
fi
380
 
 
381
 
fi
382
 
 
383
 
 
384
 
 
385
 
(eval "as_func_return () {
386
 
  (exit \$1)
387
 
}
388
 
as_func_success () {
389
 
  as_func_return 0
390
 
}
391
 
as_func_failure () {
392
 
  as_func_return 1
393
 
}
394
 
as_func_ret_success () {
395
 
  return 0
396
 
}
397
 
as_func_ret_failure () {
398
 
  return 1
399
 
}
400
 
 
401
 
exitcode=0
402
 
if as_func_success; then
403
 
  :
404
 
else
405
 
  exitcode=1
406
 
  echo as_func_success failed.
407
 
fi
408
 
 
409
 
if as_func_failure; then
410
 
  exitcode=1
411
 
  echo as_func_failure succeeded.
412
 
fi
413
 
 
414
 
if as_func_ret_success; then
415
 
  :
416
 
else
417
 
  exitcode=1
418
 
  echo as_func_ret_success failed.
419
 
fi
420
 
 
421
 
if as_func_ret_failure; then
422
 
  exitcode=1
423
 
  echo as_func_ret_failure succeeded.
424
 
fi
425
 
 
426
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
 
  :
428
 
else
429
 
  exitcode=1
430
 
  echo positional parameters were not saved.
431
 
fi
432
 
 
433
 
test \$exitcode = 0") || {
434
 
  echo No shell found that supports shell functions.
435
 
  echo Please tell bug-autoconf@gnu.org about your system,
436
 
  echo including any error possibly output before this message.
437
 
  echo This can help us improve future autoconf versions.
438
 
  echo Configuration will now proceed without shell functions.
439
 
}
440
 
 
441
 
 
442
 
 
443
 
  as_lineno_1=$LINENO
444
 
  as_lineno_2=$LINENO
445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
 
 
448
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
450
 
  # line-number line after each line using $LINENO; the second 'sed'
451
 
  # does the real work.  The second script uses 'N' to pair each
452
 
  # line-number line with the line containing $LINENO, and appends
453
 
  # trailing '-' during substitution so that $LINENO is not a special
454
 
  # case at line end.
455
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
458
 
  sed -n '
459
 
    p
460
 
    /[$]LINENO/=
461
 
  ' <$as_myself |
462
 
    sed '
463
 
      s/[$]LINENO.*/&-/
464
 
      t lineno
465
 
      b
466
 
      :lineno
467
 
      N
468
 
      :loop
469
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470
 
      t loop
471
 
      s/-\n.*//
472
 
    ' >$as_me.lineno &&
473
 
  chmod +x "$as_me.lineno" ||
474
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
 
   { (exit 1); exit 1; }; }
476
 
 
477
 
  # Don't try to exec as it changes $[0], causing all sort of problems
478
 
  # (the dirname of $[0] is not the place where we might find the
479
 
  # original and so on.  Autoconf is especially sensitive to this).
480
 
  . "./$as_me.lineno"
481
 
  # Exit status is that of the last command.
482
 
  exit
483
 
}
484
 
 
485
 
 
486
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
 
  as_dirname=dirname
488
 
else
489
 
  as_dirname=false
490
 
fi
491
 
 
492
 
ECHO_C= ECHO_N= ECHO_T=
493
 
case `echo -n x` in
494
 
-n*)
495
 
  case `echo 'x\c'` in
496
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497
 
  *)   ECHO_C='\c';;
498
 
  esac;;
499
 
*)
500
 
  ECHO_N='-n';;
501
 
esac
502
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
 
  as_expr=expr
505
 
else
506
 
  as_expr=false
507
 
fi
508
 
 
509
 
rm -f conf$$ conf$$.exe conf$$.file
510
 
if test -d conf$$.dir; then
511
 
  rm -f conf$$.dir/conf$$.file
512
 
else
513
 
  rm -f conf$$.dir
514
 
  mkdir conf$$.dir 2>/dev/null
515
 
fi
516
 
if (echo >conf$$.file) 2>/dev/null; then
517
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
518
 
    as_ln_s='ln -s'
519
 
    # ... but there are two gotchas:
520
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522
 
    # In both cases, we have to default to `cp -p'.
523
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524
 
      as_ln_s='cp -p'
525
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
526
 
    as_ln_s=ln
527
 
  else
528
 
    as_ln_s='cp -p'
529
 
  fi
530
 
else
531
 
  as_ln_s='cp -p'
532
 
fi
533
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534
 
rmdir conf$$.dir 2>/dev/null
535
 
 
536
 
if mkdir -p . 2>/dev/null; then
537
 
  as_mkdir_p=:
538
 
else
539
 
  test -d ./-p && rmdir ./-p
540
 
  as_mkdir_p=false
541
 
fi
542
 
 
543
 
if test -x / >/dev/null 2>&1; then
544
 
  as_test_x='test -x'
545
 
else
546
 
  if ls -dL / >/dev/null 2>&1; then
547
 
    as_ls_L_option=L
548
 
  else
549
 
    as_ls_L_option=
550
 
  fi
551
 
  as_test_x='
552
 
    eval sh -c '\''
553
 
      if test -d "$1"; then
554
 
        test -d "$1/.";
555
 
      else
556
 
        case $1 in
557
 
        -*)set "./$1";;
558
 
        esac;
559
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560
 
        ???[sx]*):;;*)false;;esac;fi
561
 
    '\'' sh
562
 
  '
563
 
fi
564
 
as_executable_p=$as_test_x
565
 
 
566
 
# Sed expression to map a string onto a valid CPP name.
567
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
 
 
569
 
# Sed expression to map a string onto a valid variable name.
570
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
 
 
572
 
 
573
 
 
574
 
 
575
 
# Check that we are running under the correct shell.
576
 
SHELL=${CONFIG_SHELL-/bin/sh}
577
 
 
578
 
case X$ECHO in
579
 
X*--fallback-echo)
580
 
  # Remove one level of quotation (which was required for Make).
581
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
582
 
  ;;
583
 
esac
584
 
 
585
 
echo=${ECHO-echo}
586
 
if test "X$1" = X--no-reexec; then
587
 
  # Discard the --no-reexec flag, and continue.
588
 
  shift
589
 
elif test "X$1" = X--fallback-echo; then
590
 
  # Avoid inline document here, it may be left over
591
 
  :
592
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
593
 
  # Yippee, $echo works!
594
 
  :
595
 
else
596
 
  # Restart under the correct shell.
597
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
598
 
fi
599
 
 
600
 
if test "X$1" = X--fallback-echo; then
601
 
  # used as fallback echo
602
 
  shift
603
 
  cat <<EOF
604
 
$*
605
 
EOF
606
 
  exit 0
607
 
fi
608
 
 
609
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
610
 
# if CDPATH is set.
611
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
612
 
 
613
 
if test -z "$ECHO"; then
614
 
if test "X${echo_test_string+set}" != Xset; then
615
 
# find a string as large as possible, as long as the shell can cope with it
616
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
619
 
       echo_test_string="`eval $cmd`" &&
620
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
621
 
    then
622
 
      break
623
 
    fi
624
 
  done
625
 
fi
626
 
 
627
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
628
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
629
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
630
 
  :
631
 
else
632
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
633
 
  # backslashes.  This makes it impossible to quote backslashes using
634
 
  #   echo "$something" | sed 's/\\/\\\\/g'
635
 
  #
636
 
  # So, first we look for a working echo in the user's PATH.
637
 
 
638
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
639
 
  for dir in $PATH /usr/ucb; do
640
 
    IFS="$lt_save_ifs"
641
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
642
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
643
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
644
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
645
 
      echo="$dir/echo"
646
 
      break
647
 
    fi
648
 
  done
649
 
  IFS="$lt_save_ifs"
650
 
 
651
 
  if test "X$echo" = Xecho; then
652
 
    # We didn't find a better echo, so look for alternatives.
653
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
654
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
655
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
      # This shell has a builtin print -r that does the trick.
657
 
      echo='print -r'
658
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
659
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
660
 
      # If we have ksh, try running configure again with it.
661
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
662
 
      export ORIGINAL_CONFIG_SHELL
663
 
      CONFIG_SHELL=/bin/ksh
664
 
      export CONFIG_SHELL
665
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
666
 
    else
667
 
      # Try using printf.
668
 
      echo='printf %s\n'
669
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
670
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
671
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
672
 
        # Cool, printf works
673
 
        :
674
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
675
 
           test "X$echo_testing_string" = 'X\t' &&
676
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
677
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
678
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
679
 
        export CONFIG_SHELL
680
 
        SHELL="$CONFIG_SHELL"
681
 
        export SHELL
682
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
683
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
684
 
           test "X$echo_testing_string" = 'X\t' &&
685
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
686
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
687
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
688
 
      else
689
 
        # maybe with a smaller string...
690
 
        prev=:
691
 
 
692
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
693
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
694
 
          then
695
 
            break
696
 
          fi
697
 
          prev="$cmd"
698
 
        done
699
 
 
700
 
        if test "$prev" != 'sed 50q "$0"'; then
701
 
          echo_test_string=`eval $prev`
702
 
          export echo_test_string
703
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704
 
        else
705
 
          # Oops.  We lost completely, so just stick with echo.
706
 
          echo=echo
707
 
        fi
708
 
      fi
709
 
    fi
710
 
  fi
711
 
fi
712
 
fi
713
 
 
714
 
# Copy echo and quote the copy suitably for passing to libtool from
715
 
# the Makefile, instead of quoting the original, which is used later.
716
 
ECHO=$echo
717
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
718
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
719
 
fi
720
 
 
721
 
 
722
 
 
723
 
 
724
 
tagnames=${tagnames+${tagnames},}CXX
725
 
 
726
 
tagnames=${tagnames+${tagnames},}F77
727
 
 
728
 
exec 7<&0 </dev/null 6>&1
729
 
 
730
 
# Name of the host.
731
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
732
 
# so uname gets run too.
733
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
734
 
 
735
 
#
736
 
# Initializations.
737
 
#
738
 
ac_default_prefix=/usr/local
739
 
ac_clean_files=
740
 
ac_config_libobj_dir=.
741
 
LIBOBJS=
742
 
cross_compiling=no
743
 
subdirs=
744
 
MFLAGS=
745
 
MAKEFLAGS=
746
 
SHELL=${CONFIG_SHELL-/bin/sh}
747
 
 
748
 
# Identity of this package.
749
 
PACKAGE_NAME=
750
 
PACKAGE_TARNAME=
751
 
PACKAGE_VERSION=
752
 
PACKAGE_STRING=
753
 
PACKAGE_BUGREPORT=
754
 
 
755
 
ac_unique_file="acinclude.m4"
756
 
ac_default_prefix=${KDEDIR:-the kde prefix}
757
 
# Factoring default headers for most tests.
758
 
ac_includes_default="\
759
 
#include <stdio.h>
760
 
#ifdef HAVE_SYS_TYPES_H
761
 
# include <sys/types.h>
762
 
#endif
763
 
#ifdef HAVE_SYS_STAT_H
764
 
# include <sys/stat.h>
765
 
#endif
766
 
#ifdef STDC_HEADERS
767
 
# include <stdlib.h>
768
 
# include <stddef.h>
769
 
#else
770
 
# ifdef HAVE_STDLIB_H
771
 
#  include <stdlib.h>
772
 
# endif
773
 
#endif
774
 
#ifdef HAVE_STRING_H
775
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776
 
#  include <memory.h>
777
 
# endif
778
 
# include <string.h>
779
 
#endif
780
 
#ifdef HAVE_STRINGS_H
781
 
# include <strings.h>
782
 
#endif
783
 
#ifdef HAVE_INTTYPES_H
784
 
# include <inttypes.h>
785
 
#endif
786
 
#ifdef HAVE_STDINT_H
787
 
# include <stdint.h>
788
 
#endif
789
 
#ifdef HAVE_UNISTD_H
790
 
# include <unistd.h>
791
 
#endif"
792
 
 
793
 
ac_subst_vars='SHELL
794
 
PATH_SEPARATOR
795
 
PACKAGE_NAME
796
 
PACKAGE_TARNAME
797
 
PACKAGE_VERSION
798
 
PACKAGE_STRING
799
 
PACKAGE_BUGREPORT
800
 
exec_prefix
801
 
prefix
802
 
program_transform_name
803
 
bindir
804
 
sbindir
805
 
libexecdir
806
 
datarootdir
807
 
datadir
808
 
sysconfdir
809
 
sharedstatedir
810
 
localstatedir
811
 
includedir
812
 
oldincludedir
813
 
docdir
814
 
infodir
815
 
htmldir
816
 
dvidir
817
 
pdfdir
818
 
psdir
819
 
libdir
820
 
localedir
821
 
mandir
822
 
DEFS
823
 
ECHO_C
824
 
ECHO_N
825
 
ECHO_T
826
 
LIBS
827
 
build_alias
828
 
host_alias
829
 
target_alias
830
 
build
831
 
build_cpu
832
 
build_vendor
833
 
build_os
834
 
host
835
 
host_cpu
836
 
host_vendor
837
 
host_os
838
 
target
839
 
target_cpu
840
 
target_vendor
841
 
target_os
842
 
INSTALL_PROGRAM
843
 
INSTALL_SCRIPT
844
 
INSTALL_DATA
845
 
CYGPATH_W
846
 
PACKAGE
847
 
VERSION
848
 
ACLOCAL
849
 
AUTOCONF
850
 
AUTOMAKE
851
 
AUTOHEADER
852
 
MAKEINFO
853
 
AMTAR
854
 
install_sh
855
 
STRIP
856
 
INSTALL_STRIP_PROGRAM
857
 
AWK
858
 
SET_MAKE
859
 
am__leading_dot
860
 
KDECONFIG
861
 
kde_libs_prefix
862
 
kde_libs_htmldir
863
 
CONF_FILES
864
 
CC
865
 
CFLAGS
866
 
LDFLAGS
867
 
CPPFLAGS
868
 
ac_ct_CC
869
 
EXEEXT
870
 
OBJEXT
871
 
DEPDIR
872
 
am__include
873
 
am__quote
874
 
AMDEP_TRUE
875
 
AMDEP_FALSE
876
 
AMDEPBACKSLASH
877
 
CCDEPMODE
878
 
am__fastdepCC_TRUE
879
 
am__fastdepCC_FALSE
880
 
CPP
881
 
CXX
882
 
CXXFLAGS
883
 
ac_ct_CXX
884
 
CXXDEPMODE
885
 
am__fastdepCXX_TRUE
886
 
am__fastdepCXX_FALSE
887
 
WOVERLOADED_VIRTUAL
888
 
HAVE_GCC_VISIBILITY
889
 
unsermake_enable_pch_TRUE
890
 
unsermake_enable_pch_FALSE
891
 
USE_EXCEPTIONS
892
 
USE_RTTI
893
 
CXXCPP
894
 
NOOPT_CXXFLAGS
895
 
NOOPT_CFLAGS
896
 
ENABLE_PERMISSIVE_FLAG
897
 
LDFLAGS_AS_NEEDED
898
 
LDFLAGS_NEW_DTAGS
899
 
KDE_USE_FINAL_TRUE
900
 
KDE_USE_FINAL_FALSE
901
 
KDE_USE_CLOSURE_TRUE
902
 
KDE_USE_CLOSURE_FALSE
903
 
KDE_NO_UNDEFINED
904
 
KDE_USE_NMCHECK_TRUE
905
 
KDE_USE_NMCHECK_FALSE
906
 
GREP
907
 
EGREP
908
 
LN_S
909
 
ECHO
910
 
AR
911
 
RANLIB
912
 
F77
913
 
FFLAGS
914
 
ac_ct_F77
915
 
LIBTOOL
916
 
KDE_PLUGIN
917
 
KDE_CHECK_PLUGIN
918
 
MSGFMT
919
 
GMSGFMT
920
 
XGETTEXT
921
 
LIBUTIL
922
 
LIBCOMPAT
923
 
LIBCRYPT
924
 
LIBRESOLV
925
 
LIB_POLL
926
 
FRAMEWORK_COREAUDIO
927
 
LIBSOCKET
928
 
X_EXTRA_LIBS
929
 
LIBUCB
930
 
LIBDL
931
 
KDE_USE_FPIE
932
 
KDE_USE_PIE
933
 
include_x11_TRUE
934
 
include_x11_FALSE
935
 
XMKMF
936
 
X_PRE_LIBS
937
 
LIB_X11
938
 
LIB_XRENDER
939
 
LIBSM
940
 
X_INCLUDES
941
 
X_LDFLAGS
942
 
x_includes
943
 
x_libraries
944
 
QTE_NORTTI
945
 
LIB_XEXT
946
 
LIBPTHREAD
947
 
USE_THREADS
948
 
KDE_MT_LDFLAGS
949
 
KDE_MT_LIBS
950
 
USER_INCLUDES
951
 
USER_LDFLAGS
952
 
LIBZ
953
 
LIBPNG
954
 
LIBJPEG
955
 
qt_libraries
956
 
qt_includes
957
 
QT_INCLUDES
958
 
QT_LDFLAGS
959
 
PERL
960
 
MOC
961
 
UIC
962
 
UIC_TR
963
 
LIB_QT
964
 
LIB_QPE
965
 
kde_qtver
966
 
KDE_EXTRA_RPATH
967
 
KDE_RPATH
968
 
X_RPATH
969
 
kde_libraries
970
 
kde_includes
971
 
KDE_LDFLAGS
972
 
KDE_INCLUDES
973
 
all_includes
974
 
all_libraries
975
 
AUTODIRS
976
 
include_ARTS_TRUE
977
 
include_ARTS_FALSE
978
 
MAKEKDEWIDGETS
979
 
KCONFIG_COMPILER
980
 
KCFG_DEPENDENCIES
981
 
DCOPIDLNG
982
 
DCOPIDL
983
 
DCOPIDL2CPP
984
 
DCOP_DEPENDENCIES
985
 
MCOPIDL
986
 
ARTSCCONFIG
987
 
MEINPROC
988
 
KDE_XSL_STYLESHEET
989
 
XMLLINT
990
 
kde_htmldir
991
 
kde_appsdir
992
 
kde_icondir
993
 
kde_sounddir
994
 
kde_datadir
995
 
kde_locale
996
 
kde_confdir
997
 
kde_kcfgdir
998
 
kde_mimedir
999
 
kde_wallpaperdir
1000
 
kde_bindir
1001
 
xdg_appsdir
1002
 
xdg_menudir
1003
 
xdg_directorydir
1004
 
kde_templatesdir
1005
 
kde_servicesdir
1006
 
kde_servicetypesdir
1007
 
kde_moduledir
1008
 
kdeinitdir
1009
 
kde_styledir
1010
 
kde_widgetdir
1011
 
LIB_KDED
1012
 
LIB_KDECORE
1013
 
LIB_KDEUI
1014
 
LIB_KIO
1015
 
LIB_KJS
1016
 
LIB_SMB
1017
 
LIB_KAB
1018
 
LIB_KABC
1019
 
LIB_KHTML
1020
 
LIB_KSPELL
1021
 
LIB_KPARTS
1022
 
LIB_KDEPRINT
1023
 
LIB_KUTILS
1024
 
LIB_KDEPIM
1025
 
LIB_KIMPROXY
1026
 
LIB_KNEWSTUFF
1027
 
LIB_KDNSSD
1028
 
LIB_KUNITTEST
1029
 
LIB_KSYCOCA
1030
 
LIB_KFILE
1031
 
LIB_KFM
1032
 
TOPSUBDIRS
1033
 
LIBOBJS
1034
 
LTLIBOBJS'
1035
 
ac_subst_files=''
1036
 
ac_user_opts='
1037
 
enable_option_checking
1038
 
enable_fast_perl
1039
 
enable_debug
1040
 
enable_dummyoption
1041
 
enable_strict
1042
 
enable_warnings
1043
 
enable_profile
1044
 
enable_dependency_tracking
1045
 
enable_pch
1046
 
enable_coverage
1047
 
enable_new_ldflags
1048
 
enable_final
1049
 
enable_closure
1050
 
enable_nmcheck
1051
 
enable_shared
1052
 
enable_static
1053
 
enable_libsuffix
1054
 
enable_fast_install
1055
 
with_gnu_ld
1056
 
enable_libtool_lock
1057
 
with_pic
1058
 
with_tags
1059
 
enable_pie
1060
 
enable_embedded
1061
 
enable_qtopia
1062
 
enable_mac
1063
 
enable_mt
1064
 
enable_threading
1065
 
with_extra_includes
1066
 
with_extra_libs
1067
 
with_qt_dir
1068
 
with_qt_includes
1069
 
with_qt_libraries
1070
 
enable_rpath
1071
 
enable_path_check
1072
 
with_arts
1073
 
'
1074
 
      ac_precious_vars='build_alias
1075
 
host_alias
1076
 
target_alias
1077
 
CC
1078
 
CFLAGS
1079
 
LDFLAGS
1080
 
LIBS
1081
 
CPPFLAGS
1082
 
CPP
1083
 
CXX
1084
 
CXXFLAGS
1085
 
CCC
1086
 
CXXCPP
1087
 
F77
1088
 
FFLAGS
1089
 
XMKMF'
1090
 
 
1091
 
 
1092
 
# Initialize some variables set by options.
1093
 
ac_init_help=
1094
 
ac_init_version=false
1095
 
ac_unrecognized_opts=
1096
 
ac_unrecognized_sep=
1097
 
# The variables have the same names as the options, with
1098
 
# dashes changed to underlines.
1099
 
cache_file=/dev/null
1100
 
exec_prefix=NONE
1101
 
no_create=
1102
 
no_recursion=
1103
 
prefix=NONE
1104
 
program_prefix=NONE
1105
 
program_suffix=NONE
1106
 
program_transform_name=s,x,x,
1107
 
silent=
1108
 
site=
1109
 
srcdir=
1110
 
verbose=
1111
 
x_includes=NONE
1112
 
x_libraries=NONE
1113
 
 
1114
 
# Installation directory options.
1115
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
1116
 
# and all the variables that are supposed to be based on exec_prefix
1117
 
# by default will actually change.
1118
 
# Use braces instead of parens because sh, perl, etc. also accept them.
1119
 
# (The list follows the same order as the GNU Coding Standards.)
1120
 
bindir='${exec_prefix}/bin'
1121
 
sbindir='${exec_prefix}/sbin'
1122
 
libexecdir='${exec_prefix}/libexec'
1123
 
datarootdir='${prefix}/share'
1124
 
datadir='${datarootdir}'
1125
 
sysconfdir='${prefix}/etc'
1126
 
sharedstatedir='${prefix}/com'
1127
 
localstatedir='${prefix}/var'
1128
 
includedir='${prefix}/include'
1129
 
oldincludedir='/usr/include'
1130
 
docdir='${datarootdir}/doc/${PACKAGE}'
1131
 
infodir='${datarootdir}/info'
1132
 
htmldir='${docdir}'
1133
 
dvidir='${docdir}'
1134
 
pdfdir='${docdir}'
1135
 
psdir='${docdir}'
1136
 
libdir='${exec_prefix}/lib'
1137
 
localedir='${datarootdir}/locale'
1138
 
mandir='${datarootdir}/man'
1139
 
 
1140
 
ac_prev=
1141
 
ac_dashdash=
1142
 
for ac_option
1143
 
do
1144
 
  # If the previous option needs an argument, assign it.
1145
 
  if test -n "$ac_prev"; then
1146
 
    eval $ac_prev=\$ac_option
1147
 
    ac_prev=
1148
 
    continue
1149
 
  fi
1150
 
 
1151
 
  case $ac_option in
1152
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1153
 
  *)    ac_optarg=yes ;;
1154
 
  esac
1155
 
 
1156
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1157
 
 
1158
 
  case $ac_dashdash$ac_option in
1159
 
  --)
1160
 
    ac_dashdash=yes ;;
1161
 
 
1162
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1163
 
    ac_prev=bindir ;;
1164
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1165
 
    bindir=$ac_optarg ;;
1166
 
 
1167
 
  -build | --build | --buil | --bui | --bu)
1168
 
    ac_prev=build_alias ;;
1169
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1170
 
    build_alias=$ac_optarg ;;
1171
 
 
1172
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1173
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1174
 
    ac_prev=cache_file ;;
1175
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1176
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1177
 
    cache_file=$ac_optarg ;;
1178
 
 
1179
 
  --config-cache | -C)
1180
 
    cache_file=config.cache ;;
1181
 
 
1182
 
  -datadir | --datadir | --datadi | --datad)
1183
 
    ac_prev=datadir ;;
1184
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1185
 
    datadir=$ac_optarg ;;
1186
 
 
1187
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1188
 
  | --dataroo | --dataro | --datar)
1189
 
    ac_prev=datarootdir ;;
1190
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1191
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1192
 
    datarootdir=$ac_optarg ;;
1193
 
 
1194
 
  -disable-* | --disable-*)
1195
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1196
 
    # Reject names that are not valid shell variable names.
1197
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1198
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1199
 
   { (exit 1); exit 1; }; }
1200
 
    ac_useropt_orig=$ac_useropt
1201
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202
 
    case $ac_user_opts in
1203
 
      *"
1204
 
"enable_$ac_useropt"
1205
 
"*) ;;
1206
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1207
 
         ac_unrecognized_sep=', ';;
1208
 
    esac
1209
 
    eval enable_$ac_useropt=no ;;
1210
 
 
1211
 
  -docdir | --docdir | --docdi | --doc | --do)
1212
 
    ac_prev=docdir ;;
1213
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1214
 
    docdir=$ac_optarg ;;
1215
 
 
1216
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1217
 
    ac_prev=dvidir ;;
1218
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1219
 
    dvidir=$ac_optarg ;;
1220
 
 
1221
 
  -enable-* | --enable-*)
1222
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1223
 
    # Reject names that are not valid shell variable names.
1224
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1225
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1226
 
   { (exit 1); exit 1; }; }
1227
 
    ac_useropt_orig=$ac_useropt
1228
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229
 
    case $ac_user_opts in
1230
 
      *"
1231
 
"enable_$ac_useropt"
1232
 
"*) ;;
1233
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1234
 
         ac_unrecognized_sep=', ';;
1235
 
    esac
1236
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1237
 
 
1238
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1239
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1240
 
  | --exec | --exe | --ex)
1241
 
    ac_prev=exec_prefix ;;
1242
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1243
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1244
 
  | --exec=* | --exe=* | --ex=*)
1245
 
    exec_prefix=$ac_optarg ;;
1246
 
 
1247
 
  -gas | --gas | --ga | --g)
1248
 
    # Obsolete; use --with-gas.
1249
 
    with_gas=yes ;;
1250
 
 
1251
 
  -help | --help | --hel | --he | -h)
1252
 
    ac_init_help=long ;;
1253
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1254
 
    ac_init_help=recursive ;;
1255
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1256
 
    ac_init_help=short ;;
1257
 
 
1258
 
  -host | --host | --hos | --ho)
1259
 
    ac_prev=host_alias ;;
1260
 
  -host=* | --host=* | --hos=* | --ho=*)
1261
 
    host_alias=$ac_optarg ;;
1262
 
 
1263
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1264
 
    ac_prev=htmldir ;;
1265
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1266
 
  | --ht=*)
1267
 
    htmldir=$ac_optarg ;;
1268
 
 
1269
 
  -includedir | --includedir | --includedi | --included | --include \
1270
 
  | --includ | --inclu | --incl | --inc)
1271
 
    ac_prev=includedir ;;
1272
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1273
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1274
 
    includedir=$ac_optarg ;;
1275
 
 
1276
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1277
 
    ac_prev=infodir ;;
1278
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1279
 
    infodir=$ac_optarg ;;
1280
 
 
1281
 
  -libdir | --libdir | --libdi | --libd)
1282
 
    ac_prev=libdir ;;
1283
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1284
 
    libdir=$ac_optarg ;;
1285
 
 
1286
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1287
 
  | --libexe | --libex | --libe)
1288
 
    ac_prev=libexecdir ;;
1289
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1290
 
  | --libexe=* | --libex=* | --libe=*)
1291
 
    libexecdir=$ac_optarg ;;
1292
 
 
1293
 
  -localedir | --localedir | --localedi | --localed | --locale)
1294
 
    ac_prev=localedir ;;
1295
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1296
 
    localedir=$ac_optarg ;;
1297
 
 
1298
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1299
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1300
 
    ac_prev=localstatedir ;;
1301
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1302
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1303
 
    localstatedir=$ac_optarg ;;
1304
 
 
1305
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1306
 
    ac_prev=mandir ;;
1307
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1308
 
    mandir=$ac_optarg ;;
1309
 
 
1310
 
  -nfp | --nfp | --nf)
1311
 
    # Obsolete; use --without-fp.
1312
 
    with_fp=no ;;
1313
 
 
1314
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1315
 
  | --no-cr | --no-c | -n)
1316
 
    no_create=yes ;;
1317
 
 
1318
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1319
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1320
 
    no_recursion=yes ;;
1321
 
 
1322
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1323
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1324
 
  | --oldin | --oldi | --old | --ol | --o)
1325
 
    ac_prev=oldincludedir ;;
1326
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1327
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1328
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1329
 
    oldincludedir=$ac_optarg ;;
1330
 
 
1331
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1332
 
    ac_prev=prefix ;;
1333
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1334
 
    prefix=$ac_optarg ;;
1335
 
 
1336
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1337
 
  | --program-pre | --program-pr | --program-p)
1338
 
    ac_prev=program_prefix ;;
1339
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1340
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1341
 
    program_prefix=$ac_optarg ;;
1342
 
 
1343
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1344
 
  | --program-suf | --program-su | --program-s)
1345
 
    ac_prev=program_suffix ;;
1346
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1347
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1348
 
    program_suffix=$ac_optarg ;;
1349
 
 
1350
 
  -program-transform-name | --program-transform-name \
1351
 
  | --program-transform-nam | --program-transform-na \
1352
 
  | --program-transform-n | --program-transform- \
1353
 
  | --program-transform | --program-transfor \
1354
 
  | --program-transfo | --program-transf \
1355
 
  | --program-trans | --program-tran \
1356
 
  | --progr-tra | --program-tr | --program-t)
1357
 
    ac_prev=program_transform_name ;;
1358
 
  -program-transform-name=* | --program-transform-name=* \
1359
 
  | --program-transform-nam=* | --program-transform-na=* \
1360
 
  | --program-transform-n=* | --program-transform-=* \
1361
 
  | --program-transform=* | --program-transfor=* \
1362
 
  | --program-transfo=* | --program-transf=* \
1363
 
  | --program-trans=* | --program-tran=* \
1364
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1365
 
    program_transform_name=$ac_optarg ;;
1366
 
 
1367
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1368
 
    ac_prev=pdfdir ;;
1369
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1370
 
    pdfdir=$ac_optarg ;;
1371
 
 
1372
 
  -psdir | --psdir | --psdi | --psd | --ps)
1373
 
    ac_prev=psdir ;;
1374
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1375
 
    psdir=$ac_optarg ;;
1376
 
 
1377
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1378
 
  | -silent | --silent | --silen | --sile | --sil)
1379
 
    silent=yes ;;
1380
 
 
1381
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1382
 
    ac_prev=sbindir ;;
1383
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1384
 
  | --sbi=* | --sb=*)
1385
 
    sbindir=$ac_optarg ;;
1386
 
 
1387
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1388
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1389
 
  | --sharedst | --shareds | --shared | --share | --shar \
1390
 
  | --sha | --sh)
1391
 
    ac_prev=sharedstatedir ;;
1392
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1393
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1394
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1395
 
  | --sha=* | --sh=*)
1396
 
    sharedstatedir=$ac_optarg ;;
1397
 
 
1398
 
  -site | --site | --sit)
1399
 
    ac_prev=site ;;
1400
 
  -site=* | --site=* | --sit=*)
1401
 
    site=$ac_optarg ;;
1402
 
 
1403
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1404
 
    ac_prev=srcdir ;;
1405
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1406
 
    srcdir=$ac_optarg ;;
1407
 
 
1408
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1409
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1410
 
    ac_prev=sysconfdir ;;
1411
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1412
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1413
 
    sysconfdir=$ac_optarg ;;
1414
 
 
1415
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1416
 
    ac_prev=target_alias ;;
1417
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1418
 
    target_alias=$ac_optarg ;;
1419
 
 
1420
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1421
 
    verbose=yes ;;
1422
 
 
1423
 
  -version | --version | --versio | --versi | --vers | -V)
1424
 
    ac_init_version=: ;;
1425
 
 
1426
 
  -with-* | --with-*)
1427
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1428
 
    # Reject names that are not valid shell variable names.
1429
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1430
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1431
 
   { (exit 1); exit 1; }; }
1432
 
    ac_useropt_orig=$ac_useropt
1433
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1434
 
    case $ac_user_opts in
1435
 
      *"
1436
 
"with_$ac_useropt"
1437
 
"*) ;;
1438
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1439
 
         ac_unrecognized_sep=', ';;
1440
 
    esac
1441
 
    eval with_$ac_useropt=\$ac_optarg ;;
1442
 
 
1443
 
  -without-* | --without-*)
1444
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1445
 
    # Reject names that are not valid shell variable names.
1446
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1447
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1448
 
   { (exit 1); exit 1; }; }
1449
 
    ac_useropt_orig=$ac_useropt
1450
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1451
 
    case $ac_user_opts in
1452
 
      *"
1453
 
"with_$ac_useropt"
1454
 
"*) ;;
1455
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1456
 
         ac_unrecognized_sep=', ';;
1457
 
    esac
1458
 
    eval with_$ac_useropt=no ;;
1459
 
 
1460
 
  --x)
1461
 
    # Obsolete; use --with-x.
1462
 
    with_x=yes ;;
1463
 
 
1464
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1465
 
  | --x-incl | --x-inc | --x-in | --x-i)
1466
 
    ac_prev=x_includes ;;
1467
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1468
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1469
 
    x_includes=$ac_optarg ;;
1470
 
 
1471
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1472
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1473
 
    ac_prev=x_libraries ;;
1474
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1475
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1476
 
    x_libraries=$ac_optarg ;;
1477
 
 
1478
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1479
 
Try \`$0 --help' for more information." >&2
1480
 
   { (exit 1); exit 1; }; }
1481
 
    ;;
1482
 
 
1483
 
  *=*)
1484
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1485
 
    # Reject names that are not valid shell variable names.
1486
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1487
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1488
 
   { (exit 1); exit 1; }; }
1489
 
    eval $ac_envvar=\$ac_optarg
1490
 
    export $ac_envvar ;;
1491
 
 
1492
 
  *)
1493
 
    # FIXME: should be removed in autoconf 3.0.
1494
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1495
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1496
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1497
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1498
 
    ;;
1499
 
 
1500
 
  esac
1501
 
done
1502
 
 
1503
 
if test -n "$ac_prev"; then
1504
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1505
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1506
 
   { (exit 1); exit 1; }; }
1507
 
fi
1508
 
 
1509
 
if test -n "$ac_unrecognized_opts"; then
1510
 
  case $enable_option_checking in
1511
 
    no) ;;
1512
 
    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1513
 
   { (exit 1); exit 1; }; } ;;
1514
 
    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1515
 
  esac
1516
 
fi
1517
 
 
1518
 
# Check all directory arguments for consistency.
1519
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1520
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1521
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1522
 
                libdir localedir mandir
1523
 
do
1524
 
  eval ac_val=\$$ac_var
1525
 
  # Remove trailing slashes.
1526
 
  case $ac_val in
1527
 
    */ )
1528
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1529
 
      eval $ac_var=\$ac_val;;
1530
 
  esac
1531
 
  # Be sure to have absolute directory names.
1532
 
  case $ac_val in
1533
 
    [\\/$]* | ?:[\\/]* )  continue;;
1534
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1535
 
  esac
1536
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1537
 
   { (exit 1); exit 1; }; }
1538
 
done
1539
 
 
1540
 
# There might be people who depend on the old broken behavior: `$host'
1541
 
# used to hold the argument of --host etc.
1542
 
# FIXME: To remove some day.
1543
 
build=$build_alias
1544
 
host=$host_alias
1545
 
target=$target_alias
1546
 
 
1547
 
# FIXME: To remove some day.
1548
 
if test "x$host_alias" != x; then
1549
 
  if test "x$build_alias" = x; then
1550
 
    cross_compiling=maybe
1551
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1552
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1553
 
  elif test "x$build_alias" != "x$host_alias"; then
1554
 
    cross_compiling=yes
1555
 
  fi
1556
 
fi
1557
 
 
1558
 
ac_tool_prefix=
1559
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1560
 
 
1561
 
test "$silent" = yes && exec 6>/dev/null
1562
 
 
1563
 
 
1564
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1565
 
ac_ls_di=`ls -di .` &&
1566
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1567
 
  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1568
 
   { (exit 1); exit 1; }; }
1569
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1570
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1571
 
   { (exit 1); exit 1; }; }
1572
 
 
1573
 
 
1574
 
# Find the source files, if location was not specified.
1575
 
if test -z "$srcdir"; then
1576
 
  ac_srcdir_defaulted=yes
1577
 
  # Try the directory containing this script, then the parent directory.
1578
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1579
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1580
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1581
 
         X"$as_myself" : 'X\(//\)$' \| \
1582
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1583
 
$as_echo X"$as_myself" |
1584
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1585
 
            s//\1/
1586
 
            q
1587
 
          }
1588
 
          /^X\(\/\/\)[^/].*/{
1589
 
            s//\1/
1590
 
            q
1591
 
          }
1592
 
          /^X\(\/\/\)$/{
1593
 
            s//\1/
1594
 
            q
1595
 
          }
1596
 
          /^X\(\/\).*/{
1597
 
            s//\1/
1598
 
            q
1599
 
          }
1600
 
          s/.*/./; q'`
1601
 
  srcdir=$ac_confdir
1602
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1603
 
    srcdir=..
1604
 
  fi
1605
 
else
1606
 
  ac_srcdir_defaulted=no
1607
 
fi
1608
 
if test ! -r "$srcdir/$ac_unique_file"; then
1609
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1610
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1611
 
   { (exit 1); exit 1; }; }
1612
 
fi
1613
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1614
 
ac_abs_confdir=`(
1615
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1616
 
   { (exit 1); exit 1; }; }
1617
 
        pwd)`
1618
 
# When building in place, set srcdir=.
1619
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1620
 
  srcdir=.
1621
 
fi
1622
 
# Remove unnecessary trailing slashes from srcdir.
1623
 
# Double slashes in file names in object file debugging info
1624
 
# mess up M-x gdb in Emacs.
1625
 
case $srcdir in
1626
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1627
 
esac
1628
 
for ac_var in $ac_precious_vars; do
1629
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1630
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1631
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1632
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1633
 
done
1634
 
 
1635
 
#
1636
 
# Report the --help message.
1637
 
#
1638
 
if test "$ac_init_help" = "long"; then
1639
 
  # Omit some internal or obsolete options to make the list less imposing.
1640
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1641
 
  cat <<_ACEOF
1642
 
\`configure' configures this package to adapt to many kinds of systems.
1643
 
 
1644
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1645
 
 
1646
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1647
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1648
 
 
1649
 
Defaults for the options are specified in brackets.
1650
 
 
1651
 
Configuration:
1652
 
  -h, --help              display this help and exit
1653
 
      --help=short        display options specific to this package
1654
 
      --help=recursive    display the short help of all the included packages
1655
 
  -V, --version           display version information and exit
1656
 
  -q, --quiet, --silent   do not print \`checking...' messages
1657
 
      --cache-file=FILE   cache test results in FILE [disabled]
1658
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1659
 
  -n, --no-create         do not create output files
1660
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1661
 
 
1662
 
Installation directories:
1663
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1664
 
                          [$ac_default_prefix]
1665
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1666
 
                          [PREFIX]
1667
 
 
1668
 
By default, \`make install' will install all the files in
1669
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1670
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1671
 
for instance \`--prefix=\$HOME'.
1672
 
 
1673
 
For better control, use the options below.
1674
 
 
1675
 
Fine tuning of the installation directories:
1676
 
  --bindir=DIR            user executables [EPREFIX/bin]
1677
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1678
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1679
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1680
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1681
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1682
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1683
 
  --includedir=DIR        C header files [PREFIX/include]
1684
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1685
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1686
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1687
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1688
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1689
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1690
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1691
 
  --htmldir=DIR           html documentation [DOCDIR]
1692
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1693
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1694
 
  --psdir=DIR             ps documentation [DOCDIR]
1695
 
_ACEOF
1696
 
 
1697
 
  cat <<\_ACEOF
1698
 
 
1699
 
Program names:
1700
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1701
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1702
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1703
 
 
1704
 
System types:
1705
 
  --build=BUILD     configure for building on BUILD [guessed]
1706
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1707
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1708
 
_ACEOF
1709
 
fi
1710
 
 
1711
 
if test -n "$ac_init_help"; then
1712
 
 
1713
 
  cat <<\_ACEOF
1714
 
 
1715
 
Optional Features:
1716
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1717
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1718
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1719
 
  --disable-fast-perl     disable fast Makefile generation (needs perl)
1720
 
  --enable-debug=ARG      enables debug symbols (yes|no|full) default=no
1721
 
  --disable-debug         disables debug output and debug symbols default=no
1722
 
  --enable-strict         compiles with strict compiler options (may not
1723
 
                          work!)
1724
 
  --disable-warnings      disables compilation with -Wall and similar
1725
 
  --enable-profile        creates profiling infos default=no
1726
 
  --disable-dependency-tracking Speeds up one-time builds
1727
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
1728
 
  --enable-pch            enables precompiled header support (currently only
1729
 
                          KCC or gcc >=3.4+unsermake) default=no
1730
 
  --enable-coverage       use gcc coverage testing
1731
 
  --enable-new-ldflags    enable the new linker flags
1732
 
  --enable-final          build size optimized apps (experimental - needs lots
1733
 
                          of memory)
1734
 
  --enable-closure        delay template instantiation
1735
 
  --enable-nmcheck        enable automatic namespace cleanness check
1736
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1737
 
  --enable-static[=PKGS]  build static libraries [default=no]
1738
 
  --enable-libsuffix      /lib directory suffix (64,32,none,auto=default)
1739
 
  --enable-fast-install[=PKGS]
1740
 
                          optimize for fast installation [default=yes]
1741
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1742
 
  --enable-pie            platform supports PIE linking default=detect
1743
 
  --enable-embedded       link to Qt-embedded, don't use X
1744
 
  --enable-qtopia         link to Qt-embedded, link to the Qtopia Environment
1745
 
  --enable-mac            link to Qt/Mac (don't use X)
1746
 
  --disable-mt            link to non-threaded Qt (deprecated)
1747
 
  --disable-threading     disables threading even if libpthread found
1748
 
  --disable-rpath         do not use the rpath feature of ld
1749
 
  --disable-path-check    don't try to find out, where to install
1750
 
 
1751
 
Optional Packages:
1752
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1753
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1754
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1755
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1756
 
                          both]
1757
 
  --with-tags[=TAGS]      include additional configurations [automatic]
1758
 
  --with-extra-includes=DIR
1759
 
                          adds non standard include paths
1760
 
  --with-extra-libs=DIR   adds non standard library paths
1761
 
  --with-qt-dir=DIR       where the root of Qt is installed
1762
 
  --with-qt-includes=DIR  where the Qt includes are.
1763
 
  --with-qt-libraries=DIR where the Qt library is installed.
1764
 
  --without-arts          build without aRts default=no
1765
 
 
1766
 
Some influential environment variables:
1767
 
  CC          C compiler command
1768
 
  CFLAGS      C compiler flags
1769
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1770
 
              nonstandard directory <lib dir>
1771
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1772
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1773
 
              you have headers in a nonstandard directory <include dir>
1774
 
  CPP         C preprocessor
1775
 
  CXX         C++ compiler command
1776
 
  CXXFLAGS    C++ compiler flags
1777
 
  CXXCPP      C++ preprocessor
1778
 
  F77         Fortran 77 compiler command
1779
 
  FFLAGS      Fortran 77 compiler flags
1780
 
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1781
 
 
1782
 
Use these variables to override the choices made by `configure' or to help
1783
 
it to find libraries and programs with nonstandard names/locations.
1784
 
 
1785
 
_ACEOF
1786
 
ac_status=$?
1787
 
fi
1788
 
 
1789
 
if test "$ac_init_help" = "recursive"; then
1790
 
  # If there are subdirs, report their specific --help.
1791
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1792
 
    test -d "$ac_dir" ||
1793
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1794
 
      continue
1795
 
    ac_builddir=.
1796
 
 
1797
 
case "$ac_dir" in
1798
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1799
 
*)
1800
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1801
 
  # A ".." for each directory in $ac_dir_suffix.
1802
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1803
 
  case $ac_top_builddir_sub in
1804
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1805
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1806
 
  esac ;;
1807
 
esac
1808
 
ac_abs_top_builddir=$ac_pwd
1809
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1810
 
# for backward compatibility:
1811
 
ac_top_builddir=$ac_top_build_prefix
1812
 
 
1813
 
case $srcdir in
1814
 
  .)  # We are building in place.
1815
 
    ac_srcdir=.
1816
 
    ac_top_srcdir=$ac_top_builddir_sub
1817
 
    ac_abs_top_srcdir=$ac_pwd ;;
1818
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1819
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1820
 
    ac_top_srcdir=$srcdir
1821
 
    ac_abs_top_srcdir=$srcdir ;;
1822
 
  *) # Relative name.
1823
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1824
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1825
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1826
 
esac
1827
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1828
 
 
1829
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1830
 
    # Check for guested configure.
1831
 
    if test -f "$ac_srcdir/configure.gnu"; then
1832
 
      echo &&
1833
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1834
 
    elif test -f "$ac_srcdir/configure"; then
1835
 
      echo &&
1836
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1837
 
    else
1838
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1839
 
    fi || ac_status=$?
1840
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1841
 
  done
1842
 
fi
1843
 
 
1844
 
test -n "$ac_init_help" && exit $ac_status
1845
 
if $ac_init_version; then
1846
 
  cat <<\_ACEOF
1847
 
configure
1848
 
generated by GNU Autoconf 2.62
1849
 
 
1850
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1851
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1852
 
This configure script is free software; the Free Software Foundation
1853
 
gives unlimited permission to copy, distribute and modify it.
1854
 
_ACEOF
1855
 
  exit
1856
 
fi
1857
 
cat >config.log <<_ACEOF
1858
 
This file contains any messages produced by compilers while
1859
 
running configure, to aid debugging if configure makes a mistake.
1860
 
 
1861
 
It was created by $as_me, which was
1862
 
generated by GNU Autoconf 2.62.  Invocation command line was
1863
 
 
1864
 
  $ $0 $@
1865
 
 
1866
 
_ACEOF
1867
 
exec 5>>config.log
1868
 
{
1869
 
cat <<_ASUNAME
1870
 
## --------- ##
1871
 
## Platform. ##
1872
 
## --------- ##
1873
 
 
1874
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1875
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1876
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1877
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1878
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1879
 
 
1880
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1881
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1882
 
 
1883
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1884
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1885
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1886
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1887
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1888
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1889
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1890
 
 
1891
 
_ASUNAME
1892
 
 
1893
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894
 
for as_dir in $PATH
1895
 
do
1896
 
  IFS=$as_save_IFS
1897
 
  test -z "$as_dir" && as_dir=.
1898
 
  $as_echo "PATH: $as_dir"
1899
 
done
1900
 
IFS=$as_save_IFS
1901
 
 
1902
 
} >&5
1903
 
 
1904
 
cat >&5 <<_ACEOF
1905
 
 
1906
 
 
1907
 
## ----------- ##
1908
 
## Core tests. ##
1909
 
## ----------- ##
1910
 
 
1911
 
_ACEOF
1912
 
 
1913
 
 
1914
 
# Keep a trace of the command line.
1915
 
# Strip out --no-create and --no-recursion so they do not pile up.
1916
 
# Strip out --silent because we don't want to record it for future runs.
1917
 
# Also quote any args containing shell meta-characters.
1918
 
# Make two passes to allow for proper duplicate-argument suppression.
1919
 
ac_configure_args=
1920
 
ac_configure_args0=
1921
 
ac_configure_args1=
1922
 
ac_must_keep_next=false
1923
 
for ac_pass in 1 2
1924
 
do
1925
 
  for ac_arg
1926
 
  do
1927
 
    case $ac_arg in
1928
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1929
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1930
 
    | -silent | --silent | --silen | --sile | --sil)
1931
 
      continue ;;
1932
 
    *\'*)
1933
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1934
 
    esac
1935
 
    case $ac_pass in
1936
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1937
 
    2)
1938
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1939
 
      if test $ac_must_keep_next = true; then
1940
 
        ac_must_keep_next=false # Got value, back to normal.
1941
 
      else
1942
 
        case $ac_arg in
1943
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1944
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1945
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1946
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1947
 
            case "$ac_configure_args0 " in
1948
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1949
 
            esac
1950
 
            ;;
1951
 
          -* ) ac_must_keep_next=true ;;
1952
 
        esac
1953
 
      fi
1954
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1955
 
      ;;
1956
 
    esac
1957
 
  done
1958
 
done
1959
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1960
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1961
 
 
1962
 
# When interrupted or exit'd, cleanup temporary files, and complete
1963
 
# config.log.  We remove comments because anyway the quotes in there
1964
 
# would cause problems or look ugly.
1965
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1966
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1967
 
trap 'exit_status=$?
1968
 
  # Save into config.log some information that might help in debugging.
1969
 
  {
1970
 
    echo
1971
 
 
1972
 
    cat <<\_ASBOX
1973
 
## ---------------- ##
1974
 
## Cache variables. ##
1975
 
## ---------------- ##
1976
 
_ASBOX
1977
 
    echo
1978
 
    # The following way of writing the cache mishandles newlines in values,
1979
 
(
1980
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1981
 
    eval ac_val=\$$ac_var
1982
 
    case $ac_val in #(
1983
 
    *${as_nl}*)
1984
 
      case $ac_var in #(
1985
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1986
 
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1987
 
      esac
1988
 
      case $ac_var in #(
1989
 
      _ | IFS | as_nl) ;; #(
1990
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1991
 
      *) $as_unset $ac_var ;;
1992
 
      esac ;;
1993
 
    esac
1994
 
  done
1995
 
  (set) 2>&1 |
1996
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1997
 
    *${as_nl}ac_space=\ *)
1998
 
      sed -n \
1999
 
        "s/'\''/'\''\\\\'\'''\''/g;
2000
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2001
 
      ;; #(
2002
 
    *)
2003
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2004
 
      ;;
2005
 
    esac |
2006
 
    sort
2007
 
)
2008
 
    echo
2009
 
 
2010
 
    cat <<\_ASBOX
2011
 
## ----------------- ##
2012
 
## Output variables. ##
2013
 
## ----------------- ##
2014
 
_ASBOX
2015
 
    echo
2016
 
    for ac_var in $ac_subst_vars
2017
 
    do
2018
 
      eval ac_val=\$$ac_var
2019
 
      case $ac_val in
2020
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2021
 
      esac
2022
 
      $as_echo "$ac_var='\''$ac_val'\''"
2023
 
    done | sort
2024
 
    echo
2025
 
 
2026
 
    if test -n "$ac_subst_files"; then
2027
 
      cat <<\_ASBOX
2028
 
## ------------------- ##
2029
 
## File substitutions. ##
2030
 
## ------------------- ##
2031
 
_ASBOX
2032
 
      echo
2033
 
      for ac_var in $ac_subst_files
2034
 
      do
2035
 
        eval ac_val=\$$ac_var
2036
 
        case $ac_val in
2037
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2038
 
        esac
2039
 
        $as_echo "$ac_var='\''$ac_val'\''"
2040
 
      done | sort
2041
 
      echo
2042
 
    fi
2043
 
 
2044
 
    if test -s confdefs.h; then
2045
 
      cat <<\_ASBOX
2046
 
## ----------- ##
2047
 
## confdefs.h. ##
2048
 
## ----------- ##
2049
 
_ASBOX
2050
 
      echo
2051
 
      cat confdefs.h
2052
 
      echo
2053
 
    fi
2054
 
    test "$ac_signal" != 0 &&
2055
 
      $as_echo "$as_me: caught signal $ac_signal"
2056
 
    $as_echo "$as_me: exit $exit_status"
2057
 
  } >&5
2058
 
  rm -f core *.core core.conftest.* &&
2059
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2060
 
    exit $exit_status
2061
 
' 0
2062
 
for ac_signal in 1 2 13 15; do
2063
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2064
 
done
2065
 
ac_signal=0
2066
 
 
2067
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2068
 
rm -f -r conftest* confdefs.h
2069
 
 
2070
 
# Predefined preprocessor variables.
2071
 
 
2072
 
cat >>confdefs.h <<_ACEOF
2073
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2074
 
_ACEOF
2075
 
 
2076
 
 
2077
 
cat >>confdefs.h <<_ACEOF
2078
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2079
 
_ACEOF
2080
 
 
2081
 
 
2082
 
cat >>confdefs.h <<_ACEOF
2083
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2084
 
_ACEOF
2085
 
 
2086
 
 
2087
 
cat >>confdefs.h <<_ACEOF
2088
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2089
 
_ACEOF
2090
 
 
2091
 
 
2092
 
cat >>confdefs.h <<_ACEOF
2093
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2094
 
_ACEOF
2095
 
 
2096
 
 
2097
 
# Let the site file select an alternate cache file if it wants to.
2098
 
# Prefer an explicitly selected file to automatically selected ones.
2099
 
ac_site_file1=NONE
2100
 
ac_site_file2=NONE
2101
 
if test -n "$CONFIG_SITE"; then
2102
 
  ac_site_file1=$CONFIG_SITE
2103
 
elif test "x$prefix" != xNONE; then
2104
 
  ac_site_file1=$prefix/share/config.site
2105
 
  ac_site_file2=$prefix/etc/config.site
2106
 
else
2107
 
  ac_site_file1=$ac_default_prefix/share/config.site
2108
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2109
 
fi
2110
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2111
 
do
2112
 
  test "x$ac_site_file" = xNONE && continue
2113
 
  if test -r "$ac_site_file"; then
2114
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2115
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2116
 
    sed 's/^/| /' "$ac_site_file" >&5
2117
 
    . "$ac_site_file"
2118
 
  fi
2119
 
done
2120
 
 
2121
 
if test -r "$cache_file"; then
2122
 
  # Some versions of bash will fail to source /dev/null (special
2123
 
  # files actually), so we avoid doing that.
2124
 
  if test -f "$cache_file"; then
2125
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2126
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2127
 
    case $cache_file in
2128
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2129
 
      *)                      . "./$cache_file";;
2130
 
    esac
2131
 
  fi
2132
 
else
2133
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2134
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2135
 
  >$cache_file
2136
 
fi
2137
 
 
2138
 
# Check that the precious variables saved in the cache have kept the same
2139
 
# value.
2140
 
ac_cache_corrupted=false
2141
 
for ac_var in $ac_precious_vars; do
2142
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2143
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2144
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2145
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2146
 
  case $ac_old_set,$ac_new_set in
2147
 
    set,)
2148
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2149
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2150
 
      ac_cache_corrupted=: ;;
2151
 
    ,set)
2152
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2153
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2154
 
      ac_cache_corrupted=: ;;
2155
 
    ,);;
2156
 
    *)
2157
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2158
 
        # differences in whitespace do not lead to failure.
2159
 
        ac_old_val_w=`echo x $ac_old_val`
2160
 
        ac_new_val_w=`echo x $ac_new_val`
2161
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2162
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2163
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2164
 
          ac_cache_corrupted=:
2165
 
        else
2166
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2167
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2168
 
          eval $ac_var=\$ac_old_val
2169
 
        fi
2170
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2171
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2172
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2173
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2174
 
      fi;;
2175
 
  esac
2176
 
  # Pass precious variables to config.status.
2177
 
  if test "$ac_new_set" = set; then
2178
 
    case $ac_new_val in
2179
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2180
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2181
 
    esac
2182
 
    case " $ac_configure_args " in
2183
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2184
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2185
 
    esac
2186
 
  fi
2187
 
done
2188
 
if $ac_cache_corrupted; then
2189
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2190
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2191
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2192
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2193
 
   { (exit 1); exit 1; }; }
2194
 
fi
2195
 
 
2196
 
 
2197
 
 
2198
 
 
2199
 
 
2200
 
 
2201
 
 
2202
 
 
2203
 
 
2204
 
 
2205
 
 
2206
 
 
2207
 
 
2208
 
 
2209
 
 
2210
 
 
2211
 
 
2212
 
ac_ext=c
2213
 
ac_cpp='$CPP $CPPFLAGS'
2214
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2215
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2216
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2217
 
 
2218
 
 
2219
 
ac_aux_dir=
2220
 
for ac_dir in admin "$srcdir"/admin; do
2221
 
  if test -f "$ac_dir/install-sh"; then
2222
 
    ac_aux_dir=$ac_dir
2223
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2224
 
    break
2225
 
  elif test -f "$ac_dir/install.sh"; then
2226
 
    ac_aux_dir=$ac_dir
2227
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2228
 
    break
2229
 
  elif test -f "$ac_dir/shtool"; then
2230
 
    ac_aux_dir=$ac_dir
2231
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2232
 
    break
2233
 
  fi
2234
 
done
2235
 
if test -z "$ac_aux_dir"; then
2236
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5
2237
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;}
2238
 
   { (exit 1); exit 1; }; }
2239
 
fi
2240
 
 
2241
 
# These three variables are undocumented and unsupported,
2242
 
# and are intended to be withdrawn in a future Autoconf release.
2243
 
# They can cause serious problems if a builder's source tree is in a directory
2244
 
# whose full name contains unusual characters.
2245
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2246
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2247
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2248
 
 
2249
 
 
2250
 
 
2251
 
unset CDPATH
2252
 
 
2253
 
# Make sure we can run config.sub.
2254
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2255
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2256
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2257
 
   { (exit 1); exit 1; }; }
2258
 
 
2259
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2260
 
$as_echo_n "checking build system type... " >&6; }
2261
 
if test "${ac_cv_build+set}" = set; then
2262
 
  $as_echo_n "(cached) " >&6
2263
 
else
2264
 
  ac_build_alias=$build_alias
2265
 
test "x$ac_build_alias" = x &&
2266
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2267
 
test "x$ac_build_alias" = x &&
2268
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2269
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2270
 
   { (exit 1); exit 1; }; }
2271
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2272
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2273
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2274
 
   { (exit 1); exit 1; }; }
2275
 
 
2276
 
fi
2277
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2278
 
$as_echo "$ac_cv_build" >&6; }
2279
 
case $ac_cv_build in
2280
 
*-*-*) ;;
2281
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2282
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2283
 
   { (exit 1); exit 1; }; };;
2284
 
esac
2285
 
build=$ac_cv_build
2286
 
ac_save_IFS=$IFS; IFS='-'
2287
 
set x $ac_cv_build
2288
 
shift
2289
 
build_cpu=$1
2290
 
build_vendor=$2
2291
 
shift; shift
2292
 
# Remember, the first character of IFS is used to create $*,
2293
 
# except with old shells:
2294
 
build_os=$*
2295
 
IFS=$ac_save_IFS
2296
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2297
 
 
2298
 
 
2299
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2300
 
$as_echo_n "checking host system type... " >&6; }
2301
 
if test "${ac_cv_host+set}" = set; then
2302
 
  $as_echo_n "(cached) " >&6
2303
 
else
2304
 
  if test "x$host_alias" = x; then
2305
 
  ac_cv_host=$ac_cv_build
2306
 
else
2307
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2308
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2309
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2310
 
   { (exit 1); exit 1; }; }
2311
 
fi
2312
 
 
2313
 
fi
2314
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2315
 
$as_echo "$ac_cv_host" >&6; }
2316
 
case $ac_cv_host in
2317
 
*-*-*) ;;
2318
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2319
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2320
 
   { (exit 1); exit 1; }; };;
2321
 
esac
2322
 
host=$ac_cv_host
2323
 
ac_save_IFS=$IFS; IFS='-'
2324
 
set x $ac_cv_host
2325
 
shift
2326
 
host_cpu=$1
2327
 
host_vendor=$2
2328
 
shift; shift
2329
 
# Remember, the first character of IFS is used to create $*,
2330
 
# except with old shells:
2331
 
host_os=$*
2332
 
IFS=$ac_save_IFS
2333
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2334
 
 
2335
 
 
2336
 
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
2337
 
$as_echo_n "checking target system type... " >&6; }
2338
 
if test "${ac_cv_target+set}" = set; then
2339
 
  $as_echo_n "(cached) " >&6
2340
 
else
2341
 
  if test "x$target_alias" = x; then
2342
 
  ac_cv_target=$ac_cv_host
2343
 
else
2344
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2345
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2346
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2347
 
   { (exit 1); exit 1; }; }
2348
 
fi
2349
 
 
2350
 
fi
2351
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2352
 
$as_echo "$ac_cv_target" >&6; }
2353
 
case $ac_cv_target in
2354
 
*-*-*) ;;
2355
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2356
 
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
2357
 
   { (exit 1); exit 1; }; };;
2358
 
esac
2359
 
target=$ac_cv_target
2360
 
ac_save_IFS=$IFS; IFS='-'
2361
 
set x $ac_cv_target
2362
 
shift
2363
 
target_cpu=$1
2364
 
target_vendor=$2
2365
 
shift; shift
2366
 
# Remember, the first character of IFS is used to create $*,
2367
 
# except with old shells:
2368
 
target_os=$*
2369
 
IFS=$ac_save_IFS
2370
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2371
 
 
2372
 
 
2373
 
# The aliases save the names the user supplied, while $host etc.
2374
 
# will get canonicalized.
2375
 
test -n "$target_alias" &&
2376
 
  test "$program_prefix$program_suffix$program_transform_name" = \
2377
 
    NONENONEs,x,x, &&
2378
 
  program_prefix=${target_alias}-
2379
 
test "$program_prefix" != NONE &&
2380
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2381
 
# Use a double $ so make ignores it.
2382
 
test "$program_suffix" != NONE &&
2383
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2384
 
# Double any \ or $.
2385
 
# By default was `s,x,x', remove it if useless.
2386
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2387
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2388
 
 
2389
 
 
2390
 
am__api_version="1.7"
2391
 
 
2392
 
 
2393
 
          test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
2394
 
  test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
2395
 
  test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
2396
 
  # Find a good install program.  We prefer a C program (faster),
2397
 
# so one script is as good as another.  But avoid the broken or
2398
 
# incompatible versions:
2399
 
# SysV /etc/install, /usr/sbin/install
2400
 
# SunOS /usr/etc/install
2401
 
# IRIX /sbin/install
2402
 
# AIX /bin/install
2403
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2404
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2405
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2406
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2407
 
# OS/2's system install, which has a completely different semantic
2408
 
# ./install, which can be erroneously created by make from ./install.sh.
2409
 
# Reject install programs that cannot install multiple files.
2410
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2411
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2412
 
if test -z "$INSTALL"; then
2413
 
if test "${ac_cv_path_install+set}" = set; then
2414
 
  $as_echo_n "(cached) " >&6
2415
 
else
2416
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417
 
for as_dir in $PATH
2418
 
do
2419
 
  IFS=$as_save_IFS
2420
 
  test -z "$as_dir" && as_dir=.
2421
 
  # Account for people who put trailing slashes in PATH elements.
2422
 
case $as_dir/ in
2423
 
  ./ | .// | /cC/* | \
2424
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2425
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2426
 
  /usr/ucb/* ) ;;
2427
 
  *)
2428
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2429
 
    # Don't use installbsd from OSF since it installs stuff as root
2430
 
    # by default.
2431
 
    for ac_prog in ginstall scoinst install; do
2432
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2433
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2434
 
          if test $ac_prog = install &&
2435
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2436
 
            # AIX install.  It has an incompatible calling convention.
2437
 
            :
2438
 
          elif test $ac_prog = install &&
2439
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2440
 
            # program-specific install script used by HP pwplus--don't use.
2441
 
            :
2442
 
          else
2443
 
            rm -rf conftest.one conftest.two conftest.dir
2444
 
            echo one > conftest.one
2445
 
            echo two > conftest.two
2446
 
            mkdir conftest.dir
2447
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2448
 
              test -s conftest.one && test -s conftest.two &&
2449
 
              test -s conftest.dir/conftest.one &&
2450
 
              test -s conftest.dir/conftest.two
2451
 
            then
2452
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2453
 
              break 3
2454
 
            fi
2455
 
          fi
2456
 
        fi
2457
 
      done
2458
 
    done
2459
 
    ;;
2460
 
esac
2461
 
 
2462
 
done
2463
 
IFS=$as_save_IFS
2464
 
 
2465
 
rm -rf conftest.one conftest.two conftest.dir
2466
 
 
2467
 
fi
2468
 
  if test "${ac_cv_path_install+set}" = set; then
2469
 
    INSTALL=$ac_cv_path_install
2470
 
  else
2471
 
    # As a last resort, use the slow shell script.  Don't cache a
2472
 
    # value for INSTALL within a source directory, because that will
2473
 
    # break other packages using the cache if that directory is
2474
 
    # removed, or if the value is a relative name.
2475
 
    INSTALL=$ac_install_sh
2476
 
  fi
2477
 
fi
2478
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2479
 
$as_echo "$INSTALL" >&6; }
2480
 
 
2481
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2482
 
# It thinks the first close brace ends the variable substitution.
2483
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2484
 
 
2485
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2486
 
 
2487
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2488
 
 
2489
 
 
2490
 
  if test -z "$kde_save_INSTALL_given" ; then
2491
 
    # OK, user hasn't given any INSTALL, autoconf found one for us
2492
 
    # now we test, if it supports the -p flag
2493
 
    { $as_echo "$as_me:$LINENO: checking for -p flag to install" >&5
2494
 
$as_echo_n "checking for -p flag to install... " >&6; }
2495
 
    rm -f confinst.$$.* > /dev/null 2>&1
2496
 
    echo "Testtest" > confinst.$$.orig
2497
 
    ac_res=no
2498
 
    if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
2499
 
      if test -f confinst.$$.new ; then
2500
 
        # OK, -p seems to do no harm to install
2501
 
        INSTALL="${INSTALL} -p"
2502
 
        ac_res=yes
2503
 
      fi
2504
 
    fi
2505
 
    rm -f confinst.$$.*
2506
 
    { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
2507
 
$as_echo "$ac_res" >&6; }
2508
 
  fi
2509
 
 
2510
 
  if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
2511
 
    INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
2512
 
  fi
2513
 
  if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
2514
 
    INSTALL_SCRIPT='${INSTALL}'
2515
 
  fi
2516
 
 
2517
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2518
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2519
 
# Just in case
2520
 
sleep 1
2521
 
echo timestamp > conftest.file
2522
 
# Do `set' in a subshell so we don't clobber the current shell's
2523
 
# arguments.  Must try -L first in case configure is actually a
2524
 
# symlink; some systems play weird games with the mod time of symlinks
2525
 
# (eg FreeBSD returns the mod time of the symlink's containing
2526
 
# directory).
2527
 
if (
2528
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2529
 
   if test "$*" = "X"; then
2530
 
      # -L didn't work.
2531
 
      set X `ls -t $srcdir/configure conftest.file`
2532
 
   fi
2533
 
   rm -f conftest.file
2534
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2535
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2536
 
 
2537
 
      # If neither matched, then we have a broken ls.  This can happen
2538
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2539
 
      # broken ls alias from the environment.  This has actually
2540
 
      # happened.  Such a system could not be considered "sane".
2541
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2542
 
alias in your environment" >&5
2543
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2544
 
alias in your environment" >&2;}
2545
 
   { (exit 1); exit 1; }; }
2546
 
   fi
2547
 
 
2548
 
   test "$2" = conftest.file
2549
 
   )
2550
 
then
2551
 
   # Ok.
2552
 
   :
2553
 
else
2554
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2555
 
Check your system clock" >&5
2556
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2557
 
Check your system clock" >&2;}
2558
 
   { (exit 1); exit 1; }; }
2559
 
fi
2560
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2561
 
$as_echo "yes" >&6; }
2562
 
 
2563
 
# expand $ac_aux_dir to an absolute path
2564
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2565
 
 
2566
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2567
 
# Use eval to expand $SHELL
2568
 
if eval "$MISSING --run true"; then
2569
 
  am_missing_run="$MISSING --run "
2570
 
else
2571
 
  am_missing_run=
2572
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2573
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2574
 
fi
2575
 
 
2576
 
for ac_prog in gawk mawk nawk awk
2577
 
do
2578
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2579
 
set dummy $ac_prog; ac_word=$2
2580
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2581
 
$as_echo_n "checking for $ac_word... " >&6; }
2582
 
if test "${ac_cv_prog_AWK+set}" = set; then
2583
 
  $as_echo_n "(cached) " >&6
2584
 
else
2585
 
  if test -n "$AWK"; then
2586
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2587
 
else
2588
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589
 
for as_dir in $PATH
2590
 
do
2591
 
  IFS=$as_save_IFS
2592
 
  test -z "$as_dir" && as_dir=.
2593
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2594
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595
 
    ac_cv_prog_AWK="$ac_prog"
2596
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597
 
    break 2
2598
 
  fi
2599
 
done
2600
 
done
2601
 
IFS=$as_save_IFS
2602
 
 
2603
 
fi
2604
 
fi
2605
 
AWK=$ac_cv_prog_AWK
2606
 
if test -n "$AWK"; then
2607
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2608
 
$as_echo "$AWK" >&6; }
2609
 
else
2610
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2611
 
$as_echo "no" >&6; }
2612
 
fi
2613
 
 
2614
 
 
2615
 
  test -n "$AWK" && break
2616
 
done
2617
 
 
2618
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2619
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2620
 
set x ${MAKE-make}
2621
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2622
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2623
 
  $as_echo_n "(cached) " >&6
2624
 
else
2625
 
  cat >conftest.make <<\_ACEOF
2626
 
SHELL = /bin/sh
2627
 
all:
2628
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2629
 
_ACEOF
2630
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2631
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2632
 
  *@@@%%%=?*=@@@%%%*)
2633
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2634
 
  *)
2635
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2636
 
esac
2637
 
rm -f conftest.make
2638
 
fi
2639
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2640
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
2641
 
$as_echo "yes" >&6; }
2642
 
  SET_MAKE=
2643
 
else
2644
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2645
 
$as_echo "no" >&6; }
2646
 
  SET_MAKE="MAKE=${MAKE-make}"
2647
 
fi
2648
 
 
2649
 
rm -rf .tst 2>/dev/null
2650
 
mkdir .tst 2>/dev/null
2651
 
if test -d .tst; then
2652
 
  am__leading_dot=.
2653
 
else
2654
 
  am__leading_dot=_
2655
 
fi
2656
 
rmdir .tst 2>/dev/null
2657
 
 
2658
 
 # test to see if srcdir already configured
2659
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2660
 
   test -f $srcdir/config.status; then
2661
 
  { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2662
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2663
 
   { (exit 1); exit 1; }; }
2664
 
fi
2665
 
 
2666
 
# test whether we have cygpath
2667
 
if test -z "$CYGPATH_W"; then
2668
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2669
 
    CYGPATH_W='cygpath -w'
2670
 
  else
2671
 
    CYGPATH_W=echo
2672
 
  fi
2673
 
fi
2674
 
 
2675
 
 
2676
 
# Define the identity of the package.
2677
 
 PACKAGE=crystal
2678
 
 VERSION=1.0.6
2679
 
 
2680
 
 
2681
 
cat >>confdefs.h <<_ACEOF
2682
 
#define PACKAGE "$PACKAGE"
2683
 
_ACEOF
2684
 
 
2685
 
 
2686
 
cat >>confdefs.h <<_ACEOF
2687
 
#define VERSION "$VERSION"
2688
 
_ACEOF
2689
 
 
2690
 
# Some tools Automake needs.
2691
 
 
2692
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2693
 
 
2694
 
 
2695
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2696
 
 
2697
 
 
2698
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2699
 
 
2700
 
 
2701
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2702
 
 
2703
 
 
2704
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2705
 
 
2706
 
 
2707
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2708
 
 
2709
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2710
 
 
2711
 
# Installed binaries are usually stripped using `strip' when the user
2712
 
# run `make install-strip'.  However `strip' might not be the right
2713
 
# tool to use in cross-compilation environments, therefore Automake
2714
 
# will honor the `STRIP' environment variable to overrule this program.
2715
 
if test "$cross_compiling" != no; then
2716
 
  if test -n "$ac_tool_prefix"; then
2717
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2718
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2719
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2720
 
$as_echo_n "checking for $ac_word... " >&6; }
2721
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2722
 
  $as_echo_n "(cached) " >&6
2723
 
else
2724
 
  if test -n "$STRIP"; then
2725
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2726
 
else
2727
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728
 
for as_dir in $PATH
2729
 
do
2730
 
  IFS=$as_save_IFS
2731
 
  test -z "$as_dir" && as_dir=.
2732
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2733
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2734
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2735
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2736
 
    break 2
2737
 
  fi
2738
 
done
2739
 
done
2740
 
IFS=$as_save_IFS
2741
 
 
2742
 
fi
2743
 
fi
2744
 
STRIP=$ac_cv_prog_STRIP
2745
 
if test -n "$STRIP"; then
2746
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2747
 
$as_echo "$STRIP" >&6; }
2748
 
else
2749
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2750
 
$as_echo "no" >&6; }
2751
 
fi
2752
 
 
2753
 
 
2754
 
fi
2755
 
if test -z "$ac_cv_prog_STRIP"; then
2756
 
  ac_ct_STRIP=$STRIP
2757
 
  # Extract the first word of "strip", so it can be a program name with args.
2758
 
set dummy strip; ac_word=$2
2759
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2760
 
$as_echo_n "checking for $ac_word... " >&6; }
2761
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2762
 
  $as_echo_n "(cached) " >&6
2763
 
else
2764
 
  if test -n "$ac_ct_STRIP"; then
2765
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2766
 
else
2767
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768
 
for as_dir in $PATH
2769
 
do
2770
 
  IFS=$as_save_IFS
2771
 
  test -z "$as_dir" && as_dir=.
2772
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2773
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2774
 
    ac_cv_prog_ac_ct_STRIP="strip"
2775
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2776
 
    break 2
2777
 
  fi
2778
 
done
2779
 
done
2780
 
IFS=$as_save_IFS
2781
 
 
2782
 
fi
2783
 
fi
2784
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2785
 
if test -n "$ac_ct_STRIP"; then
2786
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2787
 
$as_echo "$ac_ct_STRIP" >&6; }
2788
 
else
2789
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2790
 
$as_echo "no" >&6; }
2791
 
fi
2792
 
 
2793
 
  if test "x$ac_ct_STRIP" = x; then
2794
 
    STRIP=":"
2795
 
  else
2796
 
    case $cross_compiling:$ac_tool_warned in
2797
 
yes:)
2798
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2799
 
whose name does not start with the host triplet.  If you think this
2800
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2801
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2802
 
whose name does not start with the host triplet.  If you think this
2803
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2804
 
ac_tool_warned=yes ;;
2805
 
esac
2806
 
    STRIP=$ac_ct_STRIP
2807
 
  fi
2808
 
else
2809
 
  STRIP="$ac_cv_prog_STRIP"
2810
 
fi
2811
 
 
2812
 
fi
2813
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2814
 
 
2815
 
# We need awk for the "check" target.  The system "awk" is bad on
2816
 
# some platforms.
2817
 
 
2818
 
 
2819
 
 
2820
 
 
2821
 
  unset CDPATH
2822
 
 
2823
 
 
2824
 
 
2825
 
    kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
2826
 
    test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
2827
 
    if test -n "$KDEDIRS"; then
2828
 
       kde_save_IFS=$IFS
2829
 
       IFS=:
2830
 
       for dir in $KDEDIRS; do
2831
 
            kde_default_bindirs="$dir/bin $kde_default_bindirs "
2832
 
       done
2833
 
       IFS=$kde_save_IFS
2834
 
    fi
2835
 
 
2836
 
  if test "x$prefix" = "xNONE"; then
2837
 
 
2838
 
   { $as_echo "$as_me:$LINENO: checking for kde-config" >&5
2839
 
$as_echo_n "checking for kde-config... " >&6; }
2840
 
   if test -n "$KDECONFIG"; then
2841
 
        kde_cv_path="$KDECONFIG";
2842
 
   else
2843
 
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2844
 
 
2845
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2846
 
  $as_echo_n "(cached) " >&6
2847
 
else
2848
 
 
2849
 
        kde_cv_path="NONE"
2850
 
        kde_save_IFS=$IFS
2851
 
        IFS=':'
2852
 
        dirs=""
2853
 
        for dir in $PATH; do
2854
 
          dirs="$dirs $dir"
2855
 
        done
2856
 
        if test -z "prepend"; then        dirs="$kde_default_bindirs $dirs"
2857
 
        else      dirs="$dirs $kde_default_bindirs"
2858
 
        fi
2859
 
        IFS=$kde_save_IFS
2860
 
 
2861
 
        for dir in $dirs; do
2862
 
          if test -x "$dir/kde-config"; then
2863
 
            if test -n ""
2864
 
            then
2865
 
              evalstr="$dir/kde-config  2>&1 "
2866
 
              if eval $evalstr; then
2867
 
                kde_cv_path="$dir/kde-config"
2868
 
                break
2869
 
              fi
2870
 
            else
2871
 
                kde_cv_path="$dir/kde-config"
2872
 
                break
2873
 
            fi
2874
 
          fi
2875
 
        done
2876
 
 
2877
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
2878
 
 
2879
 
 
2880
 
fi
2881
 
 
2882
 
 
2883
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2884
 
 
2885
 
   fi
2886
 
 
2887
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2888
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
2889
 
$as_echo "not found" >&6; }
2890
 
 
2891
 
    { { $as_echo "$as_me:$LINENO: error: The important program kde-config was not found!
2892
 
Please check whether you installed KDE correctly.
2893
 
" >&5
2894
 
$as_echo "$as_me: error: The important program kde-config was not found!
2895
 
Please check whether you installed KDE correctly.
2896
 
" >&2;}
2897
 
   { (exit 1); exit 1; }; }
2898
 
 
2899
 
   else
2900
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2901
 
$as_echo "$kde_cv_path" >&6; }
2902
 
      KDECONFIG=$kde_cv_path
2903
 
 
2904
 
   fi
2905
 
 
2906
 
  else
2907
 
        kde_save_PATH="$PATH"
2908
 
    PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2909
 
 
2910
 
   { $as_echo "$as_me:$LINENO: checking for kde-config" >&5
2911
 
$as_echo_n "checking for kde-config... " >&6; }
2912
 
   if test -n "$KDECONFIG"; then
2913
 
        kde_cv_path="$KDECONFIG";
2914
 
   else
2915
 
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2916
 
 
2917
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2918
 
  $as_echo_n "(cached) " >&6
2919
 
else
2920
 
 
2921
 
        kde_cv_path="NONE"
2922
 
        kde_save_IFS=$IFS
2923
 
        IFS=':'
2924
 
        dirs=""
2925
 
        for dir in $PATH; do
2926
 
          dirs="$dirs $dir"
2927
 
        done
2928
 
        if test -z "prepend"; then        dirs="$kde_default_bindirs $dirs"
2929
 
        else      dirs="$dirs $kde_default_bindirs"
2930
 
        fi
2931
 
        IFS=$kde_save_IFS
2932
 
 
2933
 
        for dir in $dirs; do
2934
 
          if test -x "$dir/kde-config"; then
2935
 
            if test -n ""
2936
 
            then
2937
 
              evalstr="$dir/kde-config  2>&1 "
2938
 
              if eval $evalstr; then
2939
 
                kde_cv_path="$dir/kde-config"
2940
 
                break
2941
 
              fi
2942
 
            else
2943
 
                kde_cv_path="$dir/kde-config"
2944
 
                break
2945
 
            fi
2946
 
          fi
2947
 
        done
2948
 
 
2949
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
2950
 
 
2951
 
 
2952
 
fi
2953
 
 
2954
 
 
2955
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2956
 
 
2957
 
   fi
2958
 
 
2959
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2960
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
2961
 
$as_echo "not found" >&6; }
2962
 
 
2963
 
    { { $as_echo "$as_me:$LINENO: error: The important program kde-config was not found!
2964
 
Please check whether you installed KDE correctly.
2965
 
" >&5
2966
 
$as_echo "$as_me: error: The important program kde-config was not found!
2967
 
Please check whether you installed KDE correctly.
2968
 
" >&2;}
2969
 
   { (exit 1); exit 1; }; }
2970
 
 
2971
 
   else
2972
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2973
 
$as_echo "$kde_cv_path" >&6; }
2974
 
      KDECONFIG=$kde_cv_path
2975
 
 
2976
 
   fi
2977
 
 
2978
 
    PATH="$kde_save_PATH"
2979
 
  fi
2980
 
 
2981
 
  kde_libs_prefix=`$KDECONFIG --prefix`
2982
 
  if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
2983
 
       { { $as_echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2984
 
                    This means it has been moved since you installed it.
2985
 
                    This won't work. Please recompile kdelibs for the new prefix.
2986
 
                    " >&5
2987
 
$as_echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2988
 
                    This means it has been moved since you installed it.
2989
 
                    This won't work. Please recompile kdelibs for the new prefix.
2990
 
                    " >&2;}
2991
 
   { (exit 1); exit 1; }; }
2992
 
  fi
2993
 
  kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2994
 
 
2995
 
  { $as_echo "$as_me:$LINENO: checking where to install" >&5
2996
 
$as_echo_n "checking where to install... " >&6; }
2997
 
  if test "x$prefix" = "xNONE"; then
2998
 
    prefix=$kde_libs_prefix
2999
 
    { $as_echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
3000
 
$as_echo "$prefix (as returned by kde-config)" >&6; }
3001
 
  else
3002
 
        given_prefix=$prefix
3003
 
    { $as_echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
3004
 
$as_echo "$prefix (as requested)" >&6; }
3005
 
  fi
3006
 
 
3007
 
  # And delete superfluous '/' to make compares easier
3008
 
  prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
3009
 
  exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
3010
 
  given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
3011
 
 
3012
 
 
3013
 
 
3014
 
 
3015
 
 
3016
 
 
3017
 
    # Check whether --enable-fast-perl was given.
3018
 
if test "${enable_fast_perl+set}" = set; then
3019
 
  enableval=$enable_fast_perl; with_fast_perl=$enableval
3020
 
else
3021
 
  with_fast_perl=yes
3022
 
fi
3023
 
 
3024
 
 
3025
 
 
3026
 
  val=
3027
 
  if test -f $srcdir/configure.files ; then
3028
 
    val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
3029
 
  fi
3030
 
  CONF_FILES=
3031
 
  if test -n "$val" ; then
3032
 
    for i in $val ; do
3033
 
      CONF_FILES="$CONF_FILES $i"
3034
 
    done
3035
 
  fi
3036
 
 
3037
 
 
3038
 
 
3039
 
 
3040
 
ac_config_headers="$ac_config_headers config.h"
3041
 
 
3042
 
DEPDIR="${am__leading_dot}deps"
3043
 
 
3044
 
ac_config_commands="$ac_config_commands depfiles"
3045
 
 
3046
 
 
3047
 
am_make=${MAKE-make}
3048
 
cat > confinc << 'END'
3049
 
am__doit:
3050
 
        @echo done
3051
 
.PHONY: am__doit
3052
 
END
3053
 
# If we don't find an include directive, just comment out the code.
3054
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3055
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3056
 
am__include="#"
3057
 
am__quote=
3058
 
_am_result=none
3059
 
# First try GNU make style include.
3060
 
echo "include confinc" > confmf
3061
 
# We grep out `Entering directory' and `Leaving directory'
3062
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3063
 
# In particular we don't look at `^make:' because GNU make might
3064
 
# be invoked under some other name (usually "gmake"), in which
3065
 
# case it prints its new name instead of `make'.
3066
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3067
 
   am__include=include
3068
 
   am__quote=
3069
 
   _am_result=GNU
3070
 
fi
3071
 
# Now try BSD make style include.
3072
 
if test "$am__include" = "#"; then
3073
 
   echo '.include "confinc"' > confmf
3074
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3075
 
      am__include=.include
3076
 
      am__quote="\""
3077
 
      _am_result=BSD
3078
 
   fi
3079
 
fi
3080
 
 
3081
 
 
3082
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3083
 
$as_echo "$_am_result" >&6; }
3084
 
rm -f confinc confmf
3085
 
 
3086
 
# Check whether --enable-dependency-tracking was given.
3087
 
if test "${enable_dependency_tracking+set}" = set; then
3088
 
  enableval=$enable_dependency_tracking;
3089
 
fi
3090
 
 
3091
 
if test "x$enable_dependency_tracking" != xno; then
3092
 
  am_depcomp="$ac_aux_dir/depcomp"
3093
 
  AMDEPBACKSLASH='\'
3094
 
fi
3095
 
 
3096
 
 
3097
 
if test "x$enable_dependency_tracking" != xno; then
3098
 
  AMDEP_TRUE=
3099
 
  AMDEP_FALSE='#'
3100
 
else
3101
 
  AMDEP_TRUE='#'
3102
 
  AMDEP_FALSE=
3103
 
fi
3104
 
 
3105
 
 
3106
 
 
3107
 
 
3108
 
 
3109
 
 
3110
 
  # Check whether --enable-debug was given.
3111
 
if test "${enable_debug+set}" = set; then
3112
 
  enableval=$enable_debug;
3113
 
    case $enableval in
3114
 
      yes)
3115
 
        kde_use_debug_code="yes"
3116
 
        kde_use_debug_define=no
3117
 
        ;;
3118
 
      full)
3119
 
        kde_use_debug_code="full"
3120
 
        kde_use_debug_define=no
3121
 
        ;;
3122
 
      *)
3123
 
        kde_use_debug_code="no"
3124
 
        kde_use_debug_define=yes
3125
 
        ;;
3126
 
    esac
3127
 
 
3128
 
else
3129
 
  kde_use_debug_code="no"
3130
 
      kde_use_debug_define=no
3131
 
 
3132
 
fi
3133
 
 
3134
 
 
3135
 
    # Check whether --enable-dummyoption was given.
3136
 
if test "${enable_dummyoption+set}" = set; then
3137
 
  enableval=$enable_dummyoption;
3138
 
fi
3139
 
 
3140
 
 
3141
 
  # Check whether --enable-strict was given.
3142
 
if test "${enable_strict+set}" = set; then
3143
 
  enableval=$enable_strict;
3144
 
    if test $enableval = "no"; then
3145
 
         kde_use_strict_options="no"
3146
 
       else
3147
 
         kde_use_strict_options="yes"
3148
 
    fi
3149
 
 
3150
 
else
3151
 
  kde_use_strict_options="no"
3152
 
fi
3153
 
 
3154
 
 
3155
 
  # Check whether --enable-warnings was given.
3156
 
if test "${enable_warnings+set}" = set; then
3157
 
  enableval=$enable_warnings;
3158
 
    if test $enableval = "no"; then
3159
 
         kde_use_warnings="no"
3160
 
       else
3161
 
         kde_use_warnings="yes"
3162
 
    fi
3163
 
 
3164
 
else
3165
 
  kde_use_warnings="yes"
3166
 
fi
3167
 
 
3168
 
 
3169
 
    if test "$kde_use_debug_code" != "no"; then
3170
 
    kde_use_warnings=yes
3171
 
  fi
3172
 
 
3173
 
  # Check whether --enable-profile was given.
3174
 
if test "${enable_profile+set}" = set; then
3175
 
  enableval=$enable_profile; kde_use_profiling=$enableval
3176
 
else
3177
 
  kde_use_profiling="no"
3178
 
 
3179
 
fi
3180
 
 
3181
 
 
3182
 
    CFLAGS=" $CFLAGS"
3183
 
 
3184
 
  ac_ext=c
3185
 
ac_cpp='$CPP $CPPFLAGS'
3186
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3187
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3188
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3189
 
if test -n "$ac_tool_prefix"; then
3190
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3191
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3192
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3193
 
$as_echo_n "checking for $ac_word... " >&6; }
3194
 
if test "${ac_cv_prog_CC+set}" = set; then
3195
 
  $as_echo_n "(cached) " >&6
3196
 
else
3197
 
  if test -n "$CC"; then
3198
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3199
 
else
3200
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201
 
for as_dir in $PATH
3202
 
do
3203
 
  IFS=$as_save_IFS
3204
 
  test -z "$as_dir" && as_dir=.
3205
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3206
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3207
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3208
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3209
 
    break 2
3210
 
  fi
3211
 
done
3212
 
done
3213
 
IFS=$as_save_IFS
3214
 
 
3215
 
fi
3216
 
fi
3217
 
CC=$ac_cv_prog_CC
3218
 
if test -n "$CC"; then
3219
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3220
 
$as_echo "$CC" >&6; }
3221
 
else
3222
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
3223
 
$as_echo "no" >&6; }
3224
 
fi
3225
 
 
3226
 
 
3227
 
fi
3228
 
if test -z "$ac_cv_prog_CC"; then
3229
 
  ac_ct_CC=$CC
3230
 
  # Extract the first word of "gcc", so it can be a program name with args.
3231
 
set dummy gcc; ac_word=$2
3232
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3233
 
$as_echo_n "checking for $ac_word... " >&6; }
3234
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3235
 
  $as_echo_n "(cached) " >&6
3236
 
else
3237
 
  if test -n "$ac_ct_CC"; then
3238
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3239
 
else
3240
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241
 
for as_dir in $PATH
3242
 
do
3243
 
  IFS=$as_save_IFS
3244
 
  test -z "$as_dir" && as_dir=.
3245
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3246
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247
 
    ac_cv_prog_ac_ct_CC="gcc"
3248
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3249
 
    break 2
3250
 
  fi
3251
 
done
3252
 
done
3253
 
IFS=$as_save_IFS
3254
 
 
3255
 
fi
3256
 
fi
3257
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3258
 
if test -n "$ac_ct_CC"; then
3259
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3260
 
$as_echo "$ac_ct_CC" >&6; }
3261
 
else
3262
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
3263
 
$as_echo "no" >&6; }
3264
 
fi
3265
 
 
3266
 
  if test "x$ac_ct_CC" = x; then
3267
 
    CC=""
3268
 
  else
3269
 
    case $cross_compiling:$ac_tool_warned in
3270
 
yes:)
3271
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3272
 
whose name does not start with the host triplet.  If you think this
3273
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3274
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3275
 
whose name does not start with the host triplet.  If you think this
3276
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3277
 
ac_tool_warned=yes ;;
3278
 
esac
3279
 
    CC=$ac_ct_CC
3280
 
  fi
3281
 
else
3282
 
  CC="$ac_cv_prog_CC"
3283
 
fi
3284
 
 
3285
 
if test -z "$CC"; then
3286
 
          if test -n "$ac_tool_prefix"; then
3287
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3288
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3289
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3290
 
$as_echo_n "checking for $ac_word... " >&6; }
3291
 
if test "${ac_cv_prog_CC+set}" = set; then
3292
 
  $as_echo_n "(cached) " >&6
3293
 
else
3294
 
  if test -n "$CC"; then
3295
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3296
 
else
3297
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298
 
for as_dir in $PATH
3299
 
do
3300
 
  IFS=$as_save_IFS
3301
 
  test -z "$as_dir" && as_dir=.
3302
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3303
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3304
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3305
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3306
 
    break 2
3307
 
  fi
3308
 
done
3309
 
done
3310
 
IFS=$as_save_IFS
3311
 
 
3312
 
fi
3313
 
fi
3314
 
CC=$ac_cv_prog_CC
3315
 
if test -n "$CC"; then
3316
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3317
 
$as_echo "$CC" >&6; }
3318
 
else
3319
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
3320
 
$as_echo "no" >&6; }
3321
 
fi
3322
 
 
3323
 
 
3324
 
  fi
3325
 
fi
3326
 
if test -z "$CC"; then
3327
 
  # Extract the first word of "cc", so it can be a program name with args.
3328
 
set dummy cc; ac_word=$2
3329
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3330
 
$as_echo_n "checking for $ac_word... " >&6; }
3331
 
if test "${ac_cv_prog_CC+set}" = set; then
3332
 
  $as_echo_n "(cached) " >&6
3333
 
else
3334
 
  if test -n "$CC"; then
3335
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3336
 
else
3337
 
  ac_prog_rejected=no
3338
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339
 
for as_dir in $PATH
3340
 
do
3341
 
  IFS=$as_save_IFS
3342
 
  test -z "$as_dir" && as_dir=.
3343
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3344
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3345
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3346
 
       ac_prog_rejected=yes
3347
 
       continue
3348
 
     fi
3349
 
    ac_cv_prog_CC="cc"
3350
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3351
 
    break 2
3352
 
  fi
3353
 
done
3354
 
done
3355
 
IFS=$as_save_IFS
3356
 
 
3357
 
if test $ac_prog_rejected = yes; then
3358
 
  # We found a bogon in the path, so make sure we never use it.
3359
 
  set dummy $ac_cv_prog_CC
3360
 
  shift
3361
 
  if test $# != 0; then
3362
 
    # We chose a different compiler from the bogus one.
3363
 
    # However, it has the same basename, so the bogon will be chosen
3364
 
    # first if we set CC to just the basename; use the full file name.
3365
 
    shift
3366
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3367
 
  fi
3368
 
fi
3369
 
fi
3370
 
fi
3371
 
CC=$ac_cv_prog_CC
3372
 
if test -n "$CC"; then
3373
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3374
 
$as_echo "$CC" >&6; }
3375
 
else
3376
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
3377
 
$as_echo "no" >&6; }
3378
 
fi
3379
 
 
3380
 
 
3381
 
fi
3382
 
if test -z "$CC"; then
3383
 
  if test -n "$ac_tool_prefix"; then
3384
 
  for ac_prog in cl.exe
3385
 
  do
3386
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3387
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3388
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3389
 
$as_echo_n "checking for $ac_word... " >&6; }
3390
 
if test "${ac_cv_prog_CC+set}" = set; then
3391
 
  $as_echo_n "(cached) " >&6
3392
 
else
3393
 
  if test -n "$CC"; then
3394
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3395
 
else
3396
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397
 
for as_dir in $PATH
3398
 
do
3399
 
  IFS=$as_save_IFS
3400
 
  test -z "$as_dir" && as_dir=.
3401
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3402
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3403
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3404
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3405
 
    break 2
3406
 
  fi
3407
 
done
3408
 
done
3409
 
IFS=$as_save_IFS
3410
 
 
3411
 
fi
3412
 
fi
3413
 
CC=$ac_cv_prog_CC
3414
 
if test -n "$CC"; then
3415
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3416
 
$as_echo "$CC" >&6; }
3417
 
else
3418
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
3419
 
$as_echo "no" >&6; }
3420
 
fi
3421
 
 
3422
 
 
3423
 
    test -n "$CC" && break
3424
 
  done
3425
 
fi
3426
 
if test -z "$CC"; then
3427
 
  ac_ct_CC=$CC
3428
 
  for ac_prog in cl.exe
3429
 
do
3430
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3431
 
set dummy $ac_prog; ac_word=$2
3432
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3433
 
$as_echo_n "checking for $ac_word... " >&6; }
3434
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3435
 
  $as_echo_n "(cached) " >&6
3436
 
else
3437
 
  if test -n "$ac_ct_CC"; then
3438
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3439
 
else
3440
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441
 
for as_dir in $PATH
3442
 
do
3443
 
  IFS=$as_save_IFS
3444
 
  test -z "$as_dir" && as_dir=.
3445
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3446
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3448
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3449
 
    break 2
3450
 
  fi
3451
 
done
3452
 
done
3453
 
IFS=$as_save_IFS
3454
 
 
3455
 
fi
3456
 
fi
3457
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3458
 
if test -n "$ac_ct_CC"; then
3459
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3460
 
$as_echo "$ac_ct_CC" >&6; }
3461
 
else
3462
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
3463
 
$as_echo "no" >&6; }
3464
 
fi
3465
 
 
3466
 
 
3467
 
  test -n "$ac_ct_CC" && break
3468
 
done
3469
 
 
3470
 
  if test "x$ac_ct_CC" = x; then
3471
 
    CC=""
3472
 
  else
3473
 
    case $cross_compiling:$ac_tool_warned in
3474
 
yes:)
3475
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3476
 
whose name does not start with the host triplet.  If you think this
3477
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3478
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3479
 
whose name does not start with the host triplet.  If you think this
3480
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3481
 
ac_tool_warned=yes ;;
3482
 
esac
3483
 
    CC=$ac_ct_CC
3484
 
  fi
3485
 
fi
3486
 
 
3487
 
fi
3488
 
 
3489
 
 
3490
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3491
 
See \`config.log' for more details." >&5
3492
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3493
 
See \`config.log' for more details." >&2;}
3494
 
   { (exit 1); exit 1; }; }
3495
 
 
3496
 
# Provide some information about the compiler.
3497
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3498
 
set X $ac_compile
3499
 
ac_compiler=$2
3500
 
{ (ac_try="$ac_compiler --version >&5"
3501
 
case "(($ac_try" in
3502
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3503
 
  *) ac_try_echo=$ac_try;;
3504
 
esac
3505
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3506
 
$as_echo "$ac_try_echo") >&5
3507
 
  (eval "$ac_compiler --version >&5") 2>&5
3508
 
  ac_status=$?
3509
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510
 
  (exit $ac_status); }
3511
 
{ (ac_try="$ac_compiler -v >&5"
3512
 
case "(($ac_try" in
3513
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514
 
  *) ac_try_echo=$ac_try;;
3515
 
esac
3516
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3517
 
$as_echo "$ac_try_echo") >&5
3518
 
  (eval "$ac_compiler -v >&5") 2>&5
3519
 
  ac_status=$?
3520
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521
 
  (exit $ac_status); }
3522
 
{ (ac_try="$ac_compiler -V >&5"
3523
 
case "(($ac_try" in
3524
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525
 
  *) ac_try_echo=$ac_try;;
3526
 
esac
3527
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3528
 
$as_echo "$ac_try_echo") >&5
3529
 
  (eval "$ac_compiler -V >&5") 2>&5
3530
 
  ac_status=$?
3531
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532
 
  (exit $ac_status); }
3533
 
 
3534
 
cat >conftest.$ac_ext <<_ACEOF
3535
 
/* confdefs.h.  */
3536
 
_ACEOF
3537
 
cat confdefs.h >>conftest.$ac_ext
3538
 
cat >>conftest.$ac_ext <<_ACEOF
3539
 
/* end confdefs.h.  */
3540
 
 
3541
 
int
3542
 
main ()
3543
 
{
3544
 
 
3545
 
  ;
3546
 
  return 0;
3547
 
}
3548
 
_ACEOF
3549
 
ac_clean_files_save=$ac_clean_files
3550
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3551
 
# Try to create an executable without -o first, disregard a.out.
3552
 
# It will help us diagnose broken compilers, and finding out an intuition
3553
 
# of exeext.
3554
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3555
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3556
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3557
 
 
3558
 
# The possible output files:
3559
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3560
 
 
3561
 
ac_rmfiles=
3562
 
for ac_file in $ac_files
3563
 
do
3564
 
  case $ac_file in
3565
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3566
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3567
 
  esac
3568
 
done
3569
 
rm -f $ac_rmfiles
3570
 
 
3571
 
if { (ac_try="$ac_link_default"
3572
 
case "(($ac_try" in
3573
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574
 
  *) ac_try_echo=$ac_try;;
3575
 
esac
3576
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3577
 
$as_echo "$ac_try_echo") >&5
3578
 
  (eval "$ac_link_default") 2>&5
3579
 
  ac_status=$?
3580
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581
 
  (exit $ac_status); }; then
3582
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3583
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3584
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3585
 
# so that the user can short-circuit this test for compilers unknown to
3586
 
# Autoconf.
3587
 
for ac_file in $ac_files ''
3588
 
do
3589
 
  test -f "$ac_file" || continue
3590
 
  case $ac_file in
3591
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3592
 
        ;;
3593
 
    [ab].out )
3594
 
        # We found the default executable, but exeext='' is most
3595
 
        # certainly right.
3596
 
        break;;
3597
 
    *.* )
3598
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3599
 
        then :; else
3600
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3601
 
        fi
3602
 
        # We set ac_cv_exeext here because the later test for it is not
3603
 
        # safe: cross compilers may not add the suffix if given an `-o'
3604
 
        # argument, so we may need to know it at that point already.
3605
 
        # Even if this section looks crufty: it has the advantage of
3606
 
        # actually working.
3607
 
        break;;
3608
 
    * )
3609
 
        break;;
3610
 
  esac
3611
 
done
3612
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3613
 
 
3614
 
else
3615
 
  ac_file=''
3616
 
fi
3617
 
 
3618
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3619
 
$as_echo "$ac_file" >&6; }
3620
 
if test -z "$ac_file"; then
3621
 
  $as_echo "$as_me: failed program was:" >&5
3622
 
sed 's/^/| /' conftest.$ac_ext >&5
3623
 
 
3624
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3625
 
See \`config.log' for more details." >&5
3626
 
$as_echo "$as_me: error: C compiler cannot create executables
3627
 
See \`config.log' for more details." >&2;}
3628
 
   { (exit 77); exit 77; }; }
3629
 
fi
3630
 
 
3631
 
ac_exeext=$ac_cv_exeext
3632
 
 
3633
 
# Check that the compiler produces executables we can run.  If not, either
3634
 
# the compiler is broken, or we cross compile.
3635
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3636
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3637
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3638
 
# If not cross compiling, check that we can run a simple program.
3639
 
if test "$cross_compiling" != yes; then
3640
 
  if { ac_try='./$ac_file'
3641
 
  { (case "(($ac_try" in
3642
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643
 
  *) ac_try_echo=$ac_try;;
3644
 
esac
3645
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3646
 
$as_echo "$ac_try_echo") >&5
3647
 
  (eval "$ac_try") 2>&5
3648
 
  ac_status=$?
3649
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650
 
  (exit $ac_status); }; }; then
3651
 
    cross_compiling=no
3652
 
  else
3653
 
    if test "$cross_compiling" = maybe; then
3654
 
        cross_compiling=yes
3655
 
    else
3656
 
        { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3657
 
If you meant to cross compile, use \`--host'.
3658
 
See \`config.log' for more details." >&5
3659
 
$as_echo "$as_me: error: cannot run C compiled programs.
3660
 
If you meant to cross compile, use \`--host'.
3661
 
See \`config.log' for more details." >&2;}
3662
 
   { (exit 1); exit 1; }; }
3663
 
    fi
3664
 
  fi
3665
 
fi
3666
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3667
 
$as_echo "yes" >&6; }
3668
 
 
3669
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3670
 
ac_clean_files=$ac_clean_files_save
3671
 
# Check that the compiler produces executables we can run.  If not, either
3672
 
# the compiler is broken, or we cross compile.
3673
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3674
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3675
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3676
 
$as_echo "$cross_compiling" >&6; }
3677
 
 
3678
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3679
 
$as_echo_n "checking for suffix of executables... " >&6; }
3680
 
if { (ac_try="$ac_link"
3681
 
case "(($ac_try" in
3682
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3683
 
  *) ac_try_echo=$ac_try;;
3684
 
esac
3685
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3686
 
$as_echo "$ac_try_echo") >&5
3687
 
  (eval "$ac_link") 2>&5
3688
 
  ac_status=$?
3689
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690
 
  (exit $ac_status); }; then
3691
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3692
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3693
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3694
 
# `rm'.
3695
 
for ac_file in conftest.exe conftest conftest.*; do
3696
 
  test -f "$ac_file" || continue
3697
 
  case $ac_file in
3698
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3699
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3700
 
          break;;
3701
 
    * ) break;;
3702
 
  esac
3703
 
done
3704
 
else
3705
 
  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3706
 
See \`config.log' for more details." >&5
3707
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3708
 
See \`config.log' for more details." >&2;}
3709
 
   { (exit 1); exit 1; }; }
3710
 
fi
3711
 
 
3712
 
rm -f conftest$ac_cv_exeext
3713
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3714
 
$as_echo "$ac_cv_exeext" >&6; }
3715
 
 
3716
 
rm -f conftest.$ac_ext
3717
 
EXEEXT=$ac_cv_exeext
3718
 
ac_exeext=$EXEEXT
3719
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3720
 
$as_echo_n "checking for suffix of object files... " >&6; }
3721
 
if test "${ac_cv_objext+set}" = set; then
3722
 
  $as_echo_n "(cached) " >&6
3723
 
else
3724
 
  cat >conftest.$ac_ext <<_ACEOF
3725
 
/* confdefs.h.  */
3726
 
_ACEOF
3727
 
cat confdefs.h >>conftest.$ac_ext
3728
 
cat >>conftest.$ac_ext <<_ACEOF
3729
 
/* end confdefs.h.  */
3730
 
 
3731
 
int
3732
 
main ()
3733
 
{
3734
 
 
3735
 
  ;
3736
 
  return 0;
3737
 
}
3738
 
_ACEOF
3739
 
rm -f conftest.o conftest.obj
3740
 
if { (ac_try="$ac_compile"
3741
 
case "(($ac_try" in
3742
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743
 
  *) ac_try_echo=$ac_try;;
3744
 
esac
3745
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3746
 
$as_echo "$ac_try_echo") >&5
3747
 
  (eval "$ac_compile") 2>&5
3748
 
  ac_status=$?
3749
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750
 
  (exit $ac_status); }; then
3751
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3752
 
  test -f "$ac_file" || continue;
3753
 
  case $ac_file in
3754
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3755
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3756
 
       break;;
3757
 
  esac
3758
 
done
3759
 
else
3760
 
  $as_echo "$as_me: failed program was:" >&5
3761
 
sed 's/^/| /' conftest.$ac_ext >&5
3762
 
 
3763
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3764
 
See \`config.log' for more details." >&5
3765
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3766
 
See \`config.log' for more details." >&2;}
3767
 
   { (exit 1); exit 1; }; }
3768
 
fi
3769
 
 
3770
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3771
 
fi
3772
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3773
 
$as_echo "$ac_cv_objext" >&6; }
3774
 
OBJEXT=$ac_cv_objext
3775
 
ac_objext=$OBJEXT
3776
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3777
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3778
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3779
 
  $as_echo_n "(cached) " >&6
3780
 
else
3781
 
  cat >conftest.$ac_ext <<_ACEOF
3782
 
/* confdefs.h.  */
3783
 
_ACEOF
3784
 
cat confdefs.h >>conftest.$ac_ext
3785
 
cat >>conftest.$ac_ext <<_ACEOF
3786
 
/* end confdefs.h.  */
3787
 
 
3788
 
int
3789
 
main ()
3790
 
{
3791
 
#ifndef __GNUC__
3792
 
       choke me
3793
 
#endif
3794
 
 
3795
 
  ;
3796
 
  return 0;
3797
 
}
3798
 
_ACEOF
3799
 
rm -f conftest.$ac_objext
3800
 
if { (ac_try="$ac_compile"
3801
 
case "(($ac_try" in
3802
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3803
 
  *) ac_try_echo=$ac_try;;
3804
 
esac
3805
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3806
 
$as_echo "$ac_try_echo") >&5
3807
 
  (eval "$ac_compile") 2>conftest.er1
3808
 
  ac_status=$?
3809
 
  grep -v '^ *+' conftest.er1 >conftest.err
3810
 
  rm -f conftest.er1
3811
 
  cat conftest.err >&5
3812
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813
 
  (exit $ac_status); } && {
3814
 
         test -z "$ac_c_werror_flag" ||
3815
 
         test ! -s conftest.err
3816
 
       } && test -s conftest.$ac_objext; then
3817
 
  ac_compiler_gnu=yes
3818
 
else
3819
 
  $as_echo "$as_me: failed program was:" >&5
3820
 
sed 's/^/| /' conftest.$ac_ext >&5
3821
 
 
3822
 
        ac_compiler_gnu=no
3823
 
fi
3824
 
 
3825
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3827
 
 
3828
 
fi
3829
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3830
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3831
 
if test $ac_compiler_gnu = yes; then
3832
 
  GCC=yes
3833
 
else
3834
 
  GCC=
3835
 
fi
3836
 
ac_test_CFLAGS=${CFLAGS+set}
3837
 
ac_save_CFLAGS=$CFLAGS
3838
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3839
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3840
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3841
 
  $as_echo_n "(cached) " >&6
3842
 
else
3843
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3844
 
   ac_c_werror_flag=yes
3845
 
   ac_cv_prog_cc_g=no
3846
 
   CFLAGS="-g"
3847
 
   cat >conftest.$ac_ext <<_ACEOF
3848
 
/* confdefs.h.  */
3849
 
_ACEOF
3850
 
cat confdefs.h >>conftest.$ac_ext
3851
 
cat >>conftest.$ac_ext <<_ACEOF
3852
 
/* end confdefs.h.  */
3853
 
 
3854
 
int
3855
 
main ()
3856
 
{
3857
 
 
3858
 
  ;
3859
 
  return 0;
3860
 
}
3861
 
_ACEOF
3862
 
rm -f conftest.$ac_objext
3863
 
if { (ac_try="$ac_compile"
3864
 
case "(($ac_try" in
3865
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3866
 
  *) ac_try_echo=$ac_try;;
3867
 
esac
3868
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3869
 
$as_echo "$ac_try_echo") >&5
3870
 
  (eval "$ac_compile") 2>conftest.er1
3871
 
  ac_status=$?
3872
 
  grep -v '^ *+' conftest.er1 >conftest.err
3873
 
  rm -f conftest.er1
3874
 
  cat conftest.err >&5
3875
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876
 
  (exit $ac_status); } && {
3877
 
         test -z "$ac_c_werror_flag" ||
3878
 
         test ! -s conftest.err
3879
 
       } && test -s conftest.$ac_objext; then
3880
 
  ac_cv_prog_cc_g=yes
3881
 
else
3882
 
  $as_echo "$as_me: failed program was:" >&5
3883
 
sed 's/^/| /' conftest.$ac_ext >&5
3884
 
 
3885
 
        CFLAGS=""
3886
 
      cat >conftest.$ac_ext <<_ACEOF
3887
 
/* confdefs.h.  */
3888
 
_ACEOF
3889
 
cat confdefs.h >>conftest.$ac_ext
3890
 
cat >>conftest.$ac_ext <<_ACEOF
3891
 
/* end confdefs.h.  */
3892
 
 
3893
 
int
3894
 
main ()
3895
 
{
3896
 
 
3897
 
  ;
3898
 
  return 0;
3899
 
}
3900
 
_ACEOF
3901
 
rm -f conftest.$ac_objext
3902
 
if { (ac_try="$ac_compile"
3903
 
case "(($ac_try" in
3904
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3905
 
  *) ac_try_echo=$ac_try;;
3906
 
esac
3907
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3908
 
$as_echo "$ac_try_echo") >&5
3909
 
  (eval "$ac_compile") 2>conftest.er1
3910
 
  ac_status=$?
3911
 
  grep -v '^ *+' conftest.er1 >conftest.err
3912
 
  rm -f conftest.er1
3913
 
  cat conftest.err >&5
3914
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915
 
  (exit $ac_status); } && {
3916
 
         test -z "$ac_c_werror_flag" ||
3917
 
         test ! -s conftest.err
3918
 
       } && test -s conftest.$ac_objext; then
3919
 
  :
3920
 
else
3921
 
  $as_echo "$as_me: failed program was:" >&5
3922
 
sed 's/^/| /' conftest.$ac_ext >&5
3923
 
 
3924
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3925
 
         CFLAGS="-g"
3926
 
         cat >conftest.$ac_ext <<_ACEOF
3927
 
/* confdefs.h.  */
3928
 
_ACEOF
3929
 
cat confdefs.h >>conftest.$ac_ext
3930
 
cat >>conftest.$ac_ext <<_ACEOF
3931
 
/* end confdefs.h.  */
3932
 
 
3933
 
int
3934
 
main ()
3935
 
{
3936
 
 
3937
 
  ;
3938
 
  return 0;
3939
 
}
3940
 
_ACEOF
3941
 
rm -f conftest.$ac_objext
3942
 
if { (ac_try="$ac_compile"
3943
 
case "(($ac_try" in
3944
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3945
 
  *) ac_try_echo=$ac_try;;
3946
 
esac
3947
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3948
 
$as_echo "$ac_try_echo") >&5
3949
 
  (eval "$ac_compile") 2>conftest.er1
3950
 
  ac_status=$?
3951
 
  grep -v '^ *+' conftest.er1 >conftest.err
3952
 
  rm -f conftest.er1
3953
 
  cat conftest.err >&5
3954
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955
 
  (exit $ac_status); } && {
3956
 
         test -z "$ac_c_werror_flag" ||
3957
 
         test ! -s conftest.err
3958
 
       } && test -s conftest.$ac_objext; then
3959
 
  ac_cv_prog_cc_g=yes
3960
 
else
3961
 
  $as_echo "$as_me: failed program was:" >&5
3962
 
sed 's/^/| /' conftest.$ac_ext >&5
3963
 
 
3964
 
 
3965
 
fi
3966
 
 
3967
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968
 
fi
3969
 
 
3970
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971
 
fi
3972
 
 
3973
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3974
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3975
 
fi
3976
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3977
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3978
 
if test "$ac_test_CFLAGS" = set; then
3979
 
  CFLAGS=$ac_save_CFLAGS
3980
 
elif test $ac_cv_prog_cc_g = yes; then
3981
 
  if test "$GCC" = yes; then
3982
 
    CFLAGS="-g -O2"
3983
 
  else
3984
 
    CFLAGS="-g"
3985
 
  fi
3986
 
else
3987
 
  if test "$GCC" = yes; then
3988
 
    CFLAGS="-O2"
3989
 
  else
3990
 
    CFLAGS=
3991
 
  fi
3992
 
fi
3993
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3994
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3995
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3996
 
  $as_echo_n "(cached) " >&6
3997
 
else
3998
 
  ac_cv_prog_cc_c89=no
3999
 
ac_save_CC=$CC
4000
 
cat >conftest.$ac_ext <<_ACEOF
4001
 
/* confdefs.h.  */
4002
 
_ACEOF
4003
 
cat confdefs.h >>conftest.$ac_ext
4004
 
cat >>conftest.$ac_ext <<_ACEOF
4005
 
/* end confdefs.h.  */
4006
 
#include <stdarg.h>
4007
 
#include <stdio.h>
4008
 
#include <sys/types.h>
4009
 
#include <sys/stat.h>
4010
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4011
 
struct buf { int x; };
4012
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4013
 
static char *e (p, i)
4014
 
     char **p;
4015
 
     int i;
4016
 
{
4017
 
  return p[i];
4018
 
}
4019
 
static char *f (char * (*g) (char **, int), char **p, ...)
4020
 
{
4021
 
  char *s;
4022
 
  va_list v;
4023
 
  va_start (v,p);
4024
 
  s = g (p, va_arg (v,int));
4025
 
  va_end (v);
4026
 
  return s;
4027
 
}
4028
 
 
4029
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4030
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4031
 
   These don't provoke an error unfortunately, instead are silently treated
4032
 
   as 'x'.  The following induces an error, until -std is added to get
4033
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4034
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4035
 
   that's true only with -std.  */
4036
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4037
 
 
4038
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4039
 
   inside strings and character constants.  */
4040
 
#define FOO(x) 'x'
4041
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4042
 
 
4043
 
int test (int i, double x);
4044
 
struct s1 {int (*f) (int a);};
4045
 
struct s2 {int (*f) (double a);};
4046
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4047
 
int argc;
4048
 
char **argv;
4049
 
int
4050
 
main ()
4051
 
{
4052
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4053
 
  ;
4054
 
  return 0;
4055
 
}
4056
 
_ACEOF
4057
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4058
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4059
 
do
4060
 
  CC="$ac_save_CC $ac_arg"
4061
 
  rm -f conftest.$ac_objext
4062
 
if { (ac_try="$ac_compile"
4063
 
case "(($ac_try" in
4064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4065
 
  *) ac_try_echo=$ac_try;;
4066
 
esac
4067
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4068
 
$as_echo "$ac_try_echo") >&5
4069
 
  (eval "$ac_compile") 2>conftest.er1
4070
 
  ac_status=$?
4071
 
  grep -v '^ *+' conftest.er1 >conftest.err
4072
 
  rm -f conftest.er1
4073
 
  cat conftest.err >&5
4074
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075
 
  (exit $ac_status); } && {
4076
 
         test -z "$ac_c_werror_flag" ||
4077
 
         test ! -s conftest.err
4078
 
       } && test -s conftest.$ac_objext; then
4079
 
  ac_cv_prog_cc_c89=$ac_arg
4080
 
else
4081
 
  $as_echo "$as_me: failed program was:" >&5
4082
 
sed 's/^/| /' conftest.$ac_ext >&5
4083
 
 
4084
 
 
4085
 
fi
4086
 
 
4087
 
rm -f core conftest.err conftest.$ac_objext
4088
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4089
 
done
4090
 
rm -f conftest.$ac_ext
4091
 
CC=$ac_save_CC
4092
 
 
4093
 
fi
4094
 
# AC_CACHE_VAL
4095
 
case "x$ac_cv_prog_cc_c89" in
4096
 
  x)
4097
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
4098
 
$as_echo "none needed" >&6; } ;;
4099
 
  xno)
4100
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4101
 
$as_echo "unsupported" >&6; } ;;
4102
 
  *)
4103
 
    CC="$CC $ac_cv_prog_cc_c89"
4104
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4105
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4106
 
esac
4107
 
 
4108
 
 
4109
 
ac_ext=c
4110
 
ac_cpp='$CPP $CPPFLAGS'
4111
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4112
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4113
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4114
 
 
4115
 
depcc="$CC"   am_compiler_list=
4116
 
 
4117
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4118
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4119
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4120
 
  $as_echo_n "(cached) " >&6
4121
 
else
4122
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4123
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4124
 
  # making bogus files that we don't know about and never remove.  For
4125
 
  # instance it was reported that on HP-UX the gcc test will end up
4126
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4127
 
  # in D'.
4128
 
  mkdir conftest.dir
4129
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4130
 
  # using a relative directory.
4131
 
  cp "$am_depcomp" conftest.dir
4132
 
  cd conftest.dir
4133
 
  # We will build objects and dependencies in a subdirectory because
4134
 
  # it helps to detect inapplicable dependency modes.  For instance
4135
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4136
 
  # side effect of compilation, but ICC will put the dependencies in
4137
 
  # the current directory while Tru64 will put them in the object
4138
 
  # directory.
4139
 
  mkdir sub
4140
 
 
4141
 
  am_cv_CC_dependencies_compiler_type=none
4142
 
  if test "$am_compiler_list" = ""; then
4143
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4144
 
  fi
4145
 
  for depmode in $am_compiler_list; do
4146
 
    # Setup a source with many dependencies, because some compilers
4147
 
    # like to wrap large dependency lists on column 80 (with \), and
4148
 
    # we should not choose a depcomp mode which is confused by this.
4149
 
    #
4150
 
    # We need to recreate these files for each test, as the compiler may
4151
 
    # overwrite some of them when testing with obscure command lines.
4152
 
    # This happens at least with the AIX C compiler.
4153
 
    : > sub/conftest.c
4154
 
    for i in 1 2 3 4 5 6; do
4155
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4156
 
      : > sub/conftst$i.h
4157
 
    done
4158
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4159
 
 
4160
 
    case $depmode in
4161
 
    nosideeffect)
4162
 
      # after this tag, mechanisms are not by side-effect, so they'll
4163
 
      # only be used when explicitly requested
4164
 
      if test "x$enable_dependency_tracking" = xyes; then
4165
 
        continue
4166
 
      else
4167
 
        break
4168
 
      fi
4169
 
      ;;
4170
 
    none) break ;;
4171
 
    esac
4172
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4173
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4174
 
    # handle `-M -o', and we need to detect this.
4175
 
    if depmode=$depmode \
4176
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4177
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4178
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4179
 
         >/dev/null 2>conftest.err &&
4180
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4181
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4182
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4183
 
      # icc doesn't choke on unknown options, it will just issue warnings
4184
 
      # (even with -Werror).  So we grep stderr for any message
4185
 
      # that says an option was ignored.
4186
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4187
 
        am_cv_CC_dependencies_compiler_type=$depmode
4188
 
        break
4189
 
      fi
4190
 
    fi
4191
 
  done
4192
 
 
4193
 
  cd ..
4194
 
  rm -rf conftest.dir
4195
 
else
4196
 
  am_cv_CC_dependencies_compiler_type=none
4197
 
fi
4198
 
 
4199
 
fi
4200
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4201
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4202
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4203
 
 
4204
 
 
4205
 
 
4206
 
if
4207
 
  test "x$enable_dependency_tracking" != xno \
4208
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4209
 
  am__fastdepCC_TRUE=
4210
 
  am__fastdepCC_FALSE='#'
4211
 
else
4212
 
  am__fastdepCC_TRUE='#'
4213
 
  am__fastdepCC_FALSE=
4214
 
fi
4215
 
 
4216
 
 
4217
 
 
4218
 
  ac_ext=c
4219
 
ac_cpp='$CPP $CPPFLAGS'
4220
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4221
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4222
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4223
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4224
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4225
 
# On Suns, sometimes $CPP names a directory.
4226
 
if test -n "$CPP" && test -d "$CPP"; then
4227
 
  CPP=
4228
 
fi
4229
 
if test -z "$CPP"; then
4230
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4231
 
  $as_echo_n "(cached) " >&6
4232
 
else
4233
 
      # Double quotes because CPP needs to be expanded
4234
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4235
 
    do
4236
 
      ac_preproc_ok=false
4237
 
for ac_c_preproc_warn_flag in '' yes
4238
 
do
4239
 
  # Use a header file that comes with gcc, so configuring glibc
4240
 
  # with a fresh cross-compiler works.
4241
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4242
 
  # <limits.h> exists even on freestanding compilers.
4243
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4244
 
  # not just through cpp. "Syntax error" is here to catch this case.
4245
 
  cat >conftest.$ac_ext <<_ACEOF
4246
 
/* confdefs.h.  */
4247
 
_ACEOF
4248
 
cat confdefs.h >>conftest.$ac_ext
4249
 
cat >>conftest.$ac_ext <<_ACEOF
4250
 
/* end confdefs.h.  */
4251
 
#ifdef __STDC__
4252
 
# include <limits.h>
4253
 
#else
4254
 
# include <assert.h>
4255
 
#endif
4256
 
                     Syntax error
4257
 
_ACEOF
4258
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4259
 
case "(($ac_try" in
4260
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4261
 
  *) ac_try_echo=$ac_try;;
4262
 
esac
4263
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4264
 
$as_echo "$ac_try_echo") >&5
4265
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4266
 
  ac_status=$?
4267
 
  grep -v '^ *+' conftest.er1 >conftest.err
4268
 
  rm -f conftest.er1
4269
 
  cat conftest.err >&5
4270
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271
 
  (exit $ac_status); } >/dev/null && {
4272
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4273
 
         test ! -s conftest.err
4274
 
       }; then
4275
 
  :
4276
 
else
4277
 
  $as_echo "$as_me: failed program was:" >&5
4278
 
sed 's/^/| /' conftest.$ac_ext >&5
4279
 
 
4280
 
  # Broken: fails on valid input.
4281
 
continue
4282
 
fi
4283
 
 
4284
 
rm -f conftest.err conftest.$ac_ext
4285
 
 
4286
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4287
 
  # can be detected and how.
4288
 
  cat >conftest.$ac_ext <<_ACEOF
4289
 
/* confdefs.h.  */
4290
 
_ACEOF
4291
 
cat confdefs.h >>conftest.$ac_ext
4292
 
cat >>conftest.$ac_ext <<_ACEOF
4293
 
/* end confdefs.h.  */
4294
 
#include <ac_nonexistent.h>
4295
 
_ACEOF
4296
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4297
 
case "(($ac_try" in
4298
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4299
 
  *) ac_try_echo=$ac_try;;
4300
 
esac
4301
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4302
 
$as_echo "$ac_try_echo") >&5
4303
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4304
 
  ac_status=$?
4305
 
  grep -v '^ *+' conftest.er1 >conftest.err
4306
 
  rm -f conftest.er1
4307
 
  cat conftest.err >&5
4308
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309
 
  (exit $ac_status); } >/dev/null && {
4310
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4311
 
         test ! -s conftest.err
4312
 
       }; then
4313
 
  # Broken: success on invalid input.
4314
 
continue
4315
 
else
4316
 
  $as_echo "$as_me: failed program was:" >&5
4317
 
sed 's/^/| /' conftest.$ac_ext >&5
4318
 
 
4319
 
  # Passes both tests.
4320
 
ac_preproc_ok=:
4321
 
break
4322
 
fi
4323
 
 
4324
 
rm -f conftest.err conftest.$ac_ext
4325
 
 
4326
 
done
4327
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4328
 
rm -f conftest.err conftest.$ac_ext
4329
 
if $ac_preproc_ok; then
4330
 
  break
4331
 
fi
4332
 
 
4333
 
    done
4334
 
    ac_cv_prog_CPP=$CPP
4335
 
 
4336
 
fi
4337
 
  CPP=$ac_cv_prog_CPP
4338
 
else
4339
 
  ac_cv_prog_CPP=$CPP
4340
 
fi
4341
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4342
 
$as_echo "$CPP" >&6; }
4343
 
ac_preproc_ok=false
4344
 
for ac_c_preproc_warn_flag in '' yes
4345
 
do
4346
 
  # Use a header file that comes with gcc, so configuring glibc
4347
 
  # with a fresh cross-compiler works.
4348
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4349
 
  # <limits.h> exists even on freestanding compilers.
4350
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4351
 
  # not just through cpp. "Syntax error" is here to catch this case.
4352
 
  cat >conftest.$ac_ext <<_ACEOF
4353
 
/* confdefs.h.  */
4354
 
_ACEOF
4355
 
cat confdefs.h >>conftest.$ac_ext
4356
 
cat >>conftest.$ac_ext <<_ACEOF
4357
 
/* end confdefs.h.  */
4358
 
#ifdef __STDC__
4359
 
# include <limits.h>
4360
 
#else
4361
 
# include <assert.h>
4362
 
#endif
4363
 
                     Syntax error
4364
 
_ACEOF
4365
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4366
 
case "(($ac_try" in
4367
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4368
 
  *) ac_try_echo=$ac_try;;
4369
 
esac
4370
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4371
 
$as_echo "$ac_try_echo") >&5
4372
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4373
 
  ac_status=$?
4374
 
  grep -v '^ *+' conftest.er1 >conftest.err
4375
 
  rm -f conftest.er1
4376
 
  cat conftest.err >&5
4377
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378
 
  (exit $ac_status); } >/dev/null && {
4379
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4380
 
         test ! -s conftest.err
4381
 
       }; then
4382
 
  :
4383
 
else
4384
 
  $as_echo "$as_me: failed program was:" >&5
4385
 
sed 's/^/| /' conftest.$ac_ext >&5
4386
 
 
4387
 
  # Broken: fails on valid input.
4388
 
continue
4389
 
fi
4390
 
 
4391
 
rm -f conftest.err conftest.$ac_ext
4392
 
 
4393
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4394
 
  # can be detected and how.
4395
 
  cat >conftest.$ac_ext <<_ACEOF
4396
 
/* confdefs.h.  */
4397
 
_ACEOF
4398
 
cat confdefs.h >>conftest.$ac_ext
4399
 
cat >>conftest.$ac_ext <<_ACEOF
4400
 
/* end confdefs.h.  */
4401
 
#include <ac_nonexistent.h>
4402
 
_ACEOF
4403
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4404
 
case "(($ac_try" in
4405
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4406
 
  *) ac_try_echo=$ac_try;;
4407
 
esac
4408
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4409
 
$as_echo "$ac_try_echo") >&5
4410
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4411
 
  ac_status=$?
4412
 
  grep -v '^ *+' conftest.er1 >conftest.err
4413
 
  rm -f conftest.er1
4414
 
  cat conftest.err >&5
4415
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416
 
  (exit $ac_status); } >/dev/null && {
4417
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4418
 
         test ! -s conftest.err
4419
 
       }; then
4420
 
  # Broken: success on invalid input.
4421
 
continue
4422
 
else
4423
 
  $as_echo "$as_me: failed program was:" >&5
4424
 
sed 's/^/| /' conftest.$ac_ext >&5
4425
 
 
4426
 
  # Passes both tests.
4427
 
ac_preproc_ok=:
4428
 
break
4429
 
fi
4430
 
 
4431
 
rm -f conftest.err conftest.$ac_ext
4432
 
 
4433
 
done
4434
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4435
 
rm -f conftest.err conftest.$ac_ext
4436
 
if $ac_preproc_ok; then
4437
 
  :
4438
 
else
4439
 
  { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4440
 
See \`config.log' for more details." >&5
4441
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4442
 
See \`config.log' for more details." >&2;}
4443
 
   { (exit 1); exit 1; }; }
4444
 
fi
4445
 
 
4446
 
ac_ext=c
4447
 
ac_cpp='$CPP $CPPFLAGS'
4448
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4449
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4450
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4451
 
 
4452
 
 
4453
 
  if test "$GCC" = "yes"; then
4454
 
    if test "$kde_use_debug_code" != "no"; then
4455
 
      if test $kde_use_debug_code = "full"; then
4456
 
        CFLAGS="-g3 -fno-inline $CFLAGS"
4457
 
      else
4458
 
        CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
4459
 
      fi
4460
 
    else
4461
 
      CFLAGS="-O2 $CFLAGS"
4462
 
    fi
4463
 
  fi
4464
 
 
4465
 
  if test "$kde_use_debug_define" = "yes"; then
4466
 
    CFLAGS="-DNDEBUG $CFLAGS"
4467
 
  fi
4468
 
 
4469
 
 
4470
 
  case "$host" in
4471
 
  *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
4472
 
  *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
4473
 
  esac
4474
 
 
4475
 
  if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
4476
 
     LDFLAGS=""
4477
 
  fi
4478
 
 
4479
 
  CXXFLAGS=" $CXXFLAGS"
4480
 
 
4481
 
  ac_ext=cpp
4482
 
ac_cpp='$CXXCPP $CPPFLAGS'
4483
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4484
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4485
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4486
 
if test -z "$CXX"; then
4487
 
  if test -n "$CCC"; then
4488
 
    CXX=$CCC
4489
 
  else
4490
 
    if test -n "$ac_tool_prefix"; then
4491
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4492
 
  do
4493
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4494
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4495
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4496
 
$as_echo_n "checking for $ac_word... " >&6; }
4497
 
if test "${ac_cv_prog_CXX+set}" = set; then
4498
 
  $as_echo_n "(cached) " >&6
4499
 
else
4500
 
  if test -n "$CXX"; then
4501
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4502
 
else
4503
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504
 
for as_dir in $PATH
4505
 
do
4506
 
  IFS=$as_save_IFS
4507
 
  test -z "$as_dir" && as_dir=.
4508
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4509
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4511
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4512
 
    break 2
4513
 
  fi
4514
 
done
4515
 
done
4516
 
IFS=$as_save_IFS
4517
 
 
4518
 
fi
4519
 
fi
4520
 
CXX=$ac_cv_prog_CXX
4521
 
if test -n "$CXX"; then
4522
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
4523
 
$as_echo "$CXX" >&6; }
4524
 
else
4525
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
4526
 
$as_echo "no" >&6; }
4527
 
fi
4528
 
 
4529
 
 
4530
 
    test -n "$CXX" && break
4531
 
  done
4532
 
fi
4533
 
if test -z "$CXX"; then
4534
 
  ac_ct_CXX=$CXX
4535
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4536
 
do
4537
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4538
 
set dummy $ac_prog; ac_word=$2
4539
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4540
 
$as_echo_n "checking for $ac_word... " >&6; }
4541
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4542
 
  $as_echo_n "(cached) " >&6
4543
 
else
4544
 
  if test -n "$ac_ct_CXX"; then
4545
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4546
 
else
4547
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548
 
for as_dir in $PATH
4549
 
do
4550
 
  IFS=$as_save_IFS
4551
 
  test -z "$as_dir" && as_dir=.
4552
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4553
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4554
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4555
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4556
 
    break 2
4557
 
  fi
4558
 
done
4559
 
done
4560
 
IFS=$as_save_IFS
4561
 
 
4562
 
fi
4563
 
fi
4564
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4565
 
if test -n "$ac_ct_CXX"; then
4566
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4567
 
$as_echo "$ac_ct_CXX" >&6; }
4568
 
else
4569
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
4570
 
$as_echo "no" >&6; }
4571
 
fi
4572
 
 
4573
 
 
4574
 
  test -n "$ac_ct_CXX" && break
4575
 
done
4576
 
 
4577
 
  if test "x$ac_ct_CXX" = x; then
4578
 
    CXX="g++"
4579
 
  else
4580
 
    case $cross_compiling:$ac_tool_warned in
4581
 
yes:)
4582
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4583
 
whose name does not start with the host triplet.  If you think this
4584
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4585
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4586
 
whose name does not start with the host triplet.  If you think this
4587
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4588
 
ac_tool_warned=yes ;;
4589
 
esac
4590
 
    CXX=$ac_ct_CXX
4591
 
  fi
4592
 
fi
4593
 
 
4594
 
  fi
4595
 
fi
4596
 
# Provide some information about the compiler.
4597
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4598
 
set X $ac_compile
4599
 
ac_compiler=$2
4600
 
{ (ac_try="$ac_compiler --version >&5"
4601
 
case "(($ac_try" in
4602
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4603
 
  *) ac_try_echo=$ac_try;;
4604
 
esac
4605
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4606
 
$as_echo "$ac_try_echo") >&5
4607
 
  (eval "$ac_compiler --version >&5") 2>&5
4608
 
  ac_status=$?
4609
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610
 
  (exit $ac_status); }
4611
 
{ (ac_try="$ac_compiler -v >&5"
4612
 
case "(($ac_try" in
4613
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4614
 
  *) ac_try_echo=$ac_try;;
4615
 
esac
4616
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4617
 
$as_echo "$ac_try_echo") >&5
4618
 
  (eval "$ac_compiler -v >&5") 2>&5
4619
 
  ac_status=$?
4620
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621
 
  (exit $ac_status); }
4622
 
{ (ac_try="$ac_compiler -V >&5"
4623
 
case "(($ac_try" in
4624
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4625
 
  *) ac_try_echo=$ac_try;;
4626
 
esac
4627
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4628
 
$as_echo "$ac_try_echo") >&5
4629
 
  (eval "$ac_compiler -V >&5") 2>&5
4630
 
  ac_status=$?
4631
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632
 
  (exit $ac_status); }
4633
 
 
4634
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4635
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4636
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4637
 
  $as_echo_n "(cached) " >&6
4638
 
else
4639
 
  cat >conftest.$ac_ext <<_ACEOF
4640
 
/* confdefs.h.  */
4641
 
_ACEOF
4642
 
cat confdefs.h >>conftest.$ac_ext
4643
 
cat >>conftest.$ac_ext <<_ACEOF
4644
 
/* end confdefs.h.  */
4645
 
 
4646
 
int
4647
 
main ()
4648
 
{
4649
 
#ifndef __GNUC__
4650
 
       choke me
4651
 
#endif
4652
 
 
4653
 
  ;
4654
 
  return 0;
4655
 
}
4656
 
_ACEOF
4657
 
rm -f conftest.$ac_objext
4658
 
if { (ac_try="$ac_compile"
4659
 
case "(($ac_try" in
4660
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661
 
  *) ac_try_echo=$ac_try;;
4662
 
esac
4663
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4664
 
$as_echo "$ac_try_echo") >&5
4665
 
  (eval "$ac_compile") 2>conftest.er1
4666
 
  ac_status=$?
4667
 
  grep -v '^ *+' conftest.er1 >conftest.err
4668
 
  rm -f conftest.er1
4669
 
  cat conftest.err >&5
4670
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671
 
  (exit $ac_status); } && {
4672
 
         test -z "$ac_cxx_werror_flag" ||
4673
 
         test ! -s conftest.err
4674
 
       } && test -s conftest.$ac_objext; then
4675
 
  ac_compiler_gnu=yes
4676
 
else
4677
 
  $as_echo "$as_me: failed program was:" >&5
4678
 
sed 's/^/| /' conftest.$ac_ext >&5
4679
 
 
4680
 
        ac_compiler_gnu=no
4681
 
fi
4682
 
 
4683
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4684
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4685
 
 
4686
 
fi
4687
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4688
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4689
 
if test $ac_compiler_gnu = yes; then
4690
 
  GXX=yes
4691
 
else
4692
 
  GXX=
4693
 
fi
4694
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
4695
 
ac_save_CXXFLAGS=$CXXFLAGS
4696
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4697
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4698
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
4699
 
  $as_echo_n "(cached) " >&6
4700
 
else
4701
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4702
 
   ac_cxx_werror_flag=yes
4703
 
   ac_cv_prog_cxx_g=no
4704
 
   CXXFLAGS="-g"
4705
 
   cat >conftest.$ac_ext <<_ACEOF
4706
 
/* confdefs.h.  */
4707
 
_ACEOF
4708
 
cat confdefs.h >>conftest.$ac_ext
4709
 
cat >>conftest.$ac_ext <<_ACEOF
4710
 
/* end confdefs.h.  */
4711
 
 
4712
 
int
4713
 
main ()
4714
 
{
4715
 
 
4716
 
  ;
4717
 
  return 0;
4718
 
}
4719
 
_ACEOF
4720
 
rm -f conftest.$ac_objext
4721
 
if { (ac_try="$ac_compile"
4722
 
case "(($ac_try" in
4723
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4724
 
  *) ac_try_echo=$ac_try;;
4725
 
esac
4726
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4727
 
$as_echo "$ac_try_echo") >&5
4728
 
  (eval "$ac_compile") 2>conftest.er1
4729
 
  ac_status=$?
4730
 
  grep -v '^ *+' conftest.er1 >conftest.err
4731
 
  rm -f conftest.er1
4732
 
  cat conftest.err >&5
4733
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734
 
  (exit $ac_status); } && {
4735
 
         test -z "$ac_cxx_werror_flag" ||
4736
 
         test ! -s conftest.err
4737
 
       } && test -s conftest.$ac_objext; then
4738
 
  ac_cv_prog_cxx_g=yes
4739
 
else
4740
 
  $as_echo "$as_me: failed program was:" >&5
4741
 
sed 's/^/| /' conftest.$ac_ext >&5
4742
 
 
4743
 
        CXXFLAGS=""
4744
 
      cat >conftest.$ac_ext <<_ACEOF
4745
 
/* confdefs.h.  */
4746
 
_ACEOF
4747
 
cat confdefs.h >>conftest.$ac_ext
4748
 
cat >>conftest.$ac_ext <<_ACEOF
4749
 
/* end confdefs.h.  */
4750
 
 
4751
 
int
4752
 
main ()
4753
 
{
4754
 
 
4755
 
  ;
4756
 
  return 0;
4757
 
}
4758
 
_ACEOF
4759
 
rm -f conftest.$ac_objext
4760
 
if { (ac_try="$ac_compile"
4761
 
case "(($ac_try" in
4762
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4763
 
  *) ac_try_echo=$ac_try;;
4764
 
esac
4765
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4766
 
$as_echo "$ac_try_echo") >&5
4767
 
  (eval "$ac_compile") 2>conftest.er1
4768
 
  ac_status=$?
4769
 
  grep -v '^ *+' conftest.er1 >conftest.err
4770
 
  rm -f conftest.er1
4771
 
  cat conftest.err >&5
4772
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773
 
  (exit $ac_status); } && {
4774
 
         test -z "$ac_cxx_werror_flag" ||
4775
 
         test ! -s conftest.err
4776
 
       } && test -s conftest.$ac_objext; then
4777
 
  :
4778
 
else
4779
 
  $as_echo "$as_me: failed program was:" >&5
4780
 
sed 's/^/| /' conftest.$ac_ext >&5
4781
 
 
4782
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4783
 
         CXXFLAGS="-g"
4784
 
         cat >conftest.$ac_ext <<_ACEOF
4785
 
/* confdefs.h.  */
4786
 
_ACEOF
4787
 
cat confdefs.h >>conftest.$ac_ext
4788
 
cat >>conftest.$ac_ext <<_ACEOF
4789
 
/* end confdefs.h.  */
4790
 
 
4791
 
int
4792
 
main ()
4793
 
{
4794
 
 
4795
 
  ;
4796
 
  return 0;
4797
 
}
4798
 
_ACEOF
4799
 
rm -f conftest.$ac_objext
4800
 
if { (ac_try="$ac_compile"
4801
 
case "(($ac_try" in
4802
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4803
 
  *) ac_try_echo=$ac_try;;
4804
 
esac
4805
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4806
 
$as_echo "$ac_try_echo") >&5
4807
 
  (eval "$ac_compile") 2>conftest.er1
4808
 
  ac_status=$?
4809
 
  grep -v '^ *+' conftest.er1 >conftest.err
4810
 
  rm -f conftest.er1
4811
 
  cat conftest.err >&5
4812
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813
 
  (exit $ac_status); } && {
4814
 
         test -z "$ac_cxx_werror_flag" ||
4815
 
         test ! -s conftest.err
4816
 
       } && test -s conftest.$ac_objext; then
4817
 
  ac_cv_prog_cxx_g=yes
4818
 
else
4819
 
  $as_echo "$as_me: failed program was:" >&5
4820
 
sed 's/^/| /' conftest.$ac_ext >&5
4821
 
 
4822
 
 
4823
 
fi
4824
 
 
4825
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826
 
fi
4827
 
 
4828
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4829
 
fi
4830
 
 
4831
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4832
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4833
 
fi
4834
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4835
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4836
 
if test "$ac_test_CXXFLAGS" = set; then
4837
 
  CXXFLAGS=$ac_save_CXXFLAGS
4838
 
elif test $ac_cv_prog_cxx_g = yes; then
4839
 
  if test "$GXX" = yes; then
4840
 
    CXXFLAGS="-g -O2"
4841
 
  else
4842
 
    CXXFLAGS="-g"
4843
 
  fi
4844
 
else
4845
 
  if test "$GXX" = yes; then
4846
 
    CXXFLAGS="-O2"
4847
 
  else
4848
 
    CXXFLAGS=
4849
 
  fi
4850
 
fi
4851
 
ac_ext=c
4852
 
ac_cpp='$CPP $CPPFLAGS'
4853
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4854
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4855
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4856
 
 
4857
 
depcc="$CXX"  am_compiler_list=
4858
 
 
4859
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4860
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4861
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4862
 
  $as_echo_n "(cached) " >&6
4863
 
else
4864
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4865
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4866
 
  # making bogus files that we don't know about and never remove.  For
4867
 
  # instance it was reported that on HP-UX the gcc test will end up
4868
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4869
 
  # in D'.
4870
 
  mkdir conftest.dir
4871
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4872
 
  # using a relative directory.
4873
 
  cp "$am_depcomp" conftest.dir
4874
 
  cd conftest.dir
4875
 
  # We will build objects and dependencies in a subdirectory because
4876
 
  # it helps to detect inapplicable dependency modes.  For instance
4877
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4878
 
  # side effect of compilation, but ICC will put the dependencies in
4879
 
  # the current directory while Tru64 will put them in the object
4880
 
  # directory.
4881
 
  mkdir sub
4882
 
 
4883
 
  am_cv_CXX_dependencies_compiler_type=none
4884
 
  if test "$am_compiler_list" = ""; then
4885
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4886
 
  fi
4887
 
  for depmode in $am_compiler_list; do
4888
 
    # Setup a source with many dependencies, because some compilers
4889
 
    # like to wrap large dependency lists on column 80 (with \), and
4890
 
    # we should not choose a depcomp mode which is confused by this.
4891
 
    #
4892
 
    # We need to recreate these files for each test, as the compiler may
4893
 
    # overwrite some of them when testing with obscure command lines.
4894
 
    # This happens at least with the AIX C compiler.
4895
 
    : > sub/conftest.c
4896
 
    for i in 1 2 3 4 5 6; do
4897
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4898
 
      : > sub/conftst$i.h
4899
 
    done
4900
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4901
 
 
4902
 
    case $depmode in
4903
 
    nosideeffect)
4904
 
      # after this tag, mechanisms are not by side-effect, so they'll
4905
 
      # only be used when explicitly requested
4906
 
      if test "x$enable_dependency_tracking" = xyes; then
4907
 
        continue
4908
 
      else
4909
 
        break
4910
 
      fi
4911
 
      ;;
4912
 
    none) break ;;
4913
 
    esac
4914
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4915
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4916
 
    # handle `-M -o', and we need to detect this.
4917
 
    if depmode=$depmode \
4918
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4919
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4920
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4921
 
         >/dev/null 2>conftest.err &&
4922
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4923
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4924
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4925
 
      # icc doesn't choke on unknown options, it will just issue warnings
4926
 
      # (even with -Werror).  So we grep stderr for any message
4927
 
      # that says an option was ignored.
4928
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4929
 
        am_cv_CXX_dependencies_compiler_type=$depmode
4930
 
        break
4931
 
      fi
4932
 
    fi
4933
 
  done
4934
 
 
4935
 
  cd ..
4936
 
  rm -rf conftest.dir
4937
 
else
4938
 
  am_cv_CXX_dependencies_compiler_type=none
4939
 
fi
4940
 
 
4941
 
fi
4942
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4943
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4944
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4945
 
 
4946
 
 
4947
 
 
4948
 
if
4949
 
  test "x$enable_dependency_tracking" != xno \
4950
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4951
 
  am__fastdepCXX_TRUE=
4952
 
  am__fastdepCXX_FALSE='#'
4953
 
else
4954
 
  am__fastdepCXX_TRUE='#'
4955
 
  am__fastdepCXX_FALSE=
4956
 
fi
4957
 
 
4958
 
 
4959
 
 
4960
 
 
4961
 
  { $as_echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
4962
 
$as_echo_n "checking whether $CC is blacklisted... " >&6; }
4963
 
 
4964
 
 
4965
 
  cat >conftest.$ac_ext <<_ACEOF
4966
 
/* confdefs.h.  */
4967
 
_ACEOF
4968
 
cat confdefs.h >>conftest.$ac_ext
4969
 
cat >>conftest.$ac_ext <<_ACEOF
4970
 
/* end confdefs.h.  */
4971
 
 
4972
 
#ifdef __GNUC__
4973
 
#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
4974
 
choke me
4975
 
#endif
4976
 
#endif
4977
 
 
4978
 
int
4979
 
main ()
4980
 
{
4981
 
 
4982
 
  ;
4983
 
  return 0;
4984
 
}
4985
 
_ACEOF
4986
 
rm -f conftest.$ac_objext
4987
 
if { (ac_try="$ac_compile"
4988
 
case "(($ac_try" in
4989
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4990
 
  *) ac_try_echo=$ac_try;;
4991
 
esac
4992
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4993
 
$as_echo "$ac_try_echo") >&5
4994
 
  (eval "$ac_compile") 2>conftest.er1
4995
 
  ac_status=$?
4996
 
  grep -v '^ *+' conftest.er1 >conftest.err
4997
 
  rm -f conftest.er1
4998
 
  cat conftest.err >&5
4999
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000
 
  (exit $ac_status); } && {
5001
 
         test -z "$ac_c_werror_flag" ||
5002
 
         test ! -s conftest.err
5003
 
       } && test -s conftest.$ac_objext; then
5004
 
  kde_bad_compiler=no
5005
 
else
5006
 
  $as_echo "$as_me: failed program was:" >&5
5007
 
sed 's/^/| /' conftest.$ac_ext >&5
5008
 
 
5009
 
        kde_bad_compiler=yes
5010
 
 
5011
 
fi
5012
 
 
5013
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5014
 
 
5015
 
  { $as_echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
5016
 
$as_echo "$kde_bad_compiler" >&6; }
5017
 
 
5018
 
if test "$kde_bad_compiler" = "yes"; then
5019
 
  { { $as_echo "$as_me:$LINENO: error:
5020
 
 
5021
 
This particular compiler version is blacklisted because it
5022
 
is known to miscompile KDE. Please use a newer version, or
5023
 
if that is not yet available, choose an older version.
5024
 
 
5025
 
Please do not report a bug or bother us reporting this
5026
 
configure error. We know about it, and we introduced
5027
 
it by intention to avoid untraceable bugs or crashes in KDE.
5028
 
 
5029
 
" >&5
5030
 
$as_echo "$as_me: error:
5031
 
 
5032
 
This particular compiler version is blacklisted because it
5033
 
is known to miscompile KDE. Please use a newer version, or
5034
 
if that is not yet available, choose an older version.
5035
 
 
5036
 
Please do not report a bug or bother us reporting this
5037
 
configure error. We know about it, and we introduced
5038
 
it by intention to avoid untraceable bugs or crashes in KDE.
5039
 
 
5040
 
" >&2;}
5041
 
   { (exit 1); exit 1; }; }
5042
 
fi
5043
 
 
5044
 
 
5045
 
 
5046
 
  if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
5047
 
    if test "$kde_use_debug_code" != "no"; then
5048
 
      if test "$CXX" = "KCC"; then
5049
 
        CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
5050
 
      else
5051
 
        if test "$kde_use_debug_code" = "full"; then
5052
 
          CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
5053
 
        else
5054
 
          CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
5055
 
        fi
5056
 
      fi
5057
 
 
5058
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
5059
 
$as_echo_n "checking whether $CXX supports -fno-builtin... " >&6; }
5060
 
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
5061
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5062
 
  $as_echo_n "(cached) " >&6
5063
 
else
5064
 
 
5065
 
 
5066
 
 
5067
 
ac_ext=cpp
5068
 
ac_cpp='$CXXCPP $CPPFLAGS'
5069
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5072
 
 
5073
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5074
 
 
5075
 
 
5076
 
 
5077
 
  save_CXXFLAGS="$CXXFLAGS"
5078
 
  CXXFLAGS="$CXXFLAGS -fno-builtin"
5079
 
  cat >conftest.$ac_ext <<_ACEOF
5080
 
/* confdefs.h.  */
5081
 
_ACEOF
5082
 
cat confdefs.h >>conftest.$ac_ext
5083
 
cat >>conftest.$ac_ext <<_ACEOF
5084
 
/* end confdefs.h.  */
5085
 
 
5086
 
int
5087
 
main ()
5088
 
{
5089
 
 return 0;
5090
 
  ;
5091
 
  return 0;
5092
 
}
5093
 
_ACEOF
5094
 
rm -f conftest.$ac_objext conftest$ac_exeext
5095
 
if { (ac_try="$ac_link"
5096
 
case "(($ac_try" in
5097
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098
 
  *) ac_try_echo=$ac_try;;
5099
 
esac
5100
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5101
 
$as_echo "$ac_try_echo") >&5
5102
 
  (eval "$ac_link") 2>conftest.er1
5103
 
  ac_status=$?
5104
 
  grep -v '^ *+' conftest.er1 >conftest.err
5105
 
  rm -f conftest.er1
5106
 
  cat conftest.err >&5
5107
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108
 
  (exit $ac_status); } && {
5109
 
         test -z "$ac_cxx_werror_flag" ||
5110
 
         test ! -s conftest.err
5111
 
       } && test -s conftest$ac_exeext && {
5112
 
         test "$cross_compiling" = yes ||
5113
 
         $as_test_x conftest$ac_exeext
5114
 
       }; then
5115
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5116
 
else
5117
 
  $as_echo "$as_me: failed program was:" >&5
5118
 
sed 's/^/| /' conftest.$ac_ext >&5
5119
 
 
5120
 
 
5121
 
fi
5122
 
 
5123
 
rm -rf conftest.dSYM
5124
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5125
 
      conftest$ac_exeext conftest.$ac_ext
5126
 
  CXXFLAGS="$save_CXXFLAGS"
5127
 
  ac_ext=c
5128
 
ac_cpp='$CPP $CPPFLAGS'
5129
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5132
 
 
5133
 
 
5134
 
fi
5135
 
 
5136
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5137
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
5138
 
$as_echo "yes" >&6; }
5139
 
 :
5140
 
 CXXFLAGS="-fno-builtin $CXXFLAGS"
5141
 
else
5142
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
5143
 
$as_echo "no" >&6; }
5144
 
 :
5145
 
 
5146
 
fi
5147
 
 
5148
 
 
5149
 
 
5150
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
5151
 
$as_echo_n "checking whether $CXX supports -Woverloaded-virtual... " >&6; }
5152
 
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
5153
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5154
 
  $as_echo_n "(cached) " >&6
5155
 
else
5156
 
 
5157
 
 
5158
 
   ac_ext=cpp
5159
 
ac_cpp='$CXXCPP $CPPFLAGS'
5160
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5161
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5162
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5163
 
 
5164
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5165
 
 
5166
 
 
5167
 
  save_CXXFLAGS="$CXXFLAGS"
5168
 
  CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
5169
 
  cat >conftest.$ac_ext <<_ACEOF
5170
 
/* confdefs.h.  */
5171
 
_ACEOF
5172
 
cat confdefs.h >>conftest.$ac_ext
5173
 
cat >>conftest.$ac_ext <<_ACEOF
5174
 
/* end confdefs.h.  */
5175
 
 
5176
 
int
5177
 
main ()
5178
 
{
5179
 
 return 0;
5180
 
  ;
5181
 
  return 0;
5182
 
}
5183
 
_ACEOF
5184
 
rm -f conftest.$ac_objext conftest$ac_exeext
5185
 
if { (ac_try="$ac_link"
5186
 
case "(($ac_try" in
5187
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5188
 
  *) ac_try_echo=$ac_try;;
5189
 
esac
5190
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5191
 
$as_echo "$ac_try_echo") >&5
5192
 
  (eval "$ac_link") 2>conftest.er1
5193
 
  ac_status=$?
5194
 
  grep -v '^ *+' conftest.er1 >conftest.err
5195
 
  rm -f conftest.er1
5196
 
  cat conftest.err >&5
5197
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198
 
  (exit $ac_status); } && {
5199
 
         test -z "$ac_cxx_werror_flag" ||
5200
 
         test ! -s conftest.err
5201
 
       } && test -s conftest$ac_exeext && {
5202
 
         test "$cross_compiling" = yes ||
5203
 
         $as_test_x conftest$ac_exeext
5204
 
       }; then
5205
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5206
 
else
5207
 
  $as_echo "$as_me: failed program was:" >&5
5208
 
sed 's/^/| /' conftest.$ac_ext >&5
5209
 
 
5210
 
 
5211
 
fi
5212
 
 
5213
 
rm -rf conftest.dSYM
5214
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5215
 
      conftest$ac_exeext conftest.$ac_ext
5216
 
  CXXFLAGS="$save_CXXFLAGS"
5217
 
  ac_ext=c
5218
 
ac_cpp='$CPP $CPPFLAGS'
5219
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5220
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5221
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5222
 
 
5223
 
 
5224
 
fi
5225
 
 
5226
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5227
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
5228
 
$as_echo "yes" >&6; }
5229
 
 :
5230
 
 WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
5231
 
else
5232
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
5233
 
$as_echo "no" >&6; }
5234
 
 :
5235
 
 WOVERLOADED_VRITUAL=""
5236
 
fi
5237
 
 
5238
 
 
5239
 
    else
5240
 
      if test "$CXX" = "KCC"; then
5241
 
        CXXFLAGS="+K3 $CXXFLAGS"
5242
 
      else
5243
 
        CXXFLAGS="-O2 $CXXFLAGS"
5244
 
      fi
5245
 
    fi
5246
 
  fi
5247
 
 
5248
 
  if test "$kde_use_debug_define" = "yes"; then
5249
 
    CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
5250
 
  fi
5251
 
 
5252
 
  if test "$kde_use_profiling" = "yes"; then
5253
 
 
5254
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
5255
 
$as_echo_n "checking whether $CXX supports -pg... " >&6; }
5256
 
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
5257
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5258
 
  $as_echo_n "(cached) " >&6
5259
 
else
5260
 
 
5261
 
 
5262
 
   ac_ext=cpp
5263
 
ac_cpp='$CXXCPP $CPPFLAGS'
5264
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5265
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5266
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5267
 
 
5268
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5269
 
 
5270
 
 
5271
 
  save_CXXFLAGS="$CXXFLAGS"
5272
 
  CXXFLAGS="$CXXFLAGS -pg"
5273
 
  cat >conftest.$ac_ext <<_ACEOF
5274
 
/* confdefs.h.  */
5275
 
_ACEOF
5276
 
cat confdefs.h >>conftest.$ac_ext
5277
 
cat >>conftest.$ac_ext <<_ACEOF
5278
 
/* end confdefs.h.  */
5279
 
 
5280
 
int
5281
 
main ()
5282
 
{
5283
 
 return 0;
5284
 
  ;
5285
 
  return 0;
5286
 
}
5287
 
_ACEOF
5288
 
rm -f conftest.$ac_objext conftest$ac_exeext
5289
 
if { (ac_try="$ac_link"
5290
 
case "(($ac_try" in
5291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5292
 
  *) ac_try_echo=$ac_try;;
5293
 
esac
5294
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5295
 
$as_echo "$ac_try_echo") >&5
5296
 
  (eval "$ac_link") 2>conftest.er1
5297
 
  ac_status=$?
5298
 
  grep -v '^ *+' conftest.er1 >conftest.err
5299
 
  rm -f conftest.er1
5300
 
  cat conftest.err >&5
5301
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302
 
  (exit $ac_status); } && {
5303
 
         test -z "$ac_cxx_werror_flag" ||
5304
 
         test ! -s conftest.err
5305
 
       } && test -s conftest$ac_exeext && {
5306
 
         test "$cross_compiling" = yes ||
5307
 
         $as_test_x conftest$ac_exeext
5308
 
       }; then
5309
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5310
 
else
5311
 
  $as_echo "$as_me: failed program was:" >&5
5312
 
sed 's/^/| /' conftest.$ac_ext >&5
5313
 
 
5314
 
 
5315
 
fi
5316
 
 
5317
 
rm -rf conftest.dSYM
5318
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5319
 
      conftest$ac_exeext conftest.$ac_ext
5320
 
  CXXFLAGS="$save_CXXFLAGS"
5321
 
  ac_ext=c
5322
 
ac_cpp='$CPP $CPPFLAGS'
5323
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5324
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5325
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5326
 
 
5327
 
 
5328
 
fi
5329
 
 
5330
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5331
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
5332
 
$as_echo "yes" >&6; }
5333
 
 :
5334
 
 
5335
 
      CFLAGS="-pg $CFLAGS"
5336
 
      CXXFLAGS="-pg $CXXFLAGS"
5337
 
 
5338
 
else
5339
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
5340
 
$as_echo "no" >&6; }
5341
 
 :
5342
 
 
5343
 
fi
5344
 
 
5345
 
  fi
5346
 
 
5347
 
  if test "$kde_use_warnings" = "yes"; then
5348
 
      if test "$GCC" = "yes"; then
5349
 
        CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
5350
 
        case $host in
5351
 
          *-*-linux-gnu)
5352
 
            CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
5353
 
            CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS"
5354
 
 
5355
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
5356
 
$as_echo_n "checking whether $CXX supports -Wmissing-format-attribute... " >&6; }
5357
 
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5358
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5359
 
  $as_echo_n "(cached) " >&6
5360
 
else
5361
 
 
5362
 
 
5363
 
   ac_ext=cpp
5364
 
ac_cpp='$CXXCPP $CPPFLAGS'
5365
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5366
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5367
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5368
 
 
5369
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5370
 
 
5371
 
 
5372
 
  save_CXXFLAGS="$CXXFLAGS"
5373
 
  CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
5374
 
  cat >conftest.$ac_ext <<_ACEOF
5375
 
/* confdefs.h.  */
5376
 
_ACEOF
5377
 
cat confdefs.h >>conftest.$ac_ext
5378
 
cat >>conftest.$ac_ext <<_ACEOF
5379
 
/* end confdefs.h.  */
5380
 
 
5381
 
int
5382
 
main ()
5383
 
{
5384
 
 return 0;
5385
 
  ;
5386
 
  return 0;
5387
 
}
5388
 
_ACEOF
5389
 
rm -f conftest.$ac_objext conftest$ac_exeext
5390
 
if { (ac_try="$ac_link"
5391
 
case "(($ac_try" in
5392
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5393
 
  *) ac_try_echo=$ac_try;;
5394
 
esac
5395
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5396
 
$as_echo "$ac_try_echo") >&5
5397
 
  (eval "$ac_link") 2>conftest.er1
5398
 
  ac_status=$?
5399
 
  grep -v '^ *+' conftest.er1 >conftest.err
5400
 
  rm -f conftest.er1
5401
 
  cat conftest.err >&5
5402
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403
 
  (exit $ac_status); } && {
5404
 
         test -z "$ac_cxx_werror_flag" ||
5405
 
         test ! -s conftest.err
5406
 
       } && test -s conftest$ac_exeext && {
5407
 
         test "$cross_compiling" = yes ||
5408
 
         $as_test_x conftest$ac_exeext
5409
 
       }; then
5410
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5411
 
else
5412
 
  $as_echo "$as_me: failed program was:" >&5
5413
 
sed 's/^/| /' conftest.$ac_ext >&5
5414
 
 
5415
 
 
5416
 
fi
5417
 
 
5418
 
rm -rf conftest.dSYM
5419
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5420
 
      conftest$ac_exeext conftest.$ac_ext
5421
 
  CXXFLAGS="$save_CXXFLAGS"
5422
 
  ac_ext=c
5423
 
ac_cpp='$CPP $CPPFLAGS'
5424
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5425
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5426
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5427
 
 
5428
 
 
5429
 
fi
5430
 
 
5431
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5432
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
5433
 
$as_echo "yes" >&6; }
5434
 
 :
5435
 
 CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
5436
 
else
5437
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
5438
 
$as_echo "no" >&6; }
5439
 
 :
5440
 
 
5441
 
fi
5442
 
 
5443
 
 
5444
 
{ $as_echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
5445
 
$as_echo_n "checking whether $CC supports -Wmissing-format-attribute... " >&6; }
5446
 
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5447
 
if { as_var=kde_cv_prog_cc_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5448
 
  $as_echo_n "(cached) " >&6
5449
 
else
5450
 
 
5451
 
 
5452
 
  ac_ext=c
5453
 
ac_cpp='$CPP $CPPFLAGS'
5454
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5455
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5456
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5457
 
 
5458
 
  save_CFLAGS="$CFLAGS"
5459
 
  CFLAGS="$CFLAGS -Wmissing-format-attribute"
5460
 
  cat >conftest.$ac_ext <<_ACEOF
5461
 
/* confdefs.h.  */
5462
 
_ACEOF
5463
 
cat confdefs.h >>conftest.$ac_ext
5464
 
cat >>conftest.$ac_ext <<_ACEOF
5465
 
/* end confdefs.h.  */
5466
 
 
5467
 
int
5468
 
main ()
5469
 
{
5470
 
 return 0;
5471
 
  ;
5472
 
  return 0;
5473
 
}
5474
 
_ACEOF
5475
 
rm -f conftest.$ac_objext conftest$ac_exeext
5476
 
if { (ac_try="$ac_link"
5477
 
case "(($ac_try" in
5478
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5479
 
  *) ac_try_echo=$ac_try;;
5480
 
esac
5481
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5482
 
$as_echo "$ac_try_echo") >&5
5483
 
  (eval "$ac_link") 2>conftest.er1
5484
 
  ac_status=$?
5485
 
  grep -v '^ *+' conftest.er1 >conftest.err
5486
 
  rm -f conftest.er1
5487
 
  cat conftest.err >&5
5488
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489
 
  (exit $ac_status); } && {
5490
 
         test -z "$ac_c_werror_flag" ||
5491
 
         test ! -s conftest.err
5492
 
       } && test -s conftest$ac_exeext && {
5493
 
         test "$cross_compiling" = yes ||
5494
 
         $as_test_x conftest$ac_exeext
5495
 
       }; then
5496
 
  eval "kde_cv_prog_cc_$kde_cache=yes"
5497
 
else
5498
 
  $as_echo "$as_me: failed program was:" >&5
5499
 
sed 's/^/| /' conftest.$ac_ext >&5
5500
 
 
5501
 
 
5502
 
fi
5503
 
 
5504
 
rm -rf conftest.dSYM
5505
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5506
 
      conftest$ac_exeext conftest.$ac_ext
5507
 
  CFLAGS="$save_CFLAGS"
5508
 
  ac_ext=c
5509
 
ac_cpp='$CPP $CPPFLAGS'
5510
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5511
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5512
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5513
 
 
5514
 
 
5515
 
fi
5516
 
 
5517
 
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
5518
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
5519
 
$as_echo "yes" >&6; }
5520
 
 :
5521
 
 CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
5522
 
else
5523
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
5524
 
$as_echo "no" >&6; }
5525
 
 :
5526
 
 
5527
 
fi
5528
 
 
5529
 
          ;;
5530
 
        esac
5531
 
 
5532
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
5533
 
$as_echo_n "checking whether $CXX supports -Wundef... " >&6; }
5534
 
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
5535
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5536
 
  $as_echo_n "(cached) " >&6
5537
 
else
5538
 
 
5539
 
 
5540
 
   ac_ext=cpp
5541
 
ac_cpp='$CXXCPP $CPPFLAGS'
5542
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5543
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5544
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5545
 
 
5546
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5547
 
 
5548
 
 
5549
 
  save_CXXFLAGS="$CXXFLAGS"
5550
 
  CXXFLAGS="$CXXFLAGS -Wundef"
5551
 
  cat >conftest.$ac_ext <<_ACEOF
5552
 
/* confdefs.h.  */
5553
 
_ACEOF
5554
 
cat confdefs.h >>conftest.$ac_ext
5555
 
cat >>conftest.$ac_ext <<_ACEOF
5556
 
/* end confdefs.h.  */
5557
 
 
5558
 
int
5559
 
main ()
5560
 
{
5561
 
 return 0;
5562
 
  ;
5563
 
  return 0;
5564
 
}
5565
 
_ACEOF
5566
 
rm -f conftest.$ac_objext conftest$ac_exeext
5567
 
if { (ac_try="$ac_link"
5568
 
case "(($ac_try" in
5569
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5570
 
  *) ac_try_echo=$ac_try;;
5571
 
esac
5572
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5573
 
$as_echo "$ac_try_echo") >&5
5574
 
  (eval "$ac_link") 2>conftest.er1
5575
 
  ac_status=$?
5576
 
  grep -v '^ *+' conftest.er1 >conftest.err
5577
 
  rm -f conftest.er1
5578
 
  cat conftest.err >&5
5579
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580
 
  (exit $ac_status); } && {
5581
 
         test -z "$ac_cxx_werror_flag" ||
5582
 
         test ! -s conftest.err
5583
 
       } && test -s conftest$ac_exeext && {
5584
 
         test "$cross_compiling" = yes ||
5585
 
         $as_test_x conftest$ac_exeext
5586
 
       }; then
5587
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5588
 
else
5589
 
  $as_echo "$as_me: failed program was:" >&5
5590
 
sed 's/^/| /' conftest.$ac_ext >&5
5591
 
 
5592
 
 
5593
 
fi
5594
 
 
5595
 
rm -rf conftest.dSYM
5596
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5597
 
      conftest$ac_exeext conftest.$ac_ext
5598
 
  CXXFLAGS="$save_CXXFLAGS"
5599
 
  ac_ext=c
5600
 
ac_cpp='$CPP $CPPFLAGS'
5601
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5602
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5603
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5604
 
 
5605
 
 
5606
 
fi
5607
 
 
5608
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5609
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
5610
 
$as_echo "yes" >&6; }
5611
 
 :
5612
 
 CXXFLAGS="-Wundef $CXXFLAGS"
5613
 
else
5614
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
5615
 
$as_echo "no" >&6; }
5616
 
 :
5617
 
 
5618
 
fi
5619
 
 
5620
 
 
5621
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
5622
 
$as_echo_n "checking whether $CXX supports -Wno-long-long... " >&6; }
5623
 
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
5624
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5625
 
  $as_echo_n "(cached) " >&6
5626
 
else
5627
 
 
5628
 
 
5629
 
   ac_ext=cpp
5630
 
ac_cpp='$CXXCPP $CPPFLAGS'
5631
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5632
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5633
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5634
 
 
5635
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5636
 
 
5637
 
 
5638
 
  save_CXXFLAGS="$CXXFLAGS"
5639
 
  CXXFLAGS="$CXXFLAGS -Wno-long-long"
5640
 
  cat >conftest.$ac_ext <<_ACEOF
5641
 
/* confdefs.h.  */
5642
 
_ACEOF
5643
 
cat confdefs.h >>conftest.$ac_ext
5644
 
cat >>conftest.$ac_ext <<_ACEOF
5645
 
/* end confdefs.h.  */
5646
 
 
5647
 
int
5648
 
main ()
5649
 
{
5650
 
 return 0;
5651
 
  ;
5652
 
  return 0;
5653
 
}
5654
 
_ACEOF
5655
 
rm -f conftest.$ac_objext conftest$ac_exeext
5656
 
if { (ac_try="$ac_link"
5657
 
case "(($ac_try" in
5658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5659
 
  *) ac_try_echo=$ac_try;;
5660
 
esac
5661
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5662
 
$as_echo "$ac_try_echo") >&5
5663
 
  (eval "$ac_link") 2>conftest.er1
5664
 
  ac_status=$?
5665
 
  grep -v '^ *+' conftest.er1 >conftest.err
5666
 
  rm -f conftest.er1
5667
 
  cat conftest.err >&5
5668
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669
 
  (exit $ac_status); } && {
5670
 
         test -z "$ac_cxx_werror_flag" ||
5671
 
         test ! -s conftest.err
5672
 
       } && test -s conftest$ac_exeext && {
5673
 
         test "$cross_compiling" = yes ||
5674
 
         $as_test_x conftest$ac_exeext
5675
 
       }; then
5676
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5677
 
else
5678
 
  $as_echo "$as_me: failed program was:" >&5
5679
 
sed 's/^/| /' conftest.$ac_ext >&5
5680
 
 
5681
 
 
5682
 
fi
5683
 
 
5684
 
rm -rf conftest.dSYM
5685
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5686
 
      conftest$ac_exeext conftest.$ac_ext
5687
 
  CXXFLAGS="$save_CXXFLAGS"
5688
 
  ac_ext=c
5689
 
ac_cpp='$CPP $CPPFLAGS'
5690
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5691
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5692
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5693
 
 
5694
 
 
5695
 
fi
5696
 
 
5697
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5698
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
5699
 
$as_echo "yes" >&6; }
5700
 
 :
5701
 
 CXXFLAGS="-Wno-long-long $CXXFLAGS"
5702
 
else
5703
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
5704
 
$as_echo "no" >&6; }
5705
 
 :
5706
 
 
5707
 
fi
5708
 
 
5709
 
 
5710
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
5711
 
$as_echo_n "checking whether $CXX supports -Wno-non-virtual-dtor... " >&6; }
5712
 
kde_cache=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
5713
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5714
 
  $as_echo_n "(cached) " >&6
5715
 
else
5716
 
 
5717
 
 
5718
 
   ac_ext=cpp
5719
 
ac_cpp='$CXXCPP $CPPFLAGS'
5720
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5721
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5722
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5723
 
 
5724
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5725
 
 
5726
 
 
5727
 
  save_CXXFLAGS="$CXXFLAGS"
5728
 
  CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5729
 
  cat >conftest.$ac_ext <<_ACEOF
5730
 
/* confdefs.h.  */
5731
 
_ACEOF
5732
 
cat confdefs.h >>conftest.$ac_ext
5733
 
cat >>conftest.$ac_ext <<_ACEOF
5734
 
/* end confdefs.h.  */
5735
 
 
5736
 
int
5737
 
main ()
5738
 
{
5739
 
 return 0;
5740
 
  ;
5741
 
  return 0;
5742
 
}
5743
 
_ACEOF
5744
 
rm -f conftest.$ac_objext conftest$ac_exeext
5745
 
if { (ac_try="$ac_link"
5746
 
case "(($ac_try" in
5747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5748
 
  *) ac_try_echo=$ac_try;;
5749
 
esac
5750
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5751
 
$as_echo "$ac_try_echo") >&5
5752
 
  (eval "$ac_link") 2>conftest.er1
5753
 
  ac_status=$?
5754
 
  grep -v '^ *+' conftest.er1 >conftest.err
5755
 
  rm -f conftest.er1
5756
 
  cat conftest.err >&5
5757
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758
 
  (exit $ac_status); } && {
5759
 
         test -z "$ac_cxx_werror_flag" ||
5760
 
         test ! -s conftest.err
5761
 
       } && test -s conftest$ac_exeext && {
5762
 
         test "$cross_compiling" = yes ||
5763
 
         $as_test_x conftest$ac_exeext
5764
 
       }; then
5765
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5766
 
else
5767
 
  $as_echo "$as_me: failed program was:" >&5
5768
 
sed 's/^/| /' conftest.$ac_ext >&5
5769
 
 
5770
 
 
5771
 
fi
5772
 
 
5773
 
rm -rf conftest.dSYM
5774
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5775
 
      conftest$ac_exeext conftest.$ac_ext
5776
 
  CXXFLAGS="$save_CXXFLAGS"
5777
 
  ac_ext=c
5778
 
ac_cpp='$CPP $CPPFLAGS'
5779
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5780
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5781
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5782
 
 
5783
 
 
5784
 
fi
5785
 
 
5786
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5787
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
5788
 
$as_echo "yes" >&6; }
5789
 
 :
5790
 
 CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5791
 
else
5792
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
5793
 
$as_echo "no" >&6; }
5794
 
 :
5795
 
 
5796
 
fi
5797
 
 
5798
 
     fi
5799
 
  fi
5800
 
 
5801
 
  if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
5802
 
    CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
5803
 
  fi
5804
 
 
5805
 
  # Check whether --enable-pch was given.
5806
 
if test "${enable_pch+set}" = set; then
5807
 
  enableval=$enable_pch;  kde_use_pch=$enableval
5808
 
else
5809
 
   kde_use_pch=no
5810
 
fi
5811
 
 
5812
 
 
5813
 
  HAVE_GCC_VISIBILITY=0
5814
 
 
5815
 
 
5816
 
  if test "$GXX" = "yes"; then
5817
 
    gcc_no_reorder_blocks=NO
5818
 
 
5819
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -fno-reorder-blocks" >&5
5820
 
$as_echo_n "checking whether $CXX supports -fno-reorder-blocks... " >&6; }
5821
 
kde_cache=`echo fno-reorder-blocks | sed 'y% .=/+-,%____p__%'`
5822
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5823
 
  $as_echo_n "(cached) " >&6
5824
 
else
5825
 
 
5826
 
 
5827
 
   ac_ext=cpp
5828
 
ac_cpp='$CXXCPP $CPPFLAGS'
5829
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5830
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5831
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5832
 
 
5833
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5834
 
 
5835
 
 
5836
 
  save_CXXFLAGS="$CXXFLAGS"
5837
 
  CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5838
 
  cat >conftest.$ac_ext <<_ACEOF
5839
 
/* confdefs.h.  */
5840
 
_ACEOF
5841
 
cat confdefs.h >>conftest.$ac_ext
5842
 
cat >>conftest.$ac_ext <<_ACEOF
5843
 
/* end confdefs.h.  */
5844
 
 
5845
 
int
5846
 
main ()
5847
 
{
5848
 
 return 0;
5849
 
  ;
5850
 
  return 0;
5851
 
}
5852
 
_ACEOF
5853
 
rm -f conftest.$ac_objext conftest$ac_exeext
5854
 
if { (ac_try="$ac_link"
5855
 
case "(($ac_try" in
5856
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5857
 
  *) ac_try_echo=$ac_try;;
5858
 
esac
5859
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5860
 
$as_echo "$ac_try_echo") >&5
5861
 
  (eval "$ac_link") 2>conftest.er1
5862
 
  ac_status=$?
5863
 
  grep -v '^ *+' conftest.er1 >conftest.err
5864
 
  rm -f conftest.er1
5865
 
  cat conftest.err >&5
5866
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867
 
  (exit $ac_status); } && {
5868
 
         test -z "$ac_cxx_werror_flag" ||
5869
 
         test ! -s conftest.err
5870
 
       } && test -s conftest$ac_exeext && {
5871
 
         test "$cross_compiling" = yes ||
5872
 
         $as_test_x conftest$ac_exeext
5873
 
       }; then
5874
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5875
 
else
5876
 
  $as_echo "$as_me: failed program was:" >&5
5877
 
sed 's/^/| /' conftest.$ac_ext >&5
5878
 
 
5879
 
 
5880
 
fi
5881
 
 
5882
 
rm -rf conftest.dSYM
5883
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5884
 
      conftest$ac_exeext conftest.$ac_ext
5885
 
  CXXFLAGS="$save_CXXFLAGS"
5886
 
  ac_ext=c
5887
 
ac_cpp='$CPP $CPPFLAGS'
5888
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5889
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5890
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5891
 
 
5892
 
 
5893
 
fi
5894
 
 
5895
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5896
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
5897
 
$as_echo "yes" >&6; }
5898
 
 :
5899
 
 gcc_no_reorder_blocks=YES
5900
 
else
5901
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
5902
 
$as_echo "no" >&6; }
5903
 
 :
5904
 
 
5905
 
fi
5906
 
 
5907
 
    if test $kde_use_debug_code != "no" && \
5908
 
       test $kde_use_debug_code != "full" && \
5909
 
       test "YES" = "$gcc_no_reorder_blocks" ; then
5910
 
          CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5911
 
          CFLAGS="$CFLAGS -fno-reorder-blocks"
5912
 
    fi
5913
 
 
5914
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
5915
 
$as_echo_n "checking whether $CXX supports -fno-exceptions... " >&6; }
5916
 
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
5917
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5918
 
  $as_echo_n "(cached) " >&6
5919
 
else
5920
 
 
5921
 
 
5922
 
   ac_ext=cpp
5923
 
ac_cpp='$CXXCPP $CPPFLAGS'
5924
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5925
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5926
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5927
 
 
5928
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5929
 
 
5930
 
 
5931
 
  save_CXXFLAGS="$CXXFLAGS"
5932
 
  CXXFLAGS="$CXXFLAGS -fno-exceptions"
5933
 
  cat >conftest.$ac_ext <<_ACEOF
5934
 
/* confdefs.h.  */
5935
 
_ACEOF
5936
 
cat confdefs.h >>conftest.$ac_ext
5937
 
cat >>conftest.$ac_ext <<_ACEOF
5938
 
/* end confdefs.h.  */
5939
 
 
5940
 
int
5941
 
main ()
5942
 
{
5943
 
 return 0;
5944
 
  ;
5945
 
  return 0;
5946
 
}
5947
 
_ACEOF
5948
 
rm -f conftest.$ac_objext conftest$ac_exeext
5949
 
if { (ac_try="$ac_link"
5950
 
case "(($ac_try" in
5951
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5952
 
  *) ac_try_echo=$ac_try;;
5953
 
esac
5954
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5955
 
$as_echo "$ac_try_echo") >&5
5956
 
  (eval "$ac_link") 2>conftest.er1
5957
 
  ac_status=$?
5958
 
  grep -v '^ *+' conftest.er1 >conftest.err
5959
 
  rm -f conftest.er1
5960
 
  cat conftest.err >&5
5961
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962
 
  (exit $ac_status); } && {
5963
 
         test -z "$ac_cxx_werror_flag" ||
5964
 
         test ! -s conftest.err
5965
 
       } && test -s conftest$ac_exeext && {
5966
 
         test "$cross_compiling" = yes ||
5967
 
         $as_test_x conftest$ac_exeext
5968
 
       }; then
5969
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5970
 
else
5971
 
  $as_echo "$as_me: failed program was:" >&5
5972
 
sed 's/^/| /' conftest.$ac_ext >&5
5973
 
 
5974
 
 
5975
 
fi
5976
 
 
5977
 
rm -rf conftest.dSYM
5978
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5979
 
      conftest$ac_exeext conftest.$ac_ext
5980
 
  CXXFLAGS="$save_CXXFLAGS"
5981
 
  ac_ext=c
5982
 
ac_cpp='$CPP $CPPFLAGS'
5983
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5984
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5985
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5986
 
 
5987
 
 
5988
 
fi
5989
 
 
5990
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5991
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
5992
 
$as_echo "yes" >&6; }
5993
 
 :
5994
 
 CXXFLAGS="$CXXFLAGS -fno-exceptions"
5995
 
else
5996
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
5997
 
$as_echo "no" >&6; }
5998
 
 :
5999
 
 
6000
 
fi
6001
 
 
6002
 
 
6003
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
6004
 
$as_echo_n "checking whether $CXX supports -fno-check-new... " >&6; }
6005
 
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
6006
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6007
 
  $as_echo_n "(cached) " >&6
6008
 
else
6009
 
 
6010
 
 
6011
 
   ac_ext=cpp
6012
 
ac_cpp='$CXXCPP $CPPFLAGS'
6013
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6014
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6015
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6016
 
 
6017
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6018
 
 
6019
 
 
6020
 
  save_CXXFLAGS="$CXXFLAGS"
6021
 
  CXXFLAGS="$CXXFLAGS -fno-check-new"
6022
 
  cat >conftest.$ac_ext <<_ACEOF
6023
 
/* confdefs.h.  */
6024
 
_ACEOF
6025
 
cat confdefs.h >>conftest.$ac_ext
6026
 
cat >>conftest.$ac_ext <<_ACEOF
6027
 
/* end confdefs.h.  */
6028
 
 
6029
 
int
6030
 
main ()
6031
 
{
6032
 
 return 0;
6033
 
  ;
6034
 
  return 0;
6035
 
}
6036
 
_ACEOF
6037
 
rm -f conftest.$ac_objext conftest$ac_exeext
6038
 
if { (ac_try="$ac_link"
6039
 
case "(($ac_try" in
6040
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6041
 
  *) ac_try_echo=$ac_try;;
6042
 
esac
6043
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6044
 
$as_echo "$ac_try_echo") >&5
6045
 
  (eval "$ac_link") 2>conftest.er1
6046
 
  ac_status=$?
6047
 
  grep -v '^ *+' conftest.er1 >conftest.err
6048
 
  rm -f conftest.er1
6049
 
  cat conftest.err >&5
6050
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051
 
  (exit $ac_status); } && {
6052
 
         test -z "$ac_cxx_werror_flag" ||
6053
 
         test ! -s conftest.err
6054
 
       } && test -s conftest$ac_exeext && {
6055
 
         test "$cross_compiling" = yes ||
6056
 
         $as_test_x conftest$ac_exeext
6057
 
       }; then
6058
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6059
 
else
6060
 
  $as_echo "$as_me: failed program was:" >&5
6061
 
sed 's/^/| /' conftest.$ac_ext >&5
6062
 
 
6063
 
 
6064
 
fi
6065
 
 
6066
 
rm -rf conftest.dSYM
6067
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6068
 
      conftest$ac_exeext conftest.$ac_ext
6069
 
  CXXFLAGS="$save_CXXFLAGS"
6070
 
  ac_ext=c
6071
 
ac_cpp='$CPP $CPPFLAGS'
6072
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6073
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6074
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6075
 
 
6076
 
 
6077
 
fi
6078
 
 
6079
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6080
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
6081
 
$as_echo "yes" >&6; }
6082
 
 :
6083
 
 CXXFLAGS="$CXXFLAGS -fno-check-new"
6084
 
else
6085
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
6086
 
$as_echo "no" >&6; }
6087
 
 :
6088
 
 
6089
 
fi
6090
 
 
6091
 
 
6092
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
6093
 
$as_echo_n "checking whether $CXX supports -fno-common... " >&6; }
6094
 
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
6095
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6096
 
  $as_echo_n "(cached) " >&6
6097
 
else
6098
 
 
6099
 
 
6100
 
   ac_ext=cpp
6101
 
ac_cpp='$CXXCPP $CPPFLAGS'
6102
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6103
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6104
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6105
 
 
6106
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6107
 
 
6108
 
 
6109
 
  save_CXXFLAGS="$CXXFLAGS"
6110
 
  CXXFLAGS="$CXXFLAGS -fno-common"
6111
 
  cat >conftest.$ac_ext <<_ACEOF
6112
 
/* confdefs.h.  */
6113
 
_ACEOF
6114
 
cat confdefs.h >>conftest.$ac_ext
6115
 
cat >>conftest.$ac_ext <<_ACEOF
6116
 
/* end confdefs.h.  */
6117
 
 
6118
 
int
6119
 
main ()
6120
 
{
6121
 
 return 0;
6122
 
  ;
6123
 
  return 0;
6124
 
}
6125
 
_ACEOF
6126
 
rm -f conftest.$ac_objext conftest$ac_exeext
6127
 
if { (ac_try="$ac_link"
6128
 
case "(($ac_try" in
6129
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6130
 
  *) ac_try_echo=$ac_try;;
6131
 
esac
6132
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6133
 
$as_echo "$ac_try_echo") >&5
6134
 
  (eval "$ac_link") 2>conftest.er1
6135
 
  ac_status=$?
6136
 
  grep -v '^ *+' conftest.er1 >conftest.err
6137
 
  rm -f conftest.er1
6138
 
  cat conftest.err >&5
6139
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140
 
  (exit $ac_status); } && {
6141
 
         test -z "$ac_cxx_werror_flag" ||
6142
 
         test ! -s conftest.err
6143
 
       } && test -s conftest$ac_exeext && {
6144
 
         test "$cross_compiling" = yes ||
6145
 
         $as_test_x conftest$ac_exeext
6146
 
       }; then
6147
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6148
 
else
6149
 
  $as_echo "$as_me: failed program was:" >&5
6150
 
sed 's/^/| /' conftest.$ac_ext >&5
6151
 
 
6152
 
 
6153
 
fi
6154
 
 
6155
 
rm -rf conftest.dSYM
6156
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6157
 
      conftest$ac_exeext conftest.$ac_ext
6158
 
  CXXFLAGS="$save_CXXFLAGS"
6159
 
  ac_ext=c
6160
 
ac_cpp='$CPP $CPPFLAGS'
6161
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6162
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6163
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6164
 
 
6165
 
 
6166
 
fi
6167
 
 
6168
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6169
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
6170
 
$as_echo "yes" >&6; }
6171
 
 :
6172
 
 CXXFLAGS="$CXXFLAGS -fno-common"
6173
 
else
6174
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
6175
 
$as_echo "no" >&6; }
6176
 
 :
6177
 
 
6178
 
fi
6179
 
 
6180
 
 
6181
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
6182
 
$as_echo_n "checking whether $CXX supports -fexceptions... " >&6; }
6183
 
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
6184
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6185
 
  $as_echo_n "(cached) " >&6
6186
 
else
6187
 
 
6188
 
 
6189
 
   ac_ext=cpp
6190
 
ac_cpp='$CXXCPP $CPPFLAGS'
6191
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6192
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6193
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6194
 
 
6195
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6196
 
 
6197
 
 
6198
 
  save_CXXFLAGS="$CXXFLAGS"
6199
 
  CXXFLAGS="$CXXFLAGS -fexceptions"
6200
 
  cat >conftest.$ac_ext <<_ACEOF
6201
 
/* confdefs.h.  */
6202
 
_ACEOF
6203
 
cat confdefs.h >>conftest.$ac_ext
6204
 
cat >>conftest.$ac_ext <<_ACEOF
6205
 
/* end confdefs.h.  */
6206
 
 
6207
 
int
6208
 
main ()
6209
 
{
6210
 
 return 0;
6211
 
  ;
6212
 
  return 0;
6213
 
}
6214
 
_ACEOF
6215
 
rm -f conftest.$ac_objext conftest$ac_exeext
6216
 
if { (ac_try="$ac_link"
6217
 
case "(($ac_try" in
6218
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6219
 
  *) ac_try_echo=$ac_try;;
6220
 
esac
6221
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6222
 
$as_echo "$ac_try_echo") >&5
6223
 
  (eval "$ac_link") 2>conftest.er1
6224
 
  ac_status=$?
6225
 
  grep -v '^ *+' conftest.er1 >conftest.err
6226
 
  rm -f conftest.er1
6227
 
  cat conftest.err >&5
6228
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229
 
  (exit $ac_status); } && {
6230
 
         test -z "$ac_cxx_werror_flag" ||
6231
 
         test ! -s conftest.err
6232
 
       } && test -s conftest$ac_exeext && {
6233
 
         test "$cross_compiling" = yes ||
6234
 
         $as_test_x conftest$ac_exeext
6235
 
       }; then
6236
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6237
 
else
6238
 
  $as_echo "$as_me: failed program was:" >&5
6239
 
sed 's/^/| /' conftest.$ac_ext >&5
6240
 
 
6241
 
 
6242
 
fi
6243
 
 
6244
 
rm -rf conftest.dSYM
6245
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6246
 
      conftest$ac_exeext conftest.$ac_ext
6247
 
  CXXFLAGS="$save_CXXFLAGS"
6248
 
  ac_ext=c
6249
 
ac_cpp='$CPP $CPPFLAGS'
6250
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6251
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6252
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6253
 
 
6254
 
 
6255
 
fi
6256
 
 
6257
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6258
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
6259
 
$as_echo "yes" >&6; }
6260
 
 :
6261
 
 USE_EXCEPTIONS="-fexceptions"
6262
 
else
6263
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
6264
 
$as_echo "no" >&6; }
6265
 
 :
6266
 
 USE_EXCEPTIONS=
6267
 
fi
6268
 
 
6269
 
    ENABLE_PERMISSIVE_FLAG="-fpermissive"
6270
 
 
6271
 
    if test "$kde_use_pch" = "yes"; then
6272
 
        { $as_echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
6273
 
$as_echo_n "checking whether gcc supports precompiling c header files... " >&6; }
6274
 
        echo >conftest.h
6275
 
        if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
6276
 
            kde_gcc_supports_pch=yes
6277
 
            { $as_echo "$as_me:$LINENO: result: yes" >&5
6278
 
$as_echo "yes" >&6; }
6279
 
        else
6280
 
            kde_gcc_supports_pch=no
6281
 
            { $as_echo "$as_me:$LINENO: result: no" >&5
6282
 
$as_echo "no" >&6; }
6283
 
        fi
6284
 
        if test "$kde_gcc_supports_pch" = "yes"; then
6285
 
            { $as_echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
6286
 
$as_echo_n "checking whether gcc supports precompiling c++ header files... " >&6; }
6287
 
            if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
6288
 
                kde_gcc_supports_pch=yes
6289
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
6290
 
$as_echo "yes" >&6; }
6291
 
            else
6292
 
                kde_gcc_supports_pch=no
6293
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
6294
 
$as_echo "no" >&6; }
6295
 
            fi
6296
 
        fi
6297
 
        rm -f conftest.h conftest.h.gch
6298
 
    fi
6299
 
 
6300
 
 
6301
 
  { $as_echo "$as_me:$LINENO: checking whether system headers can cope with -O2 -fno-inline" >&5
6302
 
$as_echo_n "checking whether system headers can cope with -O2 -fno-inline... " >&6; }
6303
 
if test "${kde_cv_opt_noinline_match+set}" = set; then
6304
 
  $as_echo_n "(cached) " >&6
6305
 
else
6306
 
 
6307
 
  kde_cv_opt_noinline_match=irrelevant
6308
 
    if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
6309
 
     && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
6310
 
 
6311
 
    ac_cflags_save="$CFLAGS"
6312
 
    CFLAGS="$CFLAGS -D_USE_GNU"
6313
 
 
6314
 
    cat >conftest.$ac_ext <<_ACEOF
6315
 
/* confdefs.h.  */
6316
 
_ACEOF
6317
 
cat confdefs.h >>conftest.$ac_ext
6318
 
cat >>conftest.$ac_ext <<_ACEOF
6319
 
/* end confdefs.h.  */
6320
 
 
6321
 
  #include <string.h>
6322
 
 
6323
 
int
6324
 
main ()
6325
 
{
6326
 
  const char *pt, *et;
6327
 
  et = __extension__      ({ char __a0, __a1, __a2;       (__builtin_constant_p (  ";,"  ) && ((size_t)(const void *)((   ";,"   )+ 1) - (size_t)(const void *)(   ";,"   ) == 1)        ? ((__a0 =((__const char  *) (  ";,"  ))[0], __a0 == '\0')     ? ((void) (  pt ),((void *)0) )        : ((__a1 = ((__const char *) (  ";,"  ))[1], __a1== '\0')      ? (__extension__ (__builtin_constant_p (  __a0 ) && ( __a0 ) == '\0'   ? (char *) __rawmemchr (   pt  ,   __a0)       : strchr(   pt  ,   __a0 )))   : ((__a2 = ((__const char *) (  ";,"  ))[2], __a2 == '\0')      ? __strpbrk_c2 (  pt , __a0, __a1)      :(((__const char *) (  ";,"  ))[3] == '\0'     ? __strpbrk_c3 (  pt ,__a0, __a1, __a2): strpbrk (  pt ,   ";,"  ))))) : strpbrk (  pt ,  ";,"  )); }) ;
6328
 
 
6329
 
  ;
6330
 
  return 0;
6331
 
}
6332
 
_ACEOF
6333
 
rm -f conftest.$ac_objext conftest$ac_exeext
6334
 
if { (ac_try="$ac_link"
6335
 
case "(($ac_try" in
6336
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6337
 
  *) ac_try_echo=$ac_try;;
6338
 
esac
6339
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6340
 
$as_echo "$ac_try_echo") >&5
6341
 
  (eval "$ac_link") 2>conftest.er1
6342
 
  ac_status=$?
6343
 
  grep -v '^ *+' conftest.er1 >conftest.err
6344
 
  rm -f conftest.er1
6345
 
  cat conftest.err >&5
6346
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347
 
  (exit $ac_status); } && {
6348
 
         test -z "$ac_c_werror_flag" ||
6349
 
         test ! -s conftest.err
6350
 
       } && test -s conftest$ac_exeext && {
6351
 
         test "$cross_compiling" = yes ||
6352
 
         $as_test_x conftest$ac_exeext
6353
 
       }; then
6354
 
  kde_cv_opt_noinline_match=yes
6355
 
else
6356
 
  $as_echo "$as_me: failed program was:" >&5
6357
 
sed 's/^/| /' conftest.$ac_ext >&5
6358
 
 
6359
 
        kde_cv_opt_noinline_match=no
6360
 
 
6361
 
fi
6362
 
 
6363
 
rm -rf conftest.dSYM
6364
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6365
 
      conftest$ac_exeext conftest.$ac_ext
6366
 
 
6367
 
    CFLAGS="$ac_cflags_save"
6368
 
  fi
6369
 
 
6370
 
fi
6371
 
{ $as_echo "$as_me:$LINENO: result: $kde_cv_opt_noinline_match" >&5
6372
 
$as_echo "$kde_cv_opt_noinline_match" >&6; }
6373
 
 
6374
 
    if test "x$kde_cv_opt_noinline_match" = "xno" ; then
6375
 
       CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
6376
 
    fi
6377
 
  fi
6378
 
 
6379
 
 
6380
 
if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
6381
 
  unsermake_enable_pch_TRUE=
6382
 
  unsermake_enable_pch_FALSE='#'
6383
 
else
6384
 
  unsermake_enable_pch_TRUE='#'
6385
 
  unsermake_enable_pch_FALSE=
6386
 
fi
6387
 
 
6388
 
  if test "$CXX" = "KCC"; then
6389
 
 
6390
 
    if test "$kde_use_pch" = "yes"; then
6391
 
 
6392
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
6393
 
$as_echo_n "checking whether $CXX supports --pch... " >&6; }
6394
 
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
6395
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6396
 
  $as_echo_n "(cached) " >&6
6397
 
else
6398
 
 
6399
 
 
6400
 
   ac_ext=cpp
6401
 
ac_cpp='$CXXCPP $CPPFLAGS'
6402
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6403
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6404
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6405
 
 
6406
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6407
 
 
6408
 
 
6409
 
  save_CXXFLAGS="$CXXFLAGS"
6410
 
  CXXFLAGS="$CXXFLAGS --pch"
6411
 
  cat >conftest.$ac_ext <<_ACEOF
6412
 
/* confdefs.h.  */
6413
 
_ACEOF
6414
 
cat confdefs.h >>conftest.$ac_ext
6415
 
cat >>conftest.$ac_ext <<_ACEOF
6416
 
/* end confdefs.h.  */
6417
 
 
6418
 
int
6419
 
main ()
6420
 
{
6421
 
 return 0;
6422
 
  ;
6423
 
  return 0;
6424
 
}
6425
 
_ACEOF
6426
 
rm -f conftest.$ac_objext conftest$ac_exeext
6427
 
if { (ac_try="$ac_link"
6428
 
case "(($ac_try" in
6429
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6430
 
  *) ac_try_echo=$ac_try;;
6431
 
esac
6432
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6433
 
$as_echo "$ac_try_echo") >&5
6434
 
  (eval "$ac_link") 2>conftest.er1
6435
 
  ac_status=$?
6436
 
  grep -v '^ *+' conftest.er1 >conftest.err
6437
 
  rm -f conftest.er1
6438
 
  cat conftest.err >&5
6439
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440
 
  (exit $ac_status); } && {
6441
 
         test -z "$ac_cxx_werror_flag" ||
6442
 
         test ! -s conftest.err
6443
 
       } && test -s conftest$ac_exeext && {
6444
 
         test "$cross_compiling" = yes ||
6445
 
         $as_test_x conftest$ac_exeext
6446
 
       }; then
6447
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6448
 
else
6449
 
  $as_echo "$as_me: failed program was:" >&5
6450
 
sed 's/^/| /' conftest.$ac_ext >&5
6451
 
 
6452
 
 
6453
 
fi
6454
 
 
6455
 
rm -rf conftest.dSYM
6456
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6457
 
      conftest$ac_exeext conftest.$ac_ext
6458
 
  CXXFLAGS="$save_CXXFLAGS"
6459
 
  ac_ext=c
6460
 
ac_cpp='$CPP $CPPFLAGS'
6461
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6462
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6463
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6464
 
 
6465
 
 
6466
 
fi
6467
 
 
6468
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6469
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
6470
 
$as_echo "yes" >&6; }
6471
 
 :
6472
 
 CXXFLAGS="$CXXFLAGS --pch"
6473
 
else
6474
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
6475
 
$as_echo "no" >&6; }
6476
 
 :
6477
 
 
6478
 
fi
6479
 
 
6480
 
                                              fi
6481
 
 
6482
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
6483
 
$as_echo_n "checking whether $CXX supports --inline_keyword_space_time=6... " >&6; }
6484
 
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
6485
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6486
 
  $as_echo_n "(cached) " >&6
6487
 
else
6488
 
 
6489
 
 
6490
 
   ac_ext=cpp
6491
 
ac_cpp='$CXXCPP $CPPFLAGS'
6492
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6493
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6494
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6495
 
 
6496
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6497
 
 
6498
 
 
6499
 
  save_CXXFLAGS="$CXXFLAGS"
6500
 
  CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6501
 
  cat >conftest.$ac_ext <<_ACEOF
6502
 
/* confdefs.h.  */
6503
 
_ACEOF
6504
 
cat confdefs.h >>conftest.$ac_ext
6505
 
cat >>conftest.$ac_ext <<_ACEOF
6506
 
/* end confdefs.h.  */
6507
 
 
6508
 
int
6509
 
main ()
6510
 
{
6511
 
 return 0;
6512
 
  ;
6513
 
  return 0;
6514
 
}
6515
 
_ACEOF
6516
 
rm -f conftest.$ac_objext conftest$ac_exeext
6517
 
if { (ac_try="$ac_link"
6518
 
case "(($ac_try" in
6519
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6520
 
  *) ac_try_echo=$ac_try;;
6521
 
esac
6522
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6523
 
$as_echo "$ac_try_echo") >&5
6524
 
  (eval "$ac_link") 2>conftest.er1
6525
 
  ac_status=$?
6526
 
  grep -v '^ *+' conftest.er1 >conftest.err
6527
 
  rm -f conftest.er1
6528
 
  cat conftest.err >&5
6529
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530
 
  (exit $ac_status); } && {
6531
 
         test -z "$ac_cxx_werror_flag" ||
6532
 
         test ! -s conftest.err
6533
 
       } && test -s conftest$ac_exeext && {
6534
 
         test "$cross_compiling" = yes ||
6535
 
         $as_test_x conftest$ac_exeext
6536
 
       }; then
6537
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6538
 
else
6539
 
  $as_echo "$as_me: failed program was:" >&5
6540
 
sed 's/^/| /' conftest.$ac_ext >&5
6541
 
 
6542
 
 
6543
 
fi
6544
 
 
6545
 
rm -rf conftest.dSYM
6546
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6547
 
      conftest$ac_exeext conftest.$ac_ext
6548
 
  CXXFLAGS="$save_CXXFLAGS"
6549
 
  ac_ext=c
6550
 
ac_cpp='$CPP $CPPFLAGS'
6551
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6552
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6553
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6554
 
 
6555
 
 
6556
 
fi
6557
 
 
6558
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6559
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
6560
 
$as_echo "yes" >&6; }
6561
 
 :
6562
 
 CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6563
 
else
6564
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
6565
 
$as_echo "no" >&6; }
6566
 
 :
6567
 
 
6568
 
fi
6569
 
 
6570
 
 
6571
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
6572
 
$as_echo_n "checking whether $CXX supports --inline_auto_space_time=2... " >&6; }
6573
 
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
6574
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6575
 
  $as_echo_n "(cached) " >&6
6576
 
else
6577
 
 
6578
 
 
6579
 
   ac_ext=cpp
6580
 
ac_cpp='$CXXCPP $CPPFLAGS'
6581
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6582
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6583
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6584
 
 
6585
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6586
 
 
6587
 
 
6588
 
  save_CXXFLAGS="$CXXFLAGS"
6589
 
  CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6590
 
  cat >conftest.$ac_ext <<_ACEOF
6591
 
/* confdefs.h.  */
6592
 
_ACEOF
6593
 
cat confdefs.h >>conftest.$ac_ext
6594
 
cat >>conftest.$ac_ext <<_ACEOF
6595
 
/* end confdefs.h.  */
6596
 
 
6597
 
int
6598
 
main ()
6599
 
{
6600
 
 return 0;
6601
 
  ;
6602
 
  return 0;
6603
 
}
6604
 
_ACEOF
6605
 
rm -f conftest.$ac_objext conftest$ac_exeext
6606
 
if { (ac_try="$ac_link"
6607
 
case "(($ac_try" in
6608
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6609
 
  *) ac_try_echo=$ac_try;;
6610
 
esac
6611
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6612
 
$as_echo "$ac_try_echo") >&5
6613
 
  (eval "$ac_link") 2>conftest.er1
6614
 
  ac_status=$?
6615
 
  grep -v '^ *+' conftest.er1 >conftest.err
6616
 
  rm -f conftest.er1
6617
 
  cat conftest.err >&5
6618
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619
 
  (exit $ac_status); } && {
6620
 
         test -z "$ac_cxx_werror_flag" ||
6621
 
         test ! -s conftest.err
6622
 
       } && test -s conftest$ac_exeext && {
6623
 
         test "$cross_compiling" = yes ||
6624
 
         $as_test_x conftest$ac_exeext
6625
 
       }; then
6626
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6627
 
else
6628
 
  $as_echo "$as_me: failed program was:" >&5
6629
 
sed 's/^/| /' conftest.$ac_ext >&5
6630
 
 
6631
 
 
6632
 
fi
6633
 
 
6634
 
rm -rf conftest.dSYM
6635
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6636
 
      conftest$ac_exeext conftest.$ac_ext
6637
 
  CXXFLAGS="$save_CXXFLAGS"
6638
 
  ac_ext=c
6639
 
ac_cpp='$CPP $CPPFLAGS'
6640
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6641
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6642
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6643
 
 
6644
 
 
6645
 
fi
6646
 
 
6647
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6648
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
6649
 
$as_echo "yes" >&6; }
6650
 
 :
6651
 
 CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6652
 
else
6653
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
6654
 
$as_echo "no" >&6; }
6655
 
 :
6656
 
 
6657
 
fi
6658
 
 
6659
 
 
6660
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
6661
 
$as_echo_n "checking whether $CXX supports --inline_implicit_space_time=2.0... " >&6; }
6662
 
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6663
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6664
 
  $as_echo_n "(cached) " >&6
6665
 
else
6666
 
 
6667
 
 
6668
 
   ac_ext=cpp
6669
 
ac_cpp='$CXXCPP $CPPFLAGS'
6670
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6671
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6672
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6673
 
 
6674
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6675
 
 
6676
 
 
6677
 
  save_CXXFLAGS="$CXXFLAGS"
6678
 
  CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6679
 
  cat >conftest.$ac_ext <<_ACEOF
6680
 
/* confdefs.h.  */
6681
 
_ACEOF
6682
 
cat confdefs.h >>conftest.$ac_ext
6683
 
cat >>conftest.$ac_ext <<_ACEOF
6684
 
/* end confdefs.h.  */
6685
 
 
6686
 
int
6687
 
main ()
6688
 
{
6689
 
 return 0;
6690
 
  ;
6691
 
  return 0;
6692
 
}
6693
 
_ACEOF
6694
 
rm -f conftest.$ac_objext conftest$ac_exeext
6695
 
if { (ac_try="$ac_link"
6696
 
case "(($ac_try" in
6697
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6698
 
  *) ac_try_echo=$ac_try;;
6699
 
esac
6700
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6701
 
$as_echo "$ac_try_echo") >&5
6702
 
  (eval "$ac_link") 2>conftest.er1
6703
 
  ac_status=$?
6704
 
  grep -v '^ *+' conftest.er1 >conftest.err
6705
 
  rm -f conftest.er1
6706
 
  cat conftest.err >&5
6707
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708
 
  (exit $ac_status); } && {
6709
 
         test -z "$ac_cxx_werror_flag" ||
6710
 
         test ! -s conftest.err
6711
 
       } && test -s conftest$ac_exeext && {
6712
 
         test "$cross_compiling" = yes ||
6713
 
         $as_test_x conftest$ac_exeext
6714
 
       }; then
6715
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6716
 
else
6717
 
  $as_echo "$as_me: failed program was:" >&5
6718
 
sed 's/^/| /' conftest.$ac_ext >&5
6719
 
 
6720
 
 
6721
 
fi
6722
 
 
6723
 
rm -rf conftest.dSYM
6724
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6725
 
      conftest$ac_exeext conftest.$ac_ext
6726
 
  CXXFLAGS="$save_CXXFLAGS"
6727
 
  ac_ext=c
6728
 
ac_cpp='$CPP $CPPFLAGS'
6729
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6730
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6731
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6732
 
 
6733
 
 
6734
 
fi
6735
 
 
6736
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6737
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
6738
 
$as_echo "yes" >&6; }
6739
 
 :
6740
 
 CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6741
 
else
6742
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
6743
 
$as_echo "no" >&6; }
6744
 
 :
6745
 
 
6746
 
fi
6747
 
 
6748
 
 
6749
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
6750
 
$as_echo_n "checking whether $CXX supports --inline_generated_space_time=2.0... " >&6; }
6751
 
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6752
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6753
 
  $as_echo_n "(cached) " >&6
6754
 
else
6755
 
 
6756
 
 
6757
 
   ac_ext=cpp
6758
 
ac_cpp='$CXXCPP $CPPFLAGS'
6759
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6760
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6761
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6762
 
 
6763
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6764
 
 
6765
 
 
6766
 
  save_CXXFLAGS="$CXXFLAGS"
6767
 
  CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6768
 
  cat >conftest.$ac_ext <<_ACEOF
6769
 
/* confdefs.h.  */
6770
 
_ACEOF
6771
 
cat confdefs.h >>conftest.$ac_ext
6772
 
cat >>conftest.$ac_ext <<_ACEOF
6773
 
/* end confdefs.h.  */
6774
 
 
6775
 
int
6776
 
main ()
6777
 
{
6778
 
 return 0;
6779
 
  ;
6780
 
  return 0;
6781
 
}
6782
 
_ACEOF
6783
 
rm -f conftest.$ac_objext conftest$ac_exeext
6784
 
if { (ac_try="$ac_link"
6785
 
case "(($ac_try" in
6786
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6787
 
  *) ac_try_echo=$ac_try;;
6788
 
esac
6789
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6790
 
$as_echo "$ac_try_echo") >&5
6791
 
  (eval "$ac_link") 2>conftest.er1
6792
 
  ac_status=$?
6793
 
  grep -v '^ *+' conftest.er1 >conftest.err
6794
 
  rm -f conftest.er1
6795
 
  cat conftest.err >&5
6796
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797
 
  (exit $ac_status); } && {
6798
 
         test -z "$ac_cxx_werror_flag" ||
6799
 
         test ! -s conftest.err
6800
 
       } && test -s conftest$ac_exeext && {
6801
 
         test "$cross_compiling" = yes ||
6802
 
         $as_test_x conftest$ac_exeext
6803
 
       }; then
6804
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6805
 
else
6806
 
  $as_echo "$as_me: failed program was:" >&5
6807
 
sed 's/^/| /' conftest.$ac_ext >&5
6808
 
 
6809
 
 
6810
 
fi
6811
 
 
6812
 
rm -rf conftest.dSYM
6813
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6814
 
      conftest$ac_exeext conftest.$ac_ext
6815
 
  CXXFLAGS="$save_CXXFLAGS"
6816
 
  ac_ext=c
6817
 
ac_cpp='$CPP $CPPFLAGS'
6818
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6819
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6820
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6821
 
 
6822
 
 
6823
 
fi
6824
 
 
6825
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6826
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
6827
 
$as_echo "yes" >&6; }
6828
 
 :
6829
 
 CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6830
 
else
6831
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
6832
 
$as_echo "no" >&6; }
6833
 
 :
6834
 
 
6835
 
fi
6836
 
 
6837
 
 
6838
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
6839
 
$as_echo_n "checking whether $CXX supports --one_per... " >&6; }
6840
 
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
6841
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6842
 
  $as_echo_n "(cached) " >&6
6843
 
else
6844
 
 
6845
 
 
6846
 
   ac_ext=cpp
6847
 
ac_cpp='$CXXCPP $CPPFLAGS'
6848
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6849
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6850
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6851
 
 
6852
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6853
 
 
6854
 
 
6855
 
  save_CXXFLAGS="$CXXFLAGS"
6856
 
  CXXFLAGS="$CXXFLAGS --one_per"
6857
 
  cat >conftest.$ac_ext <<_ACEOF
6858
 
/* confdefs.h.  */
6859
 
_ACEOF
6860
 
cat confdefs.h >>conftest.$ac_ext
6861
 
cat >>conftest.$ac_ext <<_ACEOF
6862
 
/* end confdefs.h.  */
6863
 
 
6864
 
int
6865
 
main ()
6866
 
{
6867
 
 return 0;
6868
 
  ;
6869
 
  return 0;
6870
 
}
6871
 
_ACEOF
6872
 
rm -f conftest.$ac_objext conftest$ac_exeext
6873
 
if { (ac_try="$ac_link"
6874
 
case "(($ac_try" in
6875
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6876
 
  *) ac_try_echo=$ac_try;;
6877
 
esac
6878
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6879
 
$as_echo "$ac_try_echo") >&5
6880
 
  (eval "$ac_link") 2>conftest.er1
6881
 
  ac_status=$?
6882
 
  grep -v '^ *+' conftest.er1 >conftest.err
6883
 
  rm -f conftest.er1
6884
 
  cat conftest.err >&5
6885
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886
 
  (exit $ac_status); } && {
6887
 
         test -z "$ac_cxx_werror_flag" ||
6888
 
         test ! -s conftest.err
6889
 
       } && test -s conftest$ac_exeext && {
6890
 
         test "$cross_compiling" = yes ||
6891
 
         $as_test_x conftest$ac_exeext
6892
 
       }; then
6893
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6894
 
else
6895
 
  $as_echo "$as_me: failed program was:" >&5
6896
 
sed 's/^/| /' conftest.$ac_ext >&5
6897
 
 
6898
 
 
6899
 
fi
6900
 
 
6901
 
rm -rf conftest.dSYM
6902
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6903
 
      conftest$ac_exeext conftest.$ac_ext
6904
 
  CXXFLAGS="$save_CXXFLAGS"
6905
 
  ac_ext=c
6906
 
ac_cpp='$CPP $CPPFLAGS'
6907
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6908
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6909
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6910
 
 
6911
 
 
6912
 
fi
6913
 
 
6914
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6915
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
6916
 
$as_echo "yes" >&6; }
6917
 
 :
6918
 
 CXXFLAGS="$CXXFLAGS --one_per"
6919
 
else
6920
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
6921
 
$as_echo "no" >&6; }
6922
 
 :
6923
 
 
6924
 
fi
6925
 
 
6926
 
  fi
6927
 
 
6928
 
    USE_RTTI=
6929
 
 
6930
 
 
6931
 
  case "$host" in
6932
 
      *-*-irix*)  test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
6933
 
      *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
6934
 
      *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
6935
 
      *-*-solaris*)
6936
 
        if test "$GXX" = yes; then
6937
 
          libstdcpp=`$CXX -print-file-name=libstdc++.so`
6938
 
          if test ! -f $libstdcpp; then
6939
 
             { { $as_echo "$as_me:$LINENO: error: You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so" >&5
6940
 
$as_echo "$as_me: error: You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so" >&2;}
6941
 
   { (exit 1); exit 1; }; }
6942
 
          fi
6943
 
        fi
6944
 
        ;;
6945
 
  esac
6946
 
 
6947
 
  if test "x$kde_use_qt_emb" != "xyes"; then
6948
 
  __val=$CXX
6949
 
  __forbid=" -fno-rtti -rpath "
6950
 
  if test -n "$__val"; then
6951
 
    __new=""
6952
 
    ac_save_IFS=$IFS
6953
 
    IFS="       "
6954
 
    for i in $__val; do
6955
 
      case "$__forbid" in
6956
 
        *" $i "*) { $as_echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6957
 
$as_echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6958
 
        *) # Careful to not add spaces, where there were none, because otherwise
6959
 
           # libtool gets confused, if we change e.g. CXX
6960
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6961
 
      esac
6962
 
    done
6963
 
    IFS=$ac_save_IFS
6964
 
    CXX=$__new
6965
 
  fi
6966
 
 
6967
 
  __val=$CXXFLAGS
6968
 
  __forbid=" -fno-rtti -rpath "
6969
 
  if test -n "$__val"; then
6970
 
    __new=""
6971
 
    ac_save_IFS=$IFS
6972
 
    IFS="       "
6973
 
    for i in $__val; do
6974
 
      case "$__forbid" in
6975
 
        *" $i "*) { $as_echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6976
 
$as_echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6977
 
        *) # Careful to not add spaces, where there were none, because otherwise
6978
 
           # libtool gets confused, if we change e.g. CXX
6979
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6980
 
      esac
6981
 
    done
6982
 
    IFS=$ac_save_IFS
6983
 
    CXXFLAGS=$__new
6984
 
  fi
6985
 
 
6986
 
else
6987
 
  __val=$CXX
6988
 
  __forbid=" -rpath "
6989
 
  if test -n "$__val"; then
6990
 
    __new=""
6991
 
    ac_save_IFS=$IFS
6992
 
    IFS="       "
6993
 
    for i in $__val; do
6994
 
      case "$__forbid" in
6995
 
        *" $i "*) { $as_echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6996
 
$as_echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6997
 
        *) # Careful to not add spaces, where there were none, because otherwise
6998
 
           # libtool gets confused, if we change e.g. CXX
6999
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
7000
 
      esac
7001
 
    done
7002
 
    IFS=$ac_save_IFS
7003
 
    CXX=$__new
7004
 
  fi
7005
 
 
7006
 
  __val=$CXXFLAGS
7007
 
  __forbid=" -rpath "
7008
 
  if test -n "$__val"; then
7009
 
    __new=""
7010
 
    ac_save_IFS=$IFS
7011
 
    IFS="       "
7012
 
    for i in $__val; do
7013
 
      case "$__forbid" in
7014
 
        *" $i "*) { $as_echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
7015
 
$as_echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
7016
 
        *) # Careful to not add spaces, where there were none, because otherwise
7017
 
           # libtool gets confused, if we change e.g. CXX
7018
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
7019
 
      esac
7020
 
    done
7021
 
    IFS=$ac_save_IFS
7022
 
    CXXFLAGS=$__new
7023
 
  fi
7024
 
 
7025
 
fi
7026
 
 
7027
 
 
7028
 
  ac_ext=cpp
7029
 
ac_cpp='$CXXCPP $CPPFLAGS'
7030
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7031
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7032
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7033
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7034
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7035
 
if test -z "$CXXCPP"; then
7036
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7037
 
  $as_echo_n "(cached) " >&6
7038
 
else
7039
 
      # Double quotes because CXXCPP needs to be expanded
7040
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7041
 
    do
7042
 
      ac_preproc_ok=false
7043
 
for ac_cxx_preproc_warn_flag in '' yes
7044
 
do
7045
 
  # Use a header file that comes with gcc, so configuring glibc
7046
 
  # with a fresh cross-compiler works.
7047
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7048
 
  # <limits.h> exists even on freestanding compilers.
7049
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7050
 
  # not just through cpp. "Syntax error" is here to catch this case.
7051
 
  cat >conftest.$ac_ext <<_ACEOF
7052
 
/* confdefs.h.  */
7053
 
_ACEOF
7054
 
cat confdefs.h >>conftest.$ac_ext
7055
 
cat >>conftest.$ac_ext <<_ACEOF
7056
 
/* end confdefs.h.  */
7057
 
#ifdef __STDC__
7058
 
# include <limits.h>
7059
 
#else
7060
 
# include <assert.h>
7061
 
#endif
7062
 
                     Syntax error
7063
 
_ACEOF
7064
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7065
 
case "(($ac_try" in
7066
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7067
 
  *) ac_try_echo=$ac_try;;
7068
 
esac
7069
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7070
 
$as_echo "$ac_try_echo") >&5
7071
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7072
 
  ac_status=$?
7073
 
  grep -v '^ *+' conftest.er1 >conftest.err
7074
 
  rm -f conftest.er1
7075
 
  cat conftest.err >&5
7076
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077
 
  (exit $ac_status); } >/dev/null && {
7078
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7079
 
         test ! -s conftest.err
7080
 
       }; then
7081
 
  :
7082
 
else
7083
 
  $as_echo "$as_me: failed program was:" >&5
7084
 
sed 's/^/| /' conftest.$ac_ext >&5
7085
 
 
7086
 
  # Broken: fails on valid input.
7087
 
continue
7088
 
fi
7089
 
 
7090
 
rm -f conftest.err conftest.$ac_ext
7091
 
 
7092
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7093
 
  # can be detected and how.
7094
 
  cat >conftest.$ac_ext <<_ACEOF
7095
 
/* confdefs.h.  */
7096
 
_ACEOF
7097
 
cat confdefs.h >>conftest.$ac_ext
7098
 
cat >>conftest.$ac_ext <<_ACEOF
7099
 
/* end confdefs.h.  */
7100
 
#include <ac_nonexistent.h>
7101
 
_ACEOF
7102
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7103
 
case "(($ac_try" in
7104
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7105
 
  *) ac_try_echo=$ac_try;;
7106
 
esac
7107
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7108
 
$as_echo "$ac_try_echo") >&5
7109
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7110
 
  ac_status=$?
7111
 
  grep -v '^ *+' conftest.er1 >conftest.err
7112
 
  rm -f conftest.er1
7113
 
  cat conftest.err >&5
7114
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115
 
  (exit $ac_status); } >/dev/null && {
7116
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7117
 
         test ! -s conftest.err
7118
 
       }; then
7119
 
  # Broken: success on invalid input.
7120
 
continue
7121
 
else
7122
 
  $as_echo "$as_me: failed program was:" >&5
7123
 
sed 's/^/| /' conftest.$ac_ext >&5
7124
 
 
7125
 
  # Passes both tests.
7126
 
ac_preproc_ok=:
7127
 
break
7128
 
fi
7129
 
 
7130
 
rm -f conftest.err conftest.$ac_ext
7131
 
 
7132
 
done
7133
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7134
 
rm -f conftest.err conftest.$ac_ext
7135
 
if $ac_preproc_ok; then
7136
 
  break
7137
 
fi
7138
 
 
7139
 
    done
7140
 
    ac_cv_prog_CXXCPP=$CXXCPP
7141
 
 
7142
 
fi
7143
 
  CXXCPP=$ac_cv_prog_CXXCPP
7144
 
else
7145
 
  ac_cv_prog_CXXCPP=$CXXCPP
7146
 
fi
7147
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
7148
 
$as_echo "$CXXCPP" >&6; }
7149
 
ac_preproc_ok=false
7150
 
for ac_cxx_preproc_warn_flag in '' yes
7151
 
do
7152
 
  # Use a header file that comes with gcc, so configuring glibc
7153
 
  # with a fresh cross-compiler works.
7154
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7155
 
  # <limits.h> exists even on freestanding compilers.
7156
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7157
 
  # not just through cpp. "Syntax error" is here to catch this case.
7158
 
  cat >conftest.$ac_ext <<_ACEOF
7159
 
/* confdefs.h.  */
7160
 
_ACEOF
7161
 
cat confdefs.h >>conftest.$ac_ext
7162
 
cat >>conftest.$ac_ext <<_ACEOF
7163
 
/* end confdefs.h.  */
7164
 
#ifdef __STDC__
7165
 
# include <limits.h>
7166
 
#else
7167
 
# include <assert.h>
7168
 
#endif
7169
 
                     Syntax error
7170
 
_ACEOF
7171
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7172
 
case "(($ac_try" in
7173
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7174
 
  *) ac_try_echo=$ac_try;;
7175
 
esac
7176
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7177
 
$as_echo "$ac_try_echo") >&5
7178
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7179
 
  ac_status=$?
7180
 
  grep -v '^ *+' conftest.er1 >conftest.err
7181
 
  rm -f conftest.er1
7182
 
  cat conftest.err >&5
7183
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184
 
  (exit $ac_status); } >/dev/null && {
7185
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7186
 
         test ! -s conftest.err
7187
 
       }; then
7188
 
  :
7189
 
else
7190
 
  $as_echo "$as_me: failed program was:" >&5
7191
 
sed 's/^/| /' conftest.$ac_ext >&5
7192
 
 
7193
 
  # Broken: fails on valid input.
7194
 
continue
7195
 
fi
7196
 
 
7197
 
rm -f conftest.err conftest.$ac_ext
7198
 
 
7199
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7200
 
  # can be detected and how.
7201
 
  cat >conftest.$ac_ext <<_ACEOF
7202
 
/* confdefs.h.  */
7203
 
_ACEOF
7204
 
cat confdefs.h >>conftest.$ac_ext
7205
 
cat >>conftest.$ac_ext <<_ACEOF
7206
 
/* end confdefs.h.  */
7207
 
#include <ac_nonexistent.h>
7208
 
_ACEOF
7209
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7210
 
case "(($ac_try" in
7211
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7212
 
  *) ac_try_echo=$ac_try;;
7213
 
esac
7214
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7215
 
$as_echo "$ac_try_echo") >&5
7216
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7217
 
  ac_status=$?
7218
 
  grep -v '^ *+' conftest.er1 >conftest.err
7219
 
  rm -f conftest.er1
7220
 
  cat conftest.err >&5
7221
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222
 
  (exit $ac_status); } >/dev/null && {
7223
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7224
 
         test ! -s conftest.err
7225
 
       }; then
7226
 
  # Broken: success on invalid input.
7227
 
continue
7228
 
else
7229
 
  $as_echo "$as_me: failed program was:" >&5
7230
 
sed 's/^/| /' conftest.$ac_ext >&5
7231
 
 
7232
 
  # Passes both tests.
7233
 
ac_preproc_ok=:
7234
 
break
7235
 
fi
7236
 
 
7237
 
rm -f conftest.err conftest.$ac_ext
7238
 
 
7239
 
done
7240
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7241
 
rm -f conftest.err conftest.$ac_ext
7242
 
if $ac_preproc_ok; then
7243
 
  :
7244
 
else
7245
 
  { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7246
 
See \`config.log' for more details." >&5
7247
 
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7248
 
See \`config.log' for more details." >&2;}
7249
 
   { (exit 1); exit 1; }; }
7250
 
fi
7251
 
 
7252
 
ac_ext=c
7253
 
ac_cpp='$CPP $CPPFLAGS'
7254
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7255
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7256
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7257
 
 
7258
 
 
7259
 
  if test "$GCC" = yes; then
7260
 
     NOOPT_CFLAGS=-O0
7261
 
  fi
7262
 
 
7263
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
7264
 
$as_echo_n "checking whether $CXX supports -O0... " >&6; }
7265
 
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
7266
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7267
 
  $as_echo_n "(cached) " >&6
7268
 
else
7269
 
 
7270
 
 
7271
 
   ac_ext=cpp
7272
 
ac_cpp='$CXXCPP $CPPFLAGS'
7273
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7274
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7275
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7276
 
 
7277
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7278
 
 
7279
 
 
7280
 
  save_CXXFLAGS="$CXXFLAGS"
7281
 
  CXXFLAGS="$CXXFLAGS -O0"
7282
 
  cat >conftest.$ac_ext <<_ACEOF
7283
 
/* confdefs.h.  */
7284
 
_ACEOF
7285
 
cat confdefs.h >>conftest.$ac_ext
7286
 
cat >>conftest.$ac_ext <<_ACEOF
7287
 
/* end confdefs.h.  */
7288
 
 
7289
 
int
7290
 
main ()
7291
 
{
7292
 
 return 0;
7293
 
  ;
7294
 
  return 0;
7295
 
}
7296
 
_ACEOF
7297
 
rm -f conftest.$ac_objext conftest$ac_exeext
7298
 
if { (ac_try="$ac_link"
7299
 
case "(($ac_try" in
7300
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7301
 
  *) ac_try_echo=$ac_try;;
7302
 
esac
7303
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7304
 
$as_echo "$ac_try_echo") >&5
7305
 
  (eval "$ac_link") 2>conftest.er1
7306
 
  ac_status=$?
7307
 
  grep -v '^ *+' conftest.er1 >conftest.err
7308
 
  rm -f conftest.er1
7309
 
  cat conftest.err >&5
7310
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311
 
  (exit $ac_status); } && {
7312
 
         test -z "$ac_cxx_werror_flag" ||
7313
 
         test ! -s conftest.err
7314
 
       } && test -s conftest$ac_exeext && {
7315
 
         test "$cross_compiling" = yes ||
7316
 
         $as_test_x conftest$ac_exeext
7317
 
       }; then
7318
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7319
 
else
7320
 
  $as_echo "$as_me: failed program was:" >&5
7321
 
sed 's/^/| /' conftest.$ac_ext >&5
7322
 
 
7323
 
 
7324
 
fi
7325
 
 
7326
 
rm -rf conftest.dSYM
7327
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7328
 
      conftest$ac_exeext conftest.$ac_ext
7329
 
  CXXFLAGS="$save_CXXFLAGS"
7330
 
  ac_ext=c
7331
 
ac_cpp='$CPP $CPPFLAGS'
7332
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7333
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7334
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7335
 
 
7336
 
 
7337
 
fi
7338
 
 
7339
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7340
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
7341
 
$as_echo "yes" >&6; }
7342
 
 :
7343
 
 NOOPT_CXXFLAGS=-O0
7344
 
else
7345
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
7346
 
$as_echo "no" >&6; }
7347
 
 :
7348
 
 
7349
 
fi
7350
 
 
7351
 
 
7352
 
  # Check whether --enable-coverage was given.
7353
 
if test "${enable_coverage+set}" = set; then
7354
 
  enableval=$enable_coverage;
7355
 
      if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
7356
 
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7357
 
        ac_coverage_linker="-lgcc"
7358
 
      elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
7359
 
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7360
 
        ac_coverage_linker=""
7361
 
      else
7362
 
        { { $as_echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
7363
 
$as_echo "$as_me: error: coverage with your compiler is not supported" >&2;}
7364
 
   { (exit 1); exit 1; }; }
7365
 
      fi
7366
 
      CFLAGS="$CFLAGS $ac_coverage_compiler"
7367
 
      CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
7368
 
      LDFLAGS="$LDFLAGS $ac_coverage_linker"
7369
 
 
7370
 
fi
7371
 
 
7372
 
 
7373
 
 
7374
 
 
7375
 
 
7376
 
 
7377
 
 
7378
 
  # Check whether --enable-new_ldflags was given.
7379
 
if test "${enable_new_ldflags+set}" = set; then
7380
 
  enableval=$enable_new_ldflags; kde_use_new_ldflags=$enableval
7381
 
else
7382
 
  kde_use_new_ldflags=no
7383
 
fi
7384
 
 
7385
 
 
7386
 
  LDFLAGS_AS_NEEDED=""
7387
 
  LDFLAGS_NEW_DTAGS=""
7388
 
  if test "x$kde_use_new_ldflags" = "xyes"; then
7389
 
       LDFLAGS_NEW_DTAGS=""
7390
 
 
7391
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
7392
 
$as_echo_n "checking whether $CXX supports -Wl,--enable-new-dtags... " >&6; }
7393
 
kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
7394
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7395
 
  $as_echo_n "(cached) " >&6
7396
 
else
7397
 
 
7398
 
 
7399
 
   ac_ext=cpp
7400
 
ac_cpp='$CXXCPP $CPPFLAGS'
7401
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7402
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7403
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7404
 
 
7405
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7406
 
 
7407
 
 
7408
 
  save_CXXFLAGS="$CXXFLAGS"
7409
 
  CXXFLAGS="$CXXFLAGS -Wl,--enable-new-dtags"
7410
 
  cat >conftest.$ac_ext <<_ACEOF
7411
 
/* confdefs.h.  */
7412
 
_ACEOF
7413
 
cat confdefs.h >>conftest.$ac_ext
7414
 
cat >>conftest.$ac_ext <<_ACEOF
7415
 
/* end confdefs.h.  */
7416
 
 
7417
 
int
7418
 
main ()
7419
 
{
7420
 
 return 0;
7421
 
  ;
7422
 
  return 0;
7423
 
}
7424
 
_ACEOF
7425
 
rm -f conftest.$ac_objext conftest$ac_exeext
7426
 
if { (ac_try="$ac_link"
7427
 
case "(($ac_try" in
7428
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7429
 
  *) ac_try_echo=$ac_try;;
7430
 
esac
7431
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7432
 
$as_echo "$ac_try_echo") >&5
7433
 
  (eval "$ac_link") 2>conftest.er1
7434
 
  ac_status=$?
7435
 
  grep -v '^ *+' conftest.er1 >conftest.err
7436
 
  rm -f conftest.er1
7437
 
  cat conftest.err >&5
7438
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439
 
  (exit $ac_status); } && {
7440
 
         test -z "$ac_cxx_werror_flag" ||
7441
 
         test ! -s conftest.err
7442
 
       } && test -s conftest$ac_exeext && {
7443
 
         test "$cross_compiling" = yes ||
7444
 
         $as_test_x conftest$ac_exeext
7445
 
       }; then
7446
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7447
 
else
7448
 
  $as_echo "$as_me: failed program was:" >&5
7449
 
sed 's/^/| /' conftest.$ac_ext >&5
7450
 
 
7451
 
 
7452
 
fi
7453
 
 
7454
 
rm -rf conftest.dSYM
7455
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7456
 
      conftest$ac_exeext conftest.$ac_ext
7457
 
  CXXFLAGS="$save_CXXFLAGS"
7458
 
  ac_ext=c
7459
 
ac_cpp='$CPP $CPPFLAGS'
7460
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7461
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7462
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7463
 
 
7464
 
 
7465
 
fi
7466
 
 
7467
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7468
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
7469
 
$as_echo "yes" >&6; }
7470
 
 :
7471
 
 LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
7472
 
else
7473
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
7474
 
$as_echo "no" >&6; }
7475
 
 :
7476
 
 
7477
 
fi
7478
 
 
7479
 
 
7480
 
 
7481
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
7482
 
$as_echo_n "checking whether $CXX supports -Wl,--as-needed... " >&6; }
7483
 
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
7484
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7485
 
  $as_echo_n "(cached) " >&6
7486
 
else
7487
 
 
7488
 
 
7489
 
   ac_ext=cpp
7490
 
ac_cpp='$CXXCPP $CPPFLAGS'
7491
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7492
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7493
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7494
 
 
7495
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7496
 
 
7497
 
 
7498
 
  save_CXXFLAGS="$CXXFLAGS"
7499
 
  CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
7500
 
  cat >conftest.$ac_ext <<_ACEOF
7501
 
/* confdefs.h.  */
7502
 
_ACEOF
7503
 
cat confdefs.h >>conftest.$ac_ext
7504
 
cat >>conftest.$ac_ext <<_ACEOF
7505
 
/* end confdefs.h.  */
7506
 
 
7507
 
int
7508
 
main ()
7509
 
{
7510
 
 return 0;
7511
 
  ;
7512
 
  return 0;
7513
 
}
7514
 
_ACEOF
7515
 
rm -f conftest.$ac_objext conftest$ac_exeext
7516
 
if { (ac_try="$ac_link"
7517
 
case "(($ac_try" in
7518
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7519
 
  *) ac_try_echo=$ac_try;;
7520
 
esac
7521
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7522
 
$as_echo "$ac_try_echo") >&5
7523
 
  (eval "$ac_link") 2>conftest.er1
7524
 
  ac_status=$?
7525
 
  grep -v '^ *+' conftest.er1 >conftest.err
7526
 
  rm -f conftest.er1
7527
 
  cat conftest.err >&5
7528
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529
 
  (exit $ac_status); } && {
7530
 
         test -z "$ac_cxx_werror_flag" ||
7531
 
         test ! -s conftest.err
7532
 
       } && test -s conftest$ac_exeext && {
7533
 
         test "$cross_compiling" = yes ||
7534
 
         $as_test_x conftest$ac_exeext
7535
 
       }; then
7536
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7537
 
else
7538
 
  $as_echo "$as_me: failed program was:" >&5
7539
 
sed 's/^/| /' conftest.$ac_ext >&5
7540
 
 
7541
 
 
7542
 
fi
7543
 
 
7544
 
rm -rf conftest.dSYM
7545
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7546
 
      conftest$ac_exeext conftest.$ac_ext
7547
 
  CXXFLAGS="$save_CXXFLAGS"
7548
 
  ac_ext=c
7549
 
ac_cpp='$CPP $CPPFLAGS'
7550
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7551
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7552
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7553
 
 
7554
 
 
7555
 
fi
7556
 
 
7557
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7558
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
7559
 
$as_echo "yes" >&6; }
7560
 
 :
7561
 
 LDFLAGS_AS_NEEDED="-Wl,--as-needed"
7562
 
else
7563
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
7564
 
$as_echo "no" >&6; }
7565
 
 :
7566
 
 
7567
 
fi
7568
 
 
7569
 
  fi
7570
 
 
7571
 
 
7572
 
 
7573
 
 
7574
 
  # Check whether --enable-final was given.
7575
 
if test "${enable_final+set}" = set; then
7576
 
  enableval=$enable_final; kde_use_final=$enableval
7577
 
else
7578
 
  kde_use_final=no
7579
 
fi
7580
 
 
7581
 
 
7582
 
  if test "x$kde_use_final" = "xyes"; then
7583
 
      KDE_USE_FINAL_TRUE=""
7584
 
      KDE_USE_FINAL_FALSE="#"
7585
 
   else
7586
 
      KDE_USE_FINAL_TRUE="#"
7587
 
      KDE_USE_FINAL_FALSE=""
7588
 
  fi
7589
 
 
7590
 
 
7591
 
 
7592
 
 
7593
 
  # Check whether --enable-closure was given.
7594
 
if test "${enable_closure+set}" = set; then
7595
 
  enableval=$enable_closure; kde_use_closure=$enableval
7596
 
else
7597
 
  kde_use_closure=no
7598
 
fi
7599
 
 
7600
 
 
7601
 
  KDE_NO_UNDEFINED=""
7602
 
  if test "x$kde_use_closure" = "xyes"; then
7603
 
       KDE_USE_CLOSURE_TRUE=""
7604
 
       KDE_USE_CLOSURE_FALSE="#"
7605
 
#       CXXFLAGS="$CXXFLAGS $REPO"
7606
 
  else
7607
 
       KDE_USE_CLOSURE_TRUE="#"
7608
 
       KDE_USE_CLOSURE_FALSE=""
7609
 
       KDE_NO_UNDEFINED=""
7610
 
       case $host in
7611
 
         *-*-linux-gnu)
7612
 
 
7613
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
7614
 
$as_echo_n "checking whether $CXX supports -Wl,--no-undefined... " >&6; }
7615
 
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
7616
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7617
 
  $as_echo_n "(cached) " >&6
7618
 
else
7619
 
 
7620
 
 
7621
 
   ac_ext=cpp
7622
 
ac_cpp='$CXXCPP $CPPFLAGS'
7623
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7624
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7625
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7626
 
 
7627
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7628
 
 
7629
 
 
7630
 
  save_CXXFLAGS="$CXXFLAGS"
7631
 
  CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
7632
 
  cat >conftest.$ac_ext <<_ACEOF
7633
 
/* confdefs.h.  */
7634
 
_ACEOF
7635
 
cat confdefs.h >>conftest.$ac_ext
7636
 
cat >>conftest.$ac_ext <<_ACEOF
7637
 
/* end confdefs.h.  */
7638
 
 
7639
 
int
7640
 
main ()
7641
 
{
7642
 
 return 0;
7643
 
  ;
7644
 
  return 0;
7645
 
}
7646
 
_ACEOF
7647
 
rm -f conftest.$ac_objext conftest$ac_exeext
7648
 
if { (ac_try="$ac_link"
7649
 
case "(($ac_try" in
7650
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7651
 
  *) ac_try_echo=$ac_try;;
7652
 
esac
7653
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7654
 
$as_echo "$ac_try_echo") >&5
7655
 
  (eval "$ac_link") 2>conftest.er1
7656
 
  ac_status=$?
7657
 
  grep -v '^ *+' conftest.er1 >conftest.err
7658
 
  rm -f conftest.er1
7659
 
  cat conftest.err >&5
7660
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7661
 
  (exit $ac_status); } && {
7662
 
         test -z "$ac_cxx_werror_flag" ||
7663
 
         test ! -s conftest.err
7664
 
       } && test -s conftest$ac_exeext && {
7665
 
         test "$cross_compiling" = yes ||
7666
 
         $as_test_x conftest$ac_exeext
7667
 
       }; then
7668
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7669
 
else
7670
 
  $as_echo "$as_me: failed program was:" >&5
7671
 
sed 's/^/| /' conftest.$ac_ext >&5
7672
 
 
7673
 
 
7674
 
fi
7675
 
 
7676
 
rm -rf conftest.dSYM
7677
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7678
 
      conftest$ac_exeext conftest.$ac_ext
7679
 
  CXXFLAGS="$save_CXXFLAGS"
7680
 
  ac_ext=c
7681
 
ac_cpp='$CPP $CPPFLAGS'
7682
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7683
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7684
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7685
 
 
7686
 
 
7687
 
fi
7688
 
 
7689
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7690
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
7691
 
$as_echo "yes" >&6; }
7692
 
 :
7693
 
 
7694
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
7695
 
$as_echo_n "checking whether $CXX supports -Wl,--allow-shlib-undefined... " >&6; }
7696
 
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
7697
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7698
 
  $as_echo_n "(cached) " >&6
7699
 
else
7700
 
 
7701
 
 
7702
 
   ac_ext=cpp
7703
 
ac_cpp='$CXXCPP $CPPFLAGS'
7704
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7705
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7706
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7707
 
 
7708
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7709
 
 
7710
 
 
7711
 
  save_CXXFLAGS="$CXXFLAGS"
7712
 
  CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
7713
 
  cat >conftest.$ac_ext <<_ACEOF
7714
 
/* confdefs.h.  */
7715
 
_ACEOF
7716
 
cat confdefs.h >>conftest.$ac_ext
7717
 
cat >>conftest.$ac_ext <<_ACEOF
7718
 
/* end confdefs.h.  */
7719
 
 
7720
 
int
7721
 
main ()
7722
 
{
7723
 
 return 0;
7724
 
  ;
7725
 
  return 0;
7726
 
}
7727
 
_ACEOF
7728
 
rm -f conftest.$ac_objext conftest$ac_exeext
7729
 
if { (ac_try="$ac_link"
7730
 
case "(($ac_try" in
7731
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7732
 
  *) ac_try_echo=$ac_try;;
7733
 
esac
7734
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7735
 
$as_echo "$ac_try_echo") >&5
7736
 
  (eval "$ac_link") 2>conftest.er1
7737
 
  ac_status=$?
7738
 
  grep -v '^ *+' conftest.er1 >conftest.err
7739
 
  rm -f conftest.er1
7740
 
  cat conftest.err >&5
7741
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742
 
  (exit $ac_status); } && {
7743
 
         test -z "$ac_cxx_werror_flag" ||
7744
 
         test ! -s conftest.err
7745
 
       } && test -s conftest$ac_exeext && {
7746
 
         test "$cross_compiling" = yes ||
7747
 
         $as_test_x conftest$ac_exeext
7748
 
       }; then
7749
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7750
 
else
7751
 
  $as_echo "$as_me: failed program was:" >&5
7752
 
sed 's/^/| /' conftest.$ac_ext >&5
7753
 
 
7754
 
 
7755
 
fi
7756
 
 
7757
 
rm -rf conftest.dSYM
7758
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7759
 
      conftest$ac_exeext conftest.$ac_ext
7760
 
  CXXFLAGS="$save_CXXFLAGS"
7761
 
  ac_ext=c
7762
 
ac_cpp='$CPP $CPPFLAGS'
7763
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7764
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7765
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7766
 
 
7767
 
 
7768
 
fi
7769
 
 
7770
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7771
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
7772
 
$as_echo "yes" >&6; }
7773
 
 :
7774
 
 KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
7775
 
else
7776
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
7777
 
$as_echo "no" >&6; }
7778
 
 :
7779
 
 KDE_NO_UNDEFINED=""
7780
 
fi
7781
 
 
7782
 
else
7783
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
7784
 
$as_echo "no" >&6; }
7785
 
 :
7786
 
 KDE_NO_UNDEFINED=""
7787
 
fi
7788
 
 
7789
 
           ;;
7790
 
       esac
7791
 
  fi
7792
 
 
7793
 
 
7794
 
 
7795
 
 
7796
 
 
7797
 
  # Check whether --enable-nmcheck was given.
7798
 
if test "${enable_nmcheck+set}" = set; then
7799
 
  enableval=$enable_nmcheck; kde_use_nmcheck=$enableval
7800
 
else
7801
 
  kde_use_nmcheck=no
7802
 
fi
7803
 
 
7804
 
 
7805
 
  if test "$kde_use_nmcheck" = "yes"; then
7806
 
      KDE_USE_NMCHECK_TRUE=""
7807
 
      KDE_USE_NMCHECK_FALSE="#"
7808
 
   else
7809
 
      KDE_USE_NMCHECK_TRUE="#"
7810
 
      KDE_USE_NMCHECK_FALSE=""
7811
 
  fi
7812
 
 
7813
 
 
7814
 
 
7815
 
 
7816
 
 
7817
 
 
7818
 
# Check whether --enable-shared was given.
7819
 
if test "${enable_shared+set}" = set; then
7820
 
  enableval=$enable_shared; p=${PACKAGE-default}
7821
 
    case $enableval in
7822
 
    yes) enable_shared=yes ;;
7823
 
    no) enable_shared=no ;;
7824
 
    *)
7825
 
      enable_shared=no
7826
 
      # Look at the argument we got.  We use all the common list separators.
7827
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7828
 
      for pkg in $enableval; do
7829
 
        IFS="$lt_save_ifs"
7830
 
        if test "X$pkg" = "X$p"; then
7831
 
          enable_shared=yes
7832
 
        fi
7833
 
      done
7834
 
      IFS="$lt_save_ifs"
7835
 
      ;;
7836
 
    esac
7837
 
else
7838
 
  enable_shared=yes
7839
 
fi
7840
 
 
7841
 
 
7842
 
# Check whether --enable-static was given.
7843
 
if test "${enable_static+set}" = set; then
7844
 
  enableval=$enable_static; p=${PACKAGE-default}
7845
 
    case $enableval in
7846
 
    yes) enable_static=yes ;;
7847
 
    no) enable_static=no ;;
7848
 
    *)
7849
 
     enable_static=no
7850
 
      # Look at the argument we got.  We use all the common list separators.
7851
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7852
 
      for pkg in $enableval; do
7853
 
        IFS="$lt_save_ifs"
7854
 
        if test "X$pkg" = "X$p"; then
7855
 
          enable_static=yes
7856
 
        fi
7857
 
      done
7858
 
      IFS="$lt_save_ifs"
7859
 
      ;;
7860
 
    esac
7861
 
else
7862
 
  enable_static=no
7863
 
fi
7864
 
 
7865
 
 
7866
 
 
7867
 
 
7868
 
 
7869
 
    # Check whether --enable-libsuffix was given.
7870
 
if test "${enable_libsuffix+set}" = set; then
7871
 
  enableval=$enable_libsuffix; kdelibsuff=$enableval
7872
 
else
7873
 
  kdelibsuff="auto"
7874
 
fi
7875
 
 
7876
 
 
7877
 
    if test "$kdelibsuff" = "auto"; then
7878
 
 
7879
 
cat > conftest.c << EOF
7880
 
#include <stdio.h>
7881
 
int main() {
7882
 
 return 0;
7883
 
}
7884
 
EOF
7885
 
        kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
7886
 
    s,.*/lib\([^\/]*\)/.*,\1,
7887
 
    p
7888
 
}'`
7889
 
        rm -rf conftest.*
7890
 
    fi
7891
 
 
7892
 
    if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
7893
 
       kdelibsuff=
7894
 
    fi
7895
 
    if test -z "$kdelibsuff"; then
7896
 
        { $as_echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
7897
 
$as_echo "not using lib directory suffix" >&6; }
7898
 
 
7899
 
cat >>confdefs.h <<\_ACEOF
7900
 
#define KDELIBSUFF ""
7901
 
_ACEOF
7902
 
 
7903
 
    else
7904
 
        if test "$libdir" = '${exec_prefix}/lib'; then
7905
 
            libdir="$libdir${kdelibsuff}"
7906
 
            libdir="$libdir"
7907
 
          fi
7908
 
 
7909
 
cat >>confdefs.h <<_ACEOF
7910
 
#define KDELIBSUFF "${kdelibsuff}"
7911
 
_ACEOF
7912
 
 
7913
 
        { $as_echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
7914
 
$as_echo "using lib directory suffix $kdelibsuff" >&6; }
7915
 
    fi
7916
 
 
7917
 
# Check whether --enable-fast-install was given.
7918
 
if test "${enable_fast_install+set}" = set; then
7919
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7920
 
    case $enableval in
7921
 
    yes) enable_fast_install=yes ;;
7922
 
    no) enable_fast_install=no ;;
7923
 
    *)
7924
 
      enable_fast_install=no
7925
 
      # Look at the argument we got.  We use all the common list separators.
7926
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7927
 
      for pkg in $enableval; do
7928
 
        IFS="$lt_save_ifs"
7929
 
        if test "X$pkg" = "X$p"; then
7930
 
          enable_fast_install=yes
7931
 
        fi
7932
 
      done
7933
 
      IFS="$lt_save_ifs"
7934
 
      ;;
7935
 
    esac
7936
 
else
7937
 
  enable_fast_install=yes
7938
 
fi
7939
 
 
7940
 
 
7941
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7942
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
7943
 
if test "${lt_cv_path_SED+set}" = set; then
7944
 
  $as_echo_n "(cached) " >&6
7945
 
else
7946
 
  # Loop through the user's path and test for sed and gsed.
7947
 
# Then use that list of sed's as ones to test for truncation.
7948
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949
 
for as_dir in $PATH
7950
 
do
7951
 
  IFS=$as_save_IFS
7952
 
  test -z "$as_dir" && as_dir=.
7953
 
  for lt_ac_prog in sed gsed; do
7954
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7955
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7956
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7957
 
      fi
7958
 
    done
7959
 
  done
7960
 
done
7961
 
lt_ac_max=0
7962
 
lt_ac_count=0
7963
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7964
 
# along with /bin/sed that truncates output.
7965
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7966
 
  test ! -f $lt_ac_sed && break
7967
 
  cat /dev/null > conftest.in
7968
 
  lt_ac_count=0
7969
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7970
 
  # Check for GNU sed and select it if it is found.
7971
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7972
 
    lt_cv_path_SED=$lt_ac_sed
7973
 
    break
7974
 
  fi
7975
 
  while true; do
7976
 
    cat conftest.in conftest.in >conftest.tmp
7977
 
    mv conftest.tmp conftest.in
7978
 
    cp conftest.in conftest.nl
7979
 
    echo >>conftest.nl
7980
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7981
 
    cmp -s conftest.out conftest.nl || break
7982
 
    # 10000 chars as input seems more than enough
7983
 
    test $lt_ac_count -gt 10 && break
7984
 
    lt_ac_count=`expr $lt_ac_count + 1`
7985
 
    if test $lt_ac_count -gt $lt_ac_max; then
7986
 
      lt_ac_max=$lt_ac_count
7987
 
      lt_cv_path_SED=$lt_ac_sed
7988
 
    fi
7989
 
  done
7990
 
done
7991
 
 
7992
 
fi
7993
 
 
7994
 
SED=$lt_cv_path_SED
7995
 
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
7996
 
$as_echo "$SED" >&6; }
7997
 
 
7998
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7999
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
8000
 
if test "${ac_cv_path_GREP+set}" = set; then
8001
 
  $as_echo_n "(cached) " >&6
8002
 
else
8003
 
  if test -z "$GREP"; then
8004
 
  ac_path_GREP_found=false
8005
 
  # Loop through the user's path and test for each of PROGNAME-LIST
8006
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8008
 
do
8009
 
  IFS=$as_save_IFS
8010
 
  test -z "$as_dir" && as_dir=.
8011
 
  for ac_prog in grep ggrep; do
8012
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8013
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
8014
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
8015
 
# Check for GNU ac_path_GREP and select it if it is found.
8016
 
  # Check for GNU $ac_path_GREP
8017
 
case `"$ac_path_GREP" --version 2>&1` in
8018
 
*GNU*)
8019
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
8020
 
*)
8021
 
  ac_count=0
8022
 
  $as_echo_n 0123456789 >"conftest.in"
8023
 
  while :
8024
 
  do
8025
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
8026
 
    mv "conftest.tmp" "conftest.in"
8027
 
    cp "conftest.in" "conftest.nl"
8028
 
    $as_echo 'GREP' >> "conftest.nl"
8029
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8030
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8031
 
    ac_count=`expr $ac_count + 1`
8032
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
8033
 
      # Best one so far, save it but keep looking for a better one
8034
 
      ac_cv_path_GREP="$ac_path_GREP"
8035
 
      ac_path_GREP_max=$ac_count
8036
 
    fi
8037
 
    # 10*(2^10) chars as input seems more than enough
8038
 
    test $ac_count -gt 10 && break
8039
 
  done
8040
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8041
 
esac
8042
 
 
8043
 
      $ac_path_GREP_found && break 3
8044
 
    done
8045
 
  done
8046
 
done
8047
 
IFS=$as_save_IFS
8048
 
  if test -z "$ac_cv_path_GREP"; then
8049
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8050
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8051
 
   { (exit 1); exit 1; }; }
8052
 
  fi
8053
 
else
8054
 
  ac_cv_path_GREP=$GREP
8055
 
fi
8056
 
 
8057
 
fi
8058
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
8059
 
$as_echo "$ac_cv_path_GREP" >&6; }
8060
 
 GREP="$ac_cv_path_GREP"
8061
 
 
8062
 
 
8063
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
8064
 
$as_echo_n "checking for egrep... " >&6; }
8065
 
if test "${ac_cv_path_EGREP+set}" = set; then
8066
 
  $as_echo_n "(cached) " >&6
8067
 
else
8068
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
8069
 
   then ac_cv_path_EGREP="$GREP -E"
8070
 
   else
8071
 
     if test -z "$EGREP"; then
8072
 
  ac_path_EGREP_found=false
8073
 
  # Loop through the user's path and test for each of PROGNAME-LIST
8074
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8075
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8076
 
do
8077
 
  IFS=$as_save_IFS
8078
 
  test -z "$as_dir" && as_dir=.
8079
 
  for ac_prog in egrep; do
8080
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8081
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
8082
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
8083
 
# Check for GNU ac_path_EGREP and select it if it is found.
8084
 
  # Check for GNU $ac_path_EGREP
8085
 
case `"$ac_path_EGREP" --version 2>&1` in
8086
 
*GNU*)
8087
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
8088
 
*)
8089
 
  ac_count=0
8090
 
  $as_echo_n 0123456789 >"conftest.in"
8091
 
  while :
8092
 
  do
8093
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
8094
 
    mv "conftest.tmp" "conftest.in"
8095
 
    cp "conftest.in" "conftest.nl"
8096
 
    $as_echo 'EGREP' >> "conftest.nl"
8097
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8098
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8099
 
    ac_count=`expr $ac_count + 1`
8100
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8101
 
      # Best one so far, save it but keep looking for a better one
8102
 
      ac_cv_path_EGREP="$ac_path_EGREP"
8103
 
      ac_path_EGREP_max=$ac_count
8104
 
    fi
8105
 
    # 10*(2^10) chars as input seems more than enough
8106
 
    test $ac_count -gt 10 && break
8107
 
  done
8108
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8109
 
esac
8110
 
 
8111
 
      $ac_path_EGREP_found && break 3
8112
 
    done
8113
 
  done
8114
 
done
8115
 
IFS=$as_save_IFS
8116
 
  if test -z "$ac_cv_path_EGREP"; then
8117
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8118
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8119
 
   { (exit 1); exit 1; }; }
8120
 
  fi
8121
 
else
8122
 
  ac_cv_path_EGREP=$EGREP
8123
 
fi
8124
 
 
8125
 
   fi
8126
 
fi
8127
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
8128
 
$as_echo "$ac_cv_path_EGREP" >&6; }
8129
 
 EGREP="$ac_cv_path_EGREP"
8130
 
 
8131
 
 
8132
 
 
8133
 
# Check whether --with-gnu-ld was given.
8134
 
if test "${with_gnu_ld+set}" = set; then
8135
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
8136
 
else
8137
 
  with_gnu_ld=no
8138
 
fi
8139
 
 
8140
 
ac_prog=ld
8141
 
if test "$GCC" = yes; then
8142
 
  # Check if gcc -print-prog-name=ld gives a path.
8143
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
8144
 
$as_echo_n "checking for ld used by $CC... " >&6; }
8145
 
  case $host in
8146
 
  *-*-mingw*)
8147
 
    # gcc leaves a trailing carriage return which upsets mingw
8148
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8149
 
  *)
8150
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8151
 
  esac
8152
 
  case $ac_prog in
8153
 
    # Accept absolute paths.
8154
 
    [\\/]* | ?:[\\/]*)
8155
 
      re_direlt='/[^/][^/]*/\.\./'
8156
 
      # Canonicalize the pathname of ld
8157
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
8158
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
8159
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
8160
 
      done
8161
 
      test -z "$LD" && LD="$ac_prog"
8162
 
      ;;
8163
 
  "")
8164
 
    # If it fails, then pretend we aren't using GCC.
8165
 
    ac_prog=ld
8166
 
    ;;
8167
 
  *)
8168
 
    # If it is relative, then search for the first ld in PATH.
8169
 
    with_gnu_ld=unknown
8170
 
    ;;
8171
 
  esac
8172
 
elif test "$with_gnu_ld" = yes; then
8173
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
8174
 
$as_echo_n "checking for GNU ld... " >&6; }
8175
 
else
8176
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8177
 
$as_echo_n "checking for non-GNU ld... " >&6; }
8178
 
fi
8179
 
if test "${lt_cv_path_LD+set}" = set; then
8180
 
  $as_echo_n "(cached) " >&6
8181
 
else
8182
 
  if test -z "$LD"; then
8183
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8184
 
  for ac_dir in $PATH; do
8185
 
    IFS="$lt_save_ifs"
8186
 
    test -z "$ac_dir" && ac_dir=.
8187
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8188
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
8189
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
8190
 
      # but apparently some GNU ld's only accept -v.
8191
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
8192
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8193
 
      *GNU* | *'with BFD'*)
8194
 
        test "$with_gnu_ld" != no && break
8195
 
        ;;
8196
 
      *)
8197
 
        test "$with_gnu_ld" != yes && break
8198
 
        ;;
8199
 
      esac
8200
 
    fi
8201
 
  done
8202
 
  IFS="$lt_save_ifs"
8203
 
else
8204
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
8205
 
fi
8206
 
fi
8207
 
 
8208
 
LD="$lt_cv_path_LD"
8209
 
if test -n "$LD"; then
8210
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
8211
 
$as_echo "$LD" >&6; }
8212
 
else
8213
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8214
 
$as_echo "no" >&6; }
8215
 
fi
8216
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8217
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8218
 
   { (exit 1); exit 1; }; }
8219
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8220
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
8221
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
8222
 
  $as_echo_n "(cached) " >&6
8223
 
else
8224
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8225
 
case `$LD -v 2>&1 </dev/null` in
8226
 
*GNU* | *'with BFD'*)
8227
 
  lt_cv_prog_gnu_ld=yes
8228
 
  ;;
8229
 
*)
8230
 
  lt_cv_prog_gnu_ld=no
8231
 
  ;;
8232
 
esac
8233
 
fi
8234
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8235
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
8236
 
with_gnu_ld=$lt_cv_prog_gnu_ld
8237
 
 
8238
 
 
8239
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8240
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
8241
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
8242
 
  $as_echo_n "(cached) " >&6
8243
 
else
8244
 
  lt_cv_ld_reload_flag='-r'
8245
 
fi
8246
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8247
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
8248
 
reload_flag=$lt_cv_ld_reload_flag
8249
 
case $reload_flag in
8250
 
"" | " "*) ;;
8251
 
*) reload_flag=" $reload_flag" ;;
8252
 
esac
8253
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
8254
 
 
8255
 
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
8256
 
$as_echo_n "checking for BSD-compatible nm... " >&6; }
8257
 
if test "${lt_cv_path_NM+set}" = set; then
8258
 
  $as_echo_n "(cached) " >&6
8259
 
else
8260
 
  if test -n "$NM"; then
8261
 
  # Let the user override the test.
8262
 
  lt_cv_path_NM="$NM"
8263
 
else
8264
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8265
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
8266
 
    IFS="$lt_save_ifs"
8267
 
    test -z "$ac_dir" && ac_dir=.
8268
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
8269
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8270
 
      # Check to see if the nm accepts a BSD-compat flag.
8271
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8272
 
      #   nm: unknown option "B" ignored
8273
 
      # Tru64's nm complains that /dev/null is an invalid object file
8274
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8275
 
      */dev/null* | *'Invalid file or object type'*)
8276
 
        lt_cv_path_NM="$tmp_nm -B"
8277
 
        break
8278
 
        ;;
8279
 
      *)
8280
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8281
 
        */dev/null*)
8282
 
          lt_cv_path_NM="$tmp_nm -p"
8283
 
          break
8284
 
          ;;
8285
 
        *)
8286
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8287
 
          continue # so that we can try to find one that supports BSD flags
8288
 
          ;;
8289
 
        esac
8290
 
      esac
8291
 
    fi
8292
 
  done
8293
 
  IFS="$lt_save_ifs"
8294
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8295
 
fi
8296
 
fi
8297
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8298
 
$as_echo "$lt_cv_path_NM" >&6; }
8299
 
NM="$lt_cv_path_NM"
8300
 
 
8301
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
8302
 
$as_echo_n "checking whether ln -s works... " >&6; }
8303
 
LN_S=$as_ln_s
8304
 
if test "$LN_S" = "ln -s"; then
8305
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
8306
 
$as_echo "yes" >&6; }
8307
 
else
8308
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8309
 
$as_echo "no, using $LN_S" >&6; }
8310
 
fi
8311
 
 
8312
 
{ $as_echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
8313
 
$as_echo_n "checking how to recognise dependent libraries... " >&6; }
8314
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
8315
 
  $as_echo_n "(cached) " >&6
8316
 
else
8317
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
8318
 
lt_cv_file_magic_test_file=
8319
 
lt_cv_deplibs_check_method='unknown'
8320
 
# Need to set the preceding variable on all platforms that support
8321
 
# interlibrary dependencies.
8322
 
# 'none' -- dependencies not supported.
8323
 
# `unknown' -- same as none, but documents that we really don't know.
8324
 
# 'pass_all' -- all dependencies passed with no checks.
8325
 
# 'test_compile' -- check by making test program.
8326
 
# 'file_magic [[regex]]' -- check by looking for files in library path
8327
 
# which responds to the $file_magic_cmd with a given extended regex.
8328
 
# If you have `file' or equivalent on your system and you're not sure
8329
 
# whether `pass_all' will *always* work, you probably want this one.
8330
 
 
8331
 
case $host_os in
8332
 
aix4* | aix5*)
8333
 
  lt_cv_deplibs_check_method=pass_all
8334
 
  ;;
8335
 
 
8336
 
beos*)
8337
 
  lt_cv_deplibs_check_method=pass_all
8338
 
  ;;
8339
 
 
8340
 
bsdi4*)
8341
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8342
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
8343
 
  lt_cv_file_magic_test_file=/shlib/libc.so
8344
 
  ;;
8345
 
 
8346
 
cygwin*)
8347
 
  lt_cv_deplibs_check_method=pass_all
8348
 
  ;;
8349
 
 
8350
 
mingw* | pw32*)
8351
 
  # win32_libid is a shell function defined in ltmain.sh
8352
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8353
 
  lt_cv_file_magic_cmd='win32_libid'
8354
 
  ;;
8355
 
 
8356
 
darwin* | rhapsody*)
8357
 
  # this will be overwritten by pass_all, but leave it in just in case
8358
 
  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
8359
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
8360
 
  case "$host_os" in
8361
 
  rhapsody* | darwin1.[012])
8362
 
    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
8363
 
    ;;
8364
 
  *) # Darwin 1.3 on
8365
 
    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
8366
 
    ;;
8367
 
  esac
8368
 
  lt_cv_deplibs_check_method=pass_all
8369
 
  ;;
8370
 
 
8371
 
freebsd* | kfreebsd*-gnu)
8372
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8373
 
    case $host_cpu in
8374
 
    i*86 )
8375
 
      # Not sure whether the presence of OpenBSD here was a mistake.
8376
 
      # Let's accept both of them until this is cleared up.
8377
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
8378
 
      lt_cv_file_magic_cmd=/usr/bin/file
8379
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8380
 
      ;;
8381
 
    esac
8382
 
  else
8383
 
    lt_cv_deplibs_check_method=pass_all
8384
 
  fi
8385
 
  ;;
8386
 
 
8387
 
gnu*)
8388
 
  lt_cv_deplibs_check_method=pass_all
8389
 
  ;;
8390
 
 
8391
 
hpux10.20* | hpux11*)
8392
 
  lt_cv_file_magic_cmd=/usr/bin/file
8393
 
  case "$host_cpu" in
8394
 
  ia64*)
8395
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8396
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8397
 
    ;;
8398
 
  hppa*64*)
8399
 
    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]'
8400
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8401
 
    ;;
8402
 
  *)
8403
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8404
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
8405
 
    ;;
8406
 
  esac
8407
 
  ;;
8408
 
 
8409
 
irix5* | irix6* | nonstopux*)
8410
 
  case $host_os in
8411
 
  irix5* | nonstopux*)
8412
 
    # this will be overridden with pass_all, but let us keep it just in case
8413
 
    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
8414
 
    ;;
8415
 
  *)
8416
 
    case $LD in
8417
 
    *-32|*"-32 ") libmagic=32-bit;;
8418
 
    *-n32|*"-n32 ") libmagic=N32;;
8419
 
    *-64|*"-64 ") libmagic=64-bit;;
8420
 
    *) libmagic=never-match;;
8421
 
    esac
8422
 
    # this will be overridden with pass_all, but let us keep it just in case
8423
 
    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
8424
 
    ;;
8425
 
  esac
8426
 
  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
8427
 
  lt_cv_deplibs_check_method=pass_all
8428
 
  ;;
8429
 
 
8430
 
# This must be Linux ELF.
8431
 
linux*)
8432
 
  case $host_cpu in
8433
 
  alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
8434
 
    lt_cv_deplibs_check_method=pass_all ;;
8435
 
  # the debian people say, arm and glibc 2.3.1 works for them with pass_all
8436
 
  arm* )
8437
 
    lt_cv_deplibs_check_method=pass_all ;;
8438
 
  *)
8439
 
    # glibc up to 2.1.1 does not perform some relocations on ARM
8440
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
8441
 
  esac
8442
 
  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
8443
 
  ;;
8444
 
 
8445
 
netbsd*)
8446
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8447
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8448
 
  else
8449
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8450
 
  fi
8451
 
  ;;
8452
 
 
8453
 
newos6*)
8454
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8455
 
  lt_cv_file_magic_cmd=/usr/bin/file
8456
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
8457
 
  ;;
8458
 
 
8459
 
nto-qnx*)
8460
 
  lt_cv_deplibs_check_method=unknown
8461
 
  ;;
8462
 
 
8463
 
openbsd*)
8464
 
  lt_cv_file_magic_cmd=/usr/bin/file
8465
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8466
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8467
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
8468
 
  else
8469
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
8470
 
  fi
8471
 
  ;;
8472
 
 
8473
 
osf3* | osf4* | osf5*)
8474
 
  # this will be overridden with pass_all, but let us keep it just in case
8475
 
  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
8476
 
  lt_cv_file_magic_test_file=/shlib/libc.so
8477
 
  lt_cv_deplibs_check_method=pass_all
8478
 
  ;;
8479
 
 
8480
 
sco3.2v5*)
8481
 
  lt_cv_deplibs_check_method=pass_all
8482
 
  ;;
8483
 
 
8484
 
solaris*)
8485
 
  lt_cv_deplibs_check_method=pass_all
8486
 
  lt_cv_file_magic_test_file=/lib/libc.so
8487
 
  ;;
8488
 
 
8489
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8490
 
  case $host_vendor in
8491
 
  motorola)
8492
 
    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]'
8493
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8494
 
    ;;
8495
 
  ncr)
8496
 
    lt_cv_deplibs_check_method=pass_all
8497
 
    ;;
8498
 
  sequent)
8499
 
    lt_cv_file_magic_cmd='/bin/file'
8500
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8501
 
    ;;
8502
 
  sni)
8503
 
    lt_cv_file_magic_cmd='/bin/file'
8504
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8505
 
    lt_cv_file_magic_test_file=/lib/libc.so
8506
 
    ;;
8507
 
  siemens)
8508
 
    lt_cv_deplibs_check_method=pass_all
8509
 
    ;;
8510
 
  esac
8511
 
  ;;
8512
 
 
8513
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
8514
 
  lt_cv_deplibs_check_method=pass_all
8515
 
  ;;
8516
 
esac
8517
 
 
8518
 
fi
8519
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8520
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
8521
 
file_magic_cmd=$lt_cv_file_magic_cmd
8522
 
deplibs_check_method=$lt_cv_deplibs_check_method
8523
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8524
 
 
8525
 
 
8526
 
# If no C compiler was specified, use CC.
8527
 
LTCC=${LTCC-"$CC"}
8528
 
 
8529
 
# Allow CC to be a program name with arguments.
8530
 
compiler=$CC
8531
 
 
8532
 
# Check whether --enable-libtool-lock was given.
8533
 
if test "${enable_libtool_lock+set}" = set; then
8534
 
  enableval=$enable_libtool_lock;
8535
 
fi
8536
 
 
8537
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8538
 
 
8539
 
# Some flags need to be propagated to the compiler or linker for good
8540
 
# libtool support.
8541
 
case $host in
8542
 
ia64-*-hpux*)
8543
 
  # Find out which ABI we are using.
8544
 
  echo 'int i;' > conftest.$ac_ext
8545
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8546
 
  (eval $ac_compile) 2>&5
8547
 
  ac_status=$?
8548
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549
 
  (exit $ac_status); }; then
8550
 
    case `/usr/bin/file conftest.$ac_objext` in
8551
 
    *ELF-32*)
8552
 
      HPUX_IA64_MODE="32"
8553
 
      ;;
8554
 
    *ELF-64*)
8555
 
      HPUX_IA64_MODE="64"
8556
 
      ;;
8557
 
    esac
8558
 
  fi
8559
 
  rm -rf conftest*
8560
 
  ;;
8561
 
*-*-irix6*)
8562
 
  # Find out which ABI we are using.
8563
 
  echo '#line 8563 "configure"' > conftest.$ac_ext
8564
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8565
 
  (eval $ac_compile) 2>&5
8566
 
  ac_status=$?
8567
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568
 
  (exit $ac_status); }; then
8569
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
8570
 
    case `/usr/bin/file conftest.$ac_objext` in
8571
 
    *32-bit*)
8572
 
      LD="${LD-ld} -melf32bsmip"
8573
 
      ;;
8574
 
    *N32*)
8575
 
      LD="${LD-ld} -melf32bmipn32"
8576
 
      ;;
8577
 
    *64-bit*)
8578
 
      LD="${LD-ld} -melf64bmip"
8579
 
      ;;
8580
 
    esac
8581
 
   else
8582
 
    case `/usr/bin/file conftest.$ac_objext` in
8583
 
    *32-bit*)
8584
 
      LD="${LD-ld} -32"
8585
 
      ;;
8586
 
    *N32*)
8587
 
      LD="${LD-ld} -n32"
8588
 
      ;;
8589
 
    *64-bit*)
8590
 
      LD="${LD-ld} -64"
8591
 
      ;;
8592
 
    esac
8593
 
   fi
8594
 
  fi
8595
 
  rm -rf conftest*
8596
 
  ;;
8597
 
 
8598
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
8599
 
  # Find out which ABI we are using.
8600
 
  echo 'int i;' > conftest.$ac_ext
8601
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8602
 
  (eval $ac_compile) 2>&5
8603
 
  ac_status=$?
8604
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605
 
  (exit $ac_status); }; then
8606
 
    case "`/usr/bin/file conftest.o`" in
8607
 
    *32-bit*)
8608
 
      LINUX_64_MODE="32"
8609
 
      case $host in
8610
 
        x86_64-*linux*)
8611
 
          LD="${LD-ld} -m elf_i386"
8612
 
          ;;
8613
 
        ppc64-*linux*)
8614
 
          LD="${LD-ld} -m elf32ppclinux"
8615
 
          ;;
8616
 
        s390x-*linux*)
8617
 
          LD="${LD-ld} -m elf_s390"
8618
 
          ;;
8619
 
        sparc64-*linux*)
8620
 
          LD="${LD-ld} -m elf32_sparc"
8621
 
          ;;
8622
 
      esac
8623
 
      ;;
8624
 
    *64-bit*)
8625
 
      LINUX_64_MODE="64"
8626
 
      case $host in
8627
 
        x86_64-*linux*)
8628
 
          LD="${LD-ld} -m elf_x86_64"
8629
 
          ;;
8630
 
        ppc*-*linux*|powerpc*-*linux*)
8631
 
          LD="${LD-ld} -m elf64ppc"
8632
 
          ;;
8633
 
        s390*-*linux*)
8634
 
          LD="${LD-ld} -m elf64_s390"
8635
 
          ;;
8636
 
        sparc*-*linux*)
8637
 
          LD="${LD-ld} -m elf64_sparc"
8638
 
          ;;
8639
 
      esac
8640
 
      ;;
8641
 
    esac
8642
 
  fi
8643
 
  rm -rf conftest*
8644
 
  ;;
8645
 
 
8646
 
*-*-sco3.2v5*)
8647
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8648
 
  SAVE_CFLAGS="$CFLAGS"
8649
 
  CFLAGS="$CFLAGS -belf"
8650
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8651
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8652
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
8653
 
  $as_echo_n "(cached) " >&6
8654
 
else
8655
 
  ac_ext=c
8656
 
ac_cpp='$CPP $CPPFLAGS'
8657
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8658
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8659
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8660
 
 
8661
 
     cat >conftest.$ac_ext <<_ACEOF
8662
 
/* confdefs.h.  */
8663
 
_ACEOF
8664
 
cat confdefs.h >>conftest.$ac_ext
8665
 
cat >>conftest.$ac_ext <<_ACEOF
8666
 
/* end confdefs.h.  */
8667
 
 
8668
 
int
8669
 
main ()
8670
 
{
8671
 
 
8672
 
  ;
8673
 
  return 0;
8674
 
}
8675
 
_ACEOF
8676
 
rm -f conftest.$ac_objext conftest$ac_exeext
8677
 
if { (ac_try="$ac_link"
8678
 
case "(($ac_try" in
8679
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8680
 
  *) ac_try_echo=$ac_try;;
8681
 
esac
8682
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8683
 
$as_echo "$ac_try_echo") >&5
8684
 
  (eval "$ac_link") 2>conftest.er1
8685
 
  ac_status=$?
8686
 
  grep -v '^ *+' conftest.er1 >conftest.err
8687
 
  rm -f conftest.er1
8688
 
  cat conftest.err >&5
8689
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690
 
  (exit $ac_status); } && {
8691
 
         test -z "$ac_c_werror_flag" ||
8692
 
         test ! -s conftest.err
8693
 
       } && test -s conftest$ac_exeext && {
8694
 
         test "$cross_compiling" = yes ||
8695
 
         $as_test_x conftest$ac_exeext
8696
 
       }; then
8697
 
  lt_cv_cc_needs_belf=yes
8698
 
else
8699
 
  $as_echo "$as_me: failed program was:" >&5
8700
 
sed 's/^/| /' conftest.$ac_ext >&5
8701
 
 
8702
 
        lt_cv_cc_needs_belf=no
8703
 
fi
8704
 
 
8705
 
rm -rf conftest.dSYM
8706
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8707
 
      conftest$ac_exeext conftest.$ac_ext
8708
 
     ac_ext=c
8709
 
ac_cpp='$CPP $CPPFLAGS'
8710
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8711
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8712
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8713
 
 
8714
 
fi
8715
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8716
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8717
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8718
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8719
 
    CFLAGS="$SAVE_CFLAGS"
8720
 
  fi
8721
 
  ;;
8722
 
 
8723
 
esac
8724
 
 
8725
 
need_locks="$enable_libtool_lock"
8726
 
 
8727
 
 
8728
 
 
8729
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8730
 
$as_echo_n "checking for ANSI C header files... " >&6; }
8731
 
if test "${ac_cv_header_stdc+set}" = set; then
8732
 
  $as_echo_n "(cached) " >&6
8733
 
else
8734
 
  cat >conftest.$ac_ext <<_ACEOF
8735
 
/* confdefs.h.  */
8736
 
_ACEOF
8737
 
cat confdefs.h >>conftest.$ac_ext
8738
 
cat >>conftest.$ac_ext <<_ACEOF
8739
 
/* end confdefs.h.  */
8740
 
#include <stdlib.h>
8741
 
#include <stdarg.h>
8742
 
#include <string.h>
8743
 
#include <float.h>
8744
 
 
8745
 
int
8746
 
main ()
8747
 
{
8748
 
 
8749
 
  ;
8750
 
  return 0;
8751
 
}
8752
 
_ACEOF
8753
 
rm -f conftest.$ac_objext
8754
 
if { (ac_try="$ac_compile"
8755
 
case "(($ac_try" in
8756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757
 
  *) ac_try_echo=$ac_try;;
8758
 
esac
8759
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8760
 
$as_echo "$ac_try_echo") >&5
8761
 
  (eval "$ac_compile") 2>conftest.er1
8762
 
  ac_status=$?
8763
 
  grep -v '^ *+' conftest.er1 >conftest.err
8764
 
  rm -f conftest.er1
8765
 
  cat conftest.err >&5
8766
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767
 
  (exit $ac_status); } && {
8768
 
         test -z "$ac_c_werror_flag" ||
8769
 
         test ! -s conftest.err
8770
 
       } && test -s conftest.$ac_objext; then
8771
 
  ac_cv_header_stdc=yes
8772
 
else
8773
 
  $as_echo "$as_me: failed program was:" >&5
8774
 
sed 's/^/| /' conftest.$ac_ext >&5
8775
 
 
8776
 
        ac_cv_header_stdc=no
8777
 
fi
8778
 
 
8779
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8780
 
 
8781
 
if test $ac_cv_header_stdc = yes; then
8782
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8783
 
  cat >conftest.$ac_ext <<_ACEOF
8784
 
/* confdefs.h.  */
8785
 
_ACEOF
8786
 
cat confdefs.h >>conftest.$ac_ext
8787
 
cat >>conftest.$ac_ext <<_ACEOF
8788
 
/* end confdefs.h.  */
8789
 
#include <string.h>
8790
 
 
8791
 
_ACEOF
8792
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8793
 
  $EGREP "memchr" >/dev/null 2>&1; then
8794
 
  :
8795
 
else
8796
 
  ac_cv_header_stdc=no
8797
 
fi
8798
 
rm -f conftest*
8799
 
 
8800
 
fi
8801
 
 
8802
 
if test $ac_cv_header_stdc = yes; then
8803
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8804
 
  cat >conftest.$ac_ext <<_ACEOF
8805
 
/* confdefs.h.  */
8806
 
_ACEOF
8807
 
cat confdefs.h >>conftest.$ac_ext
8808
 
cat >>conftest.$ac_ext <<_ACEOF
8809
 
/* end confdefs.h.  */
8810
 
#include <stdlib.h>
8811
 
 
8812
 
_ACEOF
8813
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8814
 
  $EGREP "free" >/dev/null 2>&1; then
8815
 
  :
8816
 
else
8817
 
  ac_cv_header_stdc=no
8818
 
fi
8819
 
rm -f conftest*
8820
 
 
8821
 
fi
8822
 
 
8823
 
if test $ac_cv_header_stdc = yes; then
8824
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8825
 
  if test "$cross_compiling" = yes; then
8826
 
  :
8827
 
else
8828
 
  cat >conftest.$ac_ext <<_ACEOF
8829
 
/* confdefs.h.  */
8830
 
_ACEOF
8831
 
cat confdefs.h >>conftest.$ac_ext
8832
 
cat >>conftest.$ac_ext <<_ACEOF
8833
 
/* end confdefs.h.  */
8834
 
#include <ctype.h>
8835
 
#include <stdlib.h>
8836
 
#if ((' ' & 0x0FF) == 0x020)
8837
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8838
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8839
 
#else
8840
 
# define ISLOWER(c) \
8841
 
                   (('a' <= (c) && (c) <= 'i') \
8842
 
                     || ('j' <= (c) && (c) <= 'r') \
8843
 
                     || ('s' <= (c) && (c) <= 'z'))
8844
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8845
 
#endif
8846
 
 
8847
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8848
 
int
8849
 
main ()
8850
 
{
8851
 
  int i;
8852
 
  for (i = 0; i < 256; i++)
8853
 
    if (XOR (islower (i), ISLOWER (i))
8854
 
        || toupper (i) != TOUPPER (i))
8855
 
      return 2;
8856
 
  return 0;
8857
 
}
8858
 
_ACEOF
8859
 
rm -f conftest$ac_exeext
8860
 
if { (ac_try="$ac_link"
8861
 
case "(($ac_try" in
8862
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8863
 
  *) ac_try_echo=$ac_try;;
8864
 
esac
8865
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8866
 
$as_echo "$ac_try_echo") >&5
8867
 
  (eval "$ac_link") 2>&5
8868
 
  ac_status=$?
8869
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8871
 
  { (case "(($ac_try" in
8872
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8873
 
  *) ac_try_echo=$ac_try;;
8874
 
esac
8875
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8876
 
$as_echo "$ac_try_echo") >&5
8877
 
  (eval "$ac_try") 2>&5
8878
 
  ac_status=$?
8879
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880
 
  (exit $ac_status); }; }; then
8881
 
  :
8882
 
else
8883
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
8884
 
$as_echo "$as_me: failed program was:" >&5
8885
 
sed 's/^/| /' conftest.$ac_ext >&5
8886
 
 
8887
 
( exit $ac_status )
8888
 
ac_cv_header_stdc=no
8889
 
fi
8890
 
rm -rf conftest.dSYM
8891
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8892
 
fi
8893
 
 
8894
 
 
8895
 
fi
8896
 
fi
8897
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8898
 
$as_echo "$ac_cv_header_stdc" >&6; }
8899
 
if test $ac_cv_header_stdc = yes; then
8900
 
 
8901
 
cat >>confdefs.h <<\_ACEOF
8902
 
#define STDC_HEADERS 1
8903
 
_ACEOF
8904
 
 
8905
 
fi
8906
 
 
8907
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8908
 
 
8909
 
 
8910
 
 
8911
 
 
8912
 
 
8913
 
 
8914
 
 
8915
 
 
8916
 
 
8917
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8918
 
                  inttypes.h stdint.h unistd.h
8919
 
do
8920
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8921
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8922
 
$as_echo_n "checking for $ac_header... " >&6; }
8923
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8924
 
  $as_echo_n "(cached) " >&6
8925
 
else
8926
 
  cat >conftest.$ac_ext <<_ACEOF
8927
 
/* confdefs.h.  */
8928
 
_ACEOF
8929
 
cat confdefs.h >>conftest.$ac_ext
8930
 
cat >>conftest.$ac_ext <<_ACEOF
8931
 
/* end confdefs.h.  */
8932
 
$ac_includes_default
8933
 
 
8934
 
#include <$ac_header>
8935
 
_ACEOF
8936
 
rm -f conftest.$ac_objext
8937
 
if { (ac_try="$ac_compile"
8938
 
case "(($ac_try" in
8939
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8940
 
  *) ac_try_echo=$ac_try;;
8941
 
esac
8942
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8943
 
$as_echo "$ac_try_echo") >&5
8944
 
  (eval "$ac_compile") 2>conftest.er1
8945
 
  ac_status=$?
8946
 
  grep -v '^ *+' conftest.er1 >conftest.err
8947
 
  rm -f conftest.er1
8948
 
  cat conftest.err >&5
8949
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950
 
  (exit $ac_status); } && {
8951
 
         test -z "$ac_c_werror_flag" ||
8952
 
         test ! -s conftest.err
8953
 
       } && test -s conftest.$ac_objext; then
8954
 
  eval "$as_ac_Header=yes"
8955
 
else
8956
 
  $as_echo "$as_me: failed program was:" >&5
8957
 
sed 's/^/| /' conftest.$ac_ext >&5
8958
 
 
8959
 
        eval "$as_ac_Header=no"
8960
 
fi
8961
 
 
8962
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8963
 
fi
8964
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
8965
 
                 $as_echo "$as_val"'`
8966
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8967
 
$as_echo "$ac_res" >&6; }
8968
 
if test `eval 'as_val=${'$as_ac_Header'}
8969
 
                 $as_echo "$as_val"'` = yes; then
8970
 
  cat >>confdefs.h <<_ACEOF
8971
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8972
 
_ACEOF
8973
 
 
8974
 
fi
8975
 
 
8976
 
done
8977
 
 
8978
 
 
8979
 
 
8980
 
for ac_header in dlfcn.h
8981
 
do
8982
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8983
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8984
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8985
 
$as_echo_n "checking for $ac_header... " >&6; }
8986
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8987
 
  $as_echo_n "(cached) " >&6
8988
 
fi
8989
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
8990
 
                 $as_echo "$as_val"'`
8991
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8992
 
$as_echo "$ac_res" >&6; }
8993
 
else
8994
 
  # Is the header compilable?
8995
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8996
 
$as_echo_n "checking $ac_header usability... " >&6; }
8997
 
cat >conftest.$ac_ext <<_ACEOF
8998
 
/* confdefs.h.  */
8999
 
_ACEOF
9000
 
cat confdefs.h >>conftest.$ac_ext
9001
 
cat >>conftest.$ac_ext <<_ACEOF
9002
 
/* end confdefs.h.  */
9003
 
$ac_includes_default
9004
 
#include <$ac_header>
9005
 
_ACEOF
9006
 
rm -f conftest.$ac_objext
9007
 
if { (ac_try="$ac_compile"
9008
 
case "(($ac_try" in
9009
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9010
 
  *) ac_try_echo=$ac_try;;
9011
 
esac
9012
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9013
 
$as_echo "$ac_try_echo") >&5
9014
 
  (eval "$ac_compile") 2>conftest.er1
9015
 
  ac_status=$?
9016
 
  grep -v '^ *+' conftest.er1 >conftest.err
9017
 
  rm -f conftest.er1
9018
 
  cat conftest.err >&5
9019
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020
 
  (exit $ac_status); } && {
9021
 
         test -z "$ac_c_werror_flag" ||
9022
 
         test ! -s conftest.err
9023
 
       } && test -s conftest.$ac_objext; then
9024
 
  ac_header_compiler=yes
9025
 
else
9026
 
  $as_echo "$as_me: failed program was:" >&5
9027
 
sed 's/^/| /' conftest.$ac_ext >&5
9028
 
 
9029
 
        ac_header_compiler=no
9030
 
fi
9031
 
 
9032
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9033
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9034
 
$as_echo "$ac_header_compiler" >&6; }
9035
 
 
9036
 
# Is the header present?
9037
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9038
 
$as_echo_n "checking $ac_header presence... " >&6; }
9039
 
cat >conftest.$ac_ext <<_ACEOF
9040
 
/* confdefs.h.  */
9041
 
_ACEOF
9042
 
cat confdefs.h >>conftest.$ac_ext
9043
 
cat >>conftest.$ac_ext <<_ACEOF
9044
 
/* end confdefs.h.  */
9045
 
#include <$ac_header>
9046
 
_ACEOF
9047
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9048
 
case "(($ac_try" in
9049
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9050
 
  *) ac_try_echo=$ac_try;;
9051
 
esac
9052
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9053
 
$as_echo "$ac_try_echo") >&5
9054
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9055
 
  ac_status=$?
9056
 
  grep -v '^ *+' conftest.er1 >conftest.err
9057
 
  rm -f conftest.er1
9058
 
  cat conftest.err >&5
9059
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060
 
  (exit $ac_status); } >/dev/null && {
9061
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9062
 
         test ! -s conftest.err
9063
 
       }; then
9064
 
  ac_header_preproc=yes
9065
 
else
9066
 
  $as_echo "$as_me: failed program was:" >&5
9067
 
sed 's/^/| /' conftest.$ac_ext >&5
9068
 
 
9069
 
  ac_header_preproc=no
9070
 
fi
9071
 
 
9072
 
rm -f conftest.err conftest.$ac_ext
9073
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9074
 
$as_echo "$ac_header_preproc" >&6; }
9075
 
 
9076
 
# So?  What about this header?
9077
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9078
 
  yes:no: )
9079
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9080
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9081
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9082
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9083
 
    ac_header_preproc=yes
9084
 
    ;;
9085
 
  no:yes:* )
9086
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9087
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9088
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9089
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9090
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9091
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9092
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9093
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9094
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9095
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9096
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9097
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9098
 
 
9099
 
    ;;
9100
 
esac
9101
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9102
 
$as_echo_n "checking for $ac_header... " >&6; }
9103
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9104
 
  $as_echo_n "(cached) " >&6
9105
 
else
9106
 
  eval "$as_ac_Header=\$ac_header_preproc"
9107
 
fi
9108
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
9109
 
                 $as_echo "$as_val"'`
9110
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9111
 
$as_echo "$ac_res" >&6; }
9112
 
 
9113
 
fi
9114
 
if test `eval 'as_val=${'$as_ac_Header'}
9115
 
                 $as_echo "$as_val"'` = yes; then
9116
 
  cat >>confdefs.h <<_ACEOF
9117
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9118
 
_ACEOF
9119
 
 
9120
 
fi
9121
 
 
9122
 
done
9123
 
 
9124
 
ac_ext=f
9125
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
9126
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9127
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
9128
 
if test -n "$ac_tool_prefix"; then
9129
 
  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
9130
 
  do
9131
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9132
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9133
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9134
 
$as_echo_n "checking for $ac_word... " >&6; }
9135
 
if test "${ac_cv_prog_F77+set}" = set; then
9136
 
  $as_echo_n "(cached) " >&6
9137
 
else
9138
 
  if test -n "$F77"; then
9139
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
9140
 
else
9141
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9142
 
for as_dir in $PATH
9143
 
do
9144
 
  IFS=$as_save_IFS
9145
 
  test -z "$as_dir" && as_dir=.
9146
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9147
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9148
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
9149
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9150
 
    break 2
9151
 
  fi
9152
 
done
9153
 
done
9154
 
IFS=$as_save_IFS
9155
 
 
9156
 
fi
9157
 
fi
9158
 
F77=$ac_cv_prog_F77
9159
 
if test -n "$F77"; then
9160
 
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
9161
 
$as_echo "$F77" >&6; }
9162
 
else
9163
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9164
 
$as_echo "no" >&6; }
9165
 
fi
9166
 
 
9167
 
 
9168
 
    test -n "$F77" && break
9169
 
  done
9170
 
fi
9171
 
if test -z "$F77"; then
9172
 
  ac_ct_F77=$F77
9173
 
  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
9174
 
do
9175
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
9176
 
set dummy $ac_prog; ac_word=$2
9177
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9178
 
$as_echo_n "checking for $ac_word... " >&6; }
9179
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
9180
 
  $as_echo_n "(cached) " >&6
9181
 
else
9182
 
  if test -n "$ac_ct_F77"; then
9183
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
9184
 
else
9185
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9186
 
for as_dir in $PATH
9187
 
do
9188
 
  IFS=$as_save_IFS
9189
 
  test -z "$as_dir" && as_dir=.
9190
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9191
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9192
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
9193
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9194
 
    break 2
9195
 
  fi
9196
 
done
9197
 
done
9198
 
IFS=$as_save_IFS
9199
 
 
9200
 
fi
9201
 
fi
9202
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
9203
 
if test -n "$ac_ct_F77"; then
9204
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
9205
 
$as_echo "$ac_ct_F77" >&6; }
9206
 
else
9207
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9208
 
$as_echo "no" >&6; }
9209
 
fi
9210
 
 
9211
 
 
9212
 
  test -n "$ac_ct_F77" && break
9213
 
done
9214
 
 
9215
 
  if test "x$ac_ct_F77" = x; then
9216
 
    F77=""
9217
 
  else
9218
 
    case $cross_compiling:$ac_tool_warned in
9219
 
yes:)
9220
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9221
 
whose name does not start with the host triplet.  If you think this
9222
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9223
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9224
 
whose name does not start with the host triplet.  If you think this
9225
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9226
 
ac_tool_warned=yes ;;
9227
 
esac
9228
 
    F77=$ac_ct_F77
9229
 
  fi
9230
 
fi
9231
 
 
9232
 
 
9233
 
# Provide some information about the compiler.
9234
 
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
9235
 
set X $ac_compile
9236
 
ac_compiler=$2
9237
 
{ (ac_try="$ac_compiler --version >&5"
9238
 
case "(($ac_try" in
9239
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9240
 
  *) ac_try_echo=$ac_try;;
9241
 
esac
9242
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9243
 
$as_echo "$ac_try_echo") >&5
9244
 
  (eval "$ac_compiler --version >&5") 2>&5
9245
 
  ac_status=$?
9246
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247
 
  (exit $ac_status); }
9248
 
{ (ac_try="$ac_compiler -v >&5"
9249
 
case "(($ac_try" in
9250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9251
 
  *) ac_try_echo=$ac_try;;
9252
 
esac
9253
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9254
 
$as_echo "$ac_try_echo") >&5
9255
 
  (eval "$ac_compiler -v >&5") 2>&5
9256
 
  ac_status=$?
9257
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258
 
  (exit $ac_status); }
9259
 
{ (ac_try="$ac_compiler -V >&5"
9260
 
case "(($ac_try" in
9261
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9262
 
  *) ac_try_echo=$ac_try;;
9263
 
esac
9264
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9265
 
$as_echo "$ac_try_echo") >&5
9266
 
  (eval "$ac_compiler -V >&5") 2>&5
9267
 
  ac_status=$?
9268
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269
 
  (exit $ac_status); }
9270
 
rm -f a.out
9271
 
 
9272
 
# If we don't use `.F' as extension, the preprocessor is not run on the
9273
 
# input file.  (Note that this only needs to work for GNU compilers.)
9274
 
ac_save_ext=$ac_ext
9275
 
ac_ext=F
9276
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
9277
 
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
9278
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
9279
 
  $as_echo_n "(cached) " >&6
9280
 
else
9281
 
  cat >conftest.$ac_ext <<_ACEOF
9282
 
      program main
9283
 
#ifndef __GNUC__
9284
 
       choke me
9285
 
#endif
9286
 
 
9287
 
      end
9288
 
_ACEOF
9289
 
rm -f conftest.$ac_objext
9290
 
if { (ac_try="$ac_compile"
9291
 
case "(($ac_try" in
9292
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9293
 
  *) ac_try_echo=$ac_try;;
9294
 
esac
9295
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9296
 
$as_echo "$ac_try_echo") >&5
9297
 
  (eval "$ac_compile") 2>conftest.er1
9298
 
  ac_status=$?
9299
 
  grep -v '^ *+' conftest.er1 >conftest.err
9300
 
  rm -f conftest.er1
9301
 
  cat conftest.err >&5
9302
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303
 
  (exit $ac_status); } && {
9304
 
         test -z "$ac_f77_werror_flag" ||
9305
 
         test ! -s conftest.err
9306
 
       } && test -s conftest.$ac_objext; then
9307
 
  ac_compiler_gnu=yes
9308
 
else
9309
 
  $as_echo "$as_me: failed program was:" >&5
9310
 
sed 's/^/| /' conftest.$ac_ext >&5
9311
 
 
9312
 
        ac_compiler_gnu=no
9313
 
fi
9314
 
 
9315
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9316
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
9317
 
 
9318
 
fi
9319
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9320
 
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
9321
 
ac_ext=$ac_save_ext
9322
 
ac_test_FFLAGS=${FFLAGS+set}
9323
 
ac_save_FFLAGS=$FFLAGS
9324
 
FFLAGS=
9325
 
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9326
 
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
9327
 
if test "${ac_cv_prog_f77_g+set}" = set; then
9328
 
  $as_echo_n "(cached) " >&6
9329
 
else
9330
 
  FFLAGS=-g
9331
 
cat >conftest.$ac_ext <<_ACEOF
9332
 
      program main
9333
 
 
9334
 
      end
9335
 
_ACEOF
9336
 
rm -f conftest.$ac_objext
9337
 
if { (ac_try="$ac_compile"
9338
 
case "(($ac_try" in
9339
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9340
 
  *) ac_try_echo=$ac_try;;
9341
 
esac
9342
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9343
 
$as_echo "$ac_try_echo") >&5
9344
 
  (eval "$ac_compile") 2>conftest.er1
9345
 
  ac_status=$?
9346
 
  grep -v '^ *+' conftest.er1 >conftest.err
9347
 
  rm -f conftest.er1
9348
 
  cat conftest.err >&5
9349
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350
 
  (exit $ac_status); } && {
9351
 
         test -z "$ac_f77_werror_flag" ||
9352
 
         test ! -s conftest.err
9353
 
       } && test -s conftest.$ac_objext; then
9354
 
  ac_cv_prog_f77_g=yes
9355
 
else
9356
 
  $as_echo "$as_me: failed program was:" >&5
9357
 
sed 's/^/| /' conftest.$ac_ext >&5
9358
 
 
9359
 
        ac_cv_prog_f77_g=no
9360
 
fi
9361
 
 
9362
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9363
 
 
9364
 
fi
9365
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9366
 
$as_echo "$ac_cv_prog_f77_g" >&6; }
9367
 
if test "$ac_test_FFLAGS" = set; then
9368
 
  FFLAGS=$ac_save_FFLAGS
9369
 
elif test $ac_cv_prog_f77_g = yes; then
9370
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9371
 
    FFLAGS="-g -O2"
9372
 
  else
9373
 
    FFLAGS="-g"
9374
 
  fi
9375
 
else
9376
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9377
 
    FFLAGS="-O2"
9378
 
  else
9379
 
    FFLAGS=
9380
 
  fi
9381
 
fi
9382
 
 
9383
 
if test $ac_compiler_gnu = yes; then
9384
 
  G77=yes
9385
 
else
9386
 
  G77=
9387
 
fi
9388
 
ac_ext=c
9389
 
ac_cpp='$CPP $CPPFLAGS'
9390
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9391
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9392
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9393
 
 
9394
 
 
9395
 
 
9396
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
9397
 
 
9398
 
# find the maximum length of command line arguments
9399
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9400
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
9401
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9402
 
  $as_echo_n "(cached) " >&6
9403
 
else
9404
 
    i=0
9405
 
  testring="ABCD"
9406
 
 
9407
 
  case $build_os in
9408
 
  msdosdjgpp*)
9409
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
9410
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
9411
 
    # during glob expansion).  Even if it were fixed, the result of this
9412
 
    # check would be larger than it should be.
9413
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
9414
 
    ;;
9415
 
 
9416
 
  gnu*)
9417
 
    # Under GNU Hurd, this test is not required because there is
9418
 
    # no limit to the length of command line arguments.
9419
 
    # Libtool will interpret -1 as no limit whatsoever
9420
 
    lt_cv_sys_max_cmd_len=-1;
9421
 
    ;;
9422
 
 
9423
 
  cygwin* | mingw*)
9424
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
9425
 
    # about 5 minutes as the teststring grows exponentially.
9426
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
9427
 
    # you end up with a "frozen" computer, even though with patience
9428
 
    # the test eventually succeeds (with a max line length of 256k).
9429
 
    # Instead, let's just punt: use the minimum linelength reported by
9430
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
9431
 
    lt_cv_sys_max_cmd_len=8192;
9432
 
    ;;
9433
 
 
9434
 
 *)
9435
 
    # If test is not a shell built-in, we'll probably end up computing a
9436
 
    # maximum length that is only half of the actual maximum length, but
9437
 
    # we can't tell.
9438
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
9439
 
               = "XX$testring") >/dev/null 2>&1 &&
9440
 
            new_result=`expr "X$testring" : ".*" 2>&1` &&
9441
 
            lt_cv_sys_max_cmd_len=$new_result &&
9442
 
            test $i != 17 # 1/2 MB should be enough
9443
 
    do
9444
 
      i=`expr $i + 1`
9445
 
      testring=$testring$testring
9446
 
    done
9447
 
    testring=
9448
 
    # Add a significant safety factor because C++ compilers can tack on massive
9449
 
    # amounts of additional arguments before passing them to the linker.
9450
 
    # It appears as though 1/2 is a usable value.
9451
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9452
 
    ;;
9453
 
  esac
9454
 
 
9455
 
fi
9456
 
 
9457
 
if test -n $lt_cv_sys_max_cmd_len ; then
9458
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9459
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
9460
 
else
9461
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
9462
 
$as_echo "none" >&6; }
9463
 
fi
9464
 
 
9465
 
 
9466
 
 
9467
 
 
9468
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
9469
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9470
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9471
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9472
 
  $as_echo_n "(cached) " >&6
9473
 
else
9474
 
 
9475
 
# These are sane defaults that work on at least a few old systems.
9476
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9477
 
 
9478
 
# Character class describing NM global symbol codes.
9479
 
symcode='[BCDEGRST]'
9480
 
 
9481
 
# Regexp to match symbols that can be accessed directly from C.
9482
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9483
 
 
9484
 
# Transform the above into a raw symbol and a C symbol.
9485
 
symxfrm='\1 \2\3 \3'
9486
 
 
9487
 
# Transform an extracted symbol line into a proper C declaration
9488
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9489
 
 
9490
 
# Transform an extracted symbol line into symbol name and symbol address
9491
 
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'"
9492
 
 
9493
 
# Define system-specific variables.
9494
 
case $host_os in
9495
 
aix*)
9496
 
  symcode='[BCDT]'
9497
 
  ;;
9498
 
cygwin* | mingw* | pw32*)
9499
 
  symcode='[ABCDGISTW]'
9500
 
  ;;
9501
 
hpux*) # Its linker distinguishes data from code symbols
9502
 
  if test "$host_cpu" = ia64; then
9503
 
    symcode='[ABCDEGRST]'
9504
 
  fi
9505
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9506
 
  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'"
9507
 
  ;;
9508
 
irix* | nonstopux*)
9509
 
  symcode='[BCDEGRST]'
9510
 
  ;;
9511
 
osf*)
9512
 
  symcode='[BCDEGQRST]'
9513
 
  ;;
9514
 
solaris* | sysv5*)
9515
 
  symcode='[BDT]'
9516
 
  ;;
9517
 
sysv4)
9518
 
  symcode='[DFNSTU]'
9519
 
  ;;
9520
 
esac
9521
 
 
9522
 
# Handle CRLF in mingw tool chain
9523
 
opt_cr=
9524
 
case $build_os in
9525
 
mingw*)
9526
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9527
 
  ;;
9528
 
esac
9529
 
 
9530
 
# If we're using GNU nm, then use its standard symbol codes.
9531
 
case `$NM -V 2>&1` in
9532
 
*GNU* | *'with BFD'*)
9533
 
  symcode='[ABCDGISTW]' ;;
9534
 
esac
9535
 
 
9536
 
# Try without a prefix undercore, then with it.
9537
 
for ac_symprfx in "" "_"; do
9538
 
 
9539
 
  # Write the raw and C identifiers.
9540
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
9541
 
 
9542
 
  # Check to see that the pipe works correctly.
9543
 
  pipe_works=no
9544
 
 
9545
 
  rm -f conftest*
9546
 
  cat > conftest.$ac_ext <<EOF
9547
 
#ifdef __cplusplus
9548
 
extern "C" {
9549
 
#endif
9550
 
char nm_test_var;
9551
 
void nm_test_func(){}
9552
 
#ifdef __cplusplus
9553
 
}
9554
 
#endif
9555
 
int main(){nm_test_var='a';nm_test_func();return(0);}
9556
 
EOF
9557
 
 
9558
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9559
 
  (eval $ac_compile) 2>&5
9560
 
  ac_status=$?
9561
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562
 
  (exit $ac_status); }; then
9563
 
    # Now try to grab the symbols.
9564
 
    nlist=conftest.nm
9565
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9566
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9567
 
  ac_status=$?
9568
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569
 
  (exit $ac_status); } && test -s "$nlist"; then
9570
 
      # Try sorting and uniquifying the output.
9571
 
      if sort "$nlist" | uniq > "$nlist"T; then
9572
 
        mv -f "$nlist"T "$nlist"
9573
 
      else
9574
 
        rm -f "$nlist"T
9575
 
      fi
9576
 
 
9577
 
      # Make sure that we snagged all the symbols we need.
9578
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
9579
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
9580
 
          cat <<EOF > conftest.$ac_ext
9581
 
#ifdef __cplusplus
9582
 
extern "C" {
9583
 
#endif
9584
 
 
9585
 
EOF
9586
 
          # Now generate the symbol file.
9587
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9588
 
 
9589
 
          cat <<EOF >> conftest.$ac_ext
9590
 
#if defined (__STDC__) && __STDC__
9591
 
# define lt_ptr_t void *
9592
 
#else
9593
 
# define lt_ptr_t char *
9594
 
# define const
9595
 
#endif
9596
 
 
9597
 
/* The mapping between symbol names and symbols. */
9598
 
const struct {
9599
 
  const char *name;
9600
 
  lt_ptr_t address;
9601
 
}
9602
 
lt_preloaded_symbols[] =
9603
 
{
9604
 
EOF
9605
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9606
 
          cat <<\EOF >> conftest.$ac_ext
9607
 
  {0, (lt_ptr_t) 0}
9608
 
};
9609
 
 
9610
 
#ifdef __cplusplus
9611
 
}
9612
 
#endif
9613
 
EOF
9614
 
          # Now try linking the two files.
9615
 
          mv conftest.$ac_objext conftstm.$ac_objext
9616
 
          lt_save_LIBS="$LIBS"
9617
 
          lt_save_CFLAGS="$CFLAGS"
9618
 
          LIBS="conftstm.$ac_objext"
9619
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9620
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9621
 
  (eval $ac_link) 2>&5
9622
 
  ac_status=$?
9623
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
9625
 
            pipe_works=yes
9626
 
          fi
9627
 
          LIBS="$lt_save_LIBS"
9628
 
          CFLAGS="$lt_save_CFLAGS"
9629
 
        else
9630
 
          echo "cannot find nm_test_func in $nlist" >&5
9631
 
        fi
9632
 
      else
9633
 
        echo "cannot find nm_test_var in $nlist" >&5
9634
 
      fi
9635
 
    else
9636
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9637
 
    fi
9638
 
  else
9639
 
    echo "$progname: failed program was:" >&5
9640
 
    cat conftest.$ac_ext >&5
9641
 
  fi
9642
 
  rm -f conftest* conftst*
9643
 
 
9644
 
  # Do not use the global_symbol_pipe unless it works.
9645
 
  if test "$pipe_works" = yes; then
9646
 
    break
9647
 
  else
9648
 
    lt_cv_sys_global_symbol_pipe=
9649
 
  fi
9650
 
done
9651
 
 
9652
 
fi
9653
 
 
9654
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
9655
 
  lt_cv_sys_global_symbol_to_cdecl=
9656
 
fi
9657
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9658
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
9659
 
$as_echo "failed" >&6; }
9660
 
else
9661
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
9662
 
$as_echo "ok" >&6; }
9663
 
fi
9664
 
 
9665
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
9666
 
$as_echo_n "checking for objdir... " >&6; }
9667
 
if test "${lt_cv_objdir+set}" = set; then
9668
 
  $as_echo_n "(cached) " >&6
9669
 
else
9670
 
  rm -f .libs 2>/dev/null
9671
 
mkdir .libs 2>/dev/null
9672
 
if test -d .libs; then
9673
 
  lt_cv_objdir=.libs
9674
 
else
9675
 
  # MS-DOS does not allow filenames that begin with a dot.
9676
 
  lt_cv_objdir=_libs
9677
 
fi
9678
 
rmdir .libs 2>/dev/null
9679
 
fi
9680
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9681
 
$as_echo "$lt_cv_objdir" >&6; }
9682
 
objdir=$lt_cv_objdir
9683
 
 
9684
 
 
9685
 
 
9686
 
 
9687
 
 
9688
 
case $host_os in
9689
 
aix3*)
9690
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
9691
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
9692
 
  # vanish in a puff of smoke.
9693
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
9694
 
    COLLECT_NAMES=
9695
 
    export COLLECT_NAMES
9696
 
  fi
9697
 
  ;;
9698
 
esac
9699
 
 
9700
 
# Sed substitution that helps us do robust quoting.  It backslashifies
9701
 
# metacharacters that are still active within double-quoted strings.
9702
 
Xsed='sed -e s/^X//'
9703
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
9704
 
 
9705
 
# Same as above, but do not quote variable references.
9706
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
9707
 
 
9708
 
# Sed substitution to delay expansion of an escaped shell variable in a
9709
 
# double_quote_subst'ed string.
9710
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9711
 
 
9712
 
# Sed substitution to avoid accidental globbing in evaled expressions
9713
 
no_glob_subst='s/\*/\\\*/g'
9714
 
 
9715
 
# Constants:
9716
 
rm="rm -f"
9717
 
 
9718
 
# Global variables:
9719
 
default_ofile=libtool
9720
 
can_build_shared=yes
9721
 
 
9722
 
# All known linkers require a `.a' archive for static linking (except M$VC,
9723
 
# which needs '.lib').
9724
 
libext=a
9725
 
ltmain="$ac_aux_dir/ltmain.sh"
9726
 
ofile="$default_ofile"
9727
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
9728
 
 
9729
 
if test -n "$ac_tool_prefix"; then
9730
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9731
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
9732
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9733
 
$as_echo_n "checking for $ac_word... " >&6; }
9734
 
if test "${ac_cv_prog_AR+set}" = set; then
9735
 
  $as_echo_n "(cached) " >&6
9736
 
else
9737
 
  if test -n "$AR"; then
9738
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
9739
 
else
9740
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9741
 
for as_dir in $PATH
9742
 
do
9743
 
  IFS=$as_save_IFS
9744
 
  test -z "$as_dir" && as_dir=.
9745
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9746
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9747
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
9748
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9749
 
    break 2
9750
 
  fi
9751
 
done
9752
 
done
9753
 
IFS=$as_save_IFS
9754
 
 
9755
 
fi
9756
 
fi
9757
 
AR=$ac_cv_prog_AR
9758
 
if test -n "$AR"; then
9759
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
9760
 
$as_echo "$AR" >&6; }
9761
 
else
9762
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9763
 
$as_echo "no" >&6; }
9764
 
fi
9765
 
 
9766
 
 
9767
 
fi
9768
 
if test -z "$ac_cv_prog_AR"; then
9769
 
  ac_ct_AR=$AR
9770
 
  # Extract the first word of "ar", so it can be a program name with args.
9771
 
set dummy ar; ac_word=$2
9772
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9773
 
$as_echo_n "checking for $ac_word... " >&6; }
9774
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9775
 
  $as_echo_n "(cached) " >&6
9776
 
else
9777
 
  if test -n "$ac_ct_AR"; then
9778
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9779
 
else
9780
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9781
 
for as_dir in $PATH
9782
 
do
9783
 
  IFS=$as_save_IFS
9784
 
  test -z "$as_dir" && as_dir=.
9785
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9786
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9787
 
    ac_cv_prog_ac_ct_AR="ar"
9788
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9789
 
    break 2
9790
 
  fi
9791
 
done
9792
 
done
9793
 
IFS=$as_save_IFS
9794
 
 
9795
 
fi
9796
 
fi
9797
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
9798
 
if test -n "$ac_ct_AR"; then
9799
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9800
 
$as_echo "$ac_ct_AR" >&6; }
9801
 
else
9802
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9803
 
$as_echo "no" >&6; }
9804
 
fi
9805
 
 
9806
 
  if test "x$ac_ct_AR" = x; then
9807
 
    AR="false"
9808
 
  else
9809
 
    case $cross_compiling:$ac_tool_warned in
9810
 
yes:)
9811
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9812
 
whose name does not start with the host triplet.  If you think this
9813
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9814
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9815
 
whose name does not start with the host triplet.  If you think this
9816
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9817
 
ac_tool_warned=yes ;;
9818
 
esac
9819
 
    AR=$ac_ct_AR
9820
 
  fi
9821
 
else
9822
 
  AR="$ac_cv_prog_AR"
9823
 
fi
9824
 
 
9825
 
if test -n "$ac_tool_prefix"; then
9826
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9827
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9828
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9829
 
$as_echo_n "checking for $ac_word... " >&6; }
9830
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
9831
 
  $as_echo_n "(cached) " >&6
9832
 
else
9833
 
  if test -n "$RANLIB"; then
9834
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9835
 
else
9836
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9837
 
for as_dir in $PATH
9838
 
do
9839
 
  IFS=$as_save_IFS
9840
 
  test -z "$as_dir" && as_dir=.
9841
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9842
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9843
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9844
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9845
 
    break 2
9846
 
  fi
9847
 
done
9848
 
done
9849
 
IFS=$as_save_IFS
9850
 
 
9851
 
fi
9852
 
fi
9853
 
RANLIB=$ac_cv_prog_RANLIB
9854
 
if test -n "$RANLIB"; then
9855
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
9856
 
$as_echo "$RANLIB" >&6; }
9857
 
else
9858
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9859
 
$as_echo "no" >&6; }
9860
 
fi
9861
 
 
9862
 
 
9863
 
fi
9864
 
if test -z "$ac_cv_prog_RANLIB"; then
9865
 
  ac_ct_RANLIB=$RANLIB
9866
 
  # Extract the first word of "ranlib", so it can be a program name with args.
9867
 
set dummy ranlib; ac_word=$2
9868
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9869
 
$as_echo_n "checking for $ac_word... " >&6; }
9870
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9871
 
  $as_echo_n "(cached) " >&6
9872
 
else
9873
 
  if test -n "$ac_ct_RANLIB"; then
9874
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9875
 
else
9876
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9877
 
for as_dir in $PATH
9878
 
do
9879
 
  IFS=$as_save_IFS
9880
 
  test -z "$as_dir" && as_dir=.
9881
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9882
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9883
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
9884
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9885
 
    break 2
9886
 
  fi
9887
 
done
9888
 
done
9889
 
IFS=$as_save_IFS
9890
 
 
9891
 
fi
9892
 
fi
9893
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9894
 
if test -n "$ac_ct_RANLIB"; then
9895
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9896
 
$as_echo "$ac_ct_RANLIB" >&6; }
9897
 
else
9898
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9899
 
$as_echo "no" >&6; }
9900
 
fi
9901
 
 
9902
 
  if test "x$ac_ct_RANLIB" = x; then
9903
 
    RANLIB=":"
9904
 
  else
9905
 
    case $cross_compiling:$ac_tool_warned in
9906
 
yes:)
9907
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9908
 
whose name does not start with the host triplet.  If you think this
9909
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9910
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9911
 
whose name does not start with the host triplet.  If you think this
9912
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9913
 
ac_tool_warned=yes ;;
9914
 
esac
9915
 
    RANLIB=$ac_ct_RANLIB
9916
 
  fi
9917
 
else
9918
 
  RANLIB="$ac_cv_prog_RANLIB"
9919
 
fi
9920
 
 
9921
 
if test -n "$ac_tool_prefix"; then
9922
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9923
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
9924
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9925
 
$as_echo_n "checking for $ac_word... " >&6; }
9926
 
if test "${ac_cv_prog_STRIP+set}" = set; then
9927
 
  $as_echo_n "(cached) " >&6
9928
 
else
9929
 
  if test -n "$STRIP"; then
9930
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9931
 
else
9932
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9933
 
for as_dir in $PATH
9934
 
do
9935
 
  IFS=$as_save_IFS
9936
 
  test -z "$as_dir" && as_dir=.
9937
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9938
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9939
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9940
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9941
 
    break 2
9942
 
  fi
9943
 
done
9944
 
done
9945
 
IFS=$as_save_IFS
9946
 
 
9947
 
fi
9948
 
fi
9949
 
STRIP=$ac_cv_prog_STRIP
9950
 
if test -n "$STRIP"; then
9951
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
9952
 
$as_echo "$STRIP" >&6; }
9953
 
else
9954
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9955
 
$as_echo "no" >&6; }
9956
 
fi
9957
 
 
9958
 
 
9959
 
fi
9960
 
if test -z "$ac_cv_prog_STRIP"; then
9961
 
  ac_ct_STRIP=$STRIP
9962
 
  # Extract the first word of "strip", so it can be a program name with args.
9963
 
set dummy strip; ac_word=$2
9964
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9965
 
$as_echo_n "checking for $ac_word... " >&6; }
9966
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9967
 
  $as_echo_n "(cached) " >&6
9968
 
else
9969
 
  if test -n "$ac_ct_STRIP"; then
9970
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9971
 
else
9972
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9973
 
for as_dir in $PATH
9974
 
do
9975
 
  IFS=$as_save_IFS
9976
 
  test -z "$as_dir" && as_dir=.
9977
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9978
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9979
 
    ac_cv_prog_ac_ct_STRIP="strip"
9980
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9981
 
    break 2
9982
 
  fi
9983
 
done
9984
 
done
9985
 
IFS=$as_save_IFS
9986
 
 
9987
 
fi
9988
 
fi
9989
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9990
 
if test -n "$ac_ct_STRIP"; then
9991
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9992
 
$as_echo "$ac_ct_STRIP" >&6; }
9993
 
else
9994
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9995
 
$as_echo "no" >&6; }
9996
 
fi
9997
 
 
9998
 
  if test "x$ac_ct_STRIP" = x; then
9999
 
    STRIP=":"
10000
 
  else
10001
 
    case $cross_compiling:$ac_tool_warned in
10002
 
yes:)
10003
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10004
 
whose name does not start with the host triplet.  If you think this
10005
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
10006
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10007
 
whose name does not start with the host triplet.  If you think this
10008
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10009
 
ac_tool_warned=yes ;;
10010
 
esac
10011
 
    STRIP=$ac_ct_STRIP
10012
 
  fi
10013
 
else
10014
 
  STRIP="$ac_cv_prog_STRIP"
10015
 
fi
10016
 
 
10017
 
 
10018
 
old_CC="$CC"
10019
 
old_CFLAGS="$CFLAGS"
10020
 
 
10021
 
# Set sane defaults for various variables
10022
 
test -z "$AR" && AR=ar
10023
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
10024
 
test -z "$AS" && AS=as
10025
 
test -z "$CC" && CC=cc
10026
 
test -z "$LTCC" && LTCC=$CC
10027
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
10028
 
test -z "$LD" && LD=ld
10029
 
test -z "$LN_S" && LN_S="ln -s"
10030
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
10031
 
test -z "$NM" && NM=nm
10032
 
test -z "$SED" && SED=sed
10033
 
test -z "$OBJDUMP" && OBJDUMP=objdump
10034
 
test -z "$RANLIB" && RANLIB=:
10035
 
test -z "$STRIP" && STRIP=:
10036
 
test -z "$ac_objext" && ac_objext=o
10037
 
 
10038
 
# Determine commands to create old-style static archives.
10039
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
10040
 
old_postinstall_cmds='chmod 644 $oldlib'
10041
 
old_postuninstall_cmds=
10042
 
 
10043
 
if test -n "$RANLIB"; then
10044
 
  case $host_os in
10045
 
  openbsd*)
10046
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
10047
 
    ;;
10048
 
  *)
10049
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
10050
 
    ;;
10051
 
  esac
10052
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
10053
 
fi
10054
 
 
10055
 
# Only perform the check for file, if the check method requires it
10056
 
case $deplibs_check_method in
10057
 
file_magic*)
10058
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10059
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
10060
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10061
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10062
 
  $as_echo_n "(cached) " >&6
10063
 
else
10064
 
  case $MAGIC_CMD in
10065
 
[\\/*] |  ?:[\\/]*)
10066
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10067
 
  ;;
10068
 
*)
10069
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
10070
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10071
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10072
 
  for ac_dir in $ac_dummy; do
10073
 
    IFS="$lt_save_ifs"
10074
 
    test -z "$ac_dir" && ac_dir=.
10075
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
10076
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10077
 
      if test -n "$file_magic_test_file"; then
10078
 
        case $deplibs_check_method in
10079
 
        "file_magic "*)
10080
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
10081
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10082
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10083
 
            $EGREP "$file_magic_regex" > /dev/null; then
10084
 
            :
10085
 
          else
10086
 
            cat <<EOF 1>&2
10087
 
 
10088
 
*** Warning: the command libtool uses to detect shared libraries,
10089
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
10090
 
*** The result is that libtool may fail to recognize shared libraries
10091
 
*** as such.  This will affect the creation of libtool libraries that
10092
 
*** depend on shared libraries, but programs linked with such libtool
10093
 
*** libraries will work regardless of this problem.  Nevertheless, you
10094
 
*** may want to report the problem to your system manager and/or to
10095
 
*** bug-libtool@gnu.org
10096
 
 
10097
 
EOF
10098
 
          fi ;;
10099
 
        esac
10100
 
      fi
10101
 
      break
10102
 
    fi
10103
 
  done
10104
 
  IFS="$lt_save_ifs"
10105
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
10106
 
  ;;
10107
 
esac
10108
 
fi
10109
 
 
10110
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10111
 
if test -n "$MAGIC_CMD"; then
10112
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10113
 
$as_echo "$MAGIC_CMD" >&6; }
10114
 
else
10115
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10116
 
$as_echo "no" >&6; }
10117
 
fi
10118
 
 
10119
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
10120
 
  if test -n "$ac_tool_prefix"; then
10121
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
10122
 
$as_echo_n "checking for file... " >&6; }
10123
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10124
 
  $as_echo_n "(cached) " >&6
10125
 
else
10126
 
  case $MAGIC_CMD in
10127
 
[\\/*] |  ?:[\\/]*)
10128
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10129
 
  ;;
10130
 
*)
10131
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
10132
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10133
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10134
 
  for ac_dir in $ac_dummy; do
10135
 
    IFS="$lt_save_ifs"
10136
 
    test -z "$ac_dir" && ac_dir=.
10137
 
    if test -f $ac_dir/file; then
10138
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
10139
 
      if test -n "$file_magic_test_file"; then
10140
 
        case $deplibs_check_method in
10141
 
        "file_magic "*)
10142
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
10143
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10144
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10145
 
            $EGREP "$file_magic_regex" > /dev/null; then
10146
 
            :
10147
 
          else
10148
 
            cat <<EOF 1>&2
10149
 
 
10150
 
*** Warning: the command libtool uses to detect shared libraries,
10151
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
10152
 
*** The result is that libtool may fail to recognize shared libraries
10153
 
*** as such.  This will affect the creation of libtool libraries that
10154
 
*** depend on shared libraries, but programs linked with such libtool
10155
 
*** libraries will work regardless of this problem.  Nevertheless, you
10156
 
*** may want to report the problem to your system manager and/or to
10157
 
*** bug-libtool@gnu.org
10158
 
 
10159
 
EOF
10160
 
          fi ;;
10161
 
        esac
10162
 
      fi
10163
 
      break
10164
 
    fi
10165
 
  done
10166
 
  IFS="$lt_save_ifs"
10167
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
10168
 
  ;;
10169
 
esac
10170
 
fi
10171
 
 
10172
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10173
 
if test -n "$MAGIC_CMD"; then
10174
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10175
 
$as_echo "$MAGIC_CMD" >&6; }
10176
 
else
10177
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10178
 
$as_echo "no" >&6; }
10179
 
fi
10180
 
 
10181
 
  else
10182
 
    MAGIC_CMD=:
10183
 
  fi
10184
 
fi
10185
 
 
10186
 
  fi
10187
 
  ;;
10188
 
esac
10189
 
 
10190
 
enable_dlopen=yes
10191
 
enable_win32_dll=no
10192
 
 
10193
 
# Check whether --enable-libtool-lock was given.
10194
 
if test "${enable_libtool_lock+set}" = set; then
10195
 
  enableval=$enable_libtool_lock;
10196
 
fi
10197
 
 
10198
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10199
 
 
10200
 
 
10201
 
# Check whether --with-pic was given.
10202
 
if test "${with_pic+set}" = set; then
10203
 
  withval=$with_pic; pic_mode="$withval"
10204
 
else
10205
 
  pic_mode=default
10206
 
fi
10207
 
 
10208
 
test -z "$pic_mode" && pic_mode=default
10209
 
 
10210
 
# Use C for the default configuration in the libtool script
10211
 
tagname=
10212
 
lt_save_CC="$CC"
10213
 
ac_ext=c
10214
 
ac_cpp='$CPP $CPPFLAGS'
10215
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10216
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10217
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10218
 
 
10219
 
 
10220
 
# Source file extension for C test sources.
10221
 
ac_ext=c
10222
 
 
10223
 
# Object file extension for compiled C test sources.
10224
 
objext=o
10225
 
objext=$objext
10226
 
 
10227
 
# Code to be used in simple compile tests
10228
 
lt_simple_compile_test_code="int some_variable = 0;\n"
10229
 
 
10230
 
# Code to be used in simple link tests
10231
 
lt_simple_link_test_code='int main(){return(0);}\n'
10232
 
 
10233
 
 
10234
 
# If no C compiler was specified, use CC.
10235
 
LTCC=${LTCC-"$CC"}
10236
 
 
10237
 
# Allow CC to be a program name with arguments.
10238
 
compiler=$CC
10239
 
 
10240
 
 
10241
 
#
10242
 
# Check for any special shared library compilation flags.
10243
 
#
10244
 
lt_prog_cc_shlib=
10245
 
if test "$GCC" = no; then
10246
 
  case $host_os in
10247
 
  sco3.2v5*)
10248
 
    lt_prog_cc_shlib='-belf'
10249
 
    ;;
10250
 
  esac
10251
 
fi
10252
 
if test -n "$lt_prog_cc_shlib"; then
10253
 
  { $as_echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
10254
 
$as_echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
10255
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
10256
 
  else
10257
 
    { $as_echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
10258
 
$as_echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
10259
 
    lt_cv_prog_cc_can_build_shared=no
10260
 
  fi
10261
 
fi
10262
 
 
10263
 
 
10264
 
#
10265
 
# Check to make sure the static flag actually works.
10266
 
#
10267
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
10268
 
$as_echo_n "checking if $compiler static flag $lt_prog_compiler_static works... " >&6; }
10269
 
if test "${lt_prog_compiler_static_works+set}" = set; then
10270
 
  $as_echo_n "(cached) " >&6
10271
 
else
10272
 
  lt_prog_compiler_static_works=no
10273
 
   save_LDFLAGS="$LDFLAGS"
10274
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
10275
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
10276
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10277
 
     # The compiler can only warn and ignore the option if not recognized
10278
 
     # So say no if there are warnings
10279
 
     if test -s conftest.err; then
10280
 
       # Append any errors to the config.log.
10281
 
       cat conftest.err 1>&5
10282
 
     else
10283
 
       lt_prog_compiler_static_works=yes
10284
 
     fi
10285
 
   fi
10286
 
   $rm conftest*
10287
 
   LDFLAGS="$save_LDFLAGS"
10288
 
 
10289
 
fi
10290
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10291
 
$as_echo "$lt_prog_compiler_static_works" >&6; }
10292
 
 
10293
 
if test x"$lt_prog_compiler_static_works" = xyes; then
10294
 
    :
10295
 
else
10296
 
    lt_prog_compiler_static=
10297
 
fi
10298
 
 
10299
 
 
10300
 
 
10301
 
 
10302
 
lt_prog_compiler_no_builtin_flag=
10303
 
 
10304
 
if test "$GCC" = yes; then
10305
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10306
 
 
10307
 
 
10308
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10309
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10310
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10311
 
  $as_echo_n "(cached) " >&6
10312
 
else
10313
 
  lt_cv_prog_compiler_rtti_exceptions=no
10314
 
  ac_outfile=conftest.$ac_objext
10315
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10316
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
10317
 
   # Insert the option either (1) after the last *FLAGS variable, or
10318
 
   # (2) before a word containing "conftest.", or (3) at the end.
10319
 
   # Note that $ac_compile itself does not contain backslashes and begins
10320
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10321
 
   # The option is referenced via a variable to avoid confusing sed.
10322
 
   lt_compile=`echo "$ac_compile" | $SED \
10323
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10324
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10325
 
   -e 's:$: $lt_compiler_flag:'`
10326
 
   (eval echo "\"\$as_me:10326: $lt_compile\"" >&5)
10327
 
   (eval "$lt_compile" 2>conftest.err)
10328
 
   ac_status=$?
10329
 
   cat conftest.err >&5
10330
 
   echo "$as_me:10330: \$? = $ac_status" >&5
10331
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
10332
 
     # The compiler can only warn and ignore the option if not recognized
10333
 
     # So say no if there are warnings
10334
 
     if test ! -s conftest.err; then
10335
 
       lt_cv_prog_compiler_rtti_exceptions=yes
10336
 
     fi
10337
 
   fi
10338
 
   $rm conftest*
10339
 
 
10340
 
fi
10341
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10342
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10343
 
 
10344
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10345
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10346
 
else
10347
 
    :
10348
 
fi
10349
 
 
10350
 
fi
10351
 
 
10352
 
lt_prog_compiler_wl=
10353
 
lt_prog_compiler_pic=
10354
 
lt_prog_compiler_static=
10355
 
 
10356
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10357
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10358
 
 
10359
 
  if test "$GCC" = yes; then
10360
 
    lt_prog_compiler_wl='-Wl,'
10361
 
    lt_prog_compiler_static='-static'
10362
 
 
10363
 
    case $host_os in
10364
 
      aix*)
10365
 
      # All AIX code is PIC.
10366
 
      if test "$host_cpu" = ia64; then
10367
 
        # AIX 5 now supports IA64 processor
10368
 
        lt_prog_compiler_static='-Bstatic'
10369
 
      fi
10370
 
      ;;
10371
 
 
10372
 
    amigaos*)
10373
 
      # FIXME: we need at least 68020 code to build shared libraries, but
10374
 
      # adding the `-m68020' flag to GCC prevents building anything better,
10375
 
      # like `-m68040'.
10376
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10377
 
      ;;
10378
 
 
10379
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10380
 
      # PIC is the default for these OSes.
10381
 
      ;;
10382
 
 
10383
 
    mingw* | pw32* | os2*)
10384
 
      # This hack is so that the source file can tell whether it is being
10385
 
      # built for inclusion in a dll (and should export symbols for example).
10386
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
10387
 
      ;;
10388
 
 
10389
 
    darwin* | rhapsody*)
10390
 
      # PIC is the default on this platform
10391
 
      # Common symbols not allowed in MH_DYLIB files
10392
 
      lt_prog_compiler_pic='-fno-common'
10393
 
      ;;
10394
 
 
10395
 
    msdosdjgpp*)
10396
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
10397
 
      # on systems that don't support them.
10398
 
      lt_prog_compiler_can_build_shared=no
10399
 
      enable_shared=no
10400
 
      ;;
10401
 
 
10402
 
    sysv4*MP*)
10403
 
      if test -d /usr/nec; then
10404
 
        lt_prog_compiler_pic=-Kconform_pic
10405
 
      fi
10406
 
      ;;
10407
 
 
10408
 
    hpux*)
10409
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10410
 
      # not for PA HP-UX.
10411
 
      case "$host_cpu" in
10412
 
      hppa*64*|ia64*)
10413
 
        # +Z the default
10414
 
        ;;
10415
 
      *)
10416
 
        lt_prog_compiler_pic='-fPIC'
10417
 
        ;;
10418
 
      esac
10419
 
      ;;
10420
 
 
10421
 
    *)
10422
 
      lt_prog_compiler_pic='-fPIC'
10423
 
      ;;
10424
 
    esac
10425
 
  else
10426
 
    # PORTME Check for flag to pass linker flags through the system compiler.
10427
 
    case $host_os in
10428
 
    aix*)
10429
 
      lt_prog_compiler_wl='-Wl,'
10430
 
      if test "$host_cpu" = ia64; then
10431
 
        # AIX 5 now supports IA64 processor
10432
 
        lt_prog_compiler_static='-Bstatic'
10433
 
      else
10434
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10435
 
      fi
10436
 
      ;;
10437
 
 
10438
 
    mingw* | pw32* | os2*)
10439
 
      # This hack is so that the source file can tell whether it is being
10440
 
      # built for inclusion in a dll (and should export symbols for example).
10441
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
10442
 
      ;;
10443
 
 
10444
 
    hpux9* | hpux10* | hpux11*)
10445
 
      lt_prog_compiler_wl='-Wl,'
10446
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10447
 
      # not for PA HP-UX.
10448
 
      case "$host_cpu" in
10449
 
      hppa*64*|ia64*)
10450
 
        # +Z the default
10451
 
        ;;
10452
 
      *)
10453
 
        lt_prog_compiler_pic='+Z'
10454
 
        ;;
10455
 
      esac
10456
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10457
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
10458
 
      ;;
10459
 
 
10460
 
    irix5* | irix6* | nonstopux*)
10461
 
      lt_prog_compiler_wl='-Wl,'
10462
 
      # PIC (with -KPIC) is the default.
10463
 
      lt_prog_compiler_static='-non_shared'
10464
 
      ;;
10465
 
 
10466
 
    newsos6)
10467
 
      lt_prog_compiler_pic='-KPIC'
10468
 
      lt_prog_compiler_static='-Bstatic'
10469
 
      ;;
10470
 
 
10471
 
    linux*)
10472
 
      case $CC in
10473
 
      icc* | ecc*)
10474
 
        lt_prog_compiler_wl='-Wl,'
10475
 
        lt_prog_compiler_pic='-KPIC'
10476
 
        lt_prog_compiler_static='-static'
10477
 
        ;;
10478
 
      ccc*)
10479
 
        lt_prog_compiler_wl='-Wl,'
10480
 
        # All Alpha code is PIC.
10481
 
        lt_prog_compiler_static='-non_shared'
10482
 
        ;;
10483
 
      esac
10484
 
      ;;
10485
 
 
10486
 
    osf3* | osf4* | osf5*)
10487
 
      lt_prog_compiler_wl='-Wl,'
10488
 
      # All OSF/1 code is PIC.
10489
 
      lt_prog_compiler_static='-non_shared'
10490
 
      ;;
10491
 
 
10492
 
    sco3.2v5*)
10493
 
      lt_prog_compiler_pic='-Kpic'
10494
 
      lt_prog_compiler_static='-dn'
10495
 
      ;;
10496
 
 
10497
 
    solaris*)
10498
 
      lt_prog_compiler_wl='-Wl,'
10499
 
      lt_prog_compiler_pic='-KPIC'
10500
 
      lt_prog_compiler_static='-Bstatic'
10501
 
      ;;
10502
 
 
10503
 
    sunos4*)
10504
 
      lt_prog_compiler_wl='-Qoption ld '
10505
 
      lt_prog_compiler_pic='-PIC'
10506
 
      lt_prog_compiler_static='-Bstatic'
10507
 
      ;;
10508
 
 
10509
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10510
 
      lt_prog_compiler_wl='-Wl,'
10511
 
      lt_prog_compiler_pic='-KPIC'
10512
 
      lt_prog_compiler_static='-Bstatic'
10513
 
      ;;
10514
 
 
10515
 
    sysv4*MP*)
10516
 
      if test -d /usr/nec ;then
10517
 
        lt_prog_compiler_pic='-Kconform_pic'
10518
 
        lt_prog_compiler_static='-Bstatic'
10519
 
      fi
10520
 
      ;;
10521
 
 
10522
 
    uts4*)
10523
 
      lt_prog_compiler_pic='-pic'
10524
 
      lt_prog_compiler_static='-Bstatic'
10525
 
      ;;
10526
 
 
10527
 
    *)
10528
 
      lt_prog_compiler_can_build_shared=no
10529
 
      ;;
10530
 
    esac
10531
 
  fi
10532
 
 
10533
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10534
 
$as_echo "$lt_prog_compiler_pic" >&6; }
10535
 
 
10536
 
#
10537
 
# Check to make sure the PIC flag actually works.
10538
 
#
10539
 
if test -n "$lt_prog_compiler_pic"; then
10540
 
 
10541
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10542
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10543
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
10544
 
  $as_echo_n "(cached) " >&6
10545
 
else
10546
 
  lt_prog_compiler_pic_works=no
10547
 
  ac_outfile=conftest.$ac_objext
10548
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10549
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10550
 
   # Insert the option either (1) after the last *FLAGS variable, or
10551
 
   # (2) before a word containing "conftest.", or (3) at the end.
10552
 
   # Note that $ac_compile itself does not contain backslashes and begins
10553
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10554
 
   # The option is referenced via a variable to avoid confusing sed.
10555
 
   lt_compile=`echo "$ac_compile" | $SED \
10556
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10557
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10558
 
   -e 's:$: $lt_compiler_flag:'`
10559
 
   (eval echo "\"\$as_me:10559: $lt_compile\"" >&5)
10560
 
   (eval "$lt_compile" 2>conftest.err)
10561
 
   ac_status=$?
10562
 
   cat conftest.err >&5
10563
 
   echo "$as_me:10563: \$? = $ac_status" >&5
10564
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
10565
 
     # The compiler can only warn and ignore the option if not recognized
10566
 
     # So say no if there are warnings
10567
 
     if test ! -s conftest.err; then
10568
 
       lt_prog_compiler_pic_works=yes
10569
 
     fi
10570
 
   fi
10571
 
   $rm conftest*
10572
 
 
10573
 
fi
10574
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10575
 
$as_echo "$lt_prog_compiler_pic_works" >&6; }
10576
 
 
10577
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
10578
 
    case $lt_prog_compiler_pic in
10579
 
     "" | " "*) ;;
10580
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10581
 
     esac
10582
 
else
10583
 
    lt_prog_compiler_pic=
10584
 
     lt_prog_compiler_can_build_shared=no
10585
 
fi
10586
 
 
10587
 
fi
10588
 
case "$host_os" in
10589
 
  # For platforms which do not support PIC, -DPIC is meaningless:
10590
 
  *djgpp*)
10591
 
    lt_prog_compiler_pic=
10592
 
    ;;
10593
 
  *)
10594
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10595
 
    ;;
10596
 
esac
10597
 
 
10598
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10599
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10600
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10601
 
  $as_echo_n "(cached) " >&6
10602
 
else
10603
 
  lt_cv_prog_compiler_c_o=no
10604
 
   $rm -r conftest 2>/dev/null
10605
 
   mkdir conftest
10606
 
   cd conftest
10607
 
   mkdir out
10608
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10609
 
 
10610
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10611
 
   # that will create temporary files in the current directory regardless of
10612
 
   # the output directory.  Thus, making CWD read-only will cause this test
10613
 
   # to fail, enabling locking or at least warning the user not to do parallel
10614
 
   # builds.
10615
 
   chmod -w .
10616
 
 
10617
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
10618
 
   # Insert the option either (1) after the last *FLAGS variable, or
10619
 
   # (2) before a word containing "conftest.", or (3) at the end.
10620
 
   # Note that $ac_compile itself does not contain backslashes and begins
10621
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10622
 
   lt_compile=`echo "$ac_compile" | $SED \
10623
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10624
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10625
 
   -e 's:$: $lt_compiler_flag:'`
10626
 
   (eval echo "\"\$as_me:10626: $lt_compile\"" >&5)
10627
 
   (eval "$lt_compile" 2>out/conftest.err)
10628
 
   ac_status=$?
10629
 
   cat out/conftest.err >&5
10630
 
   echo "$as_me:10630: \$? = $ac_status" >&5
10631
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10632
 
   then
10633
 
     # The compiler can only warn and ignore the option if not recognized
10634
 
     # So say no if there are warnings
10635
 
     if test ! -s out/conftest.err; then
10636
 
       lt_cv_prog_compiler_c_o=yes
10637
 
     fi
10638
 
   fi
10639
 
   chmod u+w .
10640
 
   $rm conftest* out/*
10641
 
   rmdir out
10642
 
   cd ..
10643
 
   rmdir conftest
10644
 
   $rm conftest*
10645
 
 
10646
 
fi
10647
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10648
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10649
 
 
10650
 
 
10651
 
hard_links="nottested"
10652
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10653
 
  # do not overwrite the value of need_locks provided by the user
10654
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10655
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
10656
 
  hard_links=yes
10657
 
  $rm conftest*
10658
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10659
 
  touch conftest.a
10660
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
10661
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10662
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
10663
 
$as_echo "$hard_links" >&6; }
10664
 
  if test "$hard_links" = no; then
10665
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10666
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10667
 
    need_locks=warn
10668
 
  fi
10669
 
else
10670
 
  need_locks=no
10671
 
fi
10672
 
 
10673
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10674
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10675
 
 
10676
 
  runpath_var=
10677
 
  allow_undefined_flag=
10678
 
  enable_shared_with_static_runtimes=no
10679
 
  archive_cmds=
10680
 
  archive_expsym_cmds=
10681
 
  old_archive_From_new_cmds=
10682
 
  old_archive_from_expsyms_cmds=
10683
 
  export_dynamic_flag_spec=
10684
 
  whole_archive_flag_spec=
10685
 
  thread_safe_flag_spec=
10686
 
  hardcode_libdir_flag_spec=
10687
 
  hardcode_libdir_flag_spec_ld=
10688
 
  hardcode_libdir_separator=
10689
 
  hardcode_direct=no
10690
 
  hardcode_minus_L=no
10691
 
  hardcode_shlibpath_var=unsupported
10692
 
  link_all_deplibs=unknown
10693
 
  hardcode_automatic=no
10694
 
  module_cmds=
10695
 
  module_expsym_cmds=
10696
 
  always_export_symbols=no
10697
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10698
 
  # include_expsyms should be a list of space-separated symbols to be *always*
10699
 
  # included in the symbol list
10700
 
  include_expsyms=
10701
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
10702
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
10703
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10704
 
  # as well as any symbol that contains `d'.
10705
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10706
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10707
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
10708
 
  # the symbol is explicitly referenced.  Since portable code cannot
10709
 
  # rely on this symbol name, it's probably fine to never include it in
10710
 
  # preloaded symbol tables.
10711
 
  extract_expsyms_cmds=
10712
 
 
10713
 
  case $host_os in
10714
 
  cygwin* | mingw* | pw32*)
10715
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10716
 
    # When not using gcc, we currently assume that we are using
10717
 
    # Microsoft Visual C++.
10718
 
    if test "$GCC" != yes; then
10719
 
      with_gnu_ld=no
10720
 
    fi
10721
 
    ;;
10722
 
  openbsd*)
10723
 
    with_gnu_ld=no
10724
 
    ;;
10725
 
  esac
10726
 
 
10727
 
  ld_shlibs=yes
10728
 
  if test "$with_gnu_ld" = yes; then
10729
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10730
 
    wlarc='${wl}'
10731
 
 
10732
 
    # See if GNU ld supports shared libraries.
10733
 
    case $host_os in
10734
 
    aix3* | aix4* | aix5*)
10735
 
      # On AIX/PPC, the GNU linker is very broken
10736
 
      if test "$host_cpu" != ia64; then
10737
 
        ld_shlibs=no
10738
 
        cat <<EOF 1>&2
10739
 
 
10740
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10741
 
*** to be unable to reliably create shared libraries on AIX.
10742
 
*** Therefore, libtool is disabling shared libraries support.  If you
10743
 
*** really care for shared libraries, you may want to modify your PATH
10744
 
*** so that a non-GNU linker is found, and then restart.
10745
 
 
10746
 
EOF
10747
 
      fi
10748
 
      ;;
10749
 
 
10750
 
    amigaos*)
10751
 
      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)'
10752
 
      hardcode_libdir_flag_spec='-L$libdir'
10753
 
      hardcode_minus_L=yes
10754
 
 
10755
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10756
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
10757
 
      # to version 4, is to share data among multiple programs linked
10758
 
      # with the same dynamic library.  Since this doesn't match the
10759
 
      # behavior of shared libraries on other platforms, we can't use
10760
 
      # them.
10761
 
      ld_shlibs=no
10762
 
      ;;
10763
 
 
10764
 
    beos*)
10765
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10766
 
        allow_undefined_flag=unsupported
10767
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10768
 
        # support --undefined.  This deserves some investigation.  FIXME
10769
 
        archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10770
 
      else
10771
 
        ld_shlibs=no
10772
 
      fi
10773
 
      ;;
10774
 
 
10775
 
    cygwin* | mingw* | pw32*)
10776
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10777
 
      # as there is no search path for DLLs.
10778
 
      hardcode_libdir_flag_spec='-L$libdir'
10779
 
      allow_undefined_flag=no
10780
 
      always_export_symbols=no
10781
 
      enable_shared_with_static_runtimes=yes
10782
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10783
 
 
10784
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10785
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10786
 
        # If the export-symbols file already is a .def file (1st line
10787
 
        # is EXPORTS), use it as is; otherwise, prepend...
10788
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10789
 
          cp $export_symbols $output_objdir/$soname.def;
10790
 
        else
10791
 
          echo EXPORTS > $output_objdir/$soname.def;
10792
 
          cat $export_symbols >> $output_objdir/$soname.def;
10793
 
        fi~
10794
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
10795
 
      else
10796
 
        ld_shlibs=no
10797
 
      fi
10798
 
      ;;
10799
 
 
10800
 
    netbsd*)
10801
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10802
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10803
 
        wlarc=
10804
 
      else
10805
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10806
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10807
 
      fi
10808
 
      ;;
10809
 
 
10810
 
    solaris* | sysv5*)
10811
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10812
 
        ld_shlibs=no
10813
 
        cat <<EOF 1>&2
10814
 
 
10815
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10816
 
*** create shared libraries on Solaris systems.  Therefore, libtool
10817
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
10818
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
10819
 
*** your PATH or compiler configuration so that the native linker is
10820
 
*** used, and then restart.
10821
 
 
10822
 
EOF
10823
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10824
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10825
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10826
 
      else
10827
 
        ld_shlibs=no
10828
 
      fi
10829
 
      ;;
10830
 
 
10831
 
    sunos4*)
10832
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10833
 
      wlarc=
10834
 
      hardcode_direct=yes
10835
 
      hardcode_shlibpath_var=no
10836
 
      ;;
10837
 
 
10838
 
    *)
10839
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10840
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10841
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10842
 
      else
10843
 
        ld_shlibs=no
10844
 
      fi
10845
 
      ;;
10846
 
    esac
10847
 
 
10848
 
    if test "$ld_shlibs" = yes; then
10849
 
      runpath_var=LD_RUN_PATH
10850
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10851
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
10852
 
      # ancient GNU ld didn't support --whole-archive et. al.
10853
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10854
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10855
 
      else
10856
 
        whole_archive_flag_spec=
10857
 
      fi
10858
 
    fi
10859
 
  else
10860
 
    # PORTME fill in a description of your system's linker (not GNU ld)
10861
 
    case $host_os in
10862
 
    aix3*)
10863
 
      allow_undefined_flag=unsupported
10864
 
      always_export_symbols=yes
10865
 
      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'
10866
 
      # Note: this linker hardcodes the directories in LIBPATH if there
10867
 
      # are no directories specified by -L.
10868
 
      hardcode_minus_L=yes
10869
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
10870
 
        # Neither direct hardcoding nor static linking is supported with a
10871
 
        # broken collect2.
10872
 
        hardcode_direct=unsupported
10873
 
      fi
10874
 
      ;;
10875
 
 
10876
 
    aix4* | aix5*)
10877
 
      if test "$host_cpu" = ia64; then
10878
 
        # On IA64, the linker does run time linking by default, so we don't
10879
 
        # have to do anything special.
10880
 
        aix_use_runtimelinking=no
10881
 
        exp_sym_flag='-Bexport'
10882
 
        no_entry_flag=""
10883
 
      else
10884
 
        # If we're using GNU nm, then we don't want the "-C" option.
10885
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10886
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10887
 
          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'
10888
 
        else
10889
 
          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'
10890
 
        fi
10891
 
 
10892
 
        # KDE requires run time linking.  Make it the default.
10893
 
        aix_use_runtimelinking=yes
10894
 
        exp_sym_flag='-bexport'
10895
 
        no_entry_flag='-bnoentry'
10896
 
      fi
10897
 
 
10898
 
      # When large executables or shared objects are built, AIX ld can
10899
 
      # have problems creating the table of contents.  If linking a library
10900
 
      # or program results in "error TOC overflow" add -mminimal-toc to
10901
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10902
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10903
 
 
10904
 
      archive_cmds=''
10905
 
      hardcode_direct=yes
10906
 
      hardcode_libdir_separator=':'
10907
 
      link_all_deplibs=yes
10908
 
 
10909
 
      if test "$GCC" = yes; then
10910
 
        case $host_os in aix4.012|aix4.012.*)
10911
 
        # We only want to do this on AIX 4.2 and lower, the check
10912
 
        # below for broken collect2 doesn't work under 4.3+
10913
 
          collect2name=`${CC} -print-prog-name=collect2`
10914
 
          if test -f "$collect2name" && \
10915
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10916
 
          then
10917
 
          # We have reworked collect2
10918
 
          hardcode_direct=yes
10919
 
          else
10920
 
          # We have old collect2
10921
 
          hardcode_direct=unsupported
10922
 
          # It fails to find uninstalled libraries when the uninstalled
10923
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10924
 
          # to unsupported forces relinking
10925
 
          hardcode_minus_L=yes
10926
 
          hardcode_libdir_flag_spec='-L$libdir'
10927
 
          hardcode_libdir_separator=
10928
 
          fi
10929
 
        esac
10930
 
        shared_flag='-shared'
10931
 
      else
10932
 
        # not using gcc
10933
 
        if test "$host_cpu" = ia64; then
10934
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10935
 
        # chokes on -Wl,-G. The following line is correct:
10936
 
          shared_flag='-G'
10937
 
        else
10938
 
        if test "$aix_use_runtimelinking" = yes; then
10939
 
            shared_flag='-qmkshrobj ${wl}-G'
10940
 
          else
10941
 
            shared_flag='-qmkshrobj'
10942
 
        fi
10943
 
        fi
10944
 
      fi
10945
 
 
10946
 
      # Let the compiler handle the export list.
10947
 
      always_export_symbols=no
10948
 
      if test "$aix_use_runtimelinking" = yes; then
10949
 
        # Warning - without using the other runtime loading flags (-brtl),
10950
 
        # -berok will link without error, but may produce a broken library.
10951
 
        allow_undefined_flag='-berok'
10952
 
       # Determine the default libpath from the value encoded in an empty executable.
10953
 
        cat >conftest.$ac_ext <<_ACEOF
10954
 
/* confdefs.h.  */
10955
 
_ACEOF
10956
 
cat confdefs.h >>conftest.$ac_ext
10957
 
cat >>conftest.$ac_ext <<_ACEOF
10958
 
/* end confdefs.h.  */
10959
 
 
10960
 
int
10961
 
main ()
10962
 
{
10963
 
 
10964
 
  ;
10965
 
  return 0;
10966
 
}
10967
 
_ACEOF
10968
 
rm -f conftest.$ac_objext conftest$ac_exeext
10969
 
if { (ac_try="$ac_link"
10970
 
case "(($ac_try" in
10971
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10972
 
  *) ac_try_echo=$ac_try;;
10973
 
esac
10974
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10975
 
$as_echo "$ac_try_echo") >&5
10976
 
  (eval "$ac_link") 2>conftest.er1
10977
 
  ac_status=$?
10978
 
  grep -v '^ *+' conftest.er1 >conftest.err
10979
 
  rm -f conftest.er1
10980
 
  cat conftest.err >&5
10981
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982
 
  (exit $ac_status); } && {
10983
 
         test -z "$ac_c_werror_flag" ||
10984
 
         test ! -s conftest.err
10985
 
       } && test -s conftest$ac_exeext && {
10986
 
         test "$cross_compiling" = yes ||
10987
 
         $as_test_x conftest$ac_exeext
10988
 
       }; then
10989
 
 
10990
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10991
 
}'`
10992
 
# Check for a 64-bit object if we didn't find anything.
10993
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10994
 
}'`; fi
10995
 
else
10996
 
  $as_echo "$as_me: failed program was:" >&5
10997
 
sed 's/^/| /' conftest.$ac_ext >&5
10998
 
 
10999
 
 
11000
 
fi
11001
 
 
11002
 
rm -rf conftest.dSYM
11003
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11004
 
      conftest$ac_exeext conftest.$ac_ext
11005
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11006
 
 
11007
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11008
 
        archive_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
11009
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11010
 
       else
11011
 
        if test "$host_cpu" = ia64; then
11012
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11013
 
          allow_undefined_flag="-z nodefs"
11014
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
11015
 
        else
11016
 
         # Determine the default libpath from the value encoded in an empty executable.
11017
 
         cat >conftest.$ac_ext <<_ACEOF
11018
 
/* confdefs.h.  */
11019
 
_ACEOF
11020
 
cat confdefs.h >>conftest.$ac_ext
11021
 
cat >>conftest.$ac_ext <<_ACEOF
11022
 
/* end confdefs.h.  */
11023
 
 
11024
 
int
11025
 
main ()
11026
 
{
11027
 
 
11028
 
  ;
11029
 
  return 0;
11030
 
}
11031
 
_ACEOF
11032
 
rm -f conftest.$ac_objext conftest$ac_exeext
11033
 
if { (ac_try="$ac_link"
11034
 
case "(($ac_try" in
11035
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11036
 
  *) ac_try_echo=$ac_try;;
11037
 
esac
11038
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11039
 
$as_echo "$ac_try_echo") >&5
11040
 
  (eval "$ac_link") 2>conftest.er1
11041
 
  ac_status=$?
11042
 
  grep -v '^ *+' conftest.er1 >conftest.err
11043
 
  rm -f conftest.er1
11044
 
  cat conftest.err >&5
11045
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046
 
  (exit $ac_status); } && {
11047
 
         test -z "$ac_c_werror_flag" ||
11048
 
         test ! -s conftest.err
11049
 
       } && test -s conftest$ac_exeext && {
11050
 
         test "$cross_compiling" = yes ||
11051
 
         $as_test_x conftest$ac_exeext
11052
 
       }; then
11053
 
 
11054
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11055
 
}'`
11056
 
# Check for a 64-bit object if we didn't find anything.
11057
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11058
 
}'`; fi
11059
 
else
11060
 
  $as_echo "$as_me: failed program was:" >&5
11061
 
sed 's/^/| /' conftest.$ac_ext >&5
11062
 
 
11063
 
 
11064
 
fi
11065
 
 
11066
 
rm -rf conftest.dSYM
11067
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11068
 
      conftest$ac_exeext conftest.$ac_ext
11069
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11070
 
 
11071
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11072
 
          # Warning - without using the other run time loading flags,
11073
 
          # -berok will link without error, but may produce a broken library.
11074
 
          no_undefined_flag=' ${wl}-bernotok'
11075
 
          allow_undefined_flag=' ${wl}-berok'
11076
 
          # -bexpall does not export symbols beginning with underscore (_)
11077
 
          always_export_symbols=yes
11078
 
          # Exported symbols can be pulled into shared objects from archives
11079
 
          whole_archive_flag_spec=' '
11080
 
          archive_cmds_need_lc=yes
11081
 
          # This is similar to how AIX traditionally builds it's shared libraries.
11082
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11083
 
        fi
11084
 
      fi
11085
 
      ;;
11086
 
 
11087
 
    amigaos*)
11088
 
      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)'
11089
 
      hardcode_libdir_flag_spec='-L$libdir'
11090
 
      hardcode_minus_L=yes
11091
 
      # see comment about different semantics on the GNU ld section
11092
 
      ld_shlibs=no
11093
 
      ;;
11094
 
 
11095
 
    bsdi4*)
11096
 
      export_dynamic_flag_spec=-rdynamic
11097
 
      ;;
11098
 
 
11099
 
    cygwin* | mingw* | pw32*)
11100
 
      # When not using gcc, we currently assume that we are using
11101
 
      # Microsoft Visual C++.
11102
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
11103
 
      # no search path for DLLs.
11104
 
      hardcode_libdir_flag_spec=' '
11105
 
      allow_undefined_flag=no
11106
 
      # Tell ltmain to make .lib files, not .a files.
11107
 
      libext=lib
11108
 
      # Tell ltmain to make .dll files, not .so files.
11109
 
      shrext=".dll"
11110
 
      # FIXME: Setting linknames here is a bad hack.
11111
 
      archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
11112
 
      # The linker will automatically build a .lib file if we build a DLL.
11113
 
      old_archive_From_new_cmds='true'
11114
 
      # FIXME: Should let the user specify the lib program.
11115
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
11116
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
11117
 
      enable_shared_with_static_runtimes=yes
11118
 
      ;;
11119
 
 
11120
 
    darwin* | rhapsody*)
11121
 
    if test "$GXX" = yes ; then
11122
 
      archive_cmds_need_lc=no
11123
 
      case "$host_os" in
11124
 
      rhapsody* | darwin1.[012])
11125
 
        allow_undefined_flag='-Wl,-undefined -Wl,suppress'
11126
 
        ;;
11127
 
      *) # Darwin 1.3 on
11128
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11129
 
          allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
11130
 
        else
11131
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
11132
 
            10.012)
11133
 
              allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
11134
 
              ;;
11135
 
            10.*)
11136
 
              allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
11137
 
              ;;
11138
 
          esac
11139
 
        fi
11140
 
        ;;
11141
 
      esac
11142
 
        lt_int_apple_cc_single_mod=no
11143
 
        output_verbose_link_cmd='echo'
11144
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
11145
 
          lt_int_apple_cc_single_mod=yes
11146
 
        fi
11147
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11148
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
11149
 
        else
11150
 
        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
11151
 
      fi
11152
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
11153
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11154
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11155
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11156
 
        else
11157
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11158
 
        fi
11159
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11160
 
      hardcode_direct=no
11161
 
      hardcode_automatic=yes
11162
 
      hardcode_shlibpath_var=unsupported
11163
 
      whole_archive_flag_spec='-all_load $convenience'
11164
 
      link_all_deplibs=yes
11165
 
    else
11166
 
      ld_shlibs=no
11167
 
    fi
11168
 
      ;;
11169
 
 
11170
 
    dgux*)
11171
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11172
 
      hardcode_libdir_flag_spec='-L$libdir'
11173
 
      hardcode_shlibpath_var=no
11174
 
      ;;
11175
 
 
11176
 
    freebsd1*)
11177
 
      ld_shlibs=no
11178
 
      ;;
11179
 
 
11180
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11181
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
11182
 
    # does not break anything, and helps significantly (at the cost of a little
11183
 
    # extra space).
11184
 
    freebsd2.2*)
11185
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11186
 
      hardcode_libdir_flag_spec='-R$libdir'
11187
 
      hardcode_direct=yes
11188
 
      hardcode_shlibpath_var=no
11189
 
      ;;
11190
 
 
11191
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11192
 
    freebsd2*)
11193
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11194
 
      hardcode_direct=yes
11195
 
      hardcode_minus_L=yes
11196
 
      hardcode_shlibpath_var=no
11197
 
      ;;
11198
 
 
11199
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11200
 
    freebsd* | kfreebsd*-gnu)
11201
 
      archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
11202
 
      hardcode_libdir_flag_spec='-R$libdir'
11203
 
      hardcode_direct=yes
11204
 
      hardcode_shlibpath_var=no
11205
 
      ;;
11206
 
 
11207
 
    hpux9*)
11208
 
      if test "$GCC" = yes; then
11209
 
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11210
 
      else
11211
 
        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'
11212
 
      fi
11213
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11214
 
      hardcode_libdir_separator=:
11215
 
      hardcode_direct=yes
11216
 
 
11217
 
      # hardcode_minus_L: Not really in the search PATH,
11218
 
      # but as the default location of the library.
11219
 
      hardcode_minus_L=yes
11220
 
      export_dynamic_flag_spec='${wl}-E'
11221
 
      ;;
11222
 
 
11223
 
    hpux10* | hpux11*)
11224
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11225
 
        case "$host_cpu" in
11226
 
        hppa*64*|ia64*)
11227
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11228
 
          ;;
11229
 
        *)
11230
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
11231
 
          ;;
11232
 
        esac
11233
 
      else
11234
 
        case "$host_cpu" in
11235
 
        hppa*64*|ia64*)
11236
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
11237
 
          ;;
11238
 
        *)
11239
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11240
 
          ;;
11241
 
        esac
11242
 
      fi
11243
 
      if test "$with_gnu_ld" = no; then
11244
 
        case "$host_cpu" in
11245
 
        hppa*64*)
11246
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11247
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
11248
 
          hardcode_libdir_separator=:
11249
 
          hardcode_direct=no
11250
 
          hardcode_shlibpath_var=no
11251
 
          ;;
11252
 
        ia64*)
11253
 
          hardcode_libdir_flag_spec='-L$libdir'
11254
 
          hardcode_direct=no
11255
 
          hardcode_shlibpath_var=no
11256
 
 
11257
 
          # hardcode_minus_L: Not really in the search PATH,
11258
 
          # but as the default location of the library.
11259
 
          hardcode_minus_L=yes
11260
 
          ;;
11261
 
        *)
11262
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11263
 
          hardcode_libdir_separator=:
11264
 
          hardcode_direct=yes
11265
 
          export_dynamic_flag_spec='${wl}-E'
11266
 
 
11267
 
          # hardcode_minus_L: Not really in the search PATH,
11268
 
          # but as the default location of the library.
11269
 
          hardcode_minus_L=yes
11270
 
          ;;
11271
 
        esac
11272
 
      fi
11273
 
      ;;
11274
 
 
11275
 
    irix5* | irix6* | nonstopux*)
11276
 
      if test "$GCC" = yes; then
11277
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11278
 
      else
11279
 
        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'
11280
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
11281
 
      fi
11282
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11283
 
      hardcode_libdir_separator=:
11284
 
      link_all_deplibs=yes
11285
 
      ;;
11286
 
 
11287
 
    netbsd*)
11288
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11289
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11290
 
      else
11291
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11292
 
      fi
11293
 
      hardcode_libdir_flag_spec='-R$libdir'
11294
 
      hardcode_direct=yes
11295
 
      hardcode_shlibpath_var=no
11296
 
      ;;
11297
 
 
11298
 
    newsos6)
11299
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11300
 
      hardcode_direct=yes
11301
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11302
 
      hardcode_libdir_separator=:
11303
 
      hardcode_shlibpath_var=no
11304
 
      ;;
11305
 
 
11306
 
    openbsd*)
11307
 
      hardcode_direct=yes
11308
 
      hardcode_shlibpath_var=no
11309
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11310
 
        archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11311
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11312
 
        export_dynamic_flag_spec='${wl}-E'
11313
 
      else
11314
 
       case $host_os in
11315
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11316
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11317
 
           hardcode_libdir_flag_spec='-R$libdir'
11318
 
           ;;
11319
 
         *)
11320
 
           archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11321
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11322
 
           ;;
11323
 
       esac
11324
 
      fi
11325
 
      ;;
11326
 
 
11327
 
    os2*)
11328
 
      hardcode_libdir_flag_spec='-L$libdir'
11329
 
      hardcode_minus_L=yes
11330
 
      allow_undefined_flag=unsupported
11331
 
      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 $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
11332
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11333
 
      ;;
11334
 
 
11335
 
    osf3*)
11336
 
      if test "$GCC" = yes; then
11337
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11338
 
        archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11339
 
      else
11340
 
        allow_undefined_flag=' -expect_unresolved \*'
11341
 
        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'
11342
 
      fi
11343
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11344
 
      hardcode_libdir_separator=:
11345
 
      ;;
11346
 
 
11347
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
11348
 
      if test "$GCC" = yes; then
11349
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11350
 
        archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${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'
11351
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11352
 
      else
11353
 
        allow_undefined_flag=' -expect_unresolved \*'
11354
 
        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'
11355
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11356
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
11357
 
 
11358
 
        # Both c and cxx compiler support -rpath directly
11359
 
        hardcode_libdir_flag_spec='-rpath $libdir'
11360
 
      fi
11361
 
      hardcode_libdir_separator=:
11362
 
      ;;
11363
 
 
11364
 
    sco3.2v5*)
11365
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11366
 
      hardcode_shlibpath_var=no
11367
 
      export_dynamic_flag_spec='${wl}-Bexport'
11368
 
      runpath_var=LD_RUN_PATH
11369
 
      hardcode_runpath_var=yes
11370
 
      ;;
11371
 
 
11372
 
    solaris*)
11373
 
      no_undefined_flag=' -z text'
11374
 
      if test "$GCC" = yes; then
11375
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11376
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11377
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
11378
 
      else
11379
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11380
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11381
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11382
 
      fi
11383
 
      hardcode_libdir_flag_spec='-R$libdir'
11384
 
      hardcode_shlibpath_var=no
11385
 
      case $host_os in
11386
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
11387
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
11388
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
11389
 
      esac
11390
 
      link_all_deplibs=yes
11391
 
      ;;
11392
 
 
11393
 
    sunos4*)
11394
 
      if test "x$host_vendor" = xsequent; then
11395
 
        # Use $CC to link under sequent, because it throws in some extra .o
11396
 
        # files that make .init and .fini sections work.
11397
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
11398
 
      else
11399
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11400
 
      fi
11401
 
      hardcode_libdir_flag_spec='-L$libdir'
11402
 
      hardcode_direct=yes
11403
 
      hardcode_minus_L=yes
11404
 
      hardcode_shlibpath_var=no
11405
 
      ;;
11406
 
 
11407
 
    sysv4)
11408
 
      case $host_vendor in
11409
 
        sni)
11410
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11411
 
          hardcode_direct=yes # is this really true???
11412
 
        ;;
11413
 
        siemens)
11414
 
          ## LD is ld it makes a PLAMLIB
11415
 
          ## CC just makes a GrossModule.
11416
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11417
 
          reload_cmds='$CC -r -o $output$reload_objs'
11418
 
          hardcode_direct=no
11419
 
        ;;
11420
 
        motorola)
11421
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11422
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11423
 
        ;;
11424
 
      esac
11425
 
      runpath_var='LD_RUN_PATH'
11426
 
      hardcode_shlibpath_var=no
11427
 
      ;;
11428
 
 
11429
 
    sysv4.3*)
11430
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11431
 
      hardcode_shlibpath_var=no
11432
 
      export_dynamic_flag_spec='-Bexport'
11433
 
      ;;
11434
 
 
11435
 
    sysv4*MP*)
11436
 
      if test -d /usr/nec; then
11437
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11438
 
        hardcode_shlibpath_var=no
11439
 
        runpath_var=LD_RUN_PATH
11440
 
        hardcode_runpath_var=yes
11441
 
        ld_shlibs=yes
11442
 
      fi
11443
 
      ;;
11444
 
 
11445
 
    sysv4.2uw2*)
11446
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11447
 
      hardcode_direct=yes
11448
 
      hardcode_minus_L=no
11449
 
      hardcode_shlibpath_var=no
11450
 
      hardcode_runpath_var=yes
11451
 
      runpath_var=LD_RUN_PATH
11452
 
      ;;
11453
 
 
11454
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
11455
 
      no_undefined_flag='${wl}-z ${wl}text'
11456
 
      if test "$GCC" = yes; then
11457
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11458
 
      else
11459
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11460
 
      fi
11461
 
      runpath_var='LD_RUN_PATH'
11462
 
      hardcode_shlibpath_var=no
11463
 
      ;;
11464
 
 
11465
 
    sysv5*)
11466
 
      no_undefined_flag=' -z text'
11467
 
      # $CC -shared without GNU ld will not create a library from C++
11468
 
      # object files and a static libstdc++, better avoid it by now
11469
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11470
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11471
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11472
 
      hardcode_libdir_flag_spec=
11473
 
      hardcode_shlibpath_var=no
11474
 
      runpath_var='LD_RUN_PATH'
11475
 
      ;;
11476
 
 
11477
 
    uts4*)
11478
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11479
 
      hardcode_libdir_flag_spec='-L$libdir'
11480
 
      hardcode_shlibpath_var=no
11481
 
      ;;
11482
 
 
11483
 
    *)
11484
 
      ld_shlibs=no
11485
 
      ;;
11486
 
    esac
11487
 
  fi
11488
 
 
11489
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11490
 
$as_echo "$ld_shlibs" >&6; }
11491
 
test "$ld_shlibs" = no && can_build_shared=no
11492
 
 
11493
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11494
 
if test "$GCC" = yes; then
11495
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11496
 
fi
11497
 
 
11498
 
#
11499
 
# Do we need to explicitly link libc?
11500
 
#
11501
 
case "x$archive_cmds_need_lc" in
11502
 
x|xyes)
11503
 
  # Assume -lc should be added
11504
 
  archive_cmds_need_lc=yes
11505
 
 
11506
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
11507
 
    case $archive_cmds in
11508
 
    *'~'*)
11509
 
      # FIXME: we may have to deal with multi-command sequences.
11510
 
      ;;
11511
 
    '$CC '*)
11512
 
      # Test whether the compiler implicitly links with -lc since on some
11513
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11514
 
      # to ld, don't add -lc before -lgcc.
11515
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11516
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11517
 
      $rm conftest*
11518
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11519
 
 
11520
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11521
 
  (eval $ac_compile) 2>&5
11522
 
  ac_status=$?
11523
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524
 
  (exit $ac_status); } 2>conftest.err; then
11525
 
        soname=conftest
11526
 
        lib=conftest
11527
 
        libobjs=conftest.$ac_objext
11528
 
        deplibs=
11529
 
        wl=$lt_prog_compiler_wl
11530
 
        compiler_flags=-v
11531
 
        linker_flags=-v
11532
 
        verstring=
11533
 
        output_objdir=.
11534
 
        libname=conftest
11535
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
11536
 
        allow_undefined_flag=
11537
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11538
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11539
 
  ac_status=$?
11540
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541
 
  (exit $ac_status); }
11542
 
        then
11543
 
          archive_cmds_need_lc=no
11544
 
        else
11545
 
          archive_cmds_need_lc=yes
11546
 
        fi
11547
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
11548
 
      else
11549
 
        cat conftest.err 1>&5
11550
 
      fi
11551
 
      $rm conftest*
11552
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11553
 
$as_echo "$archive_cmds_need_lc" >&6; }
11554
 
      ;;
11555
 
    esac
11556
 
  fi
11557
 
  ;;
11558
 
esac
11559
 
 
11560
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11561
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11562
 
library_names_spec=
11563
 
libname_spec='lib$name'
11564
 
soname_spec=
11565
 
shrext=".so"
11566
 
postinstall_cmds=
11567
 
postuninstall_cmds=
11568
 
finish_cmds=
11569
 
finish_eval=
11570
 
shlibpath_var=
11571
 
shlibpath_overrides_runpath=unknown
11572
 
version_type=none
11573
 
dynamic_linker="$host_os ld.so"
11574
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11575
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11576
 
need_lib_prefix=unknown
11577
 
hardcode_into_libs=no
11578
 
 
11579
 
# when you set need_version to no, make sure it does not cause -set_version
11580
 
# flags to be left without arguments
11581
 
need_version=unknown
11582
 
 
11583
 
case $host_os in
11584
 
aix3*)
11585
 
  version_type=linux
11586
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11587
 
  shlibpath_var=LIBPATH
11588
 
 
11589
 
  # AIX 3 has no versioning support, so we append a major version to the name.
11590
 
  soname_spec='${libname}${release}${shared_ext}$major'
11591
 
  ;;
11592
 
 
11593
 
aix4* | aix5*)
11594
 
  version_type=linux
11595
 
  need_lib_prefix=no
11596
 
  need_version=no
11597
 
  hardcode_into_libs=yes
11598
 
  if test "$host_cpu" = ia64; then
11599
 
    # AIX 5 supports IA64
11600
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11601
 
    shlibpath_var=LD_LIBRARY_PATH
11602
 
  else
11603
 
    # With GCC up to 2.95.x, collect2 would create an import file
11604
 
    # for dependence libraries.  The import file would start with
11605
 
    # the line `#! .'.  This would cause the generated library to
11606
 
    # depend on `.', always an invalid library.  This was fixed in
11607
 
    # development snapshots of GCC prior to 3.0.
11608
 
    case $host_os in
11609
 
      aix4 | aix4.[01] | aix4.[01].*)
11610
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11611
 
           echo ' yes '
11612
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11613
 
        :
11614
 
      else
11615
 
        can_build_shared=no
11616
 
      fi
11617
 
      ;;
11618
 
    esac
11619
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11620
 
    # soname into executable. Probably we can add versioning support to
11621
 
    # collect2, so additional links can be useful in future.
11622
 
    if test "$aix_use_runtimelinking" = yes; then
11623
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11624
 
      # instead of lib<name>.a to let people know that these are not
11625
 
      # typical AIX shared libraries.
11626
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11627
 
    else
11628
 
      # We preserve .a as extension for shared libraries through AIX4.2
11629
 
      # and later when we are not doing run time linking.
11630
 
      library_names_spec='${libname}${release}.a $libname.a'
11631
 
      soname_spec='${libname}${release}${shared_ext}$major'
11632
 
    fi
11633
 
    shlibpath_var=LIBPATH
11634
 
  fi
11635
 
  ;;
11636
 
 
11637
 
amigaos*)
11638
 
  library_names_spec='$libname.ixlibrary $libname.a'
11639
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
11640
 
  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'
11641
 
  ;;
11642
 
 
11643
 
beos*)
11644
 
  library_names_spec='${libname}${shared_ext}'
11645
 
  dynamic_linker="$host_os ld.so"
11646
 
  shlibpath_var=LIBRARY_PATH
11647
 
  ;;
11648
 
 
11649
 
bsdi4*)
11650
 
  version_type=linux
11651
 
  need_version=no
11652
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11653
 
  soname_spec='${libname}${release}${shared_ext}$major'
11654
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11655
 
  shlibpath_var=LD_LIBRARY_PATH
11656
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11657
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11658
 
  # the default ld.so.conf also contains /usr/contrib/lib and
11659
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11660
 
  # libtool to hard-code these into programs
11661
 
  ;;
11662
 
 
11663
 
cygwin* | mingw* | pw32*)
11664
 
  version_type=windows
11665
 
  shrext=".dll"
11666
 
  need_version=no
11667
 
  need_lib_prefix=no
11668
 
 
11669
 
  case $GCC,$host_os in
11670
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
11671
 
    library_names_spec='$libname.dll.a'
11672
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11673
 
    postinstall_cmds='base_file=`basename \${file}`~
11674
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11675
 
      dldir=$destdir/`dirname \$dlpath`~
11676
 
      test -d \$dldir || mkdir -p \$dldir~
11677
 
      $install_prog $dir/$dlname \$dldir/$dlname'
11678
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11679
 
      dlpath=$dir/\$dldll~
11680
 
       $rm \$dlpath'
11681
 
    shlibpath_overrides_runpath=yes
11682
 
 
11683
 
    case $host_os in
11684
 
    cygwin*)
11685
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11686
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11687
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11688
 
      ;;
11689
 
    mingw*)
11690
 
      # MinGW DLLs use traditional 'lib' prefix
11691
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11692
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11693
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11694
 
        # It is most probably a Windows format PATH printed by
11695
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11696
 
        # path with ; separators, and with drive letters. We can handle the
11697
 
        # drive letters (cygwin fileutils understands them), so leave them,
11698
 
        # especially as we might pass files found there to a mingw objdump,
11699
 
        # which wouldn't understand a cygwinified path. Ahh.
11700
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11701
 
      else
11702
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11703
 
      fi
11704
 
      ;;
11705
 
    pw32*)
11706
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11707
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11708
 
      ;;
11709
 
    esac
11710
 
    ;;
11711
 
 
11712
 
  *)
11713
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11714
 
    ;;
11715
 
  esac
11716
 
  dynamic_linker='Win32 ld.exe'
11717
 
  # FIXME: first we should search . and the directory the executable is in
11718
 
  shlibpath_var=PATH
11719
 
  ;;
11720
 
 
11721
 
darwin* | rhapsody*)
11722
 
  dynamic_linker="$host_os dyld"
11723
 
  version_type=darwin
11724
 
  need_lib_prefix=no
11725
 
  need_version=no
11726
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11727
 
  soname_spec='${libname}${release}${major}$shared_ext'
11728
 
  shlibpath_overrides_runpath=yes
11729
 
  shlibpath_var=DYLD_LIBRARY_PATH
11730
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11731
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11732
 
  if test "$GCC" = yes; then
11733
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11734
 
  else
11735
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11736
 
  fi
11737
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11738
 
  ;;
11739
 
 
11740
 
dgux*)
11741
 
  version_type=linux
11742
 
  need_lib_prefix=no
11743
 
  need_version=no
11744
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11745
 
  soname_spec='${libname}${release}${shared_ext}$major'
11746
 
  shlibpath_var=LD_LIBRARY_PATH
11747
 
  ;;
11748
 
 
11749
 
freebsd1*)
11750
 
  dynamic_linker=no
11751
 
  ;;
11752
 
 
11753
 
kfreebsd*-gnu*)
11754
 
  version_type=linux
11755
 
  need_lib_prefix=no
11756
 
  need_version=no
11757
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11758
 
  soname_spec='${libname}${release}${shared_ext}$major'
11759
 
  shlibpath_var=LD_LIBRARY_PATH
11760
 
  shlibpath_overrides_runpath=no
11761
 
  hardcode_into_libs=yes
11762
 
  dynamic_linker='GNU ld.so'
11763
 
  ;;
11764
 
 
11765
 
freebsd*)
11766
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11767
 
  version_type=freebsd-$objformat
11768
 
  case $version_type in
11769
 
    freebsd-elf*)
11770
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11771
 
      need_version=no
11772
 
      need_lib_prefix=no
11773
 
      ;;
11774
 
    freebsd-*)
11775
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11776
 
      need_version=yes
11777
 
      ;;
11778
 
  esac
11779
 
  shlibpath_var=LD_LIBRARY_PATH
11780
 
  case $host_os in
11781
 
  freebsd2*)
11782
 
    shlibpath_overrides_runpath=yes
11783
 
    ;;
11784
 
  freebsd3.01* | freebsdelf3.01*)
11785
 
    shlibpath_overrides_runpath=yes
11786
 
    hardcode_into_libs=yes
11787
 
    ;;
11788
 
  *) # from 3.2 on
11789
 
    shlibpath_overrides_runpath=no
11790
 
    hardcode_into_libs=yes
11791
 
    ;;
11792
 
  esac
11793
 
  ;;
11794
 
 
11795
 
gnu*)
11796
 
  version_type=linux
11797
 
  need_lib_prefix=no
11798
 
  need_version=no
11799
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11800
 
  soname_spec='${libname}${release}${shared_ext}$major'
11801
 
  shlibpath_var=LD_LIBRARY_PATH
11802
 
  hardcode_into_libs=yes
11803
 
  ;;
11804
 
 
11805
 
hpux9* | hpux10* | hpux11*)
11806
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
11807
 
  # link against other versions.
11808
 
  version_type=sunos
11809
 
  need_lib_prefix=no
11810
 
  need_version=no
11811
 
  case "$host_cpu" in
11812
 
  ia64*)
11813
 
    shrext='.so'
11814
 
    hardcode_into_libs=yes
11815
 
    dynamic_linker="$host_os dld.so"
11816
 
    shlibpath_var=LD_LIBRARY_PATH
11817
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11818
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11819
 
    soname_spec='${libname}${release}${shared_ext}$major'
11820
 
    if test "X$HPUX_IA64_MODE" = X32; then
11821
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11822
 
    else
11823
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11824
 
    fi
11825
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11826
 
    ;;
11827
 
   hppa*64*)
11828
 
     shrext='.sl'
11829
 
     hardcode_into_libs=yes
11830
 
     dynamic_linker="$host_os dld.sl"
11831
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11832
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11833
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11834
 
     soname_spec='${libname}${release}${shared_ext}$major'
11835
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11836
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11837
 
     ;;
11838
 
   *)
11839
 
    shrext='.sl'
11840
 
    dynamic_linker="$host_os dld.sl"
11841
 
    shlibpath_var=SHLIB_PATH
11842
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11843
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11844
 
    soname_spec='${libname}${release}${shared_ext}$major'
11845
 
    ;;
11846
 
  esac
11847
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11848
 
  postinstall_cmds='chmod 555 $lib'
11849
 
  ;;
11850
 
 
11851
 
irix5* | irix6* | nonstopux*)
11852
 
  case $host_os in
11853
 
    nonstopux*) version_type=nonstopux ;;
11854
 
    *)
11855
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11856
 
                version_type=linux
11857
 
        else
11858
 
                version_type=irix
11859
 
        fi ;;
11860
 
  esac
11861
 
  need_lib_prefix=no
11862
 
  need_version=no
11863
 
  soname_spec='${libname}${release}${shared_ext}$major'
11864
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11865
 
  case $host_os in
11866
 
  irix5* | nonstopux*)
11867
 
    libsuff= shlibsuff=
11868
 
    ;;
11869
 
  *)
11870
 
    case $LD in # libtool.m4 will add one of these switches to LD
11871
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11872
 
      libsuff= shlibsuff= libmagic=32-bit;;
11873
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11874
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11875
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11876
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11877
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11878
 
    esac
11879
 
    ;;
11880
 
  esac
11881
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11882
 
  shlibpath_overrides_runpath=no
11883
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11884
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11885
 
  hardcode_into_libs=yes
11886
 
  ;;
11887
 
 
11888
 
# No shared lib support for Linux oldld, aout, or coff.
11889
 
linux*oldld* | linux*aout* | linux*coff*)
11890
 
  dynamic_linker=no
11891
 
  ;;
11892
 
 
11893
 
# This must be Linux ELF.
11894
 
linux*)
11895
 
  version_type=linux
11896
 
  need_lib_prefix=no
11897
 
  need_version=no
11898
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11899
 
  soname_spec='${libname}${release}${shared_ext}$major'
11900
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11901
 
  libsuff=
11902
 
  if test "x$LINUX_64_MODE" = x64; then
11903
 
    # Some platforms are per default 64-bit, so there's no /lib64
11904
 
    if test -d /lib64 -a ! -h /lib64; then
11905
 
      libsuff=64
11906
 
    fi
11907
 
  fi
11908
 
  shlibpath_var=LD_LIBRARY_PATH
11909
 
  shlibpath_overrides_runpath=no
11910
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
11911
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11912
 
  # This implies no fast_install, which is unacceptable.
11913
 
  # Some rework will be needed to allow for fast_install
11914
 
  # before this can be enabled.
11915
 
  hardcode_into_libs=yes
11916
 
 
11917
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11918
 
  # powerpc, because MkLinux only supported shared libraries with the
11919
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11920
 
  # most powerpc-linux boxes support dynamic linking these days and
11921
 
  # people can always --disable-shared, the test was removed, and we
11922
 
  # assume the GNU/Linux dynamic linker is in use.
11923
 
  dynamic_linker='GNU/Linux ld.so'
11924
 
  ;;
11925
 
 
11926
 
netbsd*)
11927
 
  version_type=sunos
11928
 
  need_lib_prefix=no
11929
 
  need_version=no
11930
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11931
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11932
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11933
 
    dynamic_linker='NetBSD (a.out) ld.so'
11934
 
  else
11935
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11936
 
    soname_spec='${libname}${release}${shared_ext}$major'
11937
 
    dynamic_linker='NetBSD ld.elf_so'
11938
 
  fi
11939
 
  shlibpath_var=LD_LIBRARY_PATH
11940
 
  shlibpath_overrides_runpath=yes
11941
 
  hardcode_into_libs=yes
11942
 
  ;;
11943
 
 
11944
 
newsos6)
11945
 
  version_type=linux
11946
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11947
 
  shlibpath_var=LD_LIBRARY_PATH
11948
 
  shlibpath_overrides_runpath=yes
11949
 
  ;;
11950
 
 
11951
 
nto-qnx*)
11952
 
  version_type=linux
11953
 
  need_lib_prefix=no
11954
 
  need_version=no
11955
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11956
 
  soname_spec='${libname}${release}${shared_ext}$major'
11957
 
  shlibpath_var=LD_LIBRARY_PATH
11958
 
  shlibpath_overrides_runpath=yes
11959
 
  ;;
11960
 
 
11961
 
openbsd*)
11962
 
  version_type=sunos
11963
 
  need_lib_prefix=no
11964
 
  need_version=no
11965
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11966
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11967
 
  shlibpath_var=LD_LIBRARY_PATH
11968
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11969
 
    case $host_os in
11970
 
      openbsd2.[89] | openbsd2.[89].*)
11971
 
        shlibpath_overrides_runpath=no
11972
 
        ;;
11973
 
      *)
11974
 
        shlibpath_overrides_runpath=yes
11975
 
        ;;
11976
 
      esac
11977
 
  else
11978
 
    shlibpath_overrides_runpath=yes
11979
 
  fi
11980
 
  ;;
11981
 
 
11982
 
os2*)
11983
 
  libname_spec='$name'
11984
 
  shrext=".dll"
11985
 
  need_lib_prefix=no
11986
 
  library_names_spec='$libname${shared_ext} $libname.a'
11987
 
  dynamic_linker='OS/2 ld.exe'
11988
 
  shlibpath_var=LIBPATH
11989
 
  ;;
11990
 
 
11991
 
osf3* | osf4* | osf5*)
11992
 
  version_type=osf
11993
 
  need_lib_prefix=no
11994
 
  need_version=no
11995
 
  soname_spec='${libname}${release}${shared_ext}$major'
11996
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11997
 
  shlibpath_var=LD_LIBRARY_PATH
11998
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11999
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12000
 
  ;;
12001
 
 
12002
 
sco3.2v5*)
12003
 
  version_type=osf
12004
 
  soname_spec='${libname}${release}${shared_ext}$major'
12005
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12006
 
  shlibpath_var=LD_LIBRARY_PATH
12007
 
  ;;
12008
 
 
12009
 
solaris*)
12010
 
  version_type=linux
12011
 
  need_lib_prefix=no
12012
 
  need_version=no
12013
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12014
 
  soname_spec='${libname}${release}${shared_ext}$major'
12015
 
  shlibpath_var=LD_LIBRARY_PATH
12016
 
  shlibpath_overrides_runpath=yes
12017
 
  hardcode_into_libs=yes
12018
 
  # ldd complains unless libraries are executable
12019
 
  postinstall_cmds='chmod +x $lib'
12020
 
  ;;
12021
 
 
12022
 
sunos4*)
12023
 
  version_type=sunos
12024
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12025
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12026
 
  shlibpath_var=LD_LIBRARY_PATH
12027
 
  shlibpath_overrides_runpath=yes
12028
 
  if test "$with_gnu_ld" = yes; then
12029
 
    need_lib_prefix=no
12030
 
  fi
12031
 
  need_version=yes
12032
 
  ;;
12033
 
 
12034
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12035
 
  version_type=linux
12036
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12037
 
  soname_spec='${libname}${release}${shared_ext}$major'
12038
 
  shlibpath_var=LD_LIBRARY_PATH
12039
 
  case $host_vendor in
12040
 
    sni)
12041
 
      shlibpath_overrides_runpath=no
12042
 
      need_lib_prefix=no
12043
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
12044
 
      runpath_var=LD_RUN_PATH
12045
 
      ;;
12046
 
    siemens)
12047
 
      need_lib_prefix=no
12048
 
      ;;
12049
 
    motorola)
12050
 
      need_lib_prefix=no
12051
 
      need_version=no
12052
 
      shlibpath_overrides_runpath=no
12053
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12054
 
      ;;
12055
 
  esac
12056
 
  ;;
12057
 
 
12058
 
sysv4*MP*)
12059
 
  if test -d /usr/nec ;then
12060
 
    version_type=linux
12061
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12062
 
    soname_spec='$libname${shared_ext}.$major'
12063
 
    shlibpath_var=LD_LIBRARY_PATH
12064
 
  fi
12065
 
  ;;
12066
 
 
12067
 
uts4*)
12068
 
  version_type=linux
12069
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12070
 
  soname_spec='${libname}${release}${shared_ext}$major'
12071
 
  shlibpath_var=LD_LIBRARY_PATH
12072
 
  ;;
12073
 
 
12074
 
*)
12075
 
  dynamic_linker=no
12076
 
  ;;
12077
 
esac
12078
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12079
 
$as_echo "$dynamic_linker" >&6; }
12080
 
test "$dynamic_linker" = no && can_build_shared=no
12081
 
 
12082
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12083
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12084
 
hardcode_action=
12085
 
if test -n "$hardcode_libdir_flag_spec" || \
12086
 
   test -n "$runpath_var " || \
12087
 
   test "X$hardcode_automatic"="Xyes" ; then
12088
 
 
12089
 
  # We can hardcode non-existant directories.
12090
 
  if test "$hardcode_direct" != no &&
12091
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12092
 
     # have to relink, otherwise we might link with an installed library
12093
 
     # when we should be linking with a yet-to-be-installed one
12094
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
12095
 
     test "$hardcode_minus_L" != no; then
12096
 
    # Linking always hardcodes the temporary library directory.
12097
 
    hardcode_action=relink
12098
 
  else
12099
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12100
 
    hardcode_action=immediate
12101
 
  fi
12102
 
else
12103
 
  # We cannot hardcode anything, or else we can only hardcode existing
12104
 
  # directories.
12105
 
  hardcode_action=unsupported
12106
 
fi
12107
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
12108
 
$as_echo "$hardcode_action" >&6; }
12109
 
 
12110
 
if test "$hardcode_action" = relink; then
12111
 
  # Fast installation is not supported
12112
 
  enable_fast_install=no
12113
 
elif test "$shlibpath_overrides_runpath" = yes ||
12114
 
     test "$enable_shared" = no; then
12115
 
  # Fast installation is not necessary
12116
 
  enable_fast_install=needless
12117
 
fi
12118
 
 
12119
 
striplib=
12120
 
old_striplib=
12121
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12122
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12123
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12124
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12125
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12126
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
12127
 
$as_echo "yes" >&6; }
12128
 
else
12129
 
# FIXME - insert some real tests, host_os isn't really good enough
12130
 
  case $host_os in
12131
 
   darwin*)
12132
 
       if test -n "$STRIP" ; then
12133
 
         striplib="$STRIP -x"
12134
 
         { $as_echo "$as_me:$LINENO: result: yes" >&5
12135
 
$as_echo "yes" >&6; }
12136
 
       else
12137
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12138
 
$as_echo "no" >&6; }
12139
 
fi
12140
 
       ;;
12141
 
   *)
12142
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12143
 
$as_echo "no" >&6; }
12144
 
    ;;
12145
 
  esac
12146
 
fi
12147
 
 
12148
 
if test "x$enable_dlopen" != xyes; then
12149
 
  enable_dlopen=unknown
12150
 
  enable_dlopen_self=unknown
12151
 
  enable_dlopen_self_static=unknown
12152
 
else
12153
 
  lt_cv_dlopen=no
12154
 
  lt_cv_dlopen_libs=
12155
 
 
12156
 
  case $host_os in
12157
 
  beos*)
12158
 
    lt_cv_dlopen="load_add_on"
12159
 
    lt_cv_dlopen_libs=
12160
 
    lt_cv_dlopen_self=yes
12161
 
    ;;
12162
 
 
12163
 
  mingw* | pw32*)
12164
 
    lt_cv_dlopen="LoadLibrary"
12165
 
    lt_cv_dlopen_libs=
12166
 
   ;;
12167
 
 
12168
 
  cygwin*)
12169
 
    lt_cv_dlopen="dlopen"
12170
 
    lt_cv_dlopen_libs=
12171
 
   ;;
12172
 
 
12173
 
  darwin*)
12174
 
  # if libdl is installed we need to link against it
12175
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12176
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12177
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12178
 
  $as_echo_n "(cached) " >&6
12179
 
else
12180
 
  ac_check_lib_save_LIBS=$LIBS
12181
 
LIBS="-ldl  $LIBS"
12182
 
cat >conftest.$ac_ext <<_ACEOF
12183
 
/* confdefs.h.  */
12184
 
_ACEOF
12185
 
cat confdefs.h >>conftest.$ac_ext
12186
 
cat >>conftest.$ac_ext <<_ACEOF
12187
 
/* end confdefs.h.  */
12188
 
 
12189
 
/* Override any GCC internal prototype to avoid an error.
12190
 
   Use char because int might match the return type of a GCC
12191
 
   builtin and then its argument prototype would still apply.  */
12192
 
#ifdef __cplusplus
12193
 
extern "C"
12194
 
#endif
12195
 
char dlopen ();
12196
 
int
12197
 
main ()
12198
 
{
12199
 
return dlopen ();
12200
 
  ;
12201
 
  return 0;
12202
 
}
12203
 
_ACEOF
12204
 
rm -f conftest.$ac_objext conftest$ac_exeext
12205
 
if { (ac_try="$ac_link"
12206
 
case "(($ac_try" in
12207
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12208
 
  *) ac_try_echo=$ac_try;;
12209
 
esac
12210
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12211
 
$as_echo "$ac_try_echo") >&5
12212
 
  (eval "$ac_link") 2>conftest.er1
12213
 
  ac_status=$?
12214
 
  grep -v '^ *+' conftest.er1 >conftest.err
12215
 
  rm -f conftest.er1
12216
 
  cat conftest.err >&5
12217
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218
 
  (exit $ac_status); } && {
12219
 
         test -z "$ac_c_werror_flag" ||
12220
 
         test ! -s conftest.err
12221
 
       } && test -s conftest$ac_exeext && {
12222
 
         test "$cross_compiling" = yes ||
12223
 
         $as_test_x conftest$ac_exeext
12224
 
       }; then
12225
 
  ac_cv_lib_dl_dlopen=yes
12226
 
else
12227
 
  $as_echo "$as_me: failed program was:" >&5
12228
 
sed 's/^/| /' conftest.$ac_ext >&5
12229
 
 
12230
 
        ac_cv_lib_dl_dlopen=no
12231
 
fi
12232
 
 
12233
 
rm -rf conftest.dSYM
12234
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12235
 
      conftest$ac_exeext conftest.$ac_ext
12236
 
LIBS=$ac_check_lib_save_LIBS
12237
 
fi
12238
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12239
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12240
 
if test $ac_cv_lib_dl_dlopen = yes; then
12241
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12242
 
else
12243
 
 
12244
 
    lt_cv_dlopen="dyld"
12245
 
    lt_cv_dlopen_libs=
12246
 
    lt_cv_dlopen_self=yes
12247
 
 
12248
 
fi
12249
 
 
12250
 
   ;;
12251
 
 
12252
 
  *)
12253
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12254
 
$as_echo_n "checking for shl_load... " >&6; }
12255
 
if test "${ac_cv_func_shl_load+set}" = set; then
12256
 
  $as_echo_n "(cached) " >&6
12257
 
else
12258
 
  cat >conftest.$ac_ext <<_ACEOF
12259
 
/* confdefs.h.  */
12260
 
_ACEOF
12261
 
cat confdefs.h >>conftest.$ac_ext
12262
 
cat >>conftest.$ac_ext <<_ACEOF
12263
 
/* end confdefs.h.  */
12264
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12265
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12266
 
#define shl_load innocuous_shl_load
12267
 
 
12268
 
/* System header to define __stub macros and hopefully few prototypes,
12269
 
    which can conflict with char shl_load (); below.
12270
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12271
 
    <limits.h> exists even on freestanding compilers.  */
12272
 
 
12273
 
#ifdef __STDC__
12274
 
# include <limits.h>
12275
 
#else
12276
 
# include <assert.h>
12277
 
#endif
12278
 
 
12279
 
#undef shl_load
12280
 
 
12281
 
/* Override any GCC internal prototype to avoid an error.
12282
 
   Use char because int might match the return type of a GCC
12283
 
   builtin and then its argument prototype would still apply.  */
12284
 
#ifdef __cplusplus
12285
 
extern "C"
12286
 
#endif
12287
 
char shl_load ();
12288
 
/* The GNU C library defines this for functions which it implements
12289
 
    to always fail with ENOSYS.  Some functions are actually named
12290
 
    something starting with __ and the normal name is an alias.  */
12291
 
#if defined __stub_shl_load || defined __stub___shl_load
12292
 
choke me
12293
 
#endif
12294
 
 
12295
 
int
12296
 
main ()
12297
 
{
12298
 
return shl_load ();
12299
 
  ;
12300
 
  return 0;
12301
 
}
12302
 
_ACEOF
12303
 
rm -f conftest.$ac_objext conftest$ac_exeext
12304
 
if { (ac_try="$ac_link"
12305
 
case "(($ac_try" in
12306
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12307
 
  *) ac_try_echo=$ac_try;;
12308
 
esac
12309
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12310
 
$as_echo "$ac_try_echo") >&5
12311
 
  (eval "$ac_link") 2>conftest.er1
12312
 
  ac_status=$?
12313
 
  grep -v '^ *+' conftest.er1 >conftest.err
12314
 
  rm -f conftest.er1
12315
 
  cat conftest.err >&5
12316
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317
 
  (exit $ac_status); } && {
12318
 
         test -z "$ac_c_werror_flag" ||
12319
 
         test ! -s conftest.err
12320
 
       } && test -s conftest$ac_exeext && {
12321
 
         test "$cross_compiling" = yes ||
12322
 
         $as_test_x conftest$ac_exeext
12323
 
       }; then
12324
 
  ac_cv_func_shl_load=yes
12325
 
else
12326
 
  $as_echo "$as_me: failed program was:" >&5
12327
 
sed 's/^/| /' conftest.$ac_ext >&5
12328
 
 
12329
 
        ac_cv_func_shl_load=no
12330
 
fi
12331
 
 
12332
 
rm -rf conftest.dSYM
12333
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12334
 
      conftest$ac_exeext conftest.$ac_ext
12335
 
fi
12336
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12337
 
$as_echo "$ac_cv_func_shl_load" >&6; }
12338
 
if test $ac_cv_func_shl_load = yes; then
12339
 
  lt_cv_dlopen="shl_load"
12340
 
else
12341
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12342
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12343
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12344
 
  $as_echo_n "(cached) " >&6
12345
 
else
12346
 
  ac_check_lib_save_LIBS=$LIBS
12347
 
LIBS="-ldld  $LIBS"
12348
 
cat >conftest.$ac_ext <<_ACEOF
12349
 
/* confdefs.h.  */
12350
 
_ACEOF
12351
 
cat confdefs.h >>conftest.$ac_ext
12352
 
cat >>conftest.$ac_ext <<_ACEOF
12353
 
/* end confdefs.h.  */
12354
 
 
12355
 
/* Override any GCC internal prototype to avoid an error.
12356
 
   Use char because int might match the return type of a GCC
12357
 
   builtin and then its argument prototype would still apply.  */
12358
 
#ifdef __cplusplus
12359
 
extern "C"
12360
 
#endif
12361
 
char shl_load ();
12362
 
int
12363
 
main ()
12364
 
{
12365
 
return shl_load ();
12366
 
  ;
12367
 
  return 0;
12368
 
}
12369
 
_ACEOF
12370
 
rm -f conftest.$ac_objext conftest$ac_exeext
12371
 
if { (ac_try="$ac_link"
12372
 
case "(($ac_try" in
12373
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12374
 
  *) ac_try_echo=$ac_try;;
12375
 
esac
12376
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12377
 
$as_echo "$ac_try_echo") >&5
12378
 
  (eval "$ac_link") 2>conftest.er1
12379
 
  ac_status=$?
12380
 
  grep -v '^ *+' conftest.er1 >conftest.err
12381
 
  rm -f conftest.er1
12382
 
  cat conftest.err >&5
12383
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384
 
  (exit $ac_status); } && {
12385
 
         test -z "$ac_c_werror_flag" ||
12386
 
         test ! -s conftest.err
12387
 
       } && test -s conftest$ac_exeext && {
12388
 
         test "$cross_compiling" = yes ||
12389
 
         $as_test_x conftest$ac_exeext
12390
 
       }; then
12391
 
  ac_cv_lib_dld_shl_load=yes
12392
 
else
12393
 
  $as_echo "$as_me: failed program was:" >&5
12394
 
sed 's/^/| /' conftest.$ac_ext >&5
12395
 
 
12396
 
        ac_cv_lib_dld_shl_load=no
12397
 
fi
12398
 
 
12399
 
rm -rf conftest.dSYM
12400
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12401
 
      conftest$ac_exeext conftest.$ac_ext
12402
 
LIBS=$ac_check_lib_save_LIBS
12403
 
fi
12404
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12405
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12406
 
if test $ac_cv_lib_dld_shl_load = yes; then
12407
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12408
 
else
12409
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12410
 
$as_echo_n "checking for dlopen... " >&6; }
12411
 
if test "${ac_cv_func_dlopen+set}" = set; then
12412
 
  $as_echo_n "(cached) " >&6
12413
 
else
12414
 
  cat >conftest.$ac_ext <<_ACEOF
12415
 
/* confdefs.h.  */
12416
 
_ACEOF
12417
 
cat confdefs.h >>conftest.$ac_ext
12418
 
cat >>conftest.$ac_ext <<_ACEOF
12419
 
/* end confdefs.h.  */
12420
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12421
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12422
 
#define dlopen innocuous_dlopen
12423
 
 
12424
 
/* System header to define __stub macros and hopefully few prototypes,
12425
 
    which can conflict with char dlopen (); below.
12426
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12427
 
    <limits.h> exists even on freestanding compilers.  */
12428
 
 
12429
 
#ifdef __STDC__
12430
 
# include <limits.h>
12431
 
#else
12432
 
# include <assert.h>
12433
 
#endif
12434
 
 
12435
 
#undef dlopen
12436
 
 
12437
 
/* Override any GCC internal prototype to avoid an error.
12438
 
   Use char because int might match the return type of a GCC
12439
 
   builtin and then its argument prototype would still apply.  */
12440
 
#ifdef __cplusplus
12441
 
extern "C"
12442
 
#endif
12443
 
char dlopen ();
12444
 
/* The GNU C library defines this for functions which it implements
12445
 
    to always fail with ENOSYS.  Some functions are actually named
12446
 
    something starting with __ and the normal name is an alias.  */
12447
 
#if defined __stub_dlopen || defined __stub___dlopen
12448
 
choke me
12449
 
#endif
12450
 
 
12451
 
int
12452
 
main ()
12453
 
{
12454
 
return dlopen ();
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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12466
 
$as_echo "$ac_try_echo") >&5
12467
 
  (eval "$ac_link") 2>conftest.er1
12468
 
  ac_status=$?
12469
 
  grep -v '^ *+' conftest.er1 >conftest.err
12470
 
  rm -f conftest.er1
12471
 
  cat conftest.err >&5
12472
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473
 
  (exit $ac_status); } && {
12474
 
         test -z "$ac_c_werror_flag" ||
12475
 
         test ! -s conftest.err
12476
 
       } && test -s conftest$ac_exeext && {
12477
 
         test "$cross_compiling" = yes ||
12478
 
         $as_test_x conftest$ac_exeext
12479
 
       }; then
12480
 
  ac_cv_func_dlopen=yes
12481
 
else
12482
 
  $as_echo "$as_me: failed program was:" >&5
12483
 
sed 's/^/| /' conftest.$ac_ext >&5
12484
 
 
12485
 
        ac_cv_func_dlopen=no
12486
 
fi
12487
 
 
12488
 
rm -rf conftest.dSYM
12489
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12490
 
      conftest$ac_exeext conftest.$ac_ext
12491
 
fi
12492
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12493
 
$as_echo "$ac_cv_func_dlopen" >&6; }
12494
 
if test $ac_cv_func_dlopen = yes; then
12495
 
  lt_cv_dlopen="dlopen"
12496
 
else
12497
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12498
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12499
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12500
 
  $as_echo_n "(cached) " >&6
12501
 
else
12502
 
  ac_check_lib_save_LIBS=$LIBS
12503
 
LIBS="-ldl  $LIBS"
12504
 
cat >conftest.$ac_ext <<_ACEOF
12505
 
/* confdefs.h.  */
12506
 
_ACEOF
12507
 
cat confdefs.h >>conftest.$ac_ext
12508
 
cat >>conftest.$ac_ext <<_ACEOF
12509
 
/* end confdefs.h.  */
12510
 
 
12511
 
/* Override any GCC internal prototype to avoid an error.
12512
 
   Use char because int might match the return type of a GCC
12513
 
   builtin and then its argument prototype would still apply.  */
12514
 
#ifdef __cplusplus
12515
 
extern "C"
12516
 
#endif
12517
 
char dlopen ();
12518
 
int
12519
 
main ()
12520
 
{
12521
 
return dlopen ();
12522
 
  ;
12523
 
  return 0;
12524
 
}
12525
 
_ACEOF
12526
 
rm -f conftest.$ac_objext conftest$ac_exeext
12527
 
if { (ac_try="$ac_link"
12528
 
case "(($ac_try" in
12529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12530
 
  *) ac_try_echo=$ac_try;;
12531
 
esac
12532
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12533
 
$as_echo "$ac_try_echo") >&5
12534
 
  (eval "$ac_link") 2>conftest.er1
12535
 
  ac_status=$?
12536
 
  grep -v '^ *+' conftest.er1 >conftest.err
12537
 
  rm -f conftest.er1
12538
 
  cat conftest.err >&5
12539
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540
 
  (exit $ac_status); } && {
12541
 
         test -z "$ac_c_werror_flag" ||
12542
 
         test ! -s conftest.err
12543
 
       } && test -s conftest$ac_exeext && {
12544
 
         test "$cross_compiling" = yes ||
12545
 
         $as_test_x conftest$ac_exeext
12546
 
       }; then
12547
 
  ac_cv_lib_dl_dlopen=yes
12548
 
else
12549
 
  $as_echo "$as_me: failed program was:" >&5
12550
 
sed 's/^/| /' conftest.$ac_ext >&5
12551
 
 
12552
 
        ac_cv_lib_dl_dlopen=no
12553
 
fi
12554
 
 
12555
 
rm -rf conftest.dSYM
12556
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12557
 
      conftest$ac_exeext conftest.$ac_ext
12558
 
LIBS=$ac_check_lib_save_LIBS
12559
 
fi
12560
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12561
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12562
 
if test $ac_cv_lib_dl_dlopen = yes; then
12563
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12564
 
else
12565
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12566
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12567
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12568
 
  $as_echo_n "(cached) " >&6
12569
 
else
12570
 
  ac_check_lib_save_LIBS=$LIBS
12571
 
LIBS="-lsvld  $LIBS"
12572
 
cat >conftest.$ac_ext <<_ACEOF
12573
 
/* confdefs.h.  */
12574
 
_ACEOF
12575
 
cat confdefs.h >>conftest.$ac_ext
12576
 
cat >>conftest.$ac_ext <<_ACEOF
12577
 
/* end confdefs.h.  */
12578
 
 
12579
 
/* Override any GCC internal prototype to avoid an error.
12580
 
   Use char because int might match the return type of a GCC
12581
 
   builtin and then its argument prototype would still apply.  */
12582
 
#ifdef __cplusplus
12583
 
extern "C"
12584
 
#endif
12585
 
char dlopen ();
12586
 
int
12587
 
main ()
12588
 
{
12589
 
return dlopen ();
12590
 
  ;
12591
 
  return 0;
12592
 
}
12593
 
_ACEOF
12594
 
rm -f conftest.$ac_objext conftest$ac_exeext
12595
 
if { (ac_try="$ac_link"
12596
 
case "(($ac_try" in
12597
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12598
 
  *) ac_try_echo=$ac_try;;
12599
 
esac
12600
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12601
 
$as_echo "$ac_try_echo") >&5
12602
 
  (eval "$ac_link") 2>conftest.er1
12603
 
  ac_status=$?
12604
 
  grep -v '^ *+' conftest.er1 >conftest.err
12605
 
  rm -f conftest.er1
12606
 
  cat conftest.err >&5
12607
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608
 
  (exit $ac_status); } && {
12609
 
         test -z "$ac_c_werror_flag" ||
12610
 
         test ! -s conftest.err
12611
 
       } && test -s conftest$ac_exeext && {
12612
 
         test "$cross_compiling" = yes ||
12613
 
         $as_test_x conftest$ac_exeext
12614
 
       }; then
12615
 
  ac_cv_lib_svld_dlopen=yes
12616
 
else
12617
 
  $as_echo "$as_me: failed program was:" >&5
12618
 
sed 's/^/| /' conftest.$ac_ext >&5
12619
 
 
12620
 
        ac_cv_lib_svld_dlopen=no
12621
 
fi
12622
 
 
12623
 
rm -rf conftest.dSYM
12624
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12625
 
      conftest$ac_exeext conftest.$ac_ext
12626
 
LIBS=$ac_check_lib_save_LIBS
12627
 
fi
12628
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12629
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12630
 
if test $ac_cv_lib_svld_dlopen = yes; then
12631
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12632
 
else
12633
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12634
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12635
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12636
 
  $as_echo_n "(cached) " >&6
12637
 
else
12638
 
  ac_check_lib_save_LIBS=$LIBS
12639
 
LIBS="-ldld  $LIBS"
12640
 
cat >conftest.$ac_ext <<_ACEOF
12641
 
/* confdefs.h.  */
12642
 
_ACEOF
12643
 
cat confdefs.h >>conftest.$ac_ext
12644
 
cat >>conftest.$ac_ext <<_ACEOF
12645
 
/* end confdefs.h.  */
12646
 
 
12647
 
/* Override any GCC internal prototype to avoid an error.
12648
 
   Use char because int might match the return type of a GCC
12649
 
   builtin and then its argument prototype would still apply.  */
12650
 
#ifdef __cplusplus
12651
 
extern "C"
12652
 
#endif
12653
 
char dld_link ();
12654
 
int
12655
 
main ()
12656
 
{
12657
 
return dld_link ();
12658
 
  ;
12659
 
  return 0;
12660
 
}
12661
 
_ACEOF
12662
 
rm -f conftest.$ac_objext conftest$ac_exeext
12663
 
if { (ac_try="$ac_link"
12664
 
case "(($ac_try" in
12665
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12666
 
  *) ac_try_echo=$ac_try;;
12667
 
esac
12668
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12669
 
$as_echo "$ac_try_echo") >&5
12670
 
  (eval "$ac_link") 2>conftest.er1
12671
 
  ac_status=$?
12672
 
  grep -v '^ *+' conftest.er1 >conftest.err
12673
 
  rm -f conftest.er1
12674
 
  cat conftest.err >&5
12675
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676
 
  (exit $ac_status); } && {
12677
 
         test -z "$ac_c_werror_flag" ||
12678
 
         test ! -s conftest.err
12679
 
       } && test -s conftest$ac_exeext && {
12680
 
         test "$cross_compiling" = yes ||
12681
 
         $as_test_x conftest$ac_exeext
12682
 
       }; then
12683
 
  ac_cv_lib_dld_dld_link=yes
12684
 
else
12685
 
  $as_echo "$as_me: failed program was:" >&5
12686
 
sed 's/^/| /' conftest.$ac_ext >&5
12687
 
 
12688
 
        ac_cv_lib_dld_dld_link=no
12689
 
fi
12690
 
 
12691
 
rm -rf conftest.dSYM
12692
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12693
 
      conftest$ac_exeext conftest.$ac_ext
12694
 
LIBS=$ac_check_lib_save_LIBS
12695
 
fi
12696
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12697
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12698
 
if test $ac_cv_lib_dld_dld_link = yes; then
12699
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12700
 
fi
12701
 
 
12702
 
 
12703
 
fi
12704
 
 
12705
 
 
12706
 
fi
12707
 
 
12708
 
 
12709
 
fi
12710
 
 
12711
 
 
12712
 
fi
12713
 
 
12714
 
 
12715
 
fi
12716
 
 
12717
 
    ;;
12718
 
  esac
12719
 
 
12720
 
  if test "x$lt_cv_dlopen" != xno; then
12721
 
    enable_dlopen=yes
12722
 
  else
12723
 
    enable_dlopen=no
12724
 
  fi
12725
 
 
12726
 
  case $lt_cv_dlopen in
12727
 
  dlopen)
12728
 
    save_CPPFLAGS="$CPPFLAGS"
12729
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12730
 
 
12731
 
    save_LDFLAGS="$LDFLAGS"
12732
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12733
 
 
12734
 
    save_LIBS="$LIBS"
12735
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12736
 
 
12737
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12738
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12739
 
if test "${lt_cv_dlopen_self+set}" = set; then
12740
 
  $as_echo_n "(cached) " >&6
12741
 
else
12742
 
          if test "$cross_compiling" = yes; then :
12743
 
  lt_cv_dlopen_self=cross
12744
 
else
12745
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12746
 
  lt_status=$lt_dlunknown
12747
 
  cat > conftest.$ac_ext <<EOF
12748
 
#line 12748 "configure"
12749
 
#include "confdefs.h"
12750
 
 
12751
 
#if HAVE_DLFCN_H
12752
 
#include <dlfcn.h>
12753
 
#endif
12754
 
 
12755
 
#include <stdio.h>
12756
 
 
12757
 
#ifdef RTLD_GLOBAL
12758
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12759
 
#else
12760
 
#  ifdef DL_GLOBAL
12761
 
#    define LT_DLGLOBAL         DL_GLOBAL
12762
 
#  else
12763
 
#    define LT_DLGLOBAL         0
12764
 
#  endif
12765
 
#endif
12766
 
 
12767
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12768
 
   find out it does not work in some platform. */
12769
 
#ifndef LT_DLLAZY_OR_NOW
12770
 
#  ifdef RTLD_LAZY
12771
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12772
 
#  else
12773
 
#    ifdef DL_LAZY
12774
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12775
 
#    else
12776
 
#      ifdef RTLD_NOW
12777
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12778
 
#      else
12779
 
#        ifdef DL_NOW
12780
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12781
 
#        else
12782
 
#          define LT_DLLAZY_OR_NOW      0
12783
 
#        endif
12784
 
#      endif
12785
 
#    endif
12786
 
#  endif
12787
 
#endif
12788
 
 
12789
 
#ifdef __cplusplus
12790
 
extern "C" void exit (int);
12791
 
#endif
12792
 
 
12793
 
void fnord() { int i=42;}
12794
 
int main ()
12795
 
{
12796
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12797
 
  int status = $lt_dlunknown;
12798
 
 
12799
 
  if (self)
12800
 
    {
12801
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12802
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12803
 
      /* dlclose (self); */
12804
 
    }
12805
 
 
12806
 
    exit (status);
12807
 
}
12808
 
EOF
12809
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12810
 
  (eval $ac_link) 2>&5
12811
 
  ac_status=$?
12812
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12814
 
    (./conftest; exit; ) 2>/dev/null
12815
 
    lt_status=$?
12816
 
    case x$lt_status in
12817
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12818
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12819
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12820
 
    esac
12821
 
  else :
12822
 
    # compilation failed
12823
 
    lt_cv_dlopen_self=no
12824
 
  fi
12825
 
fi
12826
 
rm -fr conftest*
12827
 
 
12828
 
 
12829
 
fi
12830
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12831
 
$as_echo "$lt_cv_dlopen_self" >&6; }
12832
 
 
12833
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12834
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12835
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12836
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12837
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12838
 
  $as_echo_n "(cached) " >&6
12839
 
else
12840
 
          if test "$cross_compiling" = yes; then :
12841
 
  lt_cv_dlopen_self_static=cross
12842
 
else
12843
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12844
 
  lt_status=$lt_dlunknown
12845
 
  cat > conftest.$ac_ext <<EOF
12846
 
#line 12846 "configure"
12847
 
#include "confdefs.h"
12848
 
 
12849
 
#if HAVE_DLFCN_H
12850
 
#include <dlfcn.h>
12851
 
#endif
12852
 
 
12853
 
#include <stdio.h>
12854
 
 
12855
 
#ifdef RTLD_GLOBAL
12856
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12857
 
#else
12858
 
#  ifdef DL_GLOBAL
12859
 
#    define LT_DLGLOBAL         DL_GLOBAL
12860
 
#  else
12861
 
#    define LT_DLGLOBAL         0
12862
 
#  endif
12863
 
#endif
12864
 
 
12865
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12866
 
   find out it does not work in some platform. */
12867
 
#ifndef LT_DLLAZY_OR_NOW
12868
 
#  ifdef RTLD_LAZY
12869
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12870
 
#  else
12871
 
#    ifdef DL_LAZY
12872
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12873
 
#    else
12874
 
#      ifdef RTLD_NOW
12875
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12876
 
#      else
12877
 
#        ifdef DL_NOW
12878
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12879
 
#        else
12880
 
#          define LT_DLLAZY_OR_NOW      0
12881
 
#        endif
12882
 
#      endif
12883
 
#    endif
12884
 
#  endif
12885
 
#endif
12886
 
 
12887
 
#ifdef __cplusplus
12888
 
extern "C" void exit (int);
12889
 
#endif
12890
 
 
12891
 
void fnord() { int i=42;}
12892
 
int main ()
12893
 
{
12894
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12895
 
  int status = $lt_dlunknown;
12896
 
 
12897
 
  if (self)
12898
 
    {
12899
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12900
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12901
 
      /* dlclose (self); */
12902
 
    }
12903
 
 
12904
 
    exit (status);
12905
 
}
12906
 
EOF
12907
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12908
 
  (eval $ac_link) 2>&5
12909
 
  ac_status=$?
12910
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12912
 
    (./conftest; exit; ) 2>/dev/null
12913
 
    lt_status=$?
12914
 
    case x$lt_status in
12915
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12916
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12917
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12918
 
    esac
12919
 
  else :
12920
 
    # compilation failed
12921
 
    lt_cv_dlopen_self_static=no
12922
 
  fi
12923
 
fi
12924
 
rm -fr conftest*
12925
 
 
12926
 
 
12927
 
fi
12928
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12929
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12930
 
    fi
12931
 
 
12932
 
    CPPFLAGS="$save_CPPFLAGS"
12933
 
    LDFLAGS="$save_LDFLAGS"
12934
 
    LIBS="$save_LIBS"
12935
 
    ;;
12936
 
  esac
12937
 
 
12938
 
  case $lt_cv_dlopen_self in
12939
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12940
 
  *) enable_dlopen_self=unknown ;;
12941
 
  esac
12942
 
 
12943
 
  case $lt_cv_dlopen_self_static in
12944
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12945
 
  *) enable_dlopen_self_static=unknown ;;
12946
 
  esac
12947
 
fi
12948
 
 
12949
 
 
12950
 
# Report which librarie types wil actually be built
12951
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12952
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12953
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12954
 
$as_echo "$can_build_shared" >&6; }
12955
 
 
12956
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12957
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
12958
 
test "$can_build_shared" = "no" && enable_shared=no
12959
 
 
12960
 
# On AIX, shared libraries and static libraries use the same namespace, and
12961
 
# are all built from PIC.
12962
 
case "$host_os" in
12963
 
aix3*)
12964
 
  test "$enable_shared" = yes && enable_static=no
12965
 
  if test -n "$RANLIB"; then
12966
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
12967
 
    postinstall_cmds='$RANLIB $lib'
12968
 
  fi
12969
 
  ;;
12970
 
 
12971
 
aix4*)
12972
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12973
 
    test "$enable_shared" = yes && enable_static=no
12974
 
  fi
12975
 
  ;;
12976
 
  darwin* | rhapsody*)
12977
 
  if test "$GCC" = yes; then
12978
 
    archive_cmds_need_lc=no
12979
 
    case "$host_os" in
12980
 
    rhapsody* | darwin1.[012])
12981
 
      allow_undefined_flag='-Wl,-undefined -Wl,suppress'
12982
 
      ;;
12983
 
    *) # Darwin 1.3 on
12984
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12985
 
        allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12986
 
      else
12987
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
12988
 
          10.012)
12989
 
            allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12990
 
            ;;
12991
 
          10.*)
12992
 
            allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
12993
 
            ;;
12994
 
        esac
12995
 
      fi
12996
 
      ;;
12997
 
    esac
12998
 
    output_verbose_link_cmd='echo'
12999
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
13000
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
13001
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13002
 
    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13003
 
    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13004
 
    hardcode_direct=no
13005
 
    hardcode_automatic=yes
13006
 
    hardcode_shlibpath_var=unsupported
13007
 
    whole_archive_flag_spec='-all_load $convenience'
13008
 
    link_all_deplibs=yes
13009
 
  else
13010
 
    ld_shlibs=no
13011
 
  fi
13012
 
    ;;
13013
 
esac
13014
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
13015
 
$as_echo "$enable_shared" >&6; }
13016
 
 
13017
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13018
 
$as_echo_n "checking whether to build static libraries... " >&6; }
13019
 
# Make sure either enable_shared or enable_static is yes.
13020
 
test "$enable_shared" = yes || enable_static=yes
13021
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
13022
 
$as_echo "$enable_static" >&6; }
13023
 
 
13024
 
# The else clause should only fire when bootstrapping the
13025
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13026
 
# with your package, and you will get complaints that there are
13027
 
# no rules to generate ltmain.sh.
13028
 
if test -f "$ltmain"; then
13029
 
  # See if we are running on zsh, and set the options which allow our commands through
13030
 
  # without removal of \ escapes.
13031
 
  if test -n "${ZSH_VERSION+set}" ; then
13032
 
    setopt NO_GLOB_SUBST
13033
 
  fi
13034
 
  # Now quote all the things that may contain metacharacters while being
13035
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13036
 
  # variables and quote the copies for generation of the libtool script.
13037
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
13038
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13039
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13040
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13041
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13042
 
    lt_cv_sys_global_symbol_to_c_name_address \
13043
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13044
 
    old_postinstall_cmds old_postuninstall_cmds \
13045
 
    compiler \
13046
 
    CC \
13047
 
    LD \
13048
 
    lt_prog_compiler_wl \
13049
 
    lt_prog_compiler_pic \
13050
 
    lt_prog_compiler_static \
13051
 
    lt_prog_compiler_no_builtin_flag \
13052
 
    export_dynamic_flag_spec \
13053
 
    thread_safe_flag_spec \
13054
 
    whole_archive_flag_spec \
13055
 
    enable_shared_with_static_runtimes \
13056
 
    old_archive_cmds \
13057
 
    old_archive_from_new_cmds \
13058
 
    predep_objects \
13059
 
    postdep_objects \
13060
 
    predeps \
13061
 
    postdeps \
13062
 
    compiler_lib_search_path \
13063
 
    archive_cmds \
13064
 
    archive_expsym_cmds \
13065
 
    postinstall_cmds \
13066
 
    postuninstall_cmds \
13067
 
    old_archive_from_expsyms_cmds \
13068
 
    allow_undefined_flag \
13069
 
    no_undefined_flag \
13070
 
    export_symbols_cmds \
13071
 
    hardcode_libdir_flag_spec \
13072
 
    hardcode_libdir_flag_spec_ld \
13073
 
    hardcode_libdir_separator \
13074
 
    hardcode_automatic \
13075
 
    module_cmds \
13076
 
    module_expsym_cmds \
13077
 
    lt_cv_prog_compiler_c_o \
13078
 
    exclude_expsyms \
13079
 
    include_expsyms; do
13080
 
 
13081
 
    case $var in
13082
 
    old_archive_cmds | \
13083
 
    old_archive_from_new_cmds | \
13084
 
    archive_cmds | \
13085
 
    archive_expsym_cmds | \
13086
 
    module_cmds | \
13087
 
    module_expsym_cmds | \
13088
 
    old_archive_from_expsyms_cmds | \
13089
 
    export_symbols_cmds | \
13090
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13091
 
    postinstall_cmds | postuninstall_cmds | \
13092
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13093
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13094
 
      # Double-quote double-evaled strings.
13095
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13096
 
      ;;
13097
 
    *)
13098
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13099
 
      ;;
13100
 
    esac
13101
 
  done
13102
 
 
13103
 
  case $lt_echo in
13104
 
  *'\$0 --fallback-echo"')
13105
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13106
 
    ;;
13107
 
  esac
13108
 
 
13109
 
cfgfile="${ofile}T"
13110
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
13111
 
  $rm -f "$cfgfile"
13112
 
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
13113
 
$as_echo "$as_me: creating $ofile" >&6;}
13114
 
 
13115
 
  cat <<__EOF__ >> "$cfgfile"
13116
 
#! $SHELL
13117
 
 
13118
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13119
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
13120
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13121
 
#
13122
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
13123
 
# Free Software Foundation, Inc.
13124
 
#
13125
 
# This file is part of GNU Libtool:
13126
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
13127
 
#
13128
 
# This program is free software; you can redistribute it and/or modify
13129
 
# it under the terms of the GNU General Public License as published by
13130
 
# the Free Software Foundation; either version 2 of the License, or
13131
 
# (at your option) any later version.
13132
 
#
13133
 
# This program is distributed in the hope that it will be useful, but
13134
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
13135
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13136
 
# General Public License for more details.
13137
 
#
13138
 
# You should have received a copy of the GNU General Public License
13139
 
# along with this program; if not, write to the Free Software
13140
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13141
 
#
13142
 
# As a special exception to the GNU General Public License, if you
13143
 
# distribute this file as part of a program that contains a
13144
 
# configuration script generated by Autoconf, you may include it under
13145
 
# the same distribution terms that you use for the rest of that program.
13146
 
 
13147
 
# A sed program that does not truncate output.
13148
 
SED=$lt_SED
13149
 
 
13150
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
13151
 
Xsed="$SED -e s/^X//"
13152
 
 
13153
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
13154
 
# if CDPATH is set.
13155
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
13156
 
 
13157
 
# The names of the tagged configurations supported by this script.
13158
 
available_tags=
13159
 
 
13160
 
# ### BEGIN LIBTOOL CONFIG
13161
 
 
13162
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13163
 
 
13164
 
# Shell to use when invoking shell scripts.
13165
 
SHELL=$lt_SHELL
13166
 
 
13167
 
# Whether or not to build shared libraries.
13168
 
build_libtool_libs=$enable_shared
13169
 
 
13170
 
# Whether or not to build static libraries.
13171
 
build_old_libs=$enable_static
13172
 
 
13173
 
# Whether or not to add -lc for building shared libraries.
13174
 
build_libtool_need_lc=$archive_cmds_need_lc
13175
 
 
13176
 
# Whether or not to disallow shared libs when runtime libs are static
13177
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13178
 
 
13179
 
# Whether or not to optimize for fast installation.
13180
 
fast_install=$enable_fast_install
13181
 
 
13182
 
# The host system.
13183
 
host_alias=$host_alias
13184
 
host=$host
13185
 
 
13186
 
# An echo program that does not interpret backslashes.
13187
 
echo=$lt_echo
13188
 
 
13189
 
# The archiver.
13190
 
AR=$lt_AR
13191
 
AR_FLAGS=$lt_AR_FLAGS
13192
 
 
13193
 
# A C compiler.
13194
 
LTCC=$lt_LTCC
13195
 
 
13196
 
# A language-specific compiler.
13197
 
CC=$lt_compiler
13198
 
 
13199
 
# Is the compiler the GNU C compiler?
13200
 
with_gcc=$GCC
13201
 
 
13202
 
# An ERE matcher.
13203
 
EGREP=$lt_EGREP
13204
 
 
13205
 
# The linker used to build libraries.
13206
 
LD=$lt_LD
13207
 
 
13208
 
# Whether we need hard or soft links.
13209
 
LN_S=$lt_LN_S
13210
 
 
13211
 
# A BSD-compatible nm program.
13212
 
NM=$lt_NM
13213
 
 
13214
 
# A symbol stripping program
13215
 
STRIP=$STRIP
13216
 
 
13217
 
# Used to examine libraries when file_magic_cmd begins "file"
13218
 
MAGIC_CMD=$MAGIC_CMD
13219
 
 
13220
 
# Used on cygwin: DLL creation program.
13221
 
DLLTOOL="$DLLTOOL"
13222
 
 
13223
 
# Used on cygwin: object dumper.
13224
 
OBJDUMP="$OBJDUMP"
13225
 
 
13226
 
# Used on cygwin: assembler.
13227
 
AS="$AS"
13228
 
 
13229
 
# The name of the directory that contains temporary libtool files.
13230
 
objdir=$objdir
13231
 
 
13232
 
# How to create reloadable object files.
13233
 
reload_flag=$lt_reload_flag
13234
 
reload_cmds=$lt_reload_cmds
13235
 
 
13236
 
# How to pass a linker flag through the compiler.
13237
 
wl=$lt_lt_prog_compiler_wl
13238
 
 
13239
 
# Object file suffix (normally "o").
13240
 
objext="$ac_objext"
13241
 
 
13242
 
# Old archive suffix (normally "a").
13243
 
libext="$libext"
13244
 
 
13245
 
# Shared library suffix (normally ".so").
13246
 
shrext='$shrext'
13247
 
 
13248
 
# Executable file suffix (normally "").
13249
 
exeext="$exeext"
13250
 
 
13251
 
# Additional compiler flags for building library objects.
13252
 
pic_flag=$lt_lt_prog_compiler_pic
13253
 
pic_mode=$pic_mode
13254
 
 
13255
 
# What is the maximum length of a command?
13256
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13257
 
 
13258
 
# Does compiler simultaneously support -c and -o options?
13259
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13260
 
 
13261
 
# Must we lock files when doing compilation ?
13262
 
need_locks=$lt_need_locks
13263
 
 
13264
 
# Do we need the lib prefix for modules?
13265
 
need_lib_prefix=$need_lib_prefix
13266
 
 
13267
 
# Do we need a version for libraries?
13268
 
need_version=$need_version
13269
 
 
13270
 
# Whether dlopen is supported.
13271
 
dlopen_support=$enable_dlopen
13272
 
 
13273
 
# Whether dlopen of programs is supported.
13274
 
dlopen_self=$enable_dlopen_self
13275
 
 
13276
 
# Whether dlopen of statically linked programs is supported.
13277
 
dlopen_self_static=$enable_dlopen_self_static
13278
 
 
13279
 
# Compiler flag to prevent dynamic linking.
13280
 
link_static_flag=$lt_lt_prog_compiler_static
13281
 
 
13282
 
# Compiler flag to turn off builtin functions.
13283
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13284
 
 
13285
 
# Compiler flag to allow reflexive dlopens.
13286
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13287
 
 
13288
 
# Compiler flag to generate shared objects directly from archives.
13289
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
13290
 
 
13291
 
# Compiler flag to generate thread-safe objects.
13292
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
13293
 
 
13294
 
# Library versioning type.
13295
 
version_type=$version_type
13296
 
 
13297
 
# Format of library name prefix.
13298
 
libname_spec=$lt_libname_spec
13299
 
 
13300
 
# List of archive names.  First name is the real one, the rest are links.
13301
 
# The last name is the one that the linker finds with -lNAME.
13302
 
library_names_spec=$lt_library_names_spec
13303
 
 
13304
 
# The coded name of the library, if different from the real name.
13305
 
soname_spec=$lt_soname_spec
13306
 
 
13307
 
# Commands used to build and install an old-style archive.
13308
 
RANLIB=$lt_RANLIB
13309
 
old_archive_cmds=$lt_old_archive_cmds
13310
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13311
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13312
 
 
13313
 
# Create an old-style archive from a shared archive.
13314
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13315
 
 
13316
 
# Create a temporary old-style archive to link instead of a shared archive.
13317
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13318
 
 
13319
 
# Commands used to build and install a shared archive.
13320
 
archive_cmds=$lt_archive_cmds
13321
 
archive_expsym_cmds=$lt_archive_expsym_cmds
13322
 
postinstall_cmds=$lt_postinstall_cmds
13323
 
postuninstall_cmds=$lt_postuninstall_cmds
13324
 
 
13325
 
# Commands used to build a loadable module (assumed same as above if empty)
13326
 
module_cmds=$lt_module_cmds
13327
 
module_expsym_cmds=$lt_module_expsym_cmds
13328
 
 
13329
 
# Commands to strip libraries.
13330
 
old_striplib=$lt_old_striplib
13331
 
striplib=$lt_striplib
13332
 
 
13333
 
# Dependencies to place before the objects being linked to create a
13334
 
# shared library.
13335
 
predep_objects=$lt_predep_objects
13336
 
 
13337
 
# Dependencies to place after the objects being linked to create a
13338
 
# shared library.
13339
 
postdep_objects=$lt_postdep_objects
13340
 
 
13341
 
# Dependencies to place before the objects being linked to create a
13342
 
# shared library.
13343
 
predeps=$lt_predeps
13344
 
 
13345
 
# Dependencies to place after the objects being linked to create a
13346
 
# shared library.
13347
 
postdeps=$lt_postdeps
13348
 
 
13349
 
# The library search path used internally by the compiler when linking
13350
 
# a shared library.
13351
 
compiler_lib_search_path=$lt_compiler_lib_search_path
13352
 
 
13353
 
# Method to check whether dependent libraries are shared objects.
13354
 
deplibs_check_method=$lt_deplibs_check_method
13355
 
 
13356
 
# Command to use when deplibs_check_method == file_magic.
13357
 
file_magic_cmd=$lt_file_magic_cmd
13358
 
 
13359
 
# Flag that allows shared libraries with undefined symbols to be built.
13360
 
allow_undefined_flag=$lt_allow_undefined_flag
13361
 
 
13362
 
# Flag that forces no undefined symbols.
13363
 
no_undefined_flag=$lt_no_undefined_flag
13364
 
 
13365
 
# Commands used to finish a libtool library installation in a directory.
13366
 
finish_cmds=$lt_finish_cmds
13367
 
 
13368
 
# Same as above, but a single script fragment to be evaled but not shown.
13369
 
finish_eval=$lt_finish_eval
13370
 
 
13371
 
# Take the output of nm and produce a listing of raw symbols and C names.
13372
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13373
 
 
13374
 
# Transform the output of nm in a proper C declaration
13375
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13376
 
 
13377
 
# Transform the output of nm in a C name address pair
13378
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13379
 
 
13380
 
# This is the shared library runtime path variable.
13381
 
runpath_var=$runpath_var
13382
 
 
13383
 
# This is the shared library path variable.
13384
 
shlibpath_var=$shlibpath_var
13385
 
 
13386
 
# Is shlibpath searched before the hard-coded library search path?
13387
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13388
 
 
13389
 
# How to hardcode a shared library path into an executable.
13390
 
hardcode_action=$hardcode_action
13391
 
 
13392
 
# Whether we should hardcode library paths into libraries.
13393
 
hardcode_into_libs=$hardcode_into_libs
13394
 
 
13395
 
# Flag to hardcode \$libdir into a binary during linking.
13396
 
# This must work even if \$libdir does not exist.
13397
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13398
 
 
13399
 
# If ld is used when linking, flag to hardcode \$libdir into
13400
 
# a binary during linking. This must work even if \$libdir does
13401
 
# not exist.
13402
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13403
 
 
13404
 
# Whether we need a single -rpath flag with a separated argument.
13405
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13406
 
 
13407
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13408
 
# resulting binary.
13409
 
hardcode_direct=$hardcode_direct
13410
 
 
13411
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13412
 
# resulting binary.
13413
 
hardcode_minus_L=$hardcode_minus_L
13414
 
 
13415
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13416
 
# the resulting binary.
13417
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
13418
 
 
13419
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13420
 
# and all subsequent libraries and executables linked against it.
13421
 
hardcode_automatic=$hardcode_automatic
13422
 
 
13423
 
# Variables whose values should be saved in libtool wrapper scripts and
13424
 
# restored at relink time.
13425
 
variables_saved_for_relink="$variables_saved_for_relink"
13426
 
 
13427
 
# Whether libtool must link a program against all its dependency libraries.
13428
 
link_all_deplibs=$link_all_deplibs
13429
 
 
13430
 
# Compile-time system search path for libraries
13431
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13432
 
 
13433
 
# Run-time system search path for libraries
13434
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13435
 
 
13436
 
# Fix the shell variable \$srcfile for the compiler.
13437
 
fix_srcfile_path="$fix_srcfile_path"
13438
 
 
13439
 
# Set to yes if exported symbols are required.
13440
 
always_export_symbols=$always_export_symbols
13441
 
 
13442
 
# The commands to list exported symbols.
13443
 
export_symbols_cmds=$lt_export_symbols_cmds
13444
 
 
13445
 
# The commands to extract the exported symbol list from a shared archive.
13446
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13447
 
 
13448
 
# Symbols that should not be listed in the preloaded symbols.
13449
 
exclude_expsyms=$lt_exclude_expsyms
13450
 
 
13451
 
# Symbols that must always be exported.
13452
 
include_expsyms=$lt_include_expsyms
13453
 
 
13454
 
# ### END LIBTOOL CONFIG
13455
 
 
13456
 
__EOF__
13457
 
 
13458
 
 
13459
 
  case $host_os in
13460
 
  aix3*)
13461
 
    cat <<\EOF >> "$cfgfile"
13462
 
 
13463
 
# AIX sometimes has problems with the GCC collect2 program.  For some
13464
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
13465
 
# vanish in a puff of smoke.
13466
 
if test "X${COLLECT_NAMES+set}" != Xset; then
13467
 
  COLLECT_NAMES=
13468
 
  export COLLECT_NAMES
13469
 
fi
13470
 
EOF
13471
 
    ;;
13472
 
  esac
13473
 
 
13474
 
  # We use sed instead of cat because bash on DJGPP gets confused if
13475
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13476
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
13477
 
  # is reportedly fixed, but why not run on old versions too?
13478
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13479
 
 
13480
 
  mv -f "$cfgfile" "$ofile" || \
13481
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13482
 
  chmod +x "$ofile"
13483
 
 
13484
 
else
13485
 
  # If there is no Makefile yet, we rely on a make rule to execute
13486
 
  # `config.status --recheck' to rerun these tests and create the
13487
 
  # libtool script then.
13488
 
  test -f Makefile && make "$ltmain"
13489
 
fi
13490
 
 
13491
 
 
13492
 
ac_ext=c
13493
 
ac_cpp='$CPP $CPPFLAGS'
13494
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13495
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13496
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13497
 
 
13498
 
CC="$lt_save_CC"
13499
 
 
13500
 
 
13501
 
# Check whether --with-tags was given.
13502
 
if test "${with_tags+set}" = set; then
13503
 
  withval=$with_tags; tagnames="$withval"
13504
 
fi
13505
 
 
13506
 
 
13507
 
if test -f "$ltmain" && test -n "$tagnames"; then
13508
 
  if test ! -f "${ofile}"; then
13509
 
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13510
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13511
 
  fi
13512
 
 
13513
 
  if test -z "$LTCC"; then
13514
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13515
 
    if test -z "$LTCC"; then
13516
 
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13517
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13518
 
    else
13519
 
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13520
 
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13521
 
    fi
13522
 
  fi
13523
 
 
13524
 
  # Extract list of available tagged configurations in $ofile.
13525
 
  # Note that this assumes the entire list is on one line.
13526
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13527
 
 
13528
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13529
 
  for tagname in $tagnames; do
13530
 
    IFS="$lt_save_ifs"
13531
 
    # Check whether tagname contains only valid characters
13532
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13533
 
    "") ;;
13534
 
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13535
 
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
13536
 
   { (exit 1); exit 1; }; }
13537
 
        ;;
13538
 
    esac
13539
 
 
13540
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13541
 
    then
13542
 
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13543
 
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13544
 
   { (exit 1); exit 1; }; }
13545
 
    fi
13546
 
 
13547
 
    # Update the list of available tags.
13548
 
    if test -n "$tagname"; then
13549
 
      echo appending configuration tag \"$tagname\" to $ofile
13550
 
 
13551
 
      case $tagname in
13552
 
      CXX)
13553
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
13554
 
          ac_ext=cpp
13555
 
ac_cpp='$CXXCPP $CPPFLAGS'
13556
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13557
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13558
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13559
 
 
13560
 
 
13561
 
 
13562
 
 
13563
 
archive_cmds_need_lc_CXX=no
13564
 
allow_undefined_flag_CXX=
13565
 
always_export_symbols_CXX=no
13566
 
archive_expsym_cmds_CXX=
13567
 
export_dynamic_flag_spec_CXX=
13568
 
hardcode_direct_CXX=no
13569
 
hardcode_libdir_flag_spec_CXX=
13570
 
hardcode_libdir_flag_spec_ld_CXX=
13571
 
hardcode_libdir_separator_CXX=
13572
 
hardcode_minus_L_CXX=no
13573
 
hardcode_automatic_CXX=no
13574
 
module_cmds_CXX=
13575
 
module_expsym_cmds_CXX=
13576
 
link_all_deplibs_CXX=unknown
13577
 
old_archive_cmds_CXX=$old_archive_cmds
13578
 
no_undefined_flag_CXX=
13579
 
whole_archive_flag_spec_CXX=
13580
 
enable_shared_with_static_runtimes_CXX=no
13581
 
 
13582
 
# Dependencies to place before and after the object being linked:
13583
 
predep_objects_CXX=
13584
 
postdep_objects_CXX=
13585
 
predeps_CXX=
13586
 
postdeps_CXX=
13587
 
compiler_lib_search_path_CXX=
13588
 
 
13589
 
# Source file extension for C++ test sources.
13590
 
ac_ext=cc
13591
 
 
13592
 
# Object file extension for compiled C++ test sources.
13593
 
objext=o
13594
 
objext_CXX=$objext
13595
 
 
13596
 
# Code to be used in simple compile tests
13597
 
lt_simple_compile_test_code="int some_variable = 0;\n"
13598
 
 
13599
 
# Code to be used in simple link tests
13600
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
13601
 
 
13602
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13603
 
 
13604
 
# If no C compiler was specified, use CC.
13605
 
LTCC=${LTCC-"$CC"}
13606
 
 
13607
 
# Allow CC to be a program name with arguments.
13608
 
compiler=$CC
13609
 
 
13610
 
 
13611
 
# Allow CC to be a program name with arguments.
13612
 
lt_save_CC=$CC
13613
 
lt_save_LD=$LD
13614
 
lt_save_GCC=$GCC
13615
 
GCC=$GXX
13616
 
lt_save_with_gnu_ld=$with_gnu_ld
13617
 
lt_save_path_LD=$lt_cv_path_LD
13618
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13619
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13620
 
else
13621
 
  unset lt_cv_prog_gnu_ld
13622
 
fi
13623
 
if test -n "${lt_cv_path_LDCXX+set}"; then
13624
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
13625
 
else
13626
 
  unset lt_cv_path_LD
13627
 
fi
13628
 
test -z "${LDCXX+set}" || LD=$LDCXX
13629
 
CC=${CXX-"c++"}
13630
 
compiler=$CC
13631
 
compiler_CXX=$CC
13632
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13633
 
 
13634
 
# We don't want -fno-exception wen compiling C++ code, so set the
13635
 
# no_builtin_flag separately
13636
 
if test "$GXX" = yes; then
13637
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13638
 
else
13639
 
  lt_prog_compiler_no_builtin_flag_CXX=
13640
 
fi
13641
 
 
13642
 
if test "$GXX" = yes; then
13643
 
  # Set up default GNU C++ configuration
13644
 
 
13645
 
 
13646
 
# Check whether --with-gnu-ld was given.
13647
 
if test "${with_gnu_ld+set}" = set; then
13648
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13649
 
else
13650
 
  with_gnu_ld=no
13651
 
fi
13652
 
 
13653
 
ac_prog=ld
13654
 
if test "$GCC" = yes; then
13655
 
  # Check if gcc -print-prog-name=ld gives a path.
13656
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13657
 
$as_echo_n "checking for ld used by $CC... " >&6; }
13658
 
  case $host in
13659
 
  *-*-mingw*)
13660
 
    # gcc leaves a trailing carriage return which upsets mingw
13661
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13662
 
  *)
13663
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13664
 
  esac
13665
 
  case $ac_prog in
13666
 
    # Accept absolute paths.
13667
 
    [\\/]* | ?:[\\/]*)
13668
 
      re_direlt='/[^/][^/]*/\.\./'
13669
 
      # Canonicalize the pathname of ld
13670
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13671
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13672
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13673
 
      done
13674
 
      test -z "$LD" && LD="$ac_prog"
13675
 
      ;;
13676
 
  "")
13677
 
    # If it fails, then pretend we aren't using GCC.
13678
 
    ac_prog=ld
13679
 
    ;;
13680
 
  *)
13681
 
    # If it is relative, then search for the first ld in PATH.
13682
 
    with_gnu_ld=unknown
13683
 
    ;;
13684
 
  esac
13685
 
elif test "$with_gnu_ld" = yes; then
13686
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
13687
 
$as_echo_n "checking for GNU ld... " >&6; }
13688
 
else
13689
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13690
 
$as_echo_n "checking for non-GNU ld... " >&6; }
13691
 
fi
13692
 
if test "${lt_cv_path_LD+set}" = set; then
13693
 
  $as_echo_n "(cached) " >&6
13694
 
else
13695
 
  if test -z "$LD"; then
13696
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13697
 
  for ac_dir in $PATH; do
13698
 
    IFS="$lt_save_ifs"
13699
 
    test -z "$ac_dir" && ac_dir=.
13700
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13701
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
13702
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
13703
 
      # but apparently some GNU ld's only accept -v.
13704
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
13705
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13706
 
      *GNU* | *'with BFD'*)
13707
 
        test "$with_gnu_ld" != no && break
13708
 
        ;;
13709
 
      *)
13710
 
        test "$with_gnu_ld" != yes && break
13711
 
        ;;
13712
 
      esac
13713
 
    fi
13714
 
  done
13715
 
  IFS="$lt_save_ifs"
13716
 
else
13717
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
13718
 
fi
13719
 
fi
13720
 
 
13721
 
LD="$lt_cv_path_LD"
13722
 
if test -n "$LD"; then
13723
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
13724
 
$as_echo "$LD" >&6; }
13725
 
else
13726
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13727
 
$as_echo "no" >&6; }
13728
 
fi
13729
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13730
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13731
 
   { (exit 1); exit 1; }; }
13732
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13733
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13734
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13735
 
  $as_echo_n "(cached) " >&6
13736
 
else
13737
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13738
 
case `$LD -v 2>&1 </dev/null` in
13739
 
*GNU* | *'with BFD'*)
13740
 
  lt_cv_prog_gnu_ld=yes
13741
 
  ;;
13742
 
*)
13743
 
  lt_cv_prog_gnu_ld=no
13744
 
  ;;
13745
 
esac
13746
 
fi
13747
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13748
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13749
 
with_gnu_ld=$lt_cv_prog_gnu_ld
13750
 
 
13751
 
 
13752
 
 
13753
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
13754
 
  # archiving commands below assume that GNU ld is being used.
13755
 
  if test "$with_gnu_ld" = yes; then
13756
 
    archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13757
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13758
 
 
13759
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13760
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13761
 
 
13762
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
13763
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13764
 
    #     investigate it a little bit more. (MM)
13765
 
    wlarc='${wl}'
13766
 
 
13767
 
    # ancient GNU ld didn't support --whole-archive et. al.
13768
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13769
 
        grep 'no-whole-archive' > /dev/null; then
13770
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13771
 
    else
13772
 
      whole_archive_flag_spec_CXX=
13773
 
    fi
13774
 
  else
13775
 
    with_gnu_ld=no
13776
 
    wlarc=
13777
 
 
13778
 
    # A generic and very simple default shared library creation
13779
 
    # command for GNU C++ for the case where it uses the native
13780
 
    # linker, instead of GNU ld.  If possible, this setting should
13781
 
    # overridden to take advantage of the native linker features on
13782
 
    # the platform it is being used on.
13783
 
    archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
13784
 
  fi
13785
 
 
13786
 
  # Commands to make compiler produce verbose output that lists
13787
 
  # what "hidden" libraries, object files and flags are used when
13788
 
  # linking a shared library.
13789
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13790
 
 
13791
 
else
13792
 
  GXX=no
13793
 
  with_gnu_ld=no
13794
 
  wlarc=
13795
 
fi
13796
 
 
13797
 
# PORTME: fill in a description of your system's C++ link characteristics
13798
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13799
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13800
 
ld_shlibs_CXX=yes
13801
 
case $host_os in
13802
 
  aix3*)
13803
 
    # FIXME: insert proper C++ library support
13804
 
    ld_shlibs_CXX=no
13805
 
    ;;
13806
 
  aix4* | aix5*)
13807
 
    if test "$host_cpu" = ia64; then
13808
 
      # On IA64, the linker does run time linking by default, so we don't
13809
 
      # have to do anything special.
13810
 
      aix_use_runtimelinking=no
13811
 
      exp_sym_flag='-Bexport'
13812
 
      no_entry_flag=""
13813
 
    else
13814
 
      # KDE requires run time linking.  Make it the default.
13815
 
      aix_use_runtimelinking=yes
13816
 
      exp_sym_flag='-bexport'
13817
 
      no_entry_flag='-bnoentry'
13818
 
    fi
13819
 
 
13820
 
    # When large executables or shared objects are built, AIX ld can
13821
 
    # have problems creating the table of contents.  If linking a library
13822
 
    # or program results in "error TOC overflow" add -mminimal-toc to
13823
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13824
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13825
 
 
13826
 
    archive_cmds_CXX=''
13827
 
    hardcode_direct_CXX=yes
13828
 
    hardcode_libdir_separator_CXX=':'
13829
 
    link_all_deplibs_CXX=yes
13830
 
 
13831
 
    if test "$GXX" = yes; then
13832
 
      case $host_os in aix4.012|aix4.012.*)
13833
 
      # We only want to do this on AIX 4.2 and lower, the check
13834
 
      # below for broken collect2 doesn't work under 4.3+
13835
 
        collect2name=`${CC} -print-prog-name=collect2`
13836
 
        if test -f "$collect2name" && \
13837
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13838
 
        then
13839
 
          # We have reworked collect2
13840
 
          hardcode_direct_CXX=yes
13841
 
        else
13842
 
          # We have old collect2
13843
 
          hardcode_direct_CXX=unsupported
13844
 
          # It fails to find uninstalled libraries when the uninstalled
13845
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
13846
 
          # to unsupported forces relinking
13847
 
          hardcode_minus_L_CXX=yes
13848
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
13849
 
          hardcode_libdir_separator_CXX=
13850
 
        fi
13851
 
      esac
13852
 
      shared_flag='-shared'
13853
 
    else
13854
 
      # not using gcc
13855
 
      if test "$host_cpu" = ia64; then
13856
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13857
 
        # chokes on -Wl,-G. The following line is correct:
13858
 
        shared_flag='-G'
13859
 
      else
13860
 
        if test "$aix_use_runtimelinking" = yes; then
13861
 
          shared_flag='-qmkshrobj ${wl}-G'
13862
 
        else
13863
 
          shared_flag='-qmkshrobj'
13864
 
        fi
13865
 
      fi
13866
 
    fi
13867
 
 
13868
 
    # Let the compiler handle the export list.
13869
 
    always_export_symbols_CXX=no
13870
 
    if test "$aix_use_runtimelinking" = yes; then
13871
 
      # Warning - without using the other runtime loading flags (-brtl),
13872
 
      # -berok will link without error, but may produce a broken library.
13873
 
      allow_undefined_flag_CXX='-berok'
13874
 
      # Determine the default libpath from the value encoded in an empty executable.
13875
 
      cat >conftest.$ac_ext <<_ACEOF
13876
 
/* confdefs.h.  */
13877
 
_ACEOF
13878
 
cat confdefs.h >>conftest.$ac_ext
13879
 
cat >>conftest.$ac_ext <<_ACEOF
13880
 
/* end confdefs.h.  */
13881
 
 
13882
 
int
13883
 
main ()
13884
 
{
13885
 
 
13886
 
  ;
13887
 
  return 0;
13888
 
}
13889
 
_ACEOF
13890
 
rm -f conftest.$ac_objext conftest$ac_exeext
13891
 
if { (ac_try="$ac_link"
13892
 
case "(($ac_try" in
13893
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13894
 
  *) ac_try_echo=$ac_try;;
13895
 
esac
13896
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13897
 
$as_echo "$ac_try_echo") >&5
13898
 
  (eval "$ac_link") 2>conftest.er1
13899
 
  ac_status=$?
13900
 
  grep -v '^ *+' conftest.er1 >conftest.err
13901
 
  rm -f conftest.er1
13902
 
  cat conftest.err >&5
13903
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904
 
  (exit $ac_status); } && {
13905
 
         test -z "$ac_cxx_werror_flag" ||
13906
 
         test ! -s conftest.err
13907
 
       } && test -s conftest$ac_exeext && {
13908
 
         test "$cross_compiling" = yes ||
13909
 
         $as_test_x conftest$ac_exeext
13910
 
       }; then
13911
 
 
13912
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13913
 
}'`
13914
 
# Check for a 64-bit object if we didn't find anything.
13915
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13916
 
}'`; fi
13917
 
else
13918
 
  $as_echo "$as_me: failed program was:" >&5
13919
 
sed 's/^/| /' conftest.$ac_ext >&5
13920
 
 
13921
 
 
13922
 
fi
13923
 
 
13924
 
rm -rf conftest.dSYM
13925
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13926
 
      conftest$ac_exeext conftest.$ac_ext
13927
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13928
 
 
13929
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13930
 
 
13931
 
      archive_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
13932
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13933
 
     else
13934
 
      if test "$host_cpu" = ia64; then
13935
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13936
 
        allow_undefined_flag_CXX="-z nodefs"
13937
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13938
 
      else
13939
 
        # Determine the default libpath from the value encoded in an empty executable.
13940
 
        cat >conftest.$ac_ext <<_ACEOF
13941
 
/* confdefs.h.  */
13942
 
_ACEOF
13943
 
cat confdefs.h >>conftest.$ac_ext
13944
 
cat >>conftest.$ac_ext <<_ACEOF
13945
 
/* end confdefs.h.  */
13946
 
 
13947
 
int
13948
 
main ()
13949
 
{
13950
 
 
13951
 
  ;
13952
 
  return 0;
13953
 
}
13954
 
_ACEOF
13955
 
rm -f conftest.$ac_objext conftest$ac_exeext
13956
 
if { (ac_try="$ac_link"
13957
 
case "(($ac_try" in
13958
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13959
 
  *) ac_try_echo=$ac_try;;
13960
 
esac
13961
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13962
 
$as_echo "$ac_try_echo") >&5
13963
 
  (eval "$ac_link") 2>conftest.er1
13964
 
  ac_status=$?
13965
 
  grep -v '^ *+' conftest.er1 >conftest.err
13966
 
  rm -f conftest.er1
13967
 
  cat conftest.err >&5
13968
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969
 
  (exit $ac_status); } && {
13970
 
         test -z "$ac_cxx_werror_flag" ||
13971
 
         test ! -s conftest.err
13972
 
       } && test -s conftest$ac_exeext && {
13973
 
         test "$cross_compiling" = yes ||
13974
 
         $as_test_x conftest$ac_exeext
13975
 
       }; then
13976
 
 
13977
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13978
 
}'`
13979
 
# Check for a 64-bit object if we didn't find anything.
13980
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13981
 
}'`; fi
13982
 
else
13983
 
  $as_echo "$as_me: failed program was:" >&5
13984
 
sed 's/^/| /' conftest.$ac_ext >&5
13985
 
 
13986
 
 
13987
 
fi
13988
 
 
13989
 
rm -rf conftest.dSYM
13990
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13991
 
      conftest$ac_exeext conftest.$ac_ext
13992
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13993
 
 
13994
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13995
 
        # Warning - without using the other run time loading flags,
13996
 
        # -berok will link without error, but may produce a broken library.
13997
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
13998
 
        allow_undefined_flag_CXX=' ${wl}-berok'
13999
 
        # -bexpall does not export symbols beginning with underscore (_)
14000
 
        always_export_symbols_CXX=yes
14001
 
        # Exported symbols can be pulled into shared objects from archives
14002
 
        whole_archive_flag_spec_CXX=' '
14003
 
        archive_cmds_need_lc_CXX=yes
14004
 
        # This is similar to how AIX traditionally builds it's shared libraries.
14005
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14006
 
      fi
14007
 
    fi
14008
 
    ;;
14009
 
  chorus*)
14010
 
    case $cc_basename in
14011
 
      *)
14012
 
        # FIXME: insert proper C++ library support
14013
 
        ld_shlibs_CXX=no
14014
 
        ;;
14015
 
    esac
14016
 
    ;;
14017
 
 
14018
 
  cygwin* | mingw* | pw32*)
14019
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14020
 
    # as there is no search path for DLLs.
14021
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
14022
 
    allow_undefined_flag_CXX=no
14023
 
    always_export_symbols_CXX=no
14024
 
    enable_shared_with_static_runtimes_CXX=yes
14025
 
 
14026
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14027
 
      archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14028
 
      # If the export-symbols file already is a .def file (1st line
14029
 
      # is EXPORTS), use it as is; otherwise, prepend...
14030
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14031
 
        cp $export_symbols $output_objdir/$soname.def;
14032
 
      else
14033
 
        echo EXPORTS > $output_objdir/$soname.def;
14034
 
        cat $export_symbols >> $output_objdir/$soname.def;
14035
 
      fi~
14036
 
      $CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14037
 
    else
14038
 
      ld_shlibs_CXX=no
14039
 
    fi
14040
 
  ;;
14041
 
 
14042
 
  darwin* | rhapsody*)
14043
 
  if test "$GXX" = yes; then
14044
 
    archive_cmds_need_lc_CXX=no
14045
 
    case "$host_os" in
14046
 
    rhapsody* | darwin1.[012])
14047
 
      allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress'
14048
 
      ;;
14049
 
    *) # Darwin 1.3 on
14050
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14051
 
        allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
14052
 
      else
14053
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
14054
 
          10.012)
14055
 
            allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
14056
 
            ;;
14057
 
          10.*)
14058
 
            allow_undefined_flag_CXX='-Wl,-undefined -Wl,dynamic_lookup'
14059
 
            ;;
14060
 
        esac
14061
 
      fi
14062
 
      ;;
14063
 
    esac
14064
 
    lt_int_apple_cc_single_mod=no
14065
 
    output_verbose_link_cmd='echo'
14066
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14067
 
      lt_int_apple_cc_single_mod=yes
14068
 
    fi
14069
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14070
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
14071
 
    else
14072
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
14073
 
    fi
14074
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
14075
 
 
14076
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14077
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14078
 
      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 $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14079
 
    else
14080
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14081
 
    fi
14082
 
    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 $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14083
 
    hardcode_direct_CXX=no
14084
 
    hardcode_automatic_CXX=yes
14085
 
    hardcode_shlibpath_var_CXX=unsupported
14086
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
14087
 
    link_all_deplibs_CXX=yes
14088
 
  else
14089
 
    ld_shlibs_CXX=no
14090
 
  fi
14091
 
    ;;
14092
 
 
14093
 
  dgux*)
14094
 
    case $cc_basename in
14095
 
      ec++)
14096
 
        # FIXME: insert proper C++ library support
14097
 
        ld_shlibs_CXX=no
14098
 
        ;;
14099
 
      ghcx)
14100
 
        # Green Hills C++ Compiler
14101
 
        # FIXME: insert proper C++ library support
14102
 
        ld_shlibs_CXX=no
14103
 
        ;;
14104
 
      *)
14105
 
        # FIXME: insert proper C++ library support
14106
 
        ld_shlibs_CXX=no
14107
 
        ;;
14108
 
    esac
14109
 
    ;;
14110
 
  freebsd12*)
14111
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
14112
 
    ld_shlibs_CXX=no
14113
 
    ;;
14114
 
  freebsd-elf*)
14115
 
    archive_cmds_need_lc_CXX=no
14116
 
    ;;
14117
 
  freebsd* | kfreebsd*-gnu)
14118
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14119
 
    # conventions
14120
 
    ld_shlibs_CXX=yes
14121
 
    ;;
14122
 
  gnu*)
14123
 
    ;;
14124
 
  hpux9*)
14125
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14126
 
    hardcode_libdir_separator_CXX=:
14127
 
    export_dynamic_flag_spec_CXX='${wl}-E'
14128
 
    hardcode_direct_CXX=yes
14129
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
14130
 
                                # but as the default
14131
 
                                # location of the library.
14132
 
 
14133
 
    case $cc_basename in
14134
 
    CC)
14135
 
      # FIXME: insert proper C++ library support
14136
 
      ld_shlibs_CXX=no
14137
 
      ;;
14138
 
    aCC)
14139
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14140
 
      # Commands to make compiler produce verbose output that lists
14141
 
      # what "hidden" libraries, object files and flags are used when
14142
 
      # linking a shared library.
14143
 
      #
14144
 
      # There doesn't appear to be a way to prevent this compiler from
14145
 
      # explicitly linking system object files so we need to strip them
14146
 
      # from the output so that they don't get included in the library
14147
 
      # dependencies.
14148
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14149
 
      ;;
14150
 
    *)
14151
 
      if test "$GXX" = yes; then
14152
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14153
 
      else
14154
 
        # FIXME: insert proper C++ library support
14155
 
        ld_shlibs_CXX=no
14156
 
      fi
14157
 
      ;;
14158
 
    esac
14159
 
    ;;
14160
 
  hpux10*|hpux11*)
14161
 
    if test $with_gnu_ld = no; then
14162
 
      case "$host_cpu" in
14163
 
      hppa*64*)
14164
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14165
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
14166
 
        hardcode_libdir_separator_CXX=:
14167
 
        ;;
14168
 
      ia64*)
14169
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
14170
 
        ;;
14171
 
      *)
14172
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14173
 
        hardcode_libdir_separator_CXX=:
14174
 
        export_dynamic_flag_spec_CXX='${wl}-E'
14175
 
        ;;
14176
 
      esac
14177
 
    fi
14178
 
    case "$host_cpu" in
14179
 
    hppa*64*)
14180
 
      hardcode_direct_CXX=no
14181
 
      hardcode_shlibpath_var_CXX=no
14182
 
      ;;
14183
 
    ia64*)
14184
 
      hardcode_direct_CXX=no
14185
 
      hardcode_shlibpath_var_CXX=no
14186
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
14187
 
                                              # but as the default
14188
 
                                              # location of the library.
14189
 
      ;;
14190
 
    *)
14191
 
      hardcode_direct_CXX=yes
14192
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
14193
 
                                              # but as the default
14194
 
                                              # location of the library.
14195
 
      ;;
14196
 
    esac
14197
 
 
14198
 
    case $cc_basename in
14199
 
      CC)
14200
 
        # FIXME: insert proper C++ library support
14201
 
        ld_shlibs_CXX=no
14202
 
        ;;
14203
 
      aCC)
14204
 
        case "$host_cpu" in
14205
 
        hppa*64*|ia64*)
14206
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
14207
 
          ;;
14208
 
        *)
14209
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
14210
 
          ;;
14211
 
        esac
14212
 
        # Commands to make compiler produce verbose output that lists
14213
 
        # what "hidden" libraries, object files and flags are used when
14214
 
        # linking a shared library.
14215
 
        #
14216
 
        # There doesn't appear to be a way to prevent this compiler from
14217
 
        # explicitly linking system object files so we need to strip them
14218
 
        # from the output so that they don't get included in the library
14219
 
        # dependencies.
14220
 
        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'
14221
 
        ;;
14222
 
      *)
14223
 
        if test "$GXX" = yes; then
14224
 
          if test $with_gnu_ld = no; then
14225
 
            case "$host_cpu" in
14226
 
            ia64*|hppa*64*)
14227
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
14228
 
              ;;
14229
 
            *)
14230
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
14231
 
              ;;
14232
 
            esac
14233
 
          fi
14234
 
        else
14235
 
          # FIXME: insert proper C++ library support
14236
 
          ld_shlibs_CXX=no
14237
 
        fi
14238
 
        ;;
14239
 
    esac
14240
 
    ;;
14241
 
  irix5* | irix6*)
14242
 
    case $cc_basename in
14243
 
      CC)
14244
 
        # SGI C++
14245
 
        archive_cmds_CXX='$CC -shared -all -multigot $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14246
 
 
14247
 
        # Archives containing C++ object files must be created using
14248
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14249
 
        # necessary to make sure instantiated templates are included
14250
 
        # in the archive.
14251
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14252
 
        ;;
14253
 
      *)
14254
 
        if test "$GXX" = yes; then
14255
 
          if test "$with_gnu_ld" = no; then
14256
 
            archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14257
 
          else
14258
 
            archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
14259
 
          fi
14260
 
        fi
14261
 
        link_all_deplibs_CXX=yes
14262
 
        ;;
14263
 
    esac
14264
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14265
 
    hardcode_libdir_separator_CXX=:
14266
 
    ;;
14267
 
  linux*)
14268
 
    case $cc_basename in
14269
 
      KCC)
14270
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14271
 
 
14272
 
        # KCC will only create a shared library if the output file
14273
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14274
 
        # to its proper name (with version) after linking.
14275
 
        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 $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
14276
 
        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 $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14277
 
        # Commands to make compiler produce verbose output that lists
14278
 
        # what "hidden" libraries, object files and flags are used when
14279
 
        # linking a shared library.
14280
 
        #
14281
 
        # There doesn't appear to be a way to prevent this compiler from
14282
 
        # explicitly linking system object files so we need to strip them
14283
 
        # from the output so that they don't get included in the library
14284
 
        # dependencies.
14285
 
        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'
14286
 
 
14287
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
14288
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14289
 
 
14290
 
        # Archives containing C++ object files must be created using
14291
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14292
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14293
 
        ;;
14294
 
      icpc)
14295
 
        # Intel C++
14296
 
        with_gnu_ld=yes
14297
 
        archive_cmds_need_lc_CXX=no
14298
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14299
 
        archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14300
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14301
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14302
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14303
 
        ;;
14304
 
      cxx)
14305
 
        # Compaq C++
14306
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14307
 
        archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14308
 
 
14309
 
        runpath_var=LD_RUN_PATH
14310
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14311
 
        hardcode_libdir_separator_CXX=:
14312
 
 
14313
 
        # Commands to make compiler produce verbose output that lists
14314
 
        # what "hidden" libraries, object files and flags are used when
14315
 
        # linking a shared library.
14316
 
        #
14317
 
        # There doesn't appear to be a way to prevent this compiler from
14318
 
        # explicitly linking system object files so we need to strip them
14319
 
        # from the output so that they don't get included in the library
14320
 
        # dependencies.
14321
 
        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'
14322
 
        ;;
14323
 
    esac
14324
 
    ;;
14325
 
  lynxos*)
14326
 
    # FIXME: insert proper C++ library support
14327
 
    ld_shlibs_CXX=no
14328
 
    ;;
14329
 
  m88k*)
14330
 
    # FIXME: insert proper C++ library support
14331
 
    ld_shlibs_CXX=no
14332
 
    ;;
14333
 
  mvs*)
14334
 
    case $cc_basename in
14335
 
      cxx)
14336
 
        # FIXME: insert proper C++ library support
14337
 
        ld_shlibs_CXX=no
14338
 
        ;;
14339
 
      *)
14340
 
        # FIXME: insert proper C++ library support
14341
 
        ld_shlibs_CXX=no
14342
 
        ;;
14343
 
    esac
14344
 
    ;;
14345
 
  netbsd*)
14346
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14347
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14348
 
      wlarc=
14349
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
14350
 
      hardcode_direct_CXX=yes
14351
 
      hardcode_shlibpath_var_CXX=no
14352
 
    fi
14353
 
    # Workaround some broken pre-1.5 toolchains
14354
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14355
 
    ;;
14356
 
  osf3*)
14357
 
    case $cc_basename in
14358
 
      KCC)
14359
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14360
 
 
14361
 
        # KCC will only create a shared library if the output file
14362
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14363
 
        # to its proper name (with version) after linking.
14364
 
        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 $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
14365
 
 
14366
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14367
 
        hardcode_libdir_separator_CXX=:
14368
 
 
14369
 
        # Archives containing C++ object files must be created using
14370
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14371
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14372
 
 
14373
 
        ;;
14374
 
      RCC)
14375
 
        # Rational C++ 2.4.1
14376
 
        # FIXME: insert proper C++ library support
14377
 
        ld_shlibs_CXX=no
14378
 
        ;;
14379
 
      cxx)
14380
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14381
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14382
 
 
14383
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14384
 
        hardcode_libdir_separator_CXX=:
14385
 
 
14386
 
        # Commands to make compiler produce verbose output that lists
14387
 
        # what "hidden" libraries, object files and flags are used when
14388
 
        # linking a shared library.
14389
 
        #
14390
 
        # There doesn't appear to be a way to prevent this compiler from
14391
 
        # explicitly linking system object files so we need to strip them
14392
 
        # from the output so that they don't get included in the library
14393
 
        # dependencies.
14394
 
        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'
14395
 
        ;;
14396
 
      *)
14397
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14398
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14399
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14400
 
 
14401
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14402
 
          hardcode_libdir_separator_CXX=:
14403
 
 
14404
 
          # Commands to make compiler produce verbose output that lists
14405
 
          # what "hidden" libraries, object files and flags are used when
14406
 
          # linking a shared library.
14407
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14408
 
 
14409
 
        else
14410
 
          # FIXME: insert proper C++ library support
14411
 
          ld_shlibs_CXX=no
14412
 
        fi
14413
 
        ;;
14414
 
    esac
14415
 
    ;;
14416
 
  osf4* | osf5*)
14417
 
    case $cc_basename in
14418
 
      KCC)
14419
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14420
 
 
14421
 
        # KCC will only create a shared library if the output file
14422
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14423
 
        # to its proper name (with version) after linking.
14424
 
        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 $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
14425
 
 
14426
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14427
 
        hardcode_libdir_separator_CXX=:
14428
 
 
14429
 
        # Archives containing C++ object files must be created using
14430
 
        # the KAI C++ compiler.
14431
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14432
 
        ;;
14433
 
      RCC)
14434
 
        # Rational C++ 2.4.1
14435
 
        # FIXME: insert proper C++ library support
14436
 
        ld_shlibs_CXX=no
14437
 
        ;;
14438
 
      cxx)
14439
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
14440
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14441
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14442
 
          echo "-hidden">> $lib.exp~
14443
 
          $CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
14444
 
          $rm $lib.exp'
14445
 
 
14446
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14447
 
        hardcode_libdir_separator_CXX=:
14448
 
 
14449
 
        # Commands to make compiler produce verbose output that lists
14450
 
        # what "hidden" libraries, object files and flags are used when
14451
 
        # linking a shared library.
14452
 
        #
14453
 
        # There doesn't appear to be a way to prevent this compiler from
14454
 
        # explicitly linking system object files so we need to strip them
14455
 
        # from the output so that they don't get included in the library
14456
 
        # dependencies.
14457
 
        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'
14458
 
        ;;
14459
 
      *)
14460
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14461
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14462
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14463
 
 
14464
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14465
 
          hardcode_libdir_separator_CXX=:
14466
 
 
14467
 
          # Commands to make compiler produce verbose output that lists
14468
 
          # what "hidden" libraries, object files and flags are used when
14469
 
          # linking a shared library.
14470
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14471
 
 
14472
 
        else
14473
 
          # FIXME: insert proper C++ library support
14474
 
          ld_shlibs_CXX=no
14475
 
        fi
14476
 
        ;;
14477
 
    esac
14478
 
    ;;
14479
 
  psos*)
14480
 
    # FIXME: insert proper C++ library support
14481
 
    ld_shlibs_CXX=no
14482
 
    ;;
14483
 
  sco*)
14484
 
    archive_cmds_need_lc_CXX=no
14485
 
    case $cc_basename in
14486
 
      CC)
14487
 
        # FIXME: insert proper C++ library support
14488
 
        ld_shlibs_CXX=no
14489
 
        ;;
14490
 
      *)
14491
 
        # FIXME: insert proper C++ library support
14492
 
        ld_shlibs_CXX=no
14493
 
        ;;
14494
 
    esac
14495
 
    ;;
14496
 
  sunos4*)
14497
 
    case $cc_basename in
14498
 
      CC)
14499
 
        # Sun C++ 4.x
14500
 
        # FIXME: insert proper C++ library support
14501
 
        ld_shlibs_CXX=no
14502
 
        ;;
14503
 
      lcc)
14504
 
        # Lucid
14505
 
        # FIXME: insert proper C++ library support
14506
 
        ld_shlibs_CXX=no
14507
 
        ;;
14508
 
      *)
14509
 
        # FIXME: insert proper C++ library support
14510
 
        ld_shlibs_CXX=no
14511
 
        ;;
14512
 
    esac
14513
 
    ;;
14514
 
  solaris*)
14515
 
    case $cc_basename in
14516
 
      CC)
14517
 
        # Sun C++ 4.2, 5.x and Centerline C++
14518
 
        no_undefined_flag_CXX=' -zdefs'
14519
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
14520
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14521
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14522
 
 
14523
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
14524
 
        hardcode_shlibpath_var_CXX=no
14525
 
        case $host_os in
14526
 
          solaris2.0-5 | solaris2.0-5.*) ;;
14527
 
          *)
14528
 
            # The C++ compiler is used as linker so we must use $wl
14529
 
            # flag to pass the commands to the underlying system
14530
 
            # linker.
14531
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
14532
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14533
 
            ;;
14534
 
        esac
14535
 
        link_all_deplibs_CXX=yes
14536
 
 
14537
 
        # Commands to make compiler produce verbose output that lists
14538
 
        # what "hidden" libraries, object files and flags are used when
14539
 
        # linking a shared library.
14540
 
        #
14541
 
        # There doesn't appear to be a way to prevent this compiler from
14542
 
        # explicitly linking system object files so we need to strip them
14543
 
        # from the output so that they don't get included in the library
14544
 
        # dependencies.
14545
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14546
 
 
14547
 
        # Archives containing C++ object files must be created using
14548
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14549
 
        # necessary to make sure instantiated templates are included
14550
 
        # in the archive.
14551
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14552
 
        ;;
14553
 
      gcx)
14554
 
        # Green Hills C++ Compiler
14555
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14556
 
 
14557
 
        # The C++ compiler must be used to create the archive.
14558
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14559
 
        ;;
14560
 
      *)
14561
 
        # GNU C++ compiler with Solaris linker
14562
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14563
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14564
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
14565
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14566
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14567
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14568
 
 
14569
 
            # Commands to make compiler produce verbose output that lists
14570
 
            # what "hidden" libraries, object files and flags are used when
14571
 
            # linking a shared library.
14572
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14573
 
          else
14574
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
14575
 
            # platform.
14576
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14577
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14578
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14579
 
 
14580
 
            # Commands to make compiler produce verbose output that lists
14581
 
            # what "hidden" libraries, object files and flags are used when
14582
 
            # linking a shared library.
14583
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14584
 
          fi
14585
 
 
14586
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14587
 
        fi
14588
 
        ;;
14589
 
    esac
14590
 
    ;;
14591
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
14592
 
    archive_cmds_need_lc_CXX=no
14593
 
    ;;
14594
 
  tandem*)
14595
 
    case $cc_basename in
14596
 
      NCC)
14597
 
        # NonStop-UX NCC 3.20
14598
 
        # FIXME: insert proper C++ library support
14599
 
        ld_shlibs_CXX=no
14600
 
        ;;
14601
 
      *)
14602
 
        # FIXME: insert proper C++ library support
14603
 
        ld_shlibs_CXX=no
14604
 
        ;;
14605
 
    esac
14606
 
    ;;
14607
 
  vxworks*)
14608
 
    # FIXME: insert proper C++ library support
14609
 
    ld_shlibs_CXX=no
14610
 
    ;;
14611
 
  *)
14612
 
    # FIXME: insert proper C++ library support
14613
 
    ld_shlibs_CXX=no
14614
 
    ;;
14615
 
esac
14616
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14617
 
$as_echo "$ld_shlibs_CXX" >&6; }
14618
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14619
 
 
14620
 
GCC_CXX="$GXX"
14621
 
LD_CXX="$LD"
14622
 
 
14623
 
 
14624
 
cat > conftest.$ac_ext <<EOF
14625
 
class Foo
14626
 
{
14627
 
public:
14628
 
  Foo (void) { a = 0; }
14629
 
private:
14630
 
  int a;
14631
 
};
14632
 
EOF
14633
 
 
14634
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14635
 
  (eval $ac_compile) 2>&5
14636
 
  ac_status=$?
14637
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638
 
  (exit $ac_status); }; then
14639
 
  # Parse the compiler output and extract the necessary
14640
 
  # objects, libraries and library flags.
14641
 
 
14642
 
  # Sentinel used to keep track of whether or not we are before
14643
 
  # the conftest object file.
14644
 
  pre_test_object_deps_done=no
14645
 
 
14646
 
  # The `*' in the case matches for architectures that use `case' in
14647
 
  # $output_verbose_cmd can trigger glob expansion during the loop
14648
 
  # eval without this substitution.
14649
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
14650
 
 
14651
 
  for p in `eval $output_verbose_link_cmd`; do
14652
 
    case $p in
14653
 
 
14654
 
    -L* | -R* | -l*)
14655
 
       # Some compilers place space between "-{L,R}" and the path.
14656
 
       # Remove the space.
14657
 
       if test $p = "-L" \
14658
 
          || test $p = "-R"; then
14659
 
         prev=$p
14660
 
         continue
14661
 
       else
14662
 
         prev=
14663
 
       fi
14664
 
 
14665
 
       if test "$pre_test_object_deps_done" = no; then
14666
 
         case $p in
14667
 
         -L* | -R*)
14668
 
           # Internal compiler library paths should come after those
14669
 
           # provided the user.  The postdeps already come after the
14670
 
           # user supplied libs so there is no need to process them.
14671
 
           if test -z "$compiler_lib_search_path_CXX"; then
14672
 
             compiler_lib_search_path_CXX="${prev}${p}"
14673
 
           else
14674
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14675
 
           fi
14676
 
           ;;
14677
 
         # The "-l" case would never come before the object being
14678
 
         # linked, so don't bother handling this case.
14679
 
         esac
14680
 
       else
14681
 
         if test -z "$postdeps_CXX"; then
14682
 
           postdeps_CXX="${prev}${p}"
14683
 
         else
14684
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14685
 
         fi
14686
 
       fi
14687
 
       ;;
14688
 
 
14689
 
    *.$objext|*.$libext)
14690
 
       # This assumes that the test object file only shows up
14691
 
       # once in the compiler output.
14692
 
       if test "$p" = "conftest.$objext"; then
14693
 
         pre_test_object_deps_done=yes
14694
 
         continue
14695
 
       fi
14696
 
 
14697
 
       if test "$pre_test_object_deps_done" = no; then
14698
 
         if test -z "$predep_objects_CXX"; then
14699
 
           predep_objects_CXX="$p"
14700
 
         else
14701
 
           predep_objects_CXX="$predep_objects_CXX $p"
14702
 
         fi
14703
 
       else
14704
 
         if test -z "$postdep_objects_CXX"; then
14705
 
           postdep_objects_CXX="$p"
14706
 
         else
14707
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
14708
 
         fi
14709
 
       fi
14710
 
       ;;
14711
 
 
14712
 
    *) ;; # Ignore the rest.
14713
 
 
14714
 
    esac
14715
 
  done
14716
 
 
14717
 
  # Clean up.
14718
 
  rm -f a.out a.exe
14719
 
else
14720
 
  echo "libtool.m4: error: problem compiling CXX test program"
14721
 
fi
14722
 
 
14723
 
$rm -f confest.$objext
14724
 
 
14725
 
case " $postdeps_CXX " in
14726
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14727
 
esac
14728
 
 
14729
 
lt_prog_compiler_wl_CXX=
14730
 
lt_prog_compiler_pic_CXX=
14731
 
lt_prog_compiler_static_CXX=
14732
 
 
14733
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14734
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14735
 
 
14736
 
  # C++ specific cases for pic, static, wl, etc.
14737
 
  if test "$GXX" = yes; then
14738
 
    lt_prog_compiler_wl_CXX='-Wl,'
14739
 
    lt_prog_compiler_static_CXX='-static'
14740
 
 
14741
 
    case $host_os in
14742
 
    aix*)
14743
 
      # All AIX code is PIC.
14744
 
      if test "$host_cpu" = ia64; then
14745
 
        # AIX 5 now supports IA64 processor
14746
 
        lt_prog_compiler_static_CXX='-Bstatic'
14747
 
      fi
14748
 
      ;;
14749
 
    amigaos*)
14750
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14751
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14752
 
      # like `-m68040'.
14753
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14754
 
      ;;
14755
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14756
 
      # PIC is the default for these OSes.
14757
 
      ;;
14758
 
    mingw* | os2* | pw32*)
14759
 
      # This hack is so that the source file can tell whether it is being
14760
 
      # built for inclusion in a dll (and should export symbols for example).
14761
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14762
 
      ;;
14763
 
    darwin* | rhapsody*)
14764
 
      # PIC is the default on this platform
14765
 
      # Common symbols not allowed in MH_DYLIB files
14766
 
      lt_prog_compiler_pic_CXX='-fno-common'
14767
 
      ;;
14768
 
    *djgpp*)
14769
 
      # DJGPP does not support shared libraries at all
14770
 
      lt_prog_compiler_pic_CXX=
14771
 
      ;;
14772
 
    sysv4*MP*)
14773
 
      if test -d /usr/nec; then
14774
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
14775
 
      fi
14776
 
      ;;
14777
 
    hpux*)
14778
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14779
 
      # not for PA HP-UX.
14780
 
      case "$host_cpu" in
14781
 
      hppa*64*|ia64*)
14782
 
        ;;
14783
 
      *)
14784
 
        lt_prog_compiler_pic_CXX='-fPIC'
14785
 
        ;;
14786
 
      esac
14787
 
      ;;
14788
 
    *)
14789
 
      lt_prog_compiler_pic_CXX='-fPIC'
14790
 
      ;;
14791
 
    esac
14792
 
  else
14793
 
    case $host_os in
14794
 
      aix4* | aix5*)
14795
 
        # All AIX code is PIC.
14796
 
        if test "$host_cpu" = ia64; then
14797
 
          # AIX 5 now supports IA64 processor
14798
 
          lt_prog_compiler_static_CXX='-Bstatic'
14799
 
        else
14800
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14801
 
        fi
14802
 
        ;;
14803
 
      chorus*)
14804
 
        case $cc_basename in
14805
 
        cxch68)
14806
 
          # Green Hills C++ Compiler
14807
 
          # _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"
14808
 
          ;;
14809
 
        esac
14810
 
        ;;
14811
 
      dgux*)
14812
 
        case $cc_basename in
14813
 
          ec++)
14814
 
            lt_prog_compiler_pic_CXX='-KPIC'
14815
 
            ;;
14816
 
          ghcx)
14817
 
            # Green Hills C++ Compiler
14818
 
            lt_prog_compiler_pic_CXX='-pic'
14819
 
            ;;
14820
 
          *)
14821
 
            ;;
14822
 
        esac
14823
 
        ;;
14824
 
      freebsd* | kfreebsd*-gnu)
14825
 
        # FreeBSD uses GNU C++
14826
 
        ;;
14827
 
      hpux9* | hpux10* | hpux11*)
14828
 
        case $cc_basename in
14829
 
          CC)
14830
 
            lt_prog_compiler_wl_CXX='-Wl,'
14831
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14832
 
            if test "$host_cpu" != ia64; then
14833
 
              lt_prog_compiler_pic_CXX='+Z'
14834
 
            fi
14835
 
            ;;
14836
 
          aCC)
14837
 
            lt_prog_compiler_wl_CXX='-Wl,'
14838
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14839
 
            case "$host_cpu" in
14840
 
            hppa*64*|ia64*)
14841
 
              # +Z the default
14842
 
              ;;
14843
 
            *)
14844
 
              lt_prog_compiler_pic_CXX='+Z'
14845
 
              ;;
14846
 
            esac
14847
 
            ;;
14848
 
          *)
14849
 
            ;;
14850
 
        esac
14851
 
        ;;
14852
 
      irix5* | irix6* | nonstopux*)
14853
 
        case $cc_basename in
14854
 
          CC)
14855
 
            lt_prog_compiler_wl_CXX='-Wl,'
14856
 
            lt_prog_compiler_static_CXX='-non_shared'
14857
 
            # CC pic flag -KPIC is the default.
14858
 
            ;;
14859
 
          *)
14860
 
            ;;
14861
 
        esac
14862
 
        ;;
14863
 
      linux*)
14864
 
        case $cc_basename in
14865
 
          KCC)
14866
 
            # KAI C++ Compiler
14867
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14868
 
            lt_prog_compiler_pic_CXX='-fPIC'
14869
 
            ;;
14870
 
          icpc)
14871
 
            # Intel C++
14872
 
            lt_prog_compiler_wl_CXX='-Wl,'
14873
 
            lt_prog_compiler_pic_CXX='-KPIC'
14874
 
            lt_prog_compiler_static_CXX='-static'
14875
 
            ;;
14876
 
          cxx)
14877
 
            # Compaq C++
14878
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14879
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14880
 
            lt_prog_compiler_pic_CXX=
14881
 
            lt_prog_compiler_static_CXX='-non_shared'
14882
 
            ;;
14883
 
          *)
14884
 
            ;;
14885
 
        esac
14886
 
        ;;
14887
 
      lynxos*)
14888
 
        ;;
14889
 
      m88k*)
14890
 
        ;;
14891
 
      mvs*)
14892
 
        case $cc_basename in
14893
 
          cxx)
14894
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
14895
 
            ;;
14896
 
          *)
14897
 
            ;;
14898
 
        esac
14899
 
        ;;
14900
 
      netbsd*)
14901
 
        ;;
14902
 
      osf3* | osf4* | osf5*)
14903
 
        case $cc_basename in
14904
 
          KCC)
14905
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14906
 
            ;;
14907
 
          RCC)
14908
 
            # Rational C++ 2.4.1
14909
 
            lt_prog_compiler_pic_CXX='-pic'
14910
 
            ;;
14911
 
          cxx)
14912
 
            # Digital/Compaq C++
14913
 
            lt_prog_compiler_wl_CXX='-Wl,'
14914
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14915
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14916
 
            lt_prog_compiler_pic_CXX=
14917
 
            lt_prog_compiler_static_CXX='-non_shared'
14918
 
            ;;
14919
 
          *)
14920
 
            ;;
14921
 
        esac
14922
 
        ;;
14923
 
      psos*)
14924
 
        ;;
14925
 
      sco*)
14926
 
        case $cc_basename in
14927
 
          CC)
14928
 
            lt_prog_compiler_pic_CXX='-fPIC'
14929
 
            ;;
14930
 
          *)
14931
 
            ;;
14932
 
        esac
14933
 
        ;;
14934
 
      solaris*)
14935
 
        case $cc_basename in
14936
 
          CC)
14937
 
            # Sun C++ 4.2, 5.x and Centerline C++
14938
 
            lt_prog_compiler_pic_CXX='-KPIC'
14939
 
            lt_prog_compiler_static_CXX='-Bstatic'
14940
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
14941
 
            ;;
14942
 
          gcx)
14943
 
            # Green Hills C++ Compiler
14944
 
            lt_prog_compiler_pic_CXX='-PIC'
14945
 
            ;;
14946
 
          *)
14947
 
            ;;
14948
 
        esac
14949
 
        ;;
14950
 
      sunos4*)
14951
 
        case $cc_basename in
14952
 
          CC)
14953
 
            # Sun C++ 4.x
14954
 
            lt_prog_compiler_pic_CXX='-pic'
14955
 
            lt_prog_compiler_static_CXX='-Bstatic'
14956
 
            ;;
14957
 
          lcc)
14958
 
            # Lucid
14959
 
            lt_prog_compiler_pic_CXX='-pic'
14960
 
            ;;
14961
 
          *)
14962
 
            ;;
14963
 
        esac
14964
 
        ;;
14965
 
      tandem*)
14966
 
        case $cc_basename in
14967
 
          NCC)
14968
 
            # NonStop-UX NCC 3.20
14969
 
            lt_prog_compiler_pic_CXX='-KPIC'
14970
 
            ;;
14971
 
          *)
14972
 
            ;;
14973
 
        esac
14974
 
        ;;
14975
 
      unixware*)
14976
 
        ;;
14977
 
      vxworks*)
14978
 
        ;;
14979
 
      *)
14980
 
        lt_prog_compiler_can_build_shared_CXX=no
14981
 
        ;;
14982
 
    esac
14983
 
  fi
14984
 
 
14985
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14986
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14987
 
 
14988
 
#
14989
 
# Check to make sure the PIC flag actually works.
14990
 
#
14991
 
if test -n "$lt_prog_compiler_pic_CXX"; then
14992
 
 
14993
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14994
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14995
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14996
 
  $as_echo_n "(cached) " >&6
14997
 
else
14998
 
  lt_prog_compiler_pic_works_CXX=no
14999
 
  ac_outfile=conftest.$ac_objext
15000
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15001
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15002
 
   # Insert the option either (1) after the last *FLAGS variable, or
15003
 
   # (2) before a word containing "conftest.", or (3) at the end.
15004
 
   # Note that $ac_compile itself does not contain backslashes and begins
15005
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15006
 
   # The option is referenced via a variable to avoid confusing sed.
15007
 
   lt_compile=`echo "$ac_compile" | $SED \
15008
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15009
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15010
 
   -e 's:$: $lt_compiler_flag:'`
15011
 
   (eval echo "\"\$as_me:15011: $lt_compile\"" >&5)
15012
 
   (eval "$lt_compile" 2>conftest.err)
15013
 
   ac_status=$?
15014
 
   cat conftest.err >&5
15015
 
   echo "$as_me:15015: \$? = $ac_status" >&5
15016
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15017
 
     # The compiler can only warn and ignore the option if not recognized
15018
 
     # So say no if there are warnings
15019
 
     if test ! -s conftest.err; then
15020
 
       lt_prog_compiler_pic_works_CXX=yes
15021
 
     fi
15022
 
   fi
15023
 
   $rm conftest*
15024
 
 
15025
 
fi
15026
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15027
 
$as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
15028
 
 
15029
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
15030
 
    case $lt_prog_compiler_pic_CXX in
15031
 
     "" | " "*) ;;
15032
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15033
 
     esac
15034
 
else
15035
 
    lt_prog_compiler_pic_CXX=
15036
 
     lt_prog_compiler_can_build_shared_CXX=no
15037
 
fi
15038
 
 
15039
 
fi
15040
 
case "$host_os" in
15041
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15042
 
  *djgpp*)
15043
 
    lt_prog_compiler_pic_CXX=
15044
 
    ;;
15045
 
  *)
15046
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15047
 
    ;;
15048
 
esac
15049
 
 
15050
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15051
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15052
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15053
 
  $as_echo_n "(cached) " >&6
15054
 
else
15055
 
  lt_cv_prog_compiler_c_o_CXX=no
15056
 
   $rm -r conftest 2>/dev/null
15057
 
   mkdir conftest
15058
 
   cd conftest
15059
 
   mkdir out
15060
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15061
 
 
15062
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15063
 
   # that will create temporary files in the current directory regardless of
15064
 
   # the output directory.  Thus, making CWD read-only will cause this test
15065
 
   # to fail, enabling locking or at least warning the user not to do parallel
15066
 
   # builds.
15067
 
   chmod -w .
15068
 
 
15069
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15070
 
   # Insert the option either (1) after the last *FLAGS variable, or
15071
 
   # (2) before a word containing "conftest.", or (3) at the end.
15072
 
   # Note that $ac_compile itself does not contain backslashes and begins
15073
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15074
 
   lt_compile=`echo "$ac_compile" | $SED \
15075
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15076
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15077
 
   -e 's:$: $lt_compiler_flag:'`
15078
 
   (eval echo "\"\$as_me:15078: $lt_compile\"" >&5)
15079
 
   (eval "$lt_compile" 2>out/conftest.err)
15080
 
   ac_status=$?
15081
 
   cat out/conftest.err >&5
15082
 
   echo "$as_me:15082: \$? = $ac_status" >&5
15083
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15084
 
   then
15085
 
     # The compiler can only warn and ignore the option if not recognized
15086
 
     # So say no if there are warnings
15087
 
     if test ! -s out/conftest.err; then
15088
 
       lt_cv_prog_compiler_c_o_CXX=yes
15089
 
     fi
15090
 
   fi
15091
 
   chmod u+w .
15092
 
   $rm conftest* out/*
15093
 
   rmdir out
15094
 
   cd ..
15095
 
   rmdir conftest
15096
 
   $rm conftest*
15097
 
 
15098
 
fi
15099
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15100
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15101
 
 
15102
 
 
15103
 
hard_links="nottested"
15104
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15105
 
  # do not overwrite the value of need_locks provided by the user
15106
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15107
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
15108
 
  hard_links=yes
15109
 
  $rm conftest*
15110
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15111
 
  touch conftest.a
15112
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15113
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15114
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
15115
 
$as_echo "$hard_links" >&6; }
15116
 
  if test "$hard_links" = no; then
15117
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15118
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15119
 
    need_locks=warn
15120
 
  fi
15121
 
else
15122
 
  need_locks=no
15123
 
fi
15124
 
 
15125
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15126
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15127
 
 
15128
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15129
 
  case $host_os in
15130
 
  aix4* | aix5*)
15131
 
    # If we're using GNU nm, then we don't want the "-C" option.
15132
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
15133
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15134
 
      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'
15135
 
    else
15136
 
      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'
15137
 
    fi
15138
 
    ;;
15139
 
  pw32*)
15140
 
    export_symbols_cmds_CXX="$ltdll_cmds"
15141
 
  ;;
15142
 
  cygwin* | mingw*)
15143
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15144
 
  ;;
15145
 
  *)
15146
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15147
 
  ;;
15148
 
  esac
15149
 
 
15150
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15151
 
$as_echo "$ld_shlibs_CXX" >&6; }
15152
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
15153
 
 
15154
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15155
 
if test "$GCC" = yes; then
15156
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15157
 
fi
15158
 
 
15159
 
#
15160
 
# Do we need to explicitly link libc?
15161
 
#
15162
 
case "x$archive_cmds_need_lc_CXX" in
15163
 
x|xyes)
15164
 
  # Assume -lc should be added
15165
 
  archive_cmds_need_lc_CXX=yes
15166
 
 
15167
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15168
 
    case $archive_cmds_CXX in
15169
 
    *'~'*)
15170
 
      # FIXME: we may have to deal with multi-command sequences.
15171
 
      ;;
15172
 
    '$CC '*)
15173
 
      # Test whether the compiler implicitly links with -lc since on some
15174
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15175
 
      # to ld, don't add -lc before -lgcc.
15176
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15177
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15178
 
      $rm conftest*
15179
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15180
 
 
15181
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15182
 
  (eval $ac_compile) 2>&5
15183
 
  ac_status=$?
15184
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185
 
  (exit $ac_status); } 2>conftest.err; then
15186
 
        soname=conftest
15187
 
        lib=conftest
15188
 
        libobjs=conftest.$ac_objext
15189
 
        deplibs=
15190
 
        wl=$lt_prog_compiler_wl_CXX
15191
 
        compiler_flags=-v
15192
 
        linker_flags=-v
15193
 
        verstring=
15194
 
        output_objdir=.
15195
 
        libname=conftest
15196
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15197
 
        allow_undefined_flag_CXX=
15198
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15199
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15200
 
  ac_status=$?
15201
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202
 
  (exit $ac_status); }
15203
 
        then
15204
 
          archive_cmds_need_lc_CXX=no
15205
 
        else
15206
 
          archive_cmds_need_lc_CXX=yes
15207
 
        fi
15208
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15209
 
      else
15210
 
        cat conftest.err 1>&5
15211
 
      fi
15212
 
      $rm conftest*
15213
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15214
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
15215
 
      ;;
15216
 
    esac
15217
 
  fi
15218
 
  ;;
15219
 
esac
15220
 
 
15221
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15222
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
15223
 
library_names_spec=
15224
 
libname_spec='lib$name'
15225
 
soname_spec=
15226
 
shrext=".so"
15227
 
postinstall_cmds=
15228
 
postuninstall_cmds=
15229
 
finish_cmds=
15230
 
finish_eval=
15231
 
shlibpath_var=
15232
 
shlibpath_overrides_runpath=unknown
15233
 
version_type=none
15234
 
dynamic_linker="$host_os ld.so"
15235
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15236
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15237
 
need_lib_prefix=unknown
15238
 
hardcode_into_libs=no
15239
 
 
15240
 
# when you set need_version to no, make sure it does not cause -set_version
15241
 
# flags to be left without arguments
15242
 
need_version=unknown
15243
 
 
15244
 
case $host_os in
15245
 
aix3*)
15246
 
  version_type=linux
15247
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15248
 
  shlibpath_var=LIBPATH
15249
 
 
15250
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15251
 
  soname_spec='${libname}${release}${shared_ext}$major'
15252
 
  ;;
15253
 
 
15254
 
aix4* | aix5*)
15255
 
  version_type=linux
15256
 
  need_lib_prefix=no
15257
 
  need_version=no
15258
 
  hardcode_into_libs=yes
15259
 
  if test "$host_cpu" = ia64; then
15260
 
    # AIX 5 supports IA64
15261
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15262
 
    shlibpath_var=LD_LIBRARY_PATH
15263
 
  else
15264
 
    # With GCC up to 2.95.x, collect2 would create an import file
15265
 
    # for dependence libraries.  The import file would start with
15266
 
    # the line `#! .'.  This would cause the generated library to
15267
 
    # depend on `.', always an invalid library.  This was fixed in
15268
 
    # development snapshots of GCC prior to 3.0.
15269
 
    case $host_os in
15270
 
      aix4 | aix4.[01] | aix4.[01].*)
15271
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15272
 
           echo ' yes '
15273
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15274
 
        :
15275
 
      else
15276
 
        can_build_shared=no
15277
 
      fi
15278
 
      ;;
15279
 
    esac
15280
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15281
 
    # soname into executable. Probably we can add versioning support to
15282
 
    # collect2, so additional links can be useful in future.
15283
 
    if test "$aix_use_runtimelinking" = yes; then
15284
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15285
 
      # instead of lib<name>.a to let people know that these are not
15286
 
      # typical AIX shared libraries.
15287
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15288
 
    else
15289
 
      # We preserve .a as extension for shared libraries through AIX4.2
15290
 
      # and later when we are not doing run time linking.
15291
 
      library_names_spec='${libname}${release}.a $libname.a'
15292
 
      soname_spec='${libname}${release}${shared_ext}$major'
15293
 
    fi
15294
 
    shlibpath_var=LIBPATH
15295
 
  fi
15296
 
  ;;
15297
 
 
15298
 
amigaos*)
15299
 
  library_names_spec='$libname.ixlibrary $libname.a'
15300
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15301
 
  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'
15302
 
  ;;
15303
 
 
15304
 
beos*)
15305
 
  library_names_spec='${libname}${shared_ext}'
15306
 
  dynamic_linker="$host_os ld.so"
15307
 
  shlibpath_var=LIBRARY_PATH
15308
 
  ;;
15309
 
 
15310
 
bsdi4*)
15311
 
  version_type=linux
15312
 
  need_version=no
15313
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15314
 
  soname_spec='${libname}${release}${shared_ext}$major'
15315
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15316
 
  shlibpath_var=LD_LIBRARY_PATH
15317
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15318
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15319
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15320
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15321
 
  # libtool to hard-code these into programs
15322
 
  ;;
15323
 
 
15324
 
cygwin* | mingw* | pw32*)
15325
 
  version_type=windows
15326
 
  shrext=".dll"
15327
 
  need_version=no
15328
 
  need_lib_prefix=no
15329
 
 
15330
 
  case $GCC,$host_os in
15331
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15332
 
    library_names_spec='$libname.dll.a'
15333
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15334
 
    postinstall_cmds='base_file=`basename \${file}`~
15335
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15336
 
      dldir=$destdir/`dirname \$dlpath`~
15337
 
      test -d \$dldir || mkdir -p \$dldir~
15338
 
      $install_prog $dir/$dlname \$dldir/$dlname'
15339
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15340
 
      dlpath=$dir/\$dldll~
15341
 
       $rm \$dlpath'
15342
 
    shlibpath_overrides_runpath=yes
15343
 
 
15344
 
    case $host_os in
15345
 
    cygwin*)
15346
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15347
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15348
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15349
 
      ;;
15350
 
    mingw*)
15351
 
      # MinGW DLLs use traditional 'lib' prefix
15352
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15353
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15354
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15355
 
        # It is most probably a Windows format PATH printed by
15356
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15357
 
        # path with ; separators, and with drive letters. We can handle the
15358
 
        # drive letters (cygwin fileutils understands them), so leave them,
15359
 
        # especially as we might pass files found there to a mingw objdump,
15360
 
        # which wouldn't understand a cygwinified path. Ahh.
15361
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15362
 
      else
15363
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15364
 
      fi
15365
 
      ;;
15366
 
    pw32*)
15367
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15368
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
15369
 
      ;;
15370
 
    esac
15371
 
    ;;
15372
 
 
15373
 
  *)
15374
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15375
 
    ;;
15376
 
  esac
15377
 
  dynamic_linker='Win32 ld.exe'
15378
 
  # FIXME: first we should search . and the directory the executable is in
15379
 
  shlibpath_var=PATH
15380
 
  ;;
15381
 
 
15382
 
darwin* | rhapsody*)
15383
 
  dynamic_linker="$host_os dyld"
15384
 
  version_type=darwin
15385
 
  need_lib_prefix=no
15386
 
  need_version=no
15387
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15388
 
  soname_spec='${libname}${release}${major}$shared_ext'
15389
 
  shlibpath_overrides_runpath=yes
15390
 
  shlibpath_var=DYLD_LIBRARY_PATH
15391
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
15392
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15393
 
  if test "$GCC" = yes; then
15394
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15395
 
  else
15396
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15397
 
  fi
15398
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15399
 
  ;;
15400
 
 
15401
 
dgux*)
15402
 
  version_type=linux
15403
 
  need_lib_prefix=no
15404
 
  need_version=no
15405
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15406
 
  soname_spec='${libname}${release}${shared_ext}$major'
15407
 
  shlibpath_var=LD_LIBRARY_PATH
15408
 
  ;;
15409
 
 
15410
 
freebsd1*)
15411
 
  dynamic_linker=no
15412
 
  ;;
15413
 
 
15414
 
kfreebsd*-gnu*)
15415
 
  version_type=linux
15416
 
  need_lib_prefix=no
15417
 
  need_version=no
15418
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15419
 
  soname_spec='${libname}${release}${shared_ext}$major'
15420
 
  shlibpath_var=LD_LIBRARY_PATH
15421
 
  shlibpath_overrides_runpath=no
15422
 
  hardcode_into_libs=yes
15423
 
  dynamic_linker='GNU ld.so'
15424
 
  ;;
15425
 
 
15426
 
freebsd*)
15427
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15428
 
  version_type=freebsd-$objformat
15429
 
  case $version_type in
15430
 
    freebsd-elf*)
15431
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15432
 
      need_version=no
15433
 
      need_lib_prefix=no
15434
 
      ;;
15435
 
    freebsd-*)
15436
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15437
 
      need_version=yes
15438
 
      ;;
15439
 
  esac
15440
 
  shlibpath_var=LD_LIBRARY_PATH
15441
 
  case $host_os in
15442
 
  freebsd2*)
15443
 
    shlibpath_overrides_runpath=yes
15444
 
    ;;
15445
 
  freebsd3.01* | freebsdelf3.01*)
15446
 
    shlibpath_overrides_runpath=yes
15447
 
    hardcode_into_libs=yes
15448
 
    ;;
15449
 
  *) # from 3.2 on
15450
 
    shlibpath_overrides_runpath=no
15451
 
    hardcode_into_libs=yes
15452
 
    ;;
15453
 
  esac
15454
 
  ;;
15455
 
 
15456
 
gnu*)
15457
 
  version_type=linux
15458
 
  need_lib_prefix=no
15459
 
  need_version=no
15460
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15461
 
  soname_spec='${libname}${release}${shared_ext}$major'
15462
 
  shlibpath_var=LD_LIBRARY_PATH
15463
 
  hardcode_into_libs=yes
15464
 
  ;;
15465
 
 
15466
 
hpux9* | hpux10* | hpux11*)
15467
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15468
 
  # link against other versions.
15469
 
  version_type=sunos
15470
 
  need_lib_prefix=no
15471
 
  need_version=no
15472
 
  case "$host_cpu" in
15473
 
  ia64*)
15474
 
    shrext='.so'
15475
 
    hardcode_into_libs=yes
15476
 
    dynamic_linker="$host_os dld.so"
15477
 
    shlibpath_var=LD_LIBRARY_PATH
15478
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15479
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15480
 
    soname_spec='${libname}${release}${shared_ext}$major'
15481
 
    if test "X$HPUX_IA64_MODE" = X32; then
15482
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15483
 
    else
15484
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15485
 
    fi
15486
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15487
 
    ;;
15488
 
   hppa*64*)
15489
 
     shrext='.sl'
15490
 
     hardcode_into_libs=yes
15491
 
     dynamic_linker="$host_os dld.sl"
15492
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15493
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15494
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15495
 
     soname_spec='${libname}${release}${shared_ext}$major'
15496
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15497
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15498
 
     ;;
15499
 
   *)
15500
 
    shrext='.sl'
15501
 
    dynamic_linker="$host_os dld.sl"
15502
 
    shlibpath_var=SHLIB_PATH
15503
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15504
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15505
 
    soname_spec='${libname}${release}${shared_ext}$major'
15506
 
    ;;
15507
 
  esac
15508
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15509
 
  postinstall_cmds='chmod 555 $lib'
15510
 
  ;;
15511
 
 
15512
 
irix5* | irix6* | nonstopux*)
15513
 
  case $host_os in
15514
 
    nonstopux*) version_type=nonstopux ;;
15515
 
    *)
15516
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15517
 
                version_type=linux
15518
 
        else
15519
 
                version_type=irix
15520
 
        fi ;;
15521
 
  esac
15522
 
  need_lib_prefix=no
15523
 
  need_version=no
15524
 
  soname_spec='${libname}${release}${shared_ext}$major'
15525
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15526
 
  case $host_os in
15527
 
  irix5* | nonstopux*)
15528
 
    libsuff= shlibsuff=
15529
 
    ;;
15530
 
  *)
15531
 
    case $LD in # libtool.m4 will add one of these switches to LD
15532
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15533
 
      libsuff= shlibsuff= libmagic=32-bit;;
15534
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15535
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15536
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15537
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15538
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15539
 
    esac
15540
 
    ;;
15541
 
  esac
15542
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15543
 
  shlibpath_overrides_runpath=no
15544
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15545
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15546
 
  hardcode_into_libs=yes
15547
 
  ;;
15548
 
 
15549
 
# No shared lib support for Linux oldld, aout, or coff.
15550
 
linux*oldld* | linux*aout* | linux*coff*)
15551
 
  dynamic_linker=no
15552
 
  ;;
15553
 
 
15554
 
# This must be Linux ELF.
15555
 
linux*)
15556
 
  version_type=linux
15557
 
  need_lib_prefix=no
15558
 
  need_version=no
15559
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15560
 
  soname_spec='${libname}${release}${shared_ext}$major'
15561
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15562
 
  libsuff=
15563
 
  if test "x$LINUX_64_MODE" = x64; then
15564
 
    # Some platforms are per default 64-bit, so there's no /lib64
15565
 
    if test -d /lib64 -a ! -h /lib64; then
15566
 
      libsuff=64
15567
 
    fi
15568
 
  fi
15569
 
  shlibpath_var=LD_LIBRARY_PATH
15570
 
  shlibpath_overrides_runpath=no
15571
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
15572
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15573
 
  # This implies no fast_install, which is unacceptable.
15574
 
  # Some rework will be needed to allow for fast_install
15575
 
  # before this can be enabled.
15576
 
  hardcode_into_libs=yes
15577
 
 
15578
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15579
 
  # powerpc, because MkLinux only supported shared libraries with the
15580
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15581
 
  # most powerpc-linux boxes support dynamic linking these days and
15582
 
  # people can always --disable-shared, the test was removed, and we
15583
 
  # assume the GNU/Linux dynamic linker is in use.
15584
 
  dynamic_linker='GNU/Linux ld.so'
15585
 
  ;;
15586
 
 
15587
 
netbsd*)
15588
 
  version_type=sunos
15589
 
  need_lib_prefix=no
15590
 
  need_version=no
15591
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15592
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15593
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15594
 
    dynamic_linker='NetBSD (a.out) ld.so'
15595
 
  else
15596
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
15597
 
    soname_spec='${libname}${release}${shared_ext}$major'
15598
 
    dynamic_linker='NetBSD ld.elf_so'
15599
 
  fi
15600
 
  shlibpath_var=LD_LIBRARY_PATH
15601
 
  shlibpath_overrides_runpath=yes
15602
 
  hardcode_into_libs=yes
15603
 
  ;;
15604
 
 
15605
 
newsos6)
15606
 
  version_type=linux
15607
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15608
 
  shlibpath_var=LD_LIBRARY_PATH
15609
 
  shlibpath_overrides_runpath=yes
15610
 
  ;;
15611
 
 
15612
 
nto-qnx*)
15613
 
  version_type=linux
15614
 
  need_lib_prefix=no
15615
 
  need_version=no
15616
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15617
 
  soname_spec='${libname}${release}${shared_ext}$major'
15618
 
  shlibpath_var=LD_LIBRARY_PATH
15619
 
  shlibpath_overrides_runpath=yes
15620
 
  ;;
15621
 
 
15622
 
openbsd*)
15623
 
  version_type=sunos
15624
 
  need_lib_prefix=no
15625
 
  need_version=no
15626
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15627
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15628
 
  shlibpath_var=LD_LIBRARY_PATH
15629
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15630
 
    case $host_os in
15631
 
      openbsd2.[89] | openbsd2.[89].*)
15632
 
        shlibpath_overrides_runpath=no
15633
 
        ;;
15634
 
      *)
15635
 
        shlibpath_overrides_runpath=yes
15636
 
        ;;
15637
 
      esac
15638
 
  else
15639
 
    shlibpath_overrides_runpath=yes
15640
 
  fi
15641
 
  ;;
15642
 
 
15643
 
os2*)
15644
 
  libname_spec='$name'
15645
 
  shrext=".dll"
15646
 
  need_lib_prefix=no
15647
 
  library_names_spec='$libname${shared_ext} $libname.a'
15648
 
  dynamic_linker='OS/2 ld.exe'
15649
 
  shlibpath_var=LIBPATH
15650
 
  ;;
15651
 
 
15652
 
osf3* | osf4* | osf5*)
15653
 
  version_type=osf
15654
 
  need_lib_prefix=no
15655
 
  need_version=no
15656
 
  soname_spec='${libname}${release}${shared_ext}$major'
15657
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15658
 
  shlibpath_var=LD_LIBRARY_PATH
15659
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15660
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15661
 
  ;;
15662
 
 
15663
 
sco3.2v5*)
15664
 
  version_type=osf
15665
 
  soname_spec='${libname}${release}${shared_ext}$major'
15666
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15667
 
  shlibpath_var=LD_LIBRARY_PATH
15668
 
  ;;
15669
 
 
15670
 
solaris*)
15671
 
  version_type=linux
15672
 
  need_lib_prefix=no
15673
 
  need_version=no
15674
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15675
 
  soname_spec='${libname}${release}${shared_ext}$major'
15676
 
  shlibpath_var=LD_LIBRARY_PATH
15677
 
  shlibpath_overrides_runpath=yes
15678
 
  hardcode_into_libs=yes
15679
 
  # ldd complains unless libraries are executable
15680
 
  postinstall_cmds='chmod +x $lib'
15681
 
  ;;
15682
 
 
15683
 
sunos4*)
15684
 
  version_type=sunos
15685
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15686
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15687
 
  shlibpath_var=LD_LIBRARY_PATH
15688
 
  shlibpath_overrides_runpath=yes
15689
 
  if test "$with_gnu_ld" = yes; then
15690
 
    need_lib_prefix=no
15691
 
  fi
15692
 
  need_version=yes
15693
 
  ;;
15694
 
 
15695
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15696
 
  version_type=linux
15697
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15698
 
  soname_spec='${libname}${release}${shared_ext}$major'
15699
 
  shlibpath_var=LD_LIBRARY_PATH
15700
 
  case $host_vendor in
15701
 
    sni)
15702
 
      shlibpath_overrides_runpath=no
15703
 
      need_lib_prefix=no
15704
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15705
 
      runpath_var=LD_RUN_PATH
15706
 
      ;;
15707
 
    siemens)
15708
 
      need_lib_prefix=no
15709
 
      ;;
15710
 
    motorola)
15711
 
      need_lib_prefix=no
15712
 
      need_version=no
15713
 
      shlibpath_overrides_runpath=no
15714
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15715
 
      ;;
15716
 
  esac
15717
 
  ;;
15718
 
 
15719
 
sysv4*MP*)
15720
 
  if test -d /usr/nec ;then
15721
 
    version_type=linux
15722
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15723
 
    soname_spec='$libname${shared_ext}.$major'
15724
 
    shlibpath_var=LD_LIBRARY_PATH
15725
 
  fi
15726
 
  ;;
15727
 
 
15728
 
uts4*)
15729
 
  version_type=linux
15730
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15731
 
  soname_spec='${libname}${release}${shared_ext}$major'
15732
 
  shlibpath_var=LD_LIBRARY_PATH
15733
 
  ;;
15734
 
 
15735
 
*)
15736
 
  dynamic_linker=no
15737
 
  ;;
15738
 
esac
15739
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15740
 
$as_echo "$dynamic_linker" >&6; }
15741
 
test "$dynamic_linker" = no && can_build_shared=no
15742
 
 
15743
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15744
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15745
 
hardcode_action_CXX=
15746
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15747
 
   test -n "$runpath_var CXX" || \
15748
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
15749
 
 
15750
 
  # We can hardcode non-existant directories.
15751
 
  if test "$hardcode_direct_CXX" != no &&
15752
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15753
 
     # have to relink, otherwise we might link with an installed library
15754
 
     # when we should be linking with a yet-to-be-installed one
15755
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15756
 
     test "$hardcode_minus_L_CXX" != no; then
15757
 
    # Linking always hardcodes the temporary library directory.
15758
 
    hardcode_action_CXX=relink
15759
 
  else
15760
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15761
 
    hardcode_action_CXX=immediate
15762
 
  fi
15763
 
else
15764
 
  # We cannot hardcode anything, or else we can only hardcode existing
15765
 
  # directories.
15766
 
  hardcode_action_CXX=unsupported
15767
 
fi
15768
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15769
 
$as_echo "$hardcode_action_CXX" >&6; }
15770
 
 
15771
 
if test "$hardcode_action_CXX" = relink; then
15772
 
  # Fast installation is not supported
15773
 
  enable_fast_install=no
15774
 
elif test "$shlibpath_overrides_runpath" = yes ||
15775
 
     test "$enable_shared" = no; then
15776
 
  # Fast installation is not necessary
15777
 
  enable_fast_install=needless
15778
 
fi
15779
 
 
15780
 
striplib=
15781
 
old_striplib=
15782
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15783
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
15784
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15785
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15786
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15787
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
15788
 
$as_echo "yes" >&6; }
15789
 
else
15790
 
# FIXME - insert some real tests, host_os isn't really good enough
15791
 
  case $host_os in
15792
 
   darwin*)
15793
 
       if test -n "$STRIP" ; then
15794
 
         striplib="$STRIP -x"
15795
 
         { $as_echo "$as_me:$LINENO: result: yes" >&5
15796
 
$as_echo "yes" >&6; }
15797
 
       else
15798
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
15799
 
$as_echo "no" >&6; }
15800
 
fi
15801
 
       ;;
15802
 
   *)
15803
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
15804
 
$as_echo "no" >&6; }
15805
 
    ;;
15806
 
  esac
15807
 
fi
15808
 
 
15809
 
if test "x$enable_dlopen" != xyes; then
15810
 
  enable_dlopen=unknown
15811
 
  enable_dlopen_self=unknown
15812
 
  enable_dlopen_self_static=unknown
15813
 
else
15814
 
  lt_cv_dlopen=no
15815
 
  lt_cv_dlopen_libs=
15816
 
 
15817
 
  case $host_os in
15818
 
  beos*)
15819
 
    lt_cv_dlopen="load_add_on"
15820
 
    lt_cv_dlopen_libs=
15821
 
    lt_cv_dlopen_self=yes
15822
 
    ;;
15823
 
 
15824
 
  mingw* | pw32*)
15825
 
    lt_cv_dlopen="LoadLibrary"
15826
 
    lt_cv_dlopen_libs=
15827
 
   ;;
15828
 
 
15829
 
  cygwin*)
15830
 
    lt_cv_dlopen="dlopen"
15831
 
    lt_cv_dlopen_libs=
15832
 
   ;;
15833
 
 
15834
 
  darwin*)
15835
 
  # if libdl is installed we need to link against it
15836
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15837
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
15838
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15839
 
  $as_echo_n "(cached) " >&6
15840
 
else
15841
 
  ac_check_lib_save_LIBS=$LIBS
15842
 
LIBS="-ldl  $LIBS"
15843
 
cat >conftest.$ac_ext <<_ACEOF
15844
 
/* confdefs.h.  */
15845
 
_ACEOF
15846
 
cat confdefs.h >>conftest.$ac_ext
15847
 
cat >>conftest.$ac_ext <<_ACEOF
15848
 
/* end confdefs.h.  */
15849
 
 
15850
 
/* Override any GCC internal prototype to avoid an error.
15851
 
   Use char because int might match the return type of a GCC
15852
 
   builtin and then its argument prototype would still apply.  */
15853
 
#ifdef __cplusplus
15854
 
extern "C"
15855
 
#endif
15856
 
char dlopen ();
15857
 
int
15858
 
main ()
15859
 
{
15860
 
return dlopen ();
15861
 
  ;
15862
 
  return 0;
15863
 
}
15864
 
_ACEOF
15865
 
rm -f conftest.$ac_objext conftest$ac_exeext
15866
 
if { (ac_try="$ac_link"
15867
 
case "(($ac_try" in
15868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15869
 
  *) ac_try_echo=$ac_try;;
15870
 
esac
15871
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15872
 
$as_echo "$ac_try_echo") >&5
15873
 
  (eval "$ac_link") 2>conftest.er1
15874
 
  ac_status=$?
15875
 
  grep -v '^ *+' conftest.er1 >conftest.err
15876
 
  rm -f conftest.er1
15877
 
  cat conftest.err >&5
15878
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879
 
  (exit $ac_status); } && {
15880
 
         test -z "$ac_cxx_werror_flag" ||
15881
 
         test ! -s conftest.err
15882
 
       } && test -s conftest$ac_exeext && {
15883
 
         test "$cross_compiling" = yes ||
15884
 
         $as_test_x conftest$ac_exeext
15885
 
       }; then
15886
 
  ac_cv_lib_dl_dlopen=yes
15887
 
else
15888
 
  $as_echo "$as_me: failed program was:" >&5
15889
 
sed 's/^/| /' conftest.$ac_ext >&5
15890
 
 
15891
 
        ac_cv_lib_dl_dlopen=no
15892
 
fi
15893
 
 
15894
 
rm -rf conftest.dSYM
15895
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15896
 
      conftest$ac_exeext conftest.$ac_ext
15897
 
LIBS=$ac_check_lib_save_LIBS
15898
 
fi
15899
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15900
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15901
 
if test $ac_cv_lib_dl_dlopen = yes; then
15902
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15903
 
else
15904
 
 
15905
 
    lt_cv_dlopen="dyld"
15906
 
    lt_cv_dlopen_libs=
15907
 
    lt_cv_dlopen_self=yes
15908
 
 
15909
 
fi
15910
 
 
15911
 
   ;;
15912
 
 
15913
 
  *)
15914
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
15915
 
$as_echo_n "checking for shl_load... " >&6; }
15916
 
if test "${ac_cv_func_shl_load+set}" = set; then
15917
 
  $as_echo_n "(cached) " >&6
15918
 
else
15919
 
  cat >conftest.$ac_ext <<_ACEOF
15920
 
/* confdefs.h.  */
15921
 
_ACEOF
15922
 
cat confdefs.h >>conftest.$ac_ext
15923
 
cat >>conftest.$ac_ext <<_ACEOF
15924
 
/* end confdefs.h.  */
15925
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15926
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15927
 
#define shl_load innocuous_shl_load
15928
 
 
15929
 
/* System header to define __stub macros and hopefully few prototypes,
15930
 
    which can conflict with char shl_load (); below.
15931
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15932
 
    <limits.h> exists even on freestanding compilers.  */
15933
 
 
15934
 
#ifdef __STDC__
15935
 
# include <limits.h>
15936
 
#else
15937
 
# include <assert.h>
15938
 
#endif
15939
 
 
15940
 
#undef shl_load
15941
 
 
15942
 
/* Override any GCC internal prototype to avoid an error.
15943
 
   Use char because int might match the return type of a GCC
15944
 
   builtin and then its argument prototype would still apply.  */
15945
 
#ifdef __cplusplus
15946
 
extern "C"
15947
 
#endif
15948
 
char shl_load ();
15949
 
/* The GNU C library defines this for functions which it implements
15950
 
    to always fail with ENOSYS.  Some functions are actually named
15951
 
    something starting with __ and the normal name is an alias.  */
15952
 
#if defined __stub_shl_load || defined __stub___shl_load
15953
 
choke me
15954
 
#endif
15955
 
 
15956
 
int
15957
 
main ()
15958
 
{
15959
 
return shl_load ();
15960
 
  ;
15961
 
  return 0;
15962
 
}
15963
 
_ACEOF
15964
 
rm -f conftest.$ac_objext conftest$ac_exeext
15965
 
if { (ac_try="$ac_link"
15966
 
case "(($ac_try" in
15967
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15968
 
  *) ac_try_echo=$ac_try;;
15969
 
esac
15970
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15971
 
$as_echo "$ac_try_echo") >&5
15972
 
  (eval "$ac_link") 2>conftest.er1
15973
 
  ac_status=$?
15974
 
  grep -v '^ *+' conftest.er1 >conftest.err
15975
 
  rm -f conftest.er1
15976
 
  cat conftest.err >&5
15977
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978
 
  (exit $ac_status); } && {
15979
 
         test -z "$ac_cxx_werror_flag" ||
15980
 
         test ! -s conftest.err
15981
 
       } && test -s conftest$ac_exeext && {
15982
 
         test "$cross_compiling" = yes ||
15983
 
         $as_test_x conftest$ac_exeext
15984
 
       }; then
15985
 
  ac_cv_func_shl_load=yes
15986
 
else
15987
 
  $as_echo "$as_me: failed program was:" >&5
15988
 
sed 's/^/| /' conftest.$ac_ext >&5
15989
 
 
15990
 
        ac_cv_func_shl_load=no
15991
 
fi
15992
 
 
15993
 
rm -rf conftest.dSYM
15994
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15995
 
      conftest$ac_exeext conftest.$ac_ext
15996
 
fi
15997
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15998
 
$as_echo "$ac_cv_func_shl_load" >&6; }
15999
 
if test $ac_cv_func_shl_load = yes; then
16000
 
  lt_cv_dlopen="shl_load"
16001
 
else
16002
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16003
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
16004
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16005
 
  $as_echo_n "(cached) " >&6
16006
 
else
16007
 
  ac_check_lib_save_LIBS=$LIBS
16008
 
LIBS="-ldld  $LIBS"
16009
 
cat >conftest.$ac_ext <<_ACEOF
16010
 
/* confdefs.h.  */
16011
 
_ACEOF
16012
 
cat confdefs.h >>conftest.$ac_ext
16013
 
cat >>conftest.$ac_ext <<_ACEOF
16014
 
/* end confdefs.h.  */
16015
 
 
16016
 
/* Override any GCC internal prototype to avoid an error.
16017
 
   Use char because int might match the return type of a GCC
16018
 
   builtin and then its argument prototype would still apply.  */
16019
 
#ifdef __cplusplus
16020
 
extern "C"
16021
 
#endif
16022
 
char shl_load ();
16023
 
int
16024
 
main ()
16025
 
{
16026
 
return shl_load ();
16027
 
  ;
16028
 
  return 0;
16029
 
}
16030
 
_ACEOF
16031
 
rm -f conftest.$ac_objext conftest$ac_exeext
16032
 
if { (ac_try="$ac_link"
16033
 
case "(($ac_try" in
16034
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16035
 
  *) ac_try_echo=$ac_try;;
16036
 
esac
16037
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16038
 
$as_echo "$ac_try_echo") >&5
16039
 
  (eval "$ac_link") 2>conftest.er1
16040
 
  ac_status=$?
16041
 
  grep -v '^ *+' conftest.er1 >conftest.err
16042
 
  rm -f conftest.er1
16043
 
  cat conftest.err >&5
16044
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045
 
  (exit $ac_status); } && {
16046
 
         test -z "$ac_cxx_werror_flag" ||
16047
 
         test ! -s conftest.err
16048
 
       } && test -s conftest$ac_exeext && {
16049
 
         test "$cross_compiling" = yes ||
16050
 
         $as_test_x conftest$ac_exeext
16051
 
       }; then
16052
 
  ac_cv_lib_dld_shl_load=yes
16053
 
else
16054
 
  $as_echo "$as_me: failed program was:" >&5
16055
 
sed 's/^/| /' conftest.$ac_ext >&5
16056
 
 
16057
 
        ac_cv_lib_dld_shl_load=no
16058
 
fi
16059
 
 
16060
 
rm -rf conftest.dSYM
16061
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16062
 
      conftest$ac_exeext conftest.$ac_ext
16063
 
LIBS=$ac_check_lib_save_LIBS
16064
 
fi
16065
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16066
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
16067
 
if test $ac_cv_lib_dld_shl_load = yes; then
16068
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16069
 
else
16070
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
16071
 
$as_echo_n "checking for dlopen... " >&6; }
16072
 
if test "${ac_cv_func_dlopen+set}" = set; then
16073
 
  $as_echo_n "(cached) " >&6
16074
 
else
16075
 
  cat >conftest.$ac_ext <<_ACEOF
16076
 
/* confdefs.h.  */
16077
 
_ACEOF
16078
 
cat confdefs.h >>conftest.$ac_ext
16079
 
cat >>conftest.$ac_ext <<_ACEOF
16080
 
/* end confdefs.h.  */
16081
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16082
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16083
 
#define dlopen innocuous_dlopen
16084
 
 
16085
 
/* System header to define __stub macros and hopefully few prototypes,
16086
 
    which can conflict with char dlopen (); below.
16087
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16088
 
    <limits.h> exists even on freestanding compilers.  */
16089
 
 
16090
 
#ifdef __STDC__
16091
 
# include <limits.h>
16092
 
#else
16093
 
# include <assert.h>
16094
 
#endif
16095
 
 
16096
 
#undef dlopen
16097
 
 
16098
 
/* Override any GCC internal prototype to avoid an error.
16099
 
   Use char because int might match the return type of a GCC
16100
 
   builtin and then its argument prototype would still apply.  */
16101
 
#ifdef __cplusplus
16102
 
extern "C"
16103
 
#endif
16104
 
char dlopen ();
16105
 
/* The GNU C library defines this for functions which it implements
16106
 
    to always fail with ENOSYS.  Some functions are actually named
16107
 
    something starting with __ and the normal name is an alias.  */
16108
 
#if defined __stub_dlopen || defined __stub___dlopen
16109
 
choke me
16110
 
#endif
16111
 
 
16112
 
int
16113
 
main ()
16114
 
{
16115
 
return dlopen ();
16116
 
  ;
16117
 
  return 0;
16118
 
}
16119
 
_ACEOF
16120
 
rm -f conftest.$ac_objext conftest$ac_exeext
16121
 
if { (ac_try="$ac_link"
16122
 
case "(($ac_try" in
16123
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16124
 
  *) ac_try_echo=$ac_try;;
16125
 
esac
16126
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16127
 
$as_echo "$ac_try_echo") >&5
16128
 
  (eval "$ac_link") 2>conftest.er1
16129
 
  ac_status=$?
16130
 
  grep -v '^ *+' conftest.er1 >conftest.err
16131
 
  rm -f conftest.er1
16132
 
  cat conftest.err >&5
16133
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134
 
  (exit $ac_status); } && {
16135
 
         test -z "$ac_cxx_werror_flag" ||
16136
 
         test ! -s conftest.err
16137
 
       } && test -s conftest$ac_exeext && {
16138
 
         test "$cross_compiling" = yes ||
16139
 
         $as_test_x conftest$ac_exeext
16140
 
       }; then
16141
 
  ac_cv_func_dlopen=yes
16142
 
else
16143
 
  $as_echo "$as_me: failed program was:" >&5
16144
 
sed 's/^/| /' conftest.$ac_ext >&5
16145
 
 
16146
 
        ac_cv_func_dlopen=no
16147
 
fi
16148
 
 
16149
 
rm -rf conftest.dSYM
16150
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16151
 
      conftest$ac_exeext conftest.$ac_ext
16152
 
fi
16153
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16154
 
$as_echo "$ac_cv_func_dlopen" >&6; }
16155
 
if test $ac_cv_func_dlopen = yes; then
16156
 
  lt_cv_dlopen="dlopen"
16157
 
else
16158
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16159
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
16160
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16161
 
  $as_echo_n "(cached) " >&6
16162
 
else
16163
 
  ac_check_lib_save_LIBS=$LIBS
16164
 
LIBS="-ldl  $LIBS"
16165
 
cat >conftest.$ac_ext <<_ACEOF
16166
 
/* confdefs.h.  */
16167
 
_ACEOF
16168
 
cat confdefs.h >>conftest.$ac_ext
16169
 
cat >>conftest.$ac_ext <<_ACEOF
16170
 
/* end confdefs.h.  */
16171
 
 
16172
 
/* Override any GCC internal prototype to avoid an error.
16173
 
   Use char because int might match the return type of a GCC
16174
 
   builtin and then its argument prototype would still apply.  */
16175
 
#ifdef __cplusplus
16176
 
extern "C"
16177
 
#endif
16178
 
char dlopen ();
16179
 
int
16180
 
main ()
16181
 
{
16182
 
return dlopen ();
16183
 
  ;
16184
 
  return 0;
16185
 
}
16186
 
_ACEOF
16187
 
rm -f conftest.$ac_objext conftest$ac_exeext
16188
 
if { (ac_try="$ac_link"
16189
 
case "(($ac_try" in
16190
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16191
 
  *) ac_try_echo=$ac_try;;
16192
 
esac
16193
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16194
 
$as_echo "$ac_try_echo") >&5
16195
 
  (eval "$ac_link") 2>conftest.er1
16196
 
  ac_status=$?
16197
 
  grep -v '^ *+' conftest.er1 >conftest.err
16198
 
  rm -f conftest.er1
16199
 
  cat conftest.err >&5
16200
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201
 
  (exit $ac_status); } && {
16202
 
         test -z "$ac_cxx_werror_flag" ||
16203
 
         test ! -s conftest.err
16204
 
       } && test -s conftest$ac_exeext && {
16205
 
         test "$cross_compiling" = yes ||
16206
 
         $as_test_x conftest$ac_exeext
16207
 
       }; then
16208
 
  ac_cv_lib_dl_dlopen=yes
16209
 
else
16210
 
  $as_echo "$as_me: failed program was:" >&5
16211
 
sed 's/^/| /' conftest.$ac_ext >&5
16212
 
 
16213
 
        ac_cv_lib_dl_dlopen=no
16214
 
fi
16215
 
 
16216
 
rm -rf conftest.dSYM
16217
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16218
 
      conftest$ac_exeext conftest.$ac_ext
16219
 
LIBS=$ac_check_lib_save_LIBS
16220
 
fi
16221
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16222
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16223
 
if test $ac_cv_lib_dl_dlopen = yes; then
16224
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16225
 
else
16226
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
16227
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
16228
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
16229
 
  $as_echo_n "(cached) " >&6
16230
 
else
16231
 
  ac_check_lib_save_LIBS=$LIBS
16232
 
LIBS="-lsvld  $LIBS"
16233
 
cat >conftest.$ac_ext <<_ACEOF
16234
 
/* confdefs.h.  */
16235
 
_ACEOF
16236
 
cat confdefs.h >>conftest.$ac_ext
16237
 
cat >>conftest.$ac_ext <<_ACEOF
16238
 
/* end confdefs.h.  */
16239
 
 
16240
 
/* Override any GCC internal prototype to avoid an error.
16241
 
   Use char because int might match the return type of a GCC
16242
 
   builtin and then its argument prototype would still apply.  */
16243
 
#ifdef __cplusplus
16244
 
extern "C"
16245
 
#endif
16246
 
char dlopen ();
16247
 
int
16248
 
main ()
16249
 
{
16250
 
return dlopen ();
16251
 
  ;
16252
 
  return 0;
16253
 
}
16254
 
_ACEOF
16255
 
rm -f conftest.$ac_objext conftest$ac_exeext
16256
 
if { (ac_try="$ac_link"
16257
 
case "(($ac_try" in
16258
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16259
 
  *) ac_try_echo=$ac_try;;
16260
 
esac
16261
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16262
 
$as_echo "$ac_try_echo") >&5
16263
 
  (eval "$ac_link") 2>conftest.er1
16264
 
  ac_status=$?
16265
 
  grep -v '^ *+' conftest.er1 >conftest.err
16266
 
  rm -f conftest.er1
16267
 
  cat conftest.err >&5
16268
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269
 
  (exit $ac_status); } && {
16270
 
         test -z "$ac_cxx_werror_flag" ||
16271
 
         test ! -s conftest.err
16272
 
       } && test -s conftest$ac_exeext && {
16273
 
         test "$cross_compiling" = yes ||
16274
 
         $as_test_x conftest$ac_exeext
16275
 
       }; then
16276
 
  ac_cv_lib_svld_dlopen=yes
16277
 
else
16278
 
  $as_echo "$as_me: failed program was:" >&5
16279
 
sed 's/^/| /' conftest.$ac_ext >&5
16280
 
 
16281
 
        ac_cv_lib_svld_dlopen=no
16282
 
fi
16283
 
 
16284
 
rm -rf conftest.dSYM
16285
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16286
 
      conftest$ac_exeext conftest.$ac_ext
16287
 
LIBS=$ac_check_lib_save_LIBS
16288
 
fi
16289
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16290
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
16291
 
if test $ac_cv_lib_svld_dlopen = yes; then
16292
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16293
 
else
16294
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16295
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
16296
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16297
 
  $as_echo_n "(cached) " >&6
16298
 
else
16299
 
  ac_check_lib_save_LIBS=$LIBS
16300
 
LIBS="-ldld  $LIBS"
16301
 
cat >conftest.$ac_ext <<_ACEOF
16302
 
/* confdefs.h.  */
16303
 
_ACEOF
16304
 
cat confdefs.h >>conftest.$ac_ext
16305
 
cat >>conftest.$ac_ext <<_ACEOF
16306
 
/* end confdefs.h.  */
16307
 
 
16308
 
/* Override any GCC internal prototype to avoid an error.
16309
 
   Use char because int might match the return type of a GCC
16310
 
   builtin and then its argument prototype would still apply.  */
16311
 
#ifdef __cplusplus
16312
 
extern "C"
16313
 
#endif
16314
 
char dld_link ();
16315
 
int
16316
 
main ()
16317
 
{
16318
 
return dld_link ();
16319
 
  ;
16320
 
  return 0;
16321
 
}
16322
 
_ACEOF
16323
 
rm -f conftest.$ac_objext conftest$ac_exeext
16324
 
if { (ac_try="$ac_link"
16325
 
case "(($ac_try" in
16326
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16327
 
  *) ac_try_echo=$ac_try;;
16328
 
esac
16329
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16330
 
$as_echo "$ac_try_echo") >&5
16331
 
  (eval "$ac_link") 2>conftest.er1
16332
 
  ac_status=$?
16333
 
  grep -v '^ *+' conftest.er1 >conftest.err
16334
 
  rm -f conftest.er1
16335
 
  cat conftest.err >&5
16336
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337
 
  (exit $ac_status); } && {
16338
 
         test -z "$ac_cxx_werror_flag" ||
16339
 
         test ! -s conftest.err
16340
 
       } && test -s conftest$ac_exeext && {
16341
 
         test "$cross_compiling" = yes ||
16342
 
         $as_test_x conftest$ac_exeext
16343
 
       }; then
16344
 
  ac_cv_lib_dld_dld_link=yes
16345
 
else
16346
 
  $as_echo "$as_me: failed program was:" >&5
16347
 
sed 's/^/| /' conftest.$ac_ext >&5
16348
 
 
16349
 
        ac_cv_lib_dld_dld_link=no
16350
 
fi
16351
 
 
16352
 
rm -rf conftest.dSYM
16353
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16354
 
      conftest$ac_exeext conftest.$ac_ext
16355
 
LIBS=$ac_check_lib_save_LIBS
16356
 
fi
16357
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
16358
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
16359
 
if test $ac_cv_lib_dld_dld_link = yes; then
16360
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
16361
 
fi
16362
 
 
16363
 
 
16364
 
fi
16365
 
 
16366
 
 
16367
 
fi
16368
 
 
16369
 
 
16370
 
fi
16371
 
 
16372
 
 
16373
 
fi
16374
 
 
16375
 
 
16376
 
fi
16377
 
 
16378
 
    ;;
16379
 
  esac
16380
 
 
16381
 
  if test "x$lt_cv_dlopen" != xno; then
16382
 
    enable_dlopen=yes
16383
 
  else
16384
 
    enable_dlopen=no
16385
 
  fi
16386
 
 
16387
 
  case $lt_cv_dlopen in
16388
 
  dlopen)
16389
 
    save_CPPFLAGS="$CPPFLAGS"
16390
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16391
 
 
16392
 
    save_LDFLAGS="$LDFLAGS"
16393
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16394
 
 
16395
 
    save_LIBS="$LIBS"
16396
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
16397
 
 
16398
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
16399
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
16400
 
if test "${lt_cv_dlopen_self+set}" = set; then
16401
 
  $as_echo_n "(cached) " >&6
16402
 
else
16403
 
          if test "$cross_compiling" = yes; then :
16404
 
  lt_cv_dlopen_self=cross
16405
 
else
16406
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16407
 
  lt_status=$lt_dlunknown
16408
 
  cat > conftest.$ac_ext <<EOF
16409
 
#line 16409 "configure"
16410
 
#include "confdefs.h"
16411
 
 
16412
 
#if HAVE_DLFCN_H
16413
 
#include <dlfcn.h>
16414
 
#endif
16415
 
 
16416
 
#include <stdio.h>
16417
 
 
16418
 
#ifdef RTLD_GLOBAL
16419
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
16420
 
#else
16421
 
#  ifdef DL_GLOBAL
16422
 
#    define LT_DLGLOBAL         DL_GLOBAL
16423
 
#  else
16424
 
#    define LT_DLGLOBAL         0
16425
 
#  endif
16426
 
#endif
16427
 
 
16428
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16429
 
   find out it does not work in some platform. */
16430
 
#ifndef LT_DLLAZY_OR_NOW
16431
 
#  ifdef RTLD_LAZY
16432
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
16433
 
#  else
16434
 
#    ifdef DL_LAZY
16435
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
16436
 
#    else
16437
 
#      ifdef RTLD_NOW
16438
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
16439
 
#      else
16440
 
#        ifdef DL_NOW
16441
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
16442
 
#        else
16443
 
#          define LT_DLLAZY_OR_NOW      0
16444
 
#        endif
16445
 
#      endif
16446
 
#    endif
16447
 
#  endif
16448
 
#endif
16449
 
 
16450
 
#ifdef __cplusplus
16451
 
extern "C" void exit (int);
16452
 
#endif
16453
 
 
16454
 
void fnord() { int i=42;}
16455
 
int main ()
16456
 
{
16457
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16458
 
  int status = $lt_dlunknown;
16459
 
 
16460
 
  if (self)
16461
 
    {
16462
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16463
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16464
 
      /* dlclose (self); */
16465
 
    }
16466
 
 
16467
 
    exit (status);
16468
 
}
16469
 
EOF
16470
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16471
 
  (eval $ac_link) 2>&5
16472
 
  ac_status=$?
16473
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16475
 
    (./conftest; exit; ) 2>/dev/null
16476
 
    lt_status=$?
16477
 
    case x$lt_status in
16478
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16479
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16480
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
16481
 
    esac
16482
 
  else :
16483
 
    # compilation failed
16484
 
    lt_cv_dlopen_self=no
16485
 
  fi
16486
 
fi
16487
 
rm -fr conftest*
16488
 
 
16489
 
 
16490
 
fi
16491
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
16492
 
$as_echo "$lt_cv_dlopen_self" >&6; }
16493
 
 
16494
 
    if test "x$lt_cv_dlopen_self" = xyes; then
16495
 
      LDFLAGS="$LDFLAGS $link_static_flag"
16496
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
16497
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
16498
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
16499
 
  $as_echo_n "(cached) " >&6
16500
 
else
16501
 
          if test "$cross_compiling" = yes; then :
16502
 
  lt_cv_dlopen_self_static=cross
16503
 
else
16504
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16505
 
  lt_status=$lt_dlunknown
16506
 
  cat > conftest.$ac_ext <<EOF
16507
 
#line 16507 "configure"
16508
 
#include "confdefs.h"
16509
 
 
16510
 
#if HAVE_DLFCN_H
16511
 
#include <dlfcn.h>
16512
 
#endif
16513
 
 
16514
 
#include <stdio.h>
16515
 
 
16516
 
#ifdef RTLD_GLOBAL
16517
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
16518
 
#else
16519
 
#  ifdef DL_GLOBAL
16520
 
#    define LT_DLGLOBAL         DL_GLOBAL
16521
 
#  else
16522
 
#    define LT_DLGLOBAL         0
16523
 
#  endif
16524
 
#endif
16525
 
 
16526
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16527
 
   find out it does not work in some platform. */
16528
 
#ifndef LT_DLLAZY_OR_NOW
16529
 
#  ifdef RTLD_LAZY
16530
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
16531
 
#  else
16532
 
#    ifdef DL_LAZY
16533
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
16534
 
#    else
16535
 
#      ifdef RTLD_NOW
16536
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
16537
 
#      else
16538
 
#        ifdef DL_NOW
16539
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
16540
 
#        else
16541
 
#          define LT_DLLAZY_OR_NOW      0
16542
 
#        endif
16543
 
#      endif
16544
 
#    endif
16545
 
#  endif
16546
 
#endif
16547
 
 
16548
 
#ifdef __cplusplus
16549
 
extern "C" void exit (int);
16550
 
#endif
16551
 
 
16552
 
void fnord() { int i=42;}
16553
 
int main ()
16554
 
{
16555
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16556
 
  int status = $lt_dlunknown;
16557
 
 
16558
 
  if (self)
16559
 
    {
16560
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16561
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16562
 
      /* dlclose (self); */
16563
 
    }
16564
 
 
16565
 
    exit (status);
16566
 
}
16567
 
EOF
16568
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16569
 
  (eval $ac_link) 2>&5
16570
 
  ac_status=$?
16571
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16573
 
    (./conftest; exit; ) 2>/dev/null
16574
 
    lt_status=$?
16575
 
    case x$lt_status in
16576
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16577
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16578
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
16579
 
    esac
16580
 
  else :
16581
 
    # compilation failed
16582
 
    lt_cv_dlopen_self_static=no
16583
 
  fi
16584
 
fi
16585
 
rm -fr conftest*
16586
 
 
16587
 
 
16588
 
fi
16589
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16590
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
16591
 
    fi
16592
 
 
16593
 
    CPPFLAGS="$save_CPPFLAGS"
16594
 
    LDFLAGS="$save_LDFLAGS"
16595
 
    LIBS="$save_LIBS"
16596
 
    ;;
16597
 
  esac
16598
 
 
16599
 
  case $lt_cv_dlopen_self in
16600
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16601
 
  *) enable_dlopen_self=unknown ;;
16602
 
  esac
16603
 
 
16604
 
  case $lt_cv_dlopen_self_static in
16605
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16606
 
  *) enable_dlopen_self_static=unknown ;;
16607
 
  esac
16608
 
fi
16609
 
 
16610
 
 
16611
 
# The else clause should only fire when bootstrapping the
16612
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16613
 
# with your package, and you will get complaints that there are
16614
 
# no rules to generate ltmain.sh.
16615
 
if test -f "$ltmain"; then
16616
 
  # See if we are running on zsh, and set the options which allow our commands through
16617
 
  # without removal of \ escapes.
16618
 
  if test -n "${ZSH_VERSION+set}" ; then
16619
 
    setopt NO_GLOB_SUBST
16620
 
  fi
16621
 
  # Now quote all the things that may contain metacharacters while being
16622
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16623
 
  # variables and quote the copies for generation of the libtool script.
16624
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
16625
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16626
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16627
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16628
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16629
 
    lt_cv_sys_global_symbol_to_c_name_address \
16630
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16631
 
    old_postinstall_cmds old_postuninstall_cmds \
16632
 
    compiler_CXX \
16633
 
    CC_CXX \
16634
 
    LD_CXX \
16635
 
    lt_prog_compiler_wl_CXX \
16636
 
    lt_prog_compiler_pic_CXX \
16637
 
    lt_prog_compiler_static_CXX \
16638
 
    lt_prog_compiler_no_builtin_flag_CXX \
16639
 
    export_dynamic_flag_spec_CXX \
16640
 
    thread_safe_flag_spec_CXX \
16641
 
    whole_archive_flag_spec_CXX \
16642
 
    enable_shared_with_static_runtimes_CXX \
16643
 
    old_archive_cmds_CXX \
16644
 
    old_archive_from_new_cmds_CXX \
16645
 
    predep_objects_CXX \
16646
 
    postdep_objects_CXX \
16647
 
    predeps_CXX \
16648
 
    postdeps_CXX \
16649
 
    compiler_lib_search_path_CXX \
16650
 
    archive_cmds_CXX \
16651
 
    archive_expsym_cmds_CXX \
16652
 
    postinstall_cmds_CXX \
16653
 
    postuninstall_cmds_CXX \
16654
 
    old_archive_from_expsyms_cmds_CXX \
16655
 
    allow_undefined_flag_CXX \
16656
 
    no_undefined_flag_CXX \
16657
 
    export_symbols_cmds_CXX \
16658
 
    hardcode_libdir_flag_spec_CXX \
16659
 
    hardcode_libdir_flag_spec_ld_CXX \
16660
 
    hardcode_libdir_separator_CXX \
16661
 
    hardcode_automatic_CXX \
16662
 
    module_cmds_CXX \
16663
 
    module_expsym_cmds_CXX \
16664
 
    lt_cv_prog_compiler_c_o_CXX \
16665
 
    exclude_expsyms_CXX \
16666
 
    include_expsyms_CXX; do
16667
 
 
16668
 
    case $var in
16669
 
    old_archive_cmds_CXX | \
16670
 
    old_archive_from_new_cmds_CXX | \
16671
 
    archive_cmds_CXX | \
16672
 
    archive_expsym_cmds_CXX | \
16673
 
    module_cmds_CXX | \
16674
 
    module_expsym_cmds_CXX | \
16675
 
    old_archive_from_expsyms_cmds_CXX | \
16676
 
    export_symbols_cmds_CXX | \
16677
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16678
 
    postinstall_cmds | postuninstall_cmds | \
16679
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16680
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16681
 
      # Double-quote double-evaled strings.
16682
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16683
 
      ;;
16684
 
    *)
16685
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16686
 
      ;;
16687
 
    esac
16688
 
  done
16689
 
 
16690
 
  case $lt_echo in
16691
 
  *'\$0 --fallback-echo"')
16692
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16693
 
    ;;
16694
 
  esac
16695
 
 
16696
 
cfgfile="$ofile"
16697
 
 
16698
 
  cat <<__EOF__ >> "$cfgfile"
16699
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16700
 
 
16701
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16702
 
 
16703
 
# Shell to use when invoking shell scripts.
16704
 
SHELL=$lt_SHELL
16705
 
 
16706
 
# Whether or not to build shared libraries.
16707
 
build_libtool_libs=$enable_shared
16708
 
 
16709
 
# Whether or not to build static libraries.
16710
 
build_old_libs=$enable_static
16711
 
 
16712
 
# Whether or not to add -lc for building shared libraries.
16713
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
16714
 
 
16715
 
# Whether or not to disallow shared libs when runtime libs are static
16716
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16717
 
 
16718
 
# Whether or not to optimize for fast installation.
16719
 
fast_install=$enable_fast_install
16720
 
 
16721
 
# The host system.
16722
 
host_alias=$host_alias
16723
 
host=$host
16724
 
 
16725
 
# An echo program that does not interpret backslashes.
16726
 
echo=$lt_echo
16727
 
 
16728
 
# The archiver.
16729
 
AR=$lt_AR
16730
 
AR_FLAGS=$lt_AR_FLAGS
16731
 
 
16732
 
# A C compiler.
16733
 
LTCC=$lt_LTCC
16734
 
 
16735
 
# A language-specific compiler.
16736
 
CC=$lt_compiler_CXX
16737
 
 
16738
 
# Is the compiler the GNU C compiler?
16739
 
with_gcc=$GCC_CXX
16740
 
 
16741
 
# An ERE matcher.
16742
 
EGREP=$lt_EGREP
16743
 
 
16744
 
# The linker used to build libraries.
16745
 
LD=$lt_LD_CXX
16746
 
 
16747
 
# Whether we need hard or soft links.
16748
 
LN_S=$lt_LN_S
16749
 
 
16750
 
# A BSD-compatible nm program.
16751
 
NM=$lt_NM
16752
 
 
16753
 
# A symbol stripping program
16754
 
STRIP=$STRIP
16755
 
 
16756
 
# Used to examine libraries when file_magic_cmd begins "file"
16757
 
MAGIC_CMD=$MAGIC_CMD
16758
 
 
16759
 
# Used on cygwin: DLL creation program.
16760
 
DLLTOOL="$DLLTOOL"
16761
 
 
16762
 
# Used on cygwin: object dumper.
16763
 
OBJDUMP="$OBJDUMP"
16764
 
 
16765
 
# Used on cygwin: assembler.
16766
 
AS="$AS"
16767
 
 
16768
 
# The name of the directory that contains temporary libtool files.
16769
 
objdir=$objdir
16770
 
 
16771
 
# How to create reloadable object files.
16772
 
reload_flag=$lt_reload_flag
16773
 
reload_cmds=$lt_reload_cmds
16774
 
 
16775
 
# How to pass a linker flag through the compiler.
16776
 
wl=$lt_lt_prog_compiler_wl_CXX
16777
 
 
16778
 
# Object file suffix (normally "o").
16779
 
objext="$ac_objext"
16780
 
 
16781
 
# Old archive suffix (normally "a").
16782
 
libext="$libext"
16783
 
 
16784
 
# Shared library suffix (normally ".so").
16785
 
shrext='$shrext'
16786
 
 
16787
 
# Executable file suffix (normally "").
16788
 
exeext="$exeext"
16789
 
 
16790
 
# Additional compiler flags for building library objects.
16791
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
16792
 
pic_mode=$pic_mode
16793
 
 
16794
 
# What is the maximum length of a command?
16795
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16796
 
 
16797
 
# Does compiler simultaneously support -c and -o options?
16798
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16799
 
 
16800
 
# Must we lock files when doing compilation ?
16801
 
need_locks=$lt_need_locks
16802
 
 
16803
 
# Do we need the lib prefix for modules?
16804
 
need_lib_prefix=$need_lib_prefix
16805
 
 
16806
 
# Do we need a version for libraries?
16807
 
need_version=$need_version
16808
 
 
16809
 
# Whether dlopen is supported.
16810
 
dlopen_support=$enable_dlopen
16811
 
 
16812
 
# Whether dlopen of programs is supported.
16813
 
dlopen_self=$enable_dlopen_self
16814
 
 
16815
 
# Whether dlopen of statically linked programs is supported.
16816
 
dlopen_self_static=$enable_dlopen_self_static
16817
 
 
16818
 
# Compiler flag to prevent dynamic linking.
16819
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
16820
 
 
16821
 
# Compiler flag to turn off builtin functions.
16822
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16823
 
 
16824
 
# Compiler flag to allow reflexive dlopens.
16825
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16826
 
 
16827
 
# Compiler flag to generate shared objects directly from archives.
16828
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16829
 
 
16830
 
# Compiler flag to generate thread-safe objects.
16831
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16832
 
 
16833
 
# Library versioning type.
16834
 
version_type=$version_type
16835
 
 
16836
 
# Format of library name prefix.
16837
 
libname_spec=$lt_libname_spec
16838
 
 
16839
 
# List of archive names.  First name is the real one, the rest are links.
16840
 
# The last name is the one that the linker finds with -lNAME.
16841
 
library_names_spec=$lt_library_names_spec
16842
 
 
16843
 
# The coded name of the library, if different from the real name.
16844
 
soname_spec=$lt_soname_spec
16845
 
 
16846
 
# Commands used to build and install an old-style archive.
16847
 
RANLIB=$lt_RANLIB
16848
 
old_archive_cmds=$lt_old_archive_cmds_CXX
16849
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16850
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16851
 
 
16852
 
# Create an old-style archive from a shared archive.
16853
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16854
 
 
16855
 
# Create a temporary old-style archive to link instead of a shared archive.
16856
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16857
 
 
16858
 
# Commands used to build and install a shared archive.
16859
 
archive_cmds=$lt_archive_cmds_CXX
16860
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16861
 
postinstall_cmds=$lt_postinstall_cmds
16862
 
postuninstall_cmds=$lt_postuninstall_cmds
16863
 
 
16864
 
# Commands used to build a loadable module (assumed same as above if empty)
16865
 
module_cmds=$lt_module_cmds_CXX
16866
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
16867
 
 
16868
 
# Commands to strip libraries.
16869
 
old_striplib=$lt_old_striplib
16870
 
striplib=$lt_striplib
16871
 
 
16872
 
# Dependencies to place before the objects being linked to create a
16873
 
# shared library.
16874
 
predep_objects=$lt_predep_objects_CXX
16875
 
 
16876
 
# Dependencies to place after the objects being linked to create a
16877
 
# shared library.
16878
 
postdep_objects=$lt_postdep_objects_CXX
16879
 
 
16880
 
# Dependencies to place before the objects being linked to create a
16881
 
# shared library.
16882
 
predeps=$lt_predeps_CXX
16883
 
 
16884
 
# Dependencies to place after the objects being linked to create a
16885
 
# shared library.
16886
 
postdeps=$lt_postdeps_CXX
16887
 
 
16888
 
# The library search path used internally by the compiler when linking
16889
 
# a shared library.
16890
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16891
 
 
16892
 
# Method to check whether dependent libraries are shared objects.
16893
 
deplibs_check_method=$lt_deplibs_check_method
16894
 
 
16895
 
# Command to use when deplibs_check_method == file_magic.
16896
 
file_magic_cmd=$lt_file_magic_cmd
16897
 
 
16898
 
# Flag that allows shared libraries with undefined symbols to be built.
16899
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
16900
 
 
16901
 
# Flag that forces no undefined symbols.
16902
 
no_undefined_flag=$lt_no_undefined_flag_CXX
16903
 
 
16904
 
# Commands used to finish a libtool library installation in a directory.
16905
 
finish_cmds=$lt_finish_cmds
16906
 
 
16907
 
# Same as above, but a single script fragment to be evaled but not shown.
16908
 
finish_eval=$lt_finish_eval
16909
 
 
16910
 
# Take the output of nm and produce a listing of raw symbols and C names.
16911
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16912
 
 
16913
 
# Transform the output of nm in a proper C declaration
16914
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16915
 
 
16916
 
# Transform the output of nm in a C name address pair
16917
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16918
 
 
16919
 
# This is the shared library runtime path variable.
16920
 
runpath_var=$runpath_var
16921
 
 
16922
 
# This is the shared library path variable.
16923
 
shlibpath_var=$shlibpath_var
16924
 
 
16925
 
# Is shlibpath searched before the hard-coded library search path?
16926
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16927
 
 
16928
 
# How to hardcode a shared library path into an executable.
16929
 
hardcode_action=$hardcode_action_CXX
16930
 
 
16931
 
# Whether we should hardcode library paths into libraries.
16932
 
hardcode_into_libs=$hardcode_into_libs
16933
 
 
16934
 
# Flag to hardcode \$libdir into a binary during linking.
16935
 
# This must work even if \$libdir does not exist.
16936
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16937
 
 
16938
 
# If ld is used when linking, flag to hardcode \$libdir into
16939
 
# a binary during linking. This must work even if \$libdir does
16940
 
# not exist.
16941
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16942
 
 
16943
 
# Whether we need a single -rpath flag with a separated argument.
16944
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16945
 
 
16946
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16947
 
# resulting binary.
16948
 
hardcode_direct=$hardcode_direct_CXX
16949
 
 
16950
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16951
 
# resulting binary.
16952
 
hardcode_minus_L=$hardcode_minus_L_CXX
16953
 
 
16954
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16955
 
# the resulting binary.
16956
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16957
 
 
16958
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16959
 
# and all subsequent libraries and executables linked against it.
16960
 
hardcode_automatic=$hardcode_automatic_CXX
16961
 
 
16962
 
# Variables whose values should be saved in libtool wrapper scripts and
16963
 
# restored at relink time.
16964
 
variables_saved_for_relink="$variables_saved_for_relink"
16965
 
 
16966
 
# Whether libtool must link a program against all its dependency libraries.
16967
 
link_all_deplibs=$link_all_deplibs_CXX
16968
 
 
16969
 
# Compile-time system search path for libraries
16970
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16971
 
 
16972
 
# Run-time system search path for libraries
16973
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16974
 
 
16975
 
# Fix the shell variable \$srcfile for the compiler.
16976
 
fix_srcfile_path="$fix_srcfile_path_CXX"
16977
 
 
16978
 
# Set to yes if exported symbols are required.
16979
 
always_export_symbols=$always_export_symbols_CXX
16980
 
 
16981
 
# The commands to list exported symbols.
16982
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
16983
 
 
16984
 
# The commands to extract the exported symbol list from a shared archive.
16985
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16986
 
 
16987
 
# Symbols that should not be listed in the preloaded symbols.
16988
 
exclude_expsyms=$lt_exclude_expsyms_CXX
16989
 
 
16990
 
# Symbols that must always be exported.
16991
 
include_expsyms=$lt_include_expsyms_CXX
16992
 
 
16993
 
# ### END LIBTOOL TAG CONFIG: $tagname
16994
 
 
16995
 
__EOF__
16996
 
 
16997
 
 
16998
 
else
16999
 
  # If there is no Makefile yet, we rely on a make rule to execute
17000
 
  # `config.status --recheck' to rerun these tests and create the
17001
 
  # libtool script then.
17002
 
  test -f Makefile && make "$ltmain"
17003
 
fi
17004
 
 
17005
 
 
17006
 
ac_ext=c
17007
 
ac_cpp='$CPP $CPPFLAGS'
17008
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17009
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17010
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17011
 
 
17012
 
CC=$lt_save_CC
17013
 
LDCXX=$LD
17014
 
LD=$lt_save_LD
17015
 
GCC=$lt_save_GCC
17016
 
with_gnu_ldcxx=$with_gnu_ld
17017
 
with_gnu_ld=$lt_save_with_gnu_ld
17018
 
lt_cv_path_LDCXX=$lt_cv_path_LD
17019
 
lt_cv_path_LD=$lt_save_path_LD
17020
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17021
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17022
 
 
17023
 
        else
17024
 
          tagname=""
17025
 
        fi
17026
 
        ;;
17027
 
 
17028
 
      F77)
17029
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
17030
 
 
17031
 
ac_ext=f
17032
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
17033
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17034
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
17035
 
 
17036
 
 
17037
 
archive_cmds_need_lc_F77=no
17038
 
allow_undefined_flag_F77=
17039
 
always_export_symbols_F77=no
17040
 
archive_expsym_cmds_F77=
17041
 
export_dynamic_flag_spec_F77=
17042
 
hardcode_direct_F77=no
17043
 
hardcode_libdir_flag_spec_F77=
17044
 
hardcode_libdir_flag_spec_ld_F77=
17045
 
hardcode_libdir_separator_F77=
17046
 
hardcode_minus_L_F77=no
17047
 
hardcode_automatic_F77=no
17048
 
module_cmds_F77=
17049
 
module_expsym_cmds_F77=
17050
 
link_all_deplibs_F77=unknown
17051
 
old_archive_cmds_F77=$old_archive_cmds
17052
 
no_undefined_flag_F77=
17053
 
whole_archive_flag_spec_F77=
17054
 
enable_shared_with_static_runtimes_F77=no
17055
 
 
17056
 
# Source file extension for f77 test sources.
17057
 
ac_ext=f
17058
 
 
17059
 
# Object file extension for compiled f77 test sources.
17060
 
objext=o
17061
 
objext_F77=$objext
17062
 
 
17063
 
# Code to be used in simple compile tests
17064
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
17065
 
 
17066
 
# Code to be used in simple link tests
17067
 
lt_simple_link_test_code="      program t\n      end\n"
17068
 
 
17069
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17070
 
 
17071
 
# If no C compiler was specified, use CC.
17072
 
LTCC=${LTCC-"$CC"}
17073
 
 
17074
 
# Allow CC to be a program name with arguments.
17075
 
compiler=$CC
17076
 
 
17077
 
 
17078
 
# Allow CC to be a program name with arguments.
17079
 
lt_save_CC="$CC"
17080
 
CC=${F77-"f77"}
17081
 
compiler=$CC
17082
 
compiler_F77=$CC
17083
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
17084
 
 
17085
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17086
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
17087
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
17088
 
$as_echo "$can_build_shared" >&6; }
17089
 
 
17090
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17091
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
17092
 
test "$can_build_shared" = "no" && enable_shared=no
17093
 
 
17094
 
# On AIX, shared libraries and static libraries use the same namespace, and
17095
 
# are all built from PIC.
17096
 
case "$host_os" in
17097
 
aix3*)
17098
 
  test "$enable_shared" = yes && enable_static=no
17099
 
  if test -n "$RANLIB"; then
17100
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
17101
 
    postinstall_cmds='$RANLIB $lib'
17102
 
  fi
17103
 
  ;;
17104
 
aix4*)
17105
 
  test "$enable_shared" = yes && enable_static=no
17106
 
  ;;
17107
 
esac
17108
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
17109
 
$as_echo "$enable_shared" >&6; }
17110
 
 
17111
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17112
 
$as_echo_n "checking whether to build static libraries... " >&6; }
17113
 
# Make sure either enable_shared or enable_static is yes.
17114
 
test "$enable_shared" = yes || enable_static=yes
17115
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
17116
 
$as_echo "$enable_static" >&6; }
17117
 
 
17118
 
test "$ld_shlibs_F77" = no && can_build_shared=no
17119
 
 
17120
 
GCC_F77="$G77"
17121
 
LD_F77="$LD"
17122
 
 
17123
 
lt_prog_compiler_wl_F77=
17124
 
lt_prog_compiler_pic_F77=
17125
 
lt_prog_compiler_static_F77=
17126
 
 
17127
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17128
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17129
 
 
17130
 
  if test "$GCC" = yes; then
17131
 
    lt_prog_compiler_wl_F77='-Wl,'
17132
 
    lt_prog_compiler_static_F77='-static'
17133
 
 
17134
 
    case $host_os in
17135
 
      aix*)
17136
 
      # All AIX code is PIC.
17137
 
      if test "$host_cpu" = ia64; then
17138
 
        # AIX 5 now supports IA64 processor
17139
 
        lt_prog_compiler_static_F77='-Bstatic'
17140
 
      fi
17141
 
      ;;
17142
 
 
17143
 
    amigaos*)
17144
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17145
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17146
 
      # like `-m68040'.
17147
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
17148
 
      ;;
17149
 
 
17150
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17151
 
      # PIC is the default for these OSes.
17152
 
      ;;
17153
 
 
17154
 
    mingw* | pw32* | os2*)
17155
 
      # This hack is so that the source file can tell whether it is being
17156
 
      # built for inclusion in a dll (and should export symbols for example).
17157
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
17158
 
      ;;
17159
 
 
17160
 
    darwin* | rhapsody*)
17161
 
      # PIC is the default on this platform
17162
 
      # Common symbols not allowed in MH_DYLIB files
17163
 
      lt_prog_compiler_pic_F77='-fno-common'
17164
 
      ;;
17165
 
 
17166
 
    msdosdjgpp*)
17167
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17168
 
      # on systems that don't support them.
17169
 
      lt_prog_compiler_can_build_shared_F77=no
17170
 
      enable_shared=no
17171
 
      ;;
17172
 
 
17173
 
    sysv4*MP*)
17174
 
      if test -d /usr/nec; then
17175
 
        lt_prog_compiler_pic_F77=-Kconform_pic
17176
 
      fi
17177
 
      ;;
17178
 
 
17179
 
    hpux*)
17180
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17181
 
      # not for PA HP-UX.
17182
 
      case "$host_cpu" in
17183
 
      hppa*64*|ia64*)
17184
 
        # +Z the default
17185
 
        ;;
17186
 
      *)
17187
 
        lt_prog_compiler_pic_F77='-fPIC'
17188
 
        ;;
17189
 
      esac
17190
 
      ;;
17191
 
 
17192
 
    *)
17193
 
      lt_prog_compiler_pic_F77='-fPIC'
17194
 
      ;;
17195
 
    esac
17196
 
  else
17197
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17198
 
    case $host_os in
17199
 
    aix*)
17200
 
      lt_prog_compiler_wl_F77='-Wl,'
17201
 
      if test "$host_cpu" = ia64; then
17202
 
        # AIX 5 now supports IA64 processor
17203
 
        lt_prog_compiler_static_F77='-Bstatic'
17204
 
      else
17205
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
17206
 
      fi
17207
 
      ;;
17208
 
 
17209
 
    mingw* | pw32* | os2*)
17210
 
      # This hack is so that the source file can tell whether it is being
17211
 
      # built for inclusion in a dll (and should export symbols for example).
17212
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
17213
 
      ;;
17214
 
 
17215
 
    hpux9* | hpux10* | hpux11*)
17216
 
      lt_prog_compiler_wl_F77='-Wl,'
17217
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17218
 
      # not for PA HP-UX.
17219
 
      case "$host_cpu" in
17220
 
      hppa*64*|ia64*)
17221
 
        # +Z the default
17222
 
        ;;
17223
 
      *)
17224
 
        lt_prog_compiler_pic_F77='+Z'
17225
 
        ;;
17226
 
      esac
17227
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17228
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
17229
 
      ;;
17230
 
 
17231
 
    irix5* | irix6* | nonstopux*)
17232
 
      lt_prog_compiler_wl_F77='-Wl,'
17233
 
      # PIC (with -KPIC) is the default.
17234
 
      lt_prog_compiler_static_F77='-non_shared'
17235
 
      ;;
17236
 
 
17237
 
    newsos6)
17238
 
      lt_prog_compiler_pic_F77='-KPIC'
17239
 
      lt_prog_compiler_static_F77='-Bstatic'
17240
 
      ;;
17241
 
 
17242
 
    linux*)
17243
 
      case $CC in
17244
 
      icc* | ecc*)
17245
 
        lt_prog_compiler_wl_F77='-Wl,'
17246
 
        lt_prog_compiler_pic_F77='-KPIC'
17247
 
        lt_prog_compiler_static_F77='-static'
17248
 
        ;;
17249
 
      ccc*)
17250
 
        lt_prog_compiler_wl_F77='-Wl,'
17251
 
        # All Alpha code is PIC.
17252
 
        lt_prog_compiler_static_F77='-non_shared'
17253
 
        ;;
17254
 
      esac
17255
 
      ;;
17256
 
 
17257
 
    osf3* | osf4* | osf5*)
17258
 
      lt_prog_compiler_wl_F77='-Wl,'
17259
 
      # All OSF/1 code is PIC.
17260
 
      lt_prog_compiler_static_F77='-non_shared'
17261
 
      ;;
17262
 
 
17263
 
    sco3.2v5*)
17264
 
      lt_prog_compiler_pic_F77='-Kpic'
17265
 
      lt_prog_compiler_static_F77='-dn'
17266
 
      ;;
17267
 
 
17268
 
    solaris*)
17269
 
      lt_prog_compiler_wl_F77='-Wl,'
17270
 
      lt_prog_compiler_pic_F77='-KPIC'
17271
 
      lt_prog_compiler_static_F77='-Bstatic'
17272
 
      ;;
17273
 
 
17274
 
    sunos4*)
17275
 
      lt_prog_compiler_wl_F77='-Qoption ld '
17276
 
      lt_prog_compiler_pic_F77='-PIC'
17277
 
      lt_prog_compiler_static_F77='-Bstatic'
17278
 
      ;;
17279
 
 
17280
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17281
 
      lt_prog_compiler_wl_F77='-Wl,'
17282
 
      lt_prog_compiler_pic_F77='-KPIC'
17283
 
      lt_prog_compiler_static_F77='-Bstatic'
17284
 
      ;;
17285
 
 
17286
 
    sysv4*MP*)
17287
 
      if test -d /usr/nec ;then
17288
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
17289
 
        lt_prog_compiler_static_F77='-Bstatic'
17290
 
      fi
17291
 
      ;;
17292
 
 
17293
 
    uts4*)
17294
 
      lt_prog_compiler_pic_F77='-pic'
17295
 
      lt_prog_compiler_static_F77='-Bstatic'
17296
 
      ;;
17297
 
 
17298
 
    *)
17299
 
      lt_prog_compiler_can_build_shared_F77=no
17300
 
      ;;
17301
 
    esac
17302
 
  fi
17303
 
 
17304
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
17305
 
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
17306
 
 
17307
 
#
17308
 
# Check to make sure the PIC flag actually works.
17309
 
#
17310
 
if test -n "$lt_prog_compiler_pic_F77"; then
17311
 
 
17312
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17313
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
17314
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
17315
 
  $as_echo_n "(cached) " >&6
17316
 
else
17317
 
  lt_prog_compiler_pic_works_F77=no
17318
 
  ac_outfile=conftest.$ac_objext
17319
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17320
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
17321
 
   # Insert the option either (1) after the last *FLAGS variable, or
17322
 
   # (2) before a word containing "conftest.", or (3) at the end.
17323
 
   # Note that $ac_compile itself does not contain backslashes and begins
17324
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17325
 
   # The option is referenced via a variable to avoid confusing sed.
17326
 
   lt_compile=`echo "$ac_compile" | $SED \
17327
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17328
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17329
 
   -e 's:$: $lt_compiler_flag:'`
17330
 
   (eval echo "\"\$as_me:17330: $lt_compile\"" >&5)
17331
 
   (eval "$lt_compile" 2>conftest.err)
17332
 
   ac_status=$?
17333
 
   cat conftest.err >&5
17334
 
   echo "$as_me:17334: \$? = $ac_status" >&5
17335
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17336
 
     # The compiler can only warn and ignore the option if not recognized
17337
 
     # So say no if there are warnings
17338
 
     if test ! -s conftest.err; then
17339
 
       lt_prog_compiler_pic_works_F77=yes
17340
 
     fi
17341
 
   fi
17342
 
   $rm conftest*
17343
 
 
17344
 
fi
17345
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
17346
 
$as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
17347
 
 
17348
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
17349
 
    case $lt_prog_compiler_pic_F77 in
17350
 
     "" | " "*) ;;
17351
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
17352
 
     esac
17353
 
else
17354
 
    lt_prog_compiler_pic_F77=
17355
 
     lt_prog_compiler_can_build_shared_F77=no
17356
 
fi
17357
 
 
17358
 
fi
17359
 
case "$host_os" in
17360
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17361
 
  *djgpp*)
17362
 
    lt_prog_compiler_pic_F77=
17363
 
    ;;
17364
 
  *)
17365
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
17366
 
    ;;
17367
 
esac
17368
 
 
17369
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17370
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17371
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17372
 
  $as_echo_n "(cached) " >&6
17373
 
else
17374
 
  lt_cv_prog_compiler_c_o_F77=no
17375
 
   $rm -r conftest 2>/dev/null
17376
 
   mkdir conftest
17377
 
   cd conftest
17378
 
   mkdir out
17379
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17380
 
 
17381
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
17382
 
   # that will create temporary files in the current directory regardless of
17383
 
   # the output directory.  Thus, making CWD read-only will cause this test
17384
 
   # to fail, enabling locking or at least warning the user not to do parallel
17385
 
   # builds.
17386
 
   chmod -w .
17387
 
 
17388
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17389
 
   # Insert the option either (1) after the last *FLAGS variable, or
17390
 
   # (2) before a word containing "conftest.", or (3) at the end.
17391
 
   # Note that $ac_compile itself does not contain backslashes and begins
17392
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17393
 
   lt_compile=`echo "$ac_compile" | $SED \
17394
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17395
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17396
 
   -e 's:$: $lt_compiler_flag:'`
17397
 
   (eval echo "\"\$as_me:17397: $lt_compile\"" >&5)
17398
 
   (eval "$lt_compile" 2>out/conftest.err)
17399
 
   ac_status=$?
17400
 
   cat out/conftest.err >&5
17401
 
   echo "$as_me:17401: \$? = $ac_status" >&5
17402
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17403
 
   then
17404
 
     # The compiler can only warn and ignore the option if not recognized
17405
 
     # So say no if there are warnings
17406
 
     if test ! -s out/conftest.err; then
17407
 
       lt_cv_prog_compiler_c_o_F77=yes
17408
 
     fi
17409
 
   fi
17410
 
   chmod u+w .
17411
 
   $rm conftest* out/*
17412
 
   rmdir out
17413
 
   cd ..
17414
 
   rmdir conftest
17415
 
   $rm conftest*
17416
 
 
17417
 
fi
17418
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17419
 
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
17420
 
 
17421
 
 
17422
 
hard_links="nottested"
17423
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
17424
 
  # do not overwrite the value of need_locks provided by the user
17425
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17426
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
17427
 
  hard_links=yes
17428
 
  $rm conftest*
17429
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17430
 
  touch conftest.a
17431
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17432
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17433
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17434
 
$as_echo "$hard_links" >&6; }
17435
 
  if test "$hard_links" = no; then
17436
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17437
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17438
 
    need_locks=warn
17439
 
  fi
17440
 
else
17441
 
  need_locks=no
17442
 
fi
17443
 
 
17444
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17445
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17446
 
 
17447
 
  runpath_var=
17448
 
  allow_undefined_flag_F77=
17449
 
  enable_shared_with_static_runtimes_F77=no
17450
 
  archive_cmds_F77=
17451
 
  archive_expsym_cmds_F77=
17452
 
  old_archive_From_new_cmds_F77=
17453
 
  old_archive_from_expsyms_cmds_F77=
17454
 
  export_dynamic_flag_spec_F77=
17455
 
  whole_archive_flag_spec_F77=
17456
 
  thread_safe_flag_spec_F77=
17457
 
  hardcode_libdir_flag_spec_F77=
17458
 
  hardcode_libdir_flag_spec_ld_F77=
17459
 
  hardcode_libdir_separator_F77=
17460
 
  hardcode_direct_F77=no
17461
 
  hardcode_minus_L_F77=no
17462
 
  hardcode_shlibpath_var_F77=unsupported
17463
 
  link_all_deplibs_F77=unknown
17464
 
  hardcode_automatic_F77=no
17465
 
  module_cmds_F77=
17466
 
  module_expsym_cmds_F77=
17467
 
  always_export_symbols_F77=no
17468
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17469
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17470
 
  # included in the symbol list
17471
 
  include_expsyms_F77=
17472
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17473
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17474
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17475
 
  # as well as any symbol that contains `d'.
17476
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
17477
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17478
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17479
 
  # the symbol is explicitly referenced.  Since portable code cannot
17480
 
  # rely on this symbol name, it's probably fine to never include it in
17481
 
  # preloaded symbol tables.
17482
 
  extract_expsyms_cmds=
17483
 
 
17484
 
  case $host_os in
17485
 
  cygwin* | mingw* | pw32*)
17486
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17487
 
    # When not using gcc, we currently assume that we are using
17488
 
    # Microsoft Visual C++.
17489
 
    if test "$GCC" != yes; then
17490
 
      with_gnu_ld=no
17491
 
    fi
17492
 
    ;;
17493
 
  openbsd*)
17494
 
    with_gnu_ld=no
17495
 
    ;;
17496
 
  esac
17497
 
 
17498
 
  ld_shlibs_F77=yes
17499
 
  if test "$with_gnu_ld" = yes; then
17500
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17501
 
    wlarc='${wl}'
17502
 
 
17503
 
    # See if GNU ld supports shared libraries.
17504
 
    case $host_os in
17505
 
    aix3* | aix4* | aix5*)
17506
 
      # On AIX/PPC, the GNU linker is very broken
17507
 
      if test "$host_cpu" != ia64; then
17508
 
        ld_shlibs_F77=no
17509
 
        cat <<EOF 1>&2
17510
 
 
17511
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17512
 
*** to be unable to reliably create shared libraries on AIX.
17513
 
*** Therefore, libtool is disabling shared libraries support.  If you
17514
 
*** really care for shared libraries, you may want to modify your PATH
17515
 
*** so that a non-GNU linker is found, and then restart.
17516
 
 
17517
 
EOF
17518
 
      fi
17519
 
      ;;
17520
 
 
17521
 
    amigaos*)
17522
 
      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)'
17523
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17524
 
      hardcode_minus_L_F77=yes
17525
 
 
17526
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17527
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17528
 
      # to version 4, is to share data among multiple programs linked
17529
 
      # with the same dynamic library.  Since this doesn't match the
17530
 
      # behavior of shared libraries on other platforms, we can't use
17531
 
      # them.
17532
 
      ld_shlibs_F77=no
17533
 
      ;;
17534
 
 
17535
 
    beos*)
17536
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17537
 
        allow_undefined_flag_F77=unsupported
17538
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17539
 
        # support --undefined.  This deserves some investigation.  FIXME
17540
 
        archive_cmds_F77='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17541
 
      else
17542
 
        ld_shlibs_F77=no
17543
 
      fi
17544
 
      ;;
17545
 
 
17546
 
    cygwin* | mingw* | pw32*)
17547
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17548
 
      # as there is no search path for DLLs.
17549
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17550
 
      allow_undefined_flag_F77=no
17551
 
      always_export_symbols_F77=no
17552
 
      enable_shared_with_static_runtimes_F77=yes
17553
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17554
 
 
17555
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17556
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17557
 
        # If the export-symbols file already is a .def file (1st line
17558
 
        # is EXPORTS), use it as is; otherwise, prepend...
17559
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17560
 
          cp $export_symbols $output_objdir/$soname.def;
17561
 
        else
17562
 
          echo EXPORTS > $output_objdir/$soname.def;
17563
 
          cat $export_symbols >> $output_objdir/$soname.def;
17564
 
        fi~
17565
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
17566
 
      else
17567
 
        ld_shlibs=no
17568
 
      fi
17569
 
      ;;
17570
 
 
17571
 
    netbsd*)
17572
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17573
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17574
 
        wlarc=
17575
 
      else
17576
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17577
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17578
 
      fi
17579
 
      ;;
17580
 
 
17581
 
    solaris* | sysv5*)
17582
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17583
 
        ld_shlibs_F77=no
17584
 
        cat <<EOF 1>&2
17585
 
 
17586
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17587
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17588
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17589
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17590
 
*** your PATH or compiler configuration so that the native linker is
17591
 
*** used, and then restart.
17592
 
 
17593
 
EOF
17594
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17595
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17596
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17597
 
      else
17598
 
        ld_shlibs_F77=no
17599
 
      fi
17600
 
      ;;
17601
 
 
17602
 
    sunos4*)
17603
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17604
 
      wlarc=
17605
 
      hardcode_direct_F77=yes
17606
 
      hardcode_shlibpath_var_F77=no
17607
 
      ;;
17608
 
 
17609
 
    *)
17610
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17611
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17612
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17613
 
      else
17614
 
        ld_shlibs_F77=no
17615
 
      fi
17616
 
      ;;
17617
 
    esac
17618
 
 
17619
 
    if test "$ld_shlibs_F77" = yes; then
17620
 
      runpath_var=LD_RUN_PATH
17621
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
17622
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17623
 
      # ancient GNU ld didn't support --whole-archive et. al.
17624
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17625
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17626
 
      else
17627
 
        whole_archive_flag_spec_F77=
17628
 
      fi
17629
 
    fi
17630
 
  else
17631
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17632
 
    case $host_os in
17633
 
    aix3*)
17634
 
      allow_undefined_flag_F77=unsupported
17635
 
      always_export_symbols_F77=yes
17636
 
      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'
17637
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17638
 
      # are no directories specified by -L.
17639
 
      hardcode_minus_L_F77=yes
17640
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
17641
 
        # Neither direct hardcoding nor static linking is supported with a
17642
 
        # broken collect2.
17643
 
        hardcode_direct_F77=unsupported
17644
 
      fi
17645
 
      ;;
17646
 
 
17647
 
    aix4* | aix5*)
17648
 
      if test "$host_cpu" = ia64; then
17649
 
        # On IA64, the linker does run time linking by default, so we don't
17650
 
        # have to do anything special.
17651
 
        aix_use_runtimelinking=no
17652
 
        exp_sym_flag='-Bexport'
17653
 
        no_entry_flag=""
17654
 
      else
17655
 
        # If we're using GNU nm, then we don't want the "-C" option.
17656
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17657
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17658
 
          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'
17659
 
        else
17660
 
          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'
17661
 
        fi
17662
 
 
17663
 
        # KDE requires run time linking.  Make it the default.
17664
 
        aix_use_runtimelinking=yes
17665
 
        exp_sym_flag='-bexport'
17666
 
        no_entry_flag='-bnoentry'
17667
 
      fi
17668
 
 
17669
 
      # When large executables or shared objects are built, AIX ld can
17670
 
      # have problems creating the table of contents.  If linking a library
17671
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17672
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17673
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17674
 
 
17675
 
      archive_cmds_F77=''
17676
 
      hardcode_direct_F77=yes
17677
 
      hardcode_libdir_separator_F77=':'
17678
 
      link_all_deplibs_F77=yes
17679
 
 
17680
 
      if test "$GCC" = yes; then
17681
 
        case $host_os in aix4.012|aix4.012.*)
17682
 
        # We only want to do this on AIX 4.2 and lower, the check
17683
 
        # below for broken collect2 doesn't work under 4.3+
17684
 
          collect2name=`${CC} -print-prog-name=collect2`
17685
 
          if test -f "$collect2name" && \
17686
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17687
 
          then
17688
 
          # We have reworked collect2
17689
 
          hardcode_direct_F77=yes
17690
 
          else
17691
 
          # We have old collect2
17692
 
          hardcode_direct_F77=unsupported
17693
 
          # It fails to find uninstalled libraries when the uninstalled
17694
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17695
 
          # to unsupported forces relinking
17696
 
          hardcode_minus_L_F77=yes
17697
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17698
 
          hardcode_libdir_separator_F77=
17699
 
          fi
17700
 
        esac
17701
 
        shared_flag='-shared'
17702
 
      else
17703
 
        # not using gcc
17704
 
        if test "$host_cpu" = ia64; then
17705
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17706
 
        # chokes on -Wl,-G. The following line is correct:
17707
 
          shared_flag='-G'
17708
 
        else
17709
 
        if test "$aix_use_runtimelinking" = yes; then
17710
 
            shared_flag='-qmkshrobj ${wl}-G'
17711
 
          else
17712
 
            shared_flag='-qmkshrobj'
17713
 
        fi
17714
 
        fi
17715
 
      fi
17716
 
 
17717
 
      # Let the compiler handle the export list.
17718
 
      always_export_symbols_F77=no
17719
 
      if test "$aix_use_runtimelinking" = yes; then
17720
 
        # Warning - without using the other runtime loading flags (-brtl),
17721
 
        # -berok will link without error, but may produce a broken library.
17722
 
        allow_undefined_flag_F77='-berok'
17723
 
       # Determine the default libpath from the value encoded in an empty executable.
17724
 
        cat >conftest.$ac_ext <<_ACEOF
17725
 
      program main
17726
 
 
17727
 
      end
17728
 
_ACEOF
17729
 
rm -f conftest.$ac_objext conftest$ac_exeext
17730
 
if { (ac_try="$ac_link"
17731
 
case "(($ac_try" in
17732
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17733
 
  *) ac_try_echo=$ac_try;;
17734
 
esac
17735
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17736
 
$as_echo "$ac_try_echo") >&5
17737
 
  (eval "$ac_link") 2>conftest.er1
17738
 
  ac_status=$?
17739
 
  grep -v '^ *+' conftest.er1 >conftest.err
17740
 
  rm -f conftest.er1
17741
 
  cat conftest.err >&5
17742
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743
 
  (exit $ac_status); } && {
17744
 
         test -z "$ac_f77_werror_flag" ||
17745
 
         test ! -s conftest.err
17746
 
       } && test -s conftest$ac_exeext && {
17747
 
         test "$cross_compiling" = yes ||
17748
 
         $as_test_x conftest$ac_exeext
17749
 
       }; then
17750
 
 
17751
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17752
 
}'`
17753
 
# Check for a 64-bit object if we didn't find anything.
17754
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17755
 
}'`; fi
17756
 
else
17757
 
  $as_echo "$as_me: failed program was:" >&5
17758
 
sed 's/^/| /' conftest.$ac_ext >&5
17759
 
 
17760
 
 
17761
 
fi
17762
 
 
17763
 
rm -rf conftest.dSYM
17764
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17765
 
      conftest$ac_exeext conftest.$ac_ext
17766
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17767
 
 
17768
 
        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17769
 
        archive_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
17770
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17771
 
       else
17772
 
        if test "$host_cpu" = ia64; then
17773
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17774
 
          allow_undefined_flag_F77="-z nodefs"
17775
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
17776
 
        else
17777
 
         # Determine the default libpath from the value encoded in an empty executable.
17778
 
         cat >conftest.$ac_ext <<_ACEOF
17779
 
      program main
17780
 
 
17781
 
      end
17782
 
_ACEOF
17783
 
rm -f conftest.$ac_objext conftest$ac_exeext
17784
 
if { (ac_try="$ac_link"
17785
 
case "(($ac_try" in
17786
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17787
 
  *) ac_try_echo=$ac_try;;
17788
 
esac
17789
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17790
 
$as_echo "$ac_try_echo") >&5
17791
 
  (eval "$ac_link") 2>conftest.er1
17792
 
  ac_status=$?
17793
 
  grep -v '^ *+' conftest.er1 >conftest.err
17794
 
  rm -f conftest.er1
17795
 
  cat conftest.err >&5
17796
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797
 
  (exit $ac_status); } && {
17798
 
         test -z "$ac_f77_werror_flag" ||
17799
 
         test ! -s conftest.err
17800
 
       } && test -s conftest$ac_exeext && {
17801
 
         test "$cross_compiling" = yes ||
17802
 
         $as_test_x conftest$ac_exeext
17803
 
       }; then
17804
 
 
17805
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17806
 
}'`
17807
 
# Check for a 64-bit object if we didn't find anything.
17808
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17809
 
}'`; fi
17810
 
else
17811
 
  $as_echo "$as_me: failed program was:" >&5
17812
 
sed 's/^/| /' conftest.$ac_ext >&5
17813
 
 
17814
 
 
17815
 
fi
17816
 
 
17817
 
rm -rf conftest.dSYM
17818
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17819
 
      conftest$ac_exeext conftest.$ac_ext
17820
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17821
 
 
17822
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17823
 
          # Warning - without using the other run time loading flags,
17824
 
          # -berok will link without error, but may produce a broken library.
17825
 
          no_undefined_flag_F77=' ${wl}-bernotok'
17826
 
          allow_undefined_flag_F77=' ${wl}-berok'
17827
 
          # -bexpall does not export symbols beginning with underscore (_)
17828
 
          always_export_symbols_F77=yes
17829
 
          # Exported symbols can be pulled into shared objects from archives
17830
 
          whole_archive_flag_spec_F77=' '
17831
 
          archive_cmds_need_lc_F77=yes
17832
 
          # This is similar to how AIX traditionally builds it's shared libraries.
17833
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17834
 
        fi
17835
 
      fi
17836
 
      ;;
17837
 
 
17838
 
    amigaos*)
17839
 
      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)'
17840
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17841
 
      hardcode_minus_L_F77=yes
17842
 
      # see comment about different semantics on the GNU ld section
17843
 
      ld_shlibs_F77=no
17844
 
      ;;
17845
 
 
17846
 
    bsdi4*)
17847
 
      export_dynamic_flag_spec_F77=-rdynamic
17848
 
      ;;
17849
 
 
17850
 
    cygwin* | mingw* | pw32*)
17851
 
      # When not using gcc, we currently assume that we are using
17852
 
      # Microsoft Visual C++.
17853
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17854
 
      # no search path for DLLs.
17855
 
      hardcode_libdir_flag_spec_F77=' '
17856
 
      allow_undefined_flag_F77=no
17857
 
      # Tell ltmain to make .lib files, not .a files.
17858
 
      libext=lib
17859
 
      # Tell ltmain to make .dll files, not .so files.
17860
 
      shrext=".dll"
17861
 
      # FIXME: Setting linknames here is a bad hack.
17862
 
      archive_cmds_F77='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17863
 
      # The linker will automatically build a .lib file if we build a DLL.
17864
 
      old_archive_From_new_cmds_F77='true'
17865
 
      # FIXME: Should let the user specify the lib program.
17866
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
17867
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
17868
 
      enable_shared_with_static_runtimes_F77=yes
17869
 
      ;;
17870
 
 
17871
 
    darwin* | rhapsody*)
17872
 
    if test "$GXX" = yes ; then
17873
 
      archive_cmds_need_lc_F77=no
17874
 
      case "$host_os" in
17875
 
      rhapsody* | darwin1.[012])
17876
 
        allow_undefined_flag_F77='-Wl,-undefined -Wl,suppress'
17877
 
        ;;
17878
 
      *) # Darwin 1.3 on
17879
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17880
 
          allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17881
 
        else
17882
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
17883
 
            10.012)
17884
 
              allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17885
 
              ;;
17886
 
            10.*)
17887
 
              allow_undefined_flag_F77='-Wl,-undefined -Wl,dynamic_lookup'
17888
 
              ;;
17889
 
          esac
17890
 
        fi
17891
 
        ;;
17892
 
      esac
17893
 
        lt_int_apple_cc_single_mod=no
17894
 
        output_verbose_link_cmd='echo'
17895
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17896
 
          lt_int_apple_cc_single_mod=yes
17897
 
        fi
17898
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17899
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
17900
 
        else
17901
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
17902
 
      fi
17903
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
17904
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17905
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17906
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17907
 
        else
17908
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17909
 
        fi
17910
 
          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 $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17911
 
      hardcode_direct_F77=no
17912
 
      hardcode_automatic_F77=yes
17913
 
      hardcode_shlibpath_var_F77=unsupported
17914
 
      whole_archive_flag_spec_F77='-all_load $convenience'
17915
 
      link_all_deplibs_F77=yes
17916
 
    else
17917
 
      ld_shlibs_F77=no
17918
 
    fi
17919
 
      ;;
17920
 
 
17921
 
    dgux*)
17922
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17923
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17924
 
      hardcode_shlibpath_var_F77=no
17925
 
      ;;
17926
 
 
17927
 
    freebsd1*)
17928
 
      ld_shlibs_F77=no
17929
 
      ;;
17930
 
 
17931
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17932
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17933
 
    # does not break anything, and helps significantly (at the cost of a little
17934
 
    # extra space).
17935
 
    freebsd2.2*)
17936
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17937
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17938
 
      hardcode_direct_F77=yes
17939
 
      hardcode_shlibpath_var_F77=no
17940
 
      ;;
17941
 
 
17942
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17943
 
    freebsd2*)
17944
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17945
 
      hardcode_direct_F77=yes
17946
 
      hardcode_minus_L_F77=yes
17947
 
      hardcode_shlibpath_var_F77=no
17948
 
      ;;
17949
 
 
17950
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17951
 
    freebsd* | kfreebsd*-gnu)
17952
 
      archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
17953
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17954
 
      hardcode_direct_F77=yes
17955
 
      hardcode_shlibpath_var_F77=no
17956
 
      ;;
17957
 
 
17958
 
    hpux9*)
17959
 
      if test "$GCC" = yes; then
17960
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17961
 
      else
17962
 
        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'
17963
 
      fi
17964
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17965
 
      hardcode_libdir_separator_F77=:
17966
 
      hardcode_direct_F77=yes
17967
 
 
17968
 
      # hardcode_minus_L: Not really in the search PATH,
17969
 
      # but as the default location of the library.
17970
 
      hardcode_minus_L_F77=yes
17971
 
      export_dynamic_flag_spec_F77='${wl}-E'
17972
 
      ;;
17973
 
 
17974
 
    hpux10* | hpux11*)
17975
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17976
 
        case "$host_cpu" in
17977
 
        hppa*64*|ia64*)
17978
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17979
 
          ;;
17980
 
        *)
17981
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
17982
 
          ;;
17983
 
        esac
17984
 
      else
17985
 
        case "$host_cpu" in
17986
 
        hppa*64*|ia64*)
17987
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17988
 
          ;;
17989
 
        *)
17990
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17991
 
          ;;
17992
 
        esac
17993
 
      fi
17994
 
      if test "$with_gnu_ld" = no; then
17995
 
        case "$host_cpu" in
17996
 
        hppa*64*)
17997
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17998
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17999
 
          hardcode_libdir_separator_F77=:
18000
 
          hardcode_direct_F77=no
18001
 
          hardcode_shlibpath_var_F77=no
18002
 
          ;;
18003
 
        ia64*)
18004
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
18005
 
          hardcode_direct_F77=no
18006
 
          hardcode_shlibpath_var_F77=no
18007
 
 
18008
 
          # hardcode_minus_L: Not really in the search PATH,
18009
 
          # but as the default location of the library.
18010
 
          hardcode_minus_L_F77=yes
18011
 
          ;;
18012
 
        *)
18013
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
18014
 
          hardcode_libdir_separator_F77=:
18015
 
          hardcode_direct_F77=yes
18016
 
          export_dynamic_flag_spec_F77='${wl}-E'
18017
 
 
18018
 
          # hardcode_minus_L: Not really in the search PATH,
18019
 
          # but as the default location of the library.
18020
 
          hardcode_minus_L_F77=yes
18021
 
          ;;
18022
 
        esac
18023
 
      fi
18024
 
      ;;
18025
 
 
18026
 
    irix5* | irix6* | nonstopux*)
18027
 
      if test "$GCC" = yes; then
18028
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18029
 
      else
18030
 
        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'
18031
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
18032
 
      fi
18033
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18034
 
      hardcode_libdir_separator_F77=:
18035
 
      link_all_deplibs_F77=yes
18036
 
      ;;
18037
 
 
18038
 
    netbsd*)
18039
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18040
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18041
 
      else
18042
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18043
 
      fi
18044
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
18045
 
      hardcode_direct_F77=yes
18046
 
      hardcode_shlibpath_var_F77=no
18047
 
      ;;
18048
 
 
18049
 
    newsos6)
18050
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18051
 
      hardcode_direct_F77=yes
18052
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18053
 
      hardcode_libdir_separator_F77=:
18054
 
      hardcode_shlibpath_var_F77=no
18055
 
      ;;
18056
 
 
18057
 
    openbsd*)
18058
 
      hardcode_direct_F77=yes
18059
 
      hardcode_shlibpath_var_F77=no
18060
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18061
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
18062
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
18063
 
        export_dynamic_flag_spec_F77='${wl}-E'
18064
 
      else
18065
 
       case $host_os in
18066
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18067
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18068
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
18069
 
           ;;
18070
 
         *)
18071
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
18072
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
18073
 
           ;;
18074
 
       esac
18075
 
      fi
18076
 
      ;;
18077
 
 
18078
 
    os2*)
18079
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18080
 
      hardcode_minus_L_F77=yes
18081
 
      allow_undefined_flag_F77=unsupported
18082
 
      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 $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
18083
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18084
 
      ;;
18085
 
 
18086
 
    osf3*)
18087
 
      if test "$GCC" = yes; then
18088
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
18089
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18090
 
      else
18091
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
18092
 
        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'
18093
 
      fi
18094
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18095
 
      hardcode_libdir_separator_F77=:
18096
 
      ;;
18097
 
 
18098
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18099
 
      if test "$GCC" = yes; then
18100
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
18101
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${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'
18102
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18103
 
      else
18104
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
18105
 
        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'
18106
 
        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~
18107
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
18108
 
 
18109
 
        # Both c and cxx compiler support -rpath directly
18110
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
18111
 
      fi
18112
 
      hardcode_libdir_separator_F77=:
18113
 
      ;;
18114
 
 
18115
 
    sco3.2v5*)
18116
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18117
 
      hardcode_shlibpath_var_F77=no
18118
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
18119
 
      runpath_var=LD_RUN_PATH
18120
 
      hardcode_runpath_var=yes
18121
 
      ;;
18122
 
 
18123
 
    solaris*)
18124
 
      no_undefined_flag_F77=' -z text'
18125
 
      if test "$GCC" = yes; then
18126
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
18127
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18128
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
18129
 
      else
18130
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18131
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18132
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18133
 
      fi
18134
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
18135
 
      hardcode_shlibpath_var_F77=no
18136
 
      case $host_os in
18137
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18138
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
18139
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
18140
 
      esac
18141
 
      link_all_deplibs_F77=yes
18142
 
      ;;
18143
 
 
18144
 
    sunos4*)
18145
 
      if test "x$host_vendor" = xsequent; then
18146
 
        # Use $CC to link under sequent, because it throws in some extra .o
18147
 
        # files that make .init and .fini sections work.
18148
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
18149
 
      else
18150
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18151
 
      fi
18152
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18153
 
      hardcode_direct_F77=yes
18154
 
      hardcode_minus_L_F77=yes
18155
 
      hardcode_shlibpath_var_F77=no
18156
 
      ;;
18157
 
 
18158
 
    sysv4)
18159
 
      case $host_vendor in
18160
 
        sni)
18161
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18162
 
          hardcode_direct_F77=yes # is this really true???
18163
 
        ;;
18164
 
        siemens)
18165
 
          ## LD is ld it makes a PLAMLIB
18166
 
          ## CC just makes a GrossModule.
18167
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18168
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
18169
 
          hardcode_direct_F77=no
18170
 
        ;;
18171
 
        motorola)
18172
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18173
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
18174
 
        ;;
18175
 
      esac
18176
 
      runpath_var='LD_RUN_PATH'
18177
 
      hardcode_shlibpath_var_F77=no
18178
 
      ;;
18179
 
 
18180
 
    sysv4.3*)
18181
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18182
 
      hardcode_shlibpath_var_F77=no
18183
 
      export_dynamic_flag_spec_F77='-Bexport'
18184
 
      ;;
18185
 
 
18186
 
    sysv4*MP*)
18187
 
      if test -d /usr/nec; then
18188
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18189
 
        hardcode_shlibpath_var_F77=no
18190
 
        runpath_var=LD_RUN_PATH
18191
 
        hardcode_runpath_var=yes
18192
 
        ld_shlibs_F77=yes
18193
 
      fi
18194
 
      ;;
18195
 
 
18196
 
    sysv4.2uw2*)
18197
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18198
 
      hardcode_direct_F77=yes
18199
 
      hardcode_minus_L_F77=no
18200
 
      hardcode_shlibpath_var_F77=no
18201
 
      hardcode_runpath_var=yes
18202
 
      runpath_var=LD_RUN_PATH
18203
 
      ;;
18204
 
 
18205
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
18206
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
18207
 
      if test "$GCC" = yes; then
18208
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
18209
 
      else
18210
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
18211
 
      fi
18212
 
      runpath_var='LD_RUN_PATH'
18213
 
      hardcode_shlibpath_var_F77=no
18214
 
      ;;
18215
 
 
18216
 
    sysv5*)
18217
 
      no_undefined_flag_F77=' -z text'
18218
 
      # $CC -shared without GNU ld will not create a library from C++
18219
 
      # object files and a static libstdc++, better avoid it by now
18220
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18221
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18222
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18223
 
      hardcode_libdir_flag_spec_F77=
18224
 
      hardcode_shlibpath_var_F77=no
18225
 
      runpath_var='LD_RUN_PATH'
18226
 
      ;;
18227
 
 
18228
 
    uts4*)
18229
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18230
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18231
 
      hardcode_shlibpath_var_F77=no
18232
 
      ;;
18233
 
 
18234
 
    *)
18235
 
      ld_shlibs_F77=no
18236
 
      ;;
18237
 
    esac
18238
 
  fi
18239
 
 
18240
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
18241
 
$as_echo "$ld_shlibs_F77" >&6; }
18242
 
test "$ld_shlibs_F77" = no && can_build_shared=no
18243
 
 
18244
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18245
 
if test "$GCC" = yes; then
18246
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18247
 
fi
18248
 
 
18249
 
#
18250
 
# Do we need to explicitly link libc?
18251
 
#
18252
 
case "x$archive_cmds_need_lc_F77" in
18253
 
x|xyes)
18254
 
  # Assume -lc should be added
18255
 
  archive_cmds_need_lc_F77=yes
18256
 
 
18257
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18258
 
    case $archive_cmds_F77 in
18259
 
    *'~'*)
18260
 
      # FIXME: we may have to deal with multi-command sequences.
18261
 
      ;;
18262
 
    '$CC '*)
18263
 
      # Test whether the compiler implicitly links with -lc since on some
18264
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18265
 
      # to ld, don't add -lc before -lgcc.
18266
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18267
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18268
 
      $rm conftest*
18269
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18270
 
 
18271
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18272
 
  (eval $ac_compile) 2>&5
18273
 
  ac_status=$?
18274
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275
 
  (exit $ac_status); } 2>conftest.err; then
18276
 
        soname=conftest
18277
 
        lib=conftest
18278
 
        libobjs=conftest.$ac_objext
18279
 
        deplibs=
18280
 
        wl=$lt_prog_compiler_wl_F77
18281
 
        compiler_flags=-v
18282
 
        linker_flags=-v
18283
 
        verstring=
18284
 
        output_objdir=.
18285
 
        libname=conftest
18286
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
18287
 
        allow_undefined_flag_F77=
18288
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18289
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18290
 
  ac_status=$?
18291
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292
 
  (exit $ac_status); }
18293
 
        then
18294
 
          archive_cmds_need_lc_F77=no
18295
 
        else
18296
 
          archive_cmds_need_lc_F77=yes
18297
 
        fi
18298
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
18299
 
      else
18300
 
        cat conftest.err 1>&5
18301
 
      fi
18302
 
      $rm conftest*
18303
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18304
 
$as_echo "$archive_cmds_need_lc_F77" >&6; }
18305
 
      ;;
18306
 
    esac
18307
 
  fi
18308
 
  ;;
18309
 
esac
18310
 
 
18311
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18312
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
18313
 
library_names_spec=
18314
 
libname_spec='lib$name'
18315
 
soname_spec=
18316
 
shrext=".so"
18317
 
postinstall_cmds=
18318
 
postuninstall_cmds=
18319
 
finish_cmds=
18320
 
finish_eval=
18321
 
shlibpath_var=
18322
 
shlibpath_overrides_runpath=unknown
18323
 
version_type=none
18324
 
dynamic_linker="$host_os ld.so"
18325
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18326
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18327
 
need_lib_prefix=unknown
18328
 
hardcode_into_libs=no
18329
 
 
18330
 
# when you set need_version to no, make sure it does not cause -set_version
18331
 
# flags to be left without arguments
18332
 
need_version=unknown
18333
 
 
18334
 
case $host_os in
18335
 
aix3*)
18336
 
  version_type=linux
18337
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18338
 
  shlibpath_var=LIBPATH
18339
 
 
18340
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18341
 
  soname_spec='${libname}${release}${shared_ext}$major'
18342
 
  ;;
18343
 
 
18344
 
aix4* | aix5*)
18345
 
  version_type=linux
18346
 
  need_lib_prefix=no
18347
 
  need_version=no
18348
 
  hardcode_into_libs=yes
18349
 
  if test "$host_cpu" = ia64; then
18350
 
    # AIX 5 supports IA64
18351
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18352
 
    shlibpath_var=LD_LIBRARY_PATH
18353
 
  else
18354
 
    # With GCC up to 2.95.x, collect2 would create an import file
18355
 
    # for dependence libraries.  The import file would start with
18356
 
    # the line `#! .'.  This would cause the generated library to
18357
 
    # depend on `.', always an invalid library.  This was fixed in
18358
 
    # development snapshots of GCC prior to 3.0.
18359
 
    case $host_os in
18360
 
      aix4 | aix4.[01] | aix4.[01].*)
18361
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18362
 
           echo ' yes '
18363
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18364
 
        :
18365
 
      else
18366
 
        can_build_shared=no
18367
 
      fi
18368
 
      ;;
18369
 
    esac
18370
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18371
 
    # soname into executable. Probably we can add versioning support to
18372
 
    # collect2, so additional links can be useful in future.
18373
 
    if test "$aix_use_runtimelinking" = yes; then
18374
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18375
 
      # instead of lib<name>.a to let people know that these are not
18376
 
      # typical AIX shared libraries.
18377
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18378
 
    else
18379
 
      # We preserve .a as extension for shared libraries through AIX4.2
18380
 
      # and later when we are not doing run time linking.
18381
 
      library_names_spec='${libname}${release}.a $libname.a'
18382
 
      soname_spec='${libname}${release}${shared_ext}$major'
18383
 
    fi
18384
 
    shlibpath_var=LIBPATH
18385
 
  fi
18386
 
  ;;
18387
 
 
18388
 
amigaos*)
18389
 
  library_names_spec='$libname.ixlibrary $libname.a'
18390
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18391
 
  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'
18392
 
  ;;
18393
 
 
18394
 
beos*)
18395
 
  library_names_spec='${libname}${shared_ext}'
18396
 
  dynamic_linker="$host_os ld.so"
18397
 
  shlibpath_var=LIBRARY_PATH
18398
 
  ;;
18399
 
 
18400
 
bsdi4*)
18401
 
  version_type=linux
18402
 
  need_version=no
18403
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18404
 
  soname_spec='${libname}${release}${shared_ext}$major'
18405
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18406
 
  shlibpath_var=LD_LIBRARY_PATH
18407
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18408
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18409
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18410
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18411
 
  # libtool to hard-code these into programs
18412
 
  ;;
18413
 
 
18414
 
cygwin* | mingw* | pw32*)
18415
 
  version_type=windows
18416
 
  shrext=".dll"
18417
 
  need_version=no
18418
 
  need_lib_prefix=no
18419
 
 
18420
 
  case $GCC,$host_os in
18421
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18422
 
    library_names_spec='$libname.dll.a'
18423
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18424
 
    postinstall_cmds='base_file=`basename \${file}`~
18425
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18426
 
      dldir=$destdir/`dirname \$dlpath`~
18427
 
      test -d \$dldir || mkdir -p \$dldir~
18428
 
      $install_prog $dir/$dlname \$dldir/$dlname'
18429
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18430
 
      dlpath=$dir/\$dldll~
18431
 
       $rm \$dlpath'
18432
 
    shlibpath_overrides_runpath=yes
18433
 
 
18434
 
    case $host_os in
18435
 
    cygwin*)
18436
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18437
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18438
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18439
 
      ;;
18440
 
    mingw*)
18441
 
      # MinGW DLLs use traditional 'lib' prefix
18442
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18443
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18444
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18445
 
        # It is most probably a Windows format PATH printed by
18446
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18447
 
        # path with ; separators, and with drive letters. We can handle the
18448
 
        # drive letters (cygwin fileutils understands them), so leave them,
18449
 
        # especially as we might pass files found there to a mingw objdump,
18450
 
        # which wouldn't understand a cygwinified path. Ahh.
18451
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18452
 
      else
18453
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18454
 
      fi
18455
 
      ;;
18456
 
    pw32*)
18457
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18458
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18459
 
      ;;
18460
 
    esac
18461
 
    ;;
18462
 
 
18463
 
  *)
18464
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18465
 
    ;;
18466
 
  esac
18467
 
  dynamic_linker='Win32 ld.exe'
18468
 
  # FIXME: first we should search . and the directory the executable is in
18469
 
  shlibpath_var=PATH
18470
 
  ;;
18471
 
 
18472
 
darwin* | rhapsody*)
18473
 
  dynamic_linker="$host_os dyld"
18474
 
  version_type=darwin
18475
 
  need_lib_prefix=no
18476
 
  need_version=no
18477
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18478
 
  soname_spec='${libname}${release}${major}$shared_ext'
18479
 
  shlibpath_overrides_runpath=yes
18480
 
  shlibpath_var=DYLD_LIBRARY_PATH
18481
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
18482
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18483
 
  if test "$GCC" = yes; then
18484
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18485
 
  else
18486
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18487
 
  fi
18488
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18489
 
  ;;
18490
 
 
18491
 
dgux*)
18492
 
  version_type=linux
18493
 
  need_lib_prefix=no
18494
 
  need_version=no
18495
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18496
 
  soname_spec='${libname}${release}${shared_ext}$major'
18497
 
  shlibpath_var=LD_LIBRARY_PATH
18498
 
  ;;
18499
 
 
18500
 
freebsd1*)
18501
 
  dynamic_linker=no
18502
 
  ;;
18503
 
 
18504
 
kfreebsd*-gnu*)
18505
 
  version_type=linux
18506
 
  need_lib_prefix=no
18507
 
  need_version=no
18508
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18509
 
  soname_spec='${libname}${release}${shared_ext}$major'
18510
 
  shlibpath_var=LD_LIBRARY_PATH
18511
 
  shlibpath_overrides_runpath=no
18512
 
  hardcode_into_libs=yes
18513
 
  dynamic_linker='GNU ld.so'
18514
 
  ;;
18515
 
 
18516
 
freebsd*)
18517
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18518
 
  version_type=freebsd-$objformat
18519
 
  case $version_type in
18520
 
    freebsd-elf*)
18521
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18522
 
      need_version=no
18523
 
      need_lib_prefix=no
18524
 
      ;;
18525
 
    freebsd-*)
18526
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18527
 
      need_version=yes
18528
 
      ;;
18529
 
  esac
18530
 
  shlibpath_var=LD_LIBRARY_PATH
18531
 
  case $host_os in
18532
 
  freebsd2*)
18533
 
    shlibpath_overrides_runpath=yes
18534
 
    ;;
18535
 
  freebsd3.01* | freebsdelf3.01*)
18536
 
    shlibpath_overrides_runpath=yes
18537
 
    hardcode_into_libs=yes
18538
 
    ;;
18539
 
  *) # from 3.2 on
18540
 
    shlibpath_overrides_runpath=no
18541
 
    hardcode_into_libs=yes
18542
 
    ;;
18543
 
  esac
18544
 
  ;;
18545
 
 
18546
 
gnu*)
18547
 
  version_type=linux
18548
 
  need_lib_prefix=no
18549
 
  need_version=no
18550
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18551
 
  soname_spec='${libname}${release}${shared_ext}$major'
18552
 
  shlibpath_var=LD_LIBRARY_PATH
18553
 
  hardcode_into_libs=yes
18554
 
  ;;
18555
 
 
18556
 
hpux9* | hpux10* | hpux11*)
18557
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18558
 
  # link against other versions.
18559
 
  version_type=sunos
18560
 
  need_lib_prefix=no
18561
 
  need_version=no
18562
 
  case "$host_cpu" in
18563
 
  ia64*)
18564
 
    shrext='.so'
18565
 
    hardcode_into_libs=yes
18566
 
    dynamic_linker="$host_os dld.so"
18567
 
    shlibpath_var=LD_LIBRARY_PATH
18568
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18569
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18570
 
    soname_spec='${libname}${release}${shared_ext}$major'
18571
 
    if test "X$HPUX_IA64_MODE" = X32; then
18572
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18573
 
    else
18574
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18575
 
    fi
18576
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18577
 
    ;;
18578
 
   hppa*64*)
18579
 
     shrext='.sl'
18580
 
     hardcode_into_libs=yes
18581
 
     dynamic_linker="$host_os dld.sl"
18582
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18583
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18584
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18585
 
     soname_spec='${libname}${release}${shared_ext}$major'
18586
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18587
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18588
 
     ;;
18589
 
   *)
18590
 
    shrext='.sl'
18591
 
    dynamic_linker="$host_os dld.sl"
18592
 
    shlibpath_var=SHLIB_PATH
18593
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18594
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18595
 
    soname_spec='${libname}${release}${shared_ext}$major'
18596
 
    ;;
18597
 
  esac
18598
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18599
 
  postinstall_cmds='chmod 555 $lib'
18600
 
  ;;
18601
 
 
18602
 
irix5* | irix6* | nonstopux*)
18603
 
  case $host_os in
18604
 
    nonstopux*) version_type=nonstopux ;;
18605
 
    *)
18606
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18607
 
                version_type=linux
18608
 
        else
18609
 
                version_type=irix
18610
 
        fi ;;
18611
 
  esac
18612
 
  need_lib_prefix=no
18613
 
  need_version=no
18614
 
  soname_spec='${libname}${release}${shared_ext}$major'
18615
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18616
 
  case $host_os in
18617
 
  irix5* | nonstopux*)
18618
 
    libsuff= shlibsuff=
18619
 
    ;;
18620
 
  *)
18621
 
    case $LD in # libtool.m4 will add one of these switches to LD
18622
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18623
 
      libsuff= shlibsuff= libmagic=32-bit;;
18624
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18625
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18626
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18627
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18628
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18629
 
    esac
18630
 
    ;;
18631
 
  esac
18632
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18633
 
  shlibpath_overrides_runpath=no
18634
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18635
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18636
 
  hardcode_into_libs=yes
18637
 
  ;;
18638
 
 
18639
 
# No shared lib support for Linux oldld, aout, or coff.
18640
 
linux*oldld* | linux*aout* | linux*coff*)
18641
 
  dynamic_linker=no
18642
 
  ;;
18643
 
 
18644
 
# This must be Linux ELF.
18645
 
linux*)
18646
 
  version_type=linux
18647
 
  need_lib_prefix=no
18648
 
  need_version=no
18649
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18650
 
  soname_spec='${libname}${release}${shared_ext}$major'
18651
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18652
 
  libsuff=
18653
 
  if test "x$LINUX_64_MODE" = x64; then
18654
 
    # Some platforms are per default 64-bit, so there's no /lib64
18655
 
    if test -d /lib64 -a ! -h /lib64; then
18656
 
      libsuff=64
18657
 
    fi
18658
 
  fi
18659
 
  shlibpath_var=LD_LIBRARY_PATH
18660
 
  shlibpath_overrides_runpath=no
18661
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
18662
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18663
 
  # This implies no fast_install, which is unacceptable.
18664
 
  # Some rework will be needed to allow for fast_install
18665
 
  # before this can be enabled.
18666
 
  hardcode_into_libs=yes
18667
 
 
18668
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18669
 
  # powerpc, because MkLinux only supported shared libraries with the
18670
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18671
 
  # most powerpc-linux boxes support dynamic linking these days and
18672
 
  # people can always --disable-shared, the test was removed, and we
18673
 
  # assume the GNU/Linux dynamic linker is in use.
18674
 
  dynamic_linker='GNU/Linux ld.so'
18675
 
  ;;
18676
 
 
18677
 
netbsd*)
18678
 
  version_type=sunos
18679
 
  need_lib_prefix=no
18680
 
  need_version=no
18681
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18682
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18683
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18684
 
    dynamic_linker='NetBSD (a.out) ld.so'
18685
 
  else
18686
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
18687
 
    soname_spec='${libname}${release}${shared_ext}$major'
18688
 
    dynamic_linker='NetBSD ld.elf_so'
18689
 
  fi
18690
 
  shlibpath_var=LD_LIBRARY_PATH
18691
 
  shlibpath_overrides_runpath=yes
18692
 
  hardcode_into_libs=yes
18693
 
  ;;
18694
 
 
18695
 
newsos6)
18696
 
  version_type=linux
18697
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18698
 
  shlibpath_var=LD_LIBRARY_PATH
18699
 
  shlibpath_overrides_runpath=yes
18700
 
  ;;
18701
 
 
18702
 
nto-qnx*)
18703
 
  version_type=linux
18704
 
  need_lib_prefix=no
18705
 
  need_version=no
18706
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18707
 
  soname_spec='${libname}${release}${shared_ext}$major'
18708
 
  shlibpath_var=LD_LIBRARY_PATH
18709
 
  shlibpath_overrides_runpath=yes
18710
 
  ;;
18711
 
 
18712
 
openbsd*)
18713
 
  version_type=sunos
18714
 
  need_lib_prefix=no
18715
 
  need_version=no
18716
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18717
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18718
 
  shlibpath_var=LD_LIBRARY_PATH
18719
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18720
 
    case $host_os in
18721
 
      openbsd2.[89] | openbsd2.[89].*)
18722
 
        shlibpath_overrides_runpath=no
18723
 
        ;;
18724
 
      *)
18725
 
        shlibpath_overrides_runpath=yes
18726
 
        ;;
18727
 
      esac
18728
 
  else
18729
 
    shlibpath_overrides_runpath=yes
18730
 
  fi
18731
 
  ;;
18732
 
 
18733
 
os2*)
18734
 
  libname_spec='$name'
18735
 
  shrext=".dll"
18736
 
  need_lib_prefix=no
18737
 
  library_names_spec='$libname${shared_ext} $libname.a'
18738
 
  dynamic_linker='OS/2 ld.exe'
18739
 
  shlibpath_var=LIBPATH
18740
 
  ;;
18741
 
 
18742
 
osf3* | osf4* | osf5*)
18743
 
  version_type=osf
18744
 
  need_lib_prefix=no
18745
 
  need_version=no
18746
 
  soname_spec='${libname}${release}${shared_ext}$major'
18747
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18748
 
  shlibpath_var=LD_LIBRARY_PATH
18749
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18750
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18751
 
  ;;
18752
 
 
18753
 
sco3.2v5*)
18754
 
  version_type=osf
18755
 
  soname_spec='${libname}${release}${shared_ext}$major'
18756
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18757
 
  shlibpath_var=LD_LIBRARY_PATH
18758
 
  ;;
18759
 
 
18760
 
solaris*)
18761
 
  version_type=linux
18762
 
  need_lib_prefix=no
18763
 
  need_version=no
18764
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18765
 
  soname_spec='${libname}${release}${shared_ext}$major'
18766
 
  shlibpath_var=LD_LIBRARY_PATH
18767
 
  shlibpath_overrides_runpath=yes
18768
 
  hardcode_into_libs=yes
18769
 
  # ldd complains unless libraries are executable
18770
 
  postinstall_cmds='chmod +x $lib'
18771
 
  ;;
18772
 
 
18773
 
sunos4*)
18774
 
  version_type=sunos
18775
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18776
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18777
 
  shlibpath_var=LD_LIBRARY_PATH
18778
 
  shlibpath_overrides_runpath=yes
18779
 
  if test "$with_gnu_ld" = yes; then
18780
 
    need_lib_prefix=no
18781
 
  fi
18782
 
  need_version=yes
18783
 
  ;;
18784
 
 
18785
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18786
 
  version_type=linux
18787
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18788
 
  soname_spec='${libname}${release}${shared_ext}$major'
18789
 
  shlibpath_var=LD_LIBRARY_PATH
18790
 
  case $host_vendor in
18791
 
    sni)
18792
 
      shlibpath_overrides_runpath=no
18793
 
      need_lib_prefix=no
18794
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18795
 
      runpath_var=LD_RUN_PATH
18796
 
      ;;
18797
 
    siemens)
18798
 
      need_lib_prefix=no
18799
 
      ;;
18800
 
    motorola)
18801
 
      need_lib_prefix=no
18802
 
      need_version=no
18803
 
      shlibpath_overrides_runpath=no
18804
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18805
 
      ;;
18806
 
  esac
18807
 
  ;;
18808
 
 
18809
 
sysv4*MP*)
18810
 
  if test -d /usr/nec ;then
18811
 
    version_type=linux
18812
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18813
 
    soname_spec='$libname${shared_ext}.$major'
18814
 
    shlibpath_var=LD_LIBRARY_PATH
18815
 
  fi
18816
 
  ;;
18817
 
 
18818
 
uts4*)
18819
 
  version_type=linux
18820
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18821
 
  soname_spec='${libname}${release}${shared_ext}$major'
18822
 
  shlibpath_var=LD_LIBRARY_PATH
18823
 
  ;;
18824
 
 
18825
 
*)
18826
 
  dynamic_linker=no
18827
 
  ;;
18828
 
esac
18829
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18830
 
$as_echo "$dynamic_linker" >&6; }
18831
 
test "$dynamic_linker" = no && can_build_shared=no
18832
 
 
18833
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18834
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18835
 
hardcode_action_F77=
18836
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
18837
 
   test -n "$runpath_var F77" || \
18838
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
18839
 
 
18840
 
  # We can hardcode non-existant directories.
18841
 
  if test "$hardcode_direct_F77" != no &&
18842
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18843
 
     # have to relink, otherwise we might link with an installed library
18844
 
     # when we should be linking with a yet-to-be-installed one
18845
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18846
 
     test "$hardcode_minus_L_F77" != no; then
18847
 
    # Linking always hardcodes the temporary library directory.
18848
 
    hardcode_action_F77=relink
18849
 
  else
18850
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18851
 
    hardcode_action_F77=immediate
18852
 
  fi
18853
 
else
18854
 
  # We cannot hardcode anything, or else we can only hardcode existing
18855
 
  # directories.
18856
 
  hardcode_action_F77=unsupported
18857
 
fi
18858
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18859
 
$as_echo "$hardcode_action_F77" >&6; }
18860
 
 
18861
 
if test "$hardcode_action_F77" = relink; then
18862
 
  # Fast installation is not supported
18863
 
  enable_fast_install=no
18864
 
elif test "$shlibpath_overrides_runpath" = yes ||
18865
 
     test "$enable_shared" = no; then
18866
 
  # Fast installation is not necessary
18867
 
  enable_fast_install=needless
18868
 
fi
18869
 
 
18870
 
striplib=
18871
 
old_striplib=
18872
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18873
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
18874
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18875
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18876
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18877
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
18878
 
$as_echo "yes" >&6; }
18879
 
else
18880
 
# FIXME - insert some real tests, host_os isn't really good enough
18881
 
  case $host_os in
18882
 
   darwin*)
18883
 
       if test -n "$STRIP" ; then
18884
 
         striplib="$STRIP -x"
18885
 
         { $as_echo "$as_me:$LINENO: result: yes" >&5
18886
 
$as_echo "yes" >&6; }
18887
 
       else
18888
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
18889
 
$as_echo "no" >&6; }
18890
 
fi
18891
 
       ;;
18892
 
   *)
18893
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
18894
 
$as_echo "no" >&6; }
18895
 
    ;;
18896
 
  esac
18897
 
fi
18898
 
 
18899
 
 
18900
 
 
18901
 
# The else clause should only fire when bootstrapping the
18902
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18903
 
# with your package, and you will get complaints that there are
18904
 
# no rules to generate ltmain.sh.
18905
 
if test -f "$ltmain"; then
18906
 
  # See if we are running on zsh, and set the options which allow our commands through
18907
 
  # without removal of \ escapes.
18908
 
  if test -n "${ZSH_VERSION+set}" ; then
18909
 
    setopt NO_GLOB_SUBST
18910
 
  fi
18911
 
  # Now quote all the things that may contain metacharacters while being
18912
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18913
 
  # variables and quote the copies for generation of the libtool script.
18914
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18915
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18916
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18917
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18918
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18919
 
    lt_cv_sys_global_symbol_to_c_name_address \
18920
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18921
 
    old_postinstall_cmds old_postuninstall_cmds \
18922
 
    compiler_F77 \
18923
 
    CC_F77 \
18924
 
    LD_F77 \
18925
 
    lt_prog_compiler_wl_F77 \
18926
 
    lt_prog_compiler_pic_F77 \
18927
 
    lt_prog_compiler_static_F77 \
18928
 
    lt_prog_compiler_no_builtin_flag_F77 \
18929
 
    export_dynamic_flag_spec_F77 \
18930
 
    thread_safe_flag_spec_F77 \
18931
 
    whole_archive_flag_spec_F77 \
18932
 
    enable_shared_with_static_runtimes_F77 \
18933
 
    old_archive_cmds_F77 \
18934
 
    old_archive_from_new_cmds_F77 \
18935
 
    predep_objects_F77 \
18936
 
    postdep_objects_F77 \
18937
 
    predeps_F77 \
18938
 
    postdeps_F77 \
18939
 
    compiler_lib_search_path_F77 \
18940
 
    archive_cmds_F77 \
18941
 
    archive_expsym_cmds_F77 \
18942
 
    postinstall_cmds_F77 \
18943
 
    postuninstall_cmds_F77 \
18944
 
    old_archive_from_expsyms_cmds_F77 \
18945
 
    allow_undefined_flag_F77 \
18946
 
    no_undefined_flag_F77 \
18947
 
    export_symbols_cmds_F77 \
18948
 
    hardcode_libdir_flag_spec_F77 \
18949
 
    hardcode_libdir_flag_spec_ld_F77 \
18950
 
    hardcode_libdir_separator_F77 \
18951
 
    hardcode_automatic_F77 \
18952
 
    module_cmds_F77 \
18953
 
    module_expsym_cmds_F77 \
18954
 
    lt_cv_prog_compiler_c_o_F77 \
18955
 
    exclude_expsyms_F77 \
18956
 
    include_expsyms_F77; do
18957
 
 
18958
 
    case $var in
18959
 
    old_archive_cmds_F77 | \
18960
 
    old_archive_from_new_cmds_F77 | \
18961
 
    archive_cmds_F77 | \
18962
 
    archive_expsym_cmds_F77 | \
18963
 
    module_cmds_F77 | \
18964
 
    module_expsym_cmds_F77 | \
18965
 
    old_archive_from_expsyms_cmds_F77 | \
18966
 
    export_symbols_cmds_F77 | \
18967
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18968
 
    postinstall_cmds | postuninstall_cmds | \
18969
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18970
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18971
 
      # Double-quote double-evaled strings.
18972
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18973
 
      ;;
18974
 
    *)
18975
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18976
 
      ;;
18977
 
    esac
18978
 
  done
18979
 
 
18980
 
  case $lt_echo in
18981
 
  *'\$0 --fallback-echo"')
18982
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18983
 
    ;;
18984
 
  esac
18985
 
 
18986
 
cfgfile="$ofile"
18987
 
 
18988
 
  cat <<__EOF__ >> "$cfgfile"
18989
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18990
 
 
18991
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18992
 
 
18993
 
# Shell to use when invoking shell scripts.
18994
 
SHELL=$lt_SHELL
18995
 
 
18996
 
# Whether or not to build shared libraries.
18997
 
build_libtool_libs=$enable_shared
18998
 
 
18999
 
# Whether or not to build static libraries.
19000
 
build_old_libs=$enable_static
19001
 
 
19002
 
# Whether or not to add -lc for building shared libraries.
19003
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
19004
 
 
19005
 
# Whether or not to disallow shared libs when runtime libs are static
19006
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
19007
 
 
19008
 
# Whether or not to optimize for fast installation.
19009
 
fast_install=$enable_fast_install
19010
 
 
19011
 
# The host system.
19012
 
host_alias=$host_alias
19013
 
host=$host
19014
 
 
19015
 
# An echo program that does not interpret backslashes.
19016
 
echo=$lt_echo
19017
 
 
19018
 
# The archiver.
19019
 
AR=$lt_AR
19020
 
AR_FLAGS=$lt_AR_FLAGS
19021
 
 
19022
 
# A C compiler.
19023
 
LTCC=$lt_LTCC
19024
 
 
19025
 
# A language-specific compiler.
19026
 
CC=$lt_compiler_F77
19027
 
 
19028
 
# Is the compiler the GNU C compiler?
19029
 
with_gcc=$GCC_F77
19030
 
 
19031
 
# An ERE matcher.
19032
 
EGREP=$lt_EGREP
19033
 
 
19034
 
# The linker used to build libraries.
19035
 
LD=$lt_LD_F77
19036
 
 
19037
 
# Whether we need hard or soft links.
19038
 
LN_S=$lt_LN_S
19039
 
 
19040
 
# A BSD-compatible nm program.
19041
 
NM=$lt_NM
19042
 
 
19043
 
# A symbol stripping program
19044
 
STRIP=$STRIP
19045
 
 
19046
 
# Used to examine libraries when file_magic_cmd begins "file"
19047
 
MAGIC_CMD=$MAGIC_CMD
19048
 
 
19049
 
# Used on cygwin: DLL creation program.
19050
 
DLLTOOL="$DLLTOOL"
19051
 
 
19052
 
# Used on cygwin: object dumper.
19053
 
OBJDUMP="$OBJDUMP"
19054
 
 
19055
 
# Used on cygwin: assembler.
19056
 
AS="$AS"
19057
 
 
19058
 
# The name of the directory that contains temporary libtool files.
19059
 
objdir=$objdir
19060
 
 
19061
 
# How to create reloadable object files.
19062
 
reload_flag=$lt_reload_flag
19063
 
reload_cmds=$lt_reload_cmds
19064
 
 
19065
 
# How to pass a linker flag through the compiler.
19066
 
wl=$lt_lt_prog_compiler_wl_F77
19067
 
 
19068
 
# Object file suffix (normally "o").
19069
 
objext="$ac_objext"
19070
 
 
19071
 
# Old archive suffix (normally "a").
19072
 
libext="$libext"
19073
 
 
19074
 
# Shared library suffix (normally ".so").
19075
 
shrext='$shrext'
19076
 
 
19077
 
# Executable file suffix (normally "").
19078
 
exeext="$exeext"
19079
 
 
19080
 
# Additional compiler flags for building library objects.
19081
 
pic_flag=$lt_lt_prog_compiler_pic_F77
19082
 
pic_mode=$pic_mode
19083
 
 
19084
 
# What is the maximum length of a command?
19085
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19086
 
 
19087
 
# Does compiler simultaneously support -c and -o options?
19088
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
19089
 
 
19090
 
# Must we lock files when doing compilation ?
19091
 
need_locks=$lt_need_locks
19092
 
 
19093
 
# Do we need the lib prefix for modules?
19094
 
need_lib_prefix=$need_lib_prefix
19095
 
 
19096
 
# Do we need a version for libraries?
19097
 
need_version=$need_version
19098
 
 
19099
 
# Whether dlopen is supported.
19100
 
dlopen_support=$enable_dlopen
19101
 
 
19102
 
# Whether dlopen of programs is supported.
19103
 
dlopen_self=$enable_dlopen_self
19104
 
 
19105
 
# Whether dlopen of statically linked programs is supported.
19106
 
dlopen_self_static=$enable_dlopen_self_static
19107
 
 
19108
 
# Compiler flag to prevent dynamic linking.
19109
 
link_static_flag=$lt_lt_prog_compiler_static_F77
19110
 
 
19111
 
# Compiler flag to turn off builtin functions.
19112
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
19113
 
 
19114
 
# Compiler flag to allow reflexive dlopens.
19115
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
19116
 
 
19117
 
# Compiler flag to generate shared objects directly from archives.
19118
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
19119
 
 
19120
 
# Compiler flag to generate thread-safe objects.
19121
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
19122
 
 
19123
 
# Library versioning type.
19124
 
version_type=$version_type
19125
 
 
19126
 
# Format of library name prefix.
19127
 
libname_spec=$lt_libname_spec
19128
 
 
19129
 
# List of archive names.  First name is the real one, the rest are links.
19130
 
# The last name is the one that the linker finds with -lNAME.
19131
 
library_names_spec=$lt_library_names_spec
19132
 
 
19133
 
# The coded name of the library, if different from the real name.
19134
 
soname_spec=$lt_soname_spec
19135
 
 
19136
 
# Commands used to build and install an old-style archive.
19137
 
RANLIB=$lt_RANLIB
19138
 
old_archive_cmds=$lt_old_archive_cmds_F77
19139
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19140
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19141
 
 
19142
 
# Create an old-style archive from a shared archive.
19143
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
19144
 
 
19145
 
# Create a temporary old-style archive to link instead of a shared archive.
19146
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
19147
 
 
19148
 
# Commands used to build and install a shared archive.
19149
 
archive_cmds=$lt_archive_cmds_F77
19150
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
19151
 
postinstall_cmds=$lt_postinstall_cmds
19152
 
postuninstall_cmds=$lt_postuninstall_cmds
19153
 
 
19154
 
# Commands used to build a loadable module (assumed same as above if empty)
19155
 
module_cmds=$lt_module_cmds_F77
19156
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
19157
 
 
19158
 
# Commands to strip libraries.
19159
 
old_striplib=$lt_old_striplib
19160
 
striplib=$lt_striplib
19161
 
 
19162
 
# Dependencies to place before the objects being linked to create a
19163
 
# shared library.
19164
 
predep_objects=$lt_predep_objects_F77
19165
 
 
19166
 
# Dependencies to place after the objects being linked to create a
19167
 
# shared library.
19168
 
postdep_objects=$lt_postdep_objects_F77
19169
 
 
19170
 
# Dependencies to place before the objects being linked to create a
19171
 
# shared library.
19172
 
predeps=$lt_predeps_F77
19173
 
 
19174
 
# Dependencies to place after the objects being linked to create a
19175
 
# shared library.
19176
 
postdeps=$lt_postdeps_F77
19177
 
 
19178
 
# The library search path used internally by the compiler when linking
19179
 
# a shared library.
19180
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
19181
 
 
19182
 
# Method to check whether dependent libraries are shared objects.
19183
 
deplibs_check_method=$lt_deplibs_check_method
19184
 
 
19185
 
# Command to use when deplibs_check_method == file_magic.
19186
 
file_magic_cmd=$lt_file_magic_cmd
19187
 
 
19188
 
# Flag that allows shared libraries with undefined symbols to be built.
19189
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
19190
 
 
19191
 
# Flag that forces no undefined symbols.
19192
 
no_undefined_flag=$lt_no_undefined_flag_F77
19193
 
 
19194
 
# Commands used to finish a libtool library installation in a directory.
19195
 
finish_cmds=$lt_finish_cmds
19196
 
 
19197
 
# Same as above, but a single script fragment to be evaled but not shown.
19198
 
finish_eval=$lt_finish_eval
19199
 
 
19200
 
# Take the output of nm and produce a listing of raw symbols and C names.
19201
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19202
 
 
19203
 
# Transform the output of nm in a proper C declaration
19204
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19205
 
 
19206
 
# Transform the output of nm in a C name address pair
19207
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19208
 
 
19209
 
# This is the shared library runtime path variable.
19210
 
runpath_var=$runpath_var
19211
 
 
19212
 
# This is the shared library path variable.
19213
 
shlibpath_var=$shlibpath_var
19214
 
 
19215
 
# Is shlibpath searched before the hard-coded library search path?
19216
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19217
 
 
19218
 
# How to hardcode a shared library path into an executable.
19219
 
hardcode_action=$hardcode_action_F77
19220
 
 
19221
 
# Whether we should hardcode library paths into libraries.
19222
 
hardcode_into_libs=$hardcode_into_libs
19223
 
 
19224
 
# Flag to hardcode \$libdir into a binary during linking.
19225
 
# This must work even if \$libdir does not exist.
19226
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
19227
 
 
19228
 
# If ld is used when linking, flag to hardcode \$libdir into
19229
 
# a binary during linking. This must work even if \$libdir does
19230
 
# not exist.
19231
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
19232
 
 
19233
 
# Whether we need a single -rpath flag with a separated argument.
19234
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
19235
 
 
19236
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19237
 
# resulting binary.
19238
 
hardcode_direct=$hardcode_direct_F77
19239
 
 
19240
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19241
 
# resulting binary.
19242
 
hardcode_minus_L=$hardcode_minus_L_F77
19243
 
 
19244
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19245
 
# the resulting binary.
19246
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
19247
 
 
19248
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19249
 
# and all subsequent libraries and executables linked against it.
19250
 
hardcode_automatic=$hardcode_automatic_F77
19251
 
 
19252
 
# Variables whose values should be saved in libtool wrapper scripts and
19253
 
# restored at relink time.
19254
 
variables_saved_for_relink="$variables_saved_for_relink"
19255
 
 
19256
 
# Whether libtool must link a program against all its dependency libraries.
19257
 
link_all_deplibs=$link_all_deplibs_F77
19258
 
 
19259
 
# Compile-time system search path for libraries
19260
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19261
 
 
19262
 
# Run-time system search path for libraries
19263
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19264
 
 
19265
 
# Fix the shell variable \$srcfile for the compiler.
19266
 
fix_srcfile_path="$fix_srcfile_path_F77"
19267
 
 
19268
 
# Set to yes if exported symbols are required.
19269
 
always_export_symbols=$always_export_symbols_F77
19270
 
 
19271
 
# The commands to list exported symbols.
19272
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
19273
 
 
19274
 
# The commands to extract the exported symbol list from a shared archive.
19275
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19276
 
 
19277
 
# Symbols that should not be listed in the preloaded symbols.
19278
 
exclude_expsyms=$lt_exclude_expsyms_F77
19279
 
 
19280
 
# Symbols that must always be exported.
19281
 
include_expsyms=$lt_include_expsyms_F77
19282
 
 
19283
 
# ### END LIBTOOL TAG CONFIG: $tagname
19284
 
 
19285
 
__EOF__
19286
 
 
19287
 
 
19288
 
else
19289
 
  # If there is no Makefile yet, we rely on a make rule to execute
19290
 
  # `config.status --recheck' to rerun these tests and create the
19291
 
  # libtool script then.
19292
 
  test -f Makefile && make "$ltmain"
19293
 
fi
19294
 
 
19295
 
 
19296
 
ac_ext=c
19297
 
ac_cpp='$CPP $CPPFLAGS'
19298
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19299
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19300
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19301
 
 
19302
 
CC="$lt_save_CC"
19303
 
 
19304
 
        else
19305
 
          tagname=""
19306
 
        fi
19307
 
        ;;
19308
 
 
19309
 
      GCJ)
19310
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
19311
 
 
19312
 
 
19313
 
# Source file extension for Java test sources.
19314
 
ac_ext=java
19315
 
 
19316
 
# Object file extension for compiled Java test sources.
19317
 
objext=o
19318
 
objext_GCJ=$objext
19319
 
 
19320
 
# Code to be used in simple compile tests
19321
 
lt_simple_compile_test_code="class foo {}\n"
19322
 
 
19323
 
# Code to be used in simple link tests
19324
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
19325
 
 
19326
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19327
 
 
19328
 
# If no C compiler was specified, use CC.
19329
 
LTCC=${LTCC-"$CC"}
19330
 
 
19331
 
# Allow CC to be a program name with arguments.
19332
 
compiler=$CC
19333
 
 
19334
 
 
19335
 
# Allow CC to be a program name with arguments.
19336
 
lt_save_CC="$CC"
19337
 
CC=${GCJ-"gcj"}
19338
 
compiler=$CC
19339
 
compiler_GCJ=$CC
19340
 
 
19341
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
19342
 
archive_cmds_need_lc_GCJ=no
19343
 
 
19344
 
 
19345
 
lt_prog_compiler_no_builtin_flag_GCJ=
19346
 
 
19347
 
if test "$GCC" = yes; then
19348
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
19349
 
 
19350
 
 
19351
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
19352
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
19353
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
19354
 
  $as_echo_n "(cached) " >&6
19355
 
else
19356
 
  lt_cv_prog_compiler_rtti_exceptions=no
19357
 
  ac_outfile=conftest.$ac_objext
19358
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19359
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
19360
 
   # Insert the option either (1) after the last *FLAGS variable, or
19361
 
   # (2) before a word containing "conftest.", or (3) at the end.
19362
 
   # Note that $ac_compile itself does not contain backslashes and begins
19363
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19364
 
   # The option is referenced via a variable to avoid confusing sed.
19365
 
   lt_compile=`echo "$ac_compile" | $SED \
19366
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19367
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19368
 
   -e 's:$: $lt_compiler_flag:'`
19369
 
   (eval echo "\"\$as_me:19369: $lt_compile\"" >&5)
19370
 
   (eval "$lt_compile" 2>conftest.err)
19371
 
   ac_status=$?
19372
 
   cat conftest.err >&5
19373
 
   echo "$as_me:19373: \$? = $ac_status" >&5
19374
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19375
 
     # The compiler can only warn and ignore the option if not recognized
19376
 
     # So say no if there are warnings
19377
 
     if test ! -s conftest.err; then
19378
 
       lt_cv_prog_compiler_rtti_exceptions=yes
19379
 
     fi
19380
 
   fi
19381
 
   $rm conftest*
19382
 
 
19383
 
fi
19384
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
19385
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
19386
 
 
19387
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
19388
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
19389
 
else
19390
 
    :
19391
 
fi
19392
 
 
19393
 
fi
19394
 
 
19395
 
lt_prog_compiler_wl_GCJ=
19396
 
lt_prog_compiler_pic_GCJ=
19397
 
lt_prog_compiler_static_GCJ=
19398
 
 
19399
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19400
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
19401
 
 
19402
 
  if test "$GCC" = yes; then
19403
 
    lt_prog_compiler_wl_GCJ='-Wl,'
19404
 
    lt_prog_compiler_static_GCJ='-static'
19405
 
 
19406
 
    case $host_os in
19407
 
      aix*)
19408
 
      # All AIX code is PIC.
19409
 
      if test "$host_cpu" = ia64; then
19410
 
        # AIX 5 now supports IA64 processor
19411
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19412
 
      fi
19413
 
      ;;
19414
 
 
19415
 
    amigaos*)
19416
 
      # FIXME: we need at least 68020 code to build shared libraries, but
19417
 
      # adding the `-m68020' flag to GCC prevents building anything better,
19418
 
      # like `-m68040'.
19419
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
19420
 
      ;;
19421
 
 
19422
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19423
 
      # PIC is the default for these OSes.
19424
 
      ;;
19425
 
 
19426
 
    mingw* | pw32* | os2*)
19427
 
      # This hack is so that the source file can tell whether it is being
19428
 
      # built for inclusion in a dll (and should export symbols for example).
19429
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19430
 
      ;;
19431
 
 
19432
 
    darwin* | rhapsody*)
19433
 
      # PIC is the default on this platform
19434
 
      # Common symbols not allowed in MH_DYLIB files
19435
 
      lt_prog_compiler_pic_GCJ='-fno-common'
19436
 
      ;;
19437
 
 
19438
 
    msdosdjgpp*)
19439
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
19440
 
      # on systems that don't support them.
19441
 
      lt_prog_compiler_can_build_shared_GCJ=no
19442
 
      enable_shared=no
19443
 
      ;;
19444
 
 
19445
 
    sysv4*MP*)
19446
 
      if test -d /usr/nec; then
19447
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
19448
 
      fi
19449
 
      ;;
19450
 
 
19451
 
    hpux*)
19452
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19453
 
      # not for PA HP-UX.
19454
 
      case "$host_cpu" in
19455
 
      hppa*64*|ia64*)
19456
 
        # +Z the default
19457
 
        ;;
19458
 
      *)
19459
 
        lt_prog_compiler_pic_GCJ='-fPIC'
19460
 
        ;;
19461
 
      esac
19462
 
      ;;
19463
 
 
19464
 
    *)
19465
 
      lt_prog_compiler_pic_GCJ='-fPIC'
19466
 
      ;;
19467
 
    esac
19468
 
  else
19469
 
    # PORTME Check for flag to pass linker flags through the system compiler.
19470
 
    case $host_os in
19471
 
    aix*)
19472
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19473
 
      if test "$host_cpu" = ia64; then
19474
 
        # AIX 5 now supports IA64 processor
19475
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19476
 
      else
19477
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19478
 
      fi
19479
 
      ;;
19480
 
 
19481
 
    mingw* | pw32* | os2*)
19482
 
      # This hack is so that the source file can tell whether it is being
19483
 
      # built for inclusion in a dll (and should export symbols for example).
19484
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19485
 
      ;;
19486
 
 
19487
 
    hpux9* | hpux10* | hpux11*)
19488
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19489
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19490
 
      # not for PA HP-UX.
19491
 
      case "$host_cpu" in
19492
 
      hppa*64*|ia64*)
19493
 
        # +Z the default
19494
 
        ;;
19495
 
      *)
19496
 
        lt_prog_compiler_pic_GCJ='+Z'
19497
 
        ;;
19498
 
      esac
19499
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
19500
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19501
 
      ;;
19502
 
 
19503
 
    irix5* | irix6* | nonstopux*)
19504
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19505
 
      # PIC (with -KPIC) is the default.
19506
 
      lt_prog_compiler_static_GCJ='-non_shared'
19507
 
      ;;
19508
 
 
19509
 
    newsos6)
19510
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19511
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19512
 
      ;;
19513
 
 
19514
 
    linux*)
19515
 
      case $CC in
19516
 
      icc* | ecc*)
19517
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19518
 
        lt_prog_compiler_pic_GCJ='-KPIC'
19519
 
        lt_prog_compiler_static_GCJ='-static'
19520
 
        ;;
19521
 
      ccc*)
19522
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19523
 
        # All Alpha code is PIC.
19524
 
        lt_prog_compiler_static_GCJ='-non_shared'
19525
 
        ;;
19526
 
      esac
19527
 
      ;;
19528
 
 
19529
 
    osf3* | osf4* | osf5*)
19530
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19531
 
      # All OSF/1 code is PIC.
19532
 
      lt_prog_compiler_static_GCJ='-non_shared'
19533
 
      ;;
19534
 
 
19535
 
    sco3.2v5*)
19536
 
      lt_prog_compiler_pic_GCJ='-Kpic'
19537
 
      lt_prog_compiler_static_GCJ='-dn'
19538
 
      ;;
19539
 
 
19540
 
    solaris*)
19541
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19542
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19543
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19544
 
      ;;
19545
 
 
19546
 
    sunos4*)
19547
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
19548
 
      lt_prog_compiler_pic_GCJ='-PIC'
19549
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19550
 
      ;;
19551
 
 
19552
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19553
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19554
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19555
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19556
 
      ;;
19557
 
 
19558
 
    sysv4*MP*)
19559
 
      if test -d /usr/nec ;then
19560
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
19561
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19562
 
      fi
19563
 
      ;;
19564
 
 
19565
 
    uts4*)
19566
 
      lt_prog_compiler_pic_GCJ='-pic'
19567
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19568
 
      ;;
19569
 
 
19570
 
    *)
19571
 
      lt_prog_compiler_can_build_shared_GCJ=no
19572
 
      ;;
19573
 
    esac
19574
 
  fi
19575
 
 
19576
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19577
 
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
19578
 
 
19579
 
#
19580
 
# Check to make sure the PIC flag actually works.
19581
 
#
19582
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
19583
 
 
19584
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19585
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
19586
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
19587
 
  $as_echo_n "(cached) " >&6
19588
 
else
19589
 
  lt_prog_compiler_pic_works_GCJ=no
19590
 
  ac_outfile=conftest.$ac_objext
19591
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19592
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19593
 
   # Insert the option either (1) after the last *FLAGS variable, or
19594
 
   # (2) before a word containing "conftest.", or (3) at the end.
19595
 
   # Note that $ac_compile itself does not contain backslashes and begins
19596
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19597
 
   # The option is referenced via a variable to avoid confusing sed.
19598
 
   lt_compile=`echo "$ac_compile" | $SED \
19599
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19600
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19601
 
   -e 's:$: $lt_compiler_flag:'`
19602
 
   (eval echo "\"\$as_me:19602: $lt_compile\"" >&5)
19603
 
   (eval "$lt_compile" 2>conftest.err)
19604
 
   ac_status=$?
19605
 
   cat conftest.err >&5
19606
 
   echo "$as_me:19606: \$? = $ac_status" >&5
19607
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19608
 
     # The compiler can only warn and ignore the option if not recognized
19609
 
     # So say no if there are warnings
19610
 
     if test ! -s conftest.err; then
19611
 
       lt_prog_compiler_pic_works_GCJ=yes
19612
 
     fi
19613
 
   fi
19614
 
   $rm conftest*
19615
 
 
19616
 
fi
19617
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
19618
 
$as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
19619
 
 
19620
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
19621
 
    case $lt_prog_compiler_pic_GCJ in
19622
 
     "" | " "*) ;;
19623
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19624
 
     esac
19625
 
else
19626
 
    lt_prog_compiler_pic_GCJ=
19627
 
     lt_prog_compiler_can_build_shared_GCJ=no
19628
 
fi
19629
 
 
19630
 
fi
19631
 
case "$host_os" in
19632
 
  # For platforms which do not support PIC, -DPIC is meaningless:
19633
 
  *djgpp*)
19634
 
    lt_prog_compiler_pic_GCJ=
19635
 
    ;;
19636
 
  *)
19637
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19638
 
    ;;
19639
 
esac
19640
 
 
19641
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19642
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19643
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19644
 
  $as_echo_n "(cached) " >&6
19645
 
else
19646
 
  lt_cv_prog_compiler_c_o_GCJ=no
19647
 
   $rm -r conftest 2>/dev/null
19648
 
   mkdir conftest
19649
 
   cd conftest
19650
 
   mkdir out
19651
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19652
 
 
19653
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
19654
 
   # that will create temporary files in the current directory regardless of
19655
 
   # the output directory.  Thus, making CWD read-only will cause this test
19656
 
   # to fail, enabling locking or at least warning the user not to do parallel
19657
 
   # builds.
19658
 
   chmod -w .
19659
 
 
19660
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
19661
 
   # Insert the option either (1) after the last *FLAGS variable, or
19662
 
   # (2) before a word containing "conftest.", or (3) at the end.
19663
 
   # Note that $ac_compile itself does not contain backslashes and begins
19664
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19665
 
   lt_compile=`echo "$ac_compile" | $SED \
19666
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19667
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19668
 
   -e 's:$: $lt_compiler_flag:'`
19669
 
   (eval echo "\"\$as_me:19669: $lt_compile\"" >&5)
19670
 
   (eval "$lt_compile" 2>out/conftest.err)
19671
 
   ac_status=$?
19672
 
   cat out/conftest.err >&5
19673
 
   echo "$as_me:19673: \$? = $ac_status" >&5
19674
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
19675
 
   then
19676
 
     # The compiler can only warn and ignore the option if not recognized
19677
 
     # So say no if there are warnings
19678
 
     if test ! -s out/conftest.err; then
19679
 
       lt_cv_prog_compiler_c_o_GCJ=yes
19680
 
     fi
19681
 
   fi
19682
 
   chmod u+w .
19683
 
   $rm conftest* out/*
19684
 
   rmdir out
19685
 
   cd ..
19686
 
   rmdir conftest
19687
 
   $rm conftest*
19688
 
 
19689
 
fi
19690
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19691
 
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19692
 
 
19693
 
 
19694
 
hard_links="nottested"
19695
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19696
 
  # do not overwrite the value of need_locks provided by the user
19697
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19698
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
19699
 
  hard_links=yes
19700
 
  $rm conftest*
19701
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19702
 
  touch conftest.a
19703
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
19704
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19705
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
19706
 
$as_echo "$hard_links" >&6; }
19707
 
  if test "$hard_links" = no; then
19708
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19709
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19710
 
    need_locks=warn
19711
 
  fi
19712
 
else
19713
 
  need_locks=no
19714
 
fi
19715
 
 
19716
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19717
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19718
 
 
19719
 
  runpath_var=
19720
 
  allow_undefined_flag_GCJ=
19721
 
  enable_shared_with_static_runtimes_GCJ=no
19722
 
  archive_cmds_GCJ=
19723
 
  archive_expsym_cmds_GCJ=
19724
 
  old_archive_From_new_cmds_GCJ=
19725
 
  old_archive_from_expsyms_cmds_GCJ=
19726
 
  export_dynamic_flag_spec_GCJ=
19727
 
  whole_archive_flag_spec_GCJ=
19728
 
  thread_safe_flag_spec_GCJ=
19729
 
  hardcode_libdir_flag_spec_GCJ=
19730
 
  hardcode_libdir_flag_spec_ld_GCJ=
19731
 
  hardcode_libdir_separator_GCJ=
19732
 
  hardcode_direct_GCJ=no
19733
 
  hardcode_minus_L_GCJ=no
19734
 
  hardcode_shlibpath_var_GCJ=unsupported
19735
 
  link_all_deplibs_GCJ=unknown
19736
 
  hardcode_automatic_GCJ=no
19737
 
  module_cmds_GCJ=
19738
 
  module_expsym_cmds_GCJ=
19739
 
  always_export_symbols_GCJ=no
19740
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19741
 
  # include_expsyms should be a list of space-separated symbols to be *always*
19742
 
  # included in the symbol list
19743
 
  include_expsyms_GCJ=
19744
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
19745
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
19746
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19747
 
  # as well as any symbol that contains `d'.
19748
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
19749
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19750
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
19751
 
  # the symbol is explicitly referenced.  Since portable code cannot
19752
 
  # rely on this symbol name, it's probably fine to never include it in
19753
 
  # preloaded symbol tables.
19754
 
  extract_expsyms_cmds=
19755
 
 
19756
 
  case $host_os in
19757
 
  cygwin* | mingw* | pw32*)
19758
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
19759
 
    # When not using gcc, we currently assume that we are using
19760
 
    # Microsoft Visual C++.
19761
 
    if test "$GCC" != yes; then
19762
 
      with_gnu_ld=no
19763
 
    fi
19764
 
    ;;
19765
 
  openbsd*)
19766
 
    with_gnu_ld=no
19767
 
    ;;
19768
 
  esac
19769
 
 
19770
 
  ld_shlibs_GCJ=yes
19771
 
  if test "$with_gnu_ld" = yes; then
19772
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
19773
 
    wlarc='${wl}'
19774
 
 
19775
 
    # See if GNU ld supports shared libraries.
19776
 
    case $host_os in
19777
 
    aix3* | aix4* | aix5*)
19778
 
      # On AIX/PPC, the GNU linker is very broken
19779
 
      if test "$host_cpu" != ia64; then
19780
 
        ld_shlibs_GCJ=no
19781
 
        cat <<EOF 1>&2
19782
 
 
19783
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19784
 
*** to be unable to reliably create shared libraries on AIX.
19785
 
*** Therefore, libtool is disabling shared libraries support.  If you
19786
 
*** really care for shared libraries, you may want to modify your PATH
19787
 
*** so that a non-GNU linker is found, and then restart.
19788
 
 
19789
 
EOF
19790
 
      fi
19791
 
      ;;
19792
 
 
19793
 
    amigaos*)
19794
 
      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)'
19795
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19796
 
      hardcode_minus_L_GCJ=yes
19797
 
 
19798
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19799
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
19800
 
      # to version 4, is to share data among multiple programs linked
19801
 
      # with the same dynamic library.  Since this doesn't match the
19802
 
      # behavior of shared libraries on other platforms, we can't use
19803
 
      # them.
19804
 
      ld_shlibs_GCJ=no
19805
 
      ;;
19806
 
 
19807
 
    beos*)
19808
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19809
 
        allow_undefined_flag_GCJ=unsupported
19810
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19811
 
        # support --undefined.  This deserves some investigation.  FIXME
19812
 
        archive_cmds_GCJ='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19813
 
      else
19814
 
        ld_shlibs_GCJ=no
19815
 
      fi
19816
 
      ;;
19817
 
 
19818
 
    cygwin* | mingw* | pw32*)
19819
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19820
 
      # as there is no search path for DLLs.
19821
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19822
 
      allow_undefined_flag_GCJ=no
19823
 
      always_export_symbols_GCJ=no
19824
 
      enable_shared_with_static_runtimes_GCJ=yes
19825
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19826
 
 
19827
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19828
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19829
 
        # If the export-symbols file already is a .def file (1st line
19830
 
        # is EXPORTS), use it as is; otherwise, prepend...
19831
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19832
 
          cp $export_symbols $output_objdir/$soname.def;
19833
 
        else
19834
 
          echo EXPORTS > $output_objdir/$soname.def;
19835
 
          cat $export_symbols >> $output_objdir/$soname.def;
19836
 
        fi~
19837
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
19838
 
      else
19839
 
        ld_shlibs=no
19840
 
      fi
19841
 
      ;;
19842
 
 
19843
 
    netbsd*)
19844
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19845
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19846
 
        wlarc=
19847
 
      else
19848
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19849
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19850
 
      fi
19851
 
      ;;
19852
 
 
19853
 
    solaris* | sysv5*)
19854
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19855
 
        ld_shlibs_GCJ=no
19856
 
        cat <<EOF 1>&2
19857
 
 
19858
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19859
 
*** create shared libraries on Solaris systems.  Therefore, libtool
19860
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
19861
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
19862
 
*** your PATH or compiler configuration so that the native linker is
19863
 
*** used, and then restart.
19864
 
 
19865
 
EOF
19866
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19867
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19868
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19869
 
      else
19870
 
        ld_shlibs_GCJ=no
19871
 
      fi
19872
 
      ;;
19873
 
 
19874
 
    sunos4*)
19875
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19876
 
      wlarc=
19877
 
      hardcode_direct_GCJ=yes
19878
 
      hardcode_shlibpath_var_GCJ=no
19879
 
      ;;
19880
 
 
19881
 
    *)
19882
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19883
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19884
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19885
 
      else
19886
 
        ld_shlibs_GCJ=no
19887
 
      fi
19888
 
      ;;
19889
 
    esac
19890
 
 
19891
 
    if test "$ld_shlibs_GCJ" = yes; then
19892
 
      runpath_var=LD_RUN_PATH
19893
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19894
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19895
 
      # ancient GNU ld didn't support --whole-archive et. al.
19896
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19897
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19898
 
      else
19899
 
        whole_archive_flag_spec_GCJ=
19900
 
      fi
19901
 
    fi
19902
 
  else
19903
 
    # PORTME fill in a description of your system's linker (not GNU ld)
19904
 
    case $host_os in
19905
 
    aix3*)
19906
 
      allow_undefined_flag_GCJ=unsupported
19907
 
      always_export_symbols_GCJ=yes
19908
 
      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'
19909
 
      # Note: this linker hardcodes the directories in LIBPATH if there
19910
 
      # are no directories specified by -L.
19911
 
      hardcode_minus_L_GCJ=yes
19912
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
19913
 
        # Neither direct hardcoding nor static linking is supported with a
19914
 
        # broken collect2.
19915
 
        hardcode_direct_GCJ=unsupported
19916
 
      fi
19917
 
      ;;
19918
 
 
19919
 
    aix4* | aix5*)
19920
 
      if test "$host_cpu" = ia64; then
19921
 
        # On IA64, the linker does run time linking by default, so we don't
19922
 
        # have to do anything special.
19923
 
        aix_use_runtimelinking=no
19924
 
        exp_sym_flag='-Bexport'
19925
 
        no_entry_flag=""
19926
 
      else
19927
 
        # If we're using GNU nm, then we don't want the "-C" option.
19928
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
19929
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19930
 
          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'
19931
 
        else
19932
 
          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'
19933
 
        fi
19934
 
 
19935
 
        # KDE requires run time linking.  Make it the default.
19936
 
        aix_use_runtimelinking=yes
19937
 
        exp_sym_flag='-bexport'
19938
 
        no_entry_flag='-bnoentry'
19939
 
      fi
19940
 
 
19941
 
      # When large executables or shared objects are built, AIX ld can
19942
 
      # have problems creating the table of contents.  If linking a library
19943
 
      # or program results in "error TOC overflow" add -mminimal-toc to
19944
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19945
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19946
 
 
19947
 
      archive_cmds_GCJ=''
19948
 
      hardcode_direct_GCJ=yes
19949
 
      hardcode_libdir_separator_GCJ=':'
19950
 
      link_all_deplibs_GCJ=yes
19951
 
 
19952
 
      if test "$GCC" = yes; then
19953
 
        case $host_os in aix4.012|aix4.012.*)
19954
 
        # We only want to do this on AIX 4.2 and lower, the check
19955
 
        # below for broken collect2 doesn't work under 4.3+
19956
 
          collect2name=`${CC} -print-prog-name=collect2`
19957
 
          if test -f "$collect2name" && \
19958
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
19959
 
          then
19960
 
          # We have reworked collect2
19961
 
          hardcode_direct_GCJ=yes
19962
 
          else
19963
 
          # We have old collect2
19964
 
          hardcode_direct_GCJ=unsupported
19965
 
          # It fails to find uninstalled libraries when the uninstalled
19966
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
19967
 
          # to unsupported forces relinking
19968
 
          hardcode_minus_L_GCJ=yes
19969
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
19970
 
          hardcode_libdir_separator_GCJ=
19971
 
          fi
19972
 
        esac
19973
 
        shared_flag='-shared'
19974
 
      else
19975
 
        # not using gcc
19976
 
        if test "$host_cpu" = ia64; then
19977
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19978
 
        # chokes on -Wl,-G. The following line is correct:
19979
 
          shared_flag='-G'
19980
 
        else
19981
 
        if test "$aix_use_runtimelinking" = yes; then
19982
 
            shared_flag='-qmkshrobj ${wl}-G'
19983
 
          else
19984
 
            shared_flag='-qmkshrobj'
19985
 
        fi
19986
 
        fi
19987
 
      fi
19988
 
 
19989
 
      # Let the compiler handle the export list.
19990
 
      always_export_symbols_GCJ=no
19991
 
      if test "$aix_use_runtimelinking" = yes; then
19992
 
        # Warning - without using the other runtime loading flags (-brtl),
19993
 
        # -berok will link without error, but may produce a broken library.
19994
 
        allow_undefined_flag_GCJ='-berok'
19995
 
       # Determine the default libpath from the value encoded in an empty executable.
19996
 
        cat >conftest.$ac_ext <<_ACEOF
19997
 
/* confdefs.h.  */
19998
 
_ACEOF
19999
 
cat confdefs.h >>conftest.$ac_ext
20000
 
cat >>conftest.$ac_ext <<_ACEOF
20001
 
/* end confdefs.h.  */
20002
 
 
20003
 
int
20004
 
main ()
20005
 
{
20006
 
 
20007
 
  ;
20008
 
  return 0;
20009
 
}
20010
 
_ACEOF
20011
 
rm -f conftest.$ac_objext conftest$ac_exeext
20012
 
if { (ac_try="$ac_link"
20013
 
case "(($ac_try" in
20014
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20015
 
  *) ac_try_echo=$ac_try;;
20016
 
esac
20017
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20018
 
$as_echo "$ac_try_echo") >&5
20019
 
  (eval "$ac_link") 2>conftest.er1
20020
 
  ac_status=$?
20021
 
  grep -v '^ *+' conftest.er1 >conftest.err
20022
 
  rm -f conftest.er1
20023
 
  cat conftest.err >&5
20024
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025
 
  (exit $ac_status); } && {
20026
 
         test -z "$ac_c_werror_flag" ||
20027
 
         test ! -s conftest.err
20028
 
       } && test -s conftest$ac_exeext && {
20029
 
         test "$cross_compiling" = yes ||
20030
 
         $as_test_x conftest$ac_exeext
20031
 
       }; then
20032
 
 
20033
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
20034
 
}'`
20035
 
# Check for a 64-bit object if we didn't find anything.
20036
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
20037
 
}'`; fi
20038
 
else
20039
 
  $as_echo "$as_me: failed program was:" >&5
20040
 
sed 's/^/| /' conftest.$ac_ext >&5
20041
 
 
20042
 
 
20043
 
fi
20044
 
 
20045
 
rm -rf conftest.dSYM
20046
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20047
 
      conftest$ac_exeext conftest.$ac_ext
20048
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20049
 
 
20050
 
        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
20051
 
        archive_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
20052
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
20053
 
       else
20054
 
        if test "$host_cpu" = ia64; then
20055
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
20056
 
          allow_undefined_flag_GCJ="-z nodefs"
20057
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
20058
 
        else
20059
 
         # Determine the default libpath from the value encoded in an empty executable.
20060
 
         cat >conftest.$ac_ext <<_ACEOF
20061
 
/* confdefs.h.  */
20062
 
_ACEOF
20063
 
cat confdefs.h >>conftest.$ac_ext
20064
 
cat >>conftest.$ac_ext <<_ACEOF
20065
 
/* end confdefs.h.  */
20066
 
 
20067
 
int
20068
 
main ()
20069
 
{
20070
 
 
20071
 
  ;
20072
 
  return 0;
20073
 
}
20074
 
_ACEOF
20075
 
rm -f conftest.$ac_objext conftest$ac_exeext
20076
 
if { (ac_try="$ac_link"
20077
 
case "(($ac_try" in
20078
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20079
 
  *) ac_try_echo=$ac_try;;
20080
 
esac
20081
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20082
 
$as_echo "$ac_try_echo") >&5
20083
 
  (eval "$ac_link") 2>conftest.er1
20084
 
  ac_status=$?
20085
 
  grep -v '^ *+' conftest.er1 >conftest.err
20086
 
  rm -f conftest.er1
20087
 
  cat conftest.err >&5
20088
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089
 
  (exit $ac_status); } && {
20090
 
         test -z "$ac_c_werror_flag" ||
20091
 
         test ! -s conftest.err
20092
 
       } && test -s conftest$ac_exeext && {
20093
 
         test "$cross_compiling" = yes ||
20094
 
         $as_test_x conftest$ac_exeext
20095
 
       }; then
20096
 
 
20097
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
20098
 
}'`
20099
 
# Check for a 64-bit object if we didn't find anything.
20100
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
20101
 
}'`; fi
20102
 
else
20103
 
  $as_echo "$as_me: failed program was:" >&5
20104
 
sed 's/^/| /' conftest.$ac_ext >&5
20105
 
 
20106
 
 
20107
 
fi
20108
 
 
20109
 
rm -rf conftest.dSYM
20110
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20111
 
      conftest$ac_exeext conftest.$ac_ext
20112
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20113
 
 
20114
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
20115
 
          # Warning - without using the other run time loading flags,
20116
 
          # -berok will link without error, but may produce a broken library.
20117
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
20118
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
20119
 
          # -bexpall does not export symbols beginning with underscore (_)
20120
 
          always_export_symbols_GCJ=yes
20121
 
          # Exported symbols can be pulled into shared objects from archives
20122
 
          whole_archive_flag_spec_GCJ=' '
20123
 
          archive_cmds_need_lc_GCJ=yes
20124
 
          # This is similar to how AIX traditionally builds it's shared libraries.
20125
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
20126
 
        fi
20127
 
      fi
20128
 
      ;;
20129
 
 
20130
 
    amigaos*)
20131
 
      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)'
20132
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20133
 
      hardcode_minus_L_GCJ=yes
20134
 
      # see comment about different semantics on the GNU ld section
20135
 
      ld_shlibs_GCJ=no
20136
 
      ;;
20137
 
 
20138
 
    bsdi4*)
20139
 
      export_dynamic_flag_spec_GCJ=-rdynamic
20140
 
      ;;
20141
 
 
20142
 
    cygwin* | mingw* | pw32*)
20143
 
      # When not using gcc, we currently assume that we are using
20144
 
      # Microsoft Visual C++.
20145
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
20146
 
      # no search path for DLLs.
20147
 
      hardcode_libdir_flag_spec_GCJ=' '
20148
 
      allow_undefined_flag_GCJ=no
20149
 
      # Tell ltmain to make .lib files, not .a files.
20150
 
      libext=lib
20151
 
      # Tell ltmain to make .dll files, not .so files.
20152
 
      shrext=".dll"
20153
 
      # FIXME: Setting linknames here is a bad hack.
20154
 
      archive_cmds_GCJ='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20155
 
      # The linker will automatically build a .lib file if we build a DLL.
20156
 
      old_archive_From_new_cmds_GCJ='true'
20157
 
      # FIXME: Should let the user specify the lib program.
20158
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
20159
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
20160
 
      enable_shared_with_static_runtimes_GCJ=yes
20161
 
      ;;
20162
 
 
20163
 
    darwin* | rhapsody*)
20164
 
    if test "$GXX" = yes ; then
20165
 
      archive_cmds_need_lc_GCJ=no
20166
 
      case "$host_os" in
20167
 
      rhapsody* | darwin1.[012])
20168
 
        allow_undefined_flag_GCJ='-Wl,-undefined -Wl,suppress'
20169
 
        ;;
20170
 
      *) # Darwin 1.3 on
20171
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20172
 
          allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
20173
 
        else
20174
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
20175
 
            10.012)
20176
 
              allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
20177
 
              ;;
20178
 
            10.*)
20179
 
              allow_undefined_flag_GCJ='-Wl,-undefined -Wl,dynamic_lookup'
20180
 
              ;;
20181
 
          esac
20182
 
        fi
20183
 
        ;;
20184
 
      esac
20185
 
        lt_int_apple_cc_single_mod=no
20186
 
        output_verbose_link_cmd='echo'
20187
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
20188
 
          lt_int_apple_cc_single_mod=yes
20189
 
        fi
20190
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20191
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
20192
 
        else
20193
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
20194
 
      fi
20195
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
20196
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20197
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20198
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20199
 
        else
20200
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20201
 
        fi
20202
 
          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 $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20203
 
      hardcode_direct_GCJ=no
20204
 
      hardcode_automatic_GCJ=yes
20205
 
      hardcode_shlibpath_var_GCJ=unsupported
20206
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
20207
 
      link_all_deplibs_GCJ=yes
20208
 
    else
20209
 
      ld_shlibs_GCJ=no
20210
 
    fi
20211
 
      ;;
20212
 
 
20213
 
    dgux*)
20214
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20215
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20216
 
      hardcode_shlibpath_var_GCJ=no
20217
 
      ;;
20218
 
 
20219
 
    freebsd1*)
20220
 
      ld_shlibs_GCJ=no
20221
 
      ;;
20222
 
 
20223
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20224
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
20225
 
    # does not break anything, and helps significantly (at the cost of a little
20226
 
    # extra space).
20227
 
    freebsd2.2*)
20228
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20229
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20230
 
      hardcode_direct_GCJ=yes
20231
 
      hardcode_shlibpath_var_GCJ=no
20232
 
      ;;
20233
 
 
20234
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20235
 
    freebsd2*)
20236
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20237
 
      hardcode_direct_GCJ=yes
20238
 
      hardcode_minus_L_GCJ=yes
20239
 
      hardcode_shlibpath_var_GCJ=no
20240
 
      ;;
20241
 
 
20242
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20243
 
    freebsd* | kfreebsd*-gnu)
20244
 
      archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
20245
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20246
 
      hardcode_direct_GCJ=yes
20247
 
      hardcode_shlibpath_var_GCJ=no
20248
 
      ;;
20249
 
 
20250
 
    hpux9*)
20251
 
      if test "$GCC" = yes; then
20252
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
20253
 
      else
20254
 
        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'
20255
 
      fi
20256
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20257
 
      hardcode_libdir_separator_GCJ=:
20258
 
      hardcode_direct_GCJ=yes
20259
 
 
20260
 
      # hardcode_minus_L: Not really in the search PATH,
20261
 
      # but as the default location of the library.
20262
 
      hardcode_minus_L_GCJ=yes
20263
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
20264
 
      ;;
20265
 
 
20266
 
    hpux10* | hpux11*)
20267
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20268
 
        case "$host_cpu" in
20269
 
        hppa*64*|ia64*)
20270
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20271
 
          ;;
20272
 
        *)
20273
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
20274
 
          ;;
20275
 
        esac
20276
 
      else
20277
 
        case "$host_cpu" in
20278
 
        hppa*64*|ia64*)
20279
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
20280
 
          ;;
20281
 
        *)
20282
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20283
 
          ;;
20284
 
        esac
20285
 
      fi
20286
 
      if test "$with_gnu_ld" = no; then
20287
 
        case "$host_cpu" in
20288
 
        hppa*64*)
20289
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20290
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
20291
 
          hardcode_libdir_separator_GCJ=:
20292
 
          hardcode_direct_GCJ=no
20293
 
          hardcode_shlibpath_var_GCJ=no
20294
 
          ;;
20295
 
        ia64*)
20296
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
20297
 
          hardcode_direct_GCJ=no
20298
 
          hardcode_shlibpath_var_GCJ=no
20299
 
 
20300
 
          # hardcode_minus_L: Not really in the search PATH,
20301
 
          # but as the default location of the library.
20302
 
          hardcode_minus_L_GCJ=yes
20303
 
          ;;
20304
 
        *)
20305
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20306
 
          hardcode_libdir_separator_GCJ=:
20307
 
          hardcode_direct_GCJ=yes
20308
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
20309
 
 
20310
 
          # hardcode_minus_L: Not really in the search PATH,
20311
 
          # but as the default location of the library.
20312
 
          hardcode_minus_L_GCJ=yes
20313
 
          ;;
20314
 
        esac
20315
 
      fi
20316
 
      ;;
20317
 
 
20318
 
    irix5* | irix6* | nonstopux*)
20319
 
      if test "$GCC" = yes; then
20320
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20321
 
      else
20322
 
        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'
20323
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
20324
 
      fi
20325
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20326
 
      hardcode_libdir_separator_GCJ=:
20327
 
      link_all_deplibs_GCJ=yes
20328
 
      ;;
20329
 
 
20330
 
    netbsd*)
20331
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20332
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
20333
 
      else
20334
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
20335
 
      fi
20336
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20337
 
      hardcode_direct_GCJ=yes
20338
 
      hardcode_shlibpath_var_GCJ=no
20339
 
      ;;
20340
 
 
20341
 
    newsos6)
20342
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20343
 
      hardcode_direct_GCJ=yes
20344
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20345
 
      hardcode_libdir_separator_GCJ=:
20346
 
      hardcode_shlibpath_var_GCJ=no
20347
 
      ;;
20348
 
 
20349
 
    openbsd*)
20350
 
      hardcode_direct_GCJ=yes
20351
 
      hardcode_shlibpath_var_GCJ=no
20352
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20353
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20354
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20355
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
20356
 
      else
20357
 
       case $host_os in
20358
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20359
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20360
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
20361
 
           ;;
20362
 
         *)
20363
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20364
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20365
 
           ;;
20366
 
       esac
20367
 
      fi
20368
 
      ;;
20369
 
 
20370
 
    os2*)
20371
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20372
 
      hardcode_minus_L_GCJ=yes
20373
 
      allow_undefined_flag_GCJ=unsupported
20374
 
      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 $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
20375
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20376
 
      ;;
20377
 
 
20378
 
    osf3*)
20379
 
      if test "$GCC" = yes; then
20380
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20381
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20382
 
      else
20383
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20384
 
        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'
20385
 
      fi
20386
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20387
 
      hardcode_libdir_separator_GCJ=:
20388
 
      ;;
20389
 
 
20390
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
20391
 
      if test "$GCC" = yes; then
20392
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20393
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${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'
20394
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20395
 
      else
20396
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20397
 
        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'
20398
 
        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~
20399
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
20400
 
 
20401
 
        # Both c and cxx compiler support -rpath directly
20402
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20403
 
      fi
20404
 
      hardcode_libdir_separator_GCJ=:
20405
 
      ;;
20406
 
 
20407
 
    sco3.2v5*)
20408
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20409
 
      hardcode_shlibpath_var_GCJ=no
20410
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20411
 
      runpath_var=LD_RUN_PATH
20412
 
      hardcode_runpath_var=yes
20413
 
      ;;
20414
 
 
20415
 
    solaris*)
20416
 
      no_undefined_flag_GCJ=' -z text'
20417
 
      if test "$GCC" = yes; then
20418
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20419
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20420
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
20421
 
      else
20422
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20423
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20424
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20425
 
      fi
20426
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20427
 
      hardcode_shlibpath_var_GCJ=no
20428
 
      case $host_os in
20429
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
20430
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
20431
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
20432
 
      esac
20433
 
      link_all_deplibs_GCJ=yes
20434
 
      ;;
20435
 
 
20436
 
    sunos4*)
20437
 
      if test "x$host_vendor" = xsequent; then
20438
 
        # Use $CC to link under sequent, because it throws in some extra .o
20439
 
        # files that make .init and .fini sections work.
20440
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
20441
 
      else
20442
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20443
 
      fi
20444
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20445
 
      hardcode_direct_GCJ=yes
20446
 
      hardcode_minus_L_GCJ=yes
20447
 
      hardcode_shlibpath_var_GCJ=no
20448
 
      ;;
20449
 
 
20450
 
    sysv4)
20451
 
      case $host_vendor in
20452
 
        sni)
20453
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20454
 
          hardcode_direct_GCJ=yes # is this really true???
20455
 
        ;;
20456
 
        siemens)
20457
 
          ## LD is ld it makes a PLAMLIB
20458
 
          ## CC just makes a GrossModule.
20459
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20460
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20461
 
          hardcode_direct_GCJ=no
20462
 
        ;;
20463
 
        motorola)
20464
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20465
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20466
 
        ;;
20467
 
      esac
20468
 
      runpath_var='LD_RUN_PATH'
20469
 
      hardcode_shlibpath_var_GCJ=no
20470
 
      ;;
20471
 
 
20472
 
    sysv4.3*)
20473
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20474
 
      hardcode_shlibpath_var_GCJ=no
20475
 
      export_dynamic_flag_spec_GCJ='-Bexport'
20476
 
      ;;
20477
 
 
20478
 
    sysv4*MP*)
20479
 
      if test -d /usr/nec; then
20480
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20481
 
        hardcode_shlibpath_var_GCJ=no
20482
 
        runpath_var=LD_RUN_PATH
20483
 
        hardcode_runpath_var=yes
20484
 
        ld_shlibs_GCJ=yes
20485
 
      fi
20486
 
      ;;
20487
 
 
20488
 
    sysv4.2uw2*)
20489
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20490
 
      hardcode_direct_GCJ=yes
20491
 
      hardcode_minus_L_GCJ=no
20492
 
      hardcode_shlibpath_var_GCJ=no
20493
 
      hardcode_runpath_var=yes
20494
 
      runpath_var=LD_RUN_PATH
20495
 
      ;;
20496
 
 
20497
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
20498
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
20499
 
      if test "$GCC" = yes; then
20500
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20501
 
      else
20502
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20503
 
      fi
20504
 
      runpath_var='LD_RUN_PATH'
20505
 
      hardcode_shlibpath_var_GCJ=no
20506
 
      ;;
20507
 
 
20508
 
    sysv5*)
20509
 
      no_undefined_flag_GCJ=' -z text'
20510
 
      # $CC -shared without GNU ld will not create a library from C++
20511
 
      # object files and a static libstdc++, better avoid it by now
20512
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20513
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20514
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20515
 
      hardcode_libdir_flag_spec_GCJ=
20516
 
      hardcode_shlibpath_var_GCJ=no
20517
 
      runpath_var='LD_RUN_PATH'
20518
 
      ;;
20519
 
 
20520
 
    uts4*)
20521
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20522
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20523
 
      hardcode_shlibpath_var_GCJ=no
20524
 
      ;;
20525
 
 
20526
 
    *)
20527
 
      ld_shlibs_GCJ=no
20528
 
      ;;
20529
 
    esac
20530
 
  fi
20531
 
 
20532
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20533
 
$as_echo "$ld_shlibs_GCJ" >&6; }
20534
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20535
 
 
20536
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20537
 
if test "$GCC" = yes; then
20538
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20539
 
fi
20540
 
 
20541
 
#
20542
 
# Do we need to explicitly link libc?
20543
 
#
20544
 
case "x$archive_cmds_need_lc_GCJ" in
20545
 
x|xyes)
20546
 
  # Assume -lc should be added
20547
 
  archive_cmds_need_lc_GCJ=yes
20548
 
 
20549
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
20550
 
    case $archive_cmds_GCJ in
20551
 
    *'~'*)
20552
 
      # FIXME: we may have to deal with multi-command sequences.
20553
 
      ;;
20554
 
    '$CC '*)
20555
 
      # Test whether the compiler implicitly links with -lc since on some
20556
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20557
 
      # to ld, don't add -lc before -lgcc.
20558
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20559
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20560
 
      $rm conftest*
20561
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20562
 
 
20563
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20564
 
  (eval $ac_compile) 2>&5
20565
 
  ac_status=$?
20566
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567
 
  (exit $ac_status); } 2>conftest.err; then
20568
 
        soname=conftest
20569
 
        lib=conftest
20570
 
        libobjs=conftest.$ac_objext
20571
 
        deplibs=
20572
 
        wl=$lt_prog_compiler_wl_GCJ
20573
 
        compiler_flags=-v
20574
 
        linker_flags=-v
20575
 
        verstring=
20576
 
        output_objdir=.
20577
 
        libname=conftest
20578
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20579
 
        allow_undefined_flag_GCJ=
20580
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20581
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20582
 
  ac_status=$?
20583
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584
 
  (exit $ac_status); }
20585
 
        then
20586
 
          archive_cmds_need_lc_GCJ=no
20587
 
        else
20588
 
          archive_cmds_need_lc_GCJ=yes
20589
 
        fi
20590
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20591
 
      else
20592
 
        cat conftest.err 1>&5
20593
 
      fi
20594
 
      $rm conftest*
20595
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20596
 
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
20597
 
      ;;
20598
 
    esac
20599
 
  fi
20600
 
  ;;
20601
 
esac
20602
 
 
20603
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20604
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
20605
 
library_names_spec=
20606
 
libname_spec='lib$name'
20607
 
soname_spec=
20608
 
shrext=".so"
20609
 
postinstall_cmds=
20610
 
postuninstall_cmds=
20611
 
finish_cmds=
20612
 
finish_eval=
20613
 
shlibpath_var=
20614
 
shlibpath_overrides_runpath=unknown
20615
 
version_type=none
20616
 
dynamic_linker="$host_os ld.so"
20617
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20618
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20619
 
need_lib_prefix=unknown
20620
 
hardcode_into_libs=no
20621
 
 
20622
 
# when you set need_version to no, make sure it does not cause -set_version
20623
 
# flags to be left without arguments
20624
 
need_version=unknown
20625
 
 
20626
 
case $host_os in
20627
 
aix3*)
20628
 
  version_type=linux
20629
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20630
 
  shlibpath_var=LIBPATH
20631
 
 
20632
 
  # AIX 3 has no versioning support, so we append a major version to the name.
20633
 
  soname_spec='${libname}${release}${shared_ext}$major'
20634
 
  ;;
20635
 
 
20636
 
aix4* | aix5*)
20637
 
  version_type=linux
20638
 
  need_lib_prefix=no
20639
 
  need_version=no
20640
 
  hardcode_into_libs=yes
20641
 
  if test "$host_cpu" = ia64; then
20642
 
    # AIX 5 supports IA64
20643
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20644
 
    shlibpath_var=LD_LIBRARY_PATH
20645
 
  else
20646
 
    # With GCC up to 2.95.x, collect2 would create an import file
20647
 
    # for dependence libraries.  The import file would start with
20648
 
    # the line `#! .'.  This would cause the generated library to
20649
 
    # depend on `.', always an invalid library.  This was fixed in
20650
 
    # development snapshots of GCC prior to 3.0.
20651
 
    case $host_os in
20652
 
      aix4 | aix4.[01] | aix4.[01].*)
20653
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20654
 
           echo ' yes '
20655
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20656
 
        :
20657
 
      else
20658
 
        can_build_shared=no
20659
 
      fi
20660
 
      ;;
20661
 
    esac
20662
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20663
 
    # soname into executable. Probably we can add versioning support to
20664
 
    # collect2, so additional links can be useful in future.
20665
 
    if test "$aix_use_runtimelinking" = yes; then
20666
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20667
 
      # instead of lib<name>.a to let people know that these are not
20668
 
      # typical AIX shared libraries.
20669
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20670
 
    else
20671
 
      # We preserve .a as extension for shared libraries through AIX4.2
20672
 
      # and later when we are not doing run time linking.
20673
 
      library_names_spec='${libname}${release}.a $libname.a'
20674
 
      soname_spec='${libname}${release}${shared_ext}$major'
20675
 
    fi
20676
 
    shlibpath_var=LIBPATH
20677
 
  fi
20678
 
  ;;
20679
 
 
20680
 
amigaos*)
20681
 
  library_names_spec='$libname.ixlibrary $libname.a'
20682
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
20683
 
  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'
20684
 
  ;;
20685
 
 
20686
 
beos*)
20687
 
  library_names_spec='${libname}${shared_ext}'
20688
 
  dynamic_linker="$host_os ld.so"
20689
 
  shlibpath_var=LIBRARY_PATH
20690
 
  ;;
20691
 
 
20692
 
bsdi4*)
20693
 
  version_type=linux
20694
 
  need_version=no
20695
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20696
 
  soname_spec='${libname}${release}${shared_ext}$major'
20697
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20698
 
  shlibpath_var=LD_LIBRARY_PATH
20699
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20700
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20701
 
  # the default ld.so.conf also contains /usr/contrib/lib and
20702
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20703
 
  # libtool to hard-code these into programs
20704
 
  ;;
20705
 
 
20706
 
cygwin* | mingw* | pw32*)
20707
 
  version_type=windows
20708
 
  shrext=".dll"
20709
 
  need_version=no
20710
 
  need_lib_prefix=no
20711
 
 
20712
 
  case $GCC,$host_os in
20713
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
20714
 
    library_names_spec='$libname.dll.a'
20715
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
20716
 
    postinstall_cmds='base_file=`basename \${file}`~
20717
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20718
 
      dldir=$destdir/`dirname \$dlpath`~
20719
 
      test -d \$dldir || mkdir -p \$dldir~
20720
 
      $install_prog $dir/$dlname \$dldir/$dlname'
20721
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20722
 
      dlpath=$dir/\$dldll~
20723
 
       $rm \$dlpath'
20724
 
    shlibpath_overrides_runpath=yes
20725
 
 
20726
 
    case $host_os in
20727
 
    cygwin*)
20728
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20729
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20730
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20731
 
      ;;
20732
 
    mingw*)
20733
 
      # MinGW DLLs use traditional 'lib' prefix
20734
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20735
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20736
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20737
 
        # It is most probably a Windows format PATH printed by
20738
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
20739
 
        # path with ; separators, and with drive letters. We can handle the
20740
 
        # drive letters (cygwin fileutils understands them), so leave them,
20741
 
        # especially as we might pass files found there to a mingw objdump,
20742
 
        # which wouldn't understand a cygwinified path. Ahh.
20743
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20744
 
      else
20745
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20746
 
      fi
20747
 
      ;;
20748
 
    pw32*)
20749
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
20750
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
20751
 
      ;;
20752
 
    esac
20753
 
    ;;
20754
 
 
20755
 
  *)
20756
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20757
 
    ;;
20758
 
  esac
20759
 
  dynamic_linker='Win32 ld.exe'
20760
 
  # FIXME: first we should search . and the directory the executable is in
20761
 
  shlibpath_var=PATH
20762
 
  ;;
20763
 
 
20764
 
darwin* | rhapsody*)
20765
 
  dynamic_linker="$host_os dyld"
20766
 
  version_type=darwin
20767
 
  need_lib_prefix=no
20768
 
  need_version=no
20769
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20770
 
  soname_spec='${libname}${release}${major}$shared_ext'
20771
 
  shlibpath_overrides_runpath=yes
20772
 
  shlibpath_var=DYLD_LIBRARY_PATH
20773
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
20774
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20775
 
  if test "$GCC" = yes; then
20776
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
20777
 
  else
20778
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20779
 
  fi
20780
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20781
 
  ;;
20782
 
 
20783
 
dgux*)
20784
 
  version_type=linux
20785
 
  need_lib_prefix=no
20786
 
  need_version=no
20787
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20788
 
  soname_spec='${libname}${release}${shared_ext}$major'
20789
 
  shlibpath_var=LD_LIBRARY_PATH
20790
 
  ;;
20791
 
 
20792
 
freebsd1*)
20793
 
  dynamic_linker=no
20794
 
  ;;
20795
 
 
20796
 
kfreebsd*-gnu*)
20797
 
  version_type=linux
20798
 
  need_lib_prefix=no
20799
 
  need_version=no
20800
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20801
 
  soname_spec='${libname}${release}${shared_ext}$major'
20802
 
  shlibpath_var=LD_LIBRARY_PATH
20803
 
  shlibpath_overrides_runpath=no
20804
 
  hardcode_into_libs=yes
20805
 
  dynamic_linker='GNU ld.so'
20806
 
  ;;
20807
 
 
20808
 
freebsd*)
20809
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
20810
 
  version_type=freebsd-$objformat
20811
 
  case $version_type in
20812
 
    freebsd-elf*)
20813
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20814
 
      need_version=no
20815
 
      need_lib_prefix=no
20816
 
      ;;
20817
 
    freebsd-*)
20818
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20819
 
      need_version=yes
20820
 
      ;;
20821
 
  esac
20822
 
  shlibpath_var=LD_LIBRARY_PATH
20823
 
  case $host_os in
20824
 
  freebsd2*)
20825
 
    shlibpath_overrides_runpath=yes
20826
 
    ;;
20827
 
  freebsd3.01* | freebsdelf3.01*)
20828
 
    shlibpath_overrides_runpath=yes
20829
 
    hardcode_into_libs=yes
20830
 
    ;;
20831
 
  *) # from 3.2 on
20832
 
    shlibpath_overrides_runpath=no
20833
 
    hardcode_into_libs=yes
20834
 
    ;;
20835
 
  esac
20836
 
  ;;
20837
 
 
20838
 
gnu*)
20839
 
  version_type=linux
20840
 
  need_lib_prefix=no
20841
 
  need_version=no
20842
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20843
 
  soname_spec='${libname}${release}${shared_ext}$major'
20844
 
  shlibpath_var=LD_LIBRARY_PATH
20845
 
  hardcode_into_libs=yes
20846
 
  ;;
20847
 
 
20848
 
hpux9* | hpux10* | hpux11*)
20849
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
20850
 
  # link against other versions.
20851
 
  version_type=sunos
20852
 
  need_lib_prefix=no
20853
 
  need_version=no
20854
 
  case "$host_cpu" in
20855
 
  ia64*)
20856
 
    shrext='.so'
20857
 
    hardcode_into_libs=yes
20858
 
    dynamic_linker="$host_os dld.so"
20859
 
    shlibpath_var=LD_LIBRARY_PATH
20860
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20861
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20862
 
    soname_spec='${libname}${release}${shared_ext}$major'
20863
 
    if test "X$HPUX_IA64_MODE" = X32; then
20864
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20865
 
    else
20866
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20867
 
    fi
20868
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20869
 
    ;;
20870
 
   hppa*64*)
20871
 
     shrext='.sl'
20872
 
     hardcode_into_libs=yes
20873
 
     dynamic_linker="$host_os dld.sl"
20874
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20875
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20876
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20877
 
     soname_spec='${libname}${release}${shared_ext}$major'
20878
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20879
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20880
 
     ;;
20881
 
   *)
20882
 
    shrext='.sl'
20883
 
    dynamic_linker="$host_os dld.sl"
20884
 
    shlibpath_var=SHLIB_PATH
20885
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20886
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20887
 
    soname_spec='${libname}${release}${shared_ext}$major'
20888
 
    ;;
20889
 
  esac
20890
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
20891
 
  postinstall_cmds='chmod 555 $lib'
20892
 
  ;;
20893
 
 
20894
 
irix5* | irix6* | nonstopux*)
20895
 
  case $host_os in
20896
 
    nonstopux*) version_type=nonstopux ;;
20897
 
    *)
20898
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
20899
 
                version_type=linux
20900
 
        else
20901
 
                version_type=irix
20902
 
        fi ;;
20903
 
  esac
20904
 
  need_lib_prefix=no
20905
 
  need_version=no
20906
 
  soname_spec='${libname}${release}${shared_ext}$major'
20907
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20908
 
  case $host_os in
20909
 
  irix5* | nonstopux*)
20910
 
    libsuff= shlibsuff=
20911
 
    ;;
20912
 
  *)
20913
 
    case $LD in # libtool.m4 will add one of these switches to LD
20914
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20915
 
      libsuff= shlibsuff= libmagic=32-bit;;
20916
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20917
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
20918
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20919
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
20920
 
    *) libsuff= shlibsuff= libmagic=never-match;;
20921
 
    esac
20922
 
    ;;
20923
 
  esac
20924
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20925
 
  shlibpath_overrides_runpath=no
20926
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20927
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20928
 
  hardcode_into_libs=yes
20929
 
  ;;
20930
 
 
20931
 
# No shared lib support for Linux oldld, aout, or coff.
20932
 
linux*oldld* | linux*aout* | linux*coff*)
20933
 
  dynamic_linker=no
20934
 
  ;;
20935
 
 
20936
 
# This must be Linux ELF.
20937
 
linux*)
20938
 
  version_type=linux
20939
 
  need_lib_prefix=no
20940
 
  need_version=no
20941
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20942
 
  soname_spec='${libname}${release}${shared_ext}$major'
20943
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20944
 
  libsuff=
20945
 
  if test "x$LINUX_64_MODE" = x64; then
20946
 
    # Some platforms are per default 64-bit, so there's no /lib64
20947
 
    if test -d /lib64 -a ! -h /lib64; then
20948
 
      libsuff=64
20949
 
    fi
20950
 
  fi
20951
 
  shlibpath_var=LD_LIBRARY_PATH
20952
 
  shlibpath_overrides_runpath=no
20953
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
20954
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
20955
 
  # This implies no fast_install, which is unacceptable.
20956
 
  # Some rework will be needed to allow for fast_install
20957
 
  # before this can be enabled.
20958
 
  hardcode_into_libs=yes
20959
 
 
20960
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
20961
 
  # powerpc, because MkLinux only supported shared libraries with the
20962
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
20963
 
  # most powerpc-linux boxes support dynamic linking these days and
20964
 
  # people can always --disable-shared, the test was removed, and we
20965
 
  # assume the GNU/Linux dynamic linker is in use.
20966
 
  dynamic_linker='GNU/Linux ld.so'
20967
 
  ;;
20968
 
 
20969
 
netbsd*)
20970
 
  version_type=sunos
20971
 
  need_lib_prefix=no
20972
 
  need_version=no
20973
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20974
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20975
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20976
 
    dynamic_linker='NetBSD (a.out) ld.so'
20977
 
  else
20978
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
20979
 
    soname_spec='${libname}${release}${shared_ext}$major'
20980
 
    dynamic_linker='NetBSD ld.elf_so'
20981
 
  fi
20982
 
  shlibpath_var=LD_LIBRARY_PATH
20983
 
  shlibpath_overrides_runpath=yes
20984
 
  hardcode_into_libs=yes
20985
 
  ;;
20986
 
 
20987
 
newsos6)
20988
 
  version_type=linux
20989
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20990
 
  shlibpath_var=LD_LIBRARY_PATH
20991
 
  shlibpath_overrides_runpath=yes
20992
 
  ;;
20993
 
 
20994
 
nto-qnx*)
20995
 
  version_type=linux
20996
 
  need_lib_prefix=no
20997
 
  need_version=no
20998
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20999
 
  soname_spec='${libname}${release}${shared_ext}$major'
21000
 
  shlibpath_var=LD_LIBRARY_PATH
21001
 
  shlibpath_overrides_runpath=yes
21002
 
  ;;
21003
 
 
21004
 
openbsd*)
21005
 
  version_type=sunos
21006
 
  need_lib_prefix=no
21007
 
  need_version=no
21008
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21009
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21010
 
  shlibpath_var=LD_LIBRARY_PATH
21011
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21012
 
    case $host_os in
21013
 
      openbsd2.[89] | openbsd2.[89].*)
21014
 
        shlibpath_overrides_runpath=no
21015
 
        ;;
21016
 
      *)
21017
 
        shlibpath_overrides_runpath=yes
21018
 
        ;;
21019
 
      esac
21020
 
  else
21021
 
    shlibpath_overrides_runpath=yes
21022
 
  fi
21023
 
  ;;
21024
 
 
21025
 
os2*)
21026
 
  libname_spec='$name'
21027
 
  shrext=".dll"
21028
 
  need_lib_prefix=no
21029
 
  library_names_spec='$libname${shared_ext} $libname.a'
21030
 
  dynamic_linker='OS/2 ld.exe'
21031
 
  shlibpath_var=LIBPATH
21032
 
  ;;
21033
 
 
21034
 
osf3* | osf4* | osf5*)
21035
 
  version_type=osf
21036
 
  need_lib_prefix=no
21037
 
  need_version=no
21038
 
  soname_spec='${libname}${release}${shared_ext}$major'
21039
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21040
 
  shlibpath_var=LD_LIBRARY_PATH
21041
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21042
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21043
 
  ;;
21044
 
 
21045
 
sco3.2v5*)
21046
 
  version_type=osf
21047
 
  soname_spec='${libname}${release}${shared_ext}$major'
21048
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21049
 
  shlibpath_var=LD_LIBRARY_PATH
21050
 
  ;;
21051
 
 
21052
 
solaris*)
21053
 
  version_type=linux
21054
 
  need_lib_prefix=no
21055
 
  need_version=no
21056
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21057
 
  soname_spec='${libname}${release}${shared_ext}$major'
21058
 
  shlibpath_var=LD_LIBRARY_PATH
21059
 
  shlibpath_overrides_runpath=yes
21060
 
  hardcode_into_libs=yes
21061
 
  # ldd complains unless libraries are executable
21062
 
  postinstall_cmds='chmod +x $lib'
21063
 
  ;;
21064
 
 
21065
 
sunos4*)
21066
 
  version_type=sunos
21067
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21068
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21069
 
  shlibpath_var=LD_LIBRARY_PATH
21070
 
  shlibpath_overrides_runpath=yes
21071
 
  if test "$with_gnu_ld" = yes; then
21072
 
    need_lib_prefix=no
21073
 
  fi
21074
 
  need_version=yes
21075
 
  ;;
21076
 
 
21077
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
21078
 
  version_type=linux
21079
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21080
 
  soname_spec='${libname}${release}${shared_ext}$major'
21081
 
  shlibpath_var=LD_LIBRARY_PATH
21082
 
  case $host_vendor in
21083
 
    sni)
21084
 
      shlibpath_overrides_runpath=no
21085
 
      need_lib_prefix=no
21086
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
21087
 
      runpath_var=LD_RUN_PATH
21088
 
      ;;
21089
 
    siemens)
21090
 
      need_lib_prefix=no
21091
 
      ;;
21092
 
    motorola)
21093
 
      need_lib_prefix=no
21094
 
      need_version=no
21095
 
      shlibpath_overrides_runpath=no
21096
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21097
 
      ;;
21098
 
  esac
21099
 
  ;;
21100
 
 
21101
 
sysv4*MP*)
21102
 
  if test -d /usr/nec ;then
21103
 
    version_type=linux
21104
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21105
 
    soname_spec='$libname${shared_ext}.$major'
21106
 
    shlibpath_var=LD_LIBRARY_PATH
21107
 
  fi
21108
 
  ;;
21109
 
 
21110
 
uts4*)
21111
 
  version_type=linux
21112
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21113
 
  soname_spec='${libname}${release}${shared_ext}$major'
21114
 
  shlibpath_var=LD_LIBRARY_PATH
21115
 
  ;;
21116
 
 
21117
 
*)
21118
 
  dynamic_linker=no
21119
 
  ;;
21120
 
esac
21121
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21122
 
$as_echo "$dynamic_linker" >&6; }
21123
 
test "$dynamic_linker" = no && can_build_shared=no
21124
 
 
21125
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21126
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
21127
 
hardcode_action_GCJ=
21128
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
21129
 
   test -n "$runpath_var GCJ" || \
21130
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
21131
 
 
21132
 
  # We can hardcode non-existant directories.
21133
 
  if test "$hardcode_direct_GCJ" != no &&
21134
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
21135
 
     # have to relink, otherwise we might link with an installed library
21136
 
     # when we should be linking with a yet-to-be-installed one
21137
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
21138
 
     test "$hardcode_minus_L_GCJ" != no; then
21139
 
    # Linking always hardcodes the temporary library directory.
21140
 
    hardcode_action_GCJ=relink
21141
 
  else
21142
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
21143
 
    hardcode_action_GCJ=immediate
21144
 
  fi
21145
 
else
21146
 
  # We cannot hardcode anything, or else we can only hardcode existing
21147
 
  # directories.
21148
 
  hardcode_action_GCJ=unsupported
21149
 
fi
21150
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
21151
 
$as_echo "$hardcode_action_GCJ" >&6; }
21152
 
 
21153
 
if test "$hardcode_action_GCJ" = relink; then
21154
 
  # Fast installation is not supported
21155
 
  enable_fast_install=no
21156
 
elif test "$shlibpath_overrides_runpath" = yes ||
21157
 
     test "$enable_shared" = no; then
21158
 
  # Fast installation is not necessary
21159
 
  enable_fast_install=needless
21160
 
fi
21161
 
 
21162
 
striplib=
21163
 
old_striplib=
21164
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
21165
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
21166
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
21167
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
21168
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
21169
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
21170
 
$as_echo "yes" >&6; }
21171
 
else
21172
 
# FIXME - insert some real tests, host_os isn't really good enough
21173
 
  case $host_os in
21174
 
   darwin*)
21175
 
       if test -n "$STRIP" ; then
21176
 
         striplib="$STRIP -x"
21177
 
         { $as_echo "$as_me:$LINENO: result: yes" >&5
21178
 
$as_echo "yes" >&6; }
21179
 
       else
21180
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
21181
 
$as_echo "no" >&6; }
21182
 
fi
21183
 
       ;;
21184
 
   *)
21185
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
21186
 
$as_echo "no" >&6; }
21187
 
    ;;
21188
 
  esac
21189
 
fi
21190
 
 
21191
 
if test "x$enable_dlopen" != xyes; then
21192
 
  enable_dlopen=unknown
21193
 
  enable_dlopen_self=unknown
21194
 
  enable_dlopen_self_static=unknown
21195
 
else
21196
 
  lt_cv_dlopen=no
21197
 
  lt_cv_dlopen_libs=
21198
 
 
21199
 
  case $host_os in
21200
 
  beos*)
21201
 
    lt_cv_dlopen="load_add_on"
21202
 
    lt_cv_dlopen_libs=
21203
 
    lt_cv_dlopen_self=yes
21204
 
    ;;
21205
 
 
21206
 
  mingw* | pw32*)
21207
 
    lt_cv_dlopen="LoadLibrary"
21208
 
    lt_cv_dlopen_libs=
21209
 
   ;;
21210
 
 
21211
 
  cygwin*)
21212
 
    lt_cv_dlopen="dlopen"
21213
 
    lt_cv_dlopen_libs=
21214
 
   ;;
21215
 
 
21216
 
  darwin*)
21217
 
  # if libdl is installed we need to link against it
21218
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21219
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
21220
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21221
 
  $as_echo_n "(cached) " >&6
21222
 
else
21223
 
  ac_check_lib_save_LIBS=$LIBS
21224
 
LIBS="-ldl  $LIBS"
21225
 
cat >conftest.$ac_ext <<_ACEOF
21226
 
/* confdefs.h.  */
21227
 
_ACEOF
21228
 
cat confdefs.h >>conftest.$ac_ext
21229
 
cat >>conftest.$ac_ext <<_ACEOF
21230
 
/* end confdefs.h.  */
21231
 
 
21232
 
/* Override any GCC internal prototype to avoid an error.
21233
 
   Use char because int might match the return type of a GCC
21234
 
   builtin and then its argument prototype would still apply.  */
21235
 
#ifdef __cplusplus
21236
 
extern "C"
21237
 
#endif
21238
 
char dlopen ();
21239
 
int
21240
 
main ()
21241
 
{
21242
 
return dlopen ();
21243
 
  ;
21244
 
  return 0;
21245
 
}
21246
 
_ACEOF
21247
 
rm -f conftest.$ac_objext conftest$ac_exeext
21248
 
if { (ac_try="$ac_link"
21249
 
case "(($ac_try" in
21250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21251
 
  *) ac_try_echo=$ac_try;;
21252
 
esac
21253
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21254
 
$as_echo "$ac_try_echo") >&5
21255
 
  (eval "$ac_link") 2>conftest.er1
21256
 
  ac_status=$?
21257
 
  grep -v '^ *+' conftest.er1 >conftest.err
21258
 
  rm -f conftest.er1
21259
 
  cat conftest.err >&5
21260
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261
 
  (exit $ac_status); } && {
21262
 
         test -z "$ac_c_werror_flag" ||
21263
 
         test ! -s conftest.err
21264
 
       } && test -s conftest$ac_exeext && {
21265
 
         test "$cross_compiling" = yes ||
21266
 
         $as_test_x conftest$ac_exeext
21267
 
       }; then
21268
 
  ac_cv_lib_dl_dlopen=yes
21269
 
else
21270
 
  $as_echo "$as_me: failed program was:" >&5
21271
 
sed 's/^/| /' conftest.$ac_ext >&5
21272
 
 
21273
 
        ac_cv_lib_dl_dlopen=no
21274
 
fi
21275
 
 
21276
 
rm -rf conftest.dSYM
21277
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21278
 
      conftest$ac_exeext conftest.$ac_ext
21279
 
LIBS=$ac_check_lib_save_LIBS
21280
 
fi
21281
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21282
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
21283
 
if test $ac_cv_lib_dl_dlopen = yes; then
21284
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21285
 
else
21286
 
 
21287
 
    lt_cv_dlopen="dyld"
21288
 
    lt_cv_dlopen_libs=
21289
 
    lt_cv_dlopen_self=yes
21290
 
 
21291
 
fi
21292
 
 
21293
 
   ;;
21294
 
 
21295
 
  *)
21296
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
21297
 
$as_echo_n "checking for shl_load... " >&6; }
21298
 
if test "${ac_cv_func_shl_load+set}" = set; then
21299
 
  $as_echo_n "(cached) " >&6
21300
 
else
21301
 
  cat >conftest.$ac_ext <<_ACEOF
21302
 
/* confdefs.h.  */
21303
 
_ACEOF
21304
 
cat confdefs.h >>conftest.$ac_ext
21305
 
cat >>conftest.$ac_ext <<_ACEOF
21306
 
/* end confdefs.h.  */
21307
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
21308
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21309
 
#define shl_load innocuous_shl_load
21310
 
 
21311
 
/* System header to define __stub macros and hopefully few prototypes,
21312
 
    which can conflict with char shl_load (); below.
21313
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21314
 
    <limits.h> exists even on freestanding compilers.  */
21315
 
 
21316
 
#ifdef __STDC__
21317
 
# include <limits.h>
21318
 
#else
21319
 
# include <assert.h>
21320
 
#endif
21321
 
 
21322
 
#undef shl_load
21323
 
 
21324
 
/* Override any GCC internal prototype to avoid an error.
21325
 
   Use char because int might match the return type of a GCC
21326
 
   builtin and then its argument prototype would still apply.  */
21327
 
#ifdef __cplusplus
21328
 
extern "C"
21329
 
#endif
21330
 
char shl_load ();
21331
 
/* The GNU C library defines this for functions which it implements
21332
 
    to always fail with ENOSYS.  Some functions are actually named
21333
 
    something starting with __ and the normal name is an alias.  */
21334
 
#if defined __stub_shl_load || defined __stub___shl_load
21335
 
choke me
21336
 
#endif
21337
 
 
21338
 
int
21339
 
main ()
21340
 
{
21341
 
return shl_load ();
21342
 
  ;
21343
 
  return 0;
21344
 
}
21345
 
_ACEOF
21346
 
rm -f conftest.$ac_objext conftest$ac_exeext
21347
 
if { (ac_try="$ac_link"
21348
 
case "(($ac_try" in
21349
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21350
 
  *) ac_try_echo=$ac_try;;
21351
 
esac
21352
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21353
 
$as_echo "$ac_try_echo") >&5
21354
 
  (eval "$ac_link") 2>conftest.er1
21355
 
  ac_status=$?
21356
 
  grep -v '^ *+' conftest.er1 >conftest.err
21357
 
  rm -f conftest.er1
21358
 
  cat conftest.err >&5
21359
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360
 
  (exit $ac_status); } && {
21361
 
         test -z "$ac_c_werror_flag" ||
21362
 
         test ! -s conftest.err
21363
 
       } && test -s conftest$ac_exeext && {
21364
 
         test "$cross_compiling" = yes ||
21365
 
         $as_test_x conftest$ac_exeext
21366
 
       }; then
21367
 
  ac_cv_func_shl_load=yes
21368
 
else
21369
 
  $as_echo "$as_me: failed program was:" >&5
21370
 
sed 's/^/| /' conftest.$ac_ext >&5
21371
 
 
21372
 
        ac_cv_func_shl_load=no
21373
 
fi
21374
 
 
21375
 
rm -rf conftest.dSYM
21376
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21377
 
      conftest$ac_exeext conftest.$ac_ext
21378
 
fi
21379
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
21380
 
$as_echo "$ac_cv_func_shl_load" >&6; }
21381
 
if test $ac_cv_func_shl_load = yes; then
21382
 
  lt_cv_dlopen="shl_load"
21383
 
else
21384
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
21385
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
21386
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
21387
 
  $as_echo_n "(cached) " >&6
21388
 
else
21389
 
  ac_check_lib_save_LIBS=$LIBS
21390
 
LIBS="-ldld  $LIBS"
21391
 
cat >conftest.$ac_ext <<_ACEOF
21392
 
/* confdefs.h.  */
21393
 
_ACEOF
21394
 
cat confdefs.h >>conftest.$ac_ext
21395
 
cat >>conftest.$ac_ext <<_ACEOF
21396
 
/* end confdefs.h.  */
21397
 
 
21398
 
/* Override any GCC internal prototype to avoid an error.
21399
 
   Use char because int might match the return type of a GCC
21400
 
   builtin and then its argument prototype would still apply.  */
21401
 
#ifdef __cplusplus
21402
 
extern "C"
21403
 
#endif
21404
 
char shl_load ();
21405
 
int
21406
 
main ()
21407
 
{
21408
 
return shl_load ();
21409
 
  ;
21410
 
  return 0;
21411
 
}
21412
 
_ACEOF
21413
 
rm -f conftest.$ac_objext conftest$ac_exeext
21414
 
if { (ac_try="$ac_link"
21415
 
case "(($ac_try" in
21416
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21417
 
  *) ac_try_echo=$ac_try;;
21418
 
esac
21419
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21420
 
$as_echo "$ac_try_echo") >&5
21421
 
  (eval "$ac_link") 2>conftest.er1
21422
 
  ac_status=$?
21423
 
  grep -v '^ *+' conftest.er1 >conftest.err
21424
 
  rm -f conftest.er1
21425
 
  cat conftest.err >&5
21426
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427
 
  (exit $ac_status); } && {
21428
 
         test -z "$ac_c_werror_flag" ||
21429
 
         test ! -s conftest.err
21430
 
       } && test -s conftest$ac_exeext && {
21431
 
         test "$cross_compiling" = yes ||
21432
 
         $as_test_x conftest$ac_exeext
21433
 
       }; then
21434
 
  ac_cv_lib_dld_shl_load=yes
21435
 
else
21436
 
  $as_echo "$as_me: failed program was:" >&5
21437
 
sed 's/^/| /' conftest.$ac_ext >&5
21438
 
 
21439
 
        ac_cv_lib_dld_shl_load=no
21440
 
fi
21441
 
 
21442
 
rm -rf conftest.dSYM
21443
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21444
 
      conftest$ac_exeext conftest.$ac_ext
21445
 
LIBS=$ac_check_lib_save_LIBS
21446
 
fi
21447
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
21448
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
21449
 
if test $ac_cv_lib_dld_shl_load = yes; then
21450
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
21451
 
else
21452
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
21453
 
$as_echo_n "checking for dlopen... " >&6; }
21454
 
if test "${ac_cv_func_dlopen+set}" = set; then
21455
 
  $as_echo_n "(cached) " >&6
21456
 
else
21457
 
  cat >conftest.$ac_ext <<_ACEOF
21458
 
/* confdefs.h.  */
21459
 
_ACEOF
21460
 
cat confdefs.h >>conftest.$ac_ext
21461
 
cat >>conftest.$ac_ext <<_ACEOF
21462
 
/* end confdefs.h.  */
21463
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
21464
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21465
 
#define dlopen innocuous_dlopen
21466
 
 
21467
 
/* System header to define __stub macros and hopefully few prototypes,
21468
 
    which can conflict with char dlopen (); below.
21469
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21470
 
    <limits.h> exists even on freestanding compilers.  */
21471
 
 
21472
 
#ifdef __STDC__
21473
 
# include <limits.h>
21474
 
#else
21475
 
# include <assert.h>
21476
 
#endif
21477
 
 
21478
 
#undef dlopen
21479
 
 
21480
 
/* Override any GCC internal prototype to avoid an error.
21481
 
   Use char because int might match the return type of a GCC
21482
 
   builtin and then its argument prototype would still apply.  */
21483
 
#ifdef __cplusplus
21484
 
extern "C"
21485
 
#endif
21486
 
char dlopen ();
21487
 
/* The GNU C library defines this for functions which it implements
21488
 
    to always fail with ENOSYS.  Some functions are actually named
21489
 
    something starting with __ and the normal name is an alias.  */
21490
 
#if defined __stub_dlopen || defined __stub___dlopen
21491
 
choke me
21492
 
#endif
21493
 
 
21494
 
int
21495
 
main ()
21496
 
{
21497
 
return dlopen ();
21498
 
  ;
21499
 
  return 0;
21500
 
}
21501
 
_ACEOF
21502
 
rm -f conftest.$ac_objext conftest$ac_exeext
21503
 
if { (ac_try="$ac_link"
21504
 
case "(($ac_try" in
21505
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21506
 
  *) ac_try_echo=$ac_try;;
21507
 
esac
21508
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21509
 
$as_echo "$ac_try_echo") >&5
21510
 
  (eval "$ac_link") 2>conftest.er1
21511
 
  ac_status=$?
21512
 
  grep -v '^ *+' conftest.er1 >conftest.err
21513
 
  rm -f conftest.er1
21514
 
  cat conftest.err >&5
21515
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516
 
  (exit $ac_status); } && {
21517
 
         test -z "$ac_c_werror_flag" ||
21518
 
         test ! -s conftest.err
21519
 
       } && test -s conftest$ac_exeext && {
21520
 
         test "$cross_compiling" = yes ||
21521
 
         $as_test_x conftest$ac_exeext
21522
 
       }; then
21523
 
  ac_cv_func_dlopen=yes
21524
 
else
21525
 
  $as_echo "$as_me: failed program was:" >&5
21526
 
sed 's/^/| /' conftest.$ac_ext >&5
21527
 
 
21528
 
        ac_cv_func_dlopen=no
21529
 
fi
21530
 
 
21531
 
rm -rf conftest.dSYM
21532
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21533
 
      conftest$ac_exeext conftest.$ac_ext
21534
 
fi
21535
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
21536
 
$as_echo "$ac_cv_func_dlopen" >&6; }
21537
 
if test $ac_cv_func_dlopen = yes; then
21538
 
  lt_cv_dlopen="dlopen"
21539
 
else
21540
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21541
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
21542
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21543
 
  $as_echo_n "(cached) " >&6
21544
 
else
21545
 
  ac_check_lib_save_LIBS=$LIBS
21546
 
LIBS="-ldl  $LIBS"
21547
 
cat >conftest.$ac_ext <<_ACEOF
21548
 
/* confdefs.h.  */
21549
 
_ACEOF
21550
 
cat confdefs.h >>conftest.$ac_ext
21551
 
cat >>conftest.$ac_ext <<_ACEOF
21552
 
/* end confdefs.h.  */
21553
 
 
21554
 
/* Override any GCC internal prototype to avoid an error.
21555
 
   Use char because int might match the return type of a GCC
21556
 
   builtin and then its argument prototype would still apply.  */
21557
 
#ifdef __cplusplus
21558
 
extern "C"
21559
 
#endif
21560
 
char dlopen ();
21561
 
int
21562
 
main ()
21563
 
{
21564
 
return dlopen ();
21565
 
  ;
21566
 
  return 0;
21567
 
}
21568
 
_ACEOF
21569
 
rm -f conftest.$ac_objext conftest$ac_exeext
21570
 
if { (ac_try="$ac_link"
21571
 
case "(($ac_try" in
21572
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21573
 
  *) ac_try_echo=$ac_try;;
21574
 
esac
21575
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21576
 
$as_echo "$ac_try_echo") >&5
21577
 
  (eval "$ac_link") 2>conftest.er1
21578
 
  ac_status=$?
21579
 
  grep -v '^ *+' conftest.er1 >conftest.err
21580
 
  rm -f conftest.er1
21581
 
  cat conftest.err >&5
21582
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583
 
  (exit $ac_status); } && {
21584
 
         test -z "$ac_c_werror_flag" ||
21585
 
         test ! -s conftest.err
21586
 
       } && test -s conftest$ac_exeext && {
21587
 
         test "$cross_compiling" = yes ||
21588
 
         $as_test_x conftest$ac_exeext
21589
 
       }; then
21590
 
  ac_cv_lib_dl_dlopen=yes
21591
 
else
21592
 
  $as_echo "$as_me: failed program was:" >&5
21593
 
sed 's/^/| /' conftest.$ac_ext >&5
21594
 
 
21595
 
        ac_cv_lib_dl_dlopen=no
21596
 
fi
21597
 
 
21598
 
rm -rf conftest.dSYM
21599
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21600
 
      conftest$ac_exeext conftest.$ac_ext
21601
 
LIBS=$ac_check_lib_save_LIBS
21602
 
fi
21603
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21604
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
21605
 
if test $ac_cv_lib_dl_dlopen = yes; then
21606
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21607
 
else
21608
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
21609
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
21610
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
21611
 
  $as_echo_n "(cached) " >&6
21612
 
else
21613
 
  ac_check_lib_save_LIBS=$LIBS
21614
 
LIBS="-lsvld  $LIBS"
21615
 
cat >conftest.$ac_ext <<_ACEOF
21616
 
/* confdefs.h.  */
21617
 
_ACEOF
21618
 
cat confdefs.h >>conftest.$ac_ext
21619
 
cat >>conftest.$ac_ext <<_ACEOF
21620
 
/* end confdefs.h.  */
21621
 
 
21622
 
/* Override any GCC internal prototype to avoid an error.
21623
 
   Use char because int might match the return type of a GCC
21624
 
   builtin and then its argument prototype would still apply.  */
21625
 
#ifdef __cplusplus
21626
 
extern "C"
21627
 
#endif
21628
 
char dlopen ();
21629
 
int
21630
 
main ()
21631
 
{
21632
 
return dlopen ();
21633
 
  ;
21634
 
  return 0;
21635
 
}
21636
 
_ACEOF
21637
 
rm -f conftest.$ac_objext conftest$ac_exeext
21638
 
if { (ac_try="$ac_link"
21639
 
case "(($ac_try" in
21640
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21641
 
  *) ac_try_echo=$ac_try;;
21642
 
esac
21643
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21644
 
$as_echo "$ac_try_echo") >&5
21645
 
  (eval "$ac_link") 2>conftest.er1
21646
 
  ac_status=$?
21647
 
  grep -v '^ *+' conftest.er1 >conftest.err
21648
 
  rm -f conftest.er1
21649
 
  cat conftest.err >&5
21650
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651
 
  (exit $ac_status); } && {
21652
 
         test -z "$ac_c_werror_flag" ||
21653
 
         test ! -s conftest.err
21654
 
       } && test -s conftest$ac_exeext && {
21655
 
         test "$cross_compiling" = yes ||
21656
 
         $as_test_x conftest$ac_exeext
21657
 
       }; then
21658
 
  ac_cv_lib_svld_dlopen=yes
21659
 
else
21660
 
  $as_echo "$as_me: failed program was:" >&5
21661
 
sed 's/^/| /' conftest.$ac_ext >&5
21662
 
 
21663
 
        ac_cv_lib_svld_dlopen=no
21664
 
fi
21665
 
 
21666
 
rm -rf conftest.dSYM
21667
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21668
 
      conftest$ac_exeext conftest.$ac_ext
21669
 
LIBS=$ac_check_lib_save_LIBS
21670
 
fi
21671
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
21672
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
21673
 
if test $ac_cv_lib_svld_dlopen = yes; then
21674
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
21675
 
else
21676
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
21677
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
21678
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
21679
 
  $as_echo_n "(cached) " >&6
21680
 
else
21681
 
  ac_check_lib_save_LIBS=$LIBS
21682
 
LIBS="-ldld  $LIBS"
21683
 
cat >conftest.$ac_ext <<_ACEOF
21684
 
/* confdefs.h.  */
21685
 
_ACEOF
21686
 
cat confdefs.h >>conftest.$ac_ext
21687
 
cat >>conftest.$ac_ext <<_ACEOF
21688
 
/* end confdefs.h.  */
21689
 
 
21690
 
/* Override any GCC internal prototype to avoid an error.
21691
 
   Use char because int might match the return type of a GCC
21692
 
   builtin and then its argument prototype would still apply.  */
21693
 
#ifdef __cplusplus
21694
 
extern "C"
21695
 
#endif
21696
 
char dld_link ();
21697
 
int
21698
 
main ()
21699
 
{
21700
 
return dld_link ();
21701
 
  ;
21702
 
  return 0;
21703
 
}
21704
 
_ACEOF
21705
 
rm -f conftest.$ac_objext conftest$ac_exeext
21706
 
if { (ac_try="$ac_link"
21707
 
case "(($ac_try" in
21708
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21709
 
  *) ac_try_echo=$ac_try;;
21710
 
esac
21711
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21712
 
$as_echo "$ac_try_echo") >&5
21713
 
  (eval "$ac_link") 2>conftest.er1
21714
 
  ac_status=$?
21715
 
  grep -v '^ *+' conftest.er1 >conftest.err
21716
 
  rm -f conftest.er1
21717
 
  cat conftest.err >&5
21718
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719
 
  (exit $ac_status); } && {
21720
 
         test -z "$ac_c_werror_flag" ||
21721
 
         test ! -s conftest.err
21722
 
       } && test -s conftest$ac_exeext && {
21723
 
         test "$cross_compiling" = yes ||
21724
 
         $as_test_x conftest$ac_exeext
21725
 
       }; then
21726
 
  ac_cv_lib_dld_dld_link=yes
21727
 
else
21728
 
  $as_echo "$as_me: failed program was:" >&5
21729
 
sed 's/^/| /' conftest.$ac_ext >&5
21730
 
 
21731
 
        ac_cv_lib_dld_dld_link=no
21732
 
fi
21733
 
 
21734
 
rm -rf conftest.dSYM
21735
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21736
 
      conftest$ac_exeext conftest.$ac_ext
21737
 
LIBS=$ac_check_lib_save_LIBS
21738
 
fi
21739
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
21740
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
21741
 
if test $ac_cv_lib_dld_dld_link = yes; then
21742
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
21743
 
fi
21744
 
 
21745
 
 
21746
 
fi
21747
 
 
21748
 
 
21749
 
fi
21750
 
 
21751
 
 
21752
 
fi
21753
 
 
21754
 
 
21755
 
fi
21756
 
 
21757
 
 
21758
 
fi
21759
 
 
21760
 
    ;;
21761
 
  esac
21762
 
 
21763
 
  if test "x$lt_cv_dlopen" != xno; then
21764
 
    enable_dlopen=yes
21765
 
  else
21766
 
    enable_dlopen=no
21767
 
  fi
21768
 
 
21769
 
  case $lt_cv_dlopen in
21770
 
  dlopen)
21771
 
    save_CPPFLAGS="$CPPFLAGS"
21772
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
21773
 
 
21774
 
    save_LDFLAGS="$LDFLAGS"
21775
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
21776
 
 
21777
 
    save_LIBS="$LIBS"
21778
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
21779
 
 
21780
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
21781
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
21782
 
if test "${lt_cv_dlopen_self+set}" = set; then
21783
 
  $as_echo_n "(cached) " >&6
21784
 
else
21785
 
          if test "$cross_compiling" = yes; then :
21786
 
  lt_cv_dlopen_self=cross
21787
 
else
21788
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21789
 
  lt_status=$lt_dlunknown
21790
 
  cat > conftest.$ac_ext <<EOF
21791
 
#line 21791 "configure"
21792
 
#include "confdefs.h"
21793
 
 
21794
 
#if HAVE_DLFCN_H
21795
 
#include <dlfcn.h>
21796
 
#endif
21797
 
 
21798
 
#include <stdio.h>
21799
 
 
21800
 
#ifdef RTLD_GLOBAL
21801
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
21802
 
#else
21803
 
#  ifdef DL_GLOBAL
21804
 
#    define LT_DLGLOBAL         DL_GLOBAL
21805
 
#  else
21806
 
#    define LT_DLGLOBAL         0
21807
 
#  endif
21808
 
#endif
21809
 
 
21810
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21811
 
   find out it does not work in some platform. */
21812
 
#ifndef LT_DLLAZY_OR_NOW
21813
 
#  ifdef RTLD_LAZY
21814
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
21815
 
#  else
21816
 
#    ifdef DL_LAZY
21817
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
21818
 
#    else
21819
 
#      ifdef RTLD_NOW
21820
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
21821
 
#      else
21822
 
#        ifdef DL_NOW
21823
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
21824
 
#        else
21825
 
#          define LT_DLLAZY_OR_NOW      0
21826
 
#        endif
21827
 
#      endif
21828
 
#    endif
21829
 
#  endif
21830
 
#endif
21831
 
 
21832
 
#ifdef __cplusplus
21833
 
extern "C" void exit (int);
21834
 
#endif
21835
 
 
21836
 
void fnord() { int i=42;}
21837
 
int main ()
21838
 
{
21839
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21840
 
  int status = $lt_dlunknown;
21841
 
 
21842
 
  if (self)
21843
 
    {
21844
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
21845
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21846
 
      /* dlclose (self); */
21847
 
    }
21848
 
 
21849
 
    exit (status);
21850
 
}
21851
 
EOF
21852
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21853
 
  (eval $ac_link) 2>&5
21854
 
  ac_status=$?
21855
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21857
 
    (./conftest; exit; ) 2>/dev/null
21858
 
    lt_status=$?
21859
 
    case x$lt_status in
21860
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
21861
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
21862
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
21863
 
    esac
21864
 
  else :
21865
 
    # compilation failed
21866
 
    lt_cv_dlopen_self=no
21867
 
  fi
21868
 
fi
21869
 
rm -fr conftest*
21870
 
 
21871
 
 
21872
 
fi
21873
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
21874
 
$as_echo "$lt_cv_dlopen_self" >&6; }
21875
 
 
21876
 
    if test "x$lt_cv_dlopen_self" = xyes; then
21877
 
      LDFLAGS="$LDFLAGS $link_static_flag"
21878
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
21879
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
21880
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
21881
 
  $as_echo_n "(cached) " >&6
21882
 
else
21883
 
          if test "$cross_compiling" = yes; then :
21884
 
  lt_cv_dlopen_self_static=cross
21885
 
else
21886
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21887
 
  lt_status=$lt_dlunknown
21888
 
  cat > conftest.$ac_ext <<EOF
21889
 
#line 21889 "configure"
21890
 
#include "confdefs.h"
21891
 
 
21892
 
#if HAVE_DLFCN_H
21893
 
#include <dlfcn.h>
21894
 
#endif
21895
 
 
21896
 
#include <stdio.h>
21897
 
 
21898
 
#ifdef RTLD_GLOBAL
21899
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
21900
 
#else
21901
 
#  ifdef DL_GLOBAL
21902
 
#    define LT_DLGLOBAL         DL_GLOBAL
21903
 
#  else
21904
 
#    define LT_DLGLOBAL         0
21905
 
#  endif
21906
 
#endif
21907
 
 
21908
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21909
 
   find out it does not work in some platform. */
21910
 
#ifndef LT_DLLAZY_OR_NOW
21911
 
#  ifdef RTLD_LAZY
21912
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
21913
 
#  else
21914
 
#    ifdef DL_LAZY
21915
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
21916
 
#    else
21917
 
#      ifdef RTLD_NOW
21918
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
21919
 
#      else
21920
 
#        ifdef DL_NOW
21921
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
21922
 
#        else
21923
 
#          define LT_DLLAZY_OR_NOW      0
21924
 
#        endif
21925
 
#      endif
21926
 
#    endif
21927
 
#  endif
21928
 
#endif
21929
 
 
21930
 
#ifdef __cplusplus
21931
 
extern "C" void exit (int);
21932
 
#endif
21933
 
 
21934
 
void fnord() { int i=42;}
21935
 
int main ()
21936
 
{
21937
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21938
 
  int status = $lt_dlunknown;
21939
 
 
21940
 
  if (self)
21941
 
    {
21942
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
21943
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21944
 
      /* dlclose (self); */
21945
 
    }
21946
 
 
21947
 
    exit (status);
21948
 
}
21949
 
EOF
21950
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21951
 
  (eval $ac_link) 2>&5
21952
 
  ac_status=$?
21953
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21955
 
    (./conftest; exit; ) 2>/dev/null
21956
 
    lt_status=$?
21957
 
    case x$lt_status in
21958
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
21959
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
21960
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
21961
 
    esac
21962
 
  else :
21963
 
    # compilation failed
21964
 
    lt_cv_dlopen_self_static=no
21965
 
  fi
21966
 
fi
21967
 
rm -fr conftest*
21968
 
 
21969
 
 
21970
 
fi
21971
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
21972
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
21973
 
    fi
21974
 
 
21975
 
    CPPFLAGS="$save_CPPFLAGS"
21976
 
    LDFLAGS="$save_LDFLAGS"
21977
 
    LIBS="$save_LIBS"
21978
 
    ;;
21979
 
  esac
21980
 
 
21981
 
  case $lt_cv_dlopen_self in
21982
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
21983
 
  *) enable_dlopen_self=unknown ;;
21984
 
  esac
21985
 
 
21986
 
  case $lt_cv_dlopen_self_static in
21987
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
21988
 
  *) enable_dlopen_self_static=unknown ;;
21989
 
  esac
21990
 
fi
21991
 
 
21992
 
 
21993
 
# The else clause should only fire when bootstrapping the
21994
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
21995
 
# with your package, and you will get complaints that there are
21996
 
# no rules to generate ltmain.sh.
21997
 
if test -f "$ltmain"; then
21998
 
  # See if we are running on zsh, and set the options which allow our commands through
21999
 
  # without removal of \ escapes.
22000
 
  if test -n "${ZSH_VERSION+set}" ; then
22001
 
    setopt NO_GLOB_SUBST
22002
 
  fi
22003
 
  # Now quote all the things that may contain metacharacters while being
22004
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
22005
 
  # variables and quote the copies for generation of the libtool script.
22006
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
22007
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22008
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22009
 
    deplibs_check_method reload_flag reload_cmds need_locks \
22010
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22011
 
    lt_cv_sys_global_symbol_to_c_name_address \
22012
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22013
 
    old_postinstall_cmds old_postuninstall_cmds \
22014
 
    compiler_GCJ \
22015
 
    CC_GCJ \
22016
 
    LD_GCJ \
22017
 
    lt_prog_compiler_wl_GCJ \
22018
 
    lt_prog_compiler_pic_GCJ \
22019
 
    lt_prog_compiler_static_GCJ \
22020
 
    lt_prog_compiler_no_builtin_flag_GCJ \
22021
 
    export_dynamic_flag_spec_GCJ \
22022
 
    thread_safe_flag_spec_GCJ \
22023
 
    whole_archive_flag_spec_GCJ \
22024
 
    enable_shared_with_static_runtimes_GCJ \
22025
 
    old_archive_cmds_GCJ \
22026
 
    old_archive_from_new_cmds_GCJ \
22027
 
    predep_objects_GCJ \
22028
 
    postdep_objects_GCJ \
22029
 
    predeps_GCJ \
22030
 
    postdeps_GCJ \
22031
 
    compiler_lib_search_path_GCJ \
22032
 
    archive_cmds_GCJ \
22033
 
    archive_expsym_cmds_GCJ \
22034
 
    postinstall_cmds_GCJ \
22035
 
    postuninstall_cmds_GCJ \
22036
 
    old_archive_from_expsyms_cmds_GCJ \
22037
 
    allow_undefined_flag_GCJ \
22038
 
    no_undefined_flag_GCJ \
22039
 
    export_symbols_cmds_GCJ \
22040
 
    hardcode_libdir_flag_spec_GCJ \
22041
 
    hardcode_libdir_flag_spec_ld_GCJ \
22042
 
    hardcode_libdir_separator_GCJ \
22043
 
    hardcode_automatic_GCJ \
22044
 
    module_cmds_GCJ \
22045
 
    module_expsym_cmds_GCJ \
22046
 
    lt_cv_prog_compiler_c_o_GCJ \
22047
 
    exclude_expsyms_GCJ \
22048
 
    include_expsyms_GCJ; do
22049
 
 
22050
 
    case $var in
22051
 
    old_archive_cmds_GCJ | \
22052
 
    old_archive_from_new_cmds_GCJ | \
22053
 
    archive_cmds_GCJ | \
22054
 
    archive_expsym_cmds_GCJ | \
22055
 
    module_cmds_GCJ | \
22056
 
    module_expsym_cmds_GCJ | \
22057
 
    old_archive_from_expsyms_cmds_GCJ | \
22058
 
    export_symbols_cmds_GCJ | \
22059
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
22060
 
    postinstall_cmds | postuninstall_cmds | \
22061
 
    old_postinstall_cmds | old_postuninstall_cmds | \
22062
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22063
 
      # Double-quote double-evaled strings.
22064
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22065
 
      ;;
22066
 
    *)
22067
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22068
 
      ;;
22069
 
    esac
22070
 
  done
22071
 
 
22072
 
  case $lt_echo in
22073
 
  *'\$0 --fallback-echo"')
22074
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22075
 
    ;;
22076
 
  esac
22077
 
 
22078
 
cfgfile="$ofile"
22079
 
 
22080
 
  cat <<__EOF__ >> "$cfgfile"
22081
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
22082
 
 
22083
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22084
 
 
22085
 
# Shell to use when invoking shell scripts.
22086
 
SHELL=$lt_SHELL
22087
 
 
22088
 
# Whether or not to build shared libraries.
22089
 
build_libtool_libs=$enable_shared
22090
 
 
22091
 
# Whether or not to build static libraries.
22092
 
build_old_libs=$enable_static
22093
 
 
22094
 
# Whether or not to add -lc for building shared libraries.
22095
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
22096
 
 
22097
 
# Whether or not to disallow shared libs when runtime libs are static
22098
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
22099
 
 
22100
 
# Whether or not to optimize for fast installation.
22101
 
fast_install=$enable_fast_install
22102
 
 
22103
 
# The host system.
22104
 
host_alias=$host_alias
22105
 
host=$host
22106
 
 
22107
 
# An echo program that does not interpret backslashes.
22108
 
echo=$lt_echo
22109
 
 
22110
 
# The archiver.
22111
 
AR=$lt_AR
22112
 
AR_FLAGS=$lt_AR_FLAGS
22113
 
 
22114
 
# A C compiler.
22115
 
LTCC=$lt_LTCC
22116
 
 
22117
 
# A language-specific compiler.
22118
 
CC=$lt_compiler_GCJ
22119
 
 
22120
 
# Is the compiler the GNU C compiler?
22121
 
with_gcc=$GCC_GCJ
22122
 
 
22123
 
# An ERE matcher.
22124
 
EGREP=$lt_EGREP
22125
 
 
22126
 
# The linker used to build libraries.
22127
 
LD=$lt_LD_GCJ
22128
 
 
22129
 
# Whether we need hard or soft links.
22130
 
LN_S=$lt_LN_S
22131
 
 
22132
 
# A BSD-compatible nm program.
22133
 
NM=$lt_NM
22134
 
 
22135
 
# A symbol stripping program
22136
 
STRIP=$STRIP
22137
 
 
22138
 
# Used to examine libraries when file_magic_cmd begins "file"
22139
 
MAGIC_CMD=$MAGIC_CMD
22140
 
 
22141
 
# Used on cygwin: DLL creation program.
22142
 
DLLTOOL="$DLLTOOL"
22143
 
 
22144
 
# Used on cygwin: object dumper.
22145
 
OBJDUMP="$OBJDUMP"
22146
 
 
22147
 
# Used on cygwin: assembler.
22148
 
AS="$AS"
22149
 
 
22150
 
# The name of the directory that contains temporary libtool files.
22151
 
objdir=$objdir
22152
 
 
22153
 
# How to create reloadable object files.
22154
 
reload_flag=$lt_reload_flag
22155
 
reload_cmds=$lt_reload_cmds
22156
 
 
22157
 
# How to pass a linker flag through the compiler.
22158
 
wl=$lt_lt_prog_compiler_wl_GCJ
22159
 
 
22160
 
# Object file suffix (normally "o").
22161
 
objext="$ac_objext"
22162
 
 
22163
 
# Old archive suffix (normally "a").
22164
 
libext="$libext"
22165
 
 
22166
 
# Shared library suffix (normally ".so").
22167
 
shrext='$shrext'
22168
 
 
22169
 
# Executable file suffix (normally "").
22170
 
exeext="$exeext"
22171
 
 
22172
 
# Additional compiler flags for building library objects.
22173
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
22174
 
pic_mode=$pic_mode
22175
 
 
22176
 
# What is the maximum length of a command?
22177
 
max_cmd_len=$lt_cv_sys_max_cmd_len
22178
 
 
22179
 
# Does compiler simultaneously support -c and -o options?
22180
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
22181
 
 
22182
 
# Must we lock files when doing compilation ?
22183
 
need_locks=$lt_need_locks
22184
 
 
22185
 
# Do we need the lib prefix for modules?
22186
 
need_lib_prefix=$need_lib_prefix
22187
 
 
22188
 
# Do we need a version for libraries?
22189
 
need_version=$need_version
22190
 
 
22191
 
# Whether dlopen is supported.
22192
 
dlopen_support=$enable_dlopen
22193
 
 
22194
 
# Whether dlopen of programs is supported.
22195
 
dlopen_self=$enable_dlopen_self
22196
 
 
22197
 
# Whether dlopen of statically linked programs is supported.
22198
 
dlopen_self_static=$enable_dlopen_self_static
22199
 
 
22200
 
# Compiler flag to prevent dynamic linking.
22201
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
22202
 
 
22203
 
# Compiler flag to turn off builtin functions.
22204
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
22205
 
 
22206
 
# Compiler flag to allow reflexive dlopens.
22207
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
22208
 
 
22209
 
# Compiler flag to generate shared objects directly from archives.
22210
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
22211
 
 
22212
 
# Compiler flag to generate thread-safe objects.
22213
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
22214
 
 
22215
 
# Library versioning type.
22216
 
version_type=$version_type
22217
 
 
22218
 
# Format of library name prefix.
22219
 
libname_spec=$lt_libname_spec
22220
 
 
22221
 
# List of archive names.  First name is the real one, the rest are links.
22222
 
# The last name is the one that the linker finds with -lNAME.
22223
 
library_names_spec=$lt_library_names_spec
22224
 
 
22225
 
# The coded name of the library, if different from the real name.
22226
 
soname_spec=$lt_soname_spec
22227
 
 
22228
 
# Commands used to build and install an old-style archive.
22229
 
RANLIB=$lt_RANLIB
22230
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
22231
 
old_postinstall_cmds=$lt_old_postinstall_cmds
22232
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22233
 
 
22234
 
# Create an old-style archive from a shared archive.
22235
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
22236
 
 
22237
 
# Create a temporary old-style archive to link instead of a shared archive.
22238
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
22239
 
 
22240
 
# Commands used to build and install a shared archive.
22241
 
archive_cmds=$lt_archive_cmds_GCJ
22242
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
22243
 
postinstall_cmds=$lt_postinstall_cmds
22244
 
postuninstall_cmds=$lt_postuninstall_cmds
22245
 
 
22246
 
# Commands used to build a loadable module (assumed same as above if empty)
22247
 
module_cmds=$lt_module_cmds_GCJ
22248
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
22249
 
 
22250
 
# Commands to strip libraries.
22251
 
old_striplib=$lt_old_striplib
22252
 
striplib=$lt_striplib
22253
 
 
22254
 
# Dependencies to place before the objects being linked to create a
22255
 
# shared library.
22256
 
predep_objects=$lt_predep_objects_GCJ
22257
 
 
22258
 
# Dependencies to place after the objects being linked to create a
22259
 
# shared library.
22260
 
postdep_objects=$lt_postdep_objects_GCJ
22261
 
 
22262
 
# Dependencies to place before the objects being linked to create a
22263
 
# shared library.
22264
 
predeps=$lt_predeps_GCJ
22265
 
 
22266
 
# Dependencies to place after the objects being linked to create a
22267
 
# shared library.
22268
 
postdeps=$lt_postdeps_GCJ
22269
 
 
22270
 
# The library search path used internally by the compiler when linking
22271
 
# a shared library.
22272
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
22273
 
 
22274
 
# Method to check whether dependent libraries are shared objects.
22275
 
deplibs_check_method=$lt_deplibs_check_method
22276
 
 
22277
 
# Command to use when deplibs_check_method == file_magic.
22278
 
file_magic_cmd=$lt_file_magic_cmd
22279
 
 
22280
 
# Flag that allows shared libraries with undefined symbols to be built.
22281
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
22282
 
 
22283
 
# Flag that forces no undefined symbols.
22284
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
22285
 
 
22286
 
# Commands used to finish a libtool library installation in a directory.
22287
 
finish_cmds=$lt_finish_cmds
22288
 
 
22289
 
# Same as above, but a single script fragment to be evaled but not shown.
22290
 
finish_eval=$lt_finish_eval
22291
 
 
22292
 
# Take the output of nm and produce a listing of raw symbols and C names.
22293
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22294
 
 
22295
 
# Transform the output of nm in a proper C declaration
22296
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22297
 
 
22298
 
# Transform the output of nm in a C name address pair
22299
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22300
 
 
22301
 
# This is the shared library runtime path variable.
22302
 
runpath_var=$runpath_var
22303
 
 
22304
 
# This is the shared library path variable.
22305
 
shlibpath_var=$shlibpath_var
22306
 
 
22307
 
# Is shlibpath searched before the hard-coded library search path?
22308
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22309
 
 
22310
 
# How to hardcode a shared library path into an executable.
22311
 
hardcode_action=$hardcode_action_GCJ
22312
 
 
22313
 
# Whether we should hardcode library paths into libraries.
22314
 
hardcode_into_libs=$hardcode_into_libs
22315
 
 
22316
 
# Flag to hardcode \$libdir into a binary during linking.
22317
 
# This must work even if \$libdir does not exist.
22318
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
22319
 
 
22320
 
# If ld is used when linking, flag to hardcode \$libdir into
22321
 
# a binary during linking. This must work even if \$libdir does
22322
 
# not exist.
22323
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
22324
 
 
22325
 
# Whether we need a single -rpath flag with a separated argument.
22326
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
22327
 
 
22328
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22329
 
# resulting binary.
22330
 
hardcode_direct=$hardcode_direct_GCJ
22331
 
 
22332
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22333
 
# resulting binary.
22334
 
hardcode_minus_L=$hardcode_minus_L_GCJ
22335
 
 
22336
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22337
 
# the resulting binary.
22338
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
22339
 
 
22340
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
22341
 
# and all subsequent libraries and executables linked against it.
22342
 
hardcode_automatic=$hardcode_automatic_GCJ
22343
 
 
22344
 
# Variables whose values should be saved in libtool wrapper scripts and
22345
 
# restored at relink time.
22346
 
variables_saved_for_relink="$variables_saved_for_relink"
22347
 
 
22348
 
# Whether libtool must link a program against all its dependency libraries.
22349
 
link_all_deplibs=$link_all_deplibs_GCJ
22350
 
 
22351
 
# Compile-time system search path for libraries
22352
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22353
 
 
22354
 
# Run-time system search path for libraries
22355
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22356
 
 
22357
 
# Fix the shell variable \$srcfile for the compiler.
22358
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
22359
 
 
22360
 
# Set to yes if exported symbols are required.
22361
 
always_export_symbols=$always_export_symbols_GCJ
22362
 
 
22363
 
# The commands to list exported symbols.
22364
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
22365
 
 
22366
 
# The commands to extract the exported symbol list from a shared archive.
22367
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22368
 
 
22369
 
# Symbols that should not be listed in the preloaded symbols.
22370
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
22371
 
 
22372
 
# Symbols that must always be exported.
22373
 
include_expsyms=$lt_include_expsyms_GCJ
22374
 
 
22375
 
# ### END LIBTOOL TAG CONFIG: $tagname
22376
 
 
22377
 
__EOF__
22378
 
 
22379
 
 
22380
 
else
22381
 
  # If there is no Makefile yet, we rely on a make rule to execute
22382
 
  # `config.status --recheck' to rerun these tests and create the
22383
 
  # libtool script then.
22384
 
  test -f Makefile && make "$ltmain"
22385
 
fi
22386
 
 
22387
 
 
22388
 
ac_ext=c
22389
 
ac_cpp='$CPP $CPPFLAGS'
22390
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22391
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22392
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22393
 
 
22394
 
CC="$lt_save_CC"
22395
 
 
22396
 
        else
22397
 
          tagname=""
22398
 
        fi
22399
 
        ;;
22400
 
 
22401
 
      RC)
22402
 
 
22403
 
 
22404
 
# Source file extension for RC test sources.
22405
 
ac_ext=rc
22406
 
 
22407
 
# Object file extension for compiled RC test sources.
22408
 
objext=o
22409
 
objext_RC=$objext
22410
 
 
22411
 
# Code to be used in simple compile tests
22412
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
22413
 
 
22414
 
# Code to be used in simple link tests
22415
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
22416
 
 
22417
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
22418
 
 
22419
 
# If no C compiler was specified, use CC.
22420
 
LTCC=${LTCC-"$CC"}
22421
 
 
22422
 
# Allow CC to be a program name with arguments.
22423
 
compiler=$CC
22424
 
 
22425
 
 
22426
 
# Allow CC to be a program name with arguments.
22427
 
lt_save_CC="$CC"
22428
 
CC=${RC-"windres"}
22429
 
compiler=$CC
22430
 
compiler_RC=$CC
22431
 
lt_cv_prog_compiler_c_o_RC=yes
22432
 
 
22433
 
# The else clause should only fire when bootstrapping the
22434
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
22435
 
# with your package, and you will get complaints that there are
22436
 
# no rules to generate ltmain.sh.
22437
 
if test -f "$ltmain"; then
22438
 
  # See if we are running on zsh, and set the options which allow our commands through
22439
 
  # without removal of \ escapes.
22440
 
  if test -n "${ZSH_VERSION+set}" ; then
22441
 
    setopt NO_GLOB_SUBST
22442
 
  fi
22443
 
  # Now quote all the things that may contain metacharacters while being
22444
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
22445
 
  # variables and quote the copies for generation of the libtool script.
22446
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
22447
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22448
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22449
 
    deplibs_check_method reload_flag reload_cmds need_locks \
22450
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22451
 
    lt_cv_sys_global_symbol_to_c_name_address \
22452
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22453
 
    old_postinstall_cmds old_postuninstall_cmds \
22454
 
    compiler_RC \
22455
 
    CC_RC \
22456
 
    LD_RC \
22457
 
    lt_prog_compiler_wl_RC \
22458
 
    lt_prog_compiler_pic_RC \
22459
 
    lt_prog_compiler_static_RC \
22460
 
    lt_prog_compiler_no_builtin_flag_RC \
22461
 
    export_dynamic_flag_spec_RC \
22462
 
    thread_safe_flag_spec_RC \
22463
 
    whole_archive_flag_spec_RC \
22464
 
    enable_shared_with_static_runtimes_RC \
22465
 
    old_archive_cmds_RC \
22466
 
    old_archive_from_new_cmds_RC \
22467
 
    predep_objects_RC \
22468
 
    postdep_objects_RC \
22469
 
    predeps_RC \
22470
 
    postdeps_RC \
22471
 
    compiler_lib_search_path_RC \
22472
 
    archive_cmds_RC \
22473
 
    archive_expsym_cmds_RC \
22474
 
    postinstall_cmds_RC \
22475
 
    postuninstall_cmds_RC \
22476
 
    old_archive_from_expsyms_cmds_RC \
22477
 
    allow_undefined_flag_RC \
22478
 
    no_undefined_flag_RC \
22479
 
    export_symbols_cmds_RC \
22480
 
    hardcode_libdir_flag_spec_RC \
22481
 
    hardcode_libdir_flag_spec_ld_RC \
22482
 
    hardcode_libdir_separator_RC \
22483
 
    hardcode_automatic_RC \
22484
 
    module_cmds_RC \
22485
 
    module_expsym_cmds_RC \
22486
 
    lt_cv_prog_compiler_c_o_RC \
22487
 
    exclude_expsyms_RC \
22488
 
    include_expsyms_RC; do
22489
 
 
22490
 
    case $var in
22491
 
    old_archive_cmds_RC | \
22492
 
    old_archive_from_new_cmds_RC | \
22493
 
    archive_cmds_RC | \
22494
 
    archive_expsym_cmds_RC | \
22495
 
    module_cmds_RC | \
22496
 
    module_expsym_cmds_RC | \
22497
 
    old_archive_from_expsyms_cmds_RC | \
22498
 
    export_symbols_cmds_RC | \
22499
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
22500
 
    postinstall_cmds | postuninstall_cmds | \
22501
 
    old_postinstall_cmds | old_postuninstall_cmds | \
22502
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22503
 
      # Double-quote double-evaled strings.
22504
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22505
 
      ;;
22506
 
    *)
22507
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22508
 
      ;;
22509
 
    esac
22510
 
  done
22511
 
 
22512
 
  case $lt_echo in
22513
 
  *'\$0 --fallback-echo"')
22514
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22515
 
    ;;
22516
 
  esac
22517
 
 
22518
 
cfgfile="$ofile"
22519
 
 
22520
 
  cat <<__EOF__ >> "$cfgfile"
22521
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
22522
 
 
22523
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22524
 
 
22525
 
# Shell to use when invoking shell scripts.
22526
 
SHELL=$lt_SHELL
22527
 
 
22528
 
# Whether or not to build shared libraries.
22529
 
build_libtool_libs=$enable_shared
22530
 
 
22531
 
# Whether or not to build static libraries.
22532
 
build_old_libs=$enable_static
22533
 
 
22534
 
# Whether or not to add -lc for building shared libraries.
22535
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
22536
 
 
22537
 
# Whether or not to disallow shared libs when runtime libs are static
22538
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22539
 
 
22540
 
# Whether or not to optimize for fast installation.
22541
 
fast_install=$enable_fast_install
22542
 
 
22543
 
# The host system.
22544
 
host_alias=$host_alias
22545
 
host=$host
22546
 
 
22547
 
# An echo program that does not interpret backslashes.
22548
 
echo=$lt_echo
22549
 
 
22550
 
# The archiver.
22551
 
AR=$lt_AR
22552
 
AR_FLAGS=$lt_AR_FLAGS
22553
 
 
22554
 
# A C compiler.
22555
 
LTCC=$lt_LTCC
22556
 
 
22557
 
# A language-specific compiler.
22558
 
CC=$lt_compiler_RC
22559
 
 
22560
 
# Is the compiler the GNU C compiler?
22561
 
with_gcc=$GCC_RC
22562
 
 
22563
 
# An ERE matcher.
22564
 
EGREP=$lt_EGREP
22565
 
 
22566
 
# The linker used to build libraries.
22567
 
LD=$lt_LD_RC
22568
 
 
22569
 
# Whether we need hard or soft links.
22570
 
LN_S=$lt_LN_S
22571
 
 
22572
 
# A BSD-compatible nm program.
22573
 
NM=$lt_NM
22574
 
 
22575
 
# A symbol stripping program
22576
 
STRIP=$STRIP
22577
 
 
22578
 
# Used to examine libraries when file_magic_cmd begins "file"
22579
 
MAGIC_CMD=$MAGIC_CMD
22580
 
 
22581
 
# Used on cygwin: DLL creation program.
22582
 
DLLTOOL="$DLLTOOL"
22583
 
 
22584
 
# Used on cygwin: object dumper.
22585
 
OBJDUMP="$OBJDUMP"
22586
 
 
22587
 
# Used on cygwin: assembler.
22588
 
AS="$AS"
22589
 
 
22590
 
# The name of the directory that contains temporary libtool files.
22591
 
objdir=$objdir
22592
 
 
22593
 
# How to create reloadable object files.
22594
 
reload_flag=$lt_reload_flag
22595
 
reload_cmds=$lt_reload_cmds
22596
 
 
22597
 
# How to pass a linker flag through the compiler.
22598
 
wl=$lt_lt_prog_compiler_wl_RC
22599
 
 
22600
 
# Object file suffix (normally "o").
22601
 
objext="$ac_objext"
22602
 
 
22603
 
# Old archive suffix (normally "a").
22604
 
libext="$libext"
22605
 
 
22606
 
# Shared library suffix (normally ".so").
22607
 
shrext='$shrext'
22608
 
 
22609
 
# Executable file suffix (normally "").
22610
 
exeext="$exeext"
22611
 
 
22612
 
# Additional compiler flags for building library objects.
22613
 
pic_flag=$lt_lt_prog_compiler_pic_RC
22614
 
pic_mode=$pic_mode
22615
 
 
22616
 
# What is the maximum length of a command?
22617
 
max_cmd_len=$lt_cv_sys_max_cmd_len
22618
 
 
22619
 
# Does compiler simultaneously support -c and -o options?
22620
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22621
 
 
22622
 
# Must we lock files when doing compilation ?
22623
 
need_locks=$lt_need_locks
22624
 
 
22625
 
# Do we need the lib prefix for modules?
22626
 
need_lib_prefix=$need_lib_prefix
22627
 
 
22628
 
# Do we need a version for libraries?
22629
 
need_version=$need_version
22630
 
 
22631
 
# Whether dlopen is supported.
22632
 
dlopen_support=$enable_dlopen
22633
 
 
22634
 
# Whether dlopen of programs is supported.
22635
 
dlopen_self=$enable_dlopen_self
22636
 
 
22637
 
# Whether dlopen of statically linked programs is supported.
22638
 
dlopen_self_static=$enable_dlopen_self_static
22639
 
 
22640
 
# Compiler flag to prevent dynamic linking.
22641
 
link_static_flag=$lt_lt_prog_compiler_static_RC
22642
 
 
22643
 
# Compiler flag to turn off builtin functions.
22644
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22645
 
 
22646
 
# Compiler flag to allow reflexive dlopens.
22647
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22648
 
 
22649
 
# Compiler flag to generate shared objects directly from archives.
22650
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22651
 
 
22652
 
# Compiler flag to generate thread-safe objects.
22653
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22654
 
 
22655
 
# Library versioning type.
22656
 
version_type=$version_type
22657
 
 
22658
 
# Format of library name prefix.
22659
 
libname_spec=$lt_libname_spec
22660
 
 
22661
 
# List of archive names.  First name is the real one, the rest are links.
22662
 
# The last name is the one that the linker finds with -lNAME.
22663
 
library_names_spec=$lt_library_names_spec
22664
 
 
22665
 
# The coded name of the library, if different from the real name.
22666
 
soname_spec=$lt_soname_spec
22667
 
 
22668
 
# Commands used to build and install an old-style archive.
22669
 
RANLIB=$lt_RANLIB
22670
 
old_archive_cmds=$lt_old_archive_cmds_RC
22671
 
old_postinstall_cmds=$lt_old_postinstall_cmds
22672
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22673
 
 
22674
 
# Create an old-style archive from a shared archive.
22675
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22676
 
 
22677
 
# Create a temporary old-style archive to link instead of a shared archive.
22678
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22679
 
 
22680
 
# Commands used to build and install a shared archive.
22681
 
archive_cmds=$lt_archive_cmds_RC
22682
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22683
 
postinstall_cmds=$lt_postinstall_cmds
22684
 
postuninstall_cmds=$lt_postuninstall_cmds
22685
 
 
22686
 
# Commands used to build a loadable module (assumed same as above if empty)
22687
 
module_cmds=$lt_module_cmds_RC
22688
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
22689
 
 
22690
 
# Commands to strip libraries.
22691
 
old_striplib=$lt_old_striplib
22692
 
striplib=$lt_striplib
22693
 
 
22694
 
# Dependencies to place before the objects being linked to create a
22695
 
# shared library.
22696
 
predep_objects=$lt_predep_objects_RC
22697
 
 
22698
 
# Dependencies to place after the objects being linked to create a
22699
 
# shared library.
22700
 
postdep_objects=$lt_postdep_objects_RC
22701
 
 
22702
 
# Dependencies to place before the objects being linked to create a
22703
 
# shared library.
22704
 
predeps=$lt_predeps_RC
22705
 
 
22706
 
# Dependencies to place after the objects being linked to create a
22707
 
# shared library.
22708
 
postdeps=$lt_postdeps_RC
22709
 
 
22710
 
# The library search path used internally by the compiler when linking
22711
 
# a shared library.
22712
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22713
 
 
22714
 
# Method to check whether dependent libraries are shared objects.
22715
 
deplibs_check_method=$lt_deplibs_check_method
22716
 
 
22717
 
# Command to use when deplibs_check_method == file_magic.
22718
 
file_magic_cmd=$lt_file_magic_cmd
22719
 
 
22720
 
# Flag that allows shared libraries with undefined symbols to be built.
22721
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
22722
 
 
22723
 
# Flag that forces no undefined symbols.
22724
 
no_undefined_flag=$lt_no_undefined_flag_RC
22725
 
 
22726
 
# Commands used to finish a libtool library installation in a directory.
22727
 
finish_cmds=$lt_finish_cmds
22728
 
 
22729
 
# Same as above, but a single script fragment to be evaled but not shown.
22730
 
finish_eval=$lt_finish_eval
22731
 
 
22732
 
# Take the output of nm and produce a listing of raw symbols and C names.
22733
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22734
 
 
22735
 
# Transform the output of nm in a proper C declaration
22736
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22737
 
 
22738
 
# Transform the output of nm in a C name address pair
22739
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22740
 
 
22741
 
# This is the shared library runtime path variable.
22742
 
runpath_var=$runpath_var
22743
 
 
22744
 
# This is the shared library path variable.
22745
 
shlibpath_var=$shlibpath_var
22746
 
 
22747
 
# Is shlibpath searched before the hard-coded library search path?
22748
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22749
 
 
22750
 
# How to hardcode a shared library path into an executable.
22751
 
hardcode_action=$hardcode_action_RC
22752
 
 
22753
 
# Whether we should hardcode library paths into libraries.
22754
 
hardcode_into_libs=$hardcode_into_libs
22755
 
 
22756
 
# Flag to hardcode \$libdir into a binary during linking.
22757
 
# This must work even if \$libdir does not exist.
22758
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22759
 
 
22760
 
# If ld is used when linking, flag to hardcode \$libdir into
22761
 
# a binary during linking. This must work even if \$libdir does
22762
 
# not exist.
22763
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22764
 
 
22765
 
# Whether we need a single -rpath flag with a separated argument.
22766
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22767
 
 
22768
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22769
 
# resulting binary.
22770
 
hardcode_direct=$hardcode_direct_RC
22771
 
 
22772
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22773
 
# resulting binary.
22774
 
hardcode_minus_L=$hardcode_minus_L_RC
22775
 
 
22776
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22777
 
# the resulting binary.
22778
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22779
 
 
22780
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
22781
 
# and all subsequent libraries and executables linked against it.
22782
 
hardcode_automatic=$hardcode_automatic_RC
22783
 
 
22784
 
# Variables whose values should be saved in libtool wrapper scripts and
22785
 
# restored at relink time.
22786
 
variables_saved_for_relink="$variables_saved_for_relink"
22787
 
 
22788
 
# Whether libtool must link a program against all its dependency libraries.
22789
 
link_all_deplibs=$link_all_deplibs_RC
22790
 
 
22791
 
# Compile-time system search path for libraries
22792
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22793
 
 
22794
 
# Run-time system search path for libraries
22795
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22796
 
 
22797
 
# Fix the shell variable \$srcfile for the compiler.
22798
 
fix_srcfile_path="$fix_srcfile_path_RC"
22799
 
 
22800
 
# Set to yes if exported symbols are required.
22801
 
always_export_symbols=$always_export_symbols_RC
22802
 
 
22803
 
# The commands to list exported symbols.
22804
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
22805
 
 
22806
 
# The commands to extract the exported symbol list from a shared archive.
22807
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22808
 
 
22809
 
# Symbols that should not be listed in the preloaded symbols.
22810
 
exclude_expsyms=$lt_exclude_expsyms_RC
22811
 
 
22812
 
# Symbols that must always be exported.
22813
 
include_expsyms=$lt_include_expsyms_RC
22814
 
 
22815
 
# ### END LIBTOOL TAG CONFIG: $tagname
22816
 
 
22817
 
__EOF__
22818
 
 
22819
 
 
22820
 
else
22821
 
  # If there is no Makefile yet, we rely on a make rule to execute
22822
 
  # `config.status --recheck' to rerun these tests and create the
22823
 
  # libtool script then.
22824
 
  test -f Makefile && make "$ltmain"
22825
 
fi
22826
 
 
22827
 
 
22828
 
ac_ext=c
22829
 
ac_cpp='$CPP $CPPFLAGS'
22830
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22831
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22832
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22833
 
 
22834
 
CC="$lt_save_CC"
22835
 
 
22836
 
        ;;
22837
 
 
22838
 
      *)
22839
 
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22840
 
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22841
 
   { (exit 1); exit 1; }; }
22842
 
        ;;
22843
 
      esac
22844
 
 
22845
 
      # Append the new tag name to the list of available tags.
22846
 
      if test -n "$tagname" ; then
22847
 
      available_tags="$available_tags $tagname"
22848
 
    fi
22849
 
    fi
22850
 
  done
22851
 
  IFS="$lt_save_ifs"
22852
 
 
22853
 
  # Now substitute the updated list of available tags.
22854
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22855
 
    mv "${ofile}T" "$ofile"
22856
 
    chmod +x "$ofile"
22857
 
  else
22858
 
    rm -f "${ofile}T"
22859
 
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22860
 
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22861
 
   { (exit 1); exit 1; }; }
22862
 
  fi
22863
 
fi
22864
 
 
22865
 
 
22866
 
 
22867
 
# This can be used to rebuild libtool when needed
22868
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
22869
 
 
22870
 
# Always use our own libtool.
22871
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
22872
 
 
22873
 
# Prevent multiple expansion
22874
 
 
22875
 
 
22876
 
 
22877
 
 
22878
 
 
22879
 
 
22880
 
 
22881
 
 
22882
 
 
22883
 
 
22884
 
 
22885
 
 
22886
 
 
22887
 
 
22888
 
 
22889
 
 
22890
 
 
22891
 
 
22892
 
 
22893
 
 
22894
 
 
22895
 
 
22896
 
 
22897
 
 
22898
 
 
22899
 
 
22900
 
 
22901
 
 
22902
 
 
22903
 
 
22904
 
 
22905
 
 
22906
 
 
22907
 
 
22908
 
LIBTOOL_SHELL="/bin/sh ./libtool"
22909
 
#  LIBTOOL="$LIBTOOL --silent"
22910
 
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
22911
 
 
22912
 
 
22913
 
# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
22914
 
KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
22915
 
 
22916
 
 
22917
 
# we patch configure quite some so we better keep that consistent for incremental runs
22918
 
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
22919
 
 
22920
 
 
22921
 
 
22922
 
 
22923
 
 
22924
 
    # Extract the first word of "msgfmt", so it can be a program name with args.
22925
 
set dummy msgfmt; ac_word=$2
22926
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22927
 
$as_echo_n "checking for $ac_word... " >&6; }
22928
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
22929
 
  $as_echo_n "(cached) " >&6
22930
 
else
22931
 
  case "$MSGFMT" in
22932
 
  /*)
22933
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22934
 
  ;;
22935
 
  *)
22936
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22937
 
  for ac_dir in $PATH; do
22938
 
    test -z "$ac_dir" && ac_dir=.
22939
 
    if test -f $ac_dir/$ac_word; then
22940
 
      if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
22941
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22942
 
        break
22943
 
      fi
22944
 
    fi
22945
 
  done
22946
 
  IFS="$ac_save_ifs"
22947
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
22948
 
  ;;
22949
 
esac
22950
 
fi
22951
 
MSGFMT="$ac_cv_path_MSGFMT"
22952
 
if test -n "$MSGFMT"; then
22953
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
22954
 
$as_echo "$MSGFMT" >&6; }
22955
 
else
22956
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
22957
 
$as_echo "no" >&6; }
22958
 
fi
22959
 
 
22960
 
    # Extract the first word of "gmsgfmt", so it can be a program name with args.
22961
 
set dummy gmsgfmt; ac_word=$2
22962
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22963
 
$as_echo_n "checking for $ac_word... " >&6; }
22964
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22965
 
  $as_echo_n "(cached) " >&6
22966
 
else
22967
 
  case $GMSGFMT in
22968
 
  [\\/]* | ?:[\\/]*)
22969
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22970
 
  ;;
22971
 
  *)
22972
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22973
 
for as_dir in $PATH
22974
 
do
22975
 
  IFS=$as_save_IFS
22976
 
  test -z "$as_dir" && as_dir=.
22977
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22978
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22979
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22980
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22981
 
    break 2
22982
 
  fi
22983
 
done
22984
 
done
22985
 
IFS=$as_save_IFS
22986
 
 
22987
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22988
 
  ;;
22989
 
esac
22990
 
fi
22991
 
GMSGFMT=$ac_cv_path_GMSGFMT
22992
 
if test -n "$GMSGFMT"; then
22993
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22994
 
$as_echo "$GMSGFMT" >&6; }
22995
 
else
22996
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
22997
 
$as_echo "no" >&6; }
22998
 
fi
22999
 
 
23000
 
 
23001
 
 
23002
 
     if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
23003
 
        { $as_echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
23004
 
$as_echo "found msgfmt program is not GNU msgfmt; ignore it" >&6; }
23005
 
        GMSGFMT=":"
23006
 
      fi
23007
 
      MSGFMT=$GMSGFMT
23008
 
 
23009
 
 
23010
 
 
23011
 
      # Extract the first word of "xgettext", so it can be a program name with args.
23012
 
set dummy xgettext; ac_word=$2
23013
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
23014
 
$as_echo_n "checking for $ac_word... " >&6; }
23015
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
23016
 
  $as_echo_n "(cached) " >&6
23017
 
else
23018
 
  case "$XGETTEXT" in
23019
 
  /*)
23020
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
23021
 
  ;;
23022
 
  *)
23023
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
23024
 
  for ac_dir in $PATH; do
23025
 
    test -z "$ac_dir" && ac_dir=.
23026
 
    if test -f $ac_dir/$ac_word; then
23027
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
23028
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
23029
 
        break
23030
 
      fi
23031
 
    fi
23032
 
  done
23033
 
  IFS="$ac_save_ifs"
23034
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
23035
 
  ;;
23036
 
esac
23037
 
fi
23038
 
XGETTEXT="$ac_cv_path_XGETTEXT"
23039
 
if test -n "$XGETTEXT"; then
23040
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
23041
 
$as_echo "$XGETTEXT" >&6; }
23042
 
else
23043
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
23044
 
$as_echo "no" >&6; }
23045
 
fi
23046
 
 
23047
 
 
23048
 
            if test "$XGETTEXT" != ":"; then
23049
 
                        if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
23050
 
          : ;
23051
 
        else
23052
 
          { $as_echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
23053
 
$as_echo "found xgettext programs is not GNU xgettext; ignore it" >&6; }
23054
 
          XGETTEXT=":"
23055
 
        fi
23056
 
      fi
23057
 
 
23058
 
 
23059
 
 
23060
 
 
23061
 
 
23062
 
 
23063
 
     ac_ext=cpp
23064
 
ac_cpp='$CXXCPP $CPPFLAGS'
23065
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23068
 
 
23069
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23070
 
 
23071
 
 
23072
 
    ac_save_CXXFLAGS="$CXXFLAGS"
23073
 
    CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
23074
 
 
23075
 
    { $as_echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
23076
 
$as_echo_n "checking if C++ programs can be compiled... " >&6; }
23077
 
    if test "${kde_cv_stl_works+set}" = set; then
23078
 
  $as_echo_n "(cached) " >&6
23079
 
else
23080
 
 
23081
 
      cat >conftest.$ac_ext <<_ACEOF
23082
 
/* confdefs.h.  */
23083
 
_ACEOF
23084
 
cat confdefs.h >>conftest.$ac_ext
23085
 
cat >>conftest.$ac_ext <<_ACEOF
23086
 
/* end confdefs.h.  */
23087
 
 
23088
 
#include <string>
23089
 
using namespace std;
23090
 
 
23091
 
int
23092
 
main ()
23093
 
{
23094
 
 
23095
 
  string astring="Hallo Welt.";
23096
 
  astring.erase(0, 6); // now astring is "Welt"
23097
 
  return 0;
23098
 
 
23099
 
  ;
23100
 
  return 0;
23101
 
}
23102
 
_ACEOF
23103
 
rm -f conftest.$ac_objext
23104
 
if { (ac_try="$ac_compile"
23105
 
case "(($ac_try" in
23106
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23107
 
  *) ac_try_echo=$ac_try;;
23108
 
esac
23109
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23110
 
$as_echo "$ac_try_echo") >&5
23111
 
  (eval "$ac_compile") 2>conftest.er1
23112
 
  ac_status=$?
23113
 
  grep -v '^ *+' conftest.er1 >conftest.err
23114
 
  rm -f conftest.er1
23115
 
  cat conftest.err >&5
23116
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117
 
  (exit $ac_status); } && {
23118
 
         test -z "$ac_cxx_werror_flag" ||
23119
 
         test ! -s conftest.err
23120
 
       } && test -s conftest.$ac_objext; then
23121
 
  kde_cv_stl_works=yes
23122
 
else
23123
 
  $as_echo "$as_me: failed program was:" >&5
23124
 
sed 's/^/| /' conftest.$ac_ext >&5
23125
 
 
23126
 
        kde_cv_stl_works=no
23127
 
fi
23128
 
 
23129
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23130
 
 
23131
 
fi
23132
 
 
23133
 
 
23134
 
   { $as_echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
23135
 
$as_echo "$kde_cv_stl_works" >&6; }
23136
 
 
23137
 
   if test "$kde_cv_stl_works" = "yes"; then
23138
 
     # back compatible
23139
 
 
23140
 
cat >>confdefs.h <<_ACEOF
23141
 
#define HAVE_SGI_STL 1
23142
 
_ACEOF
23143
 
 
23144
 
   else
23145
 
         { { $as_echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
23146
 
Check config.log for details - if you're using a Linux distribution you might miss
23147
 
a package named similar to libstdc++-dev." >&5
23148
 
$as_echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
23149
 
Check config.log for details - if you're using a Linux distribution you might miss
23150
 
a package named similar to libstdc++-dev." >&2;}
23151
 
   { (exit 1); exit 1; }; }
23152
 
   fi
23153
 
 
23154
 
   CXXFLAGS="$ac_save_CXXFLAGS"
23155
 
   ac_ext=c
23156
 
ac_cpp='$CPP $CPPFLAGS'
23157
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23158
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23159
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23160
 
 
23161
 
 
23162
 
 
23163
 
 
23164
 
{ $as_echo "$as_me:$LINENO: checking for strlcat" >&5
23165
 
$as_echo_n "checking for strlcat... " >&6; }
23166
 
if test "${kde_cv_func_strlcat+set}" = set; then
23167
 
  $as_echo_n "(cached) " >&6
23168
 
else
23169
 
 
23170
 
 
23171
 
 ac_ext=cpp
23172
 
ac_cpp='$CXXCPP $CPPFLAGS'
23173
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23174
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23175
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23176
 
 
23177
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23178
 
 
23179
 
 
23180
 
save_CXXFLAGS="$CXXFLAGS"
23181
 
kde_safe_LIBS="$LIBS"
23182
 
LIBS="$LIBS $X_EXTRA_LIBS"
23183
 
if test "$GXX" = "yes"; then
23184
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
23185
 
fi
23186
 
cat >conftest.$ac_ext <<_ACEOF
23187
 
/* confdefs.h.  */
23188
 
_ACEOF
23189
 
cat confdefs.h >>conftest.$ac_ext
23190
 
cat >>conftest.$ac_ext <<_ACEOF
23191
 
/* end confdefs.h.  */
23192
 
 
23193
 
 
23194
 
#include <string.h>
23195
 
 
23196
 
 
23197
 
int
23198
 
main ()
23199
 
{
23200
 
 
23201
 
 char buf[20];
23202
 
  buf[0]='\0';
23203
 
  strlcat(buf, "KDE function test", sizeof(buf));
23204
 
 
23205
 
 
23206
 
  ;
23207
 
  return 0;
23208
 
}
23209
 
_ACEOF
23210
 
rm -f conftest.$ac_objext
23211
 
if { (ac_try="$ac_compile"
23212
 
case "(($ac_try" in
23213
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23214
 
  *) ac_try_echo=$ac_try;;
23215
 
esac
23216
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23217
 
$as_echo "$ac_try_echo") >&5
23218
 
  (eval "$ac_compile") 2>conftest.er1
23219
 
  ac_status=$?
23220
 
  grep -v '^ *+' conftest.er1 >conftest.err
23221
 
  rm -f conftest.er1
23222
 
  cat conftest.err >&5
23223
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224
 
  (exit $ac_status); } && {
23225
 
         test -z "$ac_cxx_werror_flag" ||
23226
 
         test ! -s conftest.err
23227
 
       } && test -s conftest.$ac_objext; then
23228
 
  kde_cv_func_strlcat=yes
23229
 
else
23230
 
  $as_echo "$as_me: failed program was:" >&5
23231
 
sed 's/^/| /' conftest.$ac_ext >&5
23232
 
 
23233
 
        kde_cv_func_strlcat=no
23234
 
fi
23235
 
 
23236
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23237
 
CXXFLAGS="$save_CXXFLAGS"
23238
 
LIBS="$kde_safe_LIBS"
23239
 
ac_ext=c
23240
 
ac_cpp='$CPP $CPPFLAGS'
23241
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23244
 
 
23245
 
 
23246
 
fi
23247
 
 
23248
 
 
23249
 
{ $as_echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
23250
 
$as_echo "$kde_cv_func_strlcat" >&6; }
23251
 
 
23252
 
{ $as_echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
23253
 
$as_echo_n "checking if strlcat needs custom prototype... " >&6; }
23254
 
if test "${kde_cv_proto_strlcat+set}" = set; then
23255
 
  $as_echo_n "(cached) " >&6
23256
 
else
23257
 
 
23258
 
if test "x$kde_cv_func_strlcat" = xyes; then
23259
 
  kde_cv_proto_strlcat=no
23260
 
else
23261
 
  case "strlcat" in
23262
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23263
 
                kde_cv_proto_strlcat="yes - in libkdefakes"
23264
 
                ;;
23265
 
        *)
23266
 
                kde_cv_proto_strlcat=unknown
23267
 
                ;;
23268
 
  esac
23269
 
fi
23270
 
 
23271
 
if test "x$kde_cv_proto_strlcat" = xunknown; then
23272
 
 
23273
 
 
23274
 
 ac_ext=cpp
23275
 
ac_cpp='$CXXCPP $CPPFLAGS'
23276
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23279
 
 
23280
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23281
 
 
23282
 
 
23283
 
  kde_safe_libs=$LIBS
23284
 
  LIBS="$LIBS $X_EXTRA_LIBS"
23285
 
  cat >conftest.$ac_ext <<_ACEOF
23286
 
/* confdefs.h.  */
23287
 
_ACEOF
23288
 
cat confdefs.h >>conftest.$ac_ext
23289
 
cat >>conftest.$ac_ext <<_ACEOF
23290
 
/* end confdefs.h.  */
23291
 
 
23292
 
 
23293
 
#include <string.h>
23294
 
 
23295
 
 
23296
 
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
23297
 
 
23298
 
int
23299
 
main ()
23300
 
{
23301
 
 
23302
 
 char buf[20];
23303
 
  buf[0]='\0';
23304
 
  strlcat(buf, "KDE function test", sizeof(buf));
23305
 
 
23306
 
 
23307
 
  ;
23308
 
  return 0;
23309
 
}
23310
 
_ACEOF
23311
 
rm -f conftest.$ac_objext conftest$ac_exeext
23312
 
if { (ac_try="$ac_link"
23313
 
case "(($ac_try" in
23314
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23315
 
  *) ac_try_echo=$ac_try;;
23316
 
esac
23317
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23318
 
$as_echo "$ac_try_echo") >&5
23319
 
  (eval "$ac_link") 2>conftest.er1
23320
 
  ac_status=$?
23321
 
  grep -v '^ *+' conftest.er1 >conftest.err
23322
 
  rm -f conftest.er1
23323
 
  cat conftest.err >&5
23324
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325
 
  (exit $ac_status); } && {
23326
 
         test -z "$ac_cxx_werror_flag" ||
23327
 
         test ! -s conftest.err
23328
 
       } && test -s conftest$ac_exeext && {
23329
 
         test "$cross_compiling" = yes ||
23330
 
         $as_test_x conftest$ac_exeext
23331
 
       }; then
23332
 
   kde_cv_func_strlcat=yes
23333
 
  kde_cv_proto_strlcat=yes
23334
 
else
23335
 
  $as_echo "$as_me: failed program was:" >&5
23336
 
sed 's/^/| /' conftest.$ac_ext >&5
23337
 
 
23338
 
        kde_cv_proto_strlcat="strlcat unavailable"
23339
 
 
23340
 
fi
23341
 
 
23342
 
rm -rf conftest.dSYM
23343
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23344
 
      conftest$ac_exeext conftest.$ac_ext
23345
 
LIBS=$kde_safe_libs
23346
 
ac_ext=c
23347
 
ac_cpp='$CPP $CPPFLAGS'
23348
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23349
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23350
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23351
 
 
23352
 
fi
23353
 
 
23354
 
fi
23355
 
 
23356
 
{ $as_echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
23357
 
$as_echo "$kde_cv_proto_strlcat" >&6; }
23358
 
 
23359
 
if test "x$kde_cv_func_strlcat" = xyes; then
23360
 
 
23361
 
cat >>confdefs.h <<\_ACEOF
23362
 
#define HAVE_STRLCAT 1
23363
 
_ACEOF
23364
 
 
23365
 
 
23366
 
fi
23367
 
if test "x$kde_cv_proto_strlcat" = xno; then
23368
 
 
23369
 
cat >>confdefs.h <<\_ACEOF
23370
 
#define HAVE_STRLCAT_PROTO 1
23371
 
_ACEOF
23372
 
 
23373
 
fi
23374
 
 
23375
 
 
23376
 
 
23377
 
 
23378
 
 
23379
 
 
23380
 
 
23381
 
{ $as_echo "$as_me:$LINENO: checking for strlcpy" >&5
23382
 
$as_echo_n "checking for strlcpy... " >&6; }
23383
 
if test "${kde_cv_func_strlcpy+set}" = set; then
23384
 
  $as_echo_n "(cached) " >&6
23385
 
else
23386
 
 
23387
 
 
23388
 
 ac_ext=cpp
23389
 
ac_cpp='$CXXCPP $CPPFLAGS'
23390
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23391
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23392
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23393
 
 
23394
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23395
 
 
23396
 
 
23397
 
save_CXXFLAGS="$CXXFLAGS"
23398
 
kde_safe_LIBS="$LIBS"
23399
 
LIBS="$LIBS $X_EXTRA_LIBS"
23400
 
if test "$GXX" = "yes"; then
23401
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
23402
 
fi
23403
 
cat >conftest.$ac_ext <<_ACEOF
23404
 
/* confdefs.h.  */
23405
 
_ACEOF
23406
 
cat confdefs.h >>conftest.$ac_ext
23407
 
cat >>conftest.$ac_ext <<_ACEOF
23408
 
/* end confdefs.h.  */
23409
 
 
23410
 
 
23411
 
#include <string.h>
23412
 
 
23413
 
 
23414
 
int
23415
 
main ()
23416
 
{
23417
 
 
23418
 
 char buf[20];
23419
 
  strlcpy(buf, "KDE function test", sizeof(buf));
23420
 
 
23421
 
 
23422
 
  ;
23423
 
  return 0;
23424
 
}
23425
 
_ACEOF
23426
 
rm -f conftest.$ac_objext
23427
 
if { (ac_try="$ac_compile"
23428
 
case "(($ac_try" in
23429
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23430
 
  *) ac_try_echo=$ac_try;;
23431
 
esac
23432
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23433
 
$as_echo "$ac_try_echo") >&5
23434
 
  (eval "$ac_compile") 2>conftest.er1
23435
 
  ac_status=$?
23436
 
  grep -v '^ *+' conftest.er1 >conftest.err
23437
 
  rm -f conftest.er1
23438
 
  cat conftest.err >&5
23439
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440
 
  (exit $ac_status); } && {
23441
 
         test -z "$ac_cxx_werror_flag" ||
23442
 
         test ! -s conftest.err
23443
 
       } && test -s conftest.$ac_objext; then
23444
 
  kde_cv_func_strlcpy=yes
23445
 
else
23446
 
  $as_echo "$as_me: failed program was:" >&5
23447
 
sed 's/^/| /' conftest.$ac_ext >&5
23448
 
 
23449
 
        kde_cv_func_strlcpy=no
23450
 
fi
23451
 
 
23452
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23453
 
CXXFLAGS="$save_CXXFLAGS"
23454
 
LIBS="$kde_safe_LIBS"
23455
 
ac_ext=c
23456
 
ac_cpp='$CPP $CPPFLAGS'
23457
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23458
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23459
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23460
 
 
23461
 
 
23462
 
fi
23463
 
 
23464
 
 
23465
 
{ $as_echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
23466
 
$as_echo "$kde_cv_func_strlcpy" >&6; }
23467
 
 
23468
 
{ $as_echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
23469
 
$as_echo_n "checking if strlcpy needs custom prototype... " >&6; }
23470
 
if test "${kde_cv_proto_strlcpy+set}" = set; then
23471
 
  $as_echo_n "(cached) " >&6
23472
 
else
23473
 
 
23474
 
if test "x$kde_cv_func_strlcpy" = xyes; then
23475
 
  kde_cv_proto_strlcpy=no
23476
 
else
23477
 
  case "strlcpy" in
23478
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23479
 
                kde_cv_proto_strlcpy="yes - in libkdefakes"
23480
 
                ;;
23481
 
        *)
23482
 
                kde_cv_proto_strlcpy=unknown
23483
 
                ;;
23484
 
  esac
23485
 
fi
23486
 
 
23487
 
if test "x$kde_cv_proto_strlcpy" = xunknown; then
23488
 
 
23489
 
 
23490
 
 ac_ext=cpp
23491
 
ac_cpp='$CXXCPP $CPPFLAGS'
23492
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23495
 
 
23496
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23497
 
 
23498
 
 
23499
 
  kde_safe_libs=$LIBS
23500
 
  LIBS="$LIBS $X_EXTRA_LIBS"
23501
 
  cat >conftest.$ac_ext <<_ACEOF
23502
 
/* confdefs.h.  */
23503
 
_ACEOF
23504
 
cat confdefs.h >>conftest.$ac_ext
23505
 
cat >>conftest.$ac_ext <<_ACEOF
23506
 
/* end confdefs.h.  */
23507
 
 
23508
 
 
23509
 
#include <string.h>
23510
 
 
23511
 
 
23512
 
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
23513
 
 
23514
 
int
23515
 
main ()
23516
 
{
23517
 
 
23518
 
 char buf[20];
23519
 
  strlcpy(buf, "KDE function test", sizeof(buf));
23520
 
 
23521
 
 
23522
 
  ;
23523
 
  return 0;
23524
 
}
23525
 
_ACEOF
23526
 
rm -f conftest.$ac_objext conftest$ac_exeext
23527
 
if { (ac_try="$ac_link"
23528
 
case "(($ac_try" in
23529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23530
 
  *) ac_try_echo=$ac_try;;
23531
 
esac
23532
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23533
 
$as_echo "$ac_try_echo") >&5
23534
 
  (eval "$ac_link") 2>conftest.er1
23535
 
  ac_status=$?
23536
 
  grep -v '^ *+' conftest.er1 >conftest.err
23537
 
  rm -f conftest.er1
23538
 
  cat conftest.err >&5
23539
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540
 
  (exit $ac_status); } && {
23541
 
         test -z "$ac_cxx_werror_flag" ||
23542
 
         test ! -s conftest.err
23543
 
       } && test -s conftest$ac_exeext && {
23544
 
         test "$cross_compiling" = yes ||
23545
 
         $as_test_x conftest$ac_exeext
23546
 
       }; then
23547
 
   kde_cv_func_strlcpy=yes
23548
 
  kde_cv_proto_strlcpy=yes
23549
 
else
23550
 
  $as_echo "$as_me: failed program was:" >&5
23551
 
sed 's/^/| /' conftest.$ac_ext >&5
23552
 
 
23553
 
        kde_cv_proto_strlcpy="strlcpy unavailable"
23554
 
 
23555
 
fi
23556
 
 
23557
 
rm -rf conftest.dSYM
23558
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23559
 
      conftest$ac_exeext conftest.$ac_ext
23560
 
LIBS=$kde_safe_libs
23561
 
ac_ext=c
23562
 
ac_cpp='$CPP $CPPFLAGS'
23563
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23564
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23565
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23566
 
 
23567
 
fi
23568
 
 
23569
 
fi
23570
 
 
23571
 
{ $as_echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
23572
 
$as_echo "$kde_cv_proto_strlcpy" >&6; }
23573
 
 
23574
 
if test "x$kde_cv_func_strlcpy" = xyes; then
23575
 
 
23576
 
cat >>confdefs.h <<\_ACEOF
23577
 
#define HAVE_STRLCPY 1
23578
 
_ACEOF
23579
 
 
23580
 
 
23581
 
fi
23582
 
if test "x$kde_cv_proto_strlcpy" = xno; then
23583
 
 
23584
 
cat >>confdefs.h <<\_ACEOF
23585
 
#define HAVE_STRLCPY_PROTO 1
23586
 
_ACEOF
23587
 
 
23588
 
fi
23589
 
 
23590
 
 
23591
 
 
23592
 
 
23593
 
 
23594
 
 
23595
 
      { $as_echo "$as_me:$LINENO: checking for main in -lutil" >&5
23596
 
$as_echo_n "checking for main in -lutil... " >&6; }
23597
 
if test "${ac_cv_lib_util_main+set}" = set; then
23598
 
  $as_echo_n "(cached) " >&6
23599
 
else
23600
 
  ac_check_lib_save_LIBS=$LIBS
23601
 
LIBS="-lutil  $LIBS"
23602
 
cat >conftest.$ac_ext <<_ACEOF
23603
 
/* confdefs.h.  */
23604
 
_ACEOF
23605
 
cat confdefs.h >>conftest.$ac_ext
23606
 
cat >>conftest.$ac_ext <<_ACEOF
23607
 
/* end confdefs.h.  */
23608
 
 
23609
 
 
23610
 
int
23611
 
main ()
23612
 
{
23613
 
return main ();
23614
 
  ;
23615
 
  return 0;
23616
 
}
23617
 
_ACEOF
23618
 
rm -f conftest.$ac_objext conftest$ac_exeext
23619
 
if { (ac_try="$ac_link"
23620
 
case "(($ac_try" in
23621
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23622
 
  *) ac_try_echo=$ac_try;;
23623
 
esac
23624
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23625
 
$as_echo "$ac_try_echo") >&5
23626
 
  (eval "$ac_link") 2>conftest.er1
23627
 
  ac_status=$?
23628
 
  grep -v '^ *+' conftest.er1 >conftest.err
23629
 
  rm -f conftest.er1
23630
 
  cat conftest.err >&5
23631
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23632
 
  (exit $ac_status); } && {
23633
 
         test -z "$ac_c_werror_flag" ||
23634
 
         test ! -s conftest.err
23635
 
       } && test -s conftest$ac_exeext && {
23636
 
         test "$cross_compiling" = yes ||
23637
 
         $as_test_x conftest$ac_exeext
23638
 
       }; then
23639
 
  ac_cv_lib_util_main=yes
23640
 
else
23641
 
  $as_echo "$as_me: failed program was:" >&5
23642
 
sed 's/^/| /' conftest.$ac_ext >&5
23643
 
 
23644
 
        ac_cv_lib_util_main=no
23645
 
fi
23646
 
 
23647
 
rm -rf conftest.dSYM
23648
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23649
 
      conftest$ac_exeext conftest.$ac_ext
23650
 
LIBS=$ac_check_lib_save_LIBS
23651
 
fi
23652
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
23653
 
$as_echo "$ac_cv_lib_util_main" >&6; }
23654
 
if test $ac_cv_lib_util_main = yes; then
23655
 
  LIBUTIL="-lutil"
23656
 
fi
23657
 
 
23658
 
   { $as_echo "$as_me:$LINENO: checking for main in -lcompat" >&5
23659
 
$as_echo_n "checking for main in -lcompat... " >&6; }
23660
 
if test "${ac_cv_lib_compat_main+set}" = set; then
23661
 
  $as_echo_n "(cached) " >&6
23662
 
else
23663
 
  ac_check_lib_save_LIBS=$LIBS
23664
 
LIBS="-lcompat  $LIBS"
23665
 
cat >conftest.$ac_ext <<_ACEOF
23666
 
/* confdefs.h.  */
23667
 
_ACEOF
23668
 
cat confdefs.h >>conftest.$ac_ext
23669
 
cat >>conftest.$ac_ext <<_ACEOF
23670
 
/* end confdefs.h.  */
23671
 
 
23672
 
 
23673
 
int
23674
 
main ()
23675
 
{
23676
 
return main ();
23677
 
  ;
23678
 
  return 0;
23679
 
}
23680
 
_ACEOF
23681
 
rm -f conftest.$ac_objext conftest$ac_exeext
23682
 
if { (ac_try="$ac_link"
23683
 
case "(($ac_try" in
23684
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23685
 
  *) ac_try_echo=$ac_try;;
23686
 
esac
23687
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23688
 
$as_echo "$ac_try_echo") >&5
23689
 
  (eval "$ac_link") 2>conftest.er1
23690
 
  ac_status=$?
23691
 
  grep -v '^ *+' conftest.er1 >conftest.err
23692
 
  rm -f conftest.er1
23693
 
  cat conftest.err >&5
23694
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695
 
  (exit $ac_status); } && {
23696
 
         test -z "$ac_c_werror_flag" ||
23697
 
         test ! -s conftest.err
23698
 
       } && test -s conftest$ac_exeext && {
23699
 
         test "$cross_compiling" = yes ||
23700
 
         $as_test_x conftest$ac_exeext
23701
 
       }; then
23702
 
  ac_cv_lib_compat_main=yes
23703
 
else
23704
 
  $as_echo "$as_me: failed program was:" >&5
23705
 
sed 's/^/| /' conftest.$ac_ext >&5
23706
 
 
23707
 
        ac_cv_lib_compat_main=no
23708
 
fi
23709
 
 
23710
 
rm -rf conftest.dSYM
23711
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23712
 
      conftest$ac_exeext conftest.$ac_ext
23713
 
LIBS=$ac_check_lib_save_LIBS
23714
 
fi
23715
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
23716
 
$as_echo "$ac_cv_lib_compat_main" >&6; }
23717
 
if test $ac_cv_lib_compat_main = yes; then
23718
 
  LIBCOMPAT="-lcompat"
23719
 
fi
23720
 
 
23721
 
   kde_have_crypt=
23722
 
   { $as_echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
23723
 
$as_echo_n "checking for crypt in -lcrypt... " >&6; }
23724
 
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
23725
 
  $as_echo_n "(cached) " >&6
23726
 
else
23727
 
  ac_check_lib_save_LIBS=$LIBS
23728
 
LIBS="-lcrypt  $LIBS"
23729
 
cat >conftest.$ac_ext <<_ACEOF
23730
 
/* confdefs.h.  */
23731
 
_ACEOF
23732
 
cat confdefs.h >>conftest.$ac_ext
23733
 
cat >>conftest.$ac_ext <<_ACEOF
23734
 
/* end confdefs.h.  */
23735
 
 
23736
 
/* Override any GCC internal prototype to avoid an error.
23737
 
   Use char because int might match the return type of a GCC
23738
 
   builtin and then its argument prototype would still apply.  */
23739
 
#ifdef __cplusplus
23740
 
extern "C"
23741
 
#endif
23742
 
char crypt ();
23743
 
int
23744
 
main ()
23745
 
{
23746
 
return crypt ();
23747
 
  ;
23748
 
  return 0;
23749
 
}
23750
 
_ACEOF
23751
 
rm -f conftest.$ac_objext conftest$ac_exeext
23752
 
if { (ac_try="$ac_link"
23753
 
case "(($ac_try" in
23754
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23755
 
  *) ac_try_echo=$ac_try;;
23756
 
esac
23757
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23758
 
$as_echo "$ac_try_echo") >&5
23759
 
  (eval "$ac_link") 2>conftest.er1
23760
 
  ac_status=$?
23761
 
  grep -v '^ *+' conftest.er1 >conftest.err
23762
 
  rm -f conftest.er1
23763
 
  cat conftest.err >&5
23764
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765
 
  (exit $ac_status); } && {
23766
 
         test -z "$ac_c_werror_flag" ||
23767
 
         test ! -s conftest.err
23768
 
       } && test -s conftest$ac_exeext && {
23769
 
         test "$cross_compiling" = yes ||
23770
 
         $as_test_x conftest$ac_exeext
23771
 
       }; then
23772
 
  ac_cv_lib_crypt_crypt=yes
23773
 
else
23774
 
  $as_echo "$as_me: failed program was:" >&5
23775
 
sed 's/^/| /' conftest.$ac_ext >&5
23776
 
 
23777
 
        ac_cv_lib_crypt_crypt=no
23778
 
fi
23779
 
 
23780
 
rm -rf conftest.dSYM
23781
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23782
 
      conftest$ac_exeext conftest.$ac_ext
23783
 
LIBS=$ac_check_lib_save_LIBS
23784
 
fi
23785
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
23786
 
$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
23787
 
if test $ac_cv_lib_crypt_crypt = yes; then
23788
 
  LIBCRYPT="-lcrypt"; kde_have_crypt=yes
23789
 
else
23790
 
  { $as_echo "$as_me:$LINENO: checking for crypt in -lc" >&5
23791
 
$as_echo_n "checking for crypt in -lc... " >&6; }
23792
 
if test "${ac_cv_lib_c_crypt+set}" = set; then
23793
 
  $as_echo_n "(cached) " >&6
23794
 
else
23795
 
  ac_check_lib_save_LIBS=$LIBS
23796
 
LIBS="-lc  $LIBS"
23797
 
cat >conftest.$ac_ext <<_ACEOF
23798
 
/* confdefs.h.  */
23799
 
_ACEOF
23800
 
cat confdefs.h >>conftest.$ac_ext
23801
 
cat >>conftest.$ac_ext <<_ACEOF
23802
 
/* end confdefs.h.  */
23803
 
 
23804
 
/* Override any GCC internal prototype to avoid an error.
23805
 
   Use char because int might match the return type of a GCC
23806
 
   builtin and then its argument prototype would still apply.  */
23807
 
#ifdef __cplusplus
23808
 
extern "C"
23809
 
#endif
23810
 
char crypt ();
23811
 
int
23812
 
main ()
23813
 
{
23814
 
return crypt ();
23815
 
  ;
23816
 
  return 0;
23817
 
}
23818
 
_ACEOF
23819
 
rm -f conftest.$ac_objext conftest$ac_exeext
23820
 
if { (ac_try="$ac_link"
23821
 
case "(($ac_try" in
23822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23823
 
  *) ac_try_echo=$ac_try;;
23824
 
esac
23825
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23826
 
$as_echo "$ac_try_echo") >&5
23827
 
  (eval "$ac_link") 2>conftest.er1
23828
 
  ac_status=$?
23829
 
  grep -v '^ *+' conftest.er1 >conftest.err
23830
 
  rm -f conftest.er1
23831
 
  cat conftest.err >&5
23832
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833
 
  (exit $ac_status); } && {
23834
 
         test -z "$ac_c_werror_flag" ||
23835
 
         test ! -s conftest.err
23836
 
       } && test -s conftest$ac_exeext && {
23837
 
         test "$cross_compiling" = yes ||
23838
 
         $as_test_x conftest$ac_exeext
23839
 
       }; then
23840
 
  ac_cv_lib_c_crypt=yes
23841
 
else
23842
 
  $as_echo "$as_me: failed program was:" >&5
23843
 
sed 's/^/| /' conftest.$ac_ext >&5
23844
 
 
23845
 
        ac_cv_lib_c_crypt=no
23846
 
fi
23847
 
 
23848
 
rm -rf conftest.dSYM
23849
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23850
 
      conftest$ac_exeext conftest.$ac_ext
23851
 
LIBS=$ac_check_lib_save_LIBS
23852
 
fi
23853
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
23854
 
$as_echo "$ac_cv_lib_c_crypt" >&6; }
23855
 
if test $ac_cv_lib_c_crypt = yes; then
23856
 
  kde_have_crypt=yes
23857
 
else
23858
 
 
23859
 
        { $as_echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
23860
 
You should install libcrypt from another source or configure with PAM
23861
 
support" >&5
23862
 
$as_echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
23863
 
You should install libcrypt from another source or configure with PAM
23864
 
support" >&2;}
23865
 
        kde_have_crypt=no
23866
 
 
23867
 
fi
23868
 
 
23869
 
fi
23870
 
 
23871
 
 
23872
 
   if test $kde_have_crypt = yes; then
23873
 
 
23874
 
cat >>confdefs.h <<_ACEOF
23875
 
#define HAVE_CRYPT 1
23876
 
_ACEOF
23877
 
 
23878
 
   fi
23879
 
 
23880
 
   { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
23881
 
$as_echo_n "checking for socklen_t... " >&6; }
23882
 
   if test "${kde_cv_socklen_t+set}" = set; then
23883
 
  $as_echo_n "(cached) " >&6
23884
 
else
23885
 
 
23886
 
      ac_ext=cpp
23887
 
ac_cpp='$CXXCPP $CPPFLAGS'
23888
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23889
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23890
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23891
 
 
23892
 
      kde_cv_socklen_t=no
23893
 
      cat >conftest.$ac_ext <<_ACEOF
23894
 
/* confdefs.h.  */
23895
 
_ACEOF
23896
 
cat confdefs.h >>conftest.$ac_ext
23897
 
cat >>conftest.$ac_ext <<_ACEOF
23898
 
/* end confdefs.h.  */
23899
 
 
23900
 
         #include <sys/types.h>
23901
 
         #include <sys/socket.h>
23902
 
 
23903
 
int
23904
 
main ()
23905
 
{
23906
 
 
23907
 
         socklen_t len;
23908
 
         getpeername(0,0,&len);
23909
 
 
23910
 
  ;
23911
 
  return 0;
23912
 
}
23913
 
_ACEOF
23914
 
rm -f conftest.$ac_objext
23915
 
if { (ac_try="$ac_compile"
23916
 
case "(($ac_try" in
23917
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23918
 
  *) ac_try_echo=$ac_try;;
23919
 
esac
23920
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23921
 
$as_echo "$ac_try_echo") >&5
23922
 
  (eval "$ac_compile") 2>conftest.er1
23923
 
  ac_status=$?
23924
 
  grep -v '^ *+' conftest.er1 >conftest.err
23925
 
  rm -f conftest.er1
23926
 
  cat conftest.err >&5
23927
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928
 
  (exit $ac_status); } && {
23929
 
         test -z "$ac_cxx_werror_flag" ||
23930
 
         test ! -s conftest.err
23931
 
       } && test -s conftest.$ac_objext; then
23932
 
 
23933
 
         kde_cv_socklen_t=yes
23934
 
         kde_cv_socklen_t_equiv=socklen_t
23935
 
 
23936
 
else
23937
 
  $as_echo "$as_me: failed program was:" >&5
23938
 
sed 's/^/| /' conftest.$ac_ext >&5
23939
 
 
23940
 
 
23941
 
fi
23942
 
 
23943
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23944
 
      ac_ext=c
23945
 
ac_cpp='$CPP $CPPFLAGS'
23946
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23947
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23948
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23949
 
 
23950
 
 
23951
 
fi
23952
 
 
23953
 
   { $as_echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
23954
 
$as_echo "$kde_cv_socklen_t" >&6; }
23955
 
   if test $kde_cv_socklen_t = no; then
23956
 
      { $as_echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
23957
 
$as_echo_n "checking for socklen_t equivalent for socket functions... " >&6; }
23958
 
      if test "${kde_cv_socklen_t_equiv+set}" = set; then
23959
 
  $as_echo_n "(cached) " >&6
23960
 
else
23961
 
 
23962
 
         kde_cv_socklen_t_equiv=int
23963
 
         ac_ext=cpp
23964
 
ac_cpp='$CXXCPP $CPPFLAGS'
23965
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23966
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23967
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23968
 
 
23969
 
         for t in int size_t unsigned long "unsigned long"; do
23970
 
            cat >conftest.$ac_ext <<_ACEOF
23971
 
/* confdefs.h.  */
23972
 
_ACEOF
23973
 
cat confdefs.h >>conftest.$ac_ext
23974
 
cat >>conftest.$ac_ext <<_ACEOF
23975
 
/* end confdefs.h.  */
23976
 
 
23977
 
               #include <sys/types.h>
23978
 
               #include <sys/socket.h>
23979
 
 
23980
 
int
23981
 
main ()
23982
 
{
23983
 
 
23984
 
               $t len;
23985
 
               getpeername(0,0,&len);
23986
 
 
23987
 
  ;
23988
 
  return 0;
23989
 
}
23990
 
_ACEOF
23991
 
rm -f conftest.$ac_objext
23992
 
if { (ac_try="$ac_compile"
23993
 
case "(($ac_try" in
23994
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23995
 
  *) ac_try_echo=$ac_try;;
23996
 
esac
23997
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23998
 
$as_echo "$ac_try_echo") >&5
23999
 
  (eval "$ac_compile") 2>conftest.er1
24000
 
  ac_status=$?
24001
 
  grep -v '^ *+' conftest.er1 >conftest.err
24002
 
  rm -f conftest.er1
24003
 
  cat conftest.err >&5
24004
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005
 
  (exit $ac_status); } && {
24006
 
         test -z "$ac_cxx_werror_flag" ||
24007
 
         test ! -s conftest.err
24008
 
       } && test -s conftest.$ac_objext; then
24009
 
 
24010
 
               kde_cv_socklen_t_equiv="$t"
24011
 
               break
24012
 
 
24013
 
else
24014
 
  $as_echo "$as_me: failed program was:" >&5
24015
 
sed 's/^/| /' conftest.$ac_ext >&5
24016
 
 
24017
 
 
24018
 
fi
24019
 
 
24020
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24021
 
         done
24022
 
         ac_ext=c
24023
 
ac_cpp='$CPP $CPPFLAGS'
24024
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24025
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24026
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
24027
 
 
24028
 
 
24029
 
fi
24030
 
 
24031
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
24032
 
$as_echo "$kde_cv_socklen_t_equiv" >&6; }
24033
 
   fi
24034
 
 
24035
 
cat >>confdefs.h <<_ACEOF
24036
 
#define kde_socklen_t $kde_cv_socklen_t_equiv
24037
 
_ACEOF
24038
 
 
24039
 
 
24040
 
cat >>confdefs.h <<_ACEOF
24041
 
#define ksize_t $kde_cv_socklen_t_equiv
24042
 
_ACEOF
24043
 
 
24044
 
 
24045
 
   { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24046
 
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24047
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24048
 
  $as_echo_n "(cached) " >&6
24049
 
else
24050
 
  ac_check_lib_save_LIBS=$LIBS
24051
 
LIBS="-ldnet  $LIBS"
24052
 
cat >conftest.$ac_ext <<_ACEOF
24053
 
/* confdefs.h.  */
24054
 
_ACEOF
24055
 
cat confdefs.h >>conftest.$ac_ext
24056
 
cat >>conftest.$ac_ext <<_ACEOF
24057
 
/* end confdefs.h.  */
24058
 
 
24059
 
/* Override any GCC internal prototype to avoid an error.
24060
 
   Use char because int might match the return type of a GCC
24061
 
   builtin and then its argument prototype would still apply.  */
24062
 
#ifdef __cplusplus
24063
 
extern "C"
24064
 
#endif
24065
 
char dnet_ntoa ();
24066
 
int
24067
 
main ()
24068
 
{
24069
 
return dnet_ntoa ();
24070
 
  ;
24071
 
  return 0;
24072
 
}
24073
 
_ACEOF
24074
 
rm -f conftest.$ac_objext conftest$ac_exeext
24075
 
if { (ac_try="$ac_link"
24076
 
case "(($ac_try" in
24077
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24078
 
  *) ac_try_echo=$ac_try;;
24079
 
esac
24080
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24081
 
$as_echo "$ac_try_echo") >&5
24082
 
  (eval "$ac_link") 2>conftest.er1
24083
 
  ac_status=$?
24084
 
  grep -v '^ *+' conftest.er1 >conftest.err
24085
 
  rm -f conftest.er1
24086
 
  cat conftest.err >&5
24087
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088
 
  (exit $ac_status); } && {
24089
 
         test -z "$ac_c_werror_flag" ||
24090
 
         test ! -s conftest.err
24091
 
       } && test -s conftest$ac_exeext && {
24092
 
         test "$cross_compiling" = yes ||
24093
 
         $as_test_x conftest$ac_exeext
24094
 
       }; then
24095
 
  ac_cv_lib_dnet_dnet_ntoa=yes
24096
 
else
24097
 
  $as_echo "$as_me: failed program was:" >&5
24098
 
sed 's/^/| /' conftest.$ac_ext >&5
24099
 
 
24100
 
        ac_cv_lib_dnet_dnet_ntoa=no
24101
 
fi
24102
 
 
24103
 
rm -rf conftest.dSYM
24104
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24105
 
      conftest$ac_exeext conftest.$ac_ext
24106
 
LIBS=$ac_check_lib_save_LIBS
24107
 
fi
24108
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24109
 
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24110
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24111
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24112
 
fi
24113
 
 
24114
 
   if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24115
 
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24116
 
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24117
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24118
 
  $as_echo_n "(cached) " >&6
24119
 
else
24120
 
  ac_check_lib_save_LIBS=$LIBS
24121
 
LIBS="-ldnet_stub  $LIBS"
24122
 
cat >conftest.$ac_ext <<_ACEOF
24123
 
/* confdefs.h.  */
24124
 
_ACEOF
24125
 
cat confdefs.h >>conftest.$ac_ext
24126
 
cat >>conftest.$ac_ext <<_ACEOF
24127
 
/* end confdefs.h.  */
24128
 
 
24129
 
/* Override any GCC internal prototype to avoid an error.
24130
 
   Use char because int might match the return type of a GCC
24131
 
   builtin and then its argument prototype would still apply.  */
24132
 
#ifdef __cplusplus
24133
 
extern "C"
24134
 
#endif
24135
 
char dnet_ntoa ();
24136
 
int
24137
 
main ()
24138
 
{
24139
 
return dnet_ntoa ();
24140
 
  ;
24141
 
  return 0;
24142
 
}
24143
 
_ACEOF
24144
 
rm -f conftest.$ac_objext conftest$ac_exeext
24145
 
if { (ac_try="$ac_link"
24146
 
case "(($ac_try" in
24147
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24148
 
  *) ac_try_echo=$ac_try;;
24149
 
esac
24150
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24151
 
$as_echo "$ac_try_echo") >&5
24152
 
  (eval "$ac_link") 2>conftest.er1
24153
 
  ac_status=$?
24154
 
  grep -v '^ *+' conftest.er1 >conftest.err
24155
 
  rm -f conftest.er1
24156
 
  cat conftest.err >&5
24157
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158
 
  (exit $ac_status); } && {
24159
 
         test -z "$ac_c_werror_flag" ||
24160
 
         test ! -s conftest.err
24161
 
       } && test -s conftest$ac_exeext && {
24162
 
         test "$cross_compiling" = yes ||
24163
 
         $as_test_x conftest$ac_exeext
24164
 
       }; then
24165
 
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
24166
 
else
24167
 
  $as_echo "$as_me: failed program was:" >&5
24168
 
sed 's/^/| /' conftest.$ac_ext >&5
24169
 
 
24170
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
24171
 
fi
24172
 
 
24173
 
rm -rf conftest.dSYM
24174
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24175
 
      conftest$ac_exeext conftest.$ac_ext
24176
 
LIBS=$ac_check_lib_save_LIBS
24177
 
fi
24178
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24179
 
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24180
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24181
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24182
 
fi
24183
 
 
24184
 
   fi
24185
 
   { $as_echo "$as_me:$LINENO: checking for inet_ntoa" >&5
24186
 
$as_echo_n "checking for inet_ntoa... " >&6; }
24187
 
if test "${ac_cv_func_inet_ntoa+set}" = set; then
24188
 
  $as_echo_n "(cached) " >&6
24189
 
else
24190
 
  cat >conftest.$ac_ext <<_ACEOF
24191
 
/* confdefs.h.  */
24192
 
_ACEOF
24193
 
cat confdefs.h >>conftest.$ac_ext
24194
 
cat >>conftest.$ac_ext <<_ACEOF
24195
 
/* end confdefs.h.  */
24196
 
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
24197
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24198
 
#define inet_ntoa innocuous_inet_ntoa
24199
 
 
24200
 
/* System header to define __stub macros and hopefully few prototypes,
24201
 
    which can conflict with char inet_ntoa (); below.
24202
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24203
 
    <limits.h> exists even on freestanding compilers.  */
24204
 
 
24205
 
#ifdef __STDC__
24206
 
# include <limits.h>
24207
 
#else
24208
 
# include <assert.h>
24209
 
#endif
24210
 
 
24211
 
#undef inet_ntoa
24212
 
 
24213
 
/* Override any GCC internal prototype to avoid an error.
24214
 
   Use char because int might match the return type of a GCC
24215
 
   builtin and then its argument prototype would still apply.  */
24216
 
#ifdef __cplusplus
24217
 
extern "C"
24218
 
#endif
24219
 
char inet_ntoa ();
24220
 
/* The GNU C library defines this for functions which it implements
24221
 
    to always fail with ENOSYS.  Some functions are actually named
24222
 
    something starting with __ and the normal name is an alias.  */
24223
 
#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
24224
 
choke me
24225
 
#endif
24226
 
 
24227
 
int
24228
 
main ()
24229
 
{
24230
 
return inet_ntoa ();
24231
 
  ;
24232
 
  return 0;
24233
 
}
24234
 
_ACEOF
24235
 
rm -f conftest.$ac_objext conftest$ac_exeext
24236
 
if { (ac_try="$ac_link"
24237
 
case "(($ac_try" in
24238
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24239
 
  *) ac_try_echo=$ac_try;;
24240
 
esac
24241
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24242
 
$as_echo "$ac_try_echo") >&5
24243
 
  (eval "$ac_link") 2>conftest.er1
24244
 
  ac_status=$?
24245
 
  grep -v '^ *+' conftest.er1 >conftest.err
24246
 
  rm -f conftest.er1
24247
 
  cat conftest.err >&5
24248
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249
 
  (exit $ac_status); } && {
24250
 
         test -z "$ac_c_werror_flag" ||
24251
 
         test ! -s conftest.err
24252
 
       } && test -s conftest$ac_exeext && {
24253
 
         test "$cross_compiling" = yes ||
24254
 
         $as_test_x conftest$ac_exeext
24255
 
       }; then
24256
 
  ac_cv_func_inet_ntoa=yes
24257
 
else
24258
 
  $as_echo "$as_me: failed program was:" >&5
24259
 
sed 's/^/| /' conftest.$ac_ext >&5
24260
 
 
24261
 
        ac_cv_func_inet_ntoa=no
24262
 
fi
24263
 
 
24264
 
rm -rf conftest.dSYM
24265
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24266
 
      conftest$ac_exeext conftest.$ac_ext
24267
 
fi
24268
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
24269
 
$as_echo "$ac_cv_func_inet_ntoa" >&6; }
24270
 
 
24271
 
   if test $ac_cv_func_inet_ntoa = no; then
24272
 
     { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
24273
 
$as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
24274
 
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
24275
 
  $as_echo_n "(cached) " >&6
24276
 
else
24277
 
  ac_check_lib_save_LIBS=$LIBS
24278
 
LIBS="-lnsl  $LIBS"
24279
 
cat >conftest.$ac_ext <<_ACEOF
24280
 
/* confdefs.h.  */
24281
 
_ACEOF
24282
 
cat confdefs.h >>conftest.$ac_ext
24283
 
cat >>conftest.$ac_ext <<_ACEOF
24284
 
/* end confdefs.h.  */
24285
 
 
24286
 
/* Override any GCC internal prototype to avoid an error.
24287
 
   Use char because int might match the return type of a GCC
24288
 
   builtin and then its argument prototype would still apply.  */
24289
 
#ifdef __cplusplus
24290
 
extern "C"
24291
 
#endif
24292
 
char inet_ntoa ();
24293
 
int
24294
 
main ()
24295
 
{
24296
 
return inet_ntoa ();
24297
 
  ;
24298
 
  return 0;
24299
 
}
24300
 
_ACEOF
24301
 
rm -f conftest.$ac_objext conftest$ac_exeext
24302
 
if { (ac_try="$ac_link"
24303
 
case "(($ac_try" in
24304
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24305
 
  *) ac_try_echo=$ac_try;;
24306
 
esac
24307
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24308
 
$as_echo "$ac_try_echo") >&5
24309
 
  (eval "$ac_link") 2>conftest.er1
24310
 
  ac_status=$?
24311
 
  grep -v '^ *+' conftest.er1 >conftest.err
24312
 
  rm -f conftest.er1
24313
 
  cat conftest.err >&5
24314
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315
 
  (exit $ac_status); } && {
24316
 
         test -z "$ac_c_werror_flag" ||
24317
 
         test ! -s conftest.err
24318
 
       } && test -s conftest$ac_exeext && {
24319
 
         test "$cross_compiling" = yes ||
24320
 
         $as_test_x conftest$ac_exeext
24321
 
       }; then
24322
 
  ac_cv_lib_nsl_inet_ntoa=yes
24323
 
else
24324
 
  $as_echo "$as_me: failed program was:" >&5
24325
 
sed 's/^/| /' conftest.$ac_ext >&5
24326
 
 
24327
 
        ac_cv_lib_nsl_inet_ntoa=no
24328
 
fi
24329
 
 
24330
 
rm -rf conftest.dSYM
24331
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24332
 
      conftest$ac_exeext conftest.$ac_ext
24333
 
LIBS=$ac_check_lib_save_LIBS
24334
 
fi
24335
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
24336
 
$as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
24337
 
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
24338
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24339
 
fi
24340
 
 
24341
 
   fi
24342
 
   { $as_echo "$as_me:$LINENO: checking for connect" >&5
24343
 
$as_echo_n "checking for connect... " >&6; }
24344
 
if test "${ac_cv_func_connect+set}" = set; then
24345
 
  $as_echo_n "(cached) " >&6
24346
 
else
24347
 
  cat >conftest.$ac_ext <<_ACEOF
24348
 
/* confdefs.h.  */
24349
 
_ACEOF
24350
 
cat confdefs.h >>conftest.$ac_ext
24351
 
cat >>conftest.$ac_ext <<_ACEOF
24352
 
/* end confdefs.h.  */
24353
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
24354
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24355
 
#define connect innocuous_connect
24356
 
 
24357
 
/* System header to define __stub macros and hopefully few prototypes,
24358
 
    which can conflict with char connect (); below.
24359
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24360
 
    <limits.h> exists even on freestanding compilers.  */
24361
 
 
24362
 
#ifdef __STDC__
24363
 
# include <limits.h>
24364
 
#else
24365
 
# include <assert.h>
24366
 
#endif
24367
 
 
24368
 
#undef connect
24369
 
 
24370
 
/* Override any GCC internal prototype to avoid an error.
24371
 
   Use char because int might match the return type of a GCC
24372
 
   builtin and then its argument prototype would still apply.  */
24373
 
#ifdef __cplusplus
24374
 
extern "C"
24375
 
#endif
24376
 
char connect ();
24377
 
/* The GNU C library defines this for functions which it implements
24378
 
    to always fail with ENOSYS.  Some functions are actually named
24379
 
    something starting with __ and the normal name is an alias.  */
24380
 
#if defined __stub_connect || defined __stub___connect
24381
 
choke me
24382
 
#endif
24383
 
 
24384
 
int
24385
 
main ()
24386
 
{
24387
 
return connect ();
24388
 
  ;
24389
 
  return 0;
24390
 
}
24391
 
_ACEOF
24392
 
rm -f conftest.$ac_objext conftest$ac_exeext
24393
 
if { (ac_try="$ac_link"
24394
 
case "(($ac_try" in
24395
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24396
 
  *) ac_try_echo=$ac_try;;
24397
 
esac
24398
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24399
 
$as_echo "$ac_try_echo") >&5
24400
 
  (eval "$ac_link") 2>conftest.er1
24401
 
  ac_status=$?
24402
 
  grep -v '^ *+' conftest.er1 >conftest.err
24403
 
  rm -f conftest.er1
24404
 
  cat conftest.err >&5
24405
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406
 
  (exit $ac_status); } && {
24407
 
         test -z "$ac_c_werror_flag" ||
24408
 
         test ! -s conftest.err
24409
 
       } && test -s conftest$ac_exeext && {
24410
 
         test "$cross_compiling" = yes ||
24411
 
         $as_test_x conftest$ac_exeext
24412
 
       }; then
24413
 
  ac_cv_func_connect=yes
24414
 
else
24415
 
  $as_echo "$as_me: failed program was:" >&5
24416
 
sed 's/^/| /' conftest.$ac_ext >&5
24417
 
 
24418
 
        ac_cv_func_connect=no
24419
 
fi
24420
 
 
24421
 
rm -rf conftest.dSYM
24422
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24423
 
      conftest$ac_exeext conftest.$ac_ext
24424
 
fi
24425
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24426
 
$as_echo "$ac_cv_func_connect" >&6; }
24427
 
 
24428
 
   if test $ac_cv_func_connect = no; then
24429
 
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24430
 
$as_echo_n "checking for connect in -lsocket... " >&6; }
24431
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
24432
 
  $as_echo_n "(cached) " >&6
24433
 
else
24434
 
  ac_check_lib_save_LIBS=$LIBS
24435
 
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24436
 
cat >conftest.$ac_ext <<_ACEOF
24437
 
/* confdefs.h.  */
24438
 
_ACEOF
24439
 
cat confdefs.h >>conftest.$ac_ext
24440
 
cat >>conftest.$ac_ext <<_ACEOF
24441
 
/* end confdefs.h.  */
24442
 
 
24443
 
/* Override any GCC internal prototype to avoid an error.
24444
 
   Use char because int might match the return type of a GCC
24445
 
   builtin and then its argument prototype would still apply.  */
24446
 
#ifdef __cplusplus
24447
 
extern "C"
24448
 
#endif
24449
 
char connect ();
24450
 
int
24451
 
main ()
24452
 
{
24453
 
return connect ();
24454
 
  ;
24455
 
  return 0;
24456
 
}
24457
 
_ACEOF
24458
 
rm -f conftest.$ac_objext conftest$ac_exeext
24459
 
if { (ac_try="$ac_link"
24460
 
case "(($ac_try" in
24461
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462
 
  *) ac_try_echo=$ac_try;;
24463
 
esac
24464
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24465
 
$as_echo "$ac_try_echo") >&5
24466
 
  (eval "$ac_link") 2>conftest.er1
24467
 
  ac_status=$?
24468
 
  grep -v '^ *+' conftest.er1 >conftest.err
24469
 
  rm -f conftest.er1
24470
 
  cat conftest.err >&5
24471
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472
 
  (exit $ac_status); } && {
24473
 
         test -z "$ac_c_werror_flag" ||
24474
 
         test ! -s conftest.err
24475
 
       } && test -s conftest$ac_exeext && {
24476
 
         test "$cross_compiling" = yes ||
24477
 
         $as_test_x conftest$ac_exeext
24478
 
       }; then
24479
 
  ac_cv_lib_socket_connect=yes
24480
 
else
24481
 
  $as_echo "$as_me: failed program was:" >&5
24482
 
sed 's/^/| /' conftest.$ac_ext >&5
24483
 
 
24484
 
        ac_cv_lib_socket_connect=no
24485
 
fi
24486
 
 
24487
 
rm -rf conftest.dSYM
24488
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24489
 
      conftest$ac_exeext conftest.$ac_ext
24490
 
LIBS=$ac_check_lib_save_LIBS
24491
 
fi
24492
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24493
 
$as_echo "$ac_cv_lib_socket_connect" >&6; }
24494
 
if test $ac_cv_lib_socket_connect = yes; then
24495
 
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24496
 
fi
24497
 
 
24498
 
   fi
24499
 
 
24500
 
   { $as_echo "$as_me:$LINENO: checking for remove" >&5
24501
 
$as_echo_n "checking for remove... " >&6; }
24502
 
if test "${ac_cv_func_remove+set}" = set; then
24503
 
  $as_echo_n "(cached) " >&6
24504
 
else
24505
 
  cat >conftest.$ac_ext <<_ACEOF
24506
 
/* confdefs.h.  */
24507
 
_ACEOF
24508
 
cat confdefs.h >>conftest.$ac_ext
24509
 
cat >>conftest.$ac_ext <<_ACEOF
24510
 
/* end confdefs.h.  */
24511
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
24512
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24513
 
#define remove innocuous_remove
24514
 
 
24515
 
/* System header to define __stub macros and hopefully few prototypes,
24516
 
    which can conflict with char remove (); below.
24517
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24518
 
    <limits.h> exists even on freestanding compilers.  */
24519
 
 
24520
 
#ifdef __STDC__
24521
 
# include <limits.h>
24522
 
#else
24523
 
# include <assert.h>
24524
 
#endif
24525
 
 
24526
 
#undef remove
24527
 
 
24528
 
/* Override any GCC internal prototype to avoid an error.
24529
 
   Use char because int might match the return type of a GCC
24530
 
   builtin and then its argument prototype would still apply.  */
24531
 
#ifdef __cplusplus
24532
 
extern "C"
24533
 
#endif
24534
 
char remove ();
24535
 
/* The GNU C library defines this for functions which it implements
24536
 
    to always fail with ENOSYS.  Some functions are actually named
24537
 
    something starting with __ and the normal name is an alias.  */
24538
 
#if defined __stub_remove || defined __stub___remove
24539
 
choke me
24540
 
#endif
24541
 
 
24542
 
int
24543
 
main ()
24544
 
{
24545
 
return remove ();
24546
 
  ;
24547
 
  return 0;
24548
 
}
24549
 
_ACEOF
24550
 
rm -f conftest.$ac_objext conftest$ac_exeext
24551
 
if { (ac_try="$ac_link"
24552
 
case "(($ac_try" in
24553
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24554
 
  *) ac_try_echo=$ac_try;;
24555
 
esac
24556
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24557
 
$as_echo "$ac_try_echo") >&5
24558
 
  (eval "$ac_link") 2>conftest.er1
24559
 
  ac_status=$?
24560
 
  grep -v '^ *+' conftest.er1 >conftest.err
24561
 
  rm -f conftest.er1
24562
 
  cat conftest.err >&5
24563
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564
 
  (exit $ac_status); } && {
24565
 
         test -z "$ac_c_werror_flag" ||
24566
 
         test ! -s conftest.err
24567
 
       } && test -s conftest$ac_exeext && {
24568
 
         test "$cross_compiling" = yes ||
24569
 
         $as_test_x conftest$ac_exeext
24570
 
       }; then
24571
 
  ac_cv_func_remove=yes
24572
 
else
24573
 
  $as_echo "$as_me: failed program was:" >&5
24574
 
sed 's/^/| /' conftest.$ac_ext >&5
24575
 
 
24576
 
        ac_cv_func_remove=no
24577
 
fi
24578
 
 
24579
 
rm -rf conftest.dSYM
24580
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24581
 
      conftest$ac_exeext conftest.$ac_ext
24582
 
fi
24583
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24584
 
$as_echo "$ac_cv_func_remove" >&6; }
24585
 
 
24586
 
   if test $ac_cv_func_remove = no; then
24587
 
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24588
 
$as_echo_n "checking for remove in -lposix... " >&6; }
24589
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
24590
 
  $as_echo_n "(cached) " >&6
24591
 
else
24592
 
  ac_check_lib_save_LIBS=$LIBS
24593
 
LIBS="-lposix  $LIBS"
24594
 
cat >conftest.$ac_ext <<_ACEOF
24595
 
/* confdefs.h.  */
24596
 
_ACEOF
24597
 
cat confdefs.h >>conftest.$ac_ext
24598
 
cat >>conftest.$ac_ext <<_ACEOF
24599
 
/* end confdefs.h.  */
24600
 
 
24601
 
/* Override any GCC internal prototype to avoid an error.
24602
 
   Use char because int might match the return type of a GCC
24603
 
   builtin and then its argument prototype would still apply.  */
24604
 
#ifdef __cplusplus
24605
 
extern "C"
24606
 
#endif
24607
 
char remove ();
24608
 
int
24609
 
main ()
24610
 
{
24611
 
return remove ();
24612
 
  ;
24613
 
  return 0;
24614
 
}
24615
 
_ACEOF
24616
 
rm -f conftest.$ac_objext conftest$ac_exeext
24617
 
if { (ac_try="$ac_link"
24618
 
case "(($ac_try" in
24619
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24620
 
  *) ac_try_echo=$ac_try;;
24621
 
esac
24622
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24623
 
$as_echo "$ac_try_echo") >&5
24624
 
  (eval "$ac_link") 2>conftest.er1
24625
 
  ac_status=$?
24626
 
  grep -v '^ *+' conftest.er1 >conftest.err
24627
 
  rm -f conftest.er1
24628
 
  cat conftest.err >&5
24629
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630
 
  (exit $ac_status); } && {
24631
 
         test -z "$ac_c_werror_flag" ||
24632
 
         test ! -s conftest.err
24633
 
       } && test -s conftest$ac_exeext && {
24634
 
         test "$cross_compiling" = yes ||
24635
 
         $as_test_x conftest$ac_exeext
24636
 
       }; then
24637
 
  ac_cv_lib_posix_remove=yes
24638
 
else
24639
 
  $as_echo "$as_me: failed program was:" >&5
24640
 
sed 's/^/| /' conftest.$ac_ext >&5
24641
 
 
24642
 
        ac_cv_lib_posix_remove=no
24643
 
fi
24644
 
 
24645
 
rm -rf conftest.dSYM
24646
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24647
 
      conftest$ac_exeext conftest.$ac_ext
24648
 
LIBS=$ac_check_lib_save_LIBS
24649
 
fi
24650
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24651
 
$as_echo "$ac_cv_lib_posix_remove" >&6; }
24652
 
if test $ac_cv_lib_posix_remove = yes; then
24653
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24654
 
fi
24655
 
 
24656
 
   fi
24657
 
 
24658
 
   # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24659
 
   { $as_echo "$as_me:$LINENO: checking for shmat" >&5
24660
 
$as_echo_n "checking for shmat... " >&6; }
24661
 
if test "${ac_cv_func_shmat+set}" = set; then
24662
 
  $as_echo_n "(cached) " >&6
24663
 
else
24664
 
  cat >conftest.$ac_ext <<_ACEOF
24665
 
/* confdefs.h.  */
24666
 
_ACEOF
24667
 
cat confdefs.h >>conftest.$ac_ext
24668
 
cat >>conftest.$ac_ext <<_ACEOF
24669
 
/* end confdefs.h.  */
24670
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24671
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24672
 
#define shmat innocuous_shmat
24673
 
 
24674
 
/* System header to define __stub macros and hopefully few prototypes,
24675
 
    which can conflict with char shmat (); below.
24676
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24677
 
    <limits.h> exists even on freestanding compilers.  */
24678
 
 
24679
 
#ifdef __STDC__
24680
 
# include <limits.h>
24681
 
#else
24682
 
# include <assert.h>
24683
 
#endif
24684
 
 
24685
 
#undef shmat
24686
 
 
24687
 
/* Override any GCC internal prototype to avoid an error.
24688
 
   Use char because int might match the return type of a GCC
24689
 
   builtin and then its argument prototype would still apply.  */
24690
 
#ifdef __cplusplus
24691
 
extern "C"
24692
 
#endif
24693
 
char shmat ();
24694
 
/* The GNU C library defines this for functions which it implements
24695
 
    to always fail with ENOSYS.  Some functions are actually named
24696
 
    something starting with __ and the normal name is an alias.  */
24697
 
#if defined __stub_shmat || defined __stub___shmat
24698
 
choke me
24699
 
#endif
24700
 
 
24701
 
int
24702
 
main ()
24703
 
{
24704
 
return shmat ();
24705
 
  ;
24706
 
  return 0;
24707
 
}
24708
 
_ACEOF
24709
 
rm -f conftest.$ac_objext conftest$ac_exeext
24710
 
if { (ac_try="$ac_link"
24711
 
case "(($ac_try" in
24712
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24713
 
  *) ac_try_echo=$ac_try;;
24714
 
esac
24715
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24716
 
$as_echo "$ac_try_echo") >&5
24717
 
  (eval "$ac_link") 2>conftest.er1
24718
 
  ac_status=$?
24719
 
  grep -v '^ *+' conftest.er1 >conftest.err
24720
 
  rm -f conftest.er1
24721
 
  cat conftest.err >&5
24722
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723
 
  (exit $ac_status); } && {
24724
 
         test -z "$ac_c_werror_flag" ||
24725
 
         test ! -s conftest.err
24726
 
       } && test -s conftest$ac_exeext && {
24727
 
         test "$cross_compiling" = yes ||
24728
 
         $as_test_x conftest$ac_exeext
24729
 
       }; then
24730
 
  ac_cv_func_shmat=yes
24731
 
else
24732
 
  $as_echo "$as_me: failed program was:" >&5
24733
 
sed 's/^/| /' conftest.$ac_ext >&5
24734
 
 
24735
 
        ac_cv_func_shmat=no
24736
 
fi
24737
 
 
24738
 
rm -rf conftest.dSYM
24739
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24740
 
      conftest$ac_exeext conftest.$ac_ext
24741
 
fi
24742
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24743
 
$as_echo "$ac_cv_func_shmat" >&6; }
24744
 
if test $ac_cv_func_shmat = yes; then
24745
 
  :
24746
 
else
24747
 
  { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24748
 
$as_echo_n "checking for shmat in -lipc... " >&6; }
24749
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24750
 
  $as_echo_n "(cached) " >&6
24751
 
else
24752
 
  ac_check_lib_save_LIBS=$LIBS
24753
 
LIBS="-lipc  $LIBS"
24754
 
cat >conftest.$ac_ext <<_ACEOF
24755
 
/* confdefs.h.  */
24756
 
_ACEOF
24757
 
cat confdefs.h >>conftest.$ac_ext
24758
 
cat >>conftest.$ac_ext <<_ACEOF
24759
 
/* end confdefs.h.  */
24760
 
 
24761
 
/* Override any GCC internal prototype to avoid an error.
24762
 
   Use char because int might match the return type of a GCC
24763
 
   builtin and then its argument prototype would still apply.  */
24764
 
#ifdef __cplusplus
24765
 
extern "C"
24766
 
#endif
24767
 
char shmat ();
24768
 
int
24769
 
main ()
24770
 
{
24771
 
return shmat ();
24772
 
  ;
24773
 
  return 0;
24774
 
}
24775
 
_ACEOF
24776
 
rm -f conftest.$ac_objext conftest$ac_exeext
24777
 
if { (ac_try="$ac_link"
24778
 
case "(($ac_try" in
24779
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24780
 
  *) ac_try_echo=$ac_try;;
24781
 
esac
24782
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24783
 
$as_echo "$ac_try_echo") >&5
24784
 
  (eval "$ac_link") 2>conftest.er1
24785
 
  ac_status=$?
24786
 
  grep -v '^ *+' conftest.er1 >conftest.err
24787
 
  rm -f conftest.er1
24788
 
  cat conftest.err >&5
24789
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24790
 
  (exit $ac_status); } && {
24791
 
         test -z "$ac_c_werror_flag" ||
24792
 
         test ! -s conftest.err
24793
 
       } && test -s conftest$ac_exeext && {
24794
 
         test "$cross_compiling" = yes ||
24795
 
         $as_test_x conftest$ac_exeext
24796
 
       }; then
24797
 
  ac_cv_lib_ipc_shmat=yes
24798
 
else
24799
 
  $as_echo "$as_me: failed program was:" >&5
24800
 
sed 's/^/| /' conftest.$ac_ext >&5
24801
 
 
24802
 
        ac_cv_lib_ipc_shmat=no
24803
 
fi
24804
 
 
24805
 
rm -rf conftest.dSYM
24806
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24807
 
      conftest$ac_exeext conftest.$ac_ext
24808
 
LIBS=$ac_check_lib_save_LIBS
24809
 
fi
24810
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24811
 
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
24812
 
if test $ac_cv_lib_ipc_shmat = yes; then
24813
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24814
 
fi
24815
 
 
24816
 
fi
24817
 
 
24818
 
 
24819
 
   # more headers that need to be explicitly included on darwin
24820
 
 
24821
 
 
24822
 
for ac_header in sys/types.h stdint.h
24823
 
do
24824
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24825
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24826
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24827
 
$as_echo_n "checking for $ac_header... " >&6; }
24828
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24829
 
  $as_echo_n "(cached) " >&6
24830
 
fi
24831
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
24832
 
                 $as_echo "$as_val"'`
24833
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24834
 
$as_echo "$ac_res" >&6; }
24835
 
else
24836
 
  # Is the header compilable?
24837
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24838
 
$as_echo_n "checking $ac_header usability... " >&6; }
24839
 
cat >conftest.$ac_ext <<_ACEOF
24840
 
/* confdefs.h.  */
24841
 
_ACEOF
24842
 
cat confdefs.h >>conftest.$ac_ext
24843
 
cat >>conftest.$ac_ext <<_ACEOF
24844
 
/* end confdefs.h.  */
24845
 
$ac_includes_default
24846
 
#include <$ac_header>
24847
 
_ACEOF
24848
 
rm -f conftest.$ac_objext
24849
 
if { (ac_try="$ac_compile"
24850
 
case "(($ac_try" in
24851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24852
 
  *) ac_try_echo=$ac_try;;
24853
 
esac
24854
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24855
 
$as_echo "$ac_try_echo") >&5
24856
 
  (eval "$ac_compile") 2>conftest.er1
24857
 
  ac_status=$?
24858
 
  grep -v '^ *+' conftest.er1 >conftest.err
24859
 
  rm -f conftest.er1
24860
 
  cat conftest.err >&5
24861
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862
 
  (exit $ac_status); } && {
24863
 
         test -z "$ac_c_werror_flag" ||
24864
 
         test ! -s conftest.err
24865
 
       } && test -s conftest.$ac_objext; then
24866
 
  ac_header_compiler=yes
24867
 
else
24868
 
  $as_echo "$as_me: failed program was:" >&5
24869
 
sed 's/^/| /' conftest.$ac_ext >&5
24870
 
 
24871
 
        ac_header_compiler=no
24872
 
fi
24873
 
 
24874
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24875
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24876
 
$as_echo "$ac_header_compiler" >&6; }
24877
 
 
24878
 
# Is the header present?
24879
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24880
 
$as_echo_n "checking $ac_header presence... " >&6; }
24881
 
cat >conftest.$ac_ext <<_ACEOF
24882
 
/* confdefs.h.  */
24883
 
_ACEOF
24884
 
cat confdefs.h >>conftest.$ac_ext
24885
 
cat >>conftest.$ac_ext <<_ACEOF
24886
 
/* end confdefs.h.  */
24887
 
#include <$ac_header>
24888
 
_ACEOF
24889
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24890
 
case "(($ac_try" in
24891
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24892
 
  *) ac_try_echo=$ac_try;;
24893
 
esac
24894
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24895
 
$as_echo "$ac_try_echo") >&5
24896
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24897
 
  ac_status=$?
24898
 
  grep -v '^ *+' conftest.er1 >conftest.err
24899
 
  rm -f conftest.er1
24900
 
  cat conftest.err >&5
24901
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902
 
  (exit $ac_status); } >/dev/null && {
24903
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24904
 
         test ! -s conftest.err
24905
 
       }; then
24906
 
  ac_header_preproc=yes
24907
 
else
24908
 
  $as_echo "$as_me: failed program was:" >&5
24909
 
sed 's/^/| /' conftest.$ac_ext >&5
24910
 
 
24911
 
  ac_header_preproc=no
24912
 
fi
24913
 
 
24914
 
rm -f conftest.err conftest.$ac_ext
24915
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24916
 
$as_echo "$ac_header_preproc" >&6; }
24917
 
 
24918
 
# So?  What about this header?
24919
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24920
 
  yes:no: )
24921
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24922
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24923
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24924
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24925
 
    ac_header_preproc=yes
24926
 
    ;;
24927
 
  no:yes:* )
24928
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24929
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24930
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24931
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24932
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24933
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24934
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24935
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24936
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24937
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24938
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24939
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24940
 
 
24941
 
    ;;
24942
 
esac
24943
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24944
 
$as_echo_n "checking for $ac_header... " >&6; }
24945
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24946
 
  $as_echo_n "(cached) " >&6
24947
 
else
24948
 
  eval "$as_ac_Header=\$ac_header_preproc"
24949
 
fi
24950
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
24951
 
                 $as_echo "$as_val"'`
24952
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24953
 
$as_echo "$ac_res" >&6; }
24954
 
 
24955
 
fi
24956
 
if test `eval 'as_val=${'$as_ac_Header'}
24957
 
                 $as_echo "$as_val"'` = yes; then
24958
 
  cat >>confdefs.h <<_ACEOF
24959
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24960
 
_ACEOF
24961
 
 
24962
 
fi
24963
 
 
24964
 
done
24965
 
 
24966
 
 
24967
 
   # sys/bitypes.h is needed for uint32_t and friends on Tru64
24968
 
 
24969
 
for ac_header in sys/bitypes.h
24970
 
do
24971
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24972
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24973
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24974
 
$as_echo_n "checking for $ac_header... " >&6; }
24975
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24976
 
  $as_echo_n "(cached) " >&6
24977
 
fi
24978
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
24979
 
                 $as_echo "$as_val"'`
24980
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24981
 
$as_echo "$ac_res" >&6; }
24982
 
else
24983
 
  # Is the header compilable?
24984
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24985
 
$as_echo_n "checking $ac_header usability... " >&6; }
24986
 
cat >conftest.$ac_ext <<_ACEOF
24987
 
/* confdefs.h.  */
24988
 
_ACEOF
24989
 
cat confdefs.h >>conftest.$ac_ext
24990
 
cat >>conftest.$ac_ext <<_ACEOF
24991
 
/* end confdefs.h.  */
24992
 
$ac_includes_default
24993
 
#include <$ac_header>
24994
 
_ACEOF
24995
 
rm -f conftest.$ac_objext
24996
 
if { (ac_try="$ac_compile"
24997
 
case "(($ac_try" in
24998
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24999
 
  *) ac_try_echo=$ac_try;;
25000
 
esac
25001
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25002
 
$as_echo "$ac_try_echo") >&5
25003
 
  (eval "$ac_compile") 2>conftest.er1
25004
 
  ac_status=$?
25005
 
  grep -v '^ *+' conftest.er1 >conftest.err
25006
 
  rm -f conftest.er1
25007
 
  cat conftest.err >&5
25008
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009
 
  (exit $ac_status); } && {
25010
 
         test -z "$ac_c_werror_flag" ||
25011
 
         test ! -s conftest.err
25012
 
       } && test -s conftest.$ac_objext; then
25013
 
  ac_header_compiler=yes
25014
 
else
25015
 
  $as_echo "$as_me: failed program was:" >&5
25016
 
sed 's/^/| /' conftest.$ac_ext >&5
25017
 
 
25018
 
        ac_header_compiler=no
25019
 
fi
25020
 
 
25021
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25022
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25023
 
$as_echo "$ac_header_compiler" >&6; }
25024
 
 
25025
 
# Is the header present?
25026
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25027
 
$as_echo_n "checking $ac_header presence... " >&6; }
25028
 
cat >conftest.$ac_ext <<_ACEOF
25029
 
/* confdefs.h.  */
25030
 
_ACEOF
25031
 
cat confdefs.h >>conftest.$ac_ext
25032
 
cat >>conftest.$ac_ext <<_ACEOF
25033
 
/* end confdefs.h.  */
25034
 
#include <$ac_header>
25035
 
_ACEOF
25036
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
25037
 
case "(($ac_try" in
25038
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25039
 
  *) ac_try_echo=$ac_try;;
25040
 
esac
25041
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25042
 
$as_echo "$ac_try_echo") >&5
25043
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25044
 
  ac_status=$?
25045
 
  grep -v '^ *+' conftest.er1 >conftest.err
25046
 
  rm -f conftest.er1
25047
 
  cat conftest.err >&5
25048
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049
 
  (exit $ac_status); } >/dev/null && {
25050
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25051
 
         test ! -s conftest.err
25052
 
       }; then
25053
 
  ac_header_preproc=yes
25054
 
else
25055
 
  $as_echo "$as_me: failed program was:" >&5
25056
 
sed 's/^/| /' conftest.$ac_ext >&5
25057
 
 
25058
 
  ac_header_preproc=no
25059
 
fi
25060
 
 
25061
 
rm -f conftest.err conftest.$ac_ext
25062
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25063
 
$as_echo "$ac_header_preproc" >&6; }
25064
 
 
25065
 
# So?  What about this header?
25066
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25067
 
  yes:no: )
25068
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25069
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25070
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25071
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25072
 
    ac_header_preproc=yes
25073
 
    ;;
25074
 
  no:yes:* )
25075
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25076
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25077
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
25078
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
25079
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25080
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25081
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
25082
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
25083
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25084
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25085
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25086
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25087
 
 
25088
 
    ;;
25089
 
esac
25090
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25091
 
$as_echo_n "checking for $ac_header... " >&6; }
25092
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25093
 
  $as_echo_n "(cached) " >&6
25094
 
else
25095
 
  eval "$as_ac_Header=\$ac_header_preproc"
25096
 
fi
25097
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
25098
 
                 $as_echo "$as_val"'`
25099
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25100
 
$as_echo "$ac_res" >&6; }
25101
 
 
25102
 
fi
25103
 
if test `eval 'as_val=${'$as_ac_Header'}
25104
 
                 $as_echo "$as_val"'` = yes; then
25105
 
  cat >>confdefs.h <<_ACEOF
25106
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25107
 
_ACEOF
25108
 
 
25109
 
fi
25110
 
 
25111
 
done
25112
 
 
25113
 
 
25114
 
   # darwin requires a poll emulation library
25115
 
   { $as_echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
25116
 
$as_echo_n "checking for poll in -lpoll... " >&6; }
25117
 
if test "${ac_cv_lib_poll_poll+set}" = set; then
25118
 
  $as_echo_n "(cached) " >&6
25119
 
else
25120
 
  ac_check_lib_save_LIBS=$LIBS
25121
 
LIBS="-lpoll  $LIBS"
25122
 
cat >conftest.$ac_ext <<_ACEOF
25123
 
/* confdefs.h.  */
25124
 
_ACEOF
25125
 
cat confdefs.h >>conftest.$ac_ext
25126
 
cat >>conftest.$ac_ext <<_ACEOF
25127
 
/* end confdefs.h.  */
25128
 
 
25129
 
/* Override any GCC internal prototype to avoid an error.
25130
 
   Use char because int might match the return type of a GCC
25131
 
   builtin and then its argument prototype would still apply.  */
25132
 
#ifdef __cplusplus
25133
 
extern "C"
25134
 
#endif
25135
 
char poll ();
25136
 
int
25137
 
main ()
25138
 
{
25139
 
return poll ();
25140
 
  ;
25141
 
  return 0;
25142
 
}
25143
 
_ACEOF
25144
 
rm -f conftest.$ac_objext conftest$ac_exeext
25145
 
if { (ac_try="$ac_link"
25146
 
case "(($ac_try" in
25147
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25148
 
  *) ac_try_echo=$ac_try;;
25149
 
esac
25150
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25151
 
$as_echo "$ac_try_echo") >&5
25152
 
  (eval "$ac_link") 2>conftest.er1
25153
 
  ac_status=$?
25154
 
  grep -v '^ *+' conftest.er1 >conftest.err
25155
 
  rm -f conftest.er1
25156
 
  cat conftest.err >&5
25157
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158
 
  (exit $ac_status); } && {
25159
 
         test -z "$ac_c_werror_flag" ||
25160
 
         test ! -s conftest.err
25161
 
       } && test -s conftest$ac_exeext && {
25162
 
         test "$cross_compiling" = yes ||
25163
 
         $as_test_x conftest$ac_exeext
25164
 
       }; then
25165
 
  ac_cv_lib_poll_poll=yes
25166
 
else
25167
 
  $as_echo "$as_me: failed program was:" >&5
25168
 
sed 's/^/| /' conftest.$ac_ext >&5
25169
 
 
25170
 
        ac_cv_lib_poll_poll=no
25171
 
fi
25172
 
 
25173
 
rm -rf conftest.dSYM
25174
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25175
 
      conftest$ac_exeext conftest.$ac_ext
25176
 
LIBS=$ac_check_lib_save_LIBS
25177
 
fi
25178
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
25179
 
$as_echo "$ac_cv_lib_poll_poll" >&6; }
25180
 
if test $ac_cv_lib_poll_poll = yes; then
25181
 
  LIB_POLL="-lpoll"
25182
 
fi
25183
 
 
25184
 
 
25185
 
   # for some image handling on Mac OS X
25186
 
 
25187
 
for ac_header in Carbon/Carbon.h
25188
 
do
25189
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25190
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25191
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25192
 
$as_echo_n "checking for $ac_header... " >&6; }
25193
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25194
 
  $as_echo_n "(cached) " >&6
25195
 
fi
25196
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
25197
 
                 $as_echo "$as_val"'`
25198
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25199
 
$as_echo "$ac_res" >&6; }
25200
 
else
25201
 
  # Is the header compilable?
25202
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25203
 
$as_echo_n "checking $ac_header usability... " >&6; }
25204
 
cat >conftest.$ac_ext <<_ACEOF
25205
 
/* confdefs.h.  */
25206
 
_ACEOF
25207
 
cat confdefs.h >>conftest.$ac_ext
25208
 
cat >>conftest.$ac_ext <<_ACEOF
25209
 
/* end confdefs.h.  */
25210
 
$ac_includes_default
25211
 
#include <$ac_header>
25212
 
_ACEOF
25213
 
rm -f conftest.$ac_objext
25214
 
if { (ac_try="$ac_compile"
25215
 
case "(($ac_try" in
25216
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25217
 
  *) ac_try_echo=$ac_try;;
25218
 
esac
25219
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25220
 
$as_echo "$ac_try_echo") >&5
25221
 
  (eval "$ac_compile") 2>conftest.er1
25222
 
  ac_status=$?
25223
 
  grep -v '^ *+' conftest.er1 >conftest.err
25224
 
  rm -f conftest.er1
25225
 
  cat conftest.err >&5
25226
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227
 
  (exit $ac_status); } && {
25228
 
         test -z "$ac_c_werror_flag" ||
25229
 
         test ! -s conftest.err
25230
 
       } && test -s conftest.$ac_objext; then
25231
 
  ac_header_compiler=yes
25232
 
else
25233
 
  $as_echo "$as_me: failed program was:" >&5
25234
 
sed 's/^/| /' conftest.$ac_ext >&5
25235
 
 
25236
 
        ac_header_compiler=no
25237
 
fi
25238
 
 
25239
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25240
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25241
 
$as_echo "$ac_header_compiler" >&6; }
25242
 
 
25243
 
# Is the header present?
25244
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25245
 
$as_echo_n "checking $ac_header presence... " >&6; }
25246
 
cat >conftest.$ac_ext <<_ACEOF
25247
 
/* confdefs.h.  */
25248
 
_ACEOF
25249
 
cat confdefs.h >>conftest.$ac_ext
25250
 
cat >>conftest.$ac_ext <<_ACEOF
25251
 
/* end confdefs.h.  */
25252
 
#include <$ac_header>
25253
 
_ACEOF
25254
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
25255
 
case "(($ac_try" in
25256
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25257
 
  *) ac_try_echo=$ac_try;;
25258
 
esac
25259
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25260
 
$as_echo "$ac_try_echo") >&5
25261
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25262
 
  ac_status=$?
25263
 
  grep -v '^ *+' conftest.er1 >conftest.err
25264
 
  rm -f conftest.er1
25265
 
  cat conftest.err >&5
25266
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25267
 
  (exit $ac_status); } >/dev/null && {
25268
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25269
 
         test ! -s conftest.err
25270
 
       }; then
25271
 
  ac_header_preproc=yes
25272
 
else
25273
 
  $as_echo "$as_me: failed program was:" >&5
25274
 
sed 's/^/| /' conftest.$ac_ext >&5
25275
 
 
25276
 
  ac_header_preproc=no
25277
 
fi
25278
 
 
25279
 
rm -f conftest.err conftest.$ac_ext
25280
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25281
 
$as_echo "$ac_header_preproc" >&6; }
25282
 
 
25283
 
# So?  What about this header?
25284
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25285
 
  yes:no: )
25286
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25287
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25288
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25289
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25290
 
    ac_header_preproc=yes
25291
 
    ;;
25292
 
  no:yes:* )
25293
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25294
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25295
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
25296
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
25297
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25298
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25299
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
25300
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
25301
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25302
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25303
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25304
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25305
 
 
25306
 
    ;;
25307
 
esac
25308
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25309
 
$as_echo_n "checking for $ac_header... " >&6; }
25310
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25311
 
  $as_echo_n "(cached) " >&6
25312
 
else
25313
 
  eval "$as_ac_Header=\$ac_header_preproc"
25314
 
fi
25315
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
25316
 
                 $as_echo "$as_val"'`
25317
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25318
 
$as_echo "$ac_res" >&6; }
25319
 
 
25320
 
fi
25321
 
if test `eval 'as_val=${'$as_ac_Header'}
25322
 
                 $as_echo "$as_val"'` = yes; then
25323
 
  cat >>confdefs.h <<_ACEOF
25324
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25325
 
_ACEOF
25326
 
 
25327
 
fi
25328
 
 
25329
 
done
25330
 
 
25331
 
 
25332
 
   # CoreAudio framework
25333
 
   if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25334
 
  { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25335
 
$as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
25336
 
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25337
 
  $as_echo_n "(cached) " >&6
25338
 
fi
25339
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25340
 
$as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25341
 
else
25342
 
  # Is the header compilable?
25343
 
{ $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
25344
 
$as_echo_n "checking CoreAudio/CoreAudio.h usability... " >&6; }
25345
 
cat >conftest.$ac_ext <<_ACEOF
25346
 
/* confdefs.h.  */
25347
 
_ACEOF
25348
 
cat confdefs.h >>conftest.$ac_ext
25349
 
cat >>conftest.$ac_ext <<_ACEOF
25350
 
/* end confdefs.h.  */
25351
 
$ac_includes_default
25352
 
#include <CoreAudio/CoreAudio.h>
25353
 
_ACEOF
25354
 
rm -f conftest.$ac_objext
25355
 
if { (ac_try="$ac_compile"
25356
 
case "(($ac_try" in
25357
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25358
 
  *) ac_try_echo=$ac_try;;
25359
 
esac
25360
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25361
 
$as_echo "$ac_try_echo") >&5
25362
 
  (eval "$ac_compile") 2>conftest.er1
25363
 
  ac_status=$?
25364
 
  grep -v '^ *+' conftest.er1 >conftest.err
25365
 
  rm -f conftest.er1
25366
 
  cat conftest.err >&5
25367
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368
 
  (exit $ac_status); } && {
25369
 
         test -z "$ac_c_werror_flag" ||
25370
 
         test ! -s conftest.err
25371
 
       } && test -s conftest.$ac_objext; then
25372
 
  ac_header_compiler=yes
25373
 
else
25374
 
  $as_echo "$as_me: failed program was:" >&5
25375
 
sed 's/^/| /' conftest.$ac_ext >&5
25376
 
 
25377
 
        ac_header_compiler=no
25378
 
fi
25379
 
 
25380
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25381
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25382
 
$as_echo "$ac_header_compiler" >&6; }
25383
 
 
25384
 
# Is the header present?
25385
 
{ $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
25386
 
$as_echo_n "checking CoreAudio/CoreAudio.h presence... " >&6; }
25387
 
cat >conftest.$ac_ext <<_ACEOF
25388
 
/* confdefs.h.  */
25389
 
_ACEOF
25390
 
cat confdefs.h >>conftest.$ac_ext
25391
 
cat >>conftest.$ac_ext <<_ACEOF
25392
 
/* end confdefs.h.  */
25393
 
#include <CoreAudio/CoreAudio.h>
25394
 
_ACEOF
25395
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
25396
 
case "(($ac_try" in
25397
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25398
 
  *) ac_try_echo=$ac_try;;
25399
 
esac
25400
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25401
 
$as_echo "$ac_try_echo") >&5
25402
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25403
 
  ac_status=$?
25404
 
  grep -v '^ *+' conftest.er1 >conftest.err
25405
 
  rm -f conftest.er1
25406
 
  cat conftest.err >&5
25407
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408
 
  (exit $ac_status); } >/dev/null && {
25409
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25410
 
         test ! -s conftest.err
25411
 
       }; then
25412
 
  ac_header_preproc=yes
25413
 
else
25414
 
  $as_echo "$as_me: failed program was:" >&5
25415
 
sed 's/^/| /' conftest.$ac_ext >&5
25416
 
 
25417
 
  ac_header_preproc=no
25418
 
fi
25419
 
 
25420
 
rm -f conftest.err conftest.$ac_ext
25421
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25422
 
$as_echo "$ac_header_preproc" >&6; }
25423
 
 
25424
 
# So?  What about this header?
25425
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25426
 
  yes:no: )
25427
 
    { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25428
 
$as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25429
 
    { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
25430
 
$as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
25431
 
    ac_header_preproc=yes
25432
 
    ;;
25433
 
  no:yes:* )
25434
 
    { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
25435
 
$as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
25436
 
    { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
25437
 
$as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
25438
 
    { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
25439
 
$as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
25440
 
    { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
25441
 
$as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
25442
 
    { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
25443
 
$as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
25444
 
    { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
25445
 
$as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
25446
 
 
25447
 
    ;;
25448
 
esac
25449
 
{ $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25450
 
$as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
25451
 
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25452
 
  $as_echo_n "(cached) " >&6
25453
 
else
25454
 
  ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
25455
 
fi
25456
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25457
 
$as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25458
 
 
25459
 
fi
25460
 
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
25461
 
 
25462
 
 
25463
 
cat >>confdefs.h <<\_ACEOF
25464
 
#define HAVE_COREAUDIO 1
25465
 
_ACEOF
25466
 
 
25467
 
     FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
25468
 
 
25469
 
fi
25470
 
 
25471
 
 
25472
 
 
25473
 
 
25474
 
  { $as_echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
25475
 
$as_echo_n "checking if res_init needs -lresolv... " >&6; }
25476
 
  kde_libs_safe="$LIBS"
25477
 
  LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
25478
 
  cat >conftest.$ac_ext <<_ACEOF
25479
 
/* confdefs.h.  */
25480
 
_ACEOF
25481
 
cat confdefs.h >>conftest.$ac_ext
25482
 
cat >>conftest.$ac_ext <<_ACEOF
25483
 
/* end confdefs.h.  */
25484
 
 
25485
 
#include <sys/types.h>
25486
 
#include <netinet/in.h>
25487
 
#include <arpa/nameser.h>
25488
 
#include <resolv.h>
25489
 
 
25490
 
int
25491
 
main ()
25492
 
{
25493
 
 
25494
 
      res_init();
25495
 
 
25496
 
  ;
25497
 
  return 0;
25498
 
}
25499
 
_ACEOF
25500
 
rm -f conftest.$ac_objext conftest$ac_exeext
25501
 
if { (ac_try="$ac_link"
25502
 
case "(($ac_try" in
25503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25504
 
  *) ac_try_echo=$ac_try;;
25505
 
esac
25506
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25507
 
$as_echo "$ac_try_echo") >&5
25508
 
  (eval "$ac_link") 2>conftest.er1
25509
 
  ac_status=$?
25510
 
  grep -v '^ *+' conftest.er1 >conftest.err
25511
 
  rm -f conftest.er1
25512
 
  cat conftest.err >&5
25513
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514
 
  (exit $ac_status); } && {
25515
 
         test -z "$ac_c_werror_flag" ||
25516
 
         test ! -s conftest.err
25517
 
       } && test -s conftest$ac_exeext && {
25518
 
         test "$cross_compiling" = yes ||
25519
 
         $as_test_x conftest$ac_exeext
25520
 
       }; then
25521
 
 
25522
 
      LIBRESOLV="-lresolv"
25523
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
25524
 
$as_echo "yes" >&6; }
25525
 
 
25526
 
cat >>confdefs.h <<\_ACEOF
25527
 
#define HAVE_RES_INIT 1
25528
 
_ACEOF
25529
 
 
25530
 
 
25531
 
else
25532
 
  $as_echo "$as_me: failed program was:" >&5
25533
 
sed 's/^/| /' conftest.$ac_ext >&5
25534
 
 
25535
 
         { $as_echo "$as_me:$LINENO: result: no" >&5
25536
 
$as_echo "no" >&6; }
25537
 
 
25538
 
fi
25539
 
 
25540
 
rm -rf conftest.dSYM
25541
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25542
 
      conftest$ac_exeext conftest.$ac_ext
25543
 
  LIBS=$kde_libs_safe
25544
 
 
25545
 
 
25546
 
 
25547
 
{ $as_echo "$as_me:$LINENO: checking for res_init" >&5
25548
 
$as_echo_n "checking for res_init... " >&6; }
25549
 
if test "${kde_cv_func_res_init+set}" = set; then
25550
 
  $as_echo_n "(cached) " >&6
25551
 
else
25552
 
 
25553
 
 
25554
 
 ac_ext=cpp
25555
 
ac_cpp='$CXXCPP $CPPFLAGS'
25556
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25557
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25558
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25559
 
 
25560
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25561
 
 
25562
 
 
25563
 
save_CXXFLAGS="$CXXFLAGS"
25564
 
kde_safe_LIBS="$LIBS"
25565
 
LIBS="$LIBS $X_EXTRA_LIBS"
25566
 
if test "$GXX" = "yes"; then
25567
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
25568
 
fi
25569
 
cat >conftest.$ac_ext <<_ACEOF
25570
 
/* confdefs.h.  */
25571
 
_ACEOF
25572
 
cat confdefs.h >>conftest.$ac_ext
25573
 
cat >>conftest.$ac_ext <<_ACEOF
25574
 
/* end confdefs.h.  */
25575
 
 
25576
 
 
25577
 
#include <sys/types.h>
25578
 
#include <netinet/in.h>
25579
 
#include <arpa/nameser.h>
25580
 
#include <resolv.h>
25581
 
 
25582
 
 
25583
 
int
25584
 
main ()
25585
 
{
25586
 
 
25587
 
res_init()
25588
 
 
25589
 
  ;
25590
 
  return 0;
25591
 
}
25592
 
_ACEOF
25593
 
rm -f conftest.$ac_objext
25594
 
if { (ac_try="$ac_compile"
25595
 
case "(($ac_try" in
25596
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25597
 
  *) ac_try_echo=$ac_try;;
25598
 
esac
25599
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25600
 
$as_echo "$ac_try_echo") >&5
25601
 
  (eval "$ac_compile") 2>conftest.er1
25602
 
  ac_status=$?
25603
 
  grep -v '^ *+' conftest.er1 >conftest.err
25604
 
  rm -f conftest.er1
25605
 
  cat conftest.err >&5
25606
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607
 
  (exit $ac_status); } && {
25608
 
         test -z "$ac_cxx_werror_flag" ||
25609
 
         test ! -s conftest.err
25610
 
       } && test -s conftest.$ac_objext; then
25611
 
  kde_cv_func_res_init=yes
25612
 
else
25613
 
  $as_echo "$as_me: failed program was:" >&5
25614
 
sed 's/^/| /' conftest.$ac_ext >&5
25615
 
 
25616
 
        kde_cv_func_res_init=no
25617
 
fi
25618
 
 
25619
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25620
 
CXXFLAGS="$save_CXXFLAGS"
25621
 
LIBS="$kde_safe_LIBS"
25622
 
ac_ext=c
25623
 
ac_cpp='$CPP $CPPFLAGS'
25624
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25625
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25626
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25627
 
 
25628
 
 
25629
 
fi
25630
 
 
25631
 
 
25632
 
{ $as_echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
25633
 
$as_echo "$kde_cv_func_res_init" >&6; }
25634
 
 
25635
 
{ $as_echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
25636
 
$as_echo_n "checking if res_init needs custom prototype... " >&6; }
25637
 
if test "${kde_cv_proto_res_init+set}" = set; then
25638
 
  $as_echo_n "(cached) " >&6
25639
 
else
25640
 
 
25641
 
if test "x$kde_cv_func_res_init" = xyes; then
25642
 
  kde_cv_proto_res_init=no
25643
 
else
25644
 
  case "res_init" in
25645
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
25646
 
                kde_cv_proto_res_init="yes - in libkdefakes"
25647
 
                ;;
25648
 
        *)
25649
 
                kde_cv_proto_res_init=unknown
25650
 
                ;;
25651
 
  esac
25652
 
fi
25653
 
 
25654
 
if test "x$kde_cv_proto_res_init" = xunknown; then
25655
 
 
25656
 
 
25657
 
 ac_ext=cpp
25658
 
ac_cpp='$CXXCPP $CPPFLAGS'
25659
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25660
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25661
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25662
 
 
25663
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25664
 
 
25665
 
 
25666
 
  kde_safe_libs=$LIBS
25667
 
  LIBS="$LIBS $X_EXTRA_LIBS"
25668
 
  cat >conftest.$ac_ext <<_ACEOF
25669
 
/* confdefs.h.  */
25670
 
_ACEOF
25671
 
cat confdefs.h >>conftest.$ac_ext
25672
 
cat >>conftest.$ac_ext <<_ACEOF
25673
 
/* end confdefs.h.  */
25674
 
 
25675
 
 
25676
 
#include <sys/types.h>
25677
 
#include <netinet/in.h>
25678
 
#include <arpa/nameser.h>
25679
 
#include <resolv.h>
25680
 
 
25681
 
 
25682
 
extern "C" int res_init(void);
25683
 
 
25684
 
int
25685
 
main ()
25686
 
{
25687
 
 
25688
 
res_init()
25689
 
 
25690
 
  ;
25691
 
  return 0;
25692
 
}
25693
 
_ACEOF
25694
 
rm -f conftest.$ac_objext conftest$ac_exeext
25695
 
if { (ac_try="$ac_link"
25696
 
case "(($ac_try" in
25697
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25698
 
  *) ac_try_echo=$ac_try;;
25699
 
esac
25700
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25701
 
$as_echo "$ac_try_echo") >&5
25702
 
  (eval "$ac_link") 2>conftest.er1
25703
 
  ac_status=$?
25704
 
  grep -v '^ *+' conftest.er1 >conftest.err
25705
 
  rm -f conftest.er1
25706
 
  cat conftest.err >&5
25707
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708
 
  (exit $ac_status); } && {
25709
 
         test -z "$ac_cxx_werror_flag" ||
25710
 
         test ! -s conftest.err
25711
 
       } && test -s conftest$ac_exeext && {
25712
 
         test "$cross_compiling" = yes ||
25713
 
         $as_test_x conftest$ac_exeext
25714
 
       }; then
25715
 
   kde_cv_func_res_init=yes
25716
 
  kde_cv_proto_res_init=yes
25717
 
else
25718
 
  $as_echo "$as_me: failed program was:" >&5
25719
 
sed 's/^/| /' conftest.$ac_ext >&5
25720
 
 
25721
 
        kde_cv_proto_res_init="res_init unavailable"
25722
 
 
25723
 
fi
25724
 
 
25725
 
rm -rf conftest.dSYM
25726
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25727
 
      conftest$ac_exeext conftest.$ac_ext
25728
 
LIBS=$kde_safe_libs
25729
 
ac_ext=c
25730
 
ac_cpp='$CPP $CPPFLAGS'
25731
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25732
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25733
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25734
 
 
25735
 
fi
25736
 
 
25737
 
fi
25738
 
 
25739
 
{ $as_echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
25740
 
$as_echo "$kde_cv_proto_res_init" >&6; }
25741
 
 
25742
 
if test "x$kde_cv_func_res_init" = xyes; then
25743
 
 
25744
 
cat >>confdefs.h <<\_ACEOF
25745
 
#define HAVE_RES_INIT 1
25746
 
_ACEOF
25747
 
 
25748
 
 
25749
 
fi
25750
 
if test "x$kde_cv_proto_res_init" = xno; then
25751
 
 
25752
 
cat >>confdefs.h <<\_ACEOF
25753
 
#define HAVE_RES_INIT_PROTO 1
25754
 
_ACEOF
25755
 
 
25756
 
fi
25757
 
 
25758
 
 
25759
 
 
25760
 
 
25761
 
 
25762
 
 
25763
 
 
25764
 
   LIBSOCKET="$X_EXTRA_LIBS"
25765
 
 
25766
 
 
25767
 
   { $as_echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
25768
 
$as_echo_n "checking for killpg in -lucb... " >&6; }
25769
 
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
25770
 
  $as_echo_n "(cached) " >&6
25771
 
else
25772
 
  ac_check_lib_save_LIBS=$LIBS
25773
 
LIBS="-lucb  $LIBS"
25774
 
cat >conftest.$ac_ext <<_ACEOF
25775
 
/* confdefs.h.  */
25776
 
_ACEOF
25777
 
cat confdefs.h >>conftest.$ac_ext
25778
 
cat >>conftest.$ac_ext <<_ACEOF
25779
 
/* end confdefs.h.  */
25780
 
 
25781
 
/* Override any GCC internal prototype to avoid an error.
25782
 
   Use char because int might match the return type of a GCC
25783
 
   builtin and then its argument prototype would still apply.  */
25784
 
#ifdef __cplusplus
25785
 
extern "C"
25786
 
#endif
25787
 
char killpg ();
25788
 
int
25789
 
main ()
25790
 
{
25791
 
return killpg ();
25792
 
  ;
25793
 
  return 0;
25794
 
}
25795
 
_ACEOF
25796
 
rm -f conftest.$ac_objext conftest$ac_exeext
25797
 
if { (ac_try="$ac_link"
25798
 
case "(($ac_try" in
25799
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25800
 
  *) ac_try_echo=$ac_try;;
25801
 
esac
25802
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25803
 
$as_echo "$ac_try_echo") >&5
25804
 
  (eval "$ac_link") 2>conftest.er1
25805
 
  ac_status=$?
25806
 
  grep -v '^ *+' conftest.er1 >conftest.err
25807
 
  rm -f conftest.er1
25808
 
  cat conftest.err >&5
25809
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810
 
  (exit $ac_status); } && {
25811
 
         test -z "$ac_c_werror_flag" ||
25812
 
         test ! -s conftest.err
25813
 
       } && test -s conftest$ac_exeext && {
25814
 
         test "$cross_compiling" = yes ||
25815
 
         $as_test_x conftest$ac_exeext
25816
 
       }; then
25817
 
  ac_cv_lib_ucb_killpg=yes
25818
 
else
25819
 
  $as_echo "$as_me: failed program was:" >&5
25820
 
sed 's/^/| /' conftest.$ac_ext >&5
25821
 
 
25822
 
        ac_cv_lib_ucb_killpg=no
25823
 
fi
25824
 
 
25825
 
rm -rf conftest.dSYM
25826
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25827
 
      conftest$ac_exeext conftest.$ac_ext
25828
 
LIBS=$ac_check_lib_save_LIBS
25829
 
fi
25830
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
25831
 
$as_echo "$ac_cv_lib_ucb_killpg" >&6; }
25832
 
if test $ac_cv_lib_ucb_killpg = yes; then
25833
 
  LIBUCB="-lucb"
25834
 
fi
25835
 
 
25836
 
 
25837
 
   case $host in     *-*-lynxos* )
25838
 
        { $as_echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
25839
 
$as_echo_n "checking LynxOS header file wrappers... " >&6; }
25840
 
        CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
25841
 
        { $as_echo "$as_me:$LINENO: result: disabled" >&5
25842
 
$as_echo "disabled" >&6; }
25843
 
        { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25844
 
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25845
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25846
 
  $as_echo_n "(cached) " >&6
25847
 
else
25848
 
  ac_check_lib_save_LIBS=$LIBS
25849
 
LIBS="-lbsd  $LIBS"
25850
 
cat >conftest.$ac_ext <<_ACEOF
25851
 
/* confdefs.h.  */
25852
 
_ACEOF
25853
 
cat confdefs.h >>conftest.$ac_ext
25854
 
cat >>conftest.$ac_ext <<_ACEOF
25855
 
/* end confdefs.h.  */
25856
 
 
25857
 
/* Override any GCC internal prototype to avoid an error.
25858
 
   Use char because int might match the return type of a GCC
25859
 
   builtin and then its argument prototype would still apply.  */
25860
 
#ifdef __cplusplus
25861
 
extern "C"
25862
 
#endif
25863
 
char gethostbyname ();
25864
 
int
25865
 
main ()
25866
 
{
25867
 
return gethostbyname ();
25868
 
  ;
25869
 
  return 0;
25870
 
}
25871
 
_ACEOF
25872
 
rm -f conftest.$ac_objext conftest$ac_exeext
25873
 
if { (ac_try="$ac_link"
25874
 
case "(($ac_try" in
25875
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25876
 
  *) ac_try_echo=$ac_try;;
25877
 
esac
25878
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25879
 
$as_echo "$ac_try_echo") >&5
25880
 
  (eval "$ac_link") 2>conftest.er1
25881
 
  ac_status=$?
25882
 
  grep -v '^ *+' conftest.er1 >conftest.err
25883
 
  rm -f conftest.er1
25884
 
  cat conftest.err >&5
25885
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886
 
  (exit $ac_status); } && {
25887
 
         test -z "$ac_c_werror_flag" ||
25888
 
         test ! -s conftest.err
25889
 
       } && test -s conftest$ac_exeext && {
25890
 
         test "$cross_compiling" = yes ||
25891
 
         $as_test_x conftest$ac_exeext
25892
 
       }; then
25893
 
  ac_cv_lib_bsd_gethostbyname=yes
25894
 
else
25895
 
  $as_echo "$as_me: failed program was:" >&5
25896
 
sed 's/^/| /' conftest.$ac_ext >&5
25897
 
 
25898
 
        ac_cv_lib_bsd_gethostbyname=no
25899
 
fi
25900
 
 
25901
 
rm -rf conftest.dSYM
25902
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25903
 
      conftest$ac_exeext conftest.$ac_ext
25904
 
LIBS=$ac_check_lib_save_LIBS
25905
 
fi
25906
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25907
 
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25908
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
25909
 
  LIBSOCKET="-lbsd"
25910
 
fi
25911
 
          ;;
25912
 
    esac
25913
 
 
25914
 
     # The cast to long int works around a bug in the HP C Compiler
25915
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25916
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25917
 
# This bug is HP SR number 8606223364.
25918
 
{ $as_echo "$as_me:$LINENO: checking size of int" >&5
25919
 
$as_echo_n "checking size of int... " >&6; }
25920
 
if test "${ac_cv_sizeof_int+set}" = set; then
25921
 
  $as_echo_n "(cached) " >&6
25922
 
else
25923
 
  if test "$cross_compiling" = yes; then
25924
 
  # Depending upon the size, compute the lo and hi bounds.
25925
 
cat >conftest.$ac_ext <<_ACEOF
25926
 
/* confdefs.h.  */
25927
 
_ACEOF
25928
 
cat confdefs.h >>conftest.$ac_ext
25929
 
cat >>conftest.$ac_ext <<_ACEOF
25930
 
/* end confdefs.h.  */
25931
 
$ac_includes_default
25932
 
int
25933
 
main ()
25934
 
{
25935
 
static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
25936
 
test_array [0] = 0
25937
 
 
25938
 
  ;
25939
 
  return 0;
25940
 
}
25941
 
_ACEOF
25942
 
rm -f conftest.$ac_objext
25943
 
if { (ac_try="$ac_compile"
25944
 
case "(($ac_try" in
25945
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25946
 
  *) ac_try_echo=$ac_try;;
25947
 
esac
25948
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25949
 
$as_echo "$ac_try_echo") >&5
25950
 
  (eval "$ac_compile") 2>conftest.er1
25951
 
  ac_status=$?
25952
 
  grep -v '^ *+' conftest.er1 >conftest.err
25953
 
  rm -f conftest.er1
25954
 
  cat conftest.err >&5
25955
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956
 
  (exit $ac_status); } && {
25957
 
         test -z "$ac_c_werror_flag" ||
25958
 
         test ! -s conftest.err
25959
 
       } && test -s conftest.$ac_objext; then
25960
 
  ac_lo=0 ac_mid=0
25961
 
  while :; do
25962
 
    cat >conftest.$ac_ext <<_ACEOF
25963
 
/* confdefs.h.  */
25964
 
_ACEOF
25965
 
cat confdefs.h >>conftest.$ac_ext
25966
 
cat >>conftest.$ac_ext <<_ACEOF
25967
 
/* end confdefs.h.  */
25968
 
$ac_includes_default
25969
 
int
25970
 
main ()
25971
 
{
25972
 
static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
25973
 
test_array [0] = 0
25974
 
 
25975
 
  ;
25976
 
  return 0;
25977
 
}
25978
 
_ACEOF
25979
 
rm -f conftest.$ac_objext
25980
 
if { (ac_try="$ac_compile"
25981
 
case "(($ac_try" in
25982
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25983
 
  *) ac_try_echo=$ac_try;;
25984
 
esac
25985
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25986
 
$as_echo "$ac_try_echo") >&5
25987
 
  (eval "$ac_compile") 2>conftest.er1
25988
 
  ac_status=$?
25989
 
  grep -v '^ *+' conftest.er1 >conftest.err
25990
 
  rm -f conftest.er1
25991
 
  cat conftest.err >&5
25992
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25993
 
  (exit $ac_status); } && {
25994
 
         test -z "$ac_c_werror_flag" ||
25995
 
         test ! -s conftest.err
25996
 
       } && test -s conftest.$ac_objext; then
25997
 
  ac_hi=$ac_mid; break
25998
 
else
25999
 
  $as_echo "$as_me: failed program was:" >&5
26000
 
sed 's/^/| /' conftest.$ac_ext >&5
26001
 
 
26002
 
        ac_lo=`expr $ac_mid + 1`
26003
 
                        if test $ac_lo -le $ac_mid; then
26004
 
                          ac_lo= ac_hi=
26005
 
                          break
26006
 
                        fi
26007
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26008
 
fi
26009
 
 
26010
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26011
 
  done
26012
 
else
26013
 
  $as_echo "$as_me: failed program was:" >&5
26014
 
sed 's/^/| /' conftest.$ac_ext >&5
26015
 
 
26016
 
        cat >conftest.$ac_ext <<_ACEOF
26017
 
/* confdefs.h.  */
26018
 
_ACEOF
26019
 
cat confdefs.h >>conftest.$ac_ext
26020
 
cat >>conftest.$ac_ext <<_ACEOF
26021
 
/* end confdefs.h.  */
26022
 
$ac_includes_default
26023
 
int
26024
 
main ()
26025
 
{
26026
 
static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
26027
 
test_array [0] = 0
26028
 
 
26029
 
  ;
26030
 
  return 0;
26031
 
}
26032
 
_ACEOF
26033
 
rm -f conftest.$ac_objext
26034
 
if { (ac_try="$ac_compile"
26035
 
case "(($ac_try" in
26036
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26037
 
  *) ac_try_echo=$ac_try;;
26038
 
esac
26039
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26040
 
$as_echo "$ac_try_echo") >&5
26041
 
  (eval "$ac_compile") 2>conftest.er1
26042
 
  ac_status=$?
26043
 
  grep -v '^ *+' conftest.er1 >conftest.err
26044
 
  rm -f conftest.er1
26045
 
  cat conftest.err >&5
26046
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047
 
  (exit $ac_status); } && {
26048
 
         test -z "$ac_c_werror_flag" ||
26049
 
         test ! -s conftest.err
26050
 
       } && test -s conftest.$ac_objext; then
26051
 
  ac_hi=-1 ac_mid=-1
26052
 
  while :; do
26053
 
    cat >conftest.$ac_ext <<_ACEOF
26054
 
/* confdefs.h.  */
26055
 
_ACEOF
26056
 
cat confdefs.h >>conftest.$ac_ext
26057
 
cat >>conftest.$ac_ext <<_ACEOF
26058
 
/* end confdefs.h.  */
26059
 
$ac_includes_default
26060
 
int
26061
 
main ()
26062
 
{
26063
 
static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
26064
 
test_array [0] = 0
26065
 
 
26066
 
  ;
26067
 
  return 0;
26068
 
}
26069
 
_ACEOF
26070
 
rm -f conftest.$ac_objext
26071
 
if { (ac_try="$ac_compile"
26072
 
case "(($ac_try" in
26073
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26074
 
  *) ac_try_echo=$ac_try;;
26075
 
esac
26076
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26077
 
$as_echo "$ac_try_echo") >&5
26078
 
  (eval "$ac_compile") 2>conftest.er1
26079
 
  ac_status=$?
26080
 
  grep -v '^ *+' conftest.er1 >conftest.err
26081
 
  rm -f conftest.er1
26082
 
  cat conftest.err >&5
26083
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084
 
  (exit $ac_status); } && {
26085
 
         test -z "$ac_c_werror_flag" ||
26086
 
         test ! -s conftest.err
26087
 
       } && test -s conftest.$ac_objext; then
26088
 
  ac_lo=$ac_mid; break
26089
 
else
26090
 
  $as_echo "$as_me: failed program was:" >&5
26091
 
sed 's/^/| /' conftest.$ac_ext >&5
26092
 
 
26093
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26094
 
                        if test $ac_mid -le $ac_hi; then
26095
 
                          ac_lo= ac_hi=
26096
 
                          break
26097
 
                        fi
26098
 
                        ac_mid=`expr 2 '*' $ac_mid`
26099
 
fi
26100
 
 
26101
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26102
 
  done
26103
 
else
26104
 
  $as_echo "$as_me: failed program was:" >&5
26105
 
sed 's/^/| /' conftest.$ac_ext >&5
26106
 
 
26107
 
        ac_lo= ac_hi=
26108
 
fi
26109
 
 
26110
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26111
 
fi
26112
 
 
26113
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26114
 
# Binary search between lo and hi bounds.
26115
 
while test "x$ac_lo" != "x$ac_hi"; do
26116
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26117
 
  cat >conftest.$ac_ext <<_ACEOF
26118
 
/* confdefs.h.  */
26119
 
_ACEOF
26120
 
cat confdefs.h >>conftest.$ac_ext
26121
 
cat >>conftest.$ac_ext <<_ACEOF
26122
 
/* end confdefs.h.  */
26123
 
$ac_includes_default
26124
 
int
26125
 
main ()
26126
 
{
26127
 
static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
26128
 
test_array [0] = 0
26129
 
 
26130
 
  ;
26131
 
  return 0;
26132
 
}
26133
 
_ACEOF
26134
 
rm -f conftest.$ac_objext
26135
 
if { (ac_try="$ac_compile"
26136
 
case "(($ac_try" in
26137
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26138
 
  *) ac_try_echo=$ac_try;;
26139
 
esac
26140
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26141
 
$as_echo "$ac_try_echo") >&5
26142
 
  (eval "$ac_compile") 2>conftest.er1
26143
 
  ac_status=$?
26144
 
  grep -v '^ *+' conftest.er1 >conftest.err
26145
 
  rm -f conftest.er1
26146
 
  cat conftest.err >&5
26147
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148
 
  (exit $ac_status); } && {
26149
 
         test -z "$ac_c_werror_flag" ||
26150
 
         test ! -s conftest.err
26151
 
       } && test -s conftest.$ac_objext; then
26152
 
  ac_hi=$ac_mid
26153
 
else
26154
 
  $as_echo "$as_me: failed program was:" >&5
26155
 
sed 's/^/| /' conftest.$ac_ext >&5
26156
 
 
26157
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26158
 
fi
26159
 
 
26160
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26161
 
done
26162
 
case $ac_lo in
26163
 
?*) ac_cv_sizeof_int=$ac_lo;;
26164
 
'') if test "$ac_cv_type_int" = yes; then
26165
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
26166
 
See \`config.log' for more details." >&5
26167
 
$as_echo "$as_me: error: cannot compute sizeof (int)
26168
 
See \`config.log' for more details." >&2;}
26169
 
   { (exit 77); exit 77; }; }
26170
 
   else
26171
 
     ac_cv_sizeof_int=0
26172
 
   fi ;;
26173
 
esac
26174
 
else
26175
 
  cat >conftest.$ac_ext <<_ACEOF
26176
 
/* confdefs.h.  */
26177
 
_ACEOF
26178
 
cat confdefs.h >>conftest.$ac_ext
26179
 
cat >>conftest.$ac_ext <<_ACEOF
26180
 
/* end confdefs.h.  */
26181
 
$ac_includes_default
26182
 
static long int longval () { return (long int) (sizeof (int)); }
26183
 
static unsigned long int ulongval () { return (long int) (sizeof (int)); }
26184
 
#include <stdio.h>
26185
 
#include <stdlib.h>
26186
 
int
26187
 
main ()
26188
 
{
26189
 
 
26190
 
  FILE *f = fopen ("conftest.val", "w");
26191
 
  if (! f)
26192
 
    return 1;
26193
 
  if (((long int) (sizeof (int))) < 0)
26194
 
    {
26195
 
      long int i = longval ();
26196
 
      if (i != ((long int) (sizeof (int))))
26197
 
        return 1;
26198
 
      fprintf (f, "%ld", i);
26199
 
    }
26200
 
  else
26201
 
    {
26202
 
      unsigned long int i = ulongval ();
26203
 
      if (i != ((long int) (sizeof (int))))
26204
 
        return 1;
26205
 
      fprintf (f, "%lu", i);
26206
 
    }
26207
 
  /* Do not output a trailing newline, as this causes \r\n confusion
26208
 
     on some platforms.  */
26209
 
  return ferror (f) || fclose (f) != 0;
26210
 
 
26211
 
  ;
26212
 
  return 0;
26213
 
}
26214
 
_ACEOF
26215
 
rm -f conftest$ac_exeext
26216
 
if { (ac_try="$ac_link"
26217
 
case "(($ac_try" in
26218
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26219
 
  *) ac_try_echo=$ac_try;;
26220
 
esac
26221
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26222
 
$as_echo "$ac_try_echo") >&5
26223
 
  (eval "$ac_link") 2>&5
26224
 
  ac_status=$?
26225
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26227
 
  { (case "(($ac_try" in
26228
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26229
 
  *) ac_try_echo=$ac_try;;
26230
 
esac
26231
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26232
 
$as_echo "$ac_try_echo") >&5
26233
 
  (eval "$ac_try") 2>&5
26234
 
  ac_status=$?
26235
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236
 
  (exit $ac_status); }; }; then
26237
 
  ac_cv_sizeof_int=`cat conftest.val`
26238
 
else
26239
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
26240
 
$as_echo "$as_me: failed program was:" >&5
26241
 
sed 's/^/| /' conftest.$ac_ext >&5
26242
 
 
26243
 
( exit $ac_status )
26244
 
if test "$ac_cv_type_int" = yes; then
26245
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
26246
 
See \`config.log' for more details." >&5
26247
 
$as_echo "$as_me: error: cannot compute sizeof (int)
26248
 
See \`config.log' for more details." >&2;}
26249
 
   { (exit 77); exit 77; }; }
26250
 
   else
26251
 
     ac_cv_sizeof_int=0
26252
 
   fi
26253
 
fi
26254
 
rm -rf conftest.dSYM
26255
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26256
 
fi
26257
 
rm -f conftest.val
26258
 
fi
26259
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
26260
 
$as_echo "$ac_cv_sizeof_int" >&6; }
26261
 
 
26262
 
 
26263
 
 
26264
 
cat >>confdefs.h <<_ACEOF
26265
 
#define SIZEOF_INT $ac_cv_sizeof_int
26266
 
_ACEOF
26267
 
 
26268
 
   # The cast to long int works around a bug in the HP C Compiler
26269
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26270
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26271
 
# This bug is HP SR number 8606223364.
26272
 
{ $as_echo "$as_me:$LINENO: checking size of short" >&5
26273
 
$as_echo_n "checking size of short... " >&6; }
26274
 
if test "${ac_cv_sizeof_short+set}" = set; then
26275
 
  $as_echo_n "(cached) " >&6
26276
 
else
26277
 
  if test "$cross_compiling" = yes; then
26278
 
  # Depending upon the size, compute the lo and hi bounds.
26279
 
cat >conftest.$ac_ext <<_ACEOF
26280
 
/* confdefs.h.  */
26281
 
_ACEOF
26282
 
cat confdefs.h >>conftest.$ac_ext
26283
 
cat >>conftest.$ac_ext <<_ACEOF
26284
 
/* end confdefs.h.  */
26285
 
$ac_includes_default
26286
 
int
26287
 
main ()
26288
 
{
26289
 
static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
26290
 
test_array [0] = 0
26291
 
 
26292
 
  ;
26293
 
  return 0;
26294
 
}
26295
 
_ACEOF
26296
 
rm -f conftest.$ac_objext
26297
 
if { (ac_try="$ac_compile"
26298
 
case "(($ac_try" in
26299
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26300
 
  *) ac_try_echo=$ac_try;;
26301
 
esac
26302
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26303
 
$as_echo "$ac_try_echo") >&5
26304
 
  (eval "$ac_compile") 2>conftest.er1
26305
 
  ac_status=$?
26306
 
  grep -v '^ *+' conftest.er1 >conftest.err
26307
 
  rm -f conftest.er1
26308
 
  cat conftest.err >&5
26309
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310
 
  (exit $ac_status); } && {
26311
 
         test -z "$ac_c_werror_flag" ||
26312
 
         test ! -s conftest.err
26313
 
       } && test -s conftest.$ac_objext; then
26314
 
  ac_lo=0 ac_mid=0
26315
 
  while :; do
26316
 
    cat >conftest.$ac_ext <<_ACEOF
26317
 
/* confdefs.h.  */
26318
 
_ACEOF
26319
 
cat confdefs.h >>conftest.$ac_ext
26320
 
cat >>conftest.$ac_ext <<_ACEOF
26321
 
/* end confdefs.h.  */
26322
 
$ac_includes_default
26323
 
int
26324
 
main ()
26325
 
{
26326
 
static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
26327
 
test_array [0] = 0
26328
 
 
26329
 
  ;
26330
 
  return 0;
26331
 
}
26332
 
_ACEOF
26333
 
rm -f conftest.$ac_objext
26334
 
if { (ac_try="$ac_compile"
26335
 
case "(($ac_try" in
26336
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26337
 
  *) ac_try_echo=$ac_try;;
26338
 
esac
26339
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26340
 
$as_echo "$ac_try_echo") >&5
26341
 
  (eval "$ac_compile") 2>conftest.er1
26342
 
  ac_status=$?
26343
 
  grep -v '^ *+' conftest.er1 >conftest.err
26344
 
  rm -f conftest.er1
26345
 
  cat conftest.err >&5
26346
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347
 
  (exit $ac_status); } && {
26348
 
         test -z "$ac_c_werror_flag" ||
26349
 
         test ! -s conftest.err
26350
 
       } && test -s conftest.$ac_objext; then
26351
 
  ac_hi=$ac_mid; break
26352
 
else
26353
 
  $as_echo "$as_me: failed program was:" >&5
26354
 
sed 's/^/| /' conftest.$ac_ext >&5
26355
 
 
26356
 
        ac_lo=`expr $ac_mid + 1`
26357
 
                        if test $ac_lo -le $ac_mid; then
26358
 
                          ac_lo= ac_hi=
26359
 
                          break
26360
 
                        fi
26361
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26362
 
fi
26363
 
 
26364
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26365
 
  done
26366
 
else
26367
 
  $as_echo "$as_me: failed program was:" >&5
26368
 
sed 's/^/| /' conftest.$ac_ext >&5
26369
 
 
26370
 
        cat >conftest.$ac_ext <<_ACEOF
26371
 
/* confdefs.h.  */
26372
 
_ACEOF
26373
 
cat confdefs.h >>conftest.$ac_ext
26374
 
cat >>conftest.$ac_ext <<_ACEOF
26375
 
/* end confdefs.h.  */
26376
 
$ac_includes_default
26377
 
int
26378
 
main ()
26379
 
{
26380
 
static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
26381
 
test_array [0] = 0
26382
 
 
26383
 
  ;
26384
 
  return 0;
26385
 
}
26386
 
_ACEOF
26387
 
rm -f conftest.$ac_objext
26388
 
if { (ac_try="$ac_compile"
26389
 
case "(($ac_try" in
26390
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26391
 
  *) ac_try_echo=$ac_try;;
26392
 
esac
26393
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26394
 
$as_echo "$ac_try_echo") >&5
26395
 
  (eval "$ac_compile") 2>conftest.er1
26396
 
  ac_status=$?
26397
 
  grep -v '^ *+' conftest.er1 >conftest.err
26398
 
  rm -f conftest.er1
26399
 
  cat conftest.err >&5
26400
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401
 
  (exit $ac_status); } && {
26402
 
         test -z "$ac_c_werror_flag" ||
26403
 
         test ! -s conftest.err
26404
 
       } && test -s conftest.$ac_objext; then
26405
 
  ac_hi=-1 ac_mid=-1
26406
 
  while :; do
26407
 
    cat >conftest.$ac_ext <<_ACEOF
26408
 
/* confdefs.h.  */
26409
 
_ACEOF
26410
 
cat confdefs.h >>conftest.$ac_ext
26411
 
cat >>conftest.$ac_ext <<_ACEOF
26412
 
/* end confdefs.h.  */
26413
 
$ac_includes_default
26414
 
int
26415
 
main ()
26416
 
{
26417
 
static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
26418
 
test_array [0] = 0
26419
 
 
26420
 
  ;
26421
 
  return 0;
26422
 
}
26423
 
_ACEOF
26424
 
rm -f conftest.$ac_objext
26425
 
if { (ac_try="$ac_compile"
26426
 
case "(($ac_try" in
26427
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26428
 
  *) ac_try_echo=$ac_try;;
26429
 
esac
26430
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26431
 
$as_echo "$ac_try_echo") >&5
26432
 
  (eval "$ac_compile") 2>conftest.er1
26433
 
  ac_status=$?
26434
 
  grep -v '^ *+' conftest.er1 >conftest.err
26435
 
  rm -f conftest.er1
26436
 
  cat conftest.err >&5
26437
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438
 
  (exit $ac_status); } && {
26439
 
         test -z "$ac_c_werror_flag" ||
26440
 
         test ! -s conftest.err
26441
 
       } && test -s conftest.$ac_objext; then
26442
 
  ac_lo=$ac_mid; break
26443
 
else
26444
 
  $as_echo "$as_me: failed program was:" >&5
26445
 
sed 's/^/| /' conftest.$ac_ext >&5
26446
 
 
26447
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26448
 
                        if test $ac_mid -le $ac_hi; then
26449
 
                          ac_lo= ac_hi=
26450
 
                          break
26451
 
                        fi
26452
 
                        ac_mid=`expr 2 '*' $ac_mid`
26453
 
fi
26454
 
 
26455
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26456
 
  done
26457
 
else
26458
 
  $as_echo "$as_me: failed program was:" >&5
26459
 
sed 's/^/| /' conftest.$ac_ext >&5
26460
 
 
26461
 
        ac_lo= ac_hi=
26462
 
fi
26463
 
 
26464
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26465
 
fi
26466
 
 
26467
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26468
 
# Binary search between lo and hi bounds.
26469
 
while test "x$ac_lo" != "x$ac_hi"; do
26470
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26471
 
  cat >conftest.$ac_ext <<_ACEOF
26472
 
/* confdefs.h.  */
26473
 
_ACEOF
26474
 
cat confdefs.h >>conftest.$ac_ext
26475
 
cat >>conftest.$ac_ext <<_ACEOF
26476
 
/* end confdefs.h.  */
26477
 
$ac_includes_default
26478
 
int
26479
 
main ()
26480
 
{
26481
 
static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
26482
 
test_array [0] = 0
26483
 
 
26484
 
  ;
26485
 
  return 0;
26486
 
}
26487
 
_ACEOF
26488
 
rm -f conftest.$ac_objext
26489
 
if { (ac_try="$ac_compile"
26490
 
case "(($ac_try" in
26491
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26492
 
  *) ac_try_echo=$ac_try;;
26493
 
esac
26494
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26495
 
$as_echo "$ac_try_echo") >&5
26496
 
  (eval "$ac_compile") 2>conftest.er1
26497
 
  ac_status=$?
26498
 
  grep -v '^ *+' conftest.er1 >conftest.err
26499
 
  rm -f conftest.er1
26500
 
  cat conftest.err >&5
26501
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502
 
  (exit $ac_status); } && {
26503
 
         test -z "$ac_c_werror_flag" ||
26504
 
         test ! -s conftest.err
26505
 
       } && test -s conftest.$ac_objext; then
26506
 
  ac_hi=$ac_mid
26507
 
else
26508
 
  $as_echo "$as_me: failed program was:" >&5
26509
 
sed 's/^/| /' conftest.$ac_ext >&5
26510
 
 
26511
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26512
 
fi
26513
 
 
26514
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26515
 
done
26516
 
case $ac_lo in
26517
 
?*) ac_cv_sizeof_short=$ac_lo;;
26518
 
'') if test "$ac_cv_type_short" = yes; then
26519
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26520
 
See \`config.log' for more details." >&5
26521
 
$as_echo "$as_me: error: cannot compute sizeof (short)
26522
 
See \`config.log' for more details." >&2;}
26523
 
   { (exit 77); exit 77; }; }
26524
 
   else
26525
 
     ac_cv_sizeof_short=0
26526
 
   fi ;;
26527
 
esac
26528
 
else
26529
 
  cat >conftest.$ac_ext <<_ACEOF
26530
 
/* confdefs.h.  */
26531
 
_ACEOF
26532
 
cat confdefs.h >>conftest.$ac_ext
26533
 
cat >>conftest.$ac_ext <<_ACEOF
26534
 
/* end confdefs.h.  */
26535
 
$ac_includes_default
26536
 
static long int longval () { return (long int) (sizeof (short)); }
26537
 
static unsigned long int ulongval () { return (long int) (sizeof (short)); }
26538
 
#include <stdio.h>
26539
 
#include <stdlib.h>
26540
 
int
26541
 
main ()
26542
 
{
26543
 
 
26544
 
  FILE *f = fopen ("conftest.val", "w");
26545
 
  if (! f)
26546
 
    return 1;
26547
 
  if (((long int) (sizeof (short))) < 0)
26548
 
    {
26549
 
      long int i = longval ();
26550
 
      if (i != ((long int) (sizeof (short))))
26551
 
        return 1;
26552
 
      fprintf (f, "%ld", i);
26553
 
    }
26554
 
  else
26555
 
    {
26556
 
      unsigned long int i = ulongval ();
26557
 
      if (i != ((long int) (sizeof (short))))
26558
 
        return 1;
26559
 
      fprintf (f, "%lu", i);
26560
 
    }
26561
 
  /* Do not output a trailing newline, as this causes \r\n confusion
26562
 
     on some platforms.  */
26563
 
  return ferror (f) || fclose (f) != 0;
26564
 
 
26565
 
  ;
26566
 
  return 0;
26567
 
}
26568
 
_ACEOF
26569
 
rm -f conftest$ac_exeext
26570
 
if { (ac_try="$ac_link"
26571
 
case "(($ac_try" in
26572
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26573
 
  *) ac_try_echo=$ac_try;;
26574
 
esac
26575
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26576
 
$as_echo "$ac_try_echo") >&5
26577
 
  (eval "$ac_link") 2>&5
26578
 
  ac_status=$?
26579
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26581
 
  { (case "(($ac_try" in
26582
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26583
 
  *) ac_try_echo=$ac_try;;
26584
 
esac
26585
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26586
 
$as_echo "$ac_try_echo") >&5
26587
 
  (eval "$ac_try") 2>&5
26588
 
  ac_status=$?
26589
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590
 
  (exit $ac_status); }; }; then
26591
 
  ac_cv_sizeof_short=`cat conftest.val`
26592
 
else
26593
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
26594
 
$as_echo "$as_me: failed program was:" >&5
26595
 
sed 's/^/| /' conftest.$ac_ext >&5
26596
 
 
26597
 
( exit $ac_status )
26598
 
if test "$ac_cv_type_short" = yes; then
26599
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26600
 
See \`config.log' for more details." >&5
26601
 
$as_echo "$as_me: error: cannot compute sizeof (short)
26602
 
See \`config.log' for more details." >&2;}
26603
 
   { (exit 77); exit 77; }; }
26604
 
   else
26605
 
     ac_cv_sizeof_short=0
26606
 
   fi
26607
 
fi
26608
 
rm -rf conftest.dSYM
26609
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26610
 
fi
26611
 
rm -f conftest.val
26612
 
fi
26613
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
26614
 
$as_echo "$ac_cv_sizeof_short" >&6; }
26615
 
 
26616
 
 
26617
 
 
26618
 
cat >>confdefs.h <<_ACEOF
26619
 
#define SIZEOF_SHORT $ac_cv_sizeof_short
26620
 
_ACEOF
26621
 
 
26622
 
  # The cast to long int works around a bug in the HP C Compiler
26623
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26624
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26625
 
# This bug is HP SR number 8606223364.
26626
 
{ $as_echo "$as_me:$LINENO: checking size of long" >&5
26627
 
$as_echo_n "checking size of long... " >&6; }
26628
 
if test "${ac_cv_sizeof_long+set}" = set; then
26629
 
  $as_echo_n "(cached) " >&6
26630
 
else
26631
 
  if test "$cross_compiling" = yes; then
26632
 
  # Depending upon the size, compute the lo and hi bounds.
26633
 
cat >conftest.$ac_ext <<_ACEOF
26634
 
/* confdefs.h.  */
26635
 
_ACEOF
26636
 
cat confdefs.h >>conftest.$ac_ext
26637
 
cat >>conftest.$ac_ext <<_ACEOF
26638
 
/* end confdefs.h.  */
26639
 
$ac_includes_default
26640
 
int
26641
 
main ()
26642
 
{
26643
 
static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
26644
 
test_array [0] = 0
26645
 
 
26646
 
  ;
26647
 
  return 0;
26648
 
}
26649
 
_ACEOF
26650
 
rm -f conftest.$ac_objext
26651
 
if { (ac_try="$ac_compile"
26652
 
case "(($ac_try" in
26653
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26654
 
  *) ac_try_echo=$ac_try;;
26655
 
esac
26656
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26657
 
$as_echo "$ac_try_echo") >&5
26658
 
  (eval "$ac_compile") 2>conftest.er1
26659
 
  ac_status=$?
26660
 
  grep -v '^ *+' conftest.er1 >conftest.err
26661
 
  rm -f conftest.er1
26662
 
  cat conftest.err >&5
26663
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664
 
  (exit $ac_status); } && {
26665
 
         test -z "$ac_c_werror_flag" ||
26666
 
         test ! -s conftest.err
26667
 
       } && test -s conftest.$ac_objext; then
26668
 
  ac_lo=0 ac_mid=0
26669
 
  while :; do
26670
 
    cat >conftest.$ac_ext <<_ACEOF
26671
 
/* confdefs.h.  */
26672
 
_ACEOF
26673
 
cat confdefs.h >>conftest.$ac_ext
26674
 
cat >>conftest.$ac_ext <<_ACEOF
26675
 
/* end confdefs.h.  */
26676
 
$ac_includes_default
26677
 
int
26678
 
main ()
26679
 
{
26680
 
static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
26681
 
test_array [0] = 0
26682
 
 
26683
 
  ;
26684
 
  return 0;
26685
 
}
26686
 
_ACEOF
26687
 
rm -f conftest.$ac_objext
26688
 
if { (ac_try="$ac_compile"
26689
 
case "(($ac_try" in
26690
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26691
 
  *) ac_try_echo=$ac_try;;
26692
 
esac
26693
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26694
 
$as_echo "$ac_try_echo") >&5
26695
 
  (eval "$ac_compile") 2>conftest.er1
26696
 
  ac_status=$?
26697
 
  grep -v '^ *+' conftest.er1 >conftest.err
26698
 
  rm -f conftest.er1
26699
 
  cat conftest.err >&5
26700
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701
 
  (exit $ac_status); } && {
26702
 
         test -z "$ac_c_werror_flag" ||
26703
 
         test ! -s conftest.err
26704
 
       } && test -s conftest.$ac_objext; then
26705
 
  ac_hi=$ac_mid; break
26706
 
else
26707
 
  $as_echo "$as_me: failed program was:" >&5
26708
 
sed 's/^/| /' conftest.$ac_ext >&5
26709
 
 
26710
 
        ac_lo=`expr $ac_mid + 1`
26711
 
                        if test $ac_lo -le $ac_mid; then
26712
 
                          ac_lo= ac_hi=
26713
 
                          break
26714
 
                        fi
26715
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26716
 
fi
26717
 
 
26718
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26719
 
  done
26720
 
else
26721
 
  $as_echo "$as_me: failed program was:" >&5
26722
 
sed 's/^/| /' conftest.$ac_ext >&5
26723
 
 
26724
 
        cat >conftest.$ac_ext <<_ACEOF
26725
 
/* confdefs.h.  */
26726
 
_ACEOF
26727
 
cat confdefs.h >>conftest.$ac_ext
26728
 
cat >>conftest.$ac_ext <<_ACEOF
26729
 
/* end confdefs.h.  */
26730
 
$ac_includes_default
26731
 
int
26732
 
main ()
26733
 
{
26734
 
static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
26735
 
test_array [0] = 0
26736
 
 
26737
 
  ;
26738
 
  return 0;
26739
 
}
26740
 
_ACEOF
26741
 
rm -f conftest.$ac_objext
26742
 
if { (ac_try="$ac_compile"
26743
 
case "(($ac_try" in
26744
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26745
 
  *) ac_try_echo=$ac_try;;
26746
 
esac
26747
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26748
 
$as_echo "$ac_try_echo") >&5
26749
 
  (eval "$ac_compile") 2>conftest.er1
26750
 
  ac_status=$?
26751
 
  grep -v '^ *+' conftest.er1 >conftest.err
26752
 
  rm -f conftest.er1
26753
 
  cat conftest.err >&5
26754
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755
 
  (exit $ac_status); } && {
26756
 
         test -z "$ac_c_werror_flag" ||
26757
 
         test ! -s conftest.err
26758
 
       } && test -s conftest.$ac_objext; then
26759
 
  ac_hi=-1 ac_mid=-1
26760
 
  while :; do
26761
 
    cat >conftest.$ac_ext <<_ACEOF
26762
 
/* confdefs.h.  */
26763
 
_ACEOF
26764
 
cat confdefs.h >>conftest.$ac_ext
26765
 
cat >>conftest.$ac_ext <<_ACEOF
26766
 
/* end confdefs.h.  */
26767
 
$ac_includes_default
26768
 
int
26769
 
main ()
26770
 
{
26771
 
static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
26772
 
test_array [0] = 0
26773
 
 
26774
 
  ;
26775
 
  return 0;
26776
 
}
26777
 
_ACEOF
26778
 
rm -f conftest.$ac_objext
26779
 
if { (ac_try="$ac_compile"
26780
 
case "(($ac_try" in
26781
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26782
 
  *) ac_try_echo=$ac_try;;
26783
 
esac
26784
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26785
 
$as_echo "$ac_try_echo") >&5
26786
 
  (eval "$ac_compile") 2>conftest.er1
26787
 
  ac_status=$?
26788
 
  grep -v '^ *+' conftest.er1 >conftest.err
26789
 
  rm -f conftest.er1
26790
 
  cat conftest.err >&5
26791
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792
 
  (exit $ac_status); } && {
26793
 
         test -z "$ac_c_werror_flag" ||
26794
 
         test ! -s conftest.err
26795
 
       } && test -s conftest.$ac_objext; then
26796
 
  ac_lo=$ac_mid; break
26797
 
else
26798
 
  $as_echo "$as_me: failed program was:" >&5
26799
 
sed 's/^/| /' conftest.$ac_ext >&5
26800
 
 
26801
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26802
 
                        if test $ac_mid -le $ac_hi; then
26803
 
                          ac_lo= ac_hi=
26804
 
                          break
26805
 
                        fi
26806
 
                        ac_mid=`expr 2 '*' $ac_mid`
26807
 
fi
26808
 
 
26809
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26810
 
  done
26811
 
else
26812
 
  $as_echo "$as_me: failed program was:" >&5
26813
 
sed 's/^/| /' conftest.$ac_ext >&5
26814
 
 
26815
 
        ac_lo= ac_hi=
26816
 
fi
26817
 
 
26818
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26819
 
fi
26820
 
 
26821
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26822
 
# Binary search between lo and hi bounds.
26823
 
while test "x$ac_lo" != "x$ac_hi"; do
26824
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26825
 
  cat >conftest.$ac_ext <<_ACEOF
26826
 
/* confdefs.h.  */
26827
 
_ACEOF
26828
 
cat confdefs.h >>conftest.$ac_ext
26829
 
cat >>conftest.$ac_ext <<_ACEOF
26830
 
/* end confdefs.h.  */
26831
 
$ac_includes_default
26832
 
int
26833
 
main ()
26834
 
{
26835
 
static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
26836
 
test_array [0] = 0
26837
 
 
26838
 
  ;
26839
 
  return 0;
26840
 
}
26841
 
_ACEOF
26842
 
rm -f conftest.$ac_objext
26843
 
if { (ac_try="$ac_compile"
26844
 
case "(($ac_try" in
26845
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26846
 
  *) ac_try_echo=$ac_try;;
26847
 
esac
26848
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26849
 
$as_echo "$ac_try_echo") >&5
26850
 
  (eval "$ac_compile") 2>conftest.er1
26851
 
  ac_status=$?
26852
 
  grep -v '^ *+' conftest.er1 >conftest.err
26853
 
  rm -f conftest.er1
26854
 
  cat conftest.err >&5
26855
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856
 
  (exit $ac_status); } && {
26857
 
         test -z "$ac_c_werror_flag" ||
26858
 
         test ! -s conftest.err
26859
 
       } && test -s conftest.$ac_objext; then
26860
 
  ac_hi=$ac_mid
26861
 
else
26862
 
  $as_echo "$as_me: failed program was:" >&5
26863
 
sed 's/^/| /' conftest.$ac_ext >&5
26864
 
 
26865
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26866
 
fi
26867
 
 
26868
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26869
 
done
26870
 
case $ac_lo in
26871
 
?*) ac_cv_sizeof_long=$ac_lo;;
26872
 
'') if test "$ac_cv_type_long" = yes; then
26873
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26874
 
See \`config.log' for more details." >&5
26875
 
$as_echo "$as_me: error: cannot compute sizeof (long)
26876
 
See \`config.log' for more details." >&2;}
26877
 
   { (exit 77); exit 77; }; }
26878
 
   else
26879
 
     ac_cv_sizeof_long=0
26880
 
   fi ;;
26881
 
esac
26882
 
else
26883
 
  cat >conftest.$ac_ext <<_ACEOF
26884
 
/* confdefs.h.  */
26885
 
_ACEOF
26886
 
cat confdefs.h >>conftest.$ac_ext
26887
 
cat >>conftest.$ac_ext <<_ACEOF
26888
 
/* end confdefs.h.  */
26889
 
$ac_includes_default
26890
 
static long int longval () { return (long int) (sizeof (long)); }
26891
 
static unsigned long int ulongval () { return (long int) (sizeof (long)); }
26892
 
#include <stdio.h>
26893
 
#include <stdlib.h>
26894
 
int
26895
 
main ()
26896
 
{
26897
 
 
26898
 
  FILE *f = fopen ("conftest.val", "w");
26899
 
  if (! f)
26900
 
    return 1;
26901
 
  if (((long int) (sizeof (long))) < 0)
26902
 
    {
26903
 
      long int i = longval ();
26904
 
      if (i != ((long int) (sizeof (long))))
26905
 
        return 1;
26906
 
      fprintf (f, "%ld", i);
26907
 
    }
26908
 
  else
26909
 
    {
26910
 
      unsigned long int i = ulongval ();
26911
 
      if (i != ((long int) (sizeof (long))))
26912
 
        return 1;
26913
 
      fprintf (f, "%lu", i);
26914
 
    }
26915
 
  /* Do not output a trailing newline, as this causes \r\n confusion
26916
 
     on some platforms.  */
26917
 
  return ferror (f) || fclose (f) != 0;
26918
 
 
26919
 
  ;
26920
 
  return 0;
26921
 
}
26922
 
_ACEOF
26923
 
rm -f conftest$ac_exeext
26924
 
if { (ac_try="$ac_link"
26925
 
case "(($ac_try" in
26926
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26927
 
  *) ac_try_echo=$ac_try;;
26928
 
esac
26929
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26930
 
$as_echo "$ac_try_echo") >&5
26931
 
  (eval "$ac_link") 2>&5
26932
 
  ac_status=$?
26933
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26935
 
  { (case "(($ac_try" in
26936
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26937
 
  *) ac_try_echo=$ac_try;;
26938
 
esac
26939
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26940
 
$as_echo "$ac_try_echo") >&5
26941
 
  (eval "$ac_try") 2>&5
26942
 
  ac_status=$?
26943
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26944
 
  (exit $ac_status); }; }; then
26945
 
  ac_cv_sizeof_long=`cat conftest.val`
26946
 
else
26947
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
26948
 
$as_echo "$as_me: failed program was:" >&5
26949
 
sed 's/^/| /' conftest.$ac_ext >&5
26950
 
 
26951
 
( exit $ac_status )
26952
 
if test "$ac_cv_type_long" = yes; then
26953
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26954
 
See \`config.log' for more details." >&5
26955
 
$as_echo "$as_me: error: cannot compute sizeof (long)
26956
 
See \`config.log' for more details." >&2;}
26957
 
   { (exit 77); exit 77; }; }
26958
 
   else
26959
 
     ac_cv_sizeof_long=0
26960
 
   fi
26961
 
fi
26962
 
rm -rf conftest.dSYM
26963
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26964
 
fi
26965
 
rm -f conftest.val
26966
 
fi
26967
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
26968
 
$as_echo "$ac_cv_sizeof_long" >&6; }
26969
 
 
26970
 
 
26971
 
 
26972
 
cat >>confdefs.h <<_ACEOF
26973
 
#define SIZEOF_LONG $ac_cv_sizeof_long
26974
 
_ACEOF
26975
 
 
26976
 
  # The cast to long int works around a bug in the HP C Compiler
26977
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26978
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26979
 
# This bug is HP SR number 8606223364.
26980
 
{ $as_echo "$as_me:$LINENO: checking size of char *" >&5
26981
 
$as_echo_n "checking size of char *... " >&6; }
26982
 
if test "${ac_cv_sizeof_char_p+set}" = set; then
26983
 
  $as_echo_n "(cached) " >&6
26984
 
else
26985
 
  if test "$cross_compiling" = yes; then
26986
 
  # Depending upon the size, compute the lo and hi bounds.
26987
 
cat >conftest.$ac_ext <<_ACEOF
26988
 
/* confdefs.h.  */
26989
 
_ACEOF
26990
 
cat confdefs.h >>conftest.$ac_ext
26991
 
cat >>conftest.$ac_ext <<_ACEOF
26992
 
/* end confdefs.h.  */
26993
 
$ac_includes_default
26994
 
int
26995
 
main ()
26996
 
{
26997
 
static int test_array [1 - 2 * !(((long int) (sizeof (char *))) >= 0)];
26998
 
test_array [0] = 0
26999
 
 
27000
 
  ;
27001
 
  return 0;
27002
 
}
27003
 
_ACEOF
27004
 
rm -f conftest.$ac_objext
27005
 
if { (ac_try="$ac_compile"
27006
 
case "(($ac_try" in
27007
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27008
 
  *) ac_try_echo=$ac_try;;
27009
 
esac
27010
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27011
 
$as_echo "$ac_try_echo") >&5
27012
 
  (eval "$ac_compile") 2>conftest.er1
27013
 
  ac_status=$?
27014
 
  grep -v '^ *+' conftest.er1 >conftest.err
27015
 
  rm -f conftest.er1
27016
 
  cat conftest.err >&5
27017
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018
 
  (exit $ac_status); } && {
27019
 
         test -z "$ac_c_werror_flag" ||
27020
 
         test ! -s conftest.err
27021
 
       } && test -s conftest.$ac_objext; then
27022
 
  ac_lo=0 ac_mid=0
27023
 
  while :; do
27024
 
    cat >conftest.$ac_ext <<_ACEOF
27025
 
/* confdefs.h.  */
27026
 
_ACEOF
27027
 
cat confdefs.h >>conftest.$ac_ext
27028
 
cat >>conftest.$ac_ext <<_ACEOF
27029
 
/* end confdefs.h.  */
27030
 
$ac_includes_default
27031
 
int
27032
 
main ()
27033
 
{
27034
 
static int test_array [1 - 2 * !(((long int) (sizeof (char *))) <= $ac_mid)];
27035
 
test_array [0] = 0
27036
 
 
27037
 
  ;
27038
 
  return 0;
27039
 
}
27040
 
_ACEOF
27041
 
rm -f conftest.$ac_objext
27042
 
if { (ac_try="$ac_compile"
27043
 
case "(($ac_try" in
27044
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27045
 
  *) ac_try_echo=$ac_try;;
27046
 
esac
27047
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27048
 
$as_echo "$ac_try_echo") >&5
27049
 
  (eval "$ac_compile") 2>conftest.er1
27050
 
  ac_status=$?
27051
 
  grep -v '^ *+' conftest.er1 >conftest.err
27052
 
  rm -f conftest.er1
27053
 
  cat conftest.err >&5
27054
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055
 
  (exit $ac_status); } && {
27056
 
         test -z "$ac_c_werror_flag" ||
27057
 
         test ! -s conftest.err
27058
 
       } && test -s conftest.$ac_objext; then
27059
 
  ac_hi=$ac_mid; break
27060
 
else
27061
 
  $as_echo "$as_me: failed program was:" >&5
27062
 
sed 's/^/| /' conftest.$ac_ext >&5
27063
 
 
27064
 
        ac_lo=`expr $ac_mid + 1`
27065
 
                        if test $ac_lo -le $ac_mid; then
27066
 
                          ac_lo= ac_hi=
27067
 
                          break
27068
 
                        fi
27069
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27070
 
fi
27071
 
 
27072
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27073
 
  done
27074
 
else
27075
 
  $as_echo "$as_me: failed program was:" >&5
27076
 
sed 's/^/| /' conftest.$ac_ext >&5
27077
 
 
27078
 
        cat >conftest.$ac_ext <<_ACEOF
27079
 
/* confdefs.h.  */
27080
 
_ACEOF
27081
 
cat confdefs.h >>conftest.$ac_ext
27082
 
cat >>conftest.$ac_ext <<_ACEOF
27083
 
/* end confdefs.h.  */
27084
 
$ac_includes_default
27085
 
int
27086
 
main ()
27087
 
{
27088
 
static int test_array [1 - 2 * !(((long int) (sizeof (char *))) < 0)];
27089
 
test_array [0] = 0
27090
 
 
27091
 
  ;
27092
 
  return 0;
27093
 
}
27094
 
_ACEOF
27095
 
rm -f conftest.$ac_objext
27096
 
if { (ac_try="$ac_compile"
27097
 
case "(($ac_try" in
27098
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27099
 
  *) ac_try_echo=$ac_try;;
27100
 
esac
27101
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27102
 
$as_echo "$ac_try_echo") >&5
27103
 
  (eval "$ac_compile") 2>conftest.er1
27104
 
  ac_status=$?
27105
 
  grep -v '^ *+' conftest.er1 >conftest.err
27106
 
  rm -f conftest.er1
27107
 
  cat conftest.err >&5
27108
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109
 
  (exit $ac_status); } && {
27110
 
         test -z "$ac_c_werror_flag" ||
27111
 
         test ! -s conftest.err
27112
 
       } && test -s conftest.$ac_objext; then
27113
 
  ac_hi=-1 ac_mid=-1
27114
 
  while :; do
27115
 
    cat >conftest.$ac_ext <<_ACEOF
27116
 
/* confdefs.h.  */
27117
 
_ACEOF
27118
 
cat confdefs.h >>conftest.$ac_ext
27119
 
cat >>conftest.$ac_ext <<_ACEOF
27120
 
/* end confdefs.h.  */
27121
 
$ac_includes_default
27122
 
int
27123
 
main ()
27124
 
{
27125
 
static int test_array [1 - 2 * !(((long int) (sizeof (char *))) >= $ac_mid)];
27126
 
test_array [0] = 0
27127
 
 
27128
 
  ;
27129
 
  return 0;
27130
 
}
27131
 
_ACEOF
27132
 
rm -f conftest.$ac_objext
27133
 
if { (ac_try="$ac_compile"
27134
 
case "(($ac_try" in
27135
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27136
 
  *) ac_try_echo=$ac_try;;
27137
 
esac
27138
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27139
 
$as_echo "$ac_try_echo") >&5
27140
 
  (eval "$ac_compile") 2>conftest.er1
27141
 
  ac_status=$?
27142
 
  grep -v '^ *+' conftest.er1 >conftest.err
27143
 
  rm -f conftest.er1
27144
 
  cat conftest.err >&5
27145
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146
 
  (exit $ac_status); } && {
27147
 
         test -z "$ac_c_werror_flag" ||
27148
 
         test ! -s conftest.err
27149
 
       } && test -s conftest.$ac_objext; then
27150
 
  ac_lo=$ac_mid; break
27151
 
else
27152
 
  $as_echo "$as_me: failed program was:" >&5
27153
 
sed 's/^/| /' conftest.$ac_ext >&5
27154
 
 
27155
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27156
 
                        if test $ac_mid -le $ac_hi; then
27157
 
                          ac_lo= ac_hi=
27158
 
                          break
27159
 
                        fi
27160
 
                        ac_mid=`expr 2 '*' $ac_mid`
27161
 
fi
27162
 
 
27163
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27164
 
  done
27165
 
else
27166
 
  $as_echo "$as_me: failed program was:" >&5
27167
 
sed 's/^/| /' conftest.$ac_ext >&5
27168
 
 
27169
 
        ac_lo= ac_hi=
27170
 
fi
27171
 
 
27172
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27173
 
fi
27174
 
 
27175
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27176
 
# Binary search between lo and hi bounds.
27177
 
while test "x$ac_lo" != "x$ac_hi"; do
27178
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27179
 
  cat >conftest.$ac_ext <<_ACEOF
27180
 
/* confdefs.h.  */
27181
 
_ACEOF
27182
 
cat confdefs.h >>conftest.$ac_ext
27183
 
cat >>conftest.$ac_ext <<_ACEOF
27184
 
/* end confdefs.h.  */
27185
 
$ac_includes_default
27186
 
int
27187
 
main ()
27188
 
{
27189
 
static int test_array [1 - 2 * !(((long int) (sizeof (char *))) <= $ac_mid)];
27190
 
test_array [0] = 0
27191
 
 
27192
 
  ;
27193
 
  return 0;
27194
 
}
27195
 
_ACEOF
27196
 
rm -f conftest.$ac_objext
27197
 
if { (ac_try="$ac_compile"
27198
 
case "(($ac_try" in
27199
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27200
 
  *) ac_try_echo=$ac_try;;
27201
 
esac
27202
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27203
 
$as_echo "$ac_try_echo") >&5
27204
 
  (eval "$ac_compile") 2>conftest.er1
27205
 
  ac_status=$?
27206
 
  grep -v '^ *+' conftest.er1 >conftest.err
27207
 
  rm -f conftest.er1
27208
 
  cat conftest.err >&5
27209
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210
 
  (exit $ac_status); } && {
27211
 
         test -z "$ac_c_werror_flag" ||
27212
 
         test ! -s conftest.err
27213
 
       } && test -s conftest.$ac_objext; then
27214
 
  ac_hi=$ac_mid
27215
 
else
27216
 
  $as_echo "$as_me: failed program was:" >&5
27217
 
sed 's/^/| /' conftest.$ac_ext >&5
27218
 
 
27219
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
27220
 
fi
27221
 
 
27222
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27223
 
done
27224
 
case $ac_lo in
27225
 
?*) ac_cv_sizeof_char_p=$ac_lo;;
27226
 
'') if test "$ac_cv_type_char_p" = yes; then
27227
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27228
 
See \`config.log' for more details." >&5
27229
 
$as_echo "$as_me: error: cannot compute sizeof (char *)
27230
 
See \`config.log' for more details." >&2;}
27231
 
   { (exit 77); exit 77; }; }
27232
 
   else
27233
 
     ac_cv_sizeof_char_p=0
27234
 
   fi ;;
27235
 
esac
27236
 
else
27237
 
  cat >conftest.$ac_ext <<_ACEOF
27238
 
/* confdefs.h.  */
27239
 
_ACEOF
27240
 
cat confdefs.h >>conftest.$ac_ext
27241
 
cat >>conftest.$ac_ext <<_ACEOF
27242
 
/* end confdefs.h.  */
27243
 
$ac_includes_default
27244
 
static long int longval () { return (long int) (sizeof (char *)); }
27245
 
static unsigned long int ulongval () { return (long int) (sizeof (char *)); }
27246
 
#include <stdio.h>
27247
 
#include <stdlib.h>
27248
 
int
27249
 
main ()
27250
 
{
27251
 
 
27252
 
  FILE *f = fopen ("conftest.val", "w");
27253
 
  if (! f)
27254
 
    return 1;
27255
 
  if (((long int) (sizeof (char *))) < 0)
27256
 
    {
27257
 
      long int i = longval ();
27258
 
      if (i != ((long int) (sizeof (char *))))
27259
 
        return 1;
27260
 
      fprintf (f, "%ld", i);
27261
 
    }
27262
 
  else
27263
 
    {
27264
 
      unsigned long int i = ulongval ();
27265
 
      if (i != ((long int) (sizeof (char *))))
27266
 
        return 1;
27267
 
      fprintf (f, "%lu", i);
27268
 
    }
27269
 
  /* Do not output a trailing newline, as this causes \r\n confusion
27270
 
     on some platforms.  */
27271
 
  return ferror (f) || fclose (f) != 0;
27272
 
 
27273
 
  ;
27274
 
  return 0;
27275
 
}
27276
 
_ACEOF
27277
 
rm -f conftest$ac_exeext
27278
 
if { (ac_try="$ac_link"
27279
 
case "(($ac_try" in
27280
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27281
 
  *) ac_try_echo=$ac_try;;
27282
 
esac
27283
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27284
 
$as_echo "$ac_try_echo") >&5
27285
 
  (eval "$ac_link") 2>&5
27286
 
  ac_status=$?
27287
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27289
 
  { (case "(($ac_try" in
27290
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27291
 
  *) ac_try_echo=$ac_try;;
27292
 
esac
27293
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27294
 
$as_echo "$ac_try_echo") >&5
27295
 
  (eval "$ac_try") 2>&5
27296
 
  ac_status=$?
27297
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298
 
  (exit $ac_status); }; }; then
27299
 
  ac_cv_sizeof_char_p=`cat conftest.val`
27300
 
else
27301
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
27302
 
$as_echo "$as_me: failed program was:" >&5
27303
 
sed 's/^/| /' conftest.$ac_ext >&5
27304
 
 
27305
 
( exit $ac_status )
27306
 
if test "$ac_cv_type_char_p" = yes; then
27307
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27308
 
See \`config.log' for more details." >&5
27309
 
$as_echo "$as_me: error: cannot compute sizeof (char *)
27310
 
See \`config.log' for more details." >&2;}
27311
 
   { (exit 77); exit 77; }; }
27312
 
   else
27313
 
     ac_cv_sizeof_char_p=0
27314
 
   fi
27315
 
fi
27316
 
rm -rf conftest.dSYM
27317
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27318
 
fi
27319
 
rm -f conftest.val
27320
 
fi
27321
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
27322
 
$as_echo "$ac_cv_sizeof_char_p" >&6; }
27323
 
 
27324
 
 
27325
 
 
27326
 
cat >>confdefs.h <<_ACEOF
27327
 
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
27328
 
_ACEOF
27329
 
 
27330
 
 
27331
 
 
27332
 
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27333
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
27334
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27335
 
  $as_echo_n "(cached) " >&6
27336
 
else
27337
 
  ac_check_lib_save_LIBS=$LIBS
27338
 
LIBS="-ldl  $LIBS"
27339
 
cat >conftest.$ac_ext <<_ACEOF
27340
 
/* confdefs.h.  */
27341
 
_ACEOF
27342
 
cat confdefs.h >>conftest.$ac_ext
27343
 
cat >>conftest.$ac_ext <<_ACEOF
27344
 
/* end confdefs.h.  */
27345
 
 
27346
 
/* Override any GCC internal prototype to avoid an error.
27347
 
   Use char because int might match the return type of a GCC
27348
 
   builtin and then its argument prototype would still apply.  */
27349
 
#ifdef __cplusplus
27350
 
extern "C"
27351
 
#endif
27352
 
char dlopen ();
27353
 
int
27354
 
main ()
27355
 
{
27356
 
return dlopen ();
27357
 
  ;
27358
 
  return 0;
27359
 
}
27360
 
_ACEOF
27361
 
rm -f conftest.$ac_objext conftest$ac_exeext
27362
 
if { (ac_try="$ac_link"
27363
 
case "(($ac_try" in
27364
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27365
 
  *) ac_try_echo=$ac_try;;
27366
 
esac
27367
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27368
 
$as_echo "$ac_try_echo") >&5
27369
 
  (eval "$ac_link") 2>conftest.er1
27370
 
  ac_status=$?
27371
 
  grep -v '^ *+' conftest.er1 >conftest.err
27372
 
  rm -f conftest.er1
27373
 
  cat conftest.err >&5
27374
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375
 
  (exit $ac_status); } && {
27376
 
         test -z "$ac_c_werror_flag" ||
27377
 
         test ! -s conftest.err
27378
 
       } && test -s conftest$ac_exeext && {
27379
 
         test "$cross_compiling" = yes ||
27380
 
         $as_test_x conftest$ac_exeext
27381
 
       }; then
27382
 
  ac_cv_lib_dl_dlopen=yes
27383
 
else
27384
 
  $as_echo "$as_me: failed program was:" >&5
27385
 
sed 's/^/| /' conftest.$ac_ext >&5
27386
 
 
27387
 
        ac_cv_lib_dl_dlopen=no
27388
 
fi
27389
 
 
27390
 
rm -rf conftest.dSYM
27391
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27392
 
      conftest$ac_exeext conftest.$ac_ext
27393
 
LIBS=$ac_check_lib_save_LIBS
27394
 
fi
27395
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27396
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
27397
 
if test $ac_cv_lib_dl_dlopen = yes; then
27398
 
 
27399
 
LIBDL="-ldl"
27400
 
ac_cv_have_dlfcn=yes
27401
 
 
27402
 
fi
27403
 
 
27404
 
 
27405
 
{ $as_echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
27406
 
$as_echo_n "checking for shl_unload in -ldld... " >&6; }
27407
 
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
27408
 
  $as_echo_n "(cached) " >&6
27409
 
else
27410
 
  ac_check_lib_save_LIBS=$LIBS
27411
 
LIBS="-ldld  $LIBS"
27412
 
cat >conftest.$ac_ext <<_ACEOF
27413
 
/* confdefs.h.  */
27414
 
_ACEOF
27415
 
cat confdefs.h >>conftest.$ac_ext
27416
 
cat >>conftest.$ac_ext <<_ACEOF
27417
 
/* end confdefs.h.  */
27418
 
 
27419
 
/* Override any GCC internal prototype to avoid an error.
27420
 
   Use char because int might match the return type of a GCC
27421
 
   builtin and then its argument prototype would still apply.  */
27422
 
#ifdef __cplusplus
27423
 
extern "C"
27424
 
#endif
27425
 
char shl_unload ();
27426
 
int
27427
 
main ()
27428
 
{
27429
 
return shl_unload ();
27430
 
  ;
27431
 
  return 0;
27432
 
}
27433
 
_ACEOF
27434
 
rm -f conftest.$ac_objext conftest$ac_exeext
27435
 
if { (ac_try="$ac_link"
27436
 
case "(($ac_try" in
27437
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27438
 
  *) ac_try_echo=$ac_try;;
27439
 
esac
27440
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27441
 
$as_echo "$ac_try_echo") >&5
27442
 
  (eval "$ac_link") 2>conftest.er1
27443
 
  ac_status=$?
27444
 
  grep -v '^ *+' conftest.er1 >conftest.err
27445
 
  rm -f conftest.er1
27446
 
  cat conftest.err >&5
27447
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448
 
  (exit $ac_status); } && {
27449
 
         test -z "$ac_c_werror_flag" ||
27450
 
         test ! -s conftest.err
27451
 
       } && test -s conftest$ac_exeext && {
27452
 
         test "$cross_compiling" = yes ||
27453
 
         $as_test_x conftest$ac_exeext
27454
 
       }; then
27455
 
  ac_cv_lib_dld_shl_unload=yes
27456
 
else
27457
 
  $as_echo "$as_me: failed program was:" >&5
27458
 
sed 's/^/| /' conftest.$ac_ext >&5
27459
 
 
27460
 
        ac_cv_lib_dld_shl_unload=no
27461
 
fi
27462
 
 
27463
 
rm -rf conftest.dSYM
27464
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27465
 
      conftest$ac_exeext conftest.$ac_ext
27466
 
LIBS=$ac_check_lib_save_LIBS
27467
 
fi
27468
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
27469
 
$as_echo "$ac_cv_lib_dld_shl_unload" >&6; }
27470
 
if test $ac_cv_lib_dld_shl_unload = yes; then
27471
 
 
27472
 
LIBDL="-ldld"
27473
 
ac_cv_have_shload=yes
27474
 
 
27475
 
fi
27476
 
 
27477
 
 
27478
 
 
27479
 
 
27480
 
 
27481
 
 
27482
 
 
27483
 
  # The cast to long int works around a bug in the HP C Compiler
27484
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27485
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27486
 
# This bug is HP SR number 8606223364.
27487
 
{ $as_echo "$as_me:$LINENO: checking size of size_t" >&5
27488
 
$as_echo_n "checking size of size_t... " >&6; }
27489
 
if test "${ac_cv_sizeof_size_t+set}" = set; then
27490
 
  $as_echo_n "(cached) " >&6
27491
 
else
27492
 
  if test "$cross_compiling" = yes; then
27493
 
  # Depending upon the size, compute the lo and hi bounds.
27494
 
cat >conftest.$ac_ext <<_ACEOF
27495
 
/* confdefs.h.  */
27496
 
_ACEOF
27497
 
cat confdefs.h >>conftest.$ac_ext
27498
 
cat >>conftest.$ac_ext <<_ACEOF
27499
 
/* end confdefs.h.  */
27500
 
$ac_includes_default
27501
 
int
27502
 
main ()
27503
 
{
27504
 
static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) >= 0)];
27505
 
test_array [0] = 0
27506
 
 
27507
 
  ;
27508
 
  return 0;
27509
 
}
27510
 
_ACEOF
27511
 
rm -f conftest.$ac_objext
27512
 
if { (ac_try="$ac_compile"
27513
 
case "(($ac_try" in
27514
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27515
 
  *) ac_try_echo=$ac_try;;
27516
 
esac
27517
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27518
 
$as_echo "$ac_try_echo") >&5
27519
 
  (eval "$ac_compile") 2>conftest.er1
27520
 
  ac_status=$?
27521
 
  grep -v '^ *+' conftest.er1 >conftest.err
27522
 
  rm -f conftest.er1
27523
 
  cat conftest.err >&5
27524
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525
 
  (exit $ac_status); } && {
27526
 
         test -z "$ac_c_werror_flag" ||
27527
 
         test ! -s conftest.err
27528
 
       } && test -s conftest.$ac_objext; then
27529
 
  ac_lo=0 ac_mid=0
27530
 
  while :; do
27531
 
    cat >conftest.$ac_ext <<_ACEOF
27532
 
/* confdefs.h.  */
27533
 
_ACEOF
27534
 
cat confdefs.h >>conftest.$ac_ext
27535
 
cat >>conftest.$ac_ext <<_ACEOF
27536
 
/* end confdefs.h.  */
27537
 
$ac_includes_default
27538
 
int
27539
 
main ()
27540
 
{
27541
 
static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= $ac_mid)];
27542
 
test_array [0] = 0
27543
 
 
27544
 
  ;
27545
 
  return 0;
27546
 
}
27547
 
_ACEOF
27548
 
rm -f conftest.$ac_objext
27549
 
if { (ac_try="$ac_compile"
27550
 
case "(($ac_try" in
27551
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27552
 
  *) ac_try_echo=$ac_try;;
27553
 
esac
27554
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27555
 
$as_echo "$ac_try_echo") >&5
27556
 
  (eval "$ac_compile") 2>conftest.er1
27557
 
  ac_status=$?
27558
 
  grep -v '^ *+' conftest.er1 >conftest.err
27559
 
  rm -f conftest.er1
27560
 
  cat conftest.err >&5
27561
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562
 
  (exit $ac_status); } && {
27563
 
         test -z "$ac_c_werror_flag" ||
27564
 
         test ! -s conftest.err
27565
 
       } && test -s conftest.$ac_objext; then
27566
 
  ac_hi=$ac_mid; break
27567
 
else
27568
 
  $as_echo "$as_me: failed program was:" >&5
27569
 
sed 's/^/| /' conftest.$ac_ext >&5
27570
 
 
27571
 
        ac_lo=`expr $ac_mid + 1`
27572
 
                        if test $ac_lo -le $ac_mid; then
27573
 
                          ac_lo= ac_hi=
27574
 
                          break
27575
 
                        fi
27576
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27577
 
fi
27578
 
 
27579
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27580
 
  done
27581
 
else
27582
 
  $as_echo "$as_me: failed program was:" >&5
27583
 
sed 's/^/| /' conftest.$ac_ext >&5
27584
 
 
27585
 
        cat >conftest.$ac_ext <<_ACEOF
27586
 
/* confdefs.h.  */
27587
 
_ACEOF
27588
 
cat confdefs.h >>conftest.$ac_ext
27589
 
cat >>conftest.$ac_ext <<_ACEOF
27590
 
/* end confdefs.h.  */
27591
 
$ac_includes_default
27592
 
int
27593
 
main ()
27594
 
{
27595
 
static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) < 0)];
27596
 
test_array [0] = 0
27597
 
 
27598
 
  ;
27599
 
  return 0;
27600
 
}
27601
 
_ACEOF
27602
 
rm -f conftest.$ac_objext
27603
 
if { (ac_try="$ac_compile"
27604
 
case "(($ac_try" in
27605
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27606
 
  *) ac_try_echo=$ac_try;;
27607
 
esac
27608
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27609
 
$as_echo "$ac_try_echo") >&5
27610
 
  (eval "$ac_compile") 2>conftest.er1
27611
 
  ac_status=$?
27612
 
  grep -v '^ *+' conftest.er1 >conftest.err
27613
 
  rm -f conftest.er1
27614
 
  cat conftest.err >&5
27615
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27616
 
  (exit $ac_status); } && {
27617
 
         test -z "$ac_c_werror_flag" ||
27618
 
         test ! -s conftest.err
27619
 
       } && test -s conftest.$ac_objext; then
27620
 
  ac_hi=-1 ac_mid=-1
27621
 
  while :; do
27622
 
    cat >conftest.$ac_ext <<_ACEOF
27623
 
/* confdefs.h.  */
27624
 
_ACEOF
27625
 
cat confdefs.h >>conftest.$ac_ext
27626
 
cat >>conftest.$ac_ext <<_ACEOF
27627
 
/* end confdefs.h.  */
27628
 
$ac_includes_default
27629
 
int
27630
 
main ()
27631
 
{
27632
 
static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) >= $ac_mid)];
27633
 
test_array [0] = 0
27634
 
 
27635
 
  ;
27636
 
  return 0;
27637
 
}
27638
 
_ACEOF
27639
 
rm -f conftest.$ac_objext
27640
 
if { (ac_try="$ac_compile"
27641
 
case "(($ac_try" in
27642
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27643
 
  *) ac_try_echo=$ac_try;;
27644
 
esac
27645
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27646
 
$as_echo "$ac_try_echo") >&5
27647
 
  (eval "$ac_compile") 2>conftest.er1
27648
 
  ac_status=$?
27649
 
  grep -v '^ *+' conftest.er1 >conftest.err
27650
 
  rm -f conftest.er1
27651
 
  cat conftest.err >&5
27652
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653
 
  (exit $ac_status); } && {
27654
 
         test -z "$ac_c_werror_flag" ||
27655
 
         test ! -s conftest.err
27656
 
       } && test -s conftest.$ac_objext; then
27657
 
  ac_lo=$ac_mid; break
27658
 
else
27659
 
  $as_echo "$as_me: failed program was:" >&5
27660
 
sed 's/^/| /' conftest.$ac_ext >&5
27661
 
 
27662
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27663
 
                        if test $ac_mid -le $ac_hi; then
27664
 
                          ac_lo= ac_hi=
27665
 
                          break
27666
 
                        fi
27667
 
                        ac_mid=`expr 2 '*' $ac_mid`
27668
 
fi
27669
 
 
27670
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27671
 
  done
27672
 
else
27673
 
  $as_echo "$as_me: failed program was:" >&5
27674
 
sed 's/^/| /' conftest.$ac_ext >&5
27675
 
 
27676
 
        ac_lo= ac_hi=
27677
 
fi
27678
 
 
27679
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27680
 
fi
27681
 
 
27682
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27683
 
# Binary search between lo and hi bounds.
27684
 
while test "x$ac_lo" != "x$ac_hi"; do
27685
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27686
 
  cat >conftest.$ac_ext <<_ACEOF
27687
 
/* confdefs.h.  */
27688
 
_ACEOF
27689
 
cat confdefs.h >>conftest.$ac_ext
27690
 
cat >>conftest.$ac_ext <<_ACEOF
27691
 
/* end confdefs.h.  */
27692
 
$ac_includes_default
27693
 
int
27694
 
main ()
27695
 
{
27696
 
static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= $ac_mid)];
27697
 
test_array [0] = 0
27698
 
 
27699
 
  ;
27700
 
  return 0;
27701
 
}
27702
 
_ACEOF
27703
 
rm -f conftest.$ac_objext
27704
 
if { (ac_try="$ac_compile"
27705
 
case "(($ac_try" in
27706
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27707
 
  *) ac_try_echo=$ac_try;;
27708
 
esac
27709
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27710
 
$as_echo "$ac_try_echo") >&5
27711
 
  (eval "$ac_compile") 2>conftest.er1
27712
 
  ac_status=$?
27713
 
  grep -v '^ *+' conftest.er1 >conftest.err
27714
 
  rm -f conftest.er1
27715
 
  cat conftest.err >&5
27716
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717
 
  (exit $ac_status); } && {
27718
 
         test -z "$ac_c_werror_flag" ||
27719
 
         test ! -s conftest.err
27720
 
       } && test -s conftest.$ac_objext; then
27721
 
  ac_hi=$ac_mid
27722
 
else
27723
 
  $as_echo "$as_me: failed program was:" >&5
27724
 
sed 's/^/| /' conftest.$ac_ext >&5
27725
 
 
27726
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
27727
 
fi
27728
 
 
27729
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27730
 
done
27731
 
case $ac_lo in
27732
 
?*) ac_cv_sizeof_size_t=$ac_lo;;
27733
 
'') if test "$ac_cv_type_size_t" = yes; then
27734
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27735
 
See \`config.log' for more details." >&5
27736
 
$as_echo "$as_me: error: cannot compute sizeof (size_t)
27737
 
See \`config.log' for more details." >&2;}
27738
 
   { (exit 77); exit 77; }; }
27739
 
   else
27740
 
     ac_cv_sizeof_size_t=0
27741
 
   fi ;;
27742
 
esac
27743
 
else
27744
 
  cat >conftest.$ac_ext <<_ACEOF
27745
 
/* confdefs.h.  */
27746
 
_ACEOF
27747
 
cat confdefs.h >>conftest.$ac_ext
27748
 
cat >>conftest.$ac_ext <<_ACEOF
27749
 
/* end confdefs.h.  */
27750
 
$ac_includes_default
27751
 
static long int longval () { return (long int) (sizeof (size_t)); }
27752
 
static unsigned long int ulongval () { return (long int) (sizeof (size_t)); }
27753
 
#include <stdio.h>
27754
 
#include <stdlib.h>
27755
 
int
27756
 
main ()
27757
 
{
27758
 
 
27759
 
  FILE *f = fopen ("conftest.val", "w");
27760
 
  if (! f)
27761
 
    return 1;
27762
 
  if (((long int) (sizeof (size_t))) < 0)
27763
 
    {
27764
 
      long int i = longval ();
27765
 
      if (i != ((long int) (sizeof (size_t))))
27766
 
        return 1;
27767
 
      fprintf (f, "%ld", i);
27768
 
    }
27769
 
  else
27770
 
    {
27771
 
      unsigned long int i = ulongval ();
27772
 
      if (i != ((long int) (sizeof (size_t))))
27773
 
        return 1;
27774
 
      fprintf (f, "%lu", i);
27775
 
    }
27776
 
  /* Do not output a trailing newline, as this causes \r\n confusion
27777
 
     on some platforms.  */
27778
 
  return ferror (f) || fclose (f) != 0;
27779
 
 
27780
 
  ;
27781
 
  return 0;
27782
 
}
27783
 
_ACEOF
27784
 
rm -f conftest$ac_exeext
27785
 
if { (ac_try="$ac_link"
27786
 
case "(($ac_try" in
27787
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27788
 
  *) ac_try_echo=$ac_try;;
27789
 
esac
27790
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27791
 
$as_echo "$ac_try_echo") >&5
27792
 
  (eval "$ac_link") 2>&5
27793
 
  ac_status=$?
27794
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27795
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27796
 
  { (case "(($ac_try" in
27797
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27798
 
  *) ac_try_echo=$ac_try;;
27799
 
esac
27800
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27801
 
$as_echo "$ac_try_echo") >&5
27802
 
  (eval "$ac_try") 2>&5
27803
 
  ac_status=$?
27804
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805
 
  (exit $ac_status); }; }; then
27806
 
  ac_cv_sizeof_size_t=`cat conftest.val`
27807
 
else
27808
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
27809
 
$as_echo "$as_me: failed program was:" >&5
27810
 
sed 's/^/| /' conftest.$ac_ext >&5
27811
 
 
27812
 
( exit $ac_status )
27813
 
if test "$ac_cv_type_size_t" = yes; then
27814
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27815
 
See \`config.log' for more details." >&5
27816
 
$as_echo "$as_me: error: cannot compute sizeof (size_t)
27817
 
See \`config.log' for more details." >&2;}
27818
 
   { (exit 77); exit 77; }; }
27819
 
   else
27820
 
     ac_cv_sizeof_size_t=0
27821
 
   fi
27822
 
fi
27823
 
rm -rf conftest.dSYM
27824
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27825
 
fi
27826
 
rm -f conftest.val
27827
 
fi
27828
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
27829
 
$as_echo "$ac_cv_sizeof_size_t" >&6; }
27830
 
 
27831
 
 
27832
 
 
27833
 
cat >>confdefs.h <<_ACEOF
27834
 
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
27835
 
_ACEOF
27836
 
 
27837
 
 
27838
 
  # The cast to long int works around a bug in the HP C Compiler
27839
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27840
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27841
 
# This bug is HP SR number 8606223364.
27842
 
{ $as_echo "$as_me:$LINENO: checking size of unsigned long" >&5
27843
 
$as_echo_n "checking size of unsigned long... " >&6; }
27844
 
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
27845
 
  $as_echo_n "(cached) " >&6
27846
 
else
27847
 
  if test "$cross_compiling" = yes; then
27848
 
  # Depending upon the size, compute the lo and hi bounds.
27849
 
cat >conftest.$ac_ext <<_ACEOF
27850
 
/* confdefs.h.  */
27851
 
_ACEOF
27852
 
cat confdefs.h >>conftest.$ac_ext
27853
 
cat >>conftest.$ac_ext <<_ACEOF
27854
 
/* end confdefs.h.  */
27855
 
$ac_includes_default
27856
 
int
27857
 
main ()
27858
 
{
27859
 
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= 0)];
27860
 
test_array [0] = 0
27861
 
 
27862
 
  ;
27863
 
  return 0;
27864
 
}
27865
 
_ACEOF
27866
 
rm -f conftest.$ac_objext
27867
 
if { (ac_try="$ac_compile"
27868
 
case "(($ac_try" in
27869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27870
 
  *) ac_try_echo=$ac_try;;
27871
 
esac
27872
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27873
 
$as_echo "$ac_try_echo") >&5
27874
 
  (eval "$ac_compile") 2>conftest.er1
27875
 
  ac_status=$?
27876
 
  grep -v '^ *+' conftest.er1 >conftest.err
27877
 
  rm -f conftest.er1
27878
 
  cat conftest.err >&5
27879
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880
 
  (exit $ac_status); } && {
27881
 
         test -z "$ac_c_werror_flag" ||
27882
 
         test ! -s conftest.err
27883
 
       } && test -s conftest.$ac_objext; then
27884
 
  ac_lo=0 ac_mid=0
27885
 
  while :; do
27886
 
    cat >conftest.$ac_ext <<_ACEOF
27887
 
/* confdefs.h.  */
27888
 
_ACEOF
27889
 
cat confdefs.h >>conftest.$ac_ext
27890
 
cat >>conftest.$ac_ext <<_ACEOF
27891
 
/* end confdefs.h.  */
27892
 
$ac_includes_default
27893
 
int
27894
 
main ()
27895
 
{
27896
 
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)];
27897
 
test_array [0] = 0
27898
 
 
27899
 
  ;
27900
 
  return 0;
27901
 
}
27902
 
_ACEOF
27903
 
rm -f conftest.$ac_objext
27904
 
if { (ac_try="$ac_compile"
27905
 
case "(($ac_try" in
27906
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27907
 
  *) ac_try_echo=$ac_try;;
27908
 
esac
27909
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27910
 
$as_echo "$ac_try_echo") >&5
27911
 
  (eval "$ac_compile") 2>conftest.er1
27912
 
  ac_status=$?
27913
 
  grep -v '^ *+' conftest.er1 >conftest.err
27914
 
  rm -f conftest.er1
27915
 
  cat conftest.err >&5
27916
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917
 
  (exit $ac_status); } && {
27918
 
         test -z "$ac_c_werror_flag" ||
27919
 
         test ! -s conftest.err
27920
 
       } && test -s conftest.$ac_objext; then
27921
 
  ac_hi=$ac_mid; break
27922
 
else
27923
 
  $as_echo "$as_me: failed program was:" >&5
27924
 
sed 's/^/| /' conftest.$ac_ext >&5
27925
 
 
27926
 
        ac_lo=`expr $ac_mid + 1`
27927
 
                        if test $ac_lo -le $ac_mid; then
27928
 
                          ac_lo= ac_hi=
27929
 
                          break
27930
 
                        fi
27931
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27932
 
fi
27933
 
 
27934
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27935
 
  done
27936
 
else
27937
 
  $as_echo "$as_me: failed program was:" >&5
27938
 
sed 's/^/| /' conftest.$ac_ext >&5
27939
 
 
27940
 
        cat >conftest.$ac_ext <<_ACEOF
27941
 
/* confdefs.h.  */
27942
 
_ACEOF
27943
 
cat confdefs.h >>conftest.$ac_ext
27944
 
cat >>conftest.$ac_ext <<_ACEOF
27945
 
/* end confdefs.h.  */
27946
 
$ac_includes_default
27947
 
int
27948
 
main ()
27949
 
{
27950
 
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) < 0)];
27951
 
test_array [0] = 0
27952
 
 
27953
 
  ;
27954
 
  return 0;
27955
 
}
27956
 
_ACEOF
27957
 
rm -f conftest.$ac_objext
27958
 
if { (ac_try="$ac_compile"
27959
 
case "(($ac_try" in
27960
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27961
 
  *) ac_try_echo=$ac_try;;
27962
 
esac
27963
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27964
 
$as_echo "$ac_try_echo") >&5
27965
 
  (eval "$ac_compile") 2>conftest.er1
27966
 
  ac_status=$?
27967
 
  grep -v '^ *+' conftest.er1 >conftest.err
27968
 
  rm -f conftest.er1
27969
 
  cat conftest.err >&5
27970
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971
 
  (exit $ac_status); } && {
27972
 
         test -z "$ac_c_werror_flag" ||
27973
 
         test ! -s conftest.err
27974
 
       } && test -s conftest.$ac_objext; then
27975
 
  ac_hi=-1 ac_mid=-1
27976
 
  while :; do
27977
 
    cat >conftest.$ac_ext <<_ACEOF
27978
 
/* confdefs.h.  */
27979
 
_ACEOF
27980
 
cat confdefs.h >>conftest.$ac_ext
27981
 
cat >>conftest.$ac_ext <<_ACEOF
27982
 
/* end confdefs.h.  */
27983
 
$ac_includes_default
27984
 
int
27985
 
main ()
27986
 
{
27987
 
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= $ac_mid)];
27988
 
test_array [0] = 0
27989
 
 
27990
 
  ;
27991
 
  return 0;
27992
 
}
27993
 
_ACEOF
27994
 
rm -f conftest.$ac_objext
27995
 
if { (ac_try="$ac_compile"
27996
 
case "(($ac_try" in
27997
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27998
 
  *) ac_try_echo=$ac_try;;
27999
 
esac
28000
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28001
 
$as_echo "$ac_try_echo") >&5
28002
 
  (eval "$ac_compile") 2>conftest.er1
28003
 
  ac_status=$?
28004
 
  grep -v '^ *+' conftest.er1 >conftest.err
28005
 
  rm -f conftest.er1
28006
 
  cat conftest.err >&5
28007
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008
 
  (exit $ac_status); } && {
28009
 
         test -z "$ac_c_werror_flag" ||
28010
 
         test ! -s conftest.err
28011
 
       } && test -s conftest.$ac_objext; then
28012
 
  ac_lo=$ac_mid; break
28013
 
else
28014
 
  $as_echo "$as_me: failed program was:" >&5
28015
 
sed 's/^/| /' conftest.$ac_ext >&5
28016
 
 
28017
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
28018
 
                        if test $ac_mid -le $ac_hi; then
28019
 
                          ac_lo= ac_hi=
28020
 
                          break
28021
 
                        fi
28022
 
                        ac_mid=`expr 2 '*' $ac_mid`
28023
 
fi
28024
 
 
28025
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28026
 
  done
28027
 
else
28028
 
  $as_echo "$as_me: failed program was:" >&5
28029
 
sed 's/^/| /' conftest.$ac_ext >&5
28030
 
 
28031
 
        ac_lo= ac_hi=
28032
 
fi
28033
 
 
28034
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28035
 
fi
28036
 
 
28037
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28038
 
# Binary search between lo and hi bounds.
28039
 
while test "x$ac_lo" != "x$ac_hi"; do
28040
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28041
 
  cat >conftest.$ac_ext <<_ACEOF
28042
 
/* confdefs.h.  */
28043
 
_ACEOF
28044
 
cat confdefs.h >>conftest.$ac_ext
28045
 
cat >>conftest.$ac_ext <<_ACEOF
28046
 
/* end confdefs.h.  */
28047
 
$ac_includes_default
28048
 
int
28049
 
main ()
28050
 
{
28051
 
static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)];
28052
 
test_array [0] = 0
28053
 
 
28054
 
  ;
28055
 
  return 0;
28056
 
}
28057
 
_ACEOF
28058
 
rm -f conftest.$ac_objext
28059
 
if { (ac_try="$ac_compile"
28060
 
case "(($ac_try" in
28061
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28062
 
  *) ac_try_echo=$ac_try;;
28063
 
esac
28064
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28065
 
$as_echo "$ac_try_echo") >&5
28066
 
  (eval "$ac_compile") 2>conftest.er1
28067
 
  ac_status=$?
28068
 
  grep -v '^ *+' conftest.er1 >conftest.err
28069
 
  rm -f conftest.er1
28070
 
  cat conftest.err >&5
28071
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28072
 
  (exit $ac_status); } && {
28073
 
         test -z "$ac_c_werror_flag" ||
28074
 
         test ! -s conftest.err
28075
 
       } && test -s conftest.$ac_objext; then
28076
 
  ac_hi=$ac_mid
28077
 
else
28078
 
  $as_echo "$as_me: failed program was:" >&5
28079
 
sed 's/^/| /' conftest.$ac_ext >&5
28080
 
 
28081
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
28082
 
fi
28083
 
 
28084
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28085
 
done
28086
 
case $ac_lo in
28087
 
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
28088
 
'') if test "$ac_cv_type_unsigned_long" = yes; then
28089
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28090
 
See \`config.log' for more details." >&5
28091
 
$as_echo "$as_me: error: cannot compute sizeof (unsigned long)
28092
 
See \`config.log' for more details." >&2;}
28093
 
   { (exit 77); exit 77; }; }
28094
 
   else
28095
 
     ac_cv_sizeof_unsigned_long=0
28096
 
   fi ;;
28097
 
esac
28098
 
else
28099
 
  cat >conftest.$ac_ext <<_ACEOF
28100
 
/* confdefs.h.  */
28101
 
_ACEOF
28102
 
cat confdefs.h >>conftest.$ac_ext
28103
 
cat >>conftest.$ac_ext <<_ACEOF
28104
 
/* end confdefs.h.  */
28105
 
$ac_includes_default
28106
 
static long int longval () { return (long int) (sizeof (unsigned long)); }
28107
 
static unsigned long int ulongval () { return (long int) (sizeof (unsigned long)); }
28108
 
#include <stdio.h>
28109
 
#include <stdlib.h>
28110
 
int
28111
 
main ()
28112
 
{
28113
 
 
28114
 
  FILE *f = fopen ("conftest.val", "w");
28115
 
  if (! f)
28116
 
    return 1;
28117
 
  if (((long int) (sizeof (unsigned long))) < 0)
28118
 
    {
28119
 
      long int i = longval ();
28120
 
      if (i != ((long int) (sizeof (unsigned long))))
28121
 
        return 1;
28122
 
      fprintf (f, "%ld", i);
28123
 
    }
28124
 
  else
28125
 
    {
28126
 
      unsigned long int i = ulongval ();
28127
 
      if (i != ((long int) (sizeof (unsigned long))))
28128
 
        return 1;
28129
 
      fprintf (f, "%lu", i);
28130
 
    }
28131
 
  /* Do not output a trailing newline, as this causes \r\n confusion
28132
 
     on some platforms.  */
28133
 
  return ferror (f) || fclose (f) != 0;
28134
 
 
28135
 
  ;
28136
 
  return 0;
28137
 
}
28138
 
_ACEOF
28139
 
rm -f conftest$ac_exeext
28140
 
if { (ac_try="$ac_link"
28141
 
case "(($ac_try" in
28142
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28143
 
  *) ac_try_echo=$ac_try;;
28144
 
esac
28145
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28146
 
$as_echo "$ac_try_echo") >&5
28147
 
  (eval "$ac_link") 2>&5
28148
 
  ac_status=$?
28149
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28151
 
  { (case "(($ac_try" in
28152
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28153
 
  *) ac_try_echo=$ac_try;;
28154
 
esac
28155
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28156
 
$as_echo "$ac_try_echo") >&5
28157
 
  (eval "$ac_try") 2>&5
28158
 
  ac_status=$?
28159
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160
 
  (exit $ac_status); }; }; then
28161
 
  ac_cv_sizeof_unsigned_long=`cat conftest.val`
28162
 
else
28163
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
28164
 
$as_echo "$as_me: failed program was:" >&5
28165
 
sed 's/^/| /' conftest.$ac_ext >&5
28166
 
 
28167
 
( exit $ac_status )
28168
 
if test "$ac_cv_type_unsigned_long" = yes; then
28169
 
     { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28170
 
See \`config.log' for more details." >&5
28171
 
$as_echo "$as_me: error: cannot compute sizeof (unsigned long)
28172
 
See \`config.log' for more details." >&2;}
28173
 
   { (exit 77); exit 77; }; }
28174
 
   else
28175
 
     ac_cv_sizeof_unsigned_long=0
28176
 
   fi
28177
 
fi
28178
 
rm -rf conftest.dSYM
28179
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28180
 
fi
28181
 
rm -f conftest.val
28182
 
fi
28183
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
28184
 
$as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
28185
 
 
28186
 
 
28187
 
 
28188
 
cat >>confdefs.h <<_ACEOF
28189
 
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
28190
 
_ACEOF
28191
 
 
28192
 
 
28193
 
 
28194
 
  { $as_echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
28195
 
$as_echo_n "checking sizeof size_t == sizeof unsigned long... " >&6; }
28196
 
  cat >conftest.$ac_ext <<_ACEOF
28197
 
/* confdefs.h.  */
28198
 
_ACEOF
28199
 
cat confdefs.h >>conftest.$ac_ext
28200
 
cat >>conftest.$ac_ext <<_ACEOF
28201
 
/* end confdefs.h.  */
28202
 
 
28203
 
int
28204
 
main ()
28205
 
{
28206
 
 
28207
 
    #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
28208
 
       choke me
28209
 
    #endif
28210
 
 
28211
 
  ;
28212
 
  return 0;
28213
 
}
28214
 
_ACEOF
28215
 
rm -f conftest.$ac_objext
28216
 
if { (ac_try="$ac_compile"
28217
 
case "(($ac_try" in
28218
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28219
 
  *) ac_try_echo=$ac_try;;
28220
 
esac
28221
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28222
 
$as_echo "$ac_try_echo") >&5
28223
 
  (eval "$ac_compile") 2>conftest.er1
28224
 
  ac_status=$?
28225
 
  grep -v '^ *+' conftest.er1 >conftest.err
28226
 
  rm -f conftest.er1
28227
 
  cat conftest.err >&5
28228
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229
 
  (exit $ac_status); } && {
28230
 
         test -z "$ac_c_werror_flag" ||
28231
 
         test ! -s conftest.err
28232
 
       } && test -s conftest.$ac_objext; then
28233
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
28234
 
$as_echo "yes" >&6; }
28235
 
else
28236
 
  $as_echo "$as_me: failed program was:" >&5
28237
 
sed 's/^/| /' conftest.$ac_ext >&5
28238
 
 
28239
 
 
28240
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
28241
 
$as_echo "no" >&6; }
28242
 
      { { $as_echo "$as_me:$LINENO: error:
28243
 
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28244
 
       does not apply. Please mail kde-devel@kde.org with a description of your system!
28245
 
      " >&5
28246
 
$as_echo "$as_me: error:
28247
 
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28248
 
       does not apply. Please mail kde-devel@kde.org with a description of your system!
28249
 
      " >&2;}
28250
 
   { (exit 1); exit 1; }; }
28251
 
 
28252
 
fi
28253
 
 
28254
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28255
 
 
28256
 
 
28257
 
  { $as_echo "$as_me:$LINENO: checking for PIE support" >&5
28258
 
$as_echo_n "checking for PIE support... " >&6; }
28259
 
if test "${kde_cv_val_pie_support+set}" = set; then
28260
 
  $as_echo_n "(cached) " >&6
28261
 
else
28262
 
 
28263
 
 
28264
 
     ac_ext=cpp
28265
 
ac_cpp='$CXXCPP $CPPFLAGS'
28266
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28267
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28268
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28269
 
 
28270
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28271
 
 
28272
 
 
28273
 
    safe_CXXFLAGS=$CXXFLAGS
28274
 
    safe_LDFLAGS=$LDFLAGS
28275
 
    CXXFLAGS="$CXXFLAGS -fPIE"
28276
 
    LDFLAGS="$LDFLAGS -pie"
28277
 
 
28278
 
    cat >conftest.$ac_ext <<_ACEOF
28279
 
/* confdefs.h.  */
28280
 
_ACEOF
28281
 
cat confdefs.h >>conftest.$ac_ext
28282
 
cat >>conftest.$ac_ext <<_ACEOF
28283
 
/* end confdefs.h.  */
28284
 
int foo;
28285
 
int
28286
 
main ()
28287
 
{
28288
 
 
28289
 
  ;
28290
 
  return 0;
28291
 
}
28292
 
_ACEOF
28293
 
rm -f conftest.$ac_objext conftest$ac_exeext
28294
 
if { (ac_try="$ac_link"
28295
 
case "(($ac_try" in
28296
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28297
 
  *) ac_try_echo=$ac_try;;
28298
 
esac
28299
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28300
 
$as_echo "$ac_try_echo") >&5
28301
 
  (eval "$ac_link") 2>conftest.er1
28302
 
  ac_status=$?
28303
 
  grep -v '^ *+' conftest.er1 >conftest.err
28304
 
  rm -f conftest.er1
28305
 
  cat conftest.err >&5
28306
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307
 
  (exit $ac_status); } && {
28308
 
         test -z "$ac_cxx_werror_flag" ||
28309
 
         test ! -s conftest.err
28310
 
       } && test -s conftest$ac_exeext && {
28311
 
         test "$cross_compiling" = yes ||
28312
 
         $as_test_x conftest$ac_exeext
28313
 
       }; then
28314
 
  kde_cv_val_pie_support=yes
28315
 
else
28316
 
  $as_echo "$as_me: failed program was:" >&5
28317
 
sed 's/^/| /' conftest.$ac_ext >&5
28318
 
 
28319
 
        kde_cv_val_pie_support=no
28320
 
fi
28321
 
 
28322
 
rm -rf conftest.dSYM
28323
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28324
 
      conftest$ac_exeext conftest.$ac_ext
28325
 
 
28326
 
    CXXFLAGS=$safe_CXXFLAGS
28327
 
    LDFLAGS=$safe_LDFLAGS
28328
 
    ac_ext=c
28329
 
ac_cpp='$CPP $CPPFLAGS'
28330
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28331
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28332
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28333
 
 
28334
 
 
28335
 
fi
28336
 
{ $as_echo "$as_me:$LINENO: result: $kde_cv_val_pie_support" >&5
28337
 
$as_echo "$kde_cv_val_pie_support" >&6; }
28338
 
 
28339
 
  { $as_echo "$as_me:$LINENO: checking if enabling -pie/fPIE support" >&5
28340
 
$as_echo_n "checking if enabling -pie/fPIE support... " >&6; }
28341
 
 
28342
 
  # Check whether --enable-pie was given.
28343
 
if test "${enable_pie+set}" = set; then
28344
 
  enableval=$enable_pie; kde_has_pie_support=$enableval
28345
 
else
28346
 
  kde_has_pie_support=detect
28347
 
fi
28348
 
 
28349
 
 
28350
 
  if test "$kde_has_pie_support" = "detect"; then
28351
 
    kde_has_pie_support=$kde_cv_val_pie_support
28352
 
  fi
28353
 
 
28354
 
  { $as_echo "$as_me:$LINENO: result: $kde_has_pie_support" >&5
28355
 
$as_echo "$kde_has_pie_support" >&6; }
28356
 
 
28357
 
  KDE_USE_FPIE=""
28358
 
  KDE_USE_PIE=""
28359
 
 
28360
 
 
28361
 
 
28362
 
 
28363
 
  if test "$kde_has_pie_support" = "yes"; then
28364
 
    KDE_USE_FPIE="-fPIE"
28365
 
    KDE_USE_PIE="-pie"
28366
 
  fi
28367
 
 
28368
 
 
28369
 
# darwin needs this to initialize the environment
28370
 
 
28371
 
for ac_header in crt_externs.h
28372
 
do
28373
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28374
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28375
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
28376
 
$as_echo_n "checking for $ac_header... " >&6; }
28377
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28378
 
  $as_echo_n "(cached) " >&6
28379
 
fi
28380
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
28381
 
                 $as_echo "$as_val"'`
28382
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28383
 
$as_echo "$ac_res" >&6; }
28384
 
else
28385
 
  # Is the header compilable?
28386
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
28387
 
$as_echo_n "checking $ac_header usability... " >&6; }
28388
 
cat >conftest.$ac_ext <<_ACEOF
28389
 
/* confdefs.h.  */
28390
 
_ACEOF
28391
 
cat confdefs.h >>conftest.$ac_ext
28392
 
cat >>conftest.$ac_ext <<_ACEOF
28393
 
/* end confdefs.h.  */
28394
 
$ac_includes_default
28395
 
#include <$ac_header>
28396
 
_ACEOF
28397
 
rm -f conftest.$ac_objext
28398
 
if { (ac_try="$ac_compile"
28399
 
case "(($ac_try" in
28400
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28401
 
  *) ac_try_echo=$ac_try;;
28402
 
esac
28403
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28404
 
$as_echo "$ac_try_echo") >&5
28405
 
  (eval "$ac_compile") 2>conftest.er1
28406
 
  ac_status=$?
28407
 
  grep -v '^ *+' conftest.er1 >conftest.err
28408
 
  rm -f conftest.er1
28409
 
  cat conftest.err >&5
28410
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411
 
  (exit $ac_status); } && {
28412
 
         test -z "$ac_c_werror_flag" ||
28413
 
         test ! -s conftest.err
28414
 
       } && test -s conftest.$ac_objext; then
28415
 
  ac_header_compiler=yes
28416
 
else
28417
 
  $as_echo "$as_me: failed program was:" >&5
28418
 
sed 's/^/| /' conftest.$ac_ext >&5
28419
 
 
28420
 
        ac_header_compiler=no
28421
 
fi
28422
 
 
28423
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28424
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28425
 
$as_echo "$ac_header_compiler" >&6; }
28426
 
 
28427
 
# Is the header present?
28428
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
28429
 
$as_echo_n "checking $ac_header presence... " >&6; }
28430
 
cat >conftest.$ac_ext <<_ACEOF
28431
 
/* confdefs.h.  */
28432
 
_ACEOF
28433
 
cat confdefs.h >>conftest.$ac_ext
28434
 
cat >>conftest.$ac_ext <<_ACEOF
28435
 
/* end confdefs.h.  */
28436
 
#include <$ac_header>
28437
 
_ACEOF
28438
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28439
 
case "(($ac_try" in
28440
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28441
 
  *) ac_try_echo=$ac_try;;
28442
 
esac
28443
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28444
 
$as_echo "$ac_try_echo") >&5
28445
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28446
 
  ac_status=$?
28447
 
  grep -v '^ *+' conftest.er1 >conftest.err
28448
 
  rm -f conftest.er1
28449
 
  cat conftest.err >&5
28450
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451
 
  (exit $ac_status); } >/dev/null && {
28452
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28453
 
         test ! -s conftest.err
28454
 
       }; then
28455
 
  ac_header_preproc=yes
28456
 
else
28457
 
  $as_echo "$as_me: failed program was:" >&5
28458
 
sed 's/^/| /' conftest.$ac_ext >&5
28459
 
 
28460
 
  ac_header_preproc=no
28461
 
fi
28462
 
 
28463
 
rm -f conftest.err conftest.$ac_ext
28464
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28465
 
$as_echo "$ac_header_preproc" >&6; }
28466
 
 
28467
 
# So?  What about this header?
28468
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28469
 
  yes:no: )
28470
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28471
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28472
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28473
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28474
 
    ac_header_preproc=yes
28475
 
    ;;
28476
 
  no:yes:* )
28477
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28478
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28479
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28480
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28481
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28482
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28483
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28484
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28485
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28486
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28487
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28488
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28489
 
 
28490
 
    ;;
28491
 
esac
28492
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
28493
 
$as_echo_n "checking for $ac_header... " >&6; }
28494
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28495
 
  $as_echo_n "(cached) " >&6
28496
 
else
28497
 
  eval "$as_ac_Header=\$ac_header_preproc"
28498
 
fi
28499
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
28500
 
                 $as_echo "$as_val"'`
28501
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28502
 
$as_echo "$ac_res" >&6; }
28503
 
 
28504
 
fi
28505
 
if test `eval 'as_val=${'$as_ac_Header'}
28506
 
                 $as_echo "$as_val"'` = yes; then
28507
 
  cat >>confdefs.h <<_ACEOF
28508
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28509
 
_ACEOF
28510
 
 
28511
 
fi
28512
 
 
28513
 
done
28514
 
 
28515
 
{ $as_echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
28516
 
$as_echo_n "checking for _NSGetEnviron... " >&6; }
28517
 
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
28518
 
  $as_echo_n "(cached) " >&6
28519
 
else
28520
 
  cat >conftest.$ac_ext <<_ACEOF
28521
 
/* confdefs.h.  */
28522
 
_ACEOF
28523
 
cat confdefs.h >>conftest.$ac_ext
28524
 
cat >>conftest.$ac_ext <<_ACEOF
28525
 
/* end confdefs.h.  */
28526
 
/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
28527
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28528
 
#define _NSGetEnviron innocuous__NSGetEnviron
28529
 
 
28530
 
/* System header to define __stub macros and hopefully few prototypes,
28531
 
    which can conflict with char _NSGetEnviron (); below.
28532
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28533
 
    <limits.h> exists even on freestanding compilers.  */
28534
 
 
28535
 
#ifdef __STDC__
28536
 
# include <limits.h>
28537
 
#else
28538
 
# include <assert.h>
28539
 
#endif
28540
 
 
28541
 
#undef _NSGetEnviron
28542
 
 
28543
 
/* Override any GCC internal prototype to avoid an error.
28544
 
   Use char because int might match the return type of a GCC
28545
 
   builtin and then its argument prototype would still apply.  */
28546
 
#ifdef __cplusplus
28547
 
extern "C"
28548
 
#endif
28549
 
char _NSGetEnviron ();
28550
 
/* The GNU C library defines this for functions which it implements
28551
 
    to always fail with ENOSYS.  Some functions are actually named
28552
 
    something starting with __ and the normal name is an alias.  */
28553
 
#if defined __stub__NSGetEnviron || defined __stub____NSGetEnviron
28554
 
choke me
28555
 
#endif
28556
 
 
28557
 
int
28558
 
main ()
28559
 
{
28560
 
return _NSGetEnviron ();
28561
 
  ;
28562
 
  return 0;
28563
 
}
28564
 
_ACEOF
28565
 
rm -f conftest.$ac_objext conftest$ac_exeext
28566
 
if { (ac_try="$ac_link"
28567
 
case "(($ac_try" in
28568
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28569
 
  *) ac_try_echo=$ac_try;;
28570
 
esac
28571
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28572
 
$as_echo "$ac_try_echo") >&5
28573
 
  (eval "$ac_link") 2>conftest.er1
28574
 
  ac_status=$?
28575
 
  grep -v '^ *+' conftest.er1 >conftest.err
28576
 
  rm -f conftest.er1
28577
 
  cat conftest.err >&5
28578
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28579
 
  (exit $ac_status); } && {
28580
 
         test -z "$ac_c_werror_flag" ||
28581
 
         test ! -s conftest.err
28582
 
       } && test -s conftest$ac_exeext && {
28583
 
         test "$cross_compiling" = yes ||
28584
 
         $as_test_x conftest$ac_exeext
28585
 
       }; then
28586
 
  ac_cv_func__NSGetEnviron=yes
28587
 
else
28588
 
  $as_echo "$as_me: failed program was:" >&5
28589
 
sed 's/^/| /' conftest.$ac_ext >&5
28590
 
 
28591
 
        ac_cv_func__NSGetEnviron=no
28592
 
fi
28593
 
 
28594
 
rm -rf conftest.dSYM
28595
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28596
 
      conftest$ac_exeext conftest.$ac_ext
28597
 
fi
28598
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
28599
 
$as_echo "$ac_cv_func__NSGetEnviron" >&6; }
28600
 
if test $ac_cv_func__NSGetEnviron = yes; then
28601
 
 
28602
 
cat >>confdefs.h <<\_ACEOF
28603
 
#define HAVE_NSGETENVIRON 1
28604
 
_ACEOF
28605
 
 
28606
 
fi
28607
 
 
28608
 
 
28609
 
 
28610
 
 
28611
 
 
28612
 
 
28613
 
 
28614
 
 
28615
 
 
28616
 
 
28617
 
for ac_func in vsnprintf snprintf
28618
 
do
28619
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28620
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
28621
 
$as_echo_n "checking for $ac_func... " >&6; }
28622
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28623
 
  $as_echo_n "(cached) " >&6
28624
 
else
28625
 
  cat >conftest.$ac_ext <<_ACEOF
28626
 
/* confdefs.h.  */
28627
 
_ACEOF
28628
 
cat confdefs.h >>conftest.$ac_ext
28629
 
cat >>conftest.$ac_ext <<_ACEOF
28630
 
/* end confdefs.h.  */
28631
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28632
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28633
 
#define $ac_func innocuous_$ac_func
28634
 
 
28635
 
/* System header to define __stub macros and hopefully few prototypes,
28636
 
    which can conflict with char $ac_func (); below.
28637
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28638
 
    <limits.h> exists even on freestanding compilers.  */
28639
 
 
28640
 
#ifdef __STDC__
28641
 
# include <limits.h>
28642
 
#else
28643
 
# include <assert.h>
28644
 
#endif
28645
 
 
28646
 
#undef $ac_func
28647
 
 
28648
 
/* Override any GCC internal prototype to avoid an error.
28649
 
   Use char because int might match the return type of a GCC
28650
 
   builtin and then its argument prototype would still apply.  */
28651
 
#ifdef __cplusplus
28652
 
extern "C"
28653
 
#endif
28654
 
char $ac_func ();
28655
 
/* The GNU C library defines this for functions which it implements
28656
 
    to always fail with ENOSYS.  Some functions are actually named
28657
 
    something starting with __ and the normal name is an alias.  */
28658
 
#if defined __stub_$ac_func || defined __stub___$ac_func
28659
 
choke me
28660
 
#endif
28661
 
 
28662
 
int
28663
 
main ()
28664
 
{
28665
 
return $ac_func ();
28666
 
  ;
28667
 
  return 0;
28668
 
}
28669
 
_ACEOF
28670
 
rm -f conftest.$ac_objext conftest$ac_exeext
28671
 
if { (ac_try="$ac_link"
28672
 
case "(($ac_try" in
28673
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28674
 
  *) ac_try_echo=$ac_try;;
28675
 
esac
28676
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28677
 
$as_echo "$ac_try_echo") >&5
28678
 
  (eval "$ac_link") 2>conftest.er1
28679
 
  ac_status=$?
28680
 
  grep -v '^ *+' conftest.er1 >conftest.err
28681
 
  rm -f conftest.er1
28682
 
  cat conftest.err >&5
28683
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684
 
  (exit $ac_status); } && {
28685
 
         test -z "$ac_c_werror_flag" ||
28686
 
         test ! -s conftest.err
28687
 
       } && test -s conftest$ac_exeext && {
28688
 
         test "$cross_compiling" = yes ||
28689
 
         $as_test_x conftest$ac_exeext
28690
 
       }; then
28691
 
  eval "$as_ac_var=yes"
28692
 
else
28693
 
  $as_echo "$as_me: failed program was:" >&5
28694
 
sed 's/^/| /' conftest.$ac_ext >&5
28695
 
 
28696
 
        eval "$as_ac_var=no"
28697
 
fi
28698
 
 
28699
 
rm -rf conftest.dSYM
28700
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28701
 
      conftest$ac_exeext conftest.$ac_ext
28702
 
fi
28703
 
ac_res=`eval 'as_val=${'$as_ac_var'}
28704
 
                 $as_echo "$as_val"'`
28705
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28706
 
$as_echo "$ac_res" >&6; }
28707
 
if test `eval 'as_val=${'$as_ac_var'}
28708
 
                 $as_echo "$as_val"'` = yes; then
28709
 
  cat >>confdefs.h <<_ACEOF
28710
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28711
 
_ACEOF
28712
 
 
28713
 
fi
28714
 
done
28715
 
 
28716
 
 
28717
 
 
28718
 
 
28719
 
 
28720
 
 
28721
 
 
28722
 
 
28723
 
 
28724
 
# Check whether --enable-embedded was given.
28725
 
if test "${enable_embedded+set}" = set; then
28726
 
  enableval=$enable_embedded; kde_use_qt_emb=$enableval
28727
 
else
28728
 
  kde_use_qt_emb=no
28729
 
 
28730
 
fi
28731
 
 
28732
 
 
28733
 
# Check whether --enable-qtopia was given.
28734
 
if test "${enable_qtopia+set}" = set; then
28735
 
  enableval=$enable_qtopia; kde_use_qt_emb_palm=$enableval
28736
 
else
28737
 
  kde_use_qt_emb_palm=no
28738
 
 
28739
 
fi
28740
 
 
28741
 
 
28742
 
# Check whether --enable-mac was given.
28743
 
if test "${enable_mac+set}" = set; then
28744
 
  enableval=$enable_mac; kde_use_qt_mac=$enableval
28745
 
else
28746
 
  kde_use_qt_mac=no
28747
 
 
28748
 
fi
28749
 
 
28750
 
 
28751
 
# used to disable x11-specific stuff on special platforms
28752
 
 
28753
 
 
28754
 
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28755
 
  include_x11_TRUE=
28756
 
  include_x11_FALSE='#'
28757
 
else
28758
 
  include_x11_TRUE='#'
28759
 
  include_x11_FALSE=
28760
 
fi
28761
 
 
28762
 
 
28763
 
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28764
 
 
28765
 
{ $as_echo "$as_me:$LINENO: checking for X" >&5
28766
 
$as_echo_n "checking for X... " >&6; }
28767
 
 
28768
 
if test "${kde_cv_have_x+set}" = set; then
28769
 
  $as_echo_n "(cached) " >&6
28770
 
else
28771
 
  # One or both of the vars are not set, and there is no cached value.
28772
 
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
28773
 
   kde_x_includes=NO
28774
 
else
28775
 
   kde_x_includes=$x_includes
28776
 
fi
28777
 
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
28778
 
   kde_x_libraries=NO
28779
 
else
28780
 
   kde_x_libraries=$x_libraries
28781
 
fi
28782
 
 
28783
 
# below we use the standard autoconf calls
28784
 
ac_x_libraries=$kde_x_libraries
28785
 
ac_x_includes=$kde_x_includes
28786
 
 
28787
 
 
28788
 
 
28789
 
 
28790
 
if test "$ac_x_includes" = NO; then
28791
 
  # Guess where to find include files, by looking for this one X11 .h file.
28792
 
  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
28793
 
 
28794
 
  # First, try using that file with no special directory specified.
28795
 
cat >conftest.$ac_ext <<_ACEOF
28796
 
/* confdefs.h.  */
28797
 
_ACEOF
28798
 
cat confdefs.h >>conftest.$ac_ext
28799
 
cat >>conftest.$ac_ext <<_ACEOF
28800
 
/* end confdefs.h.  */
28801
 
#include <$x_direct_test_include>
28802
 
_ACEOF
28803
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28804
 
case "(($ac_try" in
28805
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28806
 
  *) ac_try_echo=$ac_try;;
28807
 
esac
28808
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28809
 
$as_echo "$ac_try_echo") >&5
28810
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28811
 
  ac_status=$?
28812
 
  grep -v '^ *+' conftest.er1 >conftest.err
28813
 
  rm -f conftest.er1
28814
 
  cat conftest.err >&5
28815
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816
 
  (exit $ac_status); } >/dev/null && {
28817
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28818
 
         test ! -s conftest.err
28819
 
       }; then
28820
 
  # We can compile using X headers with no special include directory.
28821
 
ac_x_includes=
28822
 
else
28823
 
  $as_echo "$as_me: failed program was:" >&5
28824
 
sed 's/^/| /' conftest.$ac_ext >&5
28825
 
 
28826
 
  # Look for the header file in a standard set of common directories.
28827
 
# Check X11 before X11Rn because it is often a symlink to the current release.
28828
 
  for ac_dir in               \
28829
 
    /usr/X11/include          \
28830
 
    /usr/X11R6/include        \
28831
 
    /usr/X11R5/include        \
28832
 
    /usr/X11R4/include        \
28833
 
                              \
28834
 
    /usr/include/X11          \
28835
 
    /usr/include/X11R6        \
28836
 
    /usr/include/X11R5        \
28837
 
    /usr/include/X11R4        \
28838
 
                              \
28839
 
    /usr/local/X11/include    \
28840
 
    /usr/local/X11R6/include  \
28841
 
    /usr/local/X11R5/include  \
28842
 
    /usr/local/X11R4/include  \
28843
 
                              \
28844
 
    /usr/local/include/X11    \
28845
 
    /usr/local/include/X11R6  \
28846
 
    /usr/local/include/X11R5  \
28847
 
    /usr/local/include/X11R4  \
28848
 
                              \
28849
 
    /usr/X386/include         \
28850
 
    /usr/x386/include         \
28851
 
    /usr/XFree86/include/X11  \
28852
 
                              \
28853
 
    /usr/include              \
28854
 
    /usr/local/include        \
28855
 
    /usr/unsupported/include  \
28856
 
    /usr/athena/include       \
28857
 
    /usr/local/x11r5/include  \
28858
 
    /usr/lpp/Xamples/include  \
28859
 
                              \
28860
 
    /usr/openwin/include      \
28861
 
    /usr/openwin/share/include \
28862
 
    ; \
28863
 
  do
28864
 
    if test -r "$ac_dir/$x_direct_test_include"; then
28865
 
      ac_x_includes=$ac_dir
28866
 
      break
28867
 
    fi
28868
 
  done
28869
 
fi
28870
 
 
28871
 
rm -f conftest.err conftest.$ac_ext
28872
 
fi # $ac_x_includes = NO
28873
 
 
28874
 
if test "$ac_x_libraries" = NO; then
28875
 
  # Check for the libraries.
28876
 
 
28877
 
  test -z "$x_direct_test_library" && x_direct_test_library=Xt
28878
 
  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
28879
 
 
28880
 
  # See if we find them without any special options.
28881
 
  # Don't add to $LIBS permanently.
28882
 
  ac_save_LIBS="$LIBS"
28883
 
  LIBS="-l$x_direct_test_library $LIBS"
28884
 
cat >conftest.$ac_ext <<_ACEOF
28885
 
/* confdefs.h.  */
28886
 
_ACEOF
28887
 
cat confdefs.h >>conftest.$ac_ext
28888
 
cat >>conftest.$ac_ext <<_ACEOF
28889
 
/* end confdefs.h.  */
28890
 
#include <X11/Intrinsic.h>
28891
 
int
28892
 
main ()
28893
 
{
28894
 
${x_direct_test_function}(1)
28895
 
  ;
28896
 
  return 0;
28897
 
}
28898
 
_ACEOF
28899
 
rm -f conftest.$ac_objext conftest$ac_exeext
28900
 
if { (ac_try="$ac_link"
28901
 
case "(($ac_try" in
28902
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28903
 
  *) ac_try_echo=$ac_try;;
28904
 
esac
28905
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28906
 
$as_echo "$ac_try_echo") >&5
28907
 
  (eval "$ac_link") 2>conftest.er1
28908
 
  ac_status=$?
28909
 
  grep -v '^ *+' conftest.er1 >conftest.err
28910
 
  rm -f conftest.er1
28911
 
  cat conftest.err >&5
28912
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913
 
  (exit $ac_status); } && {
28914
 
         test -z "$ac_c_werror_flag" ||
28915
 
         test ! -s conftest.err
28916
 
       } && test -s conftest$ac_exeext && {
28917
 
         test "$cross_compiling" = yes ||
28918
 
         $as_test_x conftest$ac_exeext
28919
 
       }; then
28920
 
  LIBS="$ac_save_LIBS"
28921
 
# We can link X programs with no special library path.
28922
 
ac_x_libraries=
28923
 
else
28924
 
  $as_echo "$as_me: failed program was:" >&5
28925
 
sed 's/^/| /' conftest.$ac_ext >&5
28926
 
 
28927
 
        LIBS="$ac_save_LIBS"
28928
 
# First see if replacing the include by lib works.
28929
 
# Check X11 before X11Rn because it is often a symlink to the current release.
28930
 
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
28931
 
    /usr/X11/lib${kdelibsuff}           \
28932
 
    /usr/X11R6/lib${kdelibsuff}         \
28933
 
    /usr/X11R5/lib${kdelibsuff}         \
28934
 
    /usr/X11R4/lib${kdelibsuff}         \
28935
 
                                        \
28936
 
    /usr/lib${kdelibsuff}/X11           \
28937
 
    /usr/lib${kdelibsuff}/X11R6         \
28938
 
    /usr/lib${kdelibsuff}/X11R5         \
28939
 
    /usr/lib${kdelibsuff}/X11R4         \
28940
 
                                        \
28941
 
    /usr/local/X11/lib${kdelibsuff}     \
28942
 
    /usr/local/X11R6/lib${kdelibsuff}   \
28943
 
    /usr/local/X11R5/lib${kdelibsuff}   \
28944
 
    /usr/local/X11R4/lib${kdelibsuff}   \
28945
 
                                        \
28946
 
    /usr/local/lib${kdelibsuff}/X11     \
28947
 
    /usr/local/lib${kdelibsuff}/X11R6   \
28948
 
    /usr/local/lib${kdelibsuff}/X11R5   \
28949
 
    /usr/local/lib${kdelibsuff}/X11R4   \
28950
 
                                        \
28951
 
    /usr/X386/lib${kdelibsuff}          \
28952
 
    /usr/x386/lib${kdelibsuff}          \
28953
 
    /usr/XFree86/lib${kdelibsuff}/X11   \
28954
 
                                        \
28955
 
    /usr/lib${kdelibsuff}               \
28956
 
    /usr/local/lib${kdelibsuff}         \
28957
 
    /usr/unsupported/lib${kdelibsuff}   \
28958
 
    /usr/athena/lib${kdelibsuff}        \
28959
 
    /usr/local/x11r5/lib${kdelibsuff}   \
28960
 
    /usr/lpp/Xamples/lib${kdelibsuff}   \
28961
 
    /lib/usr/lib${kdelibsuff}/X11       \
28962
 
                                        \
28963
 
    /usr/openwin/lib${kdelibsuff}       \
28964
 
    /usr/openwin/share/lib${kdelibsuff} \
28965
 
    ; \
28966
 
do
28967
 
  for ac_extension in a so sl; do
28968
 
    if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
28969
 
      ac_x_libraries=$ac_dir
28970
 
      break 2
28971
 
    fi
28972
 
  done
28973
 
done
28974
 
fi
28975
 
 
28976
 
rm -rf conftest.dSYM
28977
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28978
 
      conftest$ac_exeext conftest.$ac_ext
28979
 
fi # $ac_x_libraries = NO
28980
 
 
28981
 
case "$host" in
28982
 
mips-sgi-irix6*)
28983
 
  ;;
28984
 
*-*-solaris*)
28985
 
  ;;
28986
 
*)
28987
 
  rm -f -r conftest.dir
28988
 
if mkdir conftest.dir; then
28989
 
  cd conftest.dir
28990
 
  cat >Imakefile <<'_ACEOF'
28991
 
incroot:
28992
 
        @echo incroot='${INCROOT}'
28993
 
usrlibdir:
28994
 
        @echo usrlibdir='${USRLIBDIR}'
28995
 
libdir:
28996
 
        @echo libdir='${LIBDIR}'
28997
 
_ACEOF
28998
 
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28999
 
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29000
 
    for ac_var in incroot usrlibdir libdir; do
29001
 
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29002
 
    done
29003
 
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29004
 
    for ac_extension in a so sl dylib la dll; do
29005
 
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29006
 
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
29007
 
        ac_im_usrlibdir=$ac_im_libdir; break
29008
 
      fi
29009
 
    done
29010
 
    # Screen out bogus values from the imake configuration.  They are
29011
 
    # bogus both because they are the default anyway, and because
29012
 
    # using them would break gcc on systems where it needs fixed includes.
29013
 
    case $ac_im_incroot in
29014
 
        /usr/include) ac_x_includes= ;;
29015
 
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29016
 
    esac
29017
 
    case $ac_im_usrlibdir in
29018
 
        /usr/lib | /lib) ;;
29019
 
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29020
 
    esac
29021
 
  fi
29022
 
  cd ..
29023
 
  rm -f -r conftest.dir
29024
 
fi
29025
 
 
29026
 
  if test -z "$ac_x_includes"; then
29027
 
    ac_x_includes="."
29028
 
  fi
29029
 
  if test -z "$ac_x_libraries"; then
29030
 
    ac_x_libraries="/usr/lib${kdelibsuff}"
29031
 
  fi
29032
 
esac
29033
 
#from now on we use our own again
29034
 
 
29035
 
# when the user already gave --x-includes, we ignore
29036
 
# what the standard autoconf macros told us.
29037
 
if test "$kde_x_includes" = NO; then
29038
 
  kde_x_includes=$ac_x_includes
29039
 
fi
29040
 
 
29041
 
# for --x-libraries too
29042
 
if test "$kde_x_libraries" = NO; then
29043
 
  kde_x_libraries=$ac_x_libraries
29044
 
fi
29045
 
 
29046
 
if test "$kde_x_includes" = NO; then
29047
 
  { { $as_echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
29048
 
$as_echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
29049
 
   { (exit 1); exit 1; }; }
29050
 
fi
29051
 
 
29052
 
if test "$kde_x_libraries" = NO; then
29053
 
  { { $as_echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
29054
 
$as_echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
29055
 
   { (exit 1); exit 1; }; }
29056
 
fi
29057
 
 
29058
 
# Record where we found X for the cache.
29059
 
kde_cv_have_x="have_x=yes \
29060
 
         kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
29061
 
 
29062
 
fi
29063
 
 
29064
 
eval "$kde_cv_have_x"
29065
 
 
29066
 
if test "$have_x" != yes; then
29067
 
  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
29068
 
$as_echo "$have_x" >&6; }
29069
 
  no_x=yes
29070
 
else
29071
 
  { $as_echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
29072
 
$as_echo "libraries $kde_x_libraries, headers $kde_x_includes" >&6; }
29073
 
fi
29074
 
 
29075
 
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
29076
 
  X_INCLUDES=""
29077
 
  x_includes=".";  else
29078
 
  x_includes=$kde_x_includes
29079
 
  X_INCLUDES="-I$x_includes"
29080
 
fi
29081
 
 
29082
 
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE || test "$kde_x_libraries" = "/usr/lib"; then
29083
 
  X_LDFLAGS=""
29084
 
  x_libraries="/usr/lib";  else
29085
 
  x_libraries=$kde_x_libraries
29086
 
  X_LDFLAGS="-L$x_libraries"
29087
 
fi
29088
 
all_includes="$X_INCLUDES"
29089
 
all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
29090
 
 
29091
 
# Check for libraries that X11R6 Xt/Xaw programs need.
29092
 
ac_save_LDFLAGS="$LDFLAGS"
29093
 
LDFLAGS="$LDFLAGS $X_LDFLAGS"
29094
 
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29095
 
# check for ICE first), but we must link in the order -lSM -lICE or
29096
 
# we get undefined symbols.  So assume we have SM if we have ICE.
29097
 
# These have to be linked with before -lX11, unlike the other
29098
 
# libraries we check for below, so use a different variable.
29099
 
#  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
29100
 
{ $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29101
 
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
29102
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29103
 
  $as_echo_n "(cached) " >&6
29104
 
else
29105
 
  ac_check_lib_save_LIBS=$LIBS
29106
 
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29107
 
cat >conftest.$ac_ext <<_ACEOF
29108
 
/* confdefs.h.  */
29109
 
_ACEOF
29110
 
cat confdefs.h >>conftest.$ac_ext
29111
 
cat >>conftest.$ac_ext <<_ACEOF
29112
 
/* end confdefs.h.  */
29113
 
 
29114
 
/* Override any GCC internal prototype to avoid an error.
29115
 
   Use char because int might match the return type of a GCC
29116
 
   builtin and then its argument prototype would still apply.  */
29117
 
#ifdef __cplusplus
29118
 
extern "C"
29119
 
#endif
29120
 
char IceConnectionNumber ();
29121
 
int
29122
 
main ()
29123
 
{
29124
 
return IceConnectionNumber ();
29125
 
  ;
29126
 
  return 0;
29127
 
}
29128
 
_ACEOF
29129
 
rm -f conftest.$ac_objext conftest$ac_exeext
29130
 
if { (ac_try="$ac_link"
29131
 
case "(($ac_try" in
29132
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29133
 
  *) ac_try_echo=$ac_try;;
29134
 
esac
29135
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29136
 
$as_echo "$ac_try_echo") >&5
29137
 
  (eval "$ac_link") 2>conftest.er1
29138
 
  ac_status=$?
29139
 
  grep -v '^ *+' conftest.er1 >conftest.err
29140
 
  rm -f conftest.er1
29141
 
  cat conftest.err >&5
29142
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143
 
  (exit $ac_status); } && {
29144
 
         test -z "$ac_c_werror_flag" ||
29145
 
         test ! -s conftest.err
29146
 
       } && test -s conftest$ac_exeext && {
29147
 
         test "$cross_compiling" = yes ||
29148
 
         $as_test_x conftest$ac_exeext
29149
 
       }; then
29150
 
  ac_cv_lib_ICE_IceConnectionNumber=yes
29151
 
else
29152
 
  $as_echo "$as_me: failed program was:" >&5
29153
 
sed 's/^/| /' conftest.$ac_ext >&5
29154
 
 
29155
 
        ac_cv_lib_ICE_IceConnectionNumber=no
29156
 
fi
29157
 
 
29158
 
rm -rf conftest.dSYM
29159
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29160
 
      conftest$ac_exeext conftest.$ac_ext
29161
 
LIBS=$ac_check_lib_save_LIBS
29162
 
fi
29163
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29164
 
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29165
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29166
 
  LIBSM="-lSM -lICE"
29167
 
fi
29168
 
 
29169
 
LDFLAGS="$ac_save_LDFLAGS"
29170
 
 
29171
 
LIB_X11='-lX11 $(LIBSOCKET)'
29172
 
 
29173
 
{ $as_echo "$as_me:$LINENO: checking for libXext" >&5
29174
 
$as_echo_n "checking for libXext... " >&6; }
29175
 
if test "${kde_cv_have_libXext+set}" = set; then
29176
 
  $as_echo_n "(cached) " >&6
29177
 
else
29178
 
 
29179
 
kde_ldflags_safe="$LDFLAGS"
29180
 
kde_libs_safe="$LIBS"
29181
 
 
29182
 
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
29183
 
LIBS="-lXext -lX11 $LIBSOCKET"
29184
 
 
29185
 
cat >conftest.$ac_ext <<_ACEOF
29186
 
/* confdefs.h.  */
29187
 
_ACEOF
29188
 
cat confdefs.h >>conftest.$ac_ext
29189
 
cat >>conftest.$ac_ext <<_ACEOF
29190
 
/* end confdefs.h.  */
29191
 
 
29192
 
#include <stdio.h>
29193
 
#ifdef STDC_HEADERS
29194
 
# include <stdlib.h>
29195
 
#endif
29196
 
 
29197
 
int
29198
 
main ()
29199
 
{
29200
 
 
29201
 
printf("hello Xext\n");
29202
 
 
29203
 
  ;
29204
 
  return 0;
29205
 
}
29206
 
_ACEOF
29207
 
rm -f conftest.$ac_objext conftest$ac_exeext
29208
 
if { (ac_try="$ac_link"
29209
 
case "(($ac_try" in
29210
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29211
 
  *) ac_try_echo=$ac_try;;
29212
 
esac
29213
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29214
 
$as_echo "$ac_try_echo") >&5
29215
 
  (eval "$ac_link") 2>conftest.er1
29216
 
  ac_status=$?
29217
 
  grep -v '^ *+' conftest.er1 >conftest.err
29218
 
  rm -f conftest.er1
29219
 
  cat conftest.err >&5
29220
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221
 
  (exit $ac_status); } && {
29222
 
         test -z "$ac_c_werror_flag" ||
29223
 
         test ! -s conftest.err
29224
 
       } && test -s conftest$ac_exeext && {
29225
 
         test "$cross_compiling" = yes ||
29226
 
         $as_test_x conftest$ac_exeext
29227
 
       }; then
29228
 
  kde_cv_have_libXext=yes
29229
 
else
29230
 
  $as_echo "$as_me: failed program was:" >&5
29231
 
sed 's/^/| /' conftest.$ac_ext >&5
29232
 
 
29233
 
        kde_cv_have_libXext=no
29234
 
 
29235
 
fi
29236
 
 
29237
 
rm -rf conftest.dSYM
29238
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29239
 
      conftest$ac_exeext conftest.$ac_ext
29240
 
 
29241
 
LDFLAGS=$kde_ldflags_safe
29242
 
LIBS=$kde_libs_safe
29243
 
 
29244
 
fi
29245
 
 
29246
 
 
29247
 
{ $as_echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
29248
 
$as_echo "$kde_cv_have_libXext" >&6; }
29249
 
 
29250
 
if test "$kde_cv_have_libXext" = "no"; then
29251
 
  { { $as_echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
29252
 
can't find it itself, we stop here assuming that make wouldn't find
29253
 
them either." >&5
29254
 
$as_echo "$as_me: error: We need a working libXext to proceed. Since configure
29255
 
can't find it itself, we stop here assuming that make wouldn't find
29256
 
them either." >&2;}
29257
 
   { (exit 1); exit 1; }; }
29258
 
fi
29259
 
 
29260
 
LIB_XEXT="-lXext"
29261
 
QTE_NORTTI=""
29262
 
 
29263
 
elif test "$kde_use_qt_emb" = "yes"; then
29264
 
    CPPFLAGS=-DQWS
29265
 
  CXXFLAGS="$CXXFLAGS -fno-rtti"
29266
 
  QTE_NORTTI="-fno-rtti -DQWS"
29267
 
  X_PRE_LIBS=""
29268
 
  LIB_X11=""
29269
 
  LIB_XEXT=""
29270
 
  LIB_XRENDER=""
29271
 
  LIBSM=""
29272
 
  X_INCLUDES=""
29273
 
  X_LDFLAGS=""
29274
 
  x_includes=""
29275
 
  x_libraries=""
29276
 
elif test "$kde_use_qt_mac" = "yes"; then
29277
 
      CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
29278
 
  CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
29279
 
  X_PRE_LIBS=""
29280
 
  LIB_X11=""
29281
 
  LIB_XEXT=""
29282
 
  LIB_XRENDER=""
29283
 
  LIBSM=""
29284
 
  X_INCLUDES=""
29285
 
  X_LDFLAGS=""
29286
 
  x_includes=""
29287
 
  x_libraries=""
29288
 
fi
29289
 
 
29290
 
 
29291
 
 
29292
 
 
29293
 
 
29294
 
 
29295
 
 
29296
 
 
29297
 
 
29298
 
 
29299
 
 
29300
 
 
29301
 
 
29302
 
if test -z ""; then
29303
 
  # Current default Qt version: 3.3
29304
 
  kde_qtver=3
29305
 
  kde_qtsubver=3
29306
 
else
29307
 
  kde_qtsubver=`echo "" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
29308
 
  # following is the check if subversion isnt found in passed argument
29309
 
  if test "$kde_qtsubver" = ""; then
29310
 
    kde_qtsubver=1
29311
 
  fi
29312
 
  kde_qtver=`echo "" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
29313
 
  if test "$kde_qtver" = "1"; then
29314
 
    kde_qtsubver=42
29315
 
  fi
29316
 
fi
29317
 
 
29318
 
if test -z ""; then
29319
 
  if test "$kde_qtver" = "2"; then
29320
 
    if test $kde_qtsubver -gt 0; then
29321
 
      kde_qt_minversion=">= Qt 2.2.2"
29322
 
    else
29323
 
      kde_qt_minversion=">= Qt 2.0.2"
29324
 
    fi
29325
 
  fi
29326
 
  if test "$kde_qtver" = "3"; then
29327
 
    if test $kde_qtsubver -gt 0; then
29328
 
         if test $kde_qtsubver -gt 1; then
29329
 
            if test $kde_qtsubver -gt 2; then
29330
 
                kde_qt_minversion=">= Qt 3.3 and < 4.0"
29331
 
            else
29332
 
                kde_qt_minversion=">= Qt 3.2 and < 4.0"
29333
 
            fi
29334
 
         else
29335
 
            kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
29336
 
         fi
29337
 
    else
29338
 
      kde_qt_minversion=">= Qt 3.0 and < 4.0"
29339
 
    fi
29340
 
  fi
29341
 
  if test "$kde_qtver" = "1"; then
29342
 
    kde_qt_minversion=">= 1.42 and < 2.0"
29343
 
  fi
29344
 
else
29345
 
   kde_qt_minversion=""
29346
 
fi
29347
 
 
29348
 
if test -z ""; then
29349
 
   if test $kde_qtver = 3; then
29350
 
     if test $kde_qtsubver -gt 0; then
29351
 
       kde_qt_verstring="QT_VERSION >= 0x03@VER@00 && QT_VERSION < 0x040000"
29352
 
       qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
29353
 
       kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
29354
 
     else
29355
 
       kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
29356
 
     fi
29357
 
   fi
29358
 
   if test $kde_qtver = 2; then
29359
 
     if test $kde_qtsubver -gt 0; then
29360
 
       kde_qt_verstring="QT_VERSION >= 222"
29361
 
     else
29362
 
       kde_qt_verstring="QT_VERSION >= 200"
29363
 
     fi
29364
 
   fi
29365
 
   if test $kde_qtver = 1; then
29366
 
    kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
29367
 
   fi
29368
 
else
29369
 
   kde_qt_verstring=""
29370
 
fi
29371
 
 
29372
 
if test $kde_qtver = 4; then
29373
 
  kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
29374
 
fi
29375
 
if test $kde_qtver = 3; then
29376
 
  kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
29377
 
fi
29378
 
if test $kde_qtver = 2; then
29379
 
   kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
29380
 
fi
29381
 
if test $kde_qtver = 1; then
29382
 
   kde_qt_dirs="$QTDIR /usr/lib/qt"
29383
 
fi
29384
 
 
29385
 
 
29386
 
                LIBPTHREAD=""
29387
 
 
29388
 
  if test -n "$PTHREAD_LIBS"; then
29389
 
    if test "x$PTHREAD_LIBS" = "x-pthread" ; then
29390
 
      LIBPTHREAD="PTHREAD"
29391
 
    else
29392
 
      PTHREAD_LIBS_save="$PTHREAD_LIBS"
29393
 
      PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
29394
 
      { $as_echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
29395
 
$as_echo_n "checking for pthread_create in $PTHREAD_LIBS... " >&6; }
29396
 
 
29397
 
     kde_save_LDFLAGS="$LDFLAGS"
29398
 
          kde_save_LIBS="$LIBS"
29399
 
     LDFLAGS="$LDFLAGS $all_libraries"
29400
 
     case $host_os in
29401
 
      aix*) LDFLAGS="-brtl $LDFLAGS"
29402
 
        test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
29403
 
        ;;
29404
 
     esac
29405
 
     as_ac_Lib=`$as_echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
29406
 
{ $as_echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
29407
 
$as_echo_n "checking for pthread_create in -l$PTHREAD_LIBS... " >&6; }
29408
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29409
 
  $as_echo_n "(cached) " >&6
29410
 
else
29411
 
  ac_check_lib_save_LIBS=$LIBS
29412
 
LIBS="-l$PTHREAD_LIBS  $LIBS"
29413
 
cat >conftest.$ac_ext <<_ACEOF
29414
 
/* confdefs.h.  */
29415
 
_ACEOF
29416
 
cat confdefs.h >>conftest.$ac_ext
29417
 
cat >>conftest.$ac_ext <<_ACEOF
29418
 
/* end confdefs.h.  */
29419
 
 
29420
 
/* Override any GCC internal prototype to avoid an error.
29421
 
   Use char because int might match the return type of a GCC
29422
 
   builtin and then its argument prototype would still apply.  */
29423
 
#ifdef __cplusplus
29424
 
extern "C"
29425
 
#endif
29426
 
char pthread_create ();
29427
 
int
29428
 
main ()
29429
 
{
29430
 
return pthread_create ();
29431
 
  ;
29432
 
  return 0;
29433
 
}
29434
 
_ACEOF
29435
 
rm -f conftest.$ac_objext conftest$ac_exeext
29436
 
if { (ac_try="$ac_link"
29437
 
case "(($ac_try" in
29438
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29439
 
  *) ac_try_echo=$ac_try;;
29440
 
esac
29441
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29442
 
$as_echo "$ac_try_echo") >&5
29443
 
  (eval "$ac_link") 2>conftest.er1
29444
 
  ac_status=$?
29445
 
  grep -v '^ *+' conftest.er1 >conftest.err
29446
 
  rm -f conftest.er1
29447
 
  cat conftest.err >&5
29448
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449
 
  (exit $ac_status); } && {
29450
 
         test -z "$ac_c_werror_flag" ||
29451
 
         test ! -s conftest.err
29452
 
       } && test -s conftest$ac_exeext && {
29453
 
         test "$cross_compiling" = yes ||
29454
 
         $as_test_x conftest$ac_exeext
29455
 
       }; then
29456
 
  eval "$as_ac_Lib=yes"
29457
 
else
29458
 
  $as_echo "$as_me: failed program was:" >&5
29459
 
sed 's/^/| /' conftest.$ac_ext >&5
29460
 
 
29461
 
        eval "$as_ac_Lib=no"
29462
 
fi
29463
 
 
29464
 
rm -rf conftest.dSYM
29465
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29466
 
      conftest$ac_exeext conftest.$ac_ext
29467
 
LIBS=$ac_check_lib_save_LIBS
29468
 
fi
29469
 
ac_res=`eval 'as_val=${'$as_ac_Lib'}
29470
 
                 $as_echo "$as_val"'`
29471
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29472
 
$as_echo "$ac_res" >&6; }
29473
 
if test `eval 'as_val=${'$as_ac_Lib'}
29474
 
                 $as_echo "$as_val"'` = yes; then
29475
 
  LIBPTHREAD="$PTHREAD_LIBS_save"
29476
 
fi
29477
 
 
29478
 
     LDFLAGS="$kde_save_LDFLAGS"
29479
 
     LIBS="$kde_save_LIBS"
29480
 
 
29481
 
      PTHREAD_LIBS="$PTHREAD_LIBS_save"
29482
 
    fi
29483
 
  fi
29484
 
 
29485
 
    if test -z "$LIBPTHREAD"; then
29486
 
    { $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29487
 
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
29488
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
29489
 
  $as_echo_n "(cached) " >&6
29490
 
else
29491
 
  ac_check_lib_save_LIBS=$LIBS
29492
 
LIBS="-lpthread  $LIBS"
29493
 
cat >conftest.$ac_ext <<_ACEOF
29494
 
/* confdefs.h.  */
29495
 
_ACEOF
29496
 
cat confdefs.h >>conftest.$ac_ext
29497
 
cat >>conftest.$ac_ext <<_ACEOF
29498
 
/* end confdefs.h.  */
29499
 
 
29500
 
/* Override any GCC internal prototype to avoid an error.
29501
 
   Use char because int might match the return type of a GCC
29502
 
   builtin and then its argument prototype would still apply.  */
29503
 
#ifdef __cplusplus
29504
 
extern "C"
29505
 
#endif
29506
 
char pthread_create ();
29507
 
int
29508
 
main ()
29509
 
{
29510
 
return pthread_create ();
29511
 
  ;
29512
 
  return 0;
29513
 
}
29514
 
_ACEOF
29515
 
rm -f conftest.$ac_objext conftest$ac_exeext
29516
 
if { (ac_try="$ac_link"
29517
 
case "(($ac_try" in
29518
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29519
 
  *) ac_try_echo=$ac_try;;
29520
 
esac
29521
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29522
 
$as_echo "$ac_try_echo") >&5
29523
 
  (eval "$ac_link") 2>conftest.er1
29524
 
  ac_status=$?
29525
 
  grep -v '^ *+' conftest.er1 >conftest.err
29526
 
  rm -f conftest.er1
29527
 
  cat conftest.err >&5
29528
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29529
 
  (exit $ac_status); } && {
29530
 
         test -z "$ac_c_werror_flag" ||
29531
 
         test ! -s conftest.err
29532
 
       } && test -s conftest$ac_exeext && {
29533
 
         test "$cross_compiling" = yes ||
29534
 
         $as_test_x conftest$ac_exeext
29535
 
       }; then
29536
 
  ac_cv_lib_pthread_pthread_create=yes
29537
 
else
29538
 
  $as_echo "$as_me: failed program was:" >&5
29539
 
sed 's/^/| /' conftest.$ac_ext >&5
29540
 
 
29541
 
        ac_cv_lib_pthread_pthread_create=no
29542
 
fi
29543
 
 
29544
 
rm -rf conftest.dSYM
29545
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29546
 
      conftest$ac_exeext conftest.$ac_ext
29547
 
LIBS=$ac_check_lib_save_LIBS
29548
 
fi
29549
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
29550
 
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
29551
 
if test $ac_cv_lib_pthread_pthread_create = yes; then
29552
 
  LIBPTHREAD="-lpthread"
29553
 
fi
29554
 
 
29555
 
  fi
29556
 
 
29557
 
    if test -z "$LIBPTHREAD" ; then
29558
 
    { $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29559
 
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
29560
 
    kde_safe_libs=$LIBS
29561
 
    LIBS="$LIBS -lpthread"
29562
 
    cat >conftest.$ac_ext <<_ACEOF
29563
 
/* confdefs.h.  */
29564
 
_ACEOF
29565
 
cat confdefs.h >>conftest.$ac_ext
29566
 
cat >>conftest.$ac_ext <<_ACEOF
29567
 
/* end confdefs.h.  */
29568
 
#include <pthread.h>
29569
 
int
29570
 
main ()
29571
 
{
29572
 
(void)pthread_create(0,0,0,0);
29573
 
  ;
29574
 
  return 0;
29575
 
}
29576
 
_ACEOF
29577
 
rm -f conftest.$ac_objext conftest$ac_exeext
29578
 
if { (ac_try="$ac_link"
29579
 
case "(($ac_try" in
29580
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29581
 
  *) ac_try_echo=$ac_try;;
29582
 
esac
29583
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29584
 
$as_echo "$ac_try_echo") >&5
29585
 
  (eval "$ac_link") 2>conftest.er1
29586
 
  ac_status=$?
29587
 
  grep -v '^ *+' conftest.er1 >conftest.err
29588
 
  rm -f conftest.er1
29589
 
  cat conftest.err >&5
29590
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591
 
  (exit $ac_status); } && {
29592
 
         test -z "$ac_c_werror_flag" ||
29593
 
         test ! -s conftest.err
29594
 
       } && test -s conftest$ac_exeext && {
29595
 
         test "$cross_compiling" = yes ||
29596
 
         $as_test_x conftest$ac_exeext
29597
 
       }; then
29598
 
 
29599
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
29600
 
$as_echo "yes" >&6; }
29601
 
        LIBPTHREAD="-lpthread"
29602
 
else
29603
 
  $as_echo "$as_me: failed program was:" >&5
29604
 
sed 's/^/| /' conftest.$ac_ext >&5
29605
 
 
29606
 
 
29607
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
29608
 
$as_echo "no" >&6; }
29609
 
fi
29610
 
 
29611
 
rm -rf conftest.dSYM
29612
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29613
 
      conftest$ac_exeext conftest.$ac_ext
29614
 
    LIBS=$kde_safe_libs
29615
 
  fi
29616
 
 
29617
 
    if test "x$LIBPTHREAD" = "xPTHREAD" ; then
29618
 
    LIBPTHREAD=""
29619
 
  fi
29620
 
 
29621
 
 
29622
 
 
29623
 
 
29624
 
      USE_THREADS=""
29625
 
      if test -z "$LIBPTHREAD"; then
29626
 
 
29627
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
29628
 
$as_echo_n "checking whether $CXX supports -pthread... " >&6; }
29629
 
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
29630
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29631
 
  $as_echo_n "(cached) " >&6
29632
 
else
29633
 
 
29634
 
 
29635
 
   ac_ext=cpp
29636
 
ac_cpp='$CXXCPP $CPPFLAGS'
29637
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29638
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29639
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29640
 
 
29641
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29642
 
 
29643
 
 
29644
 
  save_CXXFLAGS="$CXXFLAGS"
29645
 
  CXXFLAGS="$CXXFLAGS -pthread"
29646
 
  cat >conftest.$ac_ext <<_ACEOF
29647
 
/* confdefs.h.  */
29648
 
_ACEOF
29649
 
cat confdefs.h >>conftest.$ac_ext
29650
 
cat >>conftest.$ac_ext <<_ACEOF
29651
 
/* end confdefs.h.  */
29652
 
 
29653
 
int
29654
 
main ()
29655
 
{
29656
 
 return 0;
29657
 
  ;
29658
 
  return 0;
29659
 
}
29660
 
_ACEOF
29661
 
rm -f conftest.$ac_objext conftest$ac_exeext
29662
 
if { (ac_try="$ac_link"
29663
 
case "(($ac_try" in
29664
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29665
 
  *) ac_try_echo=$ac_try;;
29666
 
esac
29667
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29668
 
$as_echo "$ac_try_echo") >&5
29669
 
  (eval "$ac_link") 2>conftest.er1
29670
 
  ac_status=$?
29671
 
  grep -v '^ *+' conftest.er1 >conftest.err
29672
 
  rm -f conftest.er1
29673
 
  cat conftest.err >&5
29674
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29675
 
  (exit $ac_status); } && {
29676
 
         test -z "$ac_cxx_werror_flag" ||
29677
 
         test ! -s conftest.err
29678
 
       } && test -s conftest$ac_exeext && {
29679
 
         test "$cross_compiling" = yes ||
29680
 
         $as_test_x conftest$ac_exeext
29681
 
       }; then
29682
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
29683
 
else
29684
 
  $as_echo "$as_me: failed program was:" >&5
29685
 
sed 's/^/| /' conftest.$ac_ext >&5
29686
 
 
29687
 
 
29688
 
fi
29689
 
 
29690
 
rm -rf conftest.dSYM
29691
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29692
 
      conftest$ac_exeext conftest.$ac_ext
29693
 
  CXXFLAGS="$save_CXXFLAGS"
29694
 
  ac_ext=c
29695
 
ac_cpp='$CPP $CPPFLAGS'
29696
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29697
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29698
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29699
 
 
29700
 
 
29701
 
fi
29702
 
 
29703
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29704
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
29705
 
$as_echo "yes" >&6; }
29706
 
 :
29707
 
 USE_THREADS="-D_THREAD_SAFE -pthread"
29708
 
else
29709
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
29710
 
$as_echo "no" >&6; }
29711
 
 :
29712
 
 
29713
 
fi
29714
 
 
29715
 
      fi
29716
 
 
29717
 
 
29718
 
 
29719
 
    case $host_os in
29720
 
        solaris*)
29721
 
 
29722
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
29723
 
$as_echo_n "checking whether $CXX supports -mt... " >&6; }
29724
 
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
29725
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29726
 
  $as_echo_n "(cached) " >&6
29727
 
else
29728
 
 
29729
 
 
29730
 
   ac_ext=cpp
29731
 
ac_cpp='$CXXCPP $CPPFLAGS'
29732
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29733
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29734
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29735
 
 
29736
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29737
 
 
29738
 
 
29739
 
  save_CXXFLAGS="$CXXFLAGS"
29740
 
  CXXFLAGS="$CXXFLAGS -mt"
29741
 
  cat >conftest.$ac_ext <<_ACEOF
29742
 
/* confdefs.h.  */
29743
 
_ACEOF
29744
 
cat confdefs.h >>conftest.$ac_ext
29745
 
cat >>conftest.$ac_ext <<_ACEOF
29746
 
/* end confdefs.h.  */
29747
 
 
29748
 
int
29749
 
main ()
29750
 
{
29751
 
 return 0;
29752
 
  ;
29753
 
  return 0;
29754
 
}
29755
 
_ACEOF
29756
 
rm -f conftest.$ac_objext conftest$ac_exeext
29757
 
if { (ac_try="$ac_link"
29758
 
case "(($ac_try" in
29759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29760
 
  *) ac_try_echo=$ac_try;;
29761
 
esac
29762
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29763
 
$as_echo "$ac_try_echo") >&5
29764
 
  (eval "$ac_link") 2>conftest.er1
29765
 
  ac_status=$?
29766
 
  grep -v '^ *+' conftest.er1 >conftest.err
29767
 
  rm -f conftest.er1
29768
 
  cat conftest.err >&5
29769
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29770
 
  (exit $ac_status); } && {
29771
 
         test -z "$ac_cxx_werror_flag" ||
29772
 
         test ! -s conftest.err
29773
 
       } && test -s conftest$ac_exeext && {
29774
 
         test "$cross_compiling" = yes ||
29775
 
         $as_test_x conftest$ac_exeext
29776
 
       }; then
29777
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
29778
 
else
29779
 
  $as_echo "$as_me: failed program was:" >&5
29780
 
sed 's/^/| /' conftest.$ac_ext >&5
29781
 
 
29782
 
 
29783
 
fi
29784
 
 
29785
 
rm -rf conftest.dSYM
29786
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29787
 
      conftest$ac_exeext conftest.$ac_ext
29788
 
  CXXFLAGS="$save_CXXFLAGS"
29789
 
  ac_ext=c
29790
 
ac_cpp='$CPP $CPPFLAGS'
29791
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29792
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29793
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29794
 
 
29795
 
 
29796
 
fi
29797
 
 
29798
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29799
 
 { $as_echo "$as_me:$LINENO: result: yes" >&5
29800
 
$as_echo "yes" >&6; }
29801
 
 :
29802
 
 USE_THREADS="-mt"
29803
 
else
29804
 
 { $as_echo "$as_me:$LINENO: result: no" >&5
29805
 
$as_echo "no" >&6; }
29806
 
 :
29807
 
 
29808
 
fi
29809
 
 
29810
 
                CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
29811
 
                ;;
29812
 
        freebsd*)
29813
 
                CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
29814
 
                ;;
29815
 
        aix*)
29816
 
                CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
29817
 
                LIBPTHREAD="$LIBPTHREAD -lc_r"
29818
 
                ;;
29819
 
        linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
29820
 
                if test "$CXX" = "KCC"; then
29821
 
                  CXXFLAGS="$CXXFLAGS --thread_safe"
29822
 
                  NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
29823
 
                fi
29824
 
                ;;
29825
 
        *)
29826
 
                ;;
29827
 
    esac
29828
 
 
29829
 
 
29830
 
 
29831
 
 
29832
 
{ $as_echo "$as_me:$LINENO: checking for extra includes" >&5
29833
 
$as_echo_n "checking for extra includes... " >&6; }
29834
 
 
29835
 
# Check whether --with-extra-includes was given.
29836
 
if test "${with_extra_includes+set}" = set; then
29837
 
  withval=$with_extra_includes; kde_use_extra_includes="$withval"
29838
 
else
29839
 
  kde_use_extra_includes=NONE
29840
 
 
29841
 
fi
29842
 
 
29843
 
kde_extra_includes=
29844
 
if test -n "$kde_use_extra_includes" && \
29845
 
   test "$kde_use_extra_includes" != "NONE"; then
29846
 
 
29847
 
   ac_save_ifs=$IFS
29848
 
   IFS=':'
29849
 
   for dir in $kde_use_extra_includes; do
29850
 
     kde_extra_includes="$kde_extra_includes $dir"
29851
 
     USER_INCLUDES="$USER_INCLUDES -I$dir"
29852
 
   done
29853
 
   IFS=$ac_save_ifs
29854
 
   kde_use_extra_includes="added"
29855
 
else
29856
 
   kde_use_extra_includes="no"
29857
 
fi
29858
 
 
29859
 
 
29860
 
{ $as_echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
29861
 
$as_echo "$kde_use_extra_includes" >&6; }
29862
 
 
29863
 
kde_extra_libs=
29864
 
{ $as_echo "$as_me:$LINENO: checking for extra libs" >&5
29865
 
$as_echo_n "checking for extra libs... " >&6; }
29866
 
 
29867
 
# Check whether --with-extra-libs was given.
29868
 
if test "${with_extra_libs+set}" = set; then
29869
 
  withval=$with_extra_libs; kde_use_extra_libs=$withval
29870
 
else
29871
 
  kde_use_extra_libs=NONE
29872
 
 
29873
 
fi
29874
 
 
29875
 
if test -n "$kde_use_extra_libs" && \
29876
 
   test "$kde_use_extra_libs" != "NONE"; then
29877
 
 
29878
 
   ac_save_ifs=$IFS
29879
 
   IFS=':'
29880
 
   for dir in $kde_use_extra_libs; do
29881
 
     kde_extra_libs="$kde_extra_libs $dir"
29882
 
     KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
29883
 
     USER_LDFLAGS="$USER_LDFLAGS -L$dir"
29884
 
   done
29885
 
   IFS=$ac_save_ifs
29886
 
   kde_use_extra_libs="added"
29887
 
else
29888
 
   kde_use_extra_libs="no"
29889
 
fi
29890
 
 
29891
 
 
29892
 
 
29893
 
{ $as_echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
29894
 
$as_echo "$kde_use_extra_libs" >&6; }
29895
 
 
29896
 
 
29897
 
 
29898
 
 
29899
 
{ $as_echo "$as_me:$LINENO: checking for libz" >&5
29900
 
$as_echo_n "checking for libz... " >&6; }
29901
 
if test "${ac_cv_lib_z+set}" = set; then
29902
 
  $as_echo_n "(cached) " >&6
29903
 
else
29904
 
 
29905
 
kde_save_LIBS="$LIBS"
29906
 
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
29907
 
kde_save_CFLAGS="$CFLAGS"
29908
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29909
 
cat >conftest.$ac_ext <<_ACEOF
29910
 
/* confdefs.h.  */
29911
 
_ACEOF
29912
 
cat confdefs.h >>conftest.$ac_ext
29913
 
cat >>conftest.$ac_ext <<_ACEOF
29914
 
/* end confdefs.h.  */
29915
 
 
29916
 
#include<zlib.h>
29917
 
 
29918
 
int
29919
 
main ()
29920
 
{
29921
 
 
29922
 
  char buf[42];
29923
 
  gzFile f = (gzFile) 0;
29924
 
  /* this would segfault.. but we only link, don't run */
29925
 
  (void) gzgets(f, buf, sizeof(buf));
29926
 
 
29927
 
  return (zlibVersion() == ZLIB_VERSION);
29928
 
 
29929
 
  ;
29930
 
  return 0;
29931
 
}
29932
 
_ACEOF
29933
 
rm -f conftest.$ac_objext conftest$ac_exeext
29934
 
if { (ac_try="$ac_link"
29935
 
case "(($ac_try" in
29936
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29937
 
  *) ac_try_echo=$ac_try;;
29938
 
esac
29939
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29940
 
$as_echo "$ac_try_echo") >&5
29941
 
  (eval "$ac_link") 2>conftest.er1
29942
 
  ac_status=$?
29943
 
  grep -v '^ *+' conftest.er1 >conftest.err
29944
 
  rm -f conftest.er1
29945
 
  cat conftest.err >&5
29946
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947
 
  (exit $ac_status); } && {
29948
 
         test -z "$ac_c_werror_flag" ||
29949
 
         test ! -s conftest.err
29950
 
       } && test -s conftest$ac_exeext && {
29951
 
         test "$cross_compiling" = yes ||
29952
 
         $as_test_x conftest$ac_exeext
29953
 
       }; then
29954
 
  eval "ac_cv_lib_z='-lz'"
29955
 
else
29956
 
  $as_echo "$as_me: failed program was:" >&5
29957
 
sed 's/^/| /' conftest.$ac_ext >&5
29958
 
 
29959
 
        eval "ac_cv_lib_z=no"
29960
 
fi
29961
 
 
29962
 
rm -rf conftest.dSYM
29963
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29964
 
      conftest$ac_exeext conftest.$ac_ext
29965
 
LIBS="$kde_save_LIBS"
29966
 
CFLAGS="$kde_save_CFLAGS"
29967
 
 
29968
 
fi
29969
 
if test ! "$ac_cv_lib_z" = no; then
29970
 
 
29971
 
cat >>confdefs.h <<_ACEOF
29972
 
#define HAVE_LIBZ 1
29973
 
_ACEOF
29974
 
 
29975
 
  LIBZ="$ac_cv_lib_z"
29976
 
  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
29977
 
$as_echo "$ac_cv_lib_z" >&6; }
29978
 
else
29979
 
  { { $as_echo "$as_me:$LINENO: error: not found.
29980
 
          Possibly configure picks up an outdated version
29981
 
          installed by XFree86. Remove it from your system.
29982
 
 
29983
 
          Check your installation and look into config.log" >&5
29984
 
$as_echo "$as_me: error: not found.
29985
 
          Possibly configure picks up an outdated version
29986
 
          installed by XFree86. Remove it from your system.
29987
 
 
29988
 
          Check your installation and look into config.log" >&2;}
29989
 
   { (exit 1); exit 1; }; }
29990
 
  LIBZ=""
29991
 
fi
29992
 
 
29993
 
 
29994
 
 
29995
 
 
29996
 
 
29997
 
{ $as_echo "$as_me:$LINENO: checking for libpng" >&5
29998
 
$as_echo_n "checking for libpng... " >&6; }
29999
 
if test "${ac_cv_lib_png+set}" = set; then
30000
 
  $as_echo_n "(cached) " >&6
30001
 
else
30002
 
 
30003
 
kde_save_LIBS="$LIBS"
30004
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30005
 
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
30006
 
else
30007
 
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
30008
 
fi
30009
 
kde_save_CFLAGS="$CFLAGS"
30010
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
30011
 
 
30012
 
cat >conftest.$ac_ext <<_ACEOF
30013
 
/* confdefs.h.  */
30014
 
_ACEOF
30015
 
cat confdefs.h >>conftest.$ac_ext
30016
 
cat >>conftest.$ac_ext <<_ACEOF
30017
 
/* end confdefs.h.  */
30018
 
 
30019
 
    #include<png.h>
30020
 
 
30021
 
int
30022
 
main ()
30023
 
{
30024
 
 
30025
 
    png_structp png_ptr = png_create_read_struct(  /* image ptr */
30026
 
                PNG_LIBPNG_VER_STRING, 0, 0, 0 );
30027
 
    return( png_ptr != 0 );
30028
 
 
30029
 
  ;
30030
 
  return 0;
30031
 
}
30032
 
_ACEOF
30033
 
rm -f conftest.$ac_objext conftest$ac_exeext
30034
 
if { (ac_try="$ac_link"
30035
 
case "(($ac_try" in
30036
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30037
 
  *) ac_try_echo=$ac_try;;
30038
 
esac
30039
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30040
 
$as_echo "$ac_try_echo") >&5
30041
 
  (eval "$ac_link") 2>conftest.er1
30042
 
  ac_status=$?
30043
 
  grep -v '^ *+' conftest.er1 >conftest.err
30044
 
  rm -f conftest.er1
30045
 
  cat conftest.err >&5
30046
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047
 
  (exit $ac_status); } && {
30048
 
         test -z "$ac_c_werror_flag" ||
30049
 
         test ! -s conftest.err
30050
 
       } && test -s conftest$ac_exeext && {
30051
 
         test "$cross_compiling" = yes ||
30052
 
         $as_test_x conftest$ac_exeext
30053
 
       }; then
30054
 
  eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
30055
 
else
30056
 
  $as_echo "$as_me: failed program was:" >&5
30057
 
sed 's/^/| /' conftest.$ac_ext >&5
30058
 
 
30059
 
        eval "ac_cv_lib_png=no"
30060
 
 
30061
 
fi
30062
 
 
30063
 
rm -rf conftest.dSYM
30064
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30065
 
      conftest$ac_exeext conftest.$ac_ext
30066
 
LIBS="$kde_save_LIBS"
30067
 
CFLAGS="$kde_save_CFLAGS"
30068
 
 
30069
 
fi
30070
 
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
30071
 
 
30072
 
cat >>confdefs.h <<_ACEOF
30073
 
#define HAVE_LIBPNG 1
30074
 
_ACEOF
30075
 
 
30076
 
  LIBPNG="$ac_cv_lib_png"
30077
 
 
30078
 
  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
30079
 
$as_echo "$ac_cv_lib_png" >&6; }
30080
 
else
30081
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
30082
 
$as_echo "no" >&6; }
30083
 
  LIBPNG=""
30084
 
 
30085
 
fi
30086
 
 
30087
 
 
30088
 
 
30089
 
{ $as_echo "$as_me:$LINENO: checking for libjpeg6b" >&5
30090
 
$as_echo_n "checking for libjpeg6b... " >&6; }
30091
 
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
30092
 
  $as_echo_n "(cached) " >&6
30093
 
else
30094
 
 
30095
 
ac_save_LIBS="$LIBS"
30096
 
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
30097
 
ac_save_CFLAGS="$CFLAGS"
30098
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
30099
 
cat >conftest.$ac_ext <<_ACEOF
30100
 
/* confdefs.h.  */
30101
 
_ACEOF
30102
 
cat confdefs.h >>conftest.$ac_ext
30103
 
cat >>conftest.$ac_ext <<_ACEOF
30104
 
/* end confdefs.h.  */
30105
 
 
30106
 
#ifdef __cplusplus
30107
 
extern "C" {
30108
 
#endif
30109
 
void jpeg_CreateDecompress();
30110
 
#ifdef __cplusplus
30111
 
}
30112
 
#endif
30113
 
 
30114
 
int
30115
 
main ()
30116
 
{
30117
 
jpeg_CreateDecompress();
30118
 
  ;
30119
 
  return 0;
30120
 
}
30121
 
_ACEOF
30122
 
rm -f conftest.$ac_objext conftest$ac_exeext
30123
 
if { (ac_try="$ac_link"
30124
 
case "(($ac_try" in
30125
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30126
 
  *) ac_try_echo=$ac_try;;
30127
 
esac
30128
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30129
 
$as_echo "$ac_try_echo") >&5
30130
 
  (eval "$ac_link") 2>conftest.er1
30131
 
  ac_status=$?
30132
 
  grep -v '^ *+' conftest.er1 >conftest.err
30133
 
  rm -f conftest.er1
30134
 
  cat conftest.err >&5
30135
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136
 
  (exit $ac_status); } && {
30137
 
         test -z "$ac_c_werror_flag" ||
30138
 
         test ! -s conftest.err
30139
 
       } && test -s conftest$ac_exeext && {
30140
 
         test "$cross_compiling" = yes ||
30141
 
         $as_test_x conftest$ac_exeext
30142
 
       }; then
30143
 
  eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
30144
 
else
30145
 
  $as_echo "$as_me: failed program was:" >&5
30146
 
sed 's/^/| /' conftest.$ac_ext >&5
30147
 
 
30148
 
        eval "ac_cv_lib_jpeg_6b=no"
30149
 
fi
30150
 
 
30151
 
rm -rf conftest.dSYM
30152
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30153
 
      conftest$ac_exeext conftest.$ac_ext
30154
 
LIBS="$ac_save_LIBS"
30155
 
CFLAGS="$ac_save_CFLAGS"
30156
 
 
30157
 
fi
30158
 
 
30159
 
 
30160
 
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
30161
 
  LIBJPEG="$ac_cv_lib_jpeg_6b"
30162
 
  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
30163
 
$as_echo "$ac_cv_lib_jpeg_6b" >&6; }
30164
 
else
30165
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
30166
 
$as_echo "no" >&6; }
30167
 
 
30168
 
{ $as_echo "$as_me:$LINENO: checking for libjpeg" >&5
30169
 
$as_echo_n "checking for libjpeg... " >&6; }
30170
 
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
30171
 
  $as_echo_n "(cached) " >&6
30172
 
else
30173
 
 
30174
 
ac_save_LIBS="$LIBS"
30175
 
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
30176
 
ac_save_CFLAGS="$CFLAGS"
30177
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
30178
 
cat >conftest.$ac_ext <<_ACEOF
30179
 
/* confdefs.h.  */
30180
 
_ACEOF
30181
 
cat confdefs.h >>conftest.$ac_ext
30182
 
cat >>conftest.$ac_ext <<_ACEOF
30183
 
/* end confdefs.h.  */
30184
 
 
30185
 
#ifdef __cplusplus
30186
 
extern "C" {
30187
 
#endif
30188
 
void jpeg_CreateDecompress();
30189
 
#ifdef __cplusplus
30190
 
}
30191
 
#endif
30192
 
 
30193
 
int
30194
 
main ()
30195
 
{
30196
 
jpeg_CreateDecompress();
30197
 
  ;
30198
 
  return 0;
30199
 
}
30200
 
_ACEOF
30201
 
rm -f conftest.$ac_objext conftest$ac_exeext
30202
 
if { (ac_try="$ac_link"
30203
 
case "(($ac_try" in
30204
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30205
 
  *) ac_try_echo=$ac_try;;
30206
 
esac
30207
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30208
 
$as_echo "$ac_try_echo") >&5
30209
 
  (eval "$ac_link") 2>conftest.er1
30210
 
  ac_status=$?
30211
 
  grep -v '^ *+' conftest.er1 >conftest.err
30212
 
  rm -f conftest.er1
30213
 
  cat conftest.err >&5
30214
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30215
 
  (exit $ac_status); } && {
30216
 
         test -z "$ac_c_werror_flag" ||
30217
 
         test ! -s conftest.err
30218
 
       } && test -s conftest$ac_exeext && {
30219
 
         test "$cross_compiling" = yes ||
30220
 
         $as_test_x conftest$ac_exeext
30221
 
       }; then
30222
 
  eval "ac_cv_lib_jpeg_normal=-ljpeg"
30223
 
else
30224
 
  $as_echo "$as_me: failed program was:" >&5
30225
 
sed 's/^/| /' conftest.$ac_ext >&5
30226
 
 
30227
 
        eval "ac_cv_lib_jpeg_normal=no"
30228
 
fi
30229
 
 
30230
 
rm -rf conftest.dSYM
30231
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30232
 
      conftest$ac_exeext conftest.$ac_ext
30233
 
LIBS="$ac_save_LIBS"
30234
 
CFLAGS="$ac_save_CFLAGS"
30235
 
 
30236
 
fi
30237
 
 
30238
 
 
30239
 
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
30240
 
  LIBJPEG="$ac_cv_lib_jpeg_normal"
30241
 
  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
30242
 
$as_echo "$ac_cv_lib_jpeg_normal" >&6; }
30243
 
else
30244
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
30245
 
$as_echo "no" >&6; }
30246
 
 
30247
 
       LIBJPEG=
30248
 
 
30249
 
 
30250
 
fi
30251
 
 
30252
 
 
30253
 
 
30254
 
fi
30255
 
 
30256
 
 
30257
 
 
30258
 
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
30259
 
 
30260
 
jpeg_incdir=NO
30261
 
for i in $jpeg_incdirs;
30262
 
do
30263
 
  for j in jpeglib.h;
30264
 
  do
30265
 
    echo "configure: 30265: $i/$j" >&5
30266
 
    if test -r "$i/$j"; then
30267
 
      echo "taking that" >&5
30268
 
      jpeg_incdir=$i
30269
 
      break 2
30270
 
    fi
30271
 
  done
30272
 
done
30273
 
 
30274
 
test "x$jpeg_incdir" = xNO && jpeg_incdir=
30275
 
 
30276
 
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
30277
 
 
30278
 
cat >>confdefs.h <<_ACEOF
30279
 
#define HAVE_LIBJPEG 1
30280
 
_ACEOF
30281
 
 
30282
 
else
30283
 
  if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
30284
 
    { $as_echo "$as_me:$LINENO: WARNING:
30285
 
There is an installation error in jpeg support. You seem to have only one
30286
 
of either the headers _or_ the libraries installed. You may need to either
30287
 
provide correct --with-extra-... options, or the development package of
30288
 
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30289
 
Disabling JPEG support.
30290
 
" >&5
30291
 
$as_echo "$as_me: WARNING:
30292
 
There is an installation error in jpeg support. You seem to have only one
30293
 
of either the headers _or_ the libraries installed. You may need to either
30294
 
provide correct --with-extra-... options, or the development package of
30295
 
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30296
 
Disabling JPEG support.
30297
 
" >&2;}
30298
 
  else
30299
 
    { $as_echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
30300
 
$as_echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
30301
 
  fi
30302
 
  jpeg_incdir=
30303
 
  LIBJPEG=
30304
 
fi
30305
 
 
30306
 
 
30307
 
 
30308
 
 
30309
 
 
30310
 
 
30311
 
 
30312
 
   { $as_echo "$as_me:$LINENO: checking for perl" >&5
30313
 
$as_echo_n "checking for perl... " >&6; }
30314
 
   if test -n "$PERL"; then
30315
 
        kde_cv_path="$PERL";
30316
 
   else
30317
 
        kde_cache=`echo perl | sed 'y%./+-%__p_%'`
30318
 
 
30319
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30320
 
  $as_echo_n "(cached) " >&6
30321
 
else
30322
 
 
30323
 
        kde_cv_path="NONE"
30324
 
        kde_save_IFS=$IFS
30325
 
        IFS=':'
30326
 
        dirs=""
30327
 
        for dir in $PATH; do
30328
 
          dirs="$dirs $dir"
30329
 
        done
30330
 
        if test -z ""; then       dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
30331
 
        else      dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
30332
 
        fi
30333
 
        IFS=$kde_save_IFS
30334
 
 
30335
 
        for dir in $dirs; do
30336
 
          if test -x "$dir/perl"; then
30337
 
            if test -n ""
30338
 
            then
30339
 
              evalstr="$dir/perl  2>&1 "
30340
 
              if eval $evalstr; then
30341
 
                kde_cv_path="$dir/perl"
30342
 
                break
30343
 
              fi
30344
 
            else
30345
 
                kde_cv_path="$dir/perl"
30346
 
                break
30347
 
            fi
30348
 
          fi
30349
 
        done
30350
 
 
30351
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30352
 
 
30353
 
 
30354
 
fi
30355
 
 
30356
 
 
30357
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30358
 
 
30359
 
   fi
30360
 
 
30361
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30362
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
30363
 
$as_echo "not found" >&6; }
30364
 
 
30365
 
                    { { $as_echo "$as_me:$LINENO: error: No Perl found in your $PATH.
30366
 
We need perl to generate some code." >&5
30367
 
$as_echo "$as_me: error: No Perl found in your $PATH.
30368
 
We need perl to generate some code." >&2;}
30369
 
   { (exit 1); exit 1; }; }
30370
 
 
30371
 
   else
30372
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30373
 
$as_echo "$kde_cv_path" >&6; }
30374
 
      PERL=$kde_cv_path
30375
 
 
30376
 
   fi
30377
 
 
30378
 
 
30379
 
 
30380
 
 
30381
 
 
30382
 
 
30383
 
 
30384
 
 
30385
 
 
30386
 
 
30387
 
# Check whether --enable-mt was given.
30388
 
if test "${enable_mt+set}" = set; then
30389
 
  enableval=$enable_mt; kde_use_qt_mt=$enableval
30390
 
else
30391
 
 
30392
 
    if test $kde_qtver = 3; then
30393
 
      kde_use_qt_mt=yes
30394
 
    else
30395
 
      kde_use_qt_mt=no
30396
 
    fi
30397
 
 
30398
 
 
30399
 
fi
30400
 
 
30401
 
 
30402
 
USING_QT_MT=""
30403
 
 
30404
 
 
30405
 
KDE_MT_LDFLAGS=
30406
 
KDE_MT_LIBS=
30407
 
if test "x$kde_use_qt_mt" = "xyes"; then
30408
 
 
30409
 
 
30410
 
 
30411
 
    if test -z "$LIBPTHREAD"; then
30412
 
    if test -z "$USE_THREADS"; then
30413
 
      kde_check_threading_default=no
30414
 
    else
30415
 
      kde_check_threading_default=yes
30416
 
    fi
30417
 
  else
30418
 
    kde_check_threading_default=yes
30419
 
  fi
30420
 
  # Check whether --enable-threading was given.
30421
 
if test "${enable_threading+set}" = set; then
30422
 
  enableval=$enable_threading; kde_use_threading=$enableval
30423
 
else
30424
 
  kde_use_threading=$kde_check_threading_default
30425
 
fi
30426
 
 
30427
 
  if test "x$kde_use_threading" = "xyes"; then
30428
 
 
30429
 
cat >>confdefs.h <<\_ACEOF
30430
 
#define HAVE_LIBPTHREAD 1
30431
 
_ACEOF
30432
 
 
30433
 
  fi
30434
 
 
30435
 
  if test "x$kde_use_threading" = "xyes"; then
30436
 
    CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
30437
 
    KDE_MT_LDFLAGS="$USE_THREADS"
30438
 
    KDE_MT_LIBS="$LIBPTHREAD"
30439
 
  else
30440
 
    kde_use_qt_mt=no
30441
 
  fi
30442
 
fi
30443
 
 
30444
 
 
30445
 
 
30446
 
kde_qt_was_given=yes
30447
 
 
30448
 
if test -z "$LIBQT_GLOB"; then
30449
 
  if test "x$kde_use_qt_emb" = "xyes"; then
30450
 
    LIBQT_GLOB="libqte.*"
30451
 
  else
30452
 
    LIBQT_GLOB="libqt.*"
30453
 
  fi
30454
 
fi
30455
 
 
30456
 
if test "x$kde_use_qt_emb" = "xyes"; then
30457
 
  qtlib="qte"
30458
 
else
30459
 
  qtlib="qt"
30460
 
fi
30461
 
 
30462
 
kde_int_qt="-l$qtlib"
30463
 
 
30464
 
if test -z "$LIBQPE"; then
30465
 
  if test "x$kde_use_qt_emb" = "xyes"; then
30466
 
    if test "x$kde_use_qt_emb_palm" = "xyes"; then
30467
 
      LIB_QPE="-lqpe"
30468
 
    else
30469
 
      LIB_QPE=""
30470
 
    fi
30471
 
  else
30472
 
    LIB_QPE=""
30473
 
  fi
30474
 
fi
30475
 
 
30476
 
 
30477
 
if test "x$kde_use_qt_mt" = "xyes"; then
30478
 
  LIBQT="-l$qtlib-mt"
30479
 
  kde_int_qt="-l$qtlib-mt"
30480
 
  LIBQT_GLOB="lib$qtlib-mt.*"
30481
 
  USING_QT_MT="using -mt"
30482
 
else
30483
 
  LIBQT="-l$qtlib"
30484
 
fi
30485
 
 
30486
 
if test $kde_qtver != 1; then
30487
 
 
30488
 
 
30489
 
 
30490
 
  LIBQT="$LIBQT $LIBPNG $LIBJPEG"
30491
 
fi
30492
 
 
30493
 
if test $kde_qtver = 3; then
30494
 
 
30495
 
  LIBQT="$LIBQT $LIBDL"
30496
 
fi
30497
 
 
30498
 
{ $as_echo "$as_me:$LINENO: checking for Qt" >&5
30499
 
$as_echo_n "checking for Qt... " >&6; }
30500
 
 
30501
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30502
 
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
30503
 
fi
30504
 
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
30505
 
qt_libraries=""
30506
 
qt_includes=""
30507
 
 
30508
 
# Check whether --with-qt-dir was given.
30509
 
if test "${with_qt_dir+set}" = set; then
30510
 
  withval=$with_qt_dir;   ac_qt_includes="$withval"/include
30511
 
       ac_qt_libraries="$withval"/lib${kdelibsuff}
30512
 
       ac_qt_bindir="$withval"/bin
30513
 
 
30514
 
fi
30515
 
 
30516
 
 
30517
 
 
30518
 
# Check whether --with-qt-includes was given.
30519
 
if test "${with_qt_includes+set}" = set; then
30520
 
  withval=$with_qt_includes;
30521
 
       ac_qt_includes="$withval"
30522
 
 
30523
 
fi
30524
 
 
30525
 
 
30526
 
kde_qt_libs_given=no
30527
 
 
30528
 
 
30529
 
# Check whether --with-qt-libraries was given.
30530
 
if test "${with_qt_libraries+set}" = set; then
30531
 
  withval=$with_qt_libraries;   ac_qt_libraries="$withval"
30532
 
       kde_qt_libs_given=yes
30533
 
 
30534
 
fi
30535
 
 
30536
 
 
30537
 
if test "${ac_cv_have_qt+set}" = set; then
30538
 
  $as_echo_n "(cached) " >&6
30539
 
else
30540
 
  #try to guess Qt locations
30541
 
 
30542
 
qt_incdirs=""
30543
 
for dir in $kde_qt_dirs; do
30544
 
   qt_incdirs="$qt_incdirs $dir/include $dir"
30545
 
done
30546
 
qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes"
30547
 
if test ! "$ac_qt_includes" = "NO"; then
30548
 
   qt_incdirs="$ac_qt_includes $qt_incdirs"
30549
 
fi
30550
 
 
30551
 
if test "$kde_qtver" != "1"; then
30552
 
  kde_qt_header=qstyle.h
30553
 
else
30554
 
  kde_qt_header=qglobal.h
30555
 
fi
30556
 
 
30557
 
 
30558
 
qt_incdir=NO
30559
 
for i in $qt_incdirs;
30560
 
do
30561
 
  for j in $kde_qt_header;
30562
 
  do
30563
 
    echo "configure: 30563: $i/$j" >&5
30564
 
    if test -r "$i/$j"; then
30565
 
      echo "taking that" >&5
30566
 
      qt_incdir=$i
30567
 
      break 2
30568
 
    fi
30569
 
  done
30570
 
done
30571
 
 
30572
 
ac_qt_includes="$qt_incdir"
30573
 
 
30574
 
qt_libdirs=""
30575
 
for dir in $kde_qt_dirs; do
30576
 
   qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
30577
 
done
30578
 
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
30579
 
if test ! "$ac_qt_libraries" = "NO"; then
30580
 
  qt_libdir=$ac_qt_libraries
30581
 
else
30582
 
  qt_libdirs="$ac_qt_libraries $qt_libdirs"
30583
 
  # if the Qt was given, the chance is too big that libqt.* doesn't exist
30584
 
  qt_libdir=NONE
30585
 
  for dir in $qt_libdirs; do
30586
 
    try="ls -1 $dir/${LIBQT_GLOB}"
30587
 
    if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
30588
 
  done
30589
 
fi
30590
 
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30591
 
  if test -e "$a"; then
30592
 
    LIBQT="$LIBQT ${kde_int_qt}_incremental"
30593
 
    break
30594
 
  fi
30595
 
done
30596
 
 
30597
 
ac_qt_libraries="$qt_libdir"
30598
 
 
30599
 
 
30600
 
 ac_ext=cpp
30601
 
ac_cpp='$CXXCPP $CPPFLAGS'
30602
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30603
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30604
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30605
 
 
30606
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30607
 
 
30608
 
 
30609
 
 
30610
 
ac_cxxflags_safe="$CXXFLAGS"
30611
 
ac_ldflags_safe="$LDFLAGS"
30612
 
ac_libs_safe="$LIBS"
30613
 
 
30614
 
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
30615
 
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
30616
 
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
30617
 
 
30618
 
 
30619
 
 
30620
 
cat > conftest.$ac_ext <<EOF
30621
 
#include "confdefs.h"
30622
 
#include <qglobal.h>
30623
 
#include <qapplication.h>
30624
 
EOF
30625
 
if test "$kde_qtver" = "2"; then
30626
 
cat >> conftest.$ac_ext <<EOF
30627
 
#include <qevent.h>
30628
 
#include <qstring.h>
30629
 
#include <qstyle.h>
30630
 
EOF
30631
 
 
30632
 
if test $kde_qtsubver -gt 0; then
30633
 
cat >> conftest.$ac_ext <<EOF
30634
 
#if QT_VERSION < 210
30635
 
#error 1
30636
 
#endif
30637
 
EOF
30638
 
fi
30639
 
fi
30640
 
 
30641
 
if test "$kde_qtver" = "3"; then
30642
 
cat >> conftest.$ac_ext <<EOF
30643
 
#include <qcursor.h>
30644
 
#include <qstylefactory.h>
30645
 
#include <private/qucomextra_p.h>
30646
 
EOF
30647
 
fi
30648
 
 
30649
 
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30650
 
cat >> conftest.$ac_ext <<EOF
30651
 
#error 1
30652
 
#endif
30653
 
 
30654
 
int main() {
30655
 
EOF
30656
 
if test "$kde_qtver" = "2"; then
30657
 
cat >> conftest.$ac_ext <<EOF
30658
 
    QStringList *t = new QStringList();
30659
 
    Q_UNUSED(t);
30660
 
EOF
30661
 
if test $kde_qtsubver -gt 0; then
30662
 
cat >> conftest.$ac_ext <<EOF
30663
 
    QString s;
30664
 
    s.setLatin1("Elvis is alive", 14);
30665
 
EOF
30666
 
fi
30667
 
fi
30668
 
if test "$kde_qtver" = "3"; then
30669
 
cat >> conftest.$ac_ext <<EOF
30670
 
    (void)QStyleFactory::create(QString::null);
30671
 
    QCursor c(Qt::WhatsThisCursor);
30672
 
EOF
30673
 
fi
30674
 
cat >> conftest.$ac_ext <<EOF
30675
 
    return 0;
30676
 
}
30677
 
EOF
30678
 
 
30679
 
 
30680
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30681
 
  (eval $ac_link) 2>&5
30682
 
  ac_status=$?
30683
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684
 
  (exit $ac_status); } && test -s conftest; then
30685
 
  rm -f conftest*
30686
 
else
30687
 
  echo "configure: failed program was:" >&5
30688
 
  cat conftest.$ac_ext >&5
30689
 
  ac_qt_libraries="NO"
30690
 
fi
30691
 
rm -f conftest*
30692
 
CXXFLAGS="$ac_cxxflags_safe"
30693
 
LDFLAGS="$ac_ldflags_safe"
30694
 
LIBS="$ac_libs_safe"
30695
 
 
30696
 
ac_ext=c
30697
 
ac_cpp='$CPP $CPPFLAGS'
30698
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30699
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30700
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30701
 
 
30702
 
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
30703
 
  ac_cv_have_qt="have_qt=no"
30704
 
  ac_qt_notfound=""
30705
 
  missing_qt_mt=""
30706
 
  if test "$ac_qt_includes" = NO; then
30707
 
    if test "$ac_qt_libraries" = NO; then
30708
 
      ac_qt_notfound="(headers and libraries)";
30709
 
    else
30710
 
      ac_qt_notfound="(headers)";
30711
 
    fi
30712
 
  else
30713
 
    if test "x$kde_use_qt_mt" = "xyes"; then
30714
 
       missing_qt_mt="
30715
 
Make sure that you have compiled Qt with thread support!"
30716
 
       ac_qt_notfound="(library $qtlib-mt)";
30717
 
    else
30718
 
       ac_qt_notfound="(library $qtlib)";
30719
 
    fi
30720
 
  fi
30721
 
 
30722
 
  { { $as_echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30723
 
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
30724
 
$as_echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30725
 
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
30726
 
   { (exit 1); exit 1; }; }
30727
 
else
30728
 
  have_qt="yes"
30729
 
fi
30730
 
 
30731
 
fi
30732
 
 
30733
 
 
30734
 
eval "$ac_cv_have_qt"
30735
 
 
30736
 
if test "$have_qt" != yes; then
30737
 
  { $as_echo "$as_me:$LINENO: result: $have_qt" >&5
30738
 
$as_echo "$have_qt" >&6; };
30739
 
else
30740
 
  ac_cv_have_qt="have_qt=yes \
30741
 
    ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
30742
 
  { $as_echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
30743
 
$as_echo "libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6; }
30744
 
 
30745
 
  qt_libraries="$ac_qt_libraries"
30746
 
  qt_includes="$ac_qt_includes"
30747
 
fi
30748
 
 
30749
 
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
30750
 
 
30751
 
 
30752
 
{ $as_echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
30753
 
$as_echo_n "checking if Qt compiles without flags... " >&6; }
30754
 
if test "${kde_cv_qt_direct+set}" = set; then
30755
 
  $as_echo_n "(cached) " >&6
30756
 
else
30757
 
 
30758
 
 
30759
 
 ac_ext=cpp
30760
 
ac_cpp='$CXXCPP $CPPFLAGS'
30761
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30762
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30763
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30764
 
 
30765
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30766
 
 
30767
 
 
30768
 
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
30769
 
ac_LIBRARY_PATH="$LIBRARY_PATH"
30770
 
ac_cxxflags_safe="$CXXFLAGS"
30771
 
ac_ldflags_safe="$LDFLAGS"
30772
 
ac_libs_safe="$LIBS"
30773
 
 
30774
 
CXXFLAGS="$CXXFLAGS -I$qt_includes"
30775
 
LDFLAGS="$LDFLAGS $X_LDFLAGS"
30776
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30777
 
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
30778
 
else
30779
 
LIBS="$LIBQT $LIBSOCKET"
30780
 
fi
30781
 
LD_LIBRARY_PATH=
30782
 
export LD_LIBRARY_PATH
30783
 
LIBRARY_PATH=
30784
 
export LIBRARY_PATH
30785
 
 
30786
 
 
30787
 
 
30788
 
cat > conftest.$ac_ext <<EOF
30789
 
#include "confdefs.h"
30790
 
#include <qglobal.h>
30791
 
#include <qapplication.h>
30792
 
EOF
30793
 
if test "$kde_qtver" = "2"; then
30794
 
cat >> conftest.$ac_ext <<EOF
30795
 
#include <qevent.h>
30796
 
#include <qstring.h>
30797
 
#include <qstyle.h>
30798
 
EOF
30799
 
 
30800
 
if test $kde_qtsubver -gt 0; then
30801
 
cat >> conftest.$ac_ext <<EOF
30802
 
#if QT_VERSION < 210
30803
 
#error 1
30804
 
#endif
30805
 
EOF
30806
 
fi
30807
 
fi
30808
 
 
30809
 
if test "$kde_qtver" = "3"; then
30810
 
cat >> conftest.$ac_ext <<EOF
30811
 
#include <qcursor.h>
30812
 
#include <qstylefactory.h>
30813
 
#include <private/qucomextra_p.h>
30814
 
EOF
30815
 
fi
30816
 
 
30817
 
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30818
 
cat >> conftest.$ac_ext <<EOF
30819
 
#error 1
30820
 
#endif
30821
 
 
30822
 
int main() {
30823
 
EOF
30824
 
if test "$kde_qtver" = "2"; then
30825
 
cat >> conftest.$ac_ext <<EOF
30826
 
    QStringList *t = new QStringList();
30827
 
    Q_UNUSED(t);
30828
 
EOF
30829
 
if test $kde_qtsubver -gt 0; then
30830
 
cat >> conftest.$ac_ext <<EOF
30831
 
    QString s;
30832
 
    s.setLatin1("Elvis is alive", 14);
30833
 
EOF
30834
 
fi
30835
 
fi
30836
 
if test "$kde_qtver" = "3"; then
30837
 
cat >> conftest.$ac_ext <<EOF
30838
 
    (void)QStyleFactory::create(QString::null);
30839
 
    QCursor c(Qt::WhatsThisCursor);
30840
 
EOF
30841
 
fi
30842
 
cat >> conftest.$ac_ext <<EOF
30843
 
    return 0;
30844
 
}
30845
 
EOF
30846
 
 
30847
 
 
30848
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30849
 
  (eval $ac_link) 2>&5
30850
 
  ac_status=$?
30851
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852
 
  (exit $ac_status); } && test -s conftest; then
30853
 
  kde_cv_qt_direct="yes"
30854
 
else
30855
 
  kde_cv_qt_direct="no"
30856
 
  echo "configure: failed program was:" >&5
30857
 
  cat conftest.$ac_ext >&5
30858
 
fi
30859
 
 
30860
 
rm -f conftest*
30861
 
CXXFLAGS="$ac_cxxflags_safe"
30862
 
LDFLAGS="$ac_ldflags_safe"
30863
 
LIBS="$ac_libs_safe"
30864
 
 
30865
 
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
30866
 
export LD_LIBRARY_PATH
30867
 
LIBRARY_PATH="$ac_LIBRARY_PATH"
30868
 
export LIBRARY_PATH
30869
 
ac_ext=c
30870
 
ac_cpp='$CPP $CPPFLAGS'
30871
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30872
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30873
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30874
 
 
30875
 
 
30876
 
fi
30877
 
 
30878
 
 
30879
 
if test "$kde_cv_qt_direct" = "yes"; then
30880
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
30881
 
$as_echo "yes" >&6; }
30882
 
  qt_libraries=
30883
 
else
30884
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
30885
 
$as_echo "no" >&6; }
30886
 
 
30887
 
fi
30888
 
 
30889
 
fi
30890
 
 
30891
 
 
30892
 
 
30893
 
 
30894
 
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
30895
 
 QT_INCLUDES=""
30896
 
else
30897
 
 QT_INCLUDES="-I$qt_includes"
30898
 
 all_includes="$QT_INCLUDES $all_includes"
30899
 
fi
30900
 
 
30901
 
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
30902
 
 QT_LDFLAGS=""
30903
 
else
30904
 
 QT_LDFLAGS="-L$qt_libraries"
30905
 
 all_libraries="$QT_LDFLAGS $all_libraries"
30906
 
fi
30907
 
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
30908
 
 
30909
 
 
30910
 
 
30911
 
 
30912
 
 
30913
 
   qt_bindirs=""
30914
 
   for dir in $kde_qt_dirs; do
30915
 
      qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
30916
 
   done
30917
 
   qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
30918
 
   if test ! "$ac_qt_bindir" = "NO"; then
30919
 
      qt_bindirs="$ac_qt_bindir $qt_bindirs"
30920
 
   fi
30921
 
 
30922
 
 
30923
 
   { $as_echo "$as_me:$LINENO: checking for moc" >&5
30924
 
$as_echo_n "checking for moc... " >&6; }
30925
 
   if test -n "$MOC"; then
30926
 
        kde_cv_path="$MOC";
30927
 
   else
30928
 
        kde_cache=`echo moc | sed 'y%./+-%__p_%'`
30929
 
 
30930
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30931
 
  $as_echo_n "(cached) " >&6
30932
 
else
30933
 
 
30934
 
        kde_cv_path="NONE"
30935
 
        kde_save_IFS=$IFS
30936
 
        IFS=':'
30937
 
        dirs=""
30938
 
        for dir in $PATH; do
30939
 
          dirs="$dirs $dir"
30940
 
        done
30941
 
        if test -z ""; then       dirs="$qt_bindirs $dirs"
30942
 
        else      dirs="$dirs $qt_bindirs"
30943
 
        fi
30944
 
        IFS=$kde_save_IFS
30945
 
 
30946
 
        for dir in $dirs; do
30947
 
          if test -x "$dir/moc"; then
30948
 
            if test -n ""
30949
 
            then
30950
 
              evalstr="$dir/moc  2>&1 "
30951
 
              if eval $evalstr; then
30952
 
                kde_cv_path="$dir/moc"
30953
 
                break
30954
 
              fi
30955
 
            else
30956
 
                kde_cv_path="$dir/moc"
30957
 
                break
30958
 
            fi
30959
 
          fi
30960
 
        done
30961
 
 
30962
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30963
 
 
30964
 
 
30965
 
fi
30966
 
 
30967
 
 
30968
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30969
 
 
30970
 
   fi
30971
 
 
30972
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30973
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
30974
 
$as_echo "not found" >&6; }
30975
 
 
30976
 
    { { $as_echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
30977
 
Please check whether you installed Qt correctly.
30978
 
You need to have a running moc binary.
30979
 
configure tried to run $ac_cv_path_moc and the test didn't
30980
 
succeed. If configure shouldn't have tried this one, set
30981
 
the environment variable MOC to the right one before running
30982
 
configure.
30983
 
" >&5
30984
 
$as_echo "$as_me: error: No Qt meta object compiler (moc) found!
30985
 
Please check whether you installed Qt correctly.
30986
 
You need to have a running moc binary.
30987
 
configure tried to run $ac_cv_path_moc and the test didn't
30988
 
succeed. If configure shouldn't have tried this one, set
30989
 
the environment variable MOC to the right one before running
30990
 
configure.
30991
 
" >&2;}
30992
 
   { (exit 1); exit 1; }; }
30993
 
 
30994
 
   else
30995
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30996
 
$as_echo "$kde_cv_path" >&6; }
30997
 
      MOC=$kde_cv_path
30998
 
 
30999
 
   fi
31000
 
 
31001
 
   if test -z "$UIC_NOT_NEEDED"; then
31002
 
 
31003
 
   { $as_echo "$as_me:$LINENO: checking for uic" >&5
31004
 
$as_echo_n "checking for uic... " >&6; }
31005
 
   if test -n "$UIC_PATH"; then
31006
 
        kde_cv_path="$UIC_PATH";
31007
 
   else
31008
 
        kde_cache=`echo uic | sed 'y%./+-%__p_%'`
31009
 
 
31010
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31011
 
  $as_echo_n "(cached) " >&6
31012
 
else
31013
 
 
31014
 
        kde_cv_path="NONE"
31015
 
        kde_save_IFS=$IFS
31016
 
        IFS=':'
31017
 
        dirs=""
31018
 
        for dir in $PATH; do
31019
 
          dirs="$dirs $dir"
31020
 
        done
31021
 
        if test -z ""; then       dirs="$qt_bindirs $dirs"
31022
 
        else      dirs="$dirs $qt_bindirs"
31023
 
        fi
31024
 
        IFS=$kde_save_IFS
31025
 
 
31026
 
        for dir in $dirs; do
31027
 
          if test -x "$dir/uic"; then
31028
 
            if test -n ""
31029
 
            then
31030
 
              evalstr="$dir/uic  2>&1 "
31031
 
              if eval $evalstr; then
31032
 
                kde_cv_path="$dir/uic"
31033
 
                break
31034
 
              fi
31035
 
            else
31036
 
                kde_cv_path="$dir/uic"
31037
 
                break
31038
 
            fi
31039
 
          fi
31040
 
        done
31041
 
 
31042
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
31043
 
 
31044
 
 
31045
 
fi
31046
 
 
31047
 
 
31048
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31049
 
 
31050
 
   fi
31051
 
 
31052
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31053
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
31054
 
$as_echo "not found" >&6; }
31055
 
      UIC_PATH=""
31056
 
   else
31057
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31058
 
$as_echo "$kde_cv_path" >&6; }
31059
 
      UIC_PATH=$kde_cv_path
31060
 
 
31061
 
   fi
31062
 
 
31063
 
     if test -z "$UIC_PATH" ; then
31064
 
 
31065
 
    { $as_echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
31066
 
Please check whether you installed Qt correctly.
31067
 
You need to have a running uic binary.
31068
 
configure tried to run $ac_cv_path_uic and the test didn't
31069
 
succeed. If configure shouldn't have tried this one, set
31070
 
the environment variable UIC to the right one before running
31071
 
configure.
31072
 
" >&5
31073
 
$as_echo "$as_me: WARNING: No Qt ui compiler (uic) found!
31074
 
Please check whether you installed Qt correctly.
31075
 
You need to have a running uic binary.
31076
 
configure tried to run $ac_cv_path_uic and the test didn't
31077
 
succeed. If configure shouldn't have tried this one, set
31078
 
the environment variable UIC to the right one before running
31079
 
configure.
31080
 
" >&2;}
31081
 
 
31082
 
       exit 1
31083
 
     else
31084
 
       UIC=$UIC_PATH
31085
 
 
31086
 
       if test $kde_qtver = 3; then
31087
 
 
31088
 
    { $as_echo "$as_me:$LINENO: checking whether uic supports -L " >&5
31089
 
$as_echo_n "checking whether uic supports -L ... " >&6; }
31090
 
    kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
31091
 
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31092
 
  $as_echo_n "(cached) " >&6
31093
 
else
31094
 
 
31095
 
        cat >conftest.ui <<EOT
31096
 
        <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
31097
 
EOT
31098
 
        ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
31099
 
        if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
31100
 
  (eval $ac_uic_testrun) 2>&5
31101
 
  ac_status=$?
31102
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103
 
  (exit $ac_status); }; then
31104
 
            eval "kde_cv_prog_uic_$kde_cache=yes"
31105
 
        else
31106
 
            eval "kde_cv_prog_uic_$kde_cache=no"
31107
 
        fi
31108
 
        rm -f conftest*
31109
 
 
31110
 
fi
31111
 
 
31112
 
 
31113
 
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
31114
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
31115
 
$as_echo "yes" >&6; }
31116
 
        :
31117
 
        ac_uic_supports_libpath=yes
31118
 
    else
31119
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
31120
 
$as_echo "no" >&6; }
31121
 
        :
31122
 
        ac_uic_supports_libpath=no
31123
 
    fi
31124
 
 
31125
 
 
31126
 
    { $as_echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
31127
 
$as_echo_n "checking whether uic supports -nounload ... " >&6; }
31128
 
    kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
31129
 
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31130
 
  $as_echo_n "(cached) " >&6
31131
 
else
31132
 
 
31133
 
        cat >conftest.ui <<EOT
31134
 
        <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
31135
 
EOT
31136
 
        ac_uic_testrun="$UIC_PATH -nounload  conftest.ui >/dev/null"
31137
 
        if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
31138
 
  (eval $ac_uic_testrun) 2>&5
31139
 
  ac_status=$?
31140
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31141
 
  (exit $ac_status); }; then
31142
 
            eval "kde_cv_prog_uic_$kde_cache=yes"
31143
 
        else
31144
 
            eval "kde_cv_prog_uic_$kde_cache=no"
31145
 
        fi
31146
 
        rm -f conftest*
31147
 
 
31148
 
fi
31149
 
 
31150
 
 
31151
 
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
31152
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
31153
 
$as_echo "yes" >&6; }
31154
 
        :
31155
 
        ac_uic_supports_nounload=yes
31156
 
    else
31157
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
31158
 
$as_echo "no" >&6; }
31159
 
        :
31160
 
        ac_uic_supports_nounload=no
31161
 
    fi
31162
 
 
31163
 
 
31164
 
         if test x$ac_uic_supports_libpath = xyes; then
31165
 
             UIC="$UIC -L \$(kde_widgetdir)"
31166
 
         fi
31167
 
         if test x$ac_uic_supports_nounload = xyes; then
31168
 
             UIC="$UIC -nounload"
31169
 
         fi
31170
 
       fi
31171
 
     fi
31172
 
   else
31173
 
     UIC="echo uic not available: "
31174
 
   fi
31175
 
 
31176
 
 
31177
 
 
31178
 
 
31179
 
   UIC_TR="i18n"
31180
 
   if test $kde_qtver = 3; then
31181
 
     UIC_TR="tr2i18n"
31182
 
   fi
31183
 
 
31184
 
 
31185
 
 
31186
 
 
31187
 
 
31188
 
if test -n "$LIBJPEG"; then
31189
 
{ $as_echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
31190
 
$as_echo_n "checking if Qt needs $LIBJPEG... " >&6; }
31191
 
if test "${kde_cv_qt_jpeg+set}" = set; then
31192
 
  $as_echo_n "(cached) " >&6
31193
 
else
31194
 
 
31195
 
 
31196
 
 ac_ext=cpp
31197
 
ac_cpp='$CXXCPP $CPPFLAGS'
31198
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31199
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31200
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31201
 
 
31202
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31203
 
 
31204
 
 
31205
 
ac_save_LIBS="$LIBS"
31206
 
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
31207
 
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
31208
 
ac_save_CXXFLAGS="$CXXFLAGS"
31209
 
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
31210
 
cat >conftest.$ac_ext <<_ACEOF
31211
 
/* confdefs.h.  */
31212
 
_ACEOF
31213
 
cat confdefs.h >>conftest.$ac_ext
31214
 
cat >>conftest.$ac_ext <<_ACEOF
31215
 
/* end confdefs.h.  */
31216
 
#include <qapplication.h>
31217
 
int
31218
 
main ()
31219
 
{
31220
 
 
31221
 
            int argc;
31222
 
            char** argv;
31223
 
            QApplication app(argc, argv);
31224
 
  ;
31225
 
  return 0;
31226
 
}
31227
 
_ACEOF
31228
 
rm -f conftest.$ac_objext conftest$ac_exeext
31229
 
if { (ac_try="$ac_link"
31230
 
case "(($ac_try" in
31231
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31232
 
  *) ac_try_echo=$ac_try;;
31233
 
esac
31234
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31235
 
$as_echo "$ac_try_echo") >&5
31236
 
  (eval "$ac_link") 2>conftest.er1
31237
 
  ac_status=$?
31238
 
  grep -v '^ *+' conftest.er1 >conftest.err
31239
 
  rm -f conftest.er1
31240
 
  cat conftest.err >&5
31241
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242
 
  (exit $ac_status); } && {
31243
 
         test -z "$ac_cxx_werror_flag" ||
31244
 
         test ! -s conftest.err
31245
 
       } && test -s conftest$ac_exeext && {
31246
 
         test "$cross_compiling" = yes ||
31247
 
         $as_test_x conftest$ac_exeext
31248
 
       }; then
31249
 
  eval "kde_cv_qt_jpeg=no"
31250
 
else
31251
 
  $as_echo "$as_me: failed program was:" >&5
31252
 
sed 's/^/| /' conftest.$ac_ext >&5
31253
 
 
31254
 
        eval "kde_cv_qt_jpeg=yes"
31255
 
fi
31256
 
 
31257
 
rm -rf conftest.dSYM
31258
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31259
 
      conftest$ac_exeext conftest.$ac_ext
31260
 
LIBS="$ac_save_LIBS"
31261
 
CXXFLAGS="$ac_save_CXXFLAGS"
31262
 
ac_ext=c
31263
 
ac_cpp='$CPP $CPPFLAGS'
31264
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31265
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31266
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31267
 
 
31268
 
fi
31269
 
 
31270
 
fi
31271
 
 
31272
 
 
31273
 
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
31274
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
31275
 
$as_echo "yes" >&6; }
31276
 
  LIBJPEG_QT='$(LIBJPEG)'
31277
 
else
31278
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
31279
 
$as_echo "no" >&6; }
31280
 
  LIBJPEG_QT=
31281
 
fi
31282
 
 
31283
 
 
31284
 
 
31285
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
31286
 
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
31287
 
else
31288
 
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
31289
 
fi
31290
 
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
31291
 
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
31292
 
  if test -e "$a"; then
31293
 
     LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
31294
 
     break
31295
 
  fi
31296
 
done
31297
 
 
31298
 
 
31299
 
 
31300
 
 
31301
 
 
31302
 
 
31303
 
 
31304
 
 
31305
 
 
31306
 
 
31307
 
 
31308
 
 
31309
 
 
31310
 
{ $as_echo "$as_me:$LINENO: checking for rpath" >&5
31311
 
$as_echo_n "checking for rpath... " >&6; }
31312
 
# Check whether --enable-rpath was given.
31313
 
if test "${enable_rpath+set}" = set; then
31314
 
  enableval=$enable_rpath; USE_RPATH=$enableval
31315
 
else
31316
 
  USE_RPATH=yes
31317
 
fi
31318
 
 
31319
 
 
31320
 
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
31321
 
 
31322
 
  KDE_RPATH="-R \$(libdir)"
31323
 
 
31324
 
  if test "$kde_libraries" != "$libdir"; then
31325
 
      KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
31326
 
  fi
31327
 
 
31328
 
  if test -n "$qt_libraries"; then
31329
 
    KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
31330
 
  fi
31331
 
    if test -n "$X_LDFLAGS"; then
31332
 
    X_RPATH="-R \$(x_libraries)"
31333
 
    KDE_RPATH="$KDE_RPATH $X_RPATH"
31334
 
  fi
31335
 
  if test -n "$KDE_EXTRA_RPATH"; then
31336
 
    KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
31337
 
  fi
31338
 
fi
31339
 
 
31340
 
 
31341
 
 
31342
 
{ $as_echo "$as_me:$LINENO: result: $USE_RPATH" >&5
31343
 
$as_echo "$USE_RPATH" >&6; }
31344
 
 
31345
 
{ $as_echo "$as_me:$LINENO: checking for KDE" >&5
31346
 
$as_echo_n "checking for KDE... " >&6; }
31347
 
 
31348
 
if test "${prefix}" != NONE; then
31349
 
  kde_includes=${includedir}
31350
 
 
31351
 
savex=$exec_prefix
31352
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31353
 
tmp=$includedir
31354
 
while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
31355
 
exec_prefix=$savex
31356
 
 
31357
 
 
31358
 
  kde_libraries=${libdir}
31359
 
 
31360
 
savex=$exec_prefix
31361
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31362
 
tmp=$libdir
31363
 
while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
31364
 
exec_prefix=$savex
31365
 
 
31366
 
 
31367
 
else
31368
 
  ac_kde_includes=
31369
 
  ac_kde_libraries=
31370
 
  kde_libraries=""
31371
 
  kde_includes=""
31372
 
fi
31373
 
 
31374
 
if test "${ac_cv_have_kde+set}" = set; then
31375
 
  $as_echo_n "(cached) " >&6
31376
 
else
31377
 
  #try to guess kde locations
31378
 
 
31379
 
if test "$kde_qtver" = 1; then
31380
 
  kde_check_header="ksock.h"
31381
 
  kde_check_lib="libkdecore.la"
31382
 
else
31383
 
  kde_check_header="ksharedptr.h"
31384
 
  kde_check_lib="libkio.la"
31385
 
fi
31386
 
 
31387
 
if test -z ""; then
31388
 
 
31389
 
kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
31390
 
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
31391
 
kde_incdirs="$ac_kde_includes $kde_incdirs"
31392
 
 
31393
 
kde_incdir=NO
31394
 
for i in $kde_incdirs;
31395
 
do
31396
 
  for j in $kde_check_header;
31397
 
  do
31398
 
    echo "configure: 31398: $i/$j" >&5
31399
 
    if test -r "$i/$j"; then
31400
 
      echo "taking that" >&5
31401
 
      kde_incdir=$i
31402
 
      break 2
31403
 
    fi
31404
 
  done
31405
 
done
31406
 
 
31407
 
ac_kde_includes="$kde_incdir"
31408
 
 
31409
 
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
31410
 
  { { $as_echo "$as_me:$LINENO: error:
31411
 
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31412
 
So, check this please and use another prefix!" >&5
31413
 
$as_echo "$as_me: error:
31414
 
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31415
 
So, check this please and use another prefix!" >&2;}
31416
 
   { (exit 1); exit 1; }; }
31417
 
fi
31418
 
 
31419
 
kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
31420
 
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
31421
 
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
31422
 
 
31423
 
kde_libdir=NO
31424
 
for i in $kde_libdirs;
31425
 
do
31426
 
  for j in $kde_check_lib;
31427
 
  do
31428
 
    echo "configure: 31428: $i/$j" >&5
31429
 
    if test -r "$i/$j"; then
31430
 
      echo "taking that" >&5
31431
 
      kde_libdir=$i
31432
 
      break 2
31433
 
    fi
31434
 
  done
31435
 
done
31436
 
 
31437
 
ac_kde_libraries="$kde_libdir"
31438
 
 
31439
 
kde_widgetdir=NO
31440
 
 
31441
 
kde_widgetdir=NO
31442
 
for i in $kde_libdirs;
31443
 
do
31444
 
  for j in "kde3/plugins/designer/kdewidgets.la";
31445
 
  do
31446
 
    echo "configure: 31446: $i/$j" >&5
31447
 
    if test -r "$i/$j"; then
31448
 
      echo "taking that" >&5
31449
 
      kde_widgetdir=$i
31450
 
      break 2
31451
 
    fi
31452
 
  done
31453
 
done
31454
 
 
31455
 
 
31456
 
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
31457
 
{ { $as_echo "$as_me:$LINENO: error:
31458
 
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31459
 
So, check this please and use another prefix!" >&5
31460
 
$as_echo "$as_me: error:
31461
 
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31462
 
So, check this please and use another prefix!" >&2;}
31463
 
   { (exit 1); exit 1; }; }
31464
 
fi
31465
 
 
31466
 
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
31467
 
{ { $as_echo "$as_me:$LINENO: error:
31468
 
I can't find the designer plugins. These are required and should have been installed
31469
 
by kdelibs" >&5
31470
 
$as_echo "$as_me: error:
31471
 
I can't find the designer plugins. These are required and should have been installed
31472
 
by kdelibs" >&2;}
31473
 
   { (exit 1); exit 1; }; }
31474
 
fi
31475
 
 
31476
 
if test -n "$kde_widgetdir"; then
31477
 
    kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
31478
 
fi
31479
 
 
31480
 
 
31481
 
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
31482
 
  ac_cv_have_kde="have_kde=no"
31483
 
else
31484
 
  ac_cv_have_kde="have_kde=yes \
31485
 
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31486
 
fi
31487
 
 
31488
 
else
31489
 
  ac_cv_have_kde="have_kde=no"
31490
 
 
31491
 
fi
31492
 
 
31493
 
fi
31494
 
 
31495
 
eval "$ac_cv_have_kde"
31496
 
 
31497
 
if test "$have_kde" != "yes"; then
31498
 
 if test "${prefix}" = NONE; then
31499
 
  ac_kde_prefix="$ac_default_prefix"
31500
 
 else
31501
 
  ac_kde_prefix="$prefix"
31502
 
 fi
31503
 
 if test "$exec_prefix" = NONE; then
31504
 
  ac_kde_exec_prefix="$ac_kde_prefix"
31505
 
  { $as_echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
31506
 
$as_echo "will be installed in $ac_kde_prefix" >&6; }
31507
 
 else
31508
 
  ac_kde_exec_prefix="$exec_prefix"
31509
 
  { $as_echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
31510
 
$as_echo "will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6; }
31511
 
 fi
31512
 
 
31513
 
 kde_libraries="${libdir}"
31514
 
 kde_includes="${includedir}"
31515
 
 
31516
 
else
31517
 
  ac_cv_have_kde="have_kde=yes \
31518
 
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31519
 
  { $as_echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
31520
 
$as_echo "libraries $ac_kde_libraries, headers $ac_kde_includes" >&6; }
31521
 
 
31522
 
  kde_libraries="$ac_kde_libraries"
31523
 
  kde_includes="$ac_kde_includes"
31524
 
fi
31525
 
 
31526
 
 
31527
 
 
31528
 
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes"  || test "$kde_includes" = "/usr/include"; then
31529
 
 KDE_INCLUDES=""
31530
 
else
31531
 
 KDE_INCLUDES="-I$kde_includes"
31532
 
 all_includes="$KDE_INCLUDES $all_includes"
31533
 
fi
31534
 
 
31535
 
KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
31536
 
 
31537
 
KDE_LDFLAGS="-L$kde_libraries"
31538
 
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
31539
 
 all_libraries="$KDE_LDFLAGS $all_libraries"
31540
 
fi
31541
 
 
31542
 
 
31543
 
 
31544
 
 
31545
 
 
31546
 
 
31547
 
all_libraries="$all_libraries $USER_LDFLAGS"
31548
 
all_includes="$all_includes $USER_INCLUDES"
31549
 
 
31550
 
 
31551
 
 
31552
 
if test -z ""; then
31553
 
 
31554
 
 
31555
 
 
31556
 
if test x$ac_uic_supports_libpath = xyes; then
31557
 
 
31558
 
{ $as_echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
31559
 
$as_echo_n "checking if UIC has KDE plugins available... " >&6; }
31560
 
if test "${kde_cv_uic_plugins+set}" = set; then
31561
 
  $as_echo_n "(cached) " >&6
31562
 
else
31563
 
 
31564
 
cat > actest.ui << EOF
31565
 
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
31566
 
<class>NewConnectionDialog</class>
31567
 
<widget class="QDialog">
31568
 
   <widget class="KLineEdit">
31569
 
        <property name="name">
31570
 
           <cstring>testInput</cstring>
31571
 
        </property>
31572
 
   </widget>
31573
 
</widget>
31574
 
</UI>
31575
 
EOF
31576
 
 
31577
 
 
31578
 
 
31579
 
kde_cv_uic_plugins=no
31580
 
kde_line="$UIC_PATH -L $kde_widgetdir"
31581
 
if test x$ac_uic_supports_nounload = xyes; then
31582
 
   kde_line="$kde_line -nounload"
31583
 
fi
31584
 
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
31585
 
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
31586
 
  (eval $kde_line) 2>&5
31587
 
  ac_status=$?
31588
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589
 
  (exit $ac_status); }; then
31590
 
        # if you're trying to debug this check and think it's incorrect,
31591
 
        # better check your installation. The check _is_ correct - your
31592
 
        # installation is not.
31593
 
        if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
31594
 
                kde_cv_uic_plugins=yes
31595
 
        fi
31596
 
fi
31597
 
rm -f actest.ui actest.cpp
31598
 
 
31599
 
fi
31600
 
 
31601
 
 
31602
 
{ $as_echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
31603
 
$as_echo "$kde_cv_uic_plugins" >&6; }
31604
 
if test "$kde_cv_uic_plugins" != yes; then
31605
 
        { { $as_echo "$as_me:$LINENO: error:
31606
 
you need to install kdelibs first.
31607
 
 
31608
 
If you did install kdelibs, then the Qt version that is picked up by
31609
 
this configure is not the same version you used to compile kdelibs.
31610
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31611
 
_same Qt version_, compiled with the _same compiler_ and the same Qt
31612
 
configuration settings.
31613
 
" >&5
31614
 
$as_echo "$as_me: error:
31615
 
you need to install kdelibs first.
31616
 
 
31617
 
If you did install kdelibs, then the Qt version that is picked up by
31618
 
this configure is not the same version you used to compile kdelibs.
31619
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31620
 
_same Qt version_, compiled with the _same compiler_ and the same Qt
31621
 
configuration settings.
31622
 
" >&2;}
31623
 
   { (exit 1); exit 1; }; }
31624
 
fi
31625
 
fi
31626
 
 
31627
 
fi
31628
 
 
31629
 
ac_kde_libraries="$kde_libdir"
31630
 
 
31631
 
 
31632
 
 
31633
 
 
31634
 
 
31635
 
  # Check whether --enable-path-check was given.
31636
 
if test "${enable_path_check+set}" = set; then
31637
 
  enableval=$enable_path_check;
31638
 
  if test "$enableval" = "no";
31639
 
    then ac_use_path_checking="default"
31640
 
    else ac_use_path_checking=""
31641
 
  fi
31642
 
 
31643
 
else
31644
 
 
31645
 
  if test "$kde_qtver" = 1;
31646
 
    then ac_use_path_checking=""
31647
 
    else ac_use_path_checking="default"
31648
 
  fi
31649
 
 
31650
 
 
31651
 
fi
31652
 
 
31653
 
 
31654
 
 
31655
 
 
31656
 
 
31657
 
{ $as_echo "$as_me:$LINENO: checking for KDE paths" >&5
31658
 
$as_echo_n "checking for KDE paths... " >&6; }
31659
 
kde_result=""
31660
 
kde_cached_paths=yes
31661
 
if test "${kde_cv_all_paths+set}" = set; then
31662
 
  $as_echo_n "(cached) " >&6
31663
 
else
31664
 
 
31665
 
 
31666
 
if test "$ac_use_path_checking" = "default"; then
31667
 
 
31668
 
  if test -z "$kde_htmldir"; then
31669
 
    kde_htmldir='\${datadir}/doc/HTML'
31670
 
  fi
31671
 
  if test -z "$kde_appsdir"; then
31672
 
    kde_appsdir='\${datadir}/applnk'
31673
 
  fi
31674
 
  if test -z "$kde_icondir"; then
31675
 
    kde_icondir='\${datadir}/icons'
31676
 
  fi
31677
 
  if test -z "$kde_sounddir"; then
31678
 
    kde_sounddir='\${datadir}/sounds'
31679
 
  fi
31680
 
  if test -z "$kde_datadir"; then
31681
 
    kde_datadir='\${datadir}/apps'
31682
 
  fi
31683
 
  if test -z "$kde_locale"; then
31684
 
    kde_locale='\${datadir}/locale'
31685
 
  fi
31686
 
  if test -z "$kde_cgidir"; then
31687
 
    kde_cgidir='\${exec_prefix}/cgi-bin'
31688
 
  fi
31689
 
  if test -z "$kde_confdir"; then
31690
 
    kde_confdir='\${datadir}/config'
31691
 
  fi
31692
 
  if test -z "$kde_kcfgdir"; then
31693
 
    kde_kcfgdir='\${datadir}/config.kcfg'
31694
 
  fi
31695
 
  if test -z "$kde_mimedir"; then
31696
 
    kde_mimedir='\${datadir}/mimelnk'
31697
 
  fi
31698
 
  if test -z "$kde_toolbardir"; then
31699
 
    kde_toolbardir='\${datadir}/toolbar'
31700
 
  fi
31701
 
  if test -z "$kde_wallpaperdir"; then
31702
 
    kde_wallpaperdir='\${datadir}/wallpapers'
31703
 
  fi
31704
 
  if test -z "$kde_templatesdir"; then
31705
 
    kde_templatesdir='\${datadir}/templates'
31706
 
  fi
31707
 
  if test -z "$kde_bindir"; then
31708
 
    kde_bindir='\${exec_prefix}/bin'
31709
 
  fi
31710
 
  if test -z "$kde_servicesdir"; then
31711
 
    kde_servicesdir='\${datadir}/services'
31712
 
  fi
31713
 
  if test -z "$kde_servicetypesdir"; then
31714
 
    kde_servicetypesdir='\${datadir}/servicetypes'
31715
 
  fi
31716
 
  if test -z "$kde_moduledir"; then
31717
 
    if test "$kde_qtver" = "2"; then
31718
 
      kde_moduledir='\${libdir}/kde2'
31719
 
    else
31720
 
      kde_moduledir='\${libdir}/kde3'
31721
 
    fi
31722
 
  fi
31723
 
  if test -z "$kde_styledir"; then
31724
 
    kde_styledir='\${libdir}/kde3/plugins/styles'
31725
 
  fi
31726
 
  if test -z "$kde_widgetdir"; then
31727
 
    kde_widgetdir='\${libdir}/kde3/plugins/designer'
31728
 
  fi
31729
 
  if test -z "$xdg_appsdir"; then
31730
 
    xdg_appsdir='\${datadir}/applications/kde'
31731
 
  fi
31732
 
  if test -z "$xdg_menudir"; then
31733
 
    xdg_menudir='\${sysconfdir}/xdg/menus'
31734
 
  fi
31735
 
  if test -z "$xdg_directorydir"; then
31736
 
    xdg_directorydir='\${datadir}/desktop-directories'
31737
 
  fi
31738
 
 
31739
 
 
31740
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31741
 
        kde_htmldir=\"$kde_htmldir\" \
31742
 
        kde_appsdir=\"$kde_appsdir\" \
31743
 
        kde_icondir=\"$kde_icondir\" \
31744
 
        kde_sounddir=\"$kde_sounddir\" \
31745
 
        kde_datadir=\"$kde_datadir\" \
31746
 
        kde_locale=\"$kde_locale\" \
31747
 
        kde_cgidir=\"$kde_cgidir\" \
31748
 
        kde_confdir=\"$kde_confdir\" \
31749
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31750
 
        kde_mimedir=\"$kde_mimedir\" \
31751
 
        kde_toolbardir=\"$kde_toolbardir\" \
31752
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31753
 
        kde_templatesdir=\"$kde_templatesdir\" \
31754
 
        kde_bindir=\"$kde_bindir\" \
31755
 
        kde_servicesdir=\"$kde_servicesdir\" \
31756
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31757
 
        kde_moduledir=\"$kde_moduledir\" \
31758
 
        kde_styledir=\"$kde_styledir\" \
31759
 
        kde_widgetdir=\"$kde_widgetdir\" \
31760
 
        xdg_appsdir=\"$xdg_appsdir\" \
31761
 
        xdg_menudir=\"$xdg_menudir\" \
31762
 
        xdg_directorydir=\"$xdg_directorydir\" \
31763
 
        kde_result=defaults"
31764
 
 
31765
 
 
31766
 
else
31767
 
 
31768
 
  if test $kde_qtver = 1; then
31769
 
     { $as_echo "$as_me:$LINENO: result: compiling" >&5
31770
 
$as_echo "compiling" >&6; }
31771
 
 
31772
 
 
31773
 
    { $as_echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31774
 
$as_echo_n "checking for KDE headers installed... " >&6; }
31775
 
 
31776
 
     ac_ext=cpp
31777
 
ac_cpp='$CXXCPP $CPPFLAGS'
31778
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31779
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31780
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31781
 
 
31782
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31783
 
 
31784
 
 
31785
 
cat > conftest.$ac_ext <<EOF
31786
 
#ifdef STDC_HEADERS
31787
 
# include <stdlib.h>
31788
 
#endif
31789
 
#include <stdio.h>
31790
 
#include "confdefs.h"
31791
 
#include <kapp.h>
31792
 
 
31793
 
int main() {
31794
 
    printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31795
 
    printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31796
 
    printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31797
 
    printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31798
 
    printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31799
 
    printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31800
 
    printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31801
 
    printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31802
 
    printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31803
 
    printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31804
 
    printf("kde_wallpaperdir=\\"%s\\"\n",
31805
 
        KApplication::kde_wallpaperdir().data());
31806
 
    printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31807
 
    printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31808
 
    printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31809
 
    printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31810
 
    printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31811
 
    printf("kde_styledir=\\"/tmp/dummy\\"\n");
31812
 
    printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31813
 
    printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31814
 
    printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31815
 
    printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31816
 
    printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31817
 
    return 0;
31818
 
    }
31819
 
EOF
31820
 
 
31821
 
 ac_save_CPPFLAGS=$CPPFLAGS
31822
 
 CPPFLAGS="$all_includes $CPPFLAGS"
31823
 
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31824
 
  (eval $ac_compile) 2>&5
31825
 
  ac_status=$?
31826
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827
 
  (exit $ac_status); }; then
31828
 
   { $as_echo "$as_me:$LINENO: result: yes" >&5
31829
 
$as_echo "yes" >&6; }
31830
 
 else
31831
 
   { { $as_echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31832
 
Check, if you installed the KDE header files correctly.
31833
 
For more details about this problem, look at the end of config.log." >&5
31834
 
$as_echo "$as_me: error: your system is not able to compile a small KDE application!
31835
 
Check, if you installed the KDE header files correctly.
31836
 
For more details about this problem, look at the end of config.log." >&2;}
31837
 
   { (exit 1); exit 1; }; }
31838
 
  fi
31839
 
  CPPFLAGS=$ac_save_CPPFLAGS
31840
 
 
31841
 
  ac_ext=c
31842
 
ac_cpp='$CPP $CPPFLAGS'
31843
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31844
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31845
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31846
 
 
31847
 
 
31848
 
 
31849
 
  KDE_TEST_RPATH=
31850
 
 
31851
 
  if test -n "$USE_RPATH"; then
31852
 
 
31853
 
     if test -n "$kde_libraries"; then
31854
 
       KDE_TEST_RPATH="-R $kde_libraries"
31855
 
     fi
31856
 
 
31857
 
     if test -n "$qt_libraries"; then
31858
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31859
 
     fi
31860
 
 
31861
 
     if test -n "$x_libraries"; then
31862
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31863
 
     fi
31864
 
 
31865
 
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31866
 
  fi
31867
 
 
31868
 
{ $as_echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31869
 
$as_echo_n "checking for KDE libraries installed... " >&6; }
31870
 
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
31871
 
 
31872
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31873
 
  (eval $ac_link) 2>&5
31874
 
  ac_status=$?
31875
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876
 
  (exit $ac_status); } && test -s conftest; then
31877
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
31878
 
$as_echo "yes" >&6; }
31879
 
else
31880
 
  { { $as_echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31881
 
Check, if your compiler is installed correctly and if you have used the
31882
 
same compiler to compile Qt and kdelibs as you did use now.
31883
 
For more details about this problem, look at the end of config.log." >&5
31884
 
$as_echo "$as_me: error: your system fails at linking a small KDE application!
31885
 
Check, if your compiler is installed correctly and if you have used the
31886
 
same compiler to compile Qt and kdelibs as you did use now.
31887
 
For more details about this problem, look at the end of config.log." >&2;}
31888
 
   { (exit 1); exit 1; }; }
31889
 
fi
31890
 
 
31891
 
if eval `KDEDIR= ./conftest 2>&5`; then
31892
 
  kde_result=done
31893
 
else
31894
 
  kde_result=problems
31895
 
fi
31896
 
 
31897
 
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31898
 
kde_have_all_paths=yes
31899
 
 
31900
 
 
31901
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31902
 
        kde_htmldir=\"$kde_htmldir\" \
31903
 
        kde_appsdir=\"$kde_appsdir\" \
31904
 
        kde_icondir=\"$kde_icondir\" \
31905
 
        kde_sounddir=\"$kde_sounddir\" \
31906
 
        kde_datadir=\"$kde_datadir\" \
31907
 
        kde_locale=\"$kde_locale\" \
31908
 
        kde_cgidir=\"$kde_cgidir\" \
31909
 
        kde_confdir=\"$kde_confdir\" \
31910
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31911
 
        kde_mimedir=\"$kde_mimedir\" \
31912
 
        kde_toolbardir=\"$kde_toolbardir\" \
31913
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31914
 
        kde_templatesdir=\"$kde_templatesdir\" \
31915
 
        kde_bindir=\"$kde_bindir\" \
31916
 
        kde_servicesdir=\"$kde_servicesdir\" \
31917
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31918
 
        kde_moduledir=\"$kde_moduledir\" \
31919
 
        kde_styledir=\"$kde_styledir\" \
31920
 
        kde_widgetdir=\"$kde_widgetdir\" \
31921
 
        xdg_appsdir=\"$xdg_appsdir\" \
31922
 
        xdg_menudir=\"$xdg_menudir\" \
31923
 
        xdg_directorydir=\"$xdg_directorydir\" \
31924
 
        kde_result=$kde_result"
31925
 
 
31926
 
 
31927
 
 
31928
 
  else
31929
 
     { { $as_echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31930
 
$as_echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31931
 
   { (exit 1); exit 1; }; }
31932
 
  fi
31933
 
 
31934
 
fi
31935
 
 
31936
 
  kde_cached_paths=no
31937
 
 
31938
 
fi
31939
 
 
31940
 
eval "$kde_cv_all_paths"
31941
 
 if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
31942
 
   test -z "$kde_icondir" || test -z "$kde_sounddir" ||
31943
 
   test -z "$kde_datadir" || test -z "$kde_locale"  ||
31944
 
   test -z "$kde_cgidir"  || test -z "$kde_confdir" ||
31945
 
   test -z "$kde_kcfgdir" ||
31946
 
   test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
31947
 
   test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
31948
 
   test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
31949
 
   test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
31950
 
   test -z "$kde_styledir" || test -z "kde_widgetdir" ||
31951
 
   test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
31952
 
   test "x$kde_have_all_paths" != "xyes"; then
31953
 
     kde_have_all_paths=no
31954
 
  fi
31955
 
 
31956
 
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
31957
 
  # wrong values were cached, may be, we can set better ones
31958
 
  kde_result=
31959
 
  kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
31960
 
  kde_datadir= kde_locale=  kde_cgidir=  kde_confdir= kde_kcfgdir=
31961
 
  kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
31962
 
  kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
31963
 
  kde_have_all_paths=
31964
 
  kde_styledir=
31965
 
  kde_widgetdir=
31966
 
  xdg_appsdir = xdg_menudir= xdg_directorydir=
31967
 
 
31968
 
if test "$ac_use_path_checking" = "default"; then
31969
 
 
31970
 
  if test -z "$kde_htmldir"; then
31971
 
    kde_htmldir='\${datadir}/doc/HTML'
31972
 
  fi
31973
 
  if test -z "$kde_appsdir"; then
31974
 
    kde_appsdir='\${datadir}/applnk'
31975
 
  fi
31976
 
  if test -z "$kde_icondir"; then
31977
 
    kde_icondir='\${datadir}/icons'
31978
 
  fi
31979
 
  if test -z "$kde_sounddir"; then
31980
 
    kde_sounddir='\${datadir}/sounds'
31981
 
  fi
31982
 
  if test -z "$kde_datadir"; then
31983
 
    kde_datadir='\${datadir}/apps'
31984
 
  fi
31985
 
  if test -z "$kde_locale"; then
31986
 
    kde_locale='\${datadir}/locale'
31987
 
  fi
31988
 
  if test -z "$kde_cgidir"; then
31989
 
    kde_cgidir='\${exec_prefix}/cgi-bin'
31990
 
  fi
31991
 
  if test -z "$kde_confdir"; then
31992
 
    kde_confdir='\${datadir}/config'
31993
 
  fi
31994
 
  if test -z "$kde_kcfgdir"; then
31995
 
    kde_kcfgdir='\${datadir}/config.kcfg'
31996
 
  fi
31997
 
  if test -z "$kde_mimedir"; then
31998
 
    kde_mimedir='\${datadir}/mimelnk'
31999
 
  fi
32000
 
  if test -z "$kde_toolbardir"; then
32001
 
    kde_toolbardir='\${datadir}/toolbar'
32002
 
  fi
32003
 
  if test -z "$kde_wallpaperdir"; then
32004
 
    kde_wallpaperdir='\${datadir}/wallpapers'
32005
 
  fi
32006
 
  if test -z "$kde_templatesdir"; then
32007
 
    kde_templatesdir='\${datadir}/templates'
32008
 
  fi
32009
 
  if test -z "$kde_bindir"; then
32010
 
    kde_bindir='\${exec_prefix}/bin'
32011
 
  fi
32012
 
  if test -z "$kde_servicesdir"; then
32013
 
    kde_servicesdir='\${datadir}/services'
32014
 
  fi
32015
 
  if test -z "$kde_servicetypesdir"; then
32016
 
    kde_servicetypesdir='\${datadir}/servicetypes'
32017
 
  fi
32018
 
  if test -z "$kde_moduledir"; then
32019
 
    if test "$kde_qtver" = "2"; then
32020
 
      kde_moduledir='\${libdir}/kde2'
32021
 
    else
32022
 
      kde_moduledir='\${libdir}/kde3'
32023
 
    fi
32024
 
  fi
32025
 
  if test -z "$kde_styledir"; then
32026
 
    kde_styledir='\${libdir}/kde3/plugins/styles'
32027
 
  fi
32028
 
  if test -z "$kde_widgetdir"; then
32029
 
    kde_widgetdir='\${libdir}/kde3/plugins/designer'
32030
 
  fi
32031
 
  if test -z "$xdg_appsdir"; then
32032
 
    xdg_appsdir='\${datadir}/applications/kde'
32033
 
  fi
32034
 
  if test -z "$xdg_menudir"; then
32035
 
    xdg_menudir='\${sysconfdir}/xdg/menus'
32036
 
  fi
32037
 
  if test -z "$xdg_directorydir"; then
32038
 
    xdg_directorydir='\${datadir}/desktop-directories'
32039
 
  fi
32040
 
 
32041
 
 
32042
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
32043
 
        kde_htmldir=\"$kde_htmldir\" \
32044
 
        kde_appsdir=\"$kde_appsdir\" \
32045
 
        kde_icondir=\"$kde_icondir\" \
32046
 
        kde_sounddir=\"$kde_sounddir\" \
32047
 
        kde_datadir=\"$kde_datadir\" \
32048
 
        kde_locale=\"$kde_locale\" \
32049
 
        kde_cgidir=\"$kde_cgidir\" \
32050
 
        kde_confdir=\"$kde_confdir\" \
32051
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
32052
 
        kde_mimedir=\"$kde_mimedir\" \
32053
 
        kde_toolbardir=\"$kde_toolbardir\" \
32054
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
32055
 
        kde_templatesdir=\"$kde_templatesdir\" \
32056
 
        kde_bindir=\"$kde_bindir\" \
32057
 
        kde_servicesdir=\"$kde_servicesdir\" \
32058
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
32059
 
        kde_moduledir=\"$kde_moduledir\" \
32060
 
        kde_styledir=\"$kde_styledir\" \
32061
 
        kde_widgetdir=\"$kde_widgetdir\" \
32062
 
        xdg_appsdir=\"$xdg_appsdir\" \
32063
 
        xdg_menudir=\"$xdg_menudir\" \
32064
 
        xdg_directorydir=\"$xdg_directorydir\" \
32065
 
        kde_result=defaults"
32066
 
 
32067
 
 
32068
 
else
32069
 
 
32070
 
  if test $kde_qtver = 1; then
32071
 
     { $as_echo "$as_me:$LINENO: result: compiling" >&5
32072
 
$as_echo "compiling" >&6; }
32073
 
 
32074
 
 
32075
 
    { $as_echo "$as_me:$LINENO: checking for KDE headers installed" >&5
32076
 
$as_echo_n "checking for KDE headers installed... " >&6; }
32077
 
 
32078
 
     ac_ext=cpp
32079
 
ac_cpp='$CXXCPP $CPPFLAGS'
32080
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32083
 
 
32084
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
32085
 
 
32086
 
 
32087
 
cat > conftest.$ac_ext <<EOF
32088
 
#ifdef STDC_HEADERS
32089
 
# include <stdlib.h>
32090
 
#endif
32091
 
#include <stdio.h>
32092
 
#include "confdefs.h"
32093
 
#include <kapp.h>
32094
 
 
32095
 
int main() {
32096
 
    printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
32097
 
    printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
32098
 
    printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
32099
 
    printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
32100
 
    printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
32101
 
    printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
32102
 
    printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
32103
 
    printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
32104
 
    printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
32105
 
    printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
32106
 
    printf("kde_wallpaperdir=\\"%s\\"\n",
32107
 
        KApplication::kde_wallpaperdir().data());
32108
 
    printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
32109
 
    printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
32110
 
    printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
32111
 
    printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
32112
 
    printf("kde_moduledir=\\"/tmp/dummy\\"\n");
32113
 
    printf("kde_styledir=\\"/tmp/dummy\\"\n");
32114
 
    printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
32115
 
    printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
32116
 
    printf("xdg_menudir=\\"/tmp/dummy\\"\n");
32117
 
    printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
32118
 
    printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
32119
 
    return 0;
32120
 
    }
32121
 
EOF
32122
 
 
32123
 
 ac_save_CPPFLAGS=$CPPFLAGS
32124
 
 CPPFLAGS="$all_includes $CPPFLAGS"
32125
 
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32126
 
  (eval $ac_compile) 2>&5
32127
 
  ac_status=$?
32128
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129
 
  (exit $ac_status); }; then
32130
 
   { $as_echo "$as_me:$LINENO: result: yes" >&5
32131
 
$as_echo "yes" >&6; }
32132
 
 else
32133
 
   { { $as_echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
32134
 
Check, if you installed the KDE header files correctly.
32135
 
For more details about this problem, look at the end of config.log." >&5
32136
 
$as_echo "$as_me: error: your system is not able to compile a small KDE application!
32137
 
Check, if you installed the KDE header files correctly.
32138
 
For more details about this problem, look at the end of config.log." >&2;}
32139
 
   { (exit 1); exit 1; }; }
32140
 
  fi
32141
 
  CPPFLAGS=$ac_save_CPPFLAGS
32142
 
 
32143
 
  ac_ext=c
32144
 
ac_cpp='$CPP $CPPFLAGS'
32145
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32146
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32147
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
32148
 
 
32149
 
 
32150
 
 
32151
 
  KDE_TEST_RPATH=
32152
 
 
32153
 
  if test -n "$USE_RPATH"; then
32154
 
 
32155
 
     if test -n "$kde_libraries"; then
32156
 
       KDE_TEST_RPATH="-R $kde_libraries"
32157
 
     fi
32158
 
 
32159
 
     if test -n "$qt_libraries"; then
32160
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
32161
 
     fi
32162
 
 
32163
 
     if test -n "$x_libraries"; then
32164
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
32165
 
     fi
32166
 
 
32167
 
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
32168
 
  fi
32169
 
 
32170
 
{ $as_echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
32171
 
$as_echo_n "checking for KDE libraries installed... " >&6; }
32172
 
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
32173
 
 
32174
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32175
 
  (eval $ac_link) 2>&5
32176
 
  ac_status=$?
32177
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178
 
  (exit $ac_status); } && test -s conftest; then
32179
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
32180
 
$as_echo "yes" >&6; }
32181
 
else
32182
 
  { { $as_echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
32183
 
Check, if your compiler is installed correctly and if you have used the
32184
 
same compiler to compile Qt and kdelibs as you did use now.
32185
 
For more details about this problem, look at the end of config.log." >&5
32186
 
$as_echo "$as_me: error: your system fails at linking a small KDE application!
32187
 
Check, if your compiler is installed correctly and if you have used the
32188
 
same compiler to compile Qt and kdelibs as you did use now.
32189
 
For more details about this problem, look at the end of config.log." >&2;}
32190
 
   { (exit 1); exit 1; }; }
32191
 
fi
32192
 
 
32193
 
if eval `KDEDIR= ./conftest 2>&5`; then
32194
 
  kde_result=done
32195
 
else
32196
 
  kde_result=problems
32197
 
fi
32198
 
 
32199
 
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
32200
 
kde_have_all_paths=yes
32201
 
 
32202
 
 
32203
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
32204
 
        kde_htmldir=\"$kde_htmldir\" \
32205
 
        kde_appsdir=\"$kde_appsdir\" \
32206
 
        kde_icondir=\"$kde_icondir\" \
32207
 
        kde_sounddir=\"$kde_sounddir\" \
32208
 
        kde_datadir=\"$kde_datadir\" \
32209
 
        kde_locale=\"$kde_locale\" \
32210
 
        kde_cgidir=\"$kde_cgidir\" \
32211
 
        kde_confdir=\"$kde_confdir\" \
32212
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
32213
 
        kde_mimedir=\"$kde_mimedir\" \
32214
 
        kde_toolbardir=\"$kde_toolbardir\" \
32215
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
32216
 
        kde_templatesdir=\"$kde_templatesdir\" \
32217
 
        kde_bindir=\"$kde_bindir\" \
32218
 
        kde_servicesdir=\"$kde_servicesdir\" \
32219
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
32220
 
        kde_moduledir=\"$kde_moduledir\" \
32221
 
        kde_styledir=\"$kde_styledir\" \
32222
 
        kde_widgetdir=\"$kde_widgetdir\" \
32223
 
        xdg_appsdir=\"$xdg_appsdir\" \
32224
 
        xdg_menudir=\"$xdg_menudir\" \
32225
 
        xdg_directorydir=\"$xdg_directorydir\" \
32226
 
        kde_result=$kde_result"
32227
 
 
32228
 
 
32229
 
 
32230
 
  else
32231
 
     { { $as_echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
32232
 
$as_echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
32233
 
   { (exit 1); exit 1; }; }
32234
 
  fi
32235
 
 
32236
 
fi
32237
 
 
32238
 
  eval "$kde_cv_all_paths"
32239
 
   if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
32240
 
   test -z "$kde_icondir" || test -z "$kde_sounddir" ||
32241
 
   test -z "$kde_datadir" || test -z "$kde_locale"  ||
32242
 
   test -z "$kde_cgidir"  || test -z "$kde_confdir" ||
32243
 
   test -z "$kde_kcfgdir" ||
32244
 
   test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
32245
 
   test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
32246
 
   test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
32247
 
   test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
32248
 
   test -z "$kde_styledir" || test -z "kde_widgetdir" ||
32249
 
   test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
32250
 
   test "x$kde_have_all_paths" != "xyes"; then
32251
 
     kde_have_all_paths=no
32252
 
  fi
32253
 
 
32254
 
  kde_result="$kde_result (cache overridden)"
32255
 
fi
32256
 
if test "$kde_have_all_paths" = "no"; then
32257
 
  { { $as_echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
32258
 
Since it had compiled and linked before, it must be a strange problem on your system.
32259
 
Look at config.log for details. If you are not able to fix this, look at
32260
 
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32261
 
(If you're using an egcs version on Linux, you may update binutils!)
32262
 
" >&5
32263
 
$as_echo "$as_me: error: configure could not run a little KDE program to test the environment.
32264
 
Since it had compiled and linked before, it must be a strange problem on your system.
32265
 
Look at config.log for details. If you are not able to fix this, look at
32266
 
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32267
 
(If you're using an egcs version on Linux, you may update binutils!)
32268
 
" >&2;}
32269
 
   { (exit 1); exit 1; }; }
32270
 
else
32271
 
  rm -f conftest*
32272
 
  { $as_echo "$as_me:$LINENO: result: $kde_result" >&5
32273
 
$as_echo "$kde_result" >&6; }
32274
 
fi
32275
 
 
32276
 
bindir=$kde_bindir
32277
 
 
32278
 
 
32279
 
 
32280
 
# Check whether --with-arts was given.
32281
 
if test "${with_arts+set}" = set; then
32282
 
  withval=$with_arts; build_arts=$withval
32283
 
else
32284
 
  build_arts=yes
32285
 
 
32286
 
fi
32287
 
 
32288
 
 
32289
 
 
32290
 
if test "$build_arts" '!=' "no"; then
32291
 
  include_ARTS_TRUE=
32292
 
  include_ARTS_FALSE='#'
32293
 
else
32294
 
  include_ARTS_TRUE='#'
32295
 
  include_ARTS_FALSE=
32296
 
fi
32297
 
 
32298
 
    if test "$build_arts" = "no"; then
32299
 
 
32300
 
cat >>confdefs.h <<\_ACEOF
32301
 
#define WITHOUT_ARTS 1
32302
 
_ACEOF
32303
 
 
32304
 
    fi
32305
 
 
32306
 
 
32307
 
    kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
32308
 
    test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
32309
 
    if test -n "$KDEDIRS"; then
32310
 
       kde_save_IFS=$IFS
32311
 
       IFS=:
32312
 
       for dir in $KDEDIRS; do
32313
 
            kde_default_bindirs="$dir/bin $kde_default_bindirs "
32314
 
       done
32315
 
       IFS=$kde_save_IFS
32316
 
    fi
32317
 
 
32318
 
        kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
32319
 
 
32320
 
   { $as_echo "$as_me:$LINENO: checking for dcopidl" >&5
32321
 
$as_echo_n "checking for dcopidl... " >&6; }
32322
 
   if test -n "$DCOPIDL"; then
32323
 
        kde_cv_path="$DCOPIDL";
32324
 
   else
32325
 
        kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
32326
 
 
32327
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32328
 
  $as_echo_n "(cached) " >&6
32329
 
else
32330
 
 
32331
 
        kde_cv_path="NONE"
32332
 
        kde_save_IFS=$IFS
32333
 
        IFS=':'
32334
 
        dirs=""
32335
 
        for dir in $PATH; do
32336
 
          dirs="$dirs $dir"
32337
 
        done
32338
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32339
 
        else      dirs="$dirs $kde_default_bindirs"
32340
 
        fi
32341
 
        IFS=$kde_save_IFS
32342
 
 
32343
 
        for dir in $dirs; do
32344
 
          if test -x "$dir/dcopidl"; then
32345
 
            if test -n ""
32346
 
            then
32347
 
              evalstr="$dir/dcopidl  2>&1 "
32348
 
              if eval $evalstr; then
32349
 
                kde_cv_path="$dir/dcopidl"
32350
 
                break
32351
 
              fi
32352
 
            else
32353
 
                kde_cv_path="$dir/dcopidl"
32354
 
                break
32355
 
            fi
32356
 
          fi
32357
 
        done
32358
 
 
32359
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32360
 
 
32361
 
 
32362
 
fi
32363
 
 
32364
 
 
32365
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32366
 
 
32367
 
   fi
32368
 
 
32369
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32370
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
32371
 
$as_echo "not found" >&6; }
32372
 
 
32373
 
    { { $as_echo "$as_me:$LINENO: error: The important program dcopidl was not found!
32374
 
Please check whether you installed KDE correctly.
32375
 
" >&5
32376
 
$as_echo "$as_me: error: The important program dcopidl was not found!
32377
 
Please check whether you installed KDE correctly.
32378
 
" >&2;}
32379
 
   { (exit 1); exit 1; }; }
32380
 
 
32381
 
   else
32382
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32383
 
$as_echo "$kde_cv_path" >&6; }
32384
 
      DCOPIDL=$kde_cv_path
32385
 
 
32386
 
   fi
32387
 
 
32388
 
 
32389
 
   { $as_echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
32390
 
$as_echo_n "checking for dcopidl2cpp... " >&6; }
32391
 
   if test -n "$DCOPIDL2CPP"; then
32392
 
        kde_cv_path="$DCOPIDL2CPP";
32393
 
   else
32394
 
        kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
32395
 
 
32396
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32397
 
  $as_echo_n "(cached) " >&6
32398
 
else
32399
 
 
32400
 
        kde_cv_path="NONE"
32401
 
        kde_save_IFS=$IFS
32402
 
        IFS=':'
32403
 
        dirs=""
32404
 
        for dir in $PATH; do
32405
 
          dirs="$dirs $dir"
32406
 
        done
32407
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32408
 
        else      dirs="$dirs $kde_default_bindirs"
32409
 
        fi
32410
 
        IFS=$kde_save_IFS
32411
 
 
32412
 
        for dir in $dirs; do
32413
 
          if test -x "$dir/dcopidl2cpp"; then
32414
 
            if test -n ""
32415
 
            then
32416
 
              evalstr="$dir/dcopidl2cpp  2>&1 "
32417
 
              if eval $evalstr; then
32418
 
                kde_cv_path="$dir/dcopidl2cpp"
32419
 
                break
32420
 
              fi
32421
 
            else
32422
 
                kde_cv_path="$dir/dcopidl2cpp"
32423
 
                break
32424
 
            fi
32425
 
          fi
32426
 
        done
32427
 
 
32428
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32429
 
 
32430
 
 
32431
 
fi
32432
 
 
32433
 
 
32434
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32435
 
 
32436
 
   fi
32437
 
 
32438
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32439
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
32440
 
$as_echo "not found" >&6; }
32441
 
 
32442
 
    { { $as_echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
32443
 
Please check whether you installed KDE correctly.
32444
 
" >&5
32445
 
$as_echo "$as_me: error: The important program dcopidl2cpp was not found!
32446
 
Please check whether you installed KDE correctly.
32447
 
" >&2;}
32448
 
   { (exit 1); exit 1; }; }
32449
 
 
32450
 
   else
32451
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32452
 
$as_echo "$kde_cv_path" >&6; }
32453
 
      DCOPIDL2CPP=$kde_cv_path
32454
 
 
32455
 
   fi
32456
 
 
32457
 
        if test "$build_arts" '!=' "no"; then
32458
 
 
32459
 
   { $as_echo "$as_me:$LINENO: checking for mcopidl" >&5
32460
 
$as_echo_n "checking for mcopidl... " >&6; }
32461
 
   if test -n "$MCOPIDL"; then
32462
 
        kde_cv_path="$MCOPIDL";
32463
 
   else
32464
 
        kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
32465
 
 
32466
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32467
 
  $as_echo_n "(cached) " >&6
32468
 
else
32469
 
 
32470
 
        kde_cv_path="NONE"
32471
 
        kde_save_IFS=$IFS
32472
 
        IFS=':'
32473
 
        dirs=""
32474
 
        for dir in $PATH; do
32475
 
          dirs="$dirs $dir"
32476
 
        done
32477
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32478
 
        else      dirs="$dirs $kde_default_bindirs"
32479
 
        fi
32480
 
        IFS=$kde_save_IFS
32481
 
 
32482
 
        for dir in $dirs; do
32483
 
          if test -x "$dir/mcopidl"; then
32484
 
            if test -n ""
32485
 
            then
32486
 
              evalstr="$dir/mcopidl  2>&1 "
32487
 
              if eval $evalstr; then
32488
 
                kde_cv_path="$dir/mcopidl"
32489
 
                break
32490
 
              fi
32491
 
            else
32492
 
                kde_cv_path="$dir/mcopidl"
32493
 
                break
32494
 
            fi
32495
 
          fi
32496
 
        done
32497
 
 
32498
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32499
 
 
32500
 
 
32501
 
fi
32502
 
 
32503
 
 
32504
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32505
 
 
32506
 
   fi
32507
 
 
32508
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32509
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
32510
 
$as_echo "not found" >&6; }
32511
 
 
32512
 
    { { $as_echo "$as_me:$LINENO: error: The important program mcopidl was not found!
32513
 
Please check whether you installed aRts correctly or use
32514
 
--without-arts to compile without aRts support (this will remove functionality).
32515
 
" >&5
32516
 
$as_echo "$as_me: error: The important program mcopidl was not found!
32517
 
Please check whether you installed aRts correctly or use
32518
 
--without-arts to compile without aRts support (this will remove functionality).
32519
 
" >&2;}
32520
 
   { (exit 1); exit 1; }; }
32521
 
 
32522
 
   else
32523
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32524
 
$as_echo "$kde_cv_path" >&6; }
32525
 
      MCOPIDL=$kde_cv_path
32526
 
 
32527
 
   fi
32528
 
 
32529
 
 
32530
 
   { $as_echo "$as_me:$LINENO: checking for artsc-config" >&5
32531
 
$as_echo_n "checking for artsc-config... " >&6; }
32532
 
   if test -n "$ARTSCCONFIG"; then
32533
 
        kde_cv_path="$ARTSCCONFIG";
32534
 
   else
32535
 
        kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
32536
 
 
32537
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32538
 
  $as_echo_n "(cached) " >&6
32539
 
else
32540
 
 
32541
 
        kde_cv_path="NONE"
32542
 
        kde_save_IFS=$IFS
32543
 
        IFS=':'
32544
 
        dirs=""
32545
 
        for dir in $PATH; do
32546
 
          dirs="$dirs $dir"
32547
 
        done
32548
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32549
 
        else      dirs="$dirs $kde_default_bindirs"
32550
 
        fi
32551
 
        IFS=$kde_save_IFS
32552
 
 
32553
 
        for dir in $dirs; do
32554
 
          if test -x "$dir/artsc-config"; then
32555
 
            if test -n ""
32556
 
            then
32557
 
              evalstr="$dir/artsc-config  2>&1 "
32558
 
              if eval $evalstr; then
32559
 
                kde_cv_path="$dir/artsc-config"
32560
 
                break
32561
 
              fi
32562
 
            else
32563
 
                kde_cv_path="$dir/artsc-config"
32564
 
                break
32565
 
            fi
32566
 
          fi
32567
 
        done
32568
 
 
32569
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32570
 
 
32571
 
 
32572
 
fi
32573
 
 
32574
 
 
32575
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32576
 
 
32577
 
   fi
32578
 
 
32579
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32580
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
32581
 
$as_echo "not found" >&6; }
32582
 
 
32583
 
    { { $as_echo "$as_me:$LINENO: error: The important program artsc-config was not found!
32584
 
Please check whether you installed aRts correctly or use
32585
 
--without-arts to compile without aRts support (this will remove functionality).
32586
 
" >&5
32587
 
$as_echo "$as_me: error: The important program artsc-config was not found!
32588
 
Please check whether you installed aRts correctly or use
32589
 
--without-arts to compile without aRts support (this will remove functionality).
32590
 
" >&2;}
32591
 
   { (exit 1); exit 1; }; }
32592
 
 
32593
 
   else
32594
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32595
 
$as_echo "$kde_cv_path" >&6; }
32596
 
      ARTSCCONFIG=$kde_cv_path
32597
 
 
32598
 
   fi
32599
 
 
32600
 
        fi
32601
 
 
32602
 
   { $as_echo "$as_me:$LINENO: checking for meinproc" >&5
32603
 
$as_echo_n "checking for meinproc... " >&6; }
32604
 
   if test -n "$MEINPROC"; then
32605
 
        kde_cv_path="$MEINPROC";
32606
 
   else
32607
 
        kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
32608
 
 
32609
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32610
 
  $as_echo_n "(cached) " >&6
32611
 
else
32612
 
 
32613
 
        kde_cv_path="NONE"
32614
 
        kde_save_IFS=$IFS
32615
 
        IFS=':'
32616
 
        dirs=""
32617
 
        for dir in $PATH; do
32618
 
          dirs="$dirs $dir"
32619
 
        done
32620
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32621
 
        else      dirs="$dirs $kde_default_bindirs"
32622
 
        fi
32623
 
        IFS=$kde_save_IFS
32624
 
 
32625
 
        for dir in $dirs; do
32626
 
          if test -x "$dir/meinproc"; then
32627
 
            if test -n ""
32628
 
            then
32629
 
              evalstr="$dir/meinproc  2>&1 "
32630
 
              if eval $evalstr; then
32631
 
                kde_cv_path="$dir/meinproc"
32632
 
                break
32633
 
              fi
32634
 
            else
32635
 
                kde_cv_path="$dir/meinproc"
32636
 
                break
32637
 
            fi
32638
 
          fi
32639
 
        done
32640
 
 
32641
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32642
 
 
32643
 
 
32644
 
fi
32645
 
 
32646
 
 
32647
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32648
 
 
32649
 
   fi
32650
 
 
32651
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32652
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
32653
 
$as_echo "not found" >&6; }
32654
 
 
32655
 
   else
32656
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32657
 
$as_echo "$kde_cv_path" >&6; }
32658
 
      MEINPROC=$kde_cv_path
32659
 
 
32660
 
   fi
32661
 
 
32662
 
 
32663
 
        kde32ornewer=1
32664
 
        kde33ornewer=1
32665
 
        if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
32666
 
            kde32ornewer=
32667
 
            kde33ornewer=
32668
 
        else
32669
 
            if test "$kde_qtver" = "3"; then
32670
 
              if test "$kde_qtsubver" -le 1; then
32671
 
                kde32ornewer=
32672
 
              fi
32673
 
              if test "$kde_qtsubver" -le 2; then
32674
 
                kde33ornewer=
32675
 
              fi
32676
 
              if test "$KDECONFIG" != "compiled"; then
32677
 
                if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
32678
 
                  kde33ornewer=
32679
 
                fi
32680
 
              fi
32681
 
            fi
32682
 
        fi
32683
 
 
32684
 
        if test -n "$kde32ornewer"; then
32685
 
 
32686
 
   { $as_echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
32687
 
$as_echo_n "checking for kconfig_compiler... " >&6; }
32688
 
   if test -n "$KCONFIG_COMPILER"; then
32689
 
        kde_cv_path="$KCONFIG_COMPILER";
32690
 
   else
32691
 
        kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
32692
 
 
32693
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32694
 
  $as_echo_n "(cached) " >&6
32695
 
else
32696
 
 
32697
 
        kde_cv_path="NONE"
32698
 
        kde_save_IFS=$IFS
32699
 
        IFS=':'
32700
 
        dirs=""
32701
 
        for dir in $PATH; do
32702
 
          dirs="$dirs $dir"
32703
 
        done
32704
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32705
 
        else      dirs="$dirs $kde_default_bindirs"
32706
 
        fi
32707
 
        IFS=$kde_save_IFS
32708
 
 
32709
 
        for dir in $dirs; do
32710
 
          if test -x "$dir/kconfig_compiler"; then
32711
 
            if test -n ""
32712
 
            then
32713
 
              evalstr="$dir/kconfig_compiler  2>&1 "
32714
 
              if eval $evalstr; then
32715
 
                kde_cv_path="$dir/kconfig_compiler"
32716
 
                break
32717
 
              fi
32718
 
            else
32719
 
                kde_cv_path="$dir/kconfig_compiler"
32720
 
                break
32721
 
            fi
32722
 
          fi
32723
 
        done
32724
 
 
32725
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32726
 
 
32727
 
 
32728
 
fi
32729
 
 
32730
 
 
32731
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32732
 
 
32733
 
   fi
32734
 
 
32735
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32736
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
32737
 
$as_echo "not found" >&6; }
32738
 
 
32739
 
    { { $as_echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
32740
 
Please check whether you installed KDE correctly.
32741
 
" >&5
32742
 
$as_echo "$as_me: error: The important program kconfig_compiler was not found!
32743
 
Please check whether you installed KDE correctly.
32744
 
" >&2;}
32745
 
   { (exit 1); exit 1; }; }
32746
 
 
32747
 
   else
32748
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32749
 
$as_echo "$kde_cv_path" >&6; }
32750
 
      KCONFIG_COMPILER=$kde_cv_path
32751
 
 
32752
 
   fi
32753
 
 
32754
 
 
32755
 
   { $as_echo "$as_me:$LINENO: checking for dcopidlng" >&5
32756
 
$as_echo_n "checking for dcopidlng... " >&6; }
32757
 
   if test -n "$DCOPIDLNG"; then
32758
 
        kde_cv_path="$DCOPIDLNG";
32759
 
   else
32760
 
        kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
32761
 
 
32762
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32763
 
  $as_echo_n "(cached) " >&6
32764
 
else
32765
 
 
32766
 
        kde_cv_path="NONE"
32767
 
        kde_save_IFS=$IFS
32768
 
        IFS=':'
32769
 
        dirs=""
32770
 
        for dir in $PATH; do
32771
 
          dirs="$dirs $dir"
32772
 
        done
32773
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32774
 
        else      dirs="$dirs $kde_default_bindirs"
32775
 
        fi
32776
 
        IFS=$kde_save_IFS
32777
 
 
32778
 
        for dir in $dirs; do
32779
 
          if test -x "$dir/dcopidlng"; then
32780
 
            if test -n ""
32781
 
            then
32782
 
              evalstr="$dir/dcopidlng  2>&1 "
32783
 
              if eval $evalstr; then
32784
 
                kde_cv_path="$dir/dcopidlng"
32785
 
                break
32786
 
              fi
32787
 
            else
32788
 
                kde_cv_path="$dir/dcopidlng"
32789
 
                break
32790
 
            fi
32791
 
          fi
32792
 
        done
32793
 
 
32794
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32795
 
 
32796
 
 
32797
 
fi
32798
 
 
32799
 
 
32800
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32801
 
 
32802
 
   fi
32803
 
 
32804
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32805
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
32806
 
$as_echo "not found" >&6; }
32807
 
 
32808
 
    { { $as_echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
32809
 
Please check whether you installed KDE correctly.
32810
 
" >&5
32811
 
$as_echo "$as_me: error: The important program dcopidlng was not found!
32812
 
Please check whether you installed KDE correctly.
32813
 
" >&2;}
32814
 
   { (exit 1); exit 1; }; }
32815
 
 
32816
 
   else
32817
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32818
 
$as_echo "$kde_cv_path" >&6; }
32819
 
      DCOPIDLNG=$kde_cv_path
32820
 
 
32821
 
   fi
32822
 
 
32823
 
        fi
32824
 
        if test -n "$kde33ornewer"; then
32825
 
 
32826
 
   { $as_echo "$as_me:$LINENO: checking for makekdewidgets" >&5
32827
 
$as_echo_n "checking for makekdewidgets... " >&6; }
32828
 
   if test -n "$MAKEKDEWIDGETS"; then
32829
 
        kde_cv_path="$MAKEKDEWIDGETS";
32830
 
   else
32831
 
        kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
32832
 
 
32833
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32834
 
  $as_echo_n "(cached) " >&6
32835
 
else
32836
 
 
32837
 
        kde_cv_path="NONE"
32838
 
        kde_save_IFS=$IFS
32839
 
        IFS=':'
32840
 
        dirs=""
32841
 
        for dir in $PATH; do
32842
 
          dirs="$dirs $dir"
32843
 
        done
32844
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32845
 
        else      dirs="$dirs $kde_default_bindirs"
32846
 
        fi
32847
 
        IFS=$kde_save_IFS
32848
 
 
32849
 
        for dir in $dirs; do
32850
 
          if test -x "$dir/makekdewidgets"; then
32851
 
            if test -n ""
32852
 
            then
32853
 
              evalstr="$dir/makekdewidgets  2>&1 "
32854
 
              if eval $evalstr; then
32855
 
                kde_cv_path="$dir/makekdewidgets"
32856
 
                break
32857
 
              fi
32858
 
            else
32859
 
                kde_cv_path="$dir/makekdewidgets"
32860
 
                break
32861
 
            fi
32862
 
          fi
32863
 
        done
32864
 
 
32865
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32866
 
 
32867
 
 
32868
 
fi
32869
 
 
32870
 
 
32871
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32872
 
 
32873
 
   fi
32874
 
 
32875
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32876
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
32877
 
$as_echo "not found" >&6; }
32878
 
 
32879
 
    { { $as_echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
32880
 
Please check whether you installed KDE correctly.
32881
 
" >&5
32882
 
$as_echo "$as_me: error: The important program makekdewidgets was not found!
32883
 
Please check whether you installed KDE correctly.
32884
 
" >&2;}
32885
 
   { (exit 1); exit 1; }; }
32886
 
 
32887
 
   else
32888
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32889
 
$as_echo "$kde_cv_path" >&6; }
32890
 
      MAKEKDEWIDGETS=$kde_cv_path
32891
 
 
32892
 
   fi
32893
 
 
32894
 
 
32895
 
        fi
32896
 
 
32897
 
   { $as_echo "$as_me:$LINENO: checking for xmllint" >&5
32898
 
$as_echo_n "checking for xmllint... " >&6; }
32899
 
   if test -n "$XMLLINT"; then
32900
 
        kde_cv_path="$XMLLINT";
32901
 
   else
32902
 
        kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
32903
 
 
32904
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32905
 
  $as_echo_n "(cached) " >&6
32906
 
else
32907
 
 
32908
 
        kde_cv_path="NONE"
32909
 
        kde_save_IFS=$IFS
32910
 
        IFS=':'
32911
 
        dirs=""
32912
 
        for dir in $PATH; do
32913
 
          dirs="$dirs $dir"
32914
 
        done
32915
 
        if test -z ""; then       dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
32916
 
        else      dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
32917
 
        fi
32918
 
        IFS=$kde_save_IFS
32919
 
 
32920
 
        for dir in $dirs; do
32921
 
          if test -x "$dir/xmllint"; then
32922
 
            if test -n ""
32923
 
            then
32924
 
              evalstr="$dir/xmllint  2>&1 "
32925
 
              if eval $evalstr; then
32926
 
                kde_cv_path="$dir/xmllint"
32927
 
                break
32928
 
              fi
32929
 
            else
32930
 
                kde_cv_path="$dir/xmllint"
32931
 
                break
32932
 
            fi
32933
 
          fi
32934
 
        done
32935
 
 
32936
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32937
 
 
32938
 
 
32939
 
fi
32940
 
 
32941
 
 
32942
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32943
 
 
32944
 
   fi
32945
 
 
32946
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32947
 
      { $as_echo "$as_me:$LINENO: result: not found" >&5
32948
 
$as_echo "not found" >&6; }
32949
 
      XMLLINT=""
32950
 
   else
32951
 
      { $as_echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32952
 
$as_echo "$kde_cv_path" >&6; }
32953
 
      XMLLINT=$kde_cv_path
32954
 
 
32955
 
   fi
32956
 
 
32957
 
 
32958
 
        if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
32959
 
            kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
32960
 
            test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
32961
 
 
32962
 
KDE_XSL_STYLESHEET=NO
32963
 
for i in $kde_sharedirs;
32964
 
do
32965
 
  for j in apps/ksgmltools2/customization/kde-chunk.xsl;
32966
 
  do
32967
 
    echo "configure: 32967: $i/$j" >&5
32968
 
    if test -r "$i/$j"; then
32969
 
      echo "taking that" >&5
32970
 
      KDE_XSL_STYLESHEET=$i
32971
 
      break 2
32972
 
    fi
32973
 
  done
32974
 
done
32975
 
 
32976
 
            if test "$KDE_XSL_STYLESHEET" = "NO"; then
32977
 
                KDE_XSL_STYLESHEET=""
32978
 
            else
32979
 
                KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
32980
 
            fi
32981
 
        fi
32982
 
 
32983
 
        DCOP_DEPENDENCIES='$(DCOPIDL)'
32984
 
        if test -n "$kde32ornewer"; then
32985
 
            KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
32986
 
            DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
32987
 
 
32988
 
 
32989
 
 
32990
 
        fi
32991
 
 
32992
 
 
32993
 
 
32994
 
 
32995
 
 
32996
 
 
32997
 
 
32998
 
 
32999
 
 
33000
 
 
33001
 
 
33002
 
 
33003
 
 
33004
 
 
33005
 
 
33006
 
 
33007
 
 
33008
 
 
33009
 
 
33010
 
 
33011
 
 
33012
 
 
33013
 
 
33014
 
 
33015
 
 
33016
 
 
33017
 
 
33018
 
 
33019
 
 
33020
 
 
33021
 
 
33022
 
kdeinitdir='$(kde_moduledir)'
33023
 
 
33024
 
 
33025
 
 
33026
 
if test "$kde_qtver" = 1; then
33027
 
  kde_minidir="$kde_icondir/mini"
33028
 
else
33029
 
# for KDE 1 - this breaks KDE2 apps using minidir, but
33030
 
# that's the plan ;-/
33031
 
  kde_minidir="/dev/null"
33032
 
fi
33033
 
 
33034
 
 
33035
 
 
33036
 
 
33037
 
 
33038
 
 
33039
 
if test $kde_qtver = 3; then
33040
 
   case $host in
33041
 
               *cygwin*) lib_kded="-lkdeinit_kded" ;;
33042
 
               *) lib_kded="" ;;
33043
 
       esac
33044
 
   LIB_KDED=$lib_kded
33045
 
 
33046
 
   LIB_KDECORE="-lkdecore"
33047
 
 
33048
 
   LIB_KDEUI="-lkdeui"
33049
 
 
33050
 
   LIB_KIO="-lkio"
33051
 
 
33052
 
   LIB_KJS="-lkjs"
33053
 
 
33054
 
   LIB_SMB="-lsmb"
33055
 
 
33056
 
   LIB_KAB="-lkab"
33057
 
 
33058
 
   LIB_KABC="-lkabc"
33059
 
 
33060
 
   LIB_KHTML="-lkhtml"
33061
 
 
33062
 
   LIB_KSPELL="-lkspell"
33063
 
 
33064
 
   LIB_KPARTS="-lkparts"
33065
 
 
33066
 
   LIB_KDEPRINT="-lkdeprint"
33067
 
 
33068
 
   LIB_KUTILS="-lkutils"
33069
 
 
33070
 
   LIB_KDEPIM="-lkdepim"
33071
 
 
33072
 
   LIB_KIMPROXY="-lkimproxy"
33073
 
 
33074
 
   LIB_KNEWSTUFF="-lknewstuff"
33075
 
 
33076
 
   LIB_KDNSSD="-lkdnssd"
33077
 
 
33078
 
   LIB_KUNITTEST="-lkunittest"
33079
 
 
33080
 
# these are for backward compatibility
33081
 
   LIB_KSYCOCA="-lkio"
33082
 
 
33083
 
   LIB_KFILE="-lkio"
33084
 
 
33085
 
elif test $kde_qtver = 2; then
33086
 
   LIB_KDECORE="-lkdecore"
33087
 
 
33088
 
   LIB_KDEUI="-lkdeui"
33089
 
 
33090
 
   LIB_KIO="-lkio"
33091
 
 
33092
 
   LIB_KSYCOCA="-lksycoca"
33093
 
 
33094
 
   LIB_SMB="-lsmb"
33095
 
 
33096
 
   LIB_KFILE="-lkfile"
33097
 
 
33098
 
   LIB_KAB="-lkab"
33099
 
 
33100
 
   LIB_KHTML="-lkhtml"
33101
 
 
33102
 
   LIB_KSPELL="-lkspell"
33103
 
 
33104
 
   LIB_KPARTS="-lkparts"
33105
 
 
33106
 
   LIB_KDEPRINT="-lkdeprint"
33107
 
 
33108
 
else
33109
 
   LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
33110
 
 
33111
 
   LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
33112
 
 
33113
 
   LIB_KFM="-lkfm $(LIB_KDECORE)"
33114
 
 
33115
 
   LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
33116
 
 
33117
 
   LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
33118
 
 
33119
 
fi
33120
 
 
33121
 
 
33122
 
 
33123
 
#MIN_CONFIG
33124
 
 
33125
 
 
33126
 
 
33127
 
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
33128
 
TOPSUBDIRS=""
33129
 
 
33130
 
if test ! -s $srcdir/subdirs; then
33131
 
    files=`cd $srcdir && ls -1`
33132
 
  dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
33133
 
  for i in $dirs; do
33134
 
    echo $i >> $srcdir/subdirs
33135
 
  done
33136
 
fi
33137
 
 
33138
 
ac_topsubdirs=
33139
 
if test -s $srcdir/inst-apps; then
33140
 
  ac_topsubdirs="`cat $srcdir/inst-apps`"
33141
 
elif test -s $srcdir/subdirs; then
33142
 
  ac_topsubdirs="`cat $srcdir/subdirs`"
33143
 
fi
33144
 
 
33145
 
for i in $ac_topsubdirs; do
33146
 
  { $as_echo "$as_me:$LINENO: checking if $i should be compiled" >&5
33147
 
$as_echo_n "checking if $i should be compiled... " >&6; }
33148
 
  if test -d $srcdir/$i; then
33149
 
    install_it="yes"
33150
 
    for j in $DO_NOT_COMPILE; do
33151
 
      if test $i = $j; then
33152
 
        install_it="no"
33153
 
      fi
33154
 
    done
33155
 
  else
33156
 
    install_it="no"
33157
 
  fi
33158
 
  { $as_echo "$as_me:$LINENO: result: $install_it" >&5
33159
 
$as_echo "$install_it" >&6; }
33160
 
  vari=`echo $i | sed -e 's,[-+.@],_,g'`
33161
 
  if test $install_it = "yes"; then
33162
 
    TOPSUBDIRS="$TOPSUBDIRS $i"
33163
 
    eval "$vari""_SUBDIR_included=yes"
33164
 
  else
33165
 
    eval "$vari""_SUBDIR_included=no"
33166
 
  fi
33167
 
done
33168
 
 
33169
 
 
33170
 
 
33171
 
ac_config_files="$ac_config_files Makefile"
33172
 
 
33173
 
ac_config_files="$ac_config_files client/Makefile"
33174
 
 
33175
 
ac_config_files="$ac_config_files client/config/Makefile"
33176
 
 
33177
 
ac_config_files="$ac_config_files pics/Makefile"
33178
 
 
33179
 
cat >confcache <<\_ACEOF
33180
 
# This file is a shell script that caches the results of configure
33181
 
# tests run on this system so they can be shared between configure
33182
 
# scripts and configure runs, see configure's option --config-cache.
33183
 
# It is not useful on other systems.  If it contains results you don't
33184
 
# want to keep, you may remove or edit it.
33185
 
#
33186
 
# config.status only pays attention to the cache file if you give it
33187
 
# the --recheck option to rerun configure.
33188
 
#
33189
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
33190
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
33191
 
# following values.
33192
 
 
33193
 
_ACEOF
33194
 
 
33195
 
# The following way of writing the cache mishandles newlines in values,
33196
 
# but we know of no workaround that is simple, portable, and efficient.
33197
 
# So, we kill variables containing newlines.
33198
 
# Ultrix sh set writes to stderr and can't be redirected directly,
33199
 
# and sets the high bit in the cache file unless we assign to the vars.
33200
 
(
33201
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33202
 
    eval ac_val=\$$ac_var
33203
 
    case $ac_val in #(
33204
 
    *${as_nl}*)
33205
 
      case $ac_var in #(
33206
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33207
 
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33208
 
      esac
33209
 
      case $ac_var in #(
33210
 
      _ | IFS | as_nl) ;; #(
33211
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
33212
 
      *) $as_unset $ac_var ;;
33213
 
      esac ;;
33214
 
    esac
33215
 
  done
33216
 
 
33217
 
  (set) 2>&1 |
33218
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
33219
 
    *${as_nl}ac_space=\ *)
33220
 
      # `set' does not quote correctly, so add quotes (double-quote
33221
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
33222
 
      sed -n \
33223
 
        "s/'/'\\\\''/g;
33224
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33225
 
      ;; #(
33226
 
    *)
33227
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
33228
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33229
 
      ;;
33230
 
    esac |
33231
 
    sort
33232
 
) |
33233
 
  sed '
33234
 
     /^ac_cv_env_/b end
33235
 
     t clear
33236
 
     :clear
33237
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33238
 
     t end
33239
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33240
 
     :end' >>confcache
33241
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33242
 
  if test -w "$cache_file"; then
33243
 
    test "x$cache_file" != "x/dev/null" &&
33244
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
33245
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
33246
 
    cat confcache >$cache_file
33247
 
  else
33248
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33249
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33250
 
  fi
33251
 
fi
33252
 
rm -f confcache
33253
 
 
33254
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
33255
 
# Let make expand exec_prefix.
33256
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33257
 
 
33258
 
DEFS=-DHAVE_CONFIG_H
33259
 
 
33260
 
ac_libobjs=
33261
 
ac_ltlibobjs=
33262
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33263
 
  # 1. Remove the extension, and $U if already installed.
33264
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33265
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
33266
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
33267
 
  #    will be set to the directory where LIBOBJS objects are built.
33268
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33269
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33270
 
done
33271
 
LIBOBJS=$ac_libobjs
33272
 
 
33273
 
LTLIBOBJS=$ac_ltlibobjs
33274
 
 
33275
 
 
33276
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33277
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33278
 
Usually this means the macro was only invoked conditionally." >&5
33279
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
33280
 
Usually this means the macro was only invoked conditionally." >&2;}
33281
 
   { (exit 1); exit 1; }; }
33282
 
fi
33283
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33284
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33285
 
Usually this means the macro was only invoked conditionally." >&5
33286
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33287
 
Usually this means the macro was only invoked conditionally." >&2;}
33288
 
   { (exit 1); exit 1; }; }
33289
 
fi
33290
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33291
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33292
 
Usually this means the macro was only invoked conditionally." >&5
33293
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33294
 
Usually this means the macro was only invoked conditionally." >&2;}
33295
 
   { (exit 1); exit 1; }; }
33296
 
fi
33297
 
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
33298
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
33299
 
Usually this means the macro was only invoked conditionally." >&5
33300
 
$as_echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
33301
 
Usually this means the macro was only invoked conditionally." >&2;}
33302
 
   { (exit 1); exit 1; }; }
33303
 
fi
33304
 
if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
33305
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
33306
 
Usually this means the macro was only invoked conditionally." >&5
33307
 
$as_echo "$as_me: error: conditional \"include_x11\" was never defined.
33308
 
Usually this means the macro was only invoked conditionally." >&2;}
33309
 
   { (exit 1); exit 1; }; }
33310
 
fi
33311
 
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
33312
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
33313
 
Usually this means the macro was only invoked conditionally." >&5
33314
 
$as_echo "$as_me: error: conditional \"include_ARTS\" was never defined.
33315
 
Usually this means the macro was only invoked conditionally." >&2;}
33316
 
   { (exit 1); exit 1; }; }
33317
 
fi
33318
 
 
33319
 
: ${CONFIG_STATUS=./config.status}
33320
 
ac_write_fail=0
33321
 
ac_clean_files_save=$ac_clean_files
33322
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33323
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33324
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33325
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33326
 
#! $SHELL
33327
 
# Generated by $as_me.
33328
 
# Run this file to recreate the current configuration.
33329
 
# Compiler output produced by configure, useful for debugging
33330
 
# configure, is in config.log if it exists.
33331
 
 
33332
 
debug=false
33333
 
ac_cs_recheck=false
33334
 
ac_cs_silent=false
33335
 
SHELL=\${CONFIG_SHELL-$SHELL}
33336
 
_ACEOF
33337
 
 
33338
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33339
 
## --------------------- ##
33340
 
## M4sh Initialization.  ##
33341
 
## --------------------- ##
33342
 
 
33343
 
# Be more Bourne compatible
33344
 
DUALCASE=1; export DUALCASE # for MKS sh
33345
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33346
 
  emulate sh
33347
 
  NULLCMD=:
33348
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
33349
 
  # is contrary to our usage.  Disable this feature.
33350
 
  alias -g '${1+"$@"}'='"$@"'
33351
 
  setopt NO_GLOB_SUBST
33352
 
else
33353
 
  case `(set -o) 2>/dev/null` in
33354
 
  *posix*) set -o posix ;;
33355
 
esac
33356
 
 
33357
 
fi
33358
 
 
33359
 
 
33360
 
 
33361
 
 
33362
 
# PATH needs CR
33363
 
# Avoid depending upon Character Ranges.
33364
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33365
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33366
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33367
 
as_cr_digits='0123456789'
33368
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
33369
 
 
33370
 
as_nl='
33371
 
'
33372
 
export as_nl
33373
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
33374
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
33375
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
33376
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
33377
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
33378
 
  as_echo='printf %s\n'
33379
 
  as_echo_n='printf %s'
33380
 
else
33381
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
33382
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
33383
 
    as_echo_n='/usr/ucb/echo -n'
33384
 
  else
33385
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
33386
 
    as_echo_n_body='eval
33387
 
      arg=$1;
33388
 
      case $arg in
33389
 
      *"$as_nl"*)
33390
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
33391
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
33392
 
      esac;
33393
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
33394
 
    '
33395
 
    export as_echo_n_body
33396
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
33397
 
  fi
33398
 
  export as_echo_body
33399
 
  as_echo='sh -c $as_echo_body as_echo'
33400
 
fi
33401
 
 
33402
 
# The user is always right.
33403
 
if test "${PATH_SEPARATOR+set}" != set; then
33404
 
  PATH_SEPARATOR=:
33405
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
33406
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
33407
 
      PATH_SEPARATOR=';'
33408
 
  }
33409
 
fi
33410
 
 
33411
 
# Support unset when possible.
33412
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33413
 
  as_unset=unset
33414
 
else
33415
 
  as_unset=false
33416
 
fi
33417
 
 
33418
 
 
33419
 
# IFS
33420
 
# We need space, tab and new line, in precisely that order.  Quoting is
33421
 
# there to prevent editors from complaining about space-tab.
33422
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33423
 
# splitting by setting IFS to empty value.)
33424
 
IFS=" ""        $as_nl"
33425
 
 
33426
 
# Find who we are.  Look in the path if we contain no directory separator.
33427
 
case $0 in
33428
 
  *[\\/]* ) as_myself=$0 ;;
33429
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33430
 
for as_dir in $PATH
33431
 
do
33432
 
  IFS=$as_save_IFS
33433
 
  test -z "$as_dir" && as_dir=.
33434
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33435
 
done
33436
 
IFS=$as_save_IFS
33437
 
 
33438
 
     ;;
33439
 
esac
33440
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
33441
 
# in which case we are not to be found in the path.
33442
 
if test "x$as_myself" = x; then
33443
 
  as_myself=$0
33444
 
fi
33445
 
if test ! -f "$as_myself"; then
33446
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33447
 
  { (exit 1); exit 1; }
33448
 
fi
33449
 
 
33450
 
# Work around bugs in pre-3.0 UWIN ksh.
33451
 
for as_var in ENV MAIL MAILPATH
33452
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33453
 
done
33454
 
PS1='$ '
33455
 
PS2='> '
33456
 
PS4='+ '
33457
 
 
33458
 
# NLS nuisances.
33459
 
LC_ALL=C
33460
 
export LC_ALL
33461
 
LANGUAGE=C
33462
 
export LANGUAGE
33463
 
 
33464
 
# Required to use basename.
33465
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
33466
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
33467
 
  as_expr=expr
33468
 
else
33469
 
  as_expr=false
33470
 
fi
33471
 
 
33472
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33473
 
  as_basename=basename
33474
 
else
33475
 
  as_basename=false
33476
 
fi
33477
 
 
33478
 
 
33479
 
# Name of the executable.
33480
 
as_me=`$as_basename -- "$0" ||
33481
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33482
 
         X"$0" : 'X\(//\)$' \| \
33483
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33484
 
$as_echo X/"$0" |
33485
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
33486
 
            s//\1/
33487
 
            q
33488
 
          }
33489
 
          /^X\/\(\/\/\)$/{
33490
 
            s//\1/
33491
 
            q
33492
 
          }
33493
 
          /^X\/\(\/\).*/{
33494
 
            s//\1/
33495
 
            q
33496
 
          }
33497
 
          s/.*/./; q'`
33498
 
 
33499
 
# CDPATH.
33500
 
$as_unset CDPATH
33501
 
 
33502
 
 
33503
 
 
33504
 
  as_lineno_1=$LINENO
33505
 
  as_lineno_2=$LINENO
33506
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
33507
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33508
 
 
33509
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33510
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
33511
 
  # line-number line after each line using $LINENO; the second 'sed'
33512
 
  # does the real work.  The second script uses 'N' to pair each
33513
 
  # line-number line with the line containing $LINENO, and appends
33514
 
  # trailing '-' during substitution so that $LINENO is not a special
33515
 
  # case at line end.
33516
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33517
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
33518
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
33519
 
  sed -n '
33520
 
    p
33521
 
    /[$]LINENO/=
33522
 
  ' <$as_myself |
33523
 
    sed '
33524
 
      s/[$]LINENO.*/&-/
33525
 
      t lineno
33526
 
      b
33527
 
      :lineno
33528
 
      N
33529
 
      :loop
33530
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33531
 
      t loop
33532
 
      s/-\n.*//
33533
 
    ' >$as_me.lineno &&
33534
 
  chmod +x "$as_me.lineno" ||
33535
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33536
 
   { (exit 1); exit 1; }; }
33537
 
 
33538
 
  # Don't try to exec as it changes $[0], causing all sort of problems
33539
 
  # (the dirname of $[0] is not the place where we might find the
33540
 
  # original and so on.  Autoconf is especially sensitive to this).
33541
 
  . "./$as_me.lineno"
33542
 
  # Exit status is that of the last command.
33543
 
  exit
33544
 
}
33545
 
 
33546
 
 
33547
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33548
 
  as_dirname=dirname
33549
 
else
33550
 
  as_dirname=false
33551
 
fi
33552
 
 
33553
 
ECHO_C= ECHO_N= ECHO_T=
33554
 
case `echo -n x` in
33555
 
-n*)
33556
 
  case `echo 'x\c'` in
33557
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
33558
 
  *)   ECHO_C='\c';;
33559
 
  esac;;
33560
 
*)
33561
 
  ECHO_N='-n';;
33562
 
esac
33563
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
33564
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
33565
 
  as_expr=expr
33566
 
else
33567
 
  as_expr=false
33568
 
fi
33569
 
 
33570
 
rm -f conf$$ conf$$.exe conf$$.file
33571
 
if test -d conf$$.dir; then
33572
 
  rm -f conf$$.dir/conf$$.file
33573
 
else
33574
 
  rm -f conf$$.dir
33575
 
  mkdir conf$$.dir 2>/dev/null
33576
 
fi
33577
 
if (echo >conf$$.file) 2>/dev/null; then
33578
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
33579
 
    as_ln_s='ln -s'
33580
 
    # ... but there are two gotchas:
33581
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33582
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33583
 
    # In both cases, we have to default to `cp -p'.
33584
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33585
 
      as_ln_s='cp -p'
33586
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
33587
 
    as_ln_s=ln
33588
 
  else
33589
 
    as_ln_s='cp -p'
33590
 
  fi
33591
 
else
33592
 
  as_ln_s='cp -p'
33593
 
fi
33594
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33595
 
rmdir conf$$.dir 2>/dev/null
33596
 
 
33597
 
if mkdir -p . 2>/dev/null; then
33598
 
  as_mkdir_p=:
33599
 
else
33600
 
  test -d ./-p && rmdir ./-p
33601
 
  as_mkdir_p=false
33602
 
fi
33603
 
 
33604
 
if test -x / >/dev/null 2>&1; then
33605
 
  as_test_x='test -x'
33606
 
else
33607
 
  if ls -dL / >/dev/null 2>&1; then
33608
 
    as_ls_L_option=L
33609
 
  else
33610
 
    as_ls_L_option=
33611
 
  fi
33612
 
  as_test_x='
33613
 
    eval sh -c '\''
33614
 
      if test -d "$1"; then
33615
 
        test -d "$1/.";
33616
 
      else
33617
 
        case $1 in
33618
 
        -*)set "./$1";;
33619
 
        esac;
33620
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33621
 
        ???[sx]*):;;*)false;;esac;fi
33622
 
    '\'' sh
33623
 
  '
33624
 
fi
33625
 
as_executable_p=$as_test_x
33626
 
 
33627
 
# Sed expression to map a string onto a valid CPP name.
33628
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33629
 
 
33630
 
# Sed expression to map a string onto a valid variable name.
33631
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33632
 
 
33633
 
 
33634
 
exec 6>&1
33635
 
 
33636
 
# Save the log message, to keep $[0] and so on meaningful, and to
33637
 
# report actual input values of CONFIG_FILES etc. instead of their
33638
 
# values after options handling.
33639
 
ac_log="
33640
 
This file was extended by $as_me, which was
33641
 
generated by GNU Autoconf 2.62.  Invocation command line was
33642
 
 
33643
 
  CONFIG_FILES    = $CONFIG_FILES
33644
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
33645
 
  CONFIG_LINKS    = $CONFIG_LINKS
33646
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
33647
 
  $ $0 $@
33648
 
 
33649
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
33650
 
"
33651
 
 
33652
 
_ACEOF
33653
 
 
33654
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33655
 
# Files that config.status was made for.
33656
 
config_files="$ac_config_files"
33657
 
config_headers="$ac_config_headers"
33658
 
config_commands="$ac_config_commands"
33659
 
 
33660
 
_ACEOF
33661
 
 
33662
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33663
 
ac_cs_usage="\
33664
 
\`$as_me' instantiates files from templates according to the
33665
 
current configuration.
33666
 
 
33667
 
Usage: $0 [OPTIONS] [FILE]...
33668
 
 
33669
 
  -h, --help       print this help, then exit
33670
 
  -V, --version    print version number and configuration settings, then exit
33671
 
  -q, --quiet      do not print progress messages
33672
 
  -d, --debug      don't remove temporary files
33673
 
      --recheck    update $as_me by reconfiguring in the same conditions
33674
 
  --file=FILE[:TEMPLATE]
33675
 
                   instantiate the configuration file FILE
33676
 
  --header=FILE[:TEMPLATE]
33677
 
                   instantiate the configuration header FILE
33678
 
 
33679
 
Configuration files:
33680
 
$config_files
33681
 
 
33682
 
Configuration headers:
33683
 
$config_headers
33684
 
 
33685
 
Configuration commands:
33686
 
$config_commands
33687
 
 
33688
 
Report bugs to <bug-autoconf@gnu.org>."
33689
 
 
33690
 
_ACEOF
33691
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33692
 
ac_cs_version="\\
33693
 
config.status
33694
 
configured by $0, generated by GNU Autoconf 2.62,
33695
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
33696
 
 
33697
 
Copyright (C) 2008 Free Software Foundation, Inc.
33698
 
This config.status script is free software; the Free Software Foundation
33699
 
gives unlimited permission to copy, distribute and modify it."
33700
 
 
33701
 
ac_pwd='$ac_pwd'
33702
 
srcdir='$srcdir'
33703
 
INSTALL='$INSTALL'
33704
 
AWK='$AWK'
33705
 
test -n "\$AWK" || AWK=awk
33706
 
_ACEOF
33707
 
 
33708
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33709
 
# The default lists apply if the user does not specify any file.
33710
 
ac_need_defaults=:
33711
 
while test $# != 0
33712
 
do
33713
 
  case $1 in
33714
 
  --*=*)
33715
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
33716
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33717
 
    ac_shift=:
33718
 
    ;;
33719
 
  *)
33720
 
    ac_option=$1
33721
 
    ac_optarg=$2
33722
 
    ac_shift=shift
33723
 
    ;;
33724
 
  esac
33725
 
 
33726
 
  case $ac_option in
33727
 
  # Handling of the options.
33728
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33729
 
    ac_cs_recheck=: ;;
33730
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33731
 
    $as_echo "$ac_cs_version"; exit ;;
33732
 
  --debug | --debu | --deb | --de | --d | -d )
33733
 
    debug=: ;;
33734
 
  --file | --fil | --fi | --f )
33735
 
    $ac_shift
33736
 
    case $ac_optarg in
33737
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
33738
 
    esac
33739
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
33740
 
    ac_need_defaults=false;;
33741
 
  --header | --heade | --head | --hea )
33742
 
    $ac_shift
33743
 
    case $ac_optarg in
33744
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
33745
 
    esac
33746
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
33747
 
    ac_need_defaults=false;;
33748
 
  --he | --h)
33749
 
    # Conflict between --help and --header
33750
 
    { $as_echo "$as_me: error: ambiguous option: $1
33751
 
Try \`$0 --help' for more information." >&2
33752
 
   { (exit 1); exit 1; }; };;
33753
 
  --help | --hel | -h )
33754
 
    $as_echo "$ac_cs_usage"; exit ;;
33755
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33756
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
33757
 
    ac_cs_silent=: ;;
33758
 
 
33759
 
  # This is an error.
33760
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
33761
 
Try \`$0 --help' for more information." >&2
33762
 
   { (exit 1); exit 1; }; } ;;
33763
 
 
33764
 
  *) ac_config_targets="$ac_config_targets $1"
33765
 
     ac_need_defaults=false ;;
33766
 
 
33767
 
  esac
33768
 
  shift
33769
 
done
33770
 
 
33771
 
ac_configure_extra_args=
33772
 
 
33773
 
if $ac_cs_silent; then
33774
 
  exec 6>/dev/null
33775
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
33776
 
fi
33777
 
 
33778
 
_ACEOF
33779
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33780
 
if \$ac_cs_recheck; then
33781
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33782
 
  shift
33783
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
33784
 
  CONFIG_SHELL='$SHELL'
33785
 
  export CONFIG_SHELL
33786
 
  exec "\$@"
33787
 
fi
33788
 
 
33789
 
_ACEOF
33790
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33791
 
exec 5>>config.log
33792
 
{
33793
 
  echo
33794
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33795
 
## Running $as_me. ##
33796
 
_ASBOX
33797
 
  $as_echo "$ac_log"
33798
 
} >&5
33799
 
 
33800
 
_ACEOF
33801
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33802
 
#
33803
 
# INIT-COMMANDS
33804
 
#
33805
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33806
 
 
33807
 
_ACEOF
33808
 
 
33809
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33810
 
 
33811
 
# Handling of arguments.
33812
 
for ac_config_target in $ac_config_targets
33813
 
do
33814
 
  case $ac_config_target in
33815
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33816
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33817
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33818
 
    "client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;;
33819
 
    "client/config/Makefile") CONFIG_FILES="$CONFIG_FILES client/config/Makefile" ;;
33820
 
    "pics/Makefile") CONFIG_FILES="$CONFIG_FILES pics/Makefile" ;;
33821
 
 
33822
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33823
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33824
 
   { (exit 1); exit 1; }; };;
33825
 
  esac
33826
 
done
33827
 
 
33828
 
 
33829
 
# If the user did not use the arguments to specify the items to instantiate,
33830
 
# then the envvar interface is used.  Set only those that are not.
33831
 
# We use the long form for the default assignment because of an extremely
33832
 
# bizarre bug on SunOS 4.1.3.
33833
 
if $ac_need_defaults; then
33834
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33835
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33836
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33837
 
fi
33838
 
 
33839
 
# Have a temporary directory for convenience.  Make it in the build tree
33840
 
# simply because there is no reason against having it here, and in addition,
33841
 
# creating and moving files from /tmp can sometimes cause problems.
33842
 
# Hook for its removal unless debugging.
33843
 
# Note that there is a small window in which the directory will not be cleaned:
33844
 
# after its creation but before its name has been assigned to `$tmp'.
33845
 
$debug ||
33846
 
{
33847
 
  tmp=
33848
 
  trap 'exit_status=$?
33849
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
33850
 
' 0
33851
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
33852
 
}
33853
 
# Create a (secure) tmp directory for tmp files.
33854
 
 
33855
 
{
33856
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33857
 
  test -n "$tmp" && test -d "$tmp"
33858
 
}  ||
33859
 
{
33860
 
  tmp=./conf$$-$RANDOM
33861
 
  (umask 077 && mkdir "$tmp")
33862
 
} ||
33863
 
{
33864
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
33865
 
   { (exit 1); exit 1; }
33866
 
}
33867
 
 
33868
 
# Set up the scripts for CONFIG_FILES section.
33869
 
# No need to generate them if there are no CONFIG_FILES.
33870
 
# This happens for instance with `./config.status config.h'.
33871
 
if test -n "$CONFIG_FILES"; then
33872
 
 
33873
 
 
33874
 
ac_cr='
 
 
b"'"
33875
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
33876
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
33877
 
  ac_cs_awk_cr='\\r'
33878
 
else
33879
 
  ac_cs_awk_cr=$ac_cr
33880
 
fi
33881
 
 
33882
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
33883
 
_ACEOF
33884
 
 
33885
 
 
33886
 
{
33887
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
33888
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
33889
 
  echo "_ACEOF"
33890
 
} >conf$$subs.sh ||
33891
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33892
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33893
 
   { (exit 1); exit 1; }; }
33894
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
33895
 
ac_delim='%!_!# '
33896
 
for ac_last_try in false false false false false :; do
33897
 
  . ./conf$$subs.sh ||
33898
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33899
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33900
 
   { (exit 1); exit 1; }; }
33901
 
 
33902
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
33903
 
    break
33904
 
  elif $ac_last_try; then
33905
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33906
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33907
 
   { (exit 1); exit 1; }; }
33908
 
  else
33909
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33910
 
  fi
33911
 
done
33912
 
rm -f conf$$subs.sh
33913
 
 
33914
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33915
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
33916
 
_ACEOF
33917
 
sed -n '
33918
 
h
33919
 
s/^/S["/; s/!.*/"]=/
33920
 
p
33921
 
g
33922
 
s/^[^!]*!//
33923
 
:repl
33924
 
t repl
33925
 
s/'"$ac_delim"'$//
33926
 
t delim
33927
 
:nl
33928
 
h
33929
 
s/\(.\{148\}\).*/\1/
33930
 
t more1
33931
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
33932
 
p
33933
 
n
33934
 
b repl
33935
 
:more1
33936
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33937
 
p
33938
 
g
33939
 
s/.\{148\}//
33940
 
t nl
33941
 
:delim
33942
 
h
33943
 
s/\(.\{148\}\).*/\1/
33944
 
t more2
33945
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
33946
 
p
33947
 
b
33948
 
:more2
33949
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33950
 
p
33951
 
g
33952
 
s/.\{148\}//
33953
 
t delim
33954
 
' <conf$$subs.awk | sed '
33955
 
/^[^""]/{
33956
 
  N
33957
 
  s/\n//
33958
 
}
33959
 
' >>$CONFIG_STATUS || ac_write_fail=1
33960
 
rm -f conf$$subs.awk
33961
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33962
 
_ACAWK
33963
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
33964
 
  for (key in S) S_is_set[key] = 1
33965
 
  FS = ""
33966
 
 
33967
 
}
33968
 
{
33969
 
  line = $ 0
33970
 
  nfields = split(line, field, "@")
33971
 
  substed = 0
33972
 
  len = length(field[1])
33973
 
  for (i = 2; i < nfields; i++) {
33974
 
    key = field[i]
33975
 
    keylen = length(key)
33976
 
    if (S_is_set[key]) {
33977
 
      value = S[key]
33978
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
33979
 
      len += length(value) + length(field[++i])
33980
 
      substed = 1
33981
 
    } else
33982
 
      len += 1 + keylen
33983
 
  }
33984
 
 
33985
 
  print line
33986
 
}
33987
 
 
33988
 
_ACAWK
33989
 
_ACEOF
33990
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33991
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
33992
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
33993
 
else
33994
 
  cat
33995
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
33996
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
33997
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
33998
 
   { (exit 1); exit 1; }; }
33999
 
_ACEOF
34000
 
 
34001
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
34002
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34003
 
# trailing colons and then remove the whole line if VPATH becomes empty
34004
 
# (actually we leave an empty line to preserve line numbers).
34005
 
if test "x$srcdir" = x.; then
34006
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
34007
 
s/:*\$(srcdir):*/:/
34008
 
s/:*\${srcdir}:*/:/
34009
 
s/:*@srcdir@:*/:/
34010
 
s/^\([^=]*=[     ]*\):*/\1/
34011
 
s/:*$//
34012
 
s/^[^=]*=[       ]*$//
34013
 
}'
34014
 
fi
34015
 
 
34016
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34017
 
fi # test -n "$CONFIG_FILES"
34018
 
 
34019
 
# Set up the scripts for CONFIG_HEADERS section.
34020
 
# No need to generate them if there are no CONFIG_HEADERS.
34021
 
# This happens for instance with `./config.status Makefile'.
34022
 
if test -n "$CONFIG_HEADERS"; then
34023
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
34024
 
BEGIN {
34025
 
_ACEOF
34026
 
 
34027
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
34028
 
# here-document in config.status, that substitutes the proper values into
34029
 
# config.h.in to produce config.h.
34030
 
 
34031
 
# Create a delimiter string that does not exist in confdefs.h, to ease
34032
 
# handling of long lines.
34033
 
ac_delim='%!_!# '
34034
 
for ac_last_try in false false :; do
34035
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
34036
 
  if test -z "$ac_t"; then
34037
 
    break
34038
 
  elif $ac_last_try; then
34039
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
34040
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
34041
 
   { (exit 1); exit 1; }; }
34042
 
  else
34043
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34044
 
  fi
34045
 
done
34046
 
 
34047
 
# For the awk script, D is an array of macro values keyed by name,
34048
 
# likewise P contains macro parameters if any.  Preserve backslash
34049
 
# newline sequences.
34050
 
 
34051
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34052
 
sed -n '
34053
 
s/.\{148\}/&'"$ac_delim"'/g
34054
 
t rset
34055
 
:rset
34056
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
34057
 
t def
34058
 
d
34059
 
:def
34060
 
s/\\$//
34061
 
t bsnl
34062
 
s/["\\]/\\&/g
34063
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
34064
 
D["\1"]=" \3"/p
34065
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
34066
 
d
34067
 
:bsnl
34068
 
s/["\\]/\\&/g
34069
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
34070
 
D["\1"]=" \3\\\\\\n"\\/p
34071
 
t cont
34072
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
34073
 
t cont
34074
 
d
34075
 
:cont
34076
 
n
34077
 
s/.\{148\}/&'"$ac_delim"'/g
34078
 
t clear
34079
 
:clear
34080
 
s/\\$//
34081
 
t bsnlc
34082
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
34083
 
d
34084
 
:bsnlc
34085
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
34086
 
b cont
34087
 
' <confdefs.h | sed '
34088
 
s/'"$ac_delim"'/"\\\
34089
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
34090
 
 
34091
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34092
 
  for (key in D) D_is_set[key] = 1
34093
 
  FS = ""
34094
 
}
34095
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
34096
 
  line = \$ 0
34097
 
  split(line, arg, " ")
34098
 
  if (arg[1] == "#") {
34099
 
    defundef = arg[2]
34100
 
    mac1 = arg[3]
34101
 
  } else {
34102
 
    defundef = substr(arg[1], 2)
34103
 
    mac1 = arg[2]
34104
 
  }
34105
 
  split(mac1, mac2, "(") #)
34106
 
  macro = mac2[1]
34107
 
  if (D_is_set[macro]) {
34108
 
    # Preserve the white space surrounding the "#".
34109
 
    prefix = substr(line, 1, index(line, defundef) - 1)
34110
 
    print prefix "define", macro P[macro] D[macro]
34111
 
    next
34112
 
  } else {
34113
 
    # Replace #undef with comments.  This is necessary, for example,
34114
 
    # in the case of _POSIX_SOURCE, which is predefined and required
34115
 
    # on some systems where configure will not decide to define it.
34116
 
    if (defundef == "undef") {
34117
 
      print "/*", line, "*/"
34118
 
      next
34119
 
    }
34120
 
  }
34121
 
}
34122
 
{ print }
34123
 
_ACAWK
34124
 
_ACEOF
34125
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34126
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
34127
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
34128
 
   { (exit 1); exit 1; }; }
34129
 
fi # test -n "$CONFIG_HEADERS"
34130
 
 
34131
 
 
34132
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
34133
 
shift
34134
 
for ac_tag
34135
 
do
34136
 
  case $ac_tag in
34137
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
34138
 
  esac
34139
 
  case $ac_mode$ac_tag in
34140
 
  :[FHL]*:*);;
34141
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34142
 
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34143
 
   { (exit 1); exit 1; }; };;
34144
 
  :[FH]-) ac_tag=-:-;;
34145
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34146
 
  esac
34147
 
  ac_save_IFS=$IFS
34148
 
  IFS=:
34149
 
  set x $ac_tag
34150
 
  IFS=$ac_save_IFS
34151
 
  shift
34152
 
  ac_file=$1
34153
 
  shift
34154
 
 
34155
 
  case $ac_mode in
34156
 
  :L) ac_source=$1;;
34157
 
  :[FH])
34158
 
    ac_file_inputs=
34159
 
    for ac_f
34160
 
    do
34161
 
      case $ac_f in
34162
 
      -) ac_f="$tmp/stdin";;
34163
 
      *) # Look for the file first in the build tree, then in the source tree
34164
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
34165
 
         # because $ac_f cannot contain `:'.
34166
 
         test -f "$ac_f" ||
34167
 
           case $ac_f in
34168
 
           [\\/$]*) false;;
34169
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34170
 
           esac ||
34171
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34172
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34173
 
   { (exit 1); exit 1; }; };;
34174
 
      esac
34175
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
34176
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
34177
 
    done
34178
 
 
34179
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
34180
 
    # use $as_me), people would be surprised to read:
34181
 
    #    /* config.h.  Generated by config.status.  */
34182
 
    configure_input='Generated from '`
34183
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
34184
 
        `' by configure.'
34185
 
    if test x"$ac_file" != x-; then
34186
 
      configure_input="$ac_file.  $configure_input"
34187
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
34188
 
$as_echo "$as_me: creating $ac_file" >&6;}
34189
 
    fi
34190
 
    # Neutralize special characters interpreted by sed in replacement strings.
34191
 
    case $configure_input in #(
34192
 
    *\&* | *\|* | *\\* )
34193
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
34194
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
34195
 
    *) ac_sed_conf_input=$configure_input;;
34196
 
    esac
34197
 
 
34198
 
    case $ac_tag in
34199
 
    *:-:* | *:-) cat >"$tmp/stdin" \
34200
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
34201
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
34202
 
   { (exit 1); exit 1; }; } ;;
34203
 
    esac
34204
 
    ;;
34205
 
  esac
34206
 
 
34207
 
  ac_dir=`$as_dirname -- "$ac_file" ||
34208
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34209
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
34210
 
         X"$ac_file" : 'X\(//\)$' \| \
34211
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34212
 
$as_echo X"$ac_file" |
34213
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34214
 
            s//\1/
34215
 
            q
34216
 
          }
34217
 
          /^X\(\/\/\)[^/].*/{
34218
 
            s//\1/
34219
 
            q
34220
 
          }
34221
 
          /^X\(\/\/\)$/{
34222
 
            s//\1/
34223
 
            q
34224
 
          }
34225
 
          /^X\(\/\).*/{
34226
 
            s//\1/
34227
 
            q
34228
 
          }
34229
 
          s/.*/./; q'`
34230
 
  { as_dir="$ac_dir"
34231
 
  case $as_dir in #(
34232
 
  -*) as_dir=./$as_dir;;
34233
 
  esac
34234
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34235
 
    as_dirs=
34236
 
    while :; do
34237
 
      case $as_dir in #(
34238
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
34239
 
      *) as_qdir=$as_dir;;
34240
 
      esac
34241
 
      as_dirs="'$as_qdir' $as_dirs"
34242
 
      as_dir=`$as_dirname -- "$as_dir" ||
34243
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34244
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
34245
 
         X"$as_dir" : 'X\(//\)$' \| \
34246
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34247
 
$as_echo X"$as_dir" |
34248
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34249
 
            s//\1/
34250
 
            q
34251
 
          }
34252
 
          /^X\(\/\/\)[^/].*/{
34253
 
            s//\1/
34254
 
            q
34255
 
          }
34256
 
          /^X\(\/\/\)$/{
34257
 
            s//\1/
34258
 
            q
34259
 
          }
34260
 
          /^X\(\/\).*/{
34261
 
            s//\1/
34262
 
            q
34263
 
          }
34264
 
          s/.*/./; q'`
34265
 
      test -d "$as_dir" && break
34266
 
    done
34267
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
34268
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34269
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
34270
 
   { (exit 1); exit 1; }; }; }
34271
 
  ac_builddir=.
34272
 
 
34273
 
case "$ac_dir" in
34274
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34275
 
*)
34276
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
34277
 
  # A ".." for each directory in $ac_dir_suffix.
34278
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
34279
 
  case $ac_top_builddir_sub in
34280
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34281
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34282
 
  esac ;;
34283
 
esac
34284
 
ac_abs_top_builddir=$ac_pwd
34285
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
34286
 
# for backward compatibility:
34287
 
ac_top_builddir=$ac_top_build_prefix
34288
 
 
34289
 
case $srcdir in
34290
 
  .)  # We are building in place.
34291
 
    ac_srcdir=.
34292
 
    ac_top_srcdir=$ac_top_builddir_sub
34293
 
    ac_abs_top_srcdir=$ac_pwd ;;
34294
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
34295
 
    ac_srcdir=$srcdir$ac_dir_suffix;
34296
 
    ac_top_srcdir=$srcdir
34297
 
    ac_abs_top_srcdir=$srcdir ;;
34298
 
  *) # Relative name.
34299
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34300
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
34301
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34302
 
esac
34303
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34304
 
 
34305
 
 
34306
 
  case $ac_mode in
34307
 
  :F)
34308
 
  #
34309
 
  # CONFIG_FILE
34310
 
  #
34311
 
 
34312
 
  case $INSTALL in
34313
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34314
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34315
 
  esac
34316
 
_ACEOF
34317
 
 
34318
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34319
 
# If the template does not know about datarootdir, expand it.
34320
 
# FIXME: This hack should be removed a few years after 2.60.
34321
 
ac_datarootdir_hack=; ac_datarootdir_seen=
34322
 
 
34323
 
ac_sed_dataroot='
34324
 
/datarootdir/ {
34325
 
  p
34326
 
  q
34327
 
}
34328
 
/@datadir@/p
34329
 
/@docdir@/p
34330
 
/@infodir@/p
34331
 
/@localedir@/p
34332
 
/@mandir@/p
34333
 
'
34334
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
34335
 
*datarootdir*) ac_datarootdir_seen=yes;;
34336
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34337
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34338
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34339
 
_ACEOF
34340
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34341
 
  ac_datarootdir_hack='
34342
 
  s&@datadir@&$datadir&g
34343
 
  s&@docdir@&$docdir&g
34344
 
  s&@infodir@&$infodir&g
34345
 
  s&@localedir@&$localedir&g
34346
 
  s&@mandir@&$mandir&g
34347
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
34348
 
esac
34349
 
_ACEOF
34350
 
 
34351
 
# Neutralize VPATH when `$srcdir' = `.'.
34352
 
# Shell code in configure.ac might set extrasub.
34353
 
# FIXME: do we really want to maintain this feature?
34354
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34355
 
ac_sed_extra="$ac_vpsub
34356
 
$extrasub
34357
 
_ACEOF
34358
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34359
 
:t
34360
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34361
 
s|@configure_input@|$ac_sed_conf_input|;t t
34362
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
34363
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
34364
 
s&@srcdir@&$ac_srcdir&;t t
34365
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
34366
 
s&@top_srcdir@&$ac_top_srcdir&;t t
34367
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34368
 
s&@builddir@&$ac_builddir&;t t
34369
 
s&@abs_builddir@&$ac_abs_builddir&;t t
34370
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34371
 
s&@INSTALL@&$ac_INSTALL&;t t
34372
 
$ac_datarootdir_hack
34373
 
"
34374
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
34375
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
34376
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
34377
 
   { (exit 1); exit 1; }; }
34378
 
 
34379
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34380
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34381
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34382
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34383
 
which seems to be undefined.  Please make sure it is defined." >&5
34384
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34385
 
which seems to be undefined.  Please make sure it is defined." >&2;}
34386
 
 
34387
 
  rm -f "$tmp/stdin"
34388
 
  case $ac_file in
34389
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
34390
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
34391
 
  esac \
34392
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
34393
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
34394
 
   { (exit 1); exit 1; }; }
34395
 
 ;;
34396
 
  :H)
34397
 
  #
34398
 
  # CONFIG_HEADER
34399
 
  #
34400
 
  if test x"$ac_file" != x-; then
34401
 
    {
34402
 
      $as_echo "/* $configure_input  */" \
34403
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
34404
 
    } >"$tmp/config.h" \
34405
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
34406
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
34407
 
   { (exit 1); exit 1; }; }
34408
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
34409
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34410
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
34411
 
    else
34412
 
      rm -f "$ac_file"
34413
 
      mv "$tmp/config.h" "$ac_file" \
34414
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
34415
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
34416
 
   { (exit 1); exit 1; }; }
34417
 
    fi
34418
 
  else
34419
 
    $as_echo "/* $configure_input  */" \
34420
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
34421
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
34422
 
$as_echo "$as_me: error: could not create -" >&2;}
34423
 
   { (exit 1); exit 1; }; }
34424
 
  fi
34425
 
# Compute "$ac_file"'s index in $config_headers.
34426
 
_am_stamp_count=1
34427
 
for _am_header in $config_headers :; do
34428
 
  case $_am_header in
34429
 
    "$ac_file" | "$ac_file":* )
34430
 
      break ;;
34431
 
    * )
34432
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34433
 
  esac
34434
 
done
34435
 
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
34436
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34437
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
34438
 
         X"$ac_file" : 'X\(//\)$' \| \
34439
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34440
 
$as_echo X"$ac_file" |
34441
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34442
 
            s//\1/
34443
 
            q
34444
 
          }
34445
 
          /^X\(\/\/\)[^/].*/{
34446
 
            s//\1/
34447
 
            q
34448
 
          }
34449
 
          /^X\(\/\/\)$/{
34450
 
            s//\1/
34451
 
            q
34452
 
          }
34453
 
          /^X\(\/\).*/{
34454
 
            s//\1/
34455
 
            q
34456
 
          }
34457
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
34458
 
 ;;
34459
 
 
34460
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
34461
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
34462
 
 ;;
34463
 
  esac
34464
 
 
34465
 
 
34466
 
  case $ac_file$ac_mode in
34467
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34468
 
  # Strip MF so we end up with the name of the file.
34469
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
34470
 
  # Check whether this is an Automake generated Makefile or not.
34471
 
  # We used to match only the files named `Makefile.in', but
34472
 
  # some people rename them; so instead we look at the file content.
34473
 
  # Grep'ing the first line is not enough: some people post-process
34474
 
  # each Makefile.in and add a new line on top of each file to say so.
34475
 
  # So let's grep whole file.
34476
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
34477
 
    dirpart=`$as_dirname -- "$mf" ||
34478
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34479
 
         X"$mf" : 'X\(//\)[^/]' \| \
34480
 
         X"$mf" : 'X\(//\)$' \| \
34481
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34482
 
$as_echo X"$mf" |
34483
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34484
 
            s//\1/
34485
 
            q
34486
 
          }
34487
 
          /^X\(\/\/\)[^/].*/{
34488
 
            s//\1/
34489
 
            q
34490
 
          }
34491
 
          /^X\(\/\/\)$/{
34492
 
            s//\1/
34493
 
            q
34494
 
          }
34495
 
          /^X\(\/\).*/{
34496
 
            s//\1/
34497
 
            q
34498
 
          }
34499
 
          s/.*/./; q'`
34500
 
  else
34501
 
    continue
34502
 
  fi
34503
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
34504
 
  # Extract the definition of DEP_FILES from the Makefile without
34505
 
  # running `make'.
34506
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
34507
 
  test -z "$DEPDIR" && continue
34508
 
  # When using ansi2knr, U may be empty or an underscore; expand it
34509
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
34510
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
34511
 
  # We invoke sed twice because it is the simplest approach to
34512
 
  # changing $(DEPDIR) to its actual value in the expansion.
34513
 
  for file in `sed -n -e '
34514
 
    /^DEP_FILES = .*\\\\$/ {
34515
 
      s/^DEP_FILES = //
34516
 
      :loop
34517
 
        s/\\\\$//
34518
 
        p
34519
 
        n
34520
 
        /\\\\$/ b loop
34521
 
      p
34522
 
    }
34523
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
34524
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34525
 
    # Make sure the directory exists.
34526
 
    test -f "$dirpart/$file" && continue
34527
 
    fdir=`$as_dirname -- "$file" ||
34528
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34529
 
         X"$file" : 'X\(//\)[^/]' \| \
34530
 
         X"$file" : 'X\(//\)$' \| \
34531
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34532
 
$as_echo X"$file" |
34533
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34534
 
            s//\1/
34535
 
            q
34536
 
          }
34537
 
          /^X\(\/\/\)[^/].*/{
34538
 
            s//\1/
34539
 
            q
34540
 
          }
34541
 
          /^X\(\/\/\)$/{
34542
 
            s//\1/
34543
 
            q
34544
 
          }
34545
 
          /^X\(\/\).*/{
34546
 
            s//\1/
34547
 
            q
34548
 
          }
34549
 
          s/.*/./; q'`
34550
 
    { as_dir=$dirpart/$fdir
34551
 
  case $as_dir in #(
34552
 
  -*) as_dir=./$as_dir;;
34553
 
  esac
34554
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34555
 
    as_dirs=
34556
 
    while :; do
34557
 
      case $as_dir in #(
34558
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
34559
 
      *) as_qdir=$as_dir;;
34560
 
      esac
34561
 
      as_dirs="'$as_qdir' $as_dirs"
34562
 
      as_dir=`$as_dirname -- "$as_dir" ||
34563
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34564
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
34565
 
         X"$as_dir" : 'X\(//\)$' \| \
34566
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34567
 
$as_echo X"$as_dir" |
34568
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34569
 
            s//\1/
34570
 
            q
34571
 
          }
34572
 
          /^X\(\/\/\)[^/].*/{
34573
 
            s//\1/
34574
 
            q
34575
 
          }
34576
 
          /^X\(\/\/\)$/{
34577
 
            s//\1/
34578
 
            q
34579
 
          }
34580
 
          /^X\(\/\).*/{
34581
 
            s//\1/
34582
 
            q
34583
 
          }
34584
 
          s/.*/./; q'`
34585
 
      test -d "$as_dir" && break
34586
 
    done
34587
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
34588
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34589
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
34590
 
   { (exit 1); exit 1; }; }; }
34591
 
    # echo "creating $dirpart/$file"
34592
 
    echo '# dummy' > "$dirpart/$file"
34593
 
  done
34594
 
done
34595
 
 ;;
34596
 
 
34597
 
  esac
34598
 
done # for ac_tag
34599
 
 
34600
 
 
34601
 
{ (exit 0); exit 0; }
34602
 
_ACEOF
34603
 
if test "x$with_fast_perl" = "xyes"; then    
34604
 
  perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS    \
34605
 
    || mv $CONFIG_STATUS.bak $CONFIG_STATUS    
34606
 
  rm -f $CONFIG_STATUS.bak
34607
 
fi    
34608
 
chmod +x $CONFIG_STATUS
34609
 
ac_clean_files=$ac_clean_files_save
34610
 
 
34611
 
test $ac_write_fail = 0 ||
34612
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
34613
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
34614
 
   { (exit 1); exit 1; }; }
34615
 
 
34616
 
 
34617
 
# configure is writing to config.log, and then calls config.status.
34618
 
# config.status does its own redirection, appending to config.log.
34619
 
# Unfortunately, on DOS this fails, as config.log is still kept open
34620
 
# by configure, so config.status won't be able to write to it; its
34621
 
# output is simply discarded.  So we exec the FD to /dev/null,
34622
 
# effectively closing config.log, so it can be properly (re)opened and
34623
 
# appended to by config.status.  When coming back to configure, we
34624
 
# need to make the FD available again.
34625
 
if test "$no_create" != yes; then
34626
 
  ac_cs_success=:
34627
 
  ac_config_status_args=
34628
 
  test "$silent" = yes &&
34629
 
    ac_config_status_args="$ac_config_status_args --quiet"
34630
 
  exec 5>/dev/null
34631
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34632
 
  exec 5>>config.log
34633
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34634
 
  # would make configure fail if this is the last instruction.
34635
 
  $ac_cs_success || { (exit 1); exit 1; }
34636
 
fi
34637
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34638
 
  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
34639
 
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
34640
 
fi
34641
 
 
34642
 
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
34643
 
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
34644
 
  # And if so, warn when they don't match
34645
 
  if test "$kde_libs_prefix" != "$given_prefix"; then
34646
 
    # And if kde doesn't know about the prefix yet
34647
 
    echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
34648
 
    if test $? -ne 0; then
34649
 
      echo ""
34650
 
      echo "Warning: you chose to install this package in $given_prefix,"
34651
 
      echo "but KDE was found in $kde_libs_prefix."
34652
 
      echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
34653
 
      echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
34654
 
      echo "Then restart KDE."
34655
 
      echo ""
34656
 
    fi
34657
 
  fi
34658
 
fi
34659
 
 
34660
 
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
34661
 
  echo ""
34662
 
  echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
34663
 
  echo "was not included. Therefore, GCC symbol visibility support remains disabled."
34664
 
  echo ""
34665
 
  echo "For better performance, consider including the Qt visibility supporting patch"
34666
 
  echo "located at:"
34667
 
  echo ""
34668
 
  echo "http://bugs.kde.org/show_bug.cgi?id=109386"
34669
 
  echo ""
34670
 
  echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
34671
 
  echo "everything will continue to work just fine without it."
34672
 
  echo ""
34673
 
fi
34674
 
 
34675
 
if test "$all_tests" = "bad"; then
34676
 
  if test ! "$cache_file" = "/dev/null"; then
34677
 
    echo ""
34678
 
    echo "Please remove the file $cache_file after changing your setup"
34679
 
    echo "so that configure will find the changes next time."
34680
 
    echo ""
34681
 
  fi
34682
 
else
34683
 
  echo ""
34684
 
  echo "Good - your configure finished. Start make now"
34685
 
  echo ""
34686
 
fi