~ubuntu-branches/ubuntu/vivid/kvpnc/vivid-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-04-23 09:18:50 UTC
  • mfrom: (1.1.10 upstream) (8.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090423091850-hweeg0jo64t0jx52
Tags: 0.9.1-1
* New upstream release (KDE4 is here)
* Add Build-Depends cmake and pkg-kde-tools
* Remove obsolete debian/patches
* Refresh debian/patches:
  - 10_su-to-root_usage.diff
  - 13_add_kuser_issuperuser.diff
* Cleanup debian/rules - simple under KDE4
* Update debian/watch for KDE4 version
* Update debian/copyright - use versionned licenses
* Update Section field - move to utils
* Remove obsolete dependencies: kdebase-bin, gksu, sux and modutils
* Update debian/kvpnc.{manpages,1}

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61.
4
 
#
5
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
 
# This configure script is free software; the Free Software Foundation
8
 
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
12
 
 
13
 
# Be more Bourne compatible
14
 
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
  setopt NO_GLOB_SUBST
22
 
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
25
 
esac
26
 
 
27
 
fi
28
 
 
29
 
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
 
# The user is always right.
41
 
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
51
 
fi
52
 
 
53
 
# Support unset when possible.
54
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
 
  as_unset=unset
56
 
else
57
 
  as_unset=false
58
 
fi
59
 
 
60
 
 
61
 
# IFS
62
 
# We need space, tab and new line, in precisely that order.  Quoting is
63
 
# there to prevent editors from complaining about space-tab.
64
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
 
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
 
IFS=" ""        $as_nl"
69
 
 
70
 
# Find who we are.  Look in the path if we contain no directory separator.
71
 
case $0 in
72
 
  *[\\/]* ) as_myself=$0 ;;
73
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
 
for as_dir in $PATH
75
 
do
76
 
  IFS=$as_save_IFS
77
 
  test -z "$as_dir" && as_dir=.
78
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
 
done
80
 
IFS=$as_save_IFS
81
 
 
82
 
     ;;
83
 
esac
84
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
 
# in which case we are not to be found in the path.
86
 
if test "x$as_myself" = x; then
87
 
  as_myself=$0
88
 
fi
89
 
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
 
  { (exit 1); exit 1; }
92
 
fi
93
 
 
94
 
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97
 
done
98
 
PS1='$ '
99
 
PS2='> '
100
 
PS4='+ '
101
 
 
102
 
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
114
 
 
115
 
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
 
  as_expr=expr
119
 
else
120
 
  as_expr=false
121
 
fi
122
 
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
 
  as_basename=basename
125
 
else
126
 
  as_basename=false
127
 
fi
128
 
 
129
 
 
130
 
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
132
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
 
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
149
 
 
150
 
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
153
 
 
154
 
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; then
156
 
  as_have_required=yes
157
 
else
158
 
  as_have_required=no
159
 
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
221
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
 
do
224
 
  IFS=$as_save_IFS
225
 
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
227
 
         /*)
228
 
           for as_base in sh bash ksh sh5; do
229
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230
 
           done;;
231
 
       esac
232
 
done
233
 
IFS=$as_save_IFS
234
 
 
235
 
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
 
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
 
 
428
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
435
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
438
 
  sed -n '
439
 
    p
440
 
    /[$]LINENO/=
441
 
  ' <$as_myself |
442
 
    sed '
443
 
      s/[$]LINENO.*/&-/
444
 
      t lineno
445
 
      b
446
 
      :lineno
447
 
      N
448
 
      :loop
449
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450
 
      t loop
451
 
      s/-\n.*//
452
 
    ' >$as_me.lineno &&
453
 
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
 
   { (exit 1); exit 1; }; }
456
 
 
457
 
  # Don't try to exec as it changes $[0], causing all sort of problems
458
 
  # (the dirname of $[0] is not the place where we might find the
459
 
  # original and so on.  Autoconf is especially sensitive to this).
460
 
  . "./$as_me.lineno"
461
 
  # Exit status is that of the last command.
462
 
  exit
463
 
}
464
 
 
465
 
 
466
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
 
  as_dirname=dirname
468
 
else
469
 
  as_dirname=false
470
 
fi
471
 
 
472
 
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in
474
 
-n*)
475
 
  case `echo 'x\c'` in
476
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  *)   ECHO_C='\c';;
478
 
  esac;;
479
 
*)
480
 
  ECHO_N='-n';;
481
 
esac
482
 
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
 
  as_expr=expr
486
 
else
487
 
  as_expr=false
488
 
fi
489
 
 
490
 
rm -f conf$$ conf$$.exe conf$$.file
491
 
if test -d conf$$.dir; then
492
 
  rm -f conf$$.dir/conf$$.file
493
 
else
494
 
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
496
 
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505
 
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
508
 
else
509
 
  as_ln_s='cp -p'
510
 
fi
511
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
 
rmdir conf$$.dir 2>/dev/null
513
 
 
514
 
if mkdir -p . 2>/dev/null; then
515
 
  as_mkdir_p=:
516
 
else
517
 
  test -d ./-p && rmdir ./-p
518
 
  as_mkdir_p=false
519
 
fi
520
 
 
521
 
if test -x / >/dev/null 2>&1; then
522
 
  as_test_x='test -x'
523
 
else
524
 
  if ls -dL / >/dev/null 2>&1; then
525
 
    as_ls_L_option=L
526
 
  else
527
 
    as_ls_L_option=
528
 
  fi
529
 
  as_test_x='
530
 
    eval sh -c '\''
531
 
      if test -d "$1"; then
532
 
        test -d "$1/.";
533
 
      else
534
 
        case $1 in
535
 
        -*)set "./$1";;
536
 
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
 
        ???[sx]*):;;*)false;;esac;fi
539
 
    '\'' sh
540
 
  '
541
 
fi
542
 
as_executable_p=$as_test_x
543
 
 
544
 
# Sed expression to map a string onto a valid CPP name.
545
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
 
 
547
 
# Sed expression to map a string onto a valid variable name.
548
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
 
 
550
 
 
551
 
 
552
 
 
553
 
# Check that we are running under the correct shell.
554
 
SHELL=${CONFIG_SHELL-/bin/sh}
555
 
 
556
 
case X$ECHO in
557
 
X*--fallback-echo)
558
 
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
 
  ;;
561
 
esac
562
 
 
563
 
echo=${ECHO-echo}
564
 
if test "X$1" = X--no-reexec; then
565
 
  # Discard the --no-reexec flag, and continue.
566
 
  shift
567
 
elif test "X$1" = X--fallback-echo; then
568
 
  # Avoid inline document here, it may be left over
569
 
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
572
 
  :
573
 
else
574
 
  # Restart under the correct shell.
575
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
576
 
fi
577
 
 
578
 
if test "X$1" = X--fallback-echo; then
579
 
  # used as fallback echo
580
 
  shift
581
 
  cat <<EOF
582
 
$*
583
 
EOF
584
 
  exit 0
585
 
fi
586
 
 
587
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
588
 
# if CDPATH is set.
589
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
 
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
618
 
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
 
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
666
 
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
674
 
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
686
 
      fi
687
 
    fi
688
 
  fi
689
 
fi
690
 
fi
691
 
 
692
 
# Copy echo and quote the copy suitably for passing to libtool from
693
 
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
 
fi
698
 
 
699
 
 
700
 
 
701
 
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
 
exec 7<&0 </dev/null 6>&1
707
 
 
708
 
# Name of the host.
709
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710
 
# so uname gets run too.
711
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
 
 
713
 
#
714
 
# Initializations.
715
 
#
716
 
ac_default_prefix=/usr/local
717
 
ac_clean_files=
718
 
ac_config_libobj_dir=.
719
 
LIBOBJS=
720
 
cross_compiling=no
721
 
subdirs=
722
 
MFLAGS=
723
 
MAKEFLAGS=
724
 
SHELL=${CONFIG_SHELL-/bin/sh}
725
 
 
726
 
# Identity of this package.
727
 
PACKAGE_NAME=
728
 
PACKAGE_TARNAME=
729
 
PACKAGE_VERSION=
730
 
PACKAGE_STRING=
731
 
PACKAGE_BUGREPORT=
732
 
 
733
 
ac_unique_file="acinclude.m4"
734
 
ac_default_prefix=${KDEDIR:-the kde prefix}
735
 
# Factoring default headers for most tests.
736
 
ac_includes_default="\
737
 
#include <stdio.h>
738
 
#ifdef HAVE_SYS_TYPES_H
739
 
# include <sys/types.h>
740
 
#endif
741
 
#ifdef HAVE_SYS_STAT_H
742
 
# include <sys/stat.h>
743
 
#endif
744
 
#ifdef STDC_HEADERS
745
 
# include <stdlib.h>
746
 
# include <stddef.h>
747
 
#else
748
 
# ifdef HAVE_STDLIB_H
749
 
#  include <stdlib.h>
750
 
# endif
751
 
#endif
752
 
#ifdef HAVE_STRING_H
753
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
754
 
#  include <memory.h>
755
 
# endif
756
 
# include <string.h>
757
 
#endif
758
 
#ifdef HAVE_STRINGS_H
759
 
# include <strings.h>
760
 
#endif
761
 
#ifdef HAVE_INTTYPES_H
762
 
# include <inttypes.h>
763
 
#endif
764
 
#ifdef HAVE_STDINT_H
765
 
# include <stdint.h>
766
 
#endif
767
 
#ifdef HAVE_UNISTD_H
768
 
# include <unistd.h>
769
 
#endif"
770
 
 
771
 
ac_subst_vars='SHELL
772
 
PATH_SEPARATOR
773
 
PACKAGE_NAME
774
 
PACKAGE_TARNAME
775
 
PACKAGE_VERSION
776
 
PACKAGE_STRING
777
 
PACKAGE_BUGREPORT
778
 
exec_prefix
779
 
prefix
780
 
program_transform_name
781
 
bindir
782
 
sbindir
783
 
libexecdir
784
 
datarootdir
785
 
datadir
786
 
sysconfdir
787
 
sharedstatedir
788
 
localstatedir
789
 
includedir
790
 
oldincludedir
791
 
docdir
792
 
infodir
793
 
htmldir
794
 
dvidir
795
 
pdfdir
796
 
psdir
797
 
libdir
798
 
localedir
799
 
mandir
800
 
DEFS
801
 
ECHO_C
802
 
ECHO_N
803
 
ECHO_T
804
 
LIBS
805
 
build_alias
806
 
host_alias
807
 
target_alias
808
 
build
809
 
build_cpu
810
 
build_vendor
811
 
build_os
812
 
host
813
 
host_cpu
814
 
host_vendor
815
 
host_os
816
 
target
817
 
target_cpu
818
 
target_vendor
819
 
target_os
820
 
INSTALL_PROGRAM
821
 
INSTALL_SCRIPT
822
 
INSTALL_DATA
823
 
CYGPATH_W
824
 
PACKAGE
825
 
VERSION
826
 
ACLOCAL
827
 
AUTOCONF
828
 
AUTOMAKE
829
 
AUTOHEADER
830
 
MAKEINFO
831
 
install_sh
832
 
STRIP
833
 
INSTALL_STRIP_PROGRAM
834
 
mkdir_p
835
 
AWK
836
 
SET_MAKE
837
 
am__leading_dot
838
 
AMTAR
839
 
am__tar
840
 
am__untar
841
 
KDECONFIG
842
 
kde_libs_prefix
843
 
kde_libs_htmldir
844
 
CONF_FILES
845
 
CC
846
 
CFLAGS
847
 
LDFLAGS
848
 
CPPFLAGS
849
 
ac_ct_CC
850
 
EXEEXT
851
 
OBJEXT
852
 
DEPDIR
853
 
am__include
854
 
am__quote
855
 
AMDEP_TRUE
856
 
AMDEP_FALSE
857
 
AMDEPBACKSLASH
858
 
CCDEPMODE
859
 
am__fastdepCC_TRUE
860
 
am__fastdepCC_FALSE
861
 
CPP
862
 
CXX
863
 
CXXFLAGS
864
 
ac_ct_CXX
865
 
CXXDEPMODE
866
 
am__fastdepCXX_TRUE
867
 
am__fastdepCXX_FALSE
868
 
WOVERLOADED_VIRTUAL
869
 
HAVE_GCC_VISIBILITY
870
 
unsermake_enable_pch_TRUE
871
 
unsermake_enable_pch_FALSE
872
 
USE_EXCEPTIONS
873
 
USE_RTTI
874
 
CXXCPP
875
 
NOOPT_CXXFLAGS
876
 
NOOPT_CFLAGS
877
 
ENABLE_PERMISSIVE_FLAG
878
 
LDFLAGS_AS_NEEDED
879
 
LDFLAGS_NEW_DTAGS
880
 
KDE_USE_FINAL_TRUE
881
 
KDE_USE_FINAL_FALSE
882
 
KDE_USE_CLOSURE_TRUE
883
 
KDE_USE_CLOSURE_FALSE
884
 
KDE_NO_UNDEFINED
885
 
KDE_USE_NMCHECK_TRUE
886
 
KDE_USE_NMCHECK_FALSE
887
 
GREP
888
 
EGREP
889
 
LN_S
890
 
ECHO
891
 
AR
892
 
RANLIB
893
 
F77
894
 
FFLAGS
895
 
ac_ct_F77
896
 
LIBTOOL
897
 
KDE_PLUGIN
898
 
KDE_CHECK_PLUGIN
899
 
MSGFMT
900
 
GMSGFMT
901
 
XGETTEXT
902
 
LIBUTIL
903
 
LIBCOMPAT
904
 
LIBCRYPT
905
 
LIBRESOLV
906
 
LIB_POLL
907
 
FRAMEWORK_COREAUDIO
908
 
LIBSOCKET
909
 
X_EXTRA_LIBS
910
 
LIBUCB
911
 
LIBDL
912
 
KDE_USE_FPIE
913
 
KDE_USE_PIE
914
 
include_x11_TRUE
915
 
include_x11_FALSE
916
 
XMKMF
917
 
X_PRE_LIBS
918
 
LIB_X11
919
 
LIB_XRENDER
920
 
LIBSM
921
 
X_INCLUDES
922
 
X_LDFLAGS
923
 
x_includes
924
 
x_libraries
925
 
QTE_NORTTI
926
 
LIB_XEXT
927
 
LIBPTHREAD
928
 
USE_THREADS
929
 
KDE_MT_LDFLAGS
930
 
KDE_MT_LIBS
931
 
USER_INCLUDES
932
 
USER_LDFLAGS
933
 
LIBZ
934
 
LIBPNG
935
 
LIBJPEG
936
 
qt_libraries
937
 
qt_includes
938
 
QT_INCLUDES
939
 
QT_LDFLAGS
940
 
PERL
941
 
MOC
942
 
UIC
943
 
UIC_TR
944
 
LIB_QT
945
 
LIB_QPE
946
 
kde_qtver
947
 
KDE_EXTRA_RPATH
948
 
KDE_RPATH
949
 
X_RPATH
950
 
kde_libraries
951
 
kde_includes
952
 
KDE_LDFLAGS
953
 
KDE_INCLUDES
954
 
all_includes
955
 
all_libraries
956
 
AUTODIRS
957
 
include_ARTS_TRUE
958
 
include_ARTS_FALSE
959
 
MAKEKDEWIDGETS
960
 
KCONFIG_COMPILER
961
 
KCFG_DEPENDENCIES
962
 
DCOPIDLNG
963
 
DCOPIDL
964
 
DCOPIDL2CPP
965
 
DCOP_DEPENDENCIES
966
 
MCOPIDL
967
 
ARTSCCONFIG
968
 
MEINPROC
969
 
KDE_XSL_STYLESHEET
970
 
XMLLINT
971
 
kde_htmldir
972
 
kde_appsdir
973
 
kde_icondir
974
 
kde_sounddir
975
 
kde_datadir
976
 
kde_locale
977
 
kde_confdir
978
 
kde_kcfgdir
979
 
kde_mimedir
980
 
kde_wallpaperdir
981
 
kde_bindir
982
 
xdg_appsdir
983
 
xdg_menudir
984
 
xdg_directorydir
985
 
kde_templatesdir
986
 
kde_servicesdir
987
 
kde_servicetypesdir
988
 
kde_moduledir
989
 
kdeinitdir
990
 
kde_styledir
991
 
kde_widgetdir
992
 
LIB_KDED
993
 
LIB_KDECORE
994
 
LIB_KDEUI
995
 
LIB_KIO
996
 
LIB_KJS
997
 
LIB_SMB
998
 
LIB_KAB
999
 
LIB_KABC
1000
 
LIB_KHTML
1001
 
LIB_KSPELL
1002
 
LIB_KPARTS
1003
 
LIB_KDEPRINT
1004
 
LIB_KUTILS
1005
 
LIB_KDEPIM
1006
 
LIB_KIMPROXY
1007
 
LIB_KNEWSTUFF
1008
 
LIB_KDNSSD
1009
 
LIB_KUNITTEST
1010
 
LIB_KSYCOCA
1011
 
LIB_KFILE
1012
 
LIB_KFM
1013
 
LIBGCRYPT_CONFIG
1014
 
LIBGCRYPT_CFLAGS
1015
 
LIBGCRYPT_LIBS
1016
 
TOPSUBDIRS
1017
 
LIBOBJS
1018
 
LTLIBOBJS'
1019
 
ac_subst_files=''
1020
 
      ac_precious_vars='build_alias
1021
 
host_alias
1022
 
target_alias
1023
 
CC
1024
 
CFLAGS
1025
 
LDFLAGS
1026
 
LIBS
1027
 
CPPFLAGS
1028
 
CPP
1029
 
CXX
1030
 
CXXFLAGS
1031
 
CCC
1032
 
CXXCPP
1033
 
F77
1034
 
FFLAGS
1035
 
XMKMF'
1036
 
 
1037
 
 
1038
 
# Initialize some variables set by options.
1039
 
ac_init_help=
1040
 
ac_init_version=false
1041
 
# The variables have the same names as the options, with
1042
 
# dashes changed to underlines.
1043
 
cache_file=/dev/null
1044
 
exec_prefix=NONE
1045
 
no_create=
1046
 
no_recursion=
1047
 
prefix=NONE
1048
 
program_prefix=NONE
1049
 
program_suffix=NONE
1050
 
program_transform_name=s,x,x,
1051
 
silent=
1052
 
site=
1053
 
srcdir=
1054
 
verbose=
1055
 
x_includes=NONE
1056
 
x_libraries=NONE
1057
 
 
1058
 
# Installation directory options.
1059
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
1060
 
# and all the variables that are supposed to be based on exec_prefix
1061
 
# by default will actually change.
1062
 
# Use braces instead of parens because sh, perl, etc. also accept them.
1063
 
# (The list follows the same order as the GNU Coding Standards.)
1064
 
bindir='${exec_prefix}/bin'
1065
 
sbindir='${exec_prefix}/sbin'
1066
 
libexecdir='${exec_prefix}/libexec'
1067
 
datarootdir='${prefix}/share'
1068
 
datadir='${datarootdir}'
1069
 
sysconfdir='${prefix}/etc'
1070
 
sharedstatedir='${prefix}/com'
1071
 
localstatedir='${prefix}/var'
1072
 
includedir='${prefix}/include'
1073
 
oldincludedir='/usr/include'
1074
 
docdir='${datarootdir}/doc/${PACKAGE}'
1075
 
infodir='${datarootdir}/info'
1076
 
htmldir='${docdir}'
1077
 
dvidir='${docdir}'
1078
 
pdfdir='${docdir}'
1079
 
psdir='${docdir}'
1080
 
libdir='${exec_prefix}/lib'
1081
 
localedir='${datarootdir}/locale'
1082
 
mandir='${datarootdir}/man'
1083
 
 
1084
 
ac_prev=
1085
 
ac_dashdash=
1086
 
for ac_option
1087
 
do
1088
 
  # If the previous option needs an argument, assign it.
1089
 
  if test -n "$ac_prev"; then
1090
 
    eval $ac_prev=\$ac_option
1091
 
    ac_prev=
1092
 
    continue
1093
 
  fi
1094
 
 
1095
 
  case $ac_option in
1096
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1097
 
  *)    ac_optarg=yes ;;
1098
 
  esac
1099
 
 
1100
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1101
 
 
1102
 
  case $ac_dashdash$ac_option in
1103
 
  --)
1104
 
    ac_dashdash=yes ;;
1105
 
 
1106
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1107
 
    ac_prev=bindir ;;
1108
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1109
 
    bindir=$ac_optarg ;;
1110
 
 
1111
 
  -build | --build | --buil | --bui | --bu)
1112
 
    ac_prev=build_alias ;;
1113
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1114
 
    build_alias=$ac_optarg ;;
1115
 
 
1116
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1117
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1118
 
    ac_prev=cache_file ;;
1119
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1120
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1121
 
    cache_file=$ac_optarg ;;
1122
 
 
1123
 
  --config-cache | -C)
1124
 
    cache_file=config.cache ;;
1125
 
 
1126
 
  -datadir | --datadir | --datadi | --datad)
1127
 
    ac_prev=datadir ;;
1128
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1129
 
    datadir=$ac_optarg ;;
1130
 
 
1131
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1132
 
  | --dataroo | --dataro | --datar)
1133
 
    ac_prev=datarootdir ;;
1134
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1135
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1136
 
    datarootdir=$ac_optarg ;;
1137
 
 
1138
 
  -disable-* | --disable-*)
1139
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1140
 
    # Reject names that are not valid shell variable names.
1141
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1143
 
   { (exit 1); exit 1; }; }
1144
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1145
 
    eval enable_$ac_feature=no ;;
1146
 
 
1147
 
  -docdir | --docdir | --docdi | --doc | --do)
1148
 
    ac_prev=docdir ;;
1149
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1150
 
    docdir=$ac_optarg ;;
1151
 
 
1152
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1153
 
    ac_prev=dvidir ;;
1154
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1155
 
    dvidir=$ac_optarg ;;
1156
 
 
1157
 
  -enable-* | --enable-*)
1158
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1159
 
    # Reject names that are not valid shell variable names.
1160
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1162
 
   { (exit 1); exit 1; }; }
1163
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1164
 
    eval enable_$ac_feature=\$ac_optarg ;;
1165
 
 
1166
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1167
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1168
 
  | --exec | --exe | --ex)
1169
 
    ac_prev=exec_prefix ;;
1170
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1171
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1172
 
  | --exec=* | --exe=* | --ex=*)
1173
 
    exec_prefix=$ac_optarg ;;
1174
 
 
1175
 
  -gas | --gas | --ga | --g)
1176
 
    # Obsolete; use --with-gas.
1177
 
    with_gas=yes ;;
1178
 
 
1179
 
  -help | --help | --hel | --he | -h)
1180
 
    ac_init_help=long ;;
1181
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1182
 
    ac_init_help=recursive ;;
1183
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1184
 
    ac_init_help=short ;;
1185
 
 
1186
 
  -host | --host | --hos | --ho)
1187
 
    ac_prev=host_alias ;;
1188
 
  -host=* | --host=* | --hos=* | --ho=*)
1189
 
    host_alias=$ac_optarg ;;
1190
 
 
1191
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1192
 
    ac_prev=htmldir ;;
1193
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1194
 
  | --ht=*)
1195
 
    htmldir=$ac_optarg ;;
1196
 
 
1197
 
  -includedir | --includedir | --includedi | --included | --include \
1198
 
  | --includ | --inclu | --incl | --inc)
1199
 
    ac_prev=includedir ;;
1200
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1201
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1202
 
    includedir=$ac_optarg ;;
1203
 
 
1204
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1205
 
    ac_prev=infodir ;;
1206
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1207
 
    infodir=$ac_optarg ;;
1208
 
 
1209
 
  -libdir | --libdir | --libdi | --libd)
1210
 
    ac_prev=libdir ;;
1211
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1212
 
    libdir=$ac_optarg ;;
1213
 
 
1214
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1215
 
  | --libexe | --libex | --libe)
1216
 
    ac_prev=libexecdir ;;
1217
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1218
 
  | --libexe=* | --libex=* | --libe=*)
1219
 
    libexecdir=$ac_optarg ;;
1220
 
 
1221
 
  -localedir | --localedir | --localedi | --localed | --locale)
1222
 
    ac_prev=localedir ;;
1223
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1224
 
    localedir=$ac_optarg ;;
1225
 
 
1226
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1227
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1228
 
    ac_prev=localstatedir ;;
1229
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1230
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1231
 
    localstatedir=$ac_optarg ;;
1232
 
 
1233
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1234
 
    ac_prev=mandir ;;
1235
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1236
 
    mandir=$ac_optarg ;;
1237
 
 
1238
 
  -nfp | --nfp | --nf)
1239
 
    # Obsolete; use --without-fp.
1240
 
    with_fp=no ;;
1241
 
 
1242
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1243
 
  | --no-cr | --no-c | -n)
1244
 
    no_create=yes ;;
1245
 
 
1246
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1247
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1248
 
    no_recursion=yes ;;
1249
 
 
1250
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1251
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1252
 
  | --oldin | --oldi | --old | --ol | --o)
1253
 
    ac_prev=oldincludedir ;;
1254
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1255
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1256
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1257
 
    oldincludedir=$ac_optarg ;;
1258
 
 
1259
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1260
 
    ac_prev=prefix ;;
1261
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1262
 
    prefix=$ac_optarg ;;
1263
 
 
1264
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1265
 
  | --program-pre | --program-pr | --program-p)
1266
 
    ac_prev=program_prefix ;;
1267
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1268
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1269
 
    program_prefix=$ac_optarg ;;
1270
 
 
1271
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1272
 
  | --program-suf | --program-su | --program-s)
1273
 
    ac_prev=program_suffix ;;
1274
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1275
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1276
 
    program_suffix=$ac_optarg ;;
1277
 
 
1278
 
  -program-transform-name | --program-transform-name \
1279
 
  | --program-transform-nam | --program-transform-na \
1280
 
  | --program-transform-n | --program-transform- \
1281
 
  | --program-transform | --program-transfor \
1282
 
  | --program-transfo | --program-transf \
1283
 
  | --program-trans | --program-tran \
1284
 
  | --progr-tra | --program-tr | --program-t)
1285
 
    ac_prev=program_transform_name ;;
1286
 
  -program-transform-name=* | --program-transform-name=* \
1287
 
  | --program-transform-nam=* | --program-transform-na=* \
1288
 
  | --program-transform-n=* | --program-transform-=* \
1289
 
  | --program-transform=* | --program-transfor=* \
1290
 
  | --program-transfo=* | --program-transf=* \
1291
 
  | --program-trans=* | --program-tran=* \
1292
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1293
 
    program_transform_name=$ac_optarg ;;
1294
 
 
1295
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1296
 
    ac_prev=pdfdir ;;
1297
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1298
 
    pdfdir=$ac_optarg ;;
1299
 
 
1300
 
  -psdir | --psdir | --psdi | --psd | --ps)
1301
 
    ac_prev=psdir ;;
1302
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1303
 
    psdir=$ac_optarg ;;
1304
 
 
1305
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1306
 
  | -silent | --silent | --silen | --sile | --sil)
1307
 
    silent=yes ;;
1308
 
 
1309
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1310
 
    ac_prev=sbindir ;;
1311
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1312
 
  | --sbi=* | --sb=*)
1313
 
    sbindir=$ac_optarg ;;
1314
 
 
1315
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1316
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1317
 
  | --sharedst | --shareds | --shared | --share | --shar \
1318
 
  | --sha | --sh)
1319
 
    ac_prev=sharedstatedir ;;
1320
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1321
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1322
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1323
 
  | --sha=* | --sh=*)
1324
 
    sharedstatedir=$ac_optarg ;;
1325
 
 
1326
 
  -site | --site | --sit)
1327
 
    ac_prev=site ;;
1328
 
  -site=* | --site=* | --sit=*)
1329
 
    site=$ac_optarg ;;
1330
 
 
1331
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1332
 
    ac_prev=srcdir ;;
1333
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1334
 
    srcdir=$ac_optarg ;;
1335
 
 
1336
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1337
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1338
 
    ac_prev=sysconfdir ;;
1339
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1340
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1341
 
    sysconfdir=$ac_optarg ;;
1342
 
 
1343
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1344
 
    ac_prev=target_alias ;;
1345
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1346
 
    target_alias=$ac_optarg ;;
1347
 
 
1348
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1349
 
    verbose=yes ;;
1350
 
 
1351
 
  -version | --version | --versio | --versi | --vers | -V)
1352
 
    ac_init_version=: ;;
1353
 
 
1354
 
  -with-* | --with-*)
1355
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1356
 
    # Reject names that are not valid shell variable names.
1357
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1358
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1359
 
   { (exit 1); exit 1; }; }
1360
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1361
 
    eval with_$ac_package=\$ac_optarg ;;
1362
 
 
1363
 
  -without-* | --without-*)
1364
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1365
 
    # Reject names that are not valid shell variable names.
1366
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1367
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1368
 
   { (exit 1); exit 1; }; }
1369
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1370
 
    eval with_$ac_package=no ;;
1371
 
 
1372
 
  --x)
1373
 
    # Obsolete; use --with-x.
1374
 
    with_x=yes ;;
1375
 
 
1376
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1377
 
  | --x-incl | --x-inc | --x-in | --x-i)
1378
 
    ac_prev=x_includes ;;
1379
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1380
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1381
 
    x_includes=$ac_optarg ;;
1382
 
 
1383
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1384
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1385
 
    ac_prev=x_libraries ;;
1386
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1387
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1388
 
    x_libraries=$ac_optarg ;;
1389
 
 
1390
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1391
 
Try \`$0 --help' for more information." >&2
1392
 
   { (exit 1); exit 1; }; }
1393
 
    ;;
1394
 
 
1395
 
  *=*)
1396
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1397
 
    # Reject names that are not valid shell variable names.
1398
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1399
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1400
 
   { (exit 1); exit 1; }; }
1401
 
    eval $ac_envvar=\$ac_optarg
1402
 
    export $ac_envvar ;;
1403
 
 
1404
 
  *)
1405
 
    # FIXME: should be removed in autoconf 3.0.
1406
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1407
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1408
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1409
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1410
 
    ;;
1411
 
 
1412
 
  esac
1413
 
done
1414
 
 
1415
 
if test -n "$ac_prev"; then
1416
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1417
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1418
 
   { (exit 1); exit 1; }; }
1419
 
fi
1420
 
 
1421
 
# Be sure to have absolute directory names.
1422
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1423
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1424
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1425
 
                libdir localedir mandir
1426
 
do
1427
 
  eval ac_val=\$$ac_var
1428
 
  case $ac_val in
1429
 
    [\\/$]* | ?:[\\/]* )  continue;;
1430
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1431
 
  esac
1432
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1433
 
   { (exit 1); exit 1; }; }
1434
 
done
1435
 
 
1436
 
# There might be people who depend on the old broken behavior: `$host'
1437
 
# used to hold the argument of --host etc.
1438
 
# FIXME: To remove some day.
1439
 
build=$build_alias
1440
 
host=$host_alias
1441
 
target=$target_alias
1442
 
 
1443
 
# FIXME: To remove some day.
1444
 
if test "x$host_alias" != x; then
1445
 
  if test "x$build_alias" = x; then
1446
 
    cross_compiling=maybe
1447
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1448
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1449
 
  elif test "x$build_alias" != "x$host_alias"; then
1450
 
    cross_compiling=yes
1451
 
  fi
1452
 
fi
1453
 
 
1454
 
ac_tool_prefix=
1455
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1456
 
 
1457
 
test "$silent" = yes && exec 6>/dev/null
1458
 
 
1459
 
 
1460
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1461
 
ac_ls_di=`ls -di .` &&
1462
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1463
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1464
 
   { (exit 1); exit 1; }; }
1465
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1466
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1467
 
   { (exit 1); exit 1; }; }
1468
 
 
1469
 
 
1470
 
# Find the source files, if location was not specified.
1471
 
if test -z "$srcdir"; then
1472
 
  ac_srcdir_defaulted=yes
1473
 
  # Try the directory containing this script, then the parent directory.
1474
 
  ac_confdir=`$as_dirname -- "$0" ||
1475
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1476
 
         X"$0" : 'X\(//\)[^/]' \| \
1477
 
         X"$0" : 'X\(//\)$' \| \
1478
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1479
 
echo X"$0" |
1480
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1481
 
            s//\1/
1482
 
            q
1483
 
          }
1484
 
          /^X\(\/\/\)[^/].*/{
1485
 
            s//\1/
1486
 
            q
1487
 
          }
1488
 
          /^X\(\/\/\)$/{
1489
 
            s//\1/
1490
 
            q
1491
 
          }
1492
 
          /^X\(\/\).*/{
1493
 
            s//\1/
1494
 
            q
1495
 
          }
1496
 
          s/.*/./; q'`
1497
 
  srcdir=$ac_confdir
1498
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1499
 
    srcdir=..
1500
 
  fi
1501
 
else
1502
 
  ac_srcdir_defaulted=no
1503
 
fi
1504
 
if test ! -r "$srcdir/$ac_unique_file"; then
1505
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1506
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1507
 
   { (exit 1); exit 1; }; }
1508
 
fi
1509
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1510
 
ac_abs_confdir=`(
1511
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1512
 
   { (exit 1); exit 1; }; }
1513
 
        pwd)`
1514
 
# When building in place, set srcdir=.
1515
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1516
 
  srcdir=.
1517
 
fi
1518
 
# Remove unnecessary trailing slashes from srcdir.
1519
 
# Double slashes in file names in object file debugging info
1520
 
# mess up M-x gdb in Emacs.
1521
 
case $srcdir in
1522
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1523
 
esac
1524
 
for ac_var in $ac_precious_vars; do
1525
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1526
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1527
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1528
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1529
 
done
1530
 
 
1531
 
#
1532
 
# Report the --help message.
1533
 
#
1534
 
if test "$ac_init_help" = "long"; then
1535
 
  # Omit some internal or obsolete options to make the list less imposing.
1536
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1537
 
  cat <<_ACEOF
1538
 
\`configure' configures this package to adapt to many kinds of systems.
1539
 
 
1540
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1541
 
 
1542
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1543
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1544
 
 
1545
 
Defaults for the options are specified in brackets.
1546
 
 
1547
 
Configuration:
1548
 
  -h, --help              display this help and exit
1549
 
      --help=short        display options specific to this package
1550
 
      --help=recursive    display the short help of all the included packages
1551
 
  -V, --version           display version information and exit
1552
 
  -q, --quiet, --silent   do not print \`checking...' messages
1553
 
      --cache-file=FILE   cache test results in FILE [disabled]
1554
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1555
 
  -n, --no-create         do not create output files
1556
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1557
 
 
1558
 
Installation directories:
1559
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1560
 
                          [$ac_default_prefix]
1561
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1562
 
                          [PREFIX]
1563
 
 
1564
 
By default, \`make install' will install all the files in
1565
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1566
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1567
 
for instance \`--prefix=\$HOME'.
1568
 
 
1569
 
For better control, use the options below.
1570
 
 
1571
 
Fine tuning of the installation directories:
1572
 
  --bindir=DIR           user executables [EPREFIX/bin]
1573
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1574
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1575
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1576
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1577
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1578
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1579
 
  --includedir=DIR       C header files [PREFIX/include]
1580
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1581
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1582
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1583
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1584
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1585
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1586
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1587
 
  --htmldir=DIR          html documentation [DOCDIR]
1588
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1589
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1590
 
  --psdir=DIR            ps documentation [DOCDIR]
1591
 
_ACEOF
1592
 
 
1593
 
  cat <<\_ACEOF
1594
 
 
1595
 
Program names:
1596
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1597
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1598
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1599
 
 
1600
 
System types:
1601
 
  --build=BUILD     configure for building on BUILD [guessed]
1602
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1603
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1604
 
_ACEOF
1605
 
fi
1606
 
 
1607
 
if test -n "$ac_init_help"; then
1608
 
 
1609
 
  cat <<\_ACEOF
1610
 
 
1611
 
Optional Features:
1612
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1613
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1614
 
  --disable-fast-perl     disable fast Makefile generation (needs perl)
1615
 
  --enable-debug=ARG      enables debug symbols (yes|no|full) default=no
1616
 
  --disable-debug         disables debug output and debug symbols default=no
1617
 
  --enable-strict         compiles with strict compiler options (may not
1618
 
                          work!)
1619
 
  --disable-warnings      disables compilation with -Wall and similar
1620
 
  --enable-profile        creates profiling infos default=no
1621
 
  --disable-dependency-tracking  speeds up one-time build
1622
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1623
 
  --enable-pch            enables precompiled header support (currently only
1624
 
                          KCC or gcc >=3.4+unsermake) default=no
1625
 
  --enable-coverage       use gcc coverage testing
1626
 
  --enable-new-ldflags    enable the new linker flags
1627
 
  --enable-final          build size optimized apps (experimental - needs lots
1628
 
                          of memory)
1629
 
  --enable-closure        delay template instantiation
1630
 
  --enable-nmcheck        enable automatic namespace cleanness check
1631
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1632
 
  --enable-static[=PKGS]  build static libraries [default=no]
1633
 
  --enable-libsuffix      /lib directory suffix (64,32,none,auto=default)
1634
 
  --enable-fast-install[=PKGS]
1635
 
                          optimize for fast installation [default=yes]
1636
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1637
 
  --enable-pie            platform supports PIE linking default=detect
1638
 
  --enable-embedded       link to Qt-embedded, don't use X
1639
 
  --enable-qtopia         link to Qt-embedded, link to the Qtopia Environment
1640
 
  --enable-mac            link to Qt/Mac (don't use X)
1641
 
  --disable-mt            link to non-threaded Qt (deprecated)
1642
 
  --disable-threading     disables threading even if libpthread found
1643
 
  --disable-rpath         do not use the rpath feature of ld
1644
 
  --disable-path-check    don't try to find out, where to install
1645
 
 
1646
 
Optional Packages:
1647
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1648
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1649
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1650
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1651
 
                          both]
1652
 
  --with-tags[=TAGS]      include additional configurations [automatic]
1653
 
  --with-extra-includes=DIR
1654
 
                          adds non standard include paths
1655
 
  --with-extra-libs=DIR   adds non standard library paths
1656
 
  --with-qt-dir=DIR       where the root of Qt is installed
1657
 
  --with-qt-includes=DIR  where the Qt includes are.
1658
 
  --with-qt-libraries=DIR where the Qt library is installed.
1659
 
  --without-arts          build without aRts default=no
1660
 
  --with-libgcrypt-prefix=PFX
1661
 
                          prefix where LIBGCRYPT is installed (optional)
1662
 
 
1663
 
Some influential environment variables:
1664
 
  CC          C compiler command
1665
 
  CFLAGS      C compiler flags
1666
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1667
 
              nonstandard directory <lib dir>
1668
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1669
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1670
 
              you have headers in a nonstandard directory <include dir>
1671
 
  CPP         C preprocessor
1672
 
  CXX         C++ compiler command
1673
 
  CXXFLAGS    C++ compiler flags
1674
 
  CXXCPP      C++ preprocessor
1675
 
  F77         Fortran 77 compiler command
1676
 
  FFLAGS      Fortran 77 compiler flags
1677
 
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1678
 
 
1679
 
Use these variables to override the choices made by `configure' or to help
1680
 
it to find libraries and programs with nonstandard names/locations.
1681
 
 
1682
 
_ACEOF
1683
 
ac_status=$?
1684
 
fi
1685
 
 
1686
 
if test "$ac_init_help" = "recursive"; then
1687
 
  # If there are subdirs, report their specific --help.
1688
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1689
 
    test -d "$ac_dir" || continue
1690
 
    ac_builddir=.
1691
 
 
1692
 
case "$ac_dir" in
1693
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1694
 
*)
1695
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1696
 
  # A ".." for each directory in $ac_dir_suffix.
1697
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1698
 
  case $ac_top_builddir_sub in
1699
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1700
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1701
 
  esac ;;
1702
 
esac
1703
 
ac_abs_top_builddir=$ac_pwd
1704
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1705
 
# for backward compatibility:
1706
 
ac_top_builddir=$ac_top_build_prefix
1707
 
 
1708
 
case $srcdir in
1709
 
  .)  # We are building in place.
1710
 
    ac_srcdir=.
1711
 
    ac_top_srcdir=$ac_top_builddir_sub
1712
 
    ac_abs_top_srcdir=$ac_pwd ;;
1713
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1714
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1715
 
    ac_top_srcdir=$srcdir
1716
 
    ac_abs_top_srcdir=$srcdir ;;
1717
 
  *) # Relative name.
1718
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1719
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1720
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1721
 
esac
1722
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1723
 
 
1724
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1725
 
    # Check for guested configure.
1726
 
    if test -f "$ac_srcdir/configure.gnu"; then
1727
 
      echo &&
1728
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1729
 
    elif test -f "$ac_srcdir/configure"; then
1730
 
      echo &&
1731
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1732
 
    else
1733
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1734
 
    fi || ac_status=$?
1735
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1736
 
  done
1737
 
fi
1738
 
 
1739
 
test -n "$ac_init_help" && exit $ac_status
1740
 
if $ac_init_version; then
1741
 
  cat <<\_ACEOF
1742
 
configure
1743
 
generated by GNU Autoconf 2.61
1744
 
 
1745
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1746
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1747
 
This configure script is free software; the Free Software Foundation
1748
 
gives unlimited permission to copy, distribute and modify it.
1749
 
_ACEOF
1750
 
  exit
1751
 
fi
1752
 
cat >config.log <<_ACEOF
1753
 
This file contains any messages produced by compilers while
1754
 
running configure, to aid debugging if configure makes a mistake.
1755
 
 
1756
 
It was created by $as_me, which was
1757
 
generated by GNU Autoconf 2.61.  Invocation command line was
1758
 
 
1759
 
  $ $0 $@
1760
 
 
1761
 
_ACEOF
1762
 
exec 5>>config.log
1763
 
{
1764
 
cat <<_ASUNAME
1765
 
## --------- ##
1766
 
## Platform. ##
1767
 
## --------- ##
1768
 
 
1769
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1770
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1771
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1772
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1773
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1774
 
 
1775
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1776
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1777
 
 
1778
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1779
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1780
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1781
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1782
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1783
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1784
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1785
 
 
1786
 
_ASUNAME
1787
 
 
1788
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789
 
for as_dir in $PATH
1790
 
do
1791
 
  IFS=$as_save_IFS
1792
 
  test -z "$as_dir" && as_dir=.
1793
 
  echo "PATH: $as_dir"
1794
 
done
1795
 
IFS=$as_save_IFS
1796
 
 
1797
 
} >&5
1798
 
 
1799
 
cat >&5 <<_ACEOF
1800
 
 
1801
 
 
1802
 
## ----------- ##
1803
 
## Core tests. ##
1804
 
## ----------- ##
1805
 
 
1806
 
_ACEOF
1807
 
 
1808
 
 
1809
 
# Keep a trace of the command line.
1810
 
# Strip out --no-create and --no-recursion so they do not pile up.
1811
 
# Strip out --silent because we don't want to record it for future runs.
1812
 
# Also quote any args containing shell meta-characters.
1813
 
# Make two passes to allow for proper duplicate-argument suppression.
1814
 
ac_configure_args=
1815
 
ac_configure_args0=
1816
 
ac_configure_args1=
1817
 
ac_must_keep_next=false
1818
 
for ac_pass in 1 2
1819
 
do
1820
 
  for ac_arg
1821
 
  do
1822
 
    case $ac_arg in
1823
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1824
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1825
 
    | -silent | --silent | --silen | --sile | --sil)
1826
 
      continue ;;
1827
 
    *\'*)
1828
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1829
 
    esac
1830
 
    case $ac_pass in
1831
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1832
 
    2)
1833
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1834
 
      if test $ac_must_keep_next = true; then
1835
 
        ac_must_keep_next=false # Got value, back to normal.
1836
 
      else
1837
 
        case $ac_arg in
1838
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1839
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1840
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1841
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1842
 
            case "$ac_configure_args0 " in
1843
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1844
 
            esac
1845
 
            ;;
1846
 
          -* ) ac_must_keep_next=true ;;
1847
 
        esac
1848
 
      fi
1849
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1850
 
      ;;
1851
 
    esac
1852
 
  done
1853
 
done
1854
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1855
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1856
 
 
1857
 
# When interrupted or exit'd, cleanup temporary files, and complete
1858
 
# config.log.  We remove comments because anyway the quotes in there
1859
 
# would cause problems or look ugly.
1860
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1861
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1862
 
trap 'exit_status=$?
1863
 
  # Save into config.log some information that might help in debugging.
1864
 
  {
1865
 
    echo
1866
 
 
1867
 
    cat <<\_ASBOX
1868
 
## ---------------- ##
1869
 
## Cache variables. ##
1870
 
## ---------------- ##
1871
 
_ASBOX
1872
 
    echo
1873
 
    # The following way of writing the cache mishandles newlines in values,
1874
 
(
1875
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1876
 
    eval ac_val=\$$ac_var
1877
 
    case $ac_val in #(
1878
 
    *${as_nl}*)
1879
 
      case $ac_var in #(
1880
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1881
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1882
 
      esac
1883
 
      case $ac_var in #(
1884
 
      _ | IFS | as_nl) ;; #(
1885
 
      *) $as_unset $ac_var ;;
1886
 
      esac ;;
1887
 
    esac
1888
 
  done
1889
 
  (set) 2>&1 |
1890
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1891
 
    *${as_nl}ac_space=\ *)
1892
 
      sed -n \
1893
 
        "s/'\''/'\''\\\\'\'''\''/g;
1894
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1895
 
      ;; #(
1896
 
    *)
1897
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1898
 
      ;;
1899
 
    esac |
1900
 
    sort
1901
 
)
1902
 
    echo
1903
 
 
1904
 
    cat <<\_ASBOX
1905
 
## ----------------- ##
1906
 
## Output variables. ##
1907
 
## ----------------- ##
1908
 
_ASBOX
1909
 
    echo
1910
 
    for ac_var in $ac_subst_vars
1911
 
    do
1912
 
      eval ac_val=\$$ac_var
1913
 
      case $ac_val in
1914
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1915
 
      esac
1916
 
      echo "$ac_var='\''$ac_val'\''"
1917
 
    done | sort
1918
 
    echo
1919
 
 
1920
 
    if test -n "$ac_subst_files"; then
1921
 
      cat <<\_ASBOX
1922
 
## ------------------- ##
1923
 
## File substitutions. ##
1924
 
## ------------------- ##
1925
 
_ASBOX
1926
 
      echo
1927
 
      for ac_var in $ac_subst_files
1928
 
      do
1929
 
        eval ac_val=\$$ac_var
1930
 
        case $ac_val in
1931
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1932
 
        esac
1933
 
        echo "$ac_var='\''$ac_val'\''"
1934
 
      done | sort
1935
 
      echo
1936
 
    fi
1937
 
 
1938
 
    if test -s confdefs.h; then
1939
 
      cat <<\_ASBOX
1940
 
## ----------- ##
1941
 
## confdefs.h. ##
1942
 
## ----------- ##
1943
 
_ASBOX
1944
 
      echo
1945
 
      cat confdefs.h
1946
 
      echo
1947
 
    fi
1948
 
    test "$ac_signal" != 0 &&
1949
 
      echo "$as_me: caught signal $ac_signal"
1950
 
    echo "$as_me: exit $exit_status"
1951
 
  } >&5
1952
 
  rm -f core *.core core.conftest.* &&
1953
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1954
 
    exit $exit_status
1955
 
' 0
1956
 
for ac_signal in 1 2 13 15; do
1957
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1958
 
done
1959
 
ac_signal=0
1960
 
 
1961
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1962
 
rm -f -r conftest* confdefs.h
1963
 
 
1964
 
# Predefined preprocessor variables.
1965
 
 
1966
 
cat >>confdefs.h <<_ACEOF
1967
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1968
 
_ACEOF
1969
 
 
1970
 
 
1971
 
cat >>confdefs.h <<_ACEOF
1972
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1973
 
_ACEOF
1974
 
 
1975
 
 
1976
 
cat >>confdefs.h <<_ACEOF
1977
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1978
 
_ACEOF
1979
 
 
1980
 
 
1981
 
cat >>confdefs.h <<_ACEOF
1982
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1983
 
_ACEOF
1984
 
 
1985
 
 
1986
 
cat >>confdefs.h <<_ACEOF
1987
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1988
 
_ACEOF
1989
 
 
1990
 
 
1991
 
# Let the site file select an alternate cache file if it wants to.
1992
 
# Prefer explicitly selected file to automatically selected ones.
1993
 
if test -n "$CONFIG_SITE"; then
1994
 
  set x "$CONFIG_SITE"
1995
 
elif test "x$prefix" != xNONE; then
1996
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1997
 
else
1998
 
  set x "$ac_default_prefix/share/config.site" \
1999
 
        "$ac_default_prefix/etc/config.site"
2000
 
fi
2001
 
shift
2002
 
for ac_site_file
2003
 
do
2004
 
  if test -r "$ac_site_file"; then
2005
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2006
 
echo "$as_me: loading site script $ac_site_file" >&6;}
2007
 
    sed 's/^/| /' "$ac_site_file" >&5
2008
 
    . "$ac_site_file"
2009
 
  fi
2010
 
done
2011
 
 
2012
 
if test -r "$cache_file"; then
2013
 
  # Some versions of bash will fail to source /dev/null (special
2014
 
  # files actually), so we avoid doing that.
2015
 
  if test -f "$cache_file"; then
2016
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2017
 
echo "$as_me: loading cache $cache_file" >&6;}
2018
 
    case $cache_file in
2019
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2020
 
      *)                      . "./$cache_file";;
2021
 
    esac
2022
 
  fi
2023
 
else
2024
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2025
 
echo "$as_me: creating cache $cache_file" >&6;}
2026
 
  >$cache_file
2027
 
fi
2028
 
 
2029
 
# Check that the precious variables saved in the cache have kept the same
2030
 
# value.
2031
 
ac_cache_corrupted=false
2032
 
for ac_var in $ac_precious_vars; do
2033
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2034
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2035
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2036
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2037
 
  case $ac_old_set,$ac_new_set in
2038
 
    set,)
2039
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2040
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2041
 
      ac_cache_corrupted=: ;;
2042
 
    ,set)
2043
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2044
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2045
 
      ac_cache_corrupted=: ;;
2046
 
    ,);;
2047
 
    *)
2048
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2049
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2050
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2051
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2052
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
2053
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2054
 
echo "$as_me:   current value: $ac_new_val" >&2;}
2055
 
        ac_cache_corrupted=:
2056
 
      fi;;
2057
 
  esac
2058
 
  # Pass precious variables to config.status.
2059
 
  if test "$ac_new_set" = set; then
2060
 
    case $ac_new_val in
2061
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2062
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2063
 
    esac
2064
 
    case " $ac_configure_args " in
2065
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2066
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2067
 
    esac
2068
 
  fi
2069
 
done
2070
 
if $ac_cache_corrupted; then
2071
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2072
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2073
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2074
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2075
 
   { (exit 1); exit 1; }; }
2076
 
fi
2077
 
 
2078
 
 
2079
 
 
2080
 
 
2081
 
 
2082
 
 
2083
 
 
2084
 
 
2085
 
 
2086
 
 
2087
 
 
2088
 
 
2089
 
 
2090
 
 
2091
 
 
2092
 
 
2093
 
 
2094
 
ac_ext=c
2095
 
ac_cpp='$CPP $CPPFLAGS'
2096
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2097
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2098
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2099
 
 
2100
 
 
2101
 
ac_aux_dir=
2102
 
for ac_dir in admin "$srcdir"/admin; do
2103
 
  if test -f "$ac_dir/install-sh"; then
2104
 
    ac_aux_dir=$ac_dir
2105
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2106
 
    break
2107
 
  elif test -f "$ac_dir/install.sh"; then
2108
 
    ac_aux_dir=$ac_dir
2109
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2110
 
    break
2111
 
  elif test -f "$ac_dir/shtool"; then
2112
 
    ac_aux_dir=$ac_dir
2113
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2114
 
    break
2115
 
  fi
2116
 
done
2117
 
if test -z "$ac_aux_dir"; then
2118
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5
2119
 
echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;}
2120
 
   { (exit 1); exit 1; }; }
2121
 
fi
2122
 
 
2123
 
# These three variables are undocumented and unsupported,
2124
 
# and are intended to be withdrawn in a future Autoconf release.
2125
 
# They can cause serious problems if a builder's source tree is in a directory
2126
 
# whose full name contains unusual characters.
2127
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2128
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2129
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2130
 
 
2131
 
 
2132
 
 
2133
 
unset CDPATH
2134
 
 
2135
 
# Make sure we can run config.sub.
2136
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2137
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2138
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2139
 
   { (exit 1); exit 1; }; }
2140
 
 
2141
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2142
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2143
 
if test "${ac_cv_build+set}" = set; then
2144
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2145
 
else
2146
 
  ac_build_alias=$build_alias
2147
 
test "x$ac_build_alias" = x &&
2148
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2149
 
test "x$ac_build_alias" = x &&
2150
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2151
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2152
 
   { (exit 1); exit 1; }; }
2153
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2154
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2155
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2156
 
   { (exit 1); exit 1; }; }
2157
 
 
2158
 
fi
2159
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2160
 
echo "${ECHO_T}$ac_cv_build" >&6; }
2161
 
case $ac_cv_build in
2162
 
*-*-*) ;;
2163
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2164
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2165
 
   { (exit 1); exit 1; }; };;
2166
 
esac
2167
 
build=$ac_cv_build
2168
 
ac_save_IFS=$IFS; IFS='-'
2169
 
set x $ac_cv_build
2170
 
shift
2171
 
build_cpu=$1
2172
 
build_vendor=$2
2173
 
shift; shift
2174
 
# Remember, the first character of IFS is used to create $*,
2175
 
# except with old shells:
2176
 
build_os=$*
2177
 
IFS=$ac_save_IFS
2178
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2179
 
 
2180
 
 
2181
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2182
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2183
 
if test "${ac_cv_host+set}" = set; then
2184
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2185
 
else
2186
 
  if test "x$host_alias" = x; then
2187
 
  ac_cv_host=$ac_cv_build
2188
 
else
2189
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2190
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2191
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2192
 
   { (exit 1); exit 1; }; }
2193
 
fi
2194
 
 
2195
 
fi
2196
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2197
 
echo "${ECHO_T}$ac_cv_host" >&6; }
2198
 
case $ac_cv_host in
2199
 
*-*-*) ;;
2200
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2201
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2202
 
   { (exit 1); exit 1; }; };;
2203
 
esac
2204
 
host=$ac_cv_host
2205
 
ac_save_IFS=$IFS; IFS='-'
2206
 
set x $ac_cv_host
2207
 
shift
2208
 
host_cpu=$1
2209
 
host_vendor=$2
2210
 
shift; shift
2211
 
# Remember, the first character of IFS is used to create $*,
2212
 
# except with old shells:
2213
 
host_os=$*
2214
 
IFS=$ac_save_IFS
2215
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2216
 
 
2217
 
 
2218
 
{ echo "$as_me:$LINENO: checking target system type" >&5
2219
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2220
 
if test "${ac_cv_target+set}" = set; then
2221
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2222
 
else
2223
 
  if test "x$target_alias" = x; then
2224
 
  ac_cv_target=$ac_cv_host
2225
 
else
2226
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2227
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2228
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2229
 
   { (exit 1); exit 1; }; }
2230
 
fi
2231
 
 
2232
 
fi
2233
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2234
 
echo "${ECHO_T}$ac_cv_target" >&6; }
2235
 
case $ac_cv_target in
2236
 
*-*-*) ;;
2237
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2238
 
echo "$as_me: error: invalid value of canonical target" >&2;}
2239
 
   { (exit 1); exit 1; }; };;
2240
 
esac
2241
 
target=$ac_cv_target
2242
 
ac_save_IFS=$IFS; IFS='-'
2243
 
set x $ac_cv_target
2244
 
shift
2245
 
target_cpu=$1
2246
 
target_vendor=$2
2247
 
shift; shift
2248
 
# Remember, the first character of IFS is used to create $*,
2249
 
# except with old shells:
2250
 
target_os=$*
2251
 
IFS=$ac_save_IFS
2252
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2253
 
 
2254
 
 
2255
 
# The aliases save the names the user supplied, while $host etc.
2256
 
# will get canonicalized.
2257
 
test -n "$target_alias" &&
2258
 
  test "$program_prefix$program_suffix$program_transform_name" = \
2259
 
    NONENONEs,x,x, &&
2260
 
  program_prefix=${target_alias}-
2261
 
test "$program_prefix" != NONE &&
2262
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2263
 
# Use a double $ so make ignores it.
2264
 
test "$program_suffix" != NONE &&
2265
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2266
 
# Double any \ or $.  echo might interpret backslashes.
2267
 
# By default was `s,x,x', remove it if useless.
2268
 
cat <<\_ACEOF >conftest.sed
2269
 
s/[\\$]/&&/g;s/;s,x,x,$//
2270
 
_ACEOF
2271
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2272
 
rm -f conftest.sed
2273
 
 
2274
 
 
2275
 
am__api_version="1.9"
2276
 
 
2277
 
 
2278
 
          test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
2279
 
  test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
2280
 
  test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
2281
 
  # Find a good install program.  We prefer a C program (faster),
2282
 
# so one script is as good as another.  But avoid the broken or
2283
 
# incompatible versions:
2284
 
# SysV /etc/install, /usr/sbin/install
2285
 
# SunOS /usr/etc/install
2286
 
# IRIX /sbin/install
2287
 
# AIX /bin/install
2288
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2289
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2290
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2291
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2292
 
# OS/2's system install, which has a completely different semantic
2293
 
# ./install, which can be erroneously created by make from ./install.sh.
2294
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2295
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2296
 
if test -z "$INSTALL"; then
2297
 
if test "${ac_cv_path_install+set}" = set; then
2298
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2299
 
else
2300
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301
 
for as_dir in $PATH
2302
 
do
2303
 
  IFS=$as_save_IFS
2304
 
  test -z "$as_dir" && as_dir=.
2305
 
  # Account for people who put trailing slashes in PATH elements.
2306
 
case $as_dir/ in
2307
 
  ./ | .// | /cC/* | \
2308
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2309
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2310
 
  /usr/ucb/* ) ;;
2311
 
  *)
2312
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2313
 
    # Don't use installbsd from OSF since it installs stuff as root
2314
 
    # by default.
2315
 
    for ac_prog in ginstall scoinst install; do
2316
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2317
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2318
 
          if test $ac_prog = install &&
2319
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2320
 
            # AIX install.  It has an incompatible calling convention.
2321
 
            :
2322
 
          elif test $ac_prog = install &&
2323
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2324
 
            # program-specific install script used by HP pwplus--don't use.
2325
 
            :
2326
 
          else
2327
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2328
 
            break 3
2329
 
          fi
2330
 
        fi
2331
 
      done
2332
 
    done
2333
 
    ;;
2334
 
esac
2335
 
done
2336
 
IFS=$as_save_IFS
2337
 
 
2338
 
 
2339
 
fi
2340
 
  if test "${ac_cv_path_install+set}" = set; then
2341
 
    INSTALL=$ac_cv_path_install
2342
 
  else
2343
 
    # As a last resort, use the slow shell script.  Don't cache a
2344
 
    # value for INSTALL within a source directory, because that will
2345
 
    # break other packages using the cache if that directory is
2346
 
    # removed, or if the value is a relative name.
2347
 
    INSTALL=$ac_install_sh
2348
 
  fi
2349
 
fi
2350
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2351
 
echo "${ECHO_T}$INSTALL" >&6; }
2352
 
 
2353
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2354
 
# It thinks the first close brace ends the variable substitution.
2355
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2356
 
 
2357
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2358
 
 
2359
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2360
 
 
2361
 
 
2362
 
  if test -z "$kde_save_INSTALL_given" ; then
2363
 
    # OK, user hasn't given any INSTALL, autoconf found one for us
2364
 
    # now we test, if it supports the -p flag
2365
 
    { echo "$as_me:$LINENO: checking for -p flag to install" >&5
2366
 
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6; }
2367
 
    rm -f confinst.$$.* > /dev/null 2>&1
2368
 
    echo "Testtest" > confinst.$$.orig
2369
 
    ac_res=no
2370
 
    if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
2371
 
      if test -f confinst.$$.new ; then
2372
 
        # OK, -p seems to do no harm to install
2373
 
        INSTALL="${INSTALL} -p"
2374
 
        ac_res=yes
2375
 
      fi
2376
 
    fi
2377
 
    rm -f confinst.$$.*
2378
 
    { echo "$as_me:$LINENO: result: $ac_res" >&5
2379
 
echo "${ECHO_T}$ac_res" >&6; }
2380
 
  fi
2381
 
 
2382
 
  if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
2383
 
    INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
2384
 
  fi
2385
 
  if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
2386
 
    INSTALL_SCRIPT='${INSTALL}'
2387
 
  fi
2388
 
 
2389
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2390
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2391
 
# Just in case
2392
 
sleep 1
2393
 
echo timestamp > conftest.file
2394
 
# Do `set' in a subshell so we don't clobber the current shell's
2395
 
# arguments.  Must try -L first in case configure is actually a
2396
 
# symlink; some systems play weird games with the mod time of symlinks
2397
 
# (eg FreeBSD returns the mod time of the symlink's containing
2398
 
# directory).
2399
 
if (
2400
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2401
 
   if test "$*" = "X"; then
2402
 
      # -L didn't work.
2403
 
      set X `ls -t $srcdir/configure conftest.file`
2404
 
   fi
2405
 
   rm -f conftest.file
2406
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2407
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2408
 
 
2409
 
      # If neither matched, then we have a broken ls.  This can happen
2410
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2411
 
      # broken ls alias from the environment.  This has actually
2412
 
      # happened.  Such a system could not be considered "sane".
2413
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2414
 
alias in your environment" >&5
2415
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2416
 
alias in your environment" >&2;}
2417
 
   { (exit 1); exit 1; }; }
2418
 
   fi
2419
 
 
2420
 
   test "$2" = conftest.file
2421
 
   )
2422
 
then
2423
 
   # Ok.
2424
 
   :
2425
 
else
2426
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2427
 
Check your system clock" >&5
2428
 
echo "$as_me: error: newly created file is older than distributed files!
2429
 
Check your system clock" >&2;}
2430
 
   { (exit 1); exit 1; }; }
2431
 
fi
2432
 
{ echo "$as_me:$LINENO: result: yes" >&5
2433
 
echo "${ECHO_T}yes" >&6; }
2434
 
# expand $ac_aux_dir to an absolute path
2435
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2436
 
 
2437
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2438
 
# Use eval to expand $SHELL
2439
 
if eval "$MISSING --run true"; then
2440
 
  am_missing_run="$MISSING --run "
2441
 
else
2442
 
  am_missing_run=
2443
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2444
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2445
 
fi
2446
 
 
2447
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2448
 
  # We used to keeping the `.' as first argument, in order to
2449
 
  # allow $(mkdir_p) to be used without argument.  As in
2450
 
  #   $(mkdir_p) $(somedir)
2451
 
  # where $(somedir) is conditionally defined.  However this is wrong
2452
 
  # for two reasons:
2453
 
  #  1. if the package is installed by a user who cannot write `.'
2454
 
  #     make install will fail,
2455
 
  #  2. the above comment should most certainly read
2456
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2457
 
  #     so it does not work when $(somedir) is undefined and
2458
 
  #     $(DESTDIR) is not.
2459
 
  #  To support the latter case, we have to write
2460
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2461
 
  #  so the `.' trick is pointless.
2462
 
  mkdir_p='mkdir -p --'
2463
 
else
2464
 
  # On NextStep and OpenStep, the `mkdir' command does not
2465
 
  # recognize any option.  It will interpret all options as
2466
 
  # directories to create, and then abort because `.' already
2467
 
  # exists.
2468
 
  for d in ./-p ./--version;
2469
 
  do
2470
 
    test -d $d && rmdir $d
2471
 
  done
2472
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2473
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2474
 
    mkdir_p='$(mkinstalldirs)'
2475
 
  else
2476
 
    mkdir_p='$(install_sh) -d'
2477
 
  fi
2478
 
fi
2479
 
 
2480
 
for ac_prog in gawk mawk nawk awk
2481
 
do
2482
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2483
 
set dummy $ac_prog; ac_word=$2
2484
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2485
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2486
 
if test "${ac_cv_prog_AWK+set}" = set; then
2487
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2488
 
else
2489
 
  if test -n "$AWK"; then
2490
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2491
 
else
2492
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493
 
for as_dir in $PATH
2494
 
do
2495
 
  IFS=$as_save_IFS
2496
 
  test -z "$as_dir" && as_dir=.
2497
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2498
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499
 
    ac_cv_prog_AWK="$ac_prog"
2500
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501
 
    break 2
2502
 
  fi
2503
 
done
2504
 
done
2505
 
IFS=$as_save_IFS
2506
 
 
2507
 
fi
2508
 
fi
2509
 
AWK=$ac_cv_prog_AWK
2510
 
if test -n "$AWK"; then
2511
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2512
 
echo "${ECHO_T}$AWK" >&6; }
2513
 
else
2514
 
  { echo "$as_me:$LINENO: result: no" >&5
2515
 
echo "${ECHO_T}no" >&6; }
2516
 
fi
2517
 
 
2518
 
 
2519
 
  test -n "$AWK" && break
2520
 
done
2521
 
 
2522
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2523
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2524
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2525
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2526
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2527
 
else
2528
 
  cat >conftest.make <<\_ACEOF
2529
 
SHELL = /bin/sh
2530
 
all:
2531
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2532
 
_ACEOF
2533
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2534
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2535
 
  *@@@%%%=?*=@@@%%%*)
2536
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2537
 
  *)
2538
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2539
 
esac
2540
 
rm -f conftest.make
2541
 
fi
2542
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2543
 
  { echo "$as_me:$LINENO: result: yes" >&5
2544
 
echo "${ECHO_T}yes" >&6; }
2545
 
  SET_MAKE=
2546
 
else
2547
 
  { echo "$as_me:$LINENO: result: no" >&5
2548
 
echo "${ECHO_T}no" >&6; }
2549
 
  SET_MAKE="MAKE=${MAKE-make}"
2550
 
fi
2551
 
 
2552
 
rm -rf .tst 2>/dev/null
2553
 
mkdir .tst 2>/dev/null
2554
 
if test -d .tst; then
2555
 
  am__leading_dot=.
2556
 
else
2557
 
  am__leading_dot=_
2558
 
fi
2559
 
rmdir .tst 2>/dev/null
2560
 
 
2561
 
# test to see if srcdir already configured
2562
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2563
 
   test -f $srcdir/config.status; then
2564
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2565
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2566
 
   { (exit 1); exit 1; }; }
2567
 
fi
2568
 
 
2569
 
# test whether we have cygpath
2570
 
if test -z "$CYGPATH_W"; then
2571
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2572
 
    CYGPATH_W='cygpath -w'
2573
 
  else
2574
 
    CYGPATH_W=echo
2575
 
  fi
2576
 
fi
2577
 
 
2578
 
 
2579
 
# Define the identity of the package.
2580
 
 PACKAGE=kvpnc
2581
 
 VERSION=0.1
2582
 
 
2583
 
 
2584
 
cat >>confdefs.h <<_ACEOF
2585
 
#define PACKAGE "$PACKAGE"
2586
 
_ACEOF
2587
 
 
2588
 
 
2589
 
cat >>confdefs.h <<_ACEOF
2590
 
#define VERSION "$VERSION"
2591
 
_ACEOF
2592
 
 
2593
 
# Some tools Automake needs.
2594
 
 
2595
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2596
 
 
2597
 
 
2598
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2599
 
 
2600
 
 
2601
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2602
 
 
2603
 
 
2604
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2605
 
 
2606
 
 
2607
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2608
 
 
2609
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2610
 
 
2611
 
# Installed binaries are usually stripped using `strip' when the user
2612
 
# run `make install-strip'.  However `strip' might not be the right
2613
 
# tool to use in cross-compilation environments, therefore Automake
2614
 
# will honor the `STRIP' environment variable to overrule this program.
2615
 
if test "$cross_compiling" != no; then
2616
 
  if test -n "$ac_tool_prefix"; then
2617
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2618
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2619
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2620
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2621
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2622
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2623
 
else
2624
 
  if test -n "$STRIP"; then
2625
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2626
 
else
2627
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628
 
for as_dir in $PATH
2629
 
do
2630
 
  IFS=$as_save_IFS
2631
 
  test -z "$as_dir" && as_dir=.
2632
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2633
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2634
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2635
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2636
 
    break 2
2637
 
  fi
2638
 
done
2639
 
done
2640
 
IFS=$as_save_IFS
2641
 
 
2642
 
fi
2643
 
fi
2644
 
STRIP=$ac_cv_prog_STRIP
2645
 
if test -n "$STRIP"; then
2646
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2647
 
echo "${ECHO_T}$STRIP" >&6; }
2648
 
else
2649
 
  { echo "$as_me:$LINENO: result: no" >&5
2650
 
echo "${ECHO_T}no" >&6; }
2651
 
fi
2652
 
 
2653
 
 
2654
 
fi
2655
 
if test -z "$ac_cv_prog_STRIP"; then
2656
 
  ac_ct_STRIP=$STRIP
2657
 
  # Extract the first word of "strip", so it can be a program name with args.
2658
 
set dummy strip; ac_word=$2
2659
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2660
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2661
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2662
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2663
 
else
2664
 
  if test -n "$ac_ct_STRIP"; then
2665
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2666
 
else
2667
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668
 
for as_dir in $PATH
2669
 
do
2670
 
  IFS=$as_save_IFS
2671
 
  test -z "$as_dir" && as_dir=.
2672
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2673
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2674
 
    ac_cv_prog_ac_ct_STRIP="strip"
2675
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2676
 
    break 2
2677
 
  fi
2678
 
done
2679
 
done
2680
 
IFS=$as_save_IFS
2681
 
 
2682
 
fi
2683
 
fi
2684
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2685
 
if test -n "$ac_ct_STRIP"; then
2686
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2687
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2688
 
else
2689
 
  { echo "$as_me:$LINENO: result: no" >&5
2690
 
echo "${ECHO_T}no" >&6; }
2691
 
fi
2692
 
 
2693
 
  if test "x$ac_ct_STRIP" = x; then
2694
 
    STRIP=":"
2695
 
  else
2696
 
    case $cross_compiling:$ac_tool_warned in
2697
 
yes:)
2698
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2699
 
whose name does not start with the host triplet.  If you think this
2700
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2701
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2702
 
whose name does not start with the host triplet.  If you think this
2703
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2704
 
ac_tool_warned=yes ;;
2705
 
esac
2706
 
    STRIP=$ac_ct_STRIP
2707
 
  fi
2708
 
else
2709
 
  STRIP="$ac_cv_prog_STRIP"
2710
 
fi
2711
 
 
2712
 
fi
2713
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2714
 
 
2715
 
# We need awk for the "check" target.  The system "awk" is bad on
2716
 
# some platforms.
2717
 
# Always define AMTAR for backward compatibility.
2718
 
 
2719
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2720
 
 
2721
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2722
 
 
2723
 
 
2724
 
 
2725
 
 
2726
 
 
2727
 
 
2728
 
  unset CDPATH
2729
 
 
2730
 
 
2731
 
 
2732
 
    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"
2733
 
    test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
2734
 
    if test -n "$KDEDIRS"; then
2735
 
       kde_save_IFS=$IFS
2736
 
       IFS=:
2737
 
       for dir in $KDEDIRS; do
2738
 
            kde_default_bindirs="$dir/bin $kde_default_bindirs "
2739
 
       done
2740
 
       IFS=$kde_save_IFS
2741
 
    fi
2742
 
 
2743
 
  if test "x$prefix" = "xNONE"; then
2744
 
 
2745
 
   { echo "$as_me:$LINENO: checking for kde-config" >&5
2746
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2747
 
   if test -n "$KDECONFIG"; then
2748
 
        kde_cv_path="$KDECONFIG";
2749
 
   else
2750
 
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2751
 
 
2752
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2753
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2754
 
else
2755
 
 
2756
 
        kde_cv_path="NONE"
2757
 
        kde_save_IFS=$IFS
2758
 
        IFS=':'
2759
 
        dirs=""
2760
 
        for dir in $PATH; do
2761
 
          dirs="$dirs $dir"
2762
 
        done
2763
 
        if test -z "prepend"; then        dirs="$kde_default_bindirs $dirs"
2764
 
        else      dirs="$dirs $kde_default_bindirs"
2765
 
        fi
2766
 
        IFS=$kde_save_IFS
2767
 
 
2768
 
        for dir in $dirs; do
2769
 
          if test -x "$dir/kde-config"; then
2770
 
            if test -n ""
2771
 
            then
2772
 
              evalstr="$dir/kde-config  2>&1 "
2773
 
              if eval $evalstr; then
2774
 
                kde_cv_path="$dir/kde-config"
2775
 
                break
2776
 
              fi
2777
 
            else
2778
 
                kde_cv_path="$dir/kde-config"
2779
 
                break
2780
 
            fi
2781
 
          fi
2782
 
        done
2783
 
 
2784
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
2785
 
 
2786
 
 
2787
 
fi
2788
 
 
2789
 
 
2790
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2791
 
 
2792
 
   fi
2793
 
 
2794
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2795
 
      { echo "$as_me:$LINENO: result: not found" >&5
2796
 
echo "${ECHO_T}not found" >&6; }
2797
 
 
2798
 
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2799
 
Please check whether you installed KDE correctly.
2800
 
" >&5
2801
 
echo "$as_me: error: The important program kde-config was not found!
2802
 
Please check whether you installed KDE correctly.
2803
 
" >&2;}
2804
 
   { (exit 1); exit 1; }; }
2805
 
 
2806
 
   else
2807
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2808
 
echo "${ECHO_T}$kde_cv_path" >&6; }
2809
 
      KDECONFIG=$kde_cv_path
2810
 
 
2811
 
   fi
2812
 
 
2813
 
  else
2814
 
        kde_save_PATH="$PATH"
2815
 
    PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2816
 
 
2817
 
   { echo "$as_me:$LINENO: checking for kde-config" >&5
2818
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2819
 
   if test -n "$KDECONFIG"; then
2820
 
        kde_cv_path="$KDECONFIG";
2821
 
   else
2822
 
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2823
 
 
2824
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2825
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2826
 
else
2827
 
 
2828
 
        kde_cv_path="NONE"
2829
 
        kde_save_IFS=$IFS
2830
 
        IFS=':'
2831
 
        dirs=""
2832
 
        for dir in $PATH; do
2833
 
          dirs="$dirs $dir"
2834
 
        done
2835
 
        if test -z "prepend"; then        dirs="$kde_default_bindirs $dirs"
2836
 
        else      dirs="$dirs $kde_default_bindirs"
2837
 
        fi
2838
 
        IFS=$kde_save_IFS
2839
 
 
2840
 
        for dir in $dirs; do
2841
 
          if test -x "$dir/kde-config"; then
2842
 
            if test -n ""
2843
 
            then
2844
 
              evalstr="$dir/kde-config  2>&1 "
2845
 
              if eval $evalstr; then
2846
 
                kde_cv_path="$dir/kde-config"
2847
 
                break
2848
 
              fi
2849
 
            else
2850
 
                kde_cv_path="$dir/kde-config"
2851
 
                break
2852
 
            fi
2853
 
          fi
2854
 
        done
2855
 
 
2856
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
2857
 
 
2858
 
 
2859
 
fi
2860
 
 
2861
 
 
2862
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2863
 
 
2864
 
   fi
2865
 
 
2866
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2867
 
      { echo "$as_me:$LINENO: result: not found" >&5
2868
 
echo "${ECHO_T}not found" >&6; }
2869
 
 
2870
 
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2871
 
Please check whether you installed KDE correctly.
2872
 
" >&5
2873
 
echo "$as_me: error: The important program kde-config was not found!
2874
 
Please check whether you installed KDE correctly.
2875
 
" >&2;}
2876
 
   { (exit 1); exit 1; }; }
2877
 
 
2878
 
   else
2879
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2880
 
echo "${ECHO_T}$kde_cv_path" >&6; }
2881
 
      KDECONFIG=$kde_cv_path
2882
 
 
2883
 
   fi
2884
 
 
2885
 
    PATH="$kde_save_PATH"
2886
 
  fi
2887
 
 
2888
 
  kde_libs_prefix=`$KDECONFIG --prefix`
2889
 
  if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
2890
 
       { { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2891
 
                    This means it has been moved since you installed it.
2892
 
                    This won't work. Please recompile kdelibs for the new prefix.
2893
 
                    " >&5
2894
 
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2895
 
                    This means it has been moved since you installed it.
2896
 
                    This won't work. Please recompile kdelibs for the new prefix.
2897
 
                    " >&2;}
2898
 
   { (exit 1); exit 1; }; }
2899
 
  fi
2900
 
  kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2901
 
 
2902
 
  { echo "$as_me:$LINENO: checking where to install" >&5
2903
 
echo $ECHO_N "checking where to install... $ECHO_C" >&6; }
2904
 
  if test "x$prefix" = "xNONE"; then
2905
 
    prefix=$kde_libs_prefix
2906
 
    { echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2907
 
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6; }
2908
 
  else
2909
 
        given_prefix=$prefix
2910
 
    { echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2911
 
echo "${ECHO_T}$prefix (as requested)" >&6; }
2912
 
  fi
2913
 
 
2914
 
  # And delete superfluous '/' to make compares easier
2915
 
  prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2916
 
  exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2917
 
  given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2918
 
 
2919
 
 
2920
 
 
2921
 
 
2922
 
 
2923
 
 
2924
 
    # Check whether --enable-fast-perl was given.
2925
 
if test "${enable_fast_perl+set}" = set; then
2926
 
  enableval=$enable_fast_perl; with_fast_perl=$enableval
2927
 
else
2928
 
  with_fast_perl=yes
2929
 
fi
2930
 
 
2931
 
 
2932
 
 
2933
 
  val=
2934
 
  if test -f $srcdir/configure.files ; then
2935
 
    val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
2936
 
  fi
2937
 
  CONF_FILES=
2938
 
  if test -n "$val" ; then
2939
 
    for i in $val ; do
2940
 
      CONF_FILES="$CONF_FILES $i"
2941
 
    done
2942
 
  fi
2943
 
 
2944
 
 
2945
 
 
2946
 
 
2947
 
ac_config_headers="$ac_config_headers config.h"
2948
 
 
2949
 
DEPDIR="${am__leading_dot}deps"
2950
 
 
2951
 
ac_config_commands="$ac_config_commands depfiles"
2952
 
 
2953
 
 
2954
 
am_make=${MAKE-make}
2955
 
cat > confinc << 'END'
2956
 
am__doit:
2957
 
        @echo done
2958
 
.PHONY: am__doit
2959
 
END
2960
 
# If we don't find an include directive, just comment out the code.
2961
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2962
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2963
 
am__include="#"
2964
 
am__quote=
2965
 
_am_result=none
2966
 
# First try GNU make style include.
2967
 
echo "include confinc" > confmf
2968
 
# We grep out `Entering directory' and `Leaving directory'
2969
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2970
 
# In particular we don't look at `^make:' because GNU make might
2971
 
# be invoked under some other name (usually "gmake"), in which
2972
 
# case it prints its new name instead of `make'.
2973
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2974
 
   am__include=include
2975
 
   am__quote=
2976
 
   _am_result=GNU
2977
 
fi
2978
 
# Now try BSD make style include.
2979
 
if test "$am__include" = "#"; then
2980
 
   echo '.include "confinc"' > confmf
2981
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2982
 
      am__include=.include
2983
 
      am__quote="\""
2984
 
      _am_result=BSD
2985
 
   fi
2986
 
fi
2987
 
 
2988
 
 
2989
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2990
 
echo "${ECHO_T}$_am_result" >&6; }
2991
 
rm -f confinc confmf
2992
 
 
2993
 
# Check whether --enable-dependency-tracking was given.
2994
 
if test "${enable_dependency_tracking+set}" = set; then
2995
 
  enableval=$enable_dependency_tracking;
2996
 
fi
2997
 
 
2998
 
if test "x$enable_dependency_tracking" != xno; then
2999
 
  am_depcomp="$ac_aux_dir/depcomp"
3000
 
  AMDEPBACKSLASH='\'
3001
 
fi
3002
 
 
3003
 
 
3004
 
if test "x$enable_dependency_tracking" != xno; then
3005
 
  AMDEP_TRUE=
3006
 
  AMDEP_FALSE='#'
3007
 
else
3008
 
  AMDEP_TRUE='#'
3009
 
  AMDEP_FALSE=
3010
 
fi
3011
 
 
3012
 
 
3013
 
 
3014
 
 
3015
 
 
3016
 
 
3017
 
  # Check whether --enable-debug was given.
3018
 
if test "${enable_debug+set}" = set; then
3019
 
  enableval=$enable_debug;
3020
 
    case $enableval in
3021
 
      yes)
3022
 
        kde_use_debug_code="yes"
3023
 
        kde_use_debug_define=no
3024
 
        ;;
3025
 
      full)
3026
 
        kde_use_debug_code="full"
3027
 
        kde_use_debug_define=no
3028
 
        ;;
3029
 
      *)
3030
 
        kde_use_debug_code="no"
3031
 
        kde_use_debug_define=yes
3032
 
        ;;
3033
 
    esac
3034
 
 
3035
 
else
3036
 
  kde_use_debug_code="no"
3037
 
      kde_use_debug_define=no
3038
 
 
3039
 
fi
3040
 
 
3041
 
 
3042
 
    # Check whether --enable-dummyoption was given.
3043
 
if test "${enable_dummyoption+set}" = set; then
3044
 
  enableval=$enable_dummyoption;
3045
 
fi
3046
 
 
3047
 
 
3048
 
  # Check whether --enable-strict was given.
3049
 
if test "${enable_strict+set}" = set; then
3050
 
  enableval=$enable_strict;
3051
 
    if test $enableval = "no"; then
3052
 
         kde_use_strict_options="no"
3053
 
       else
3054
 
         kde_use_strict_options="yes"
3055
 
    fi
3056
 
 
3057
 
else
3058
 
  kde_use_strict_options="no"
3059
 
fi
3060
 
 
3061
 
 
3062
 
  # Check whether --enable-warnings was given.
3063
 
if test "${enable_warnings+set}" = set; then
3064
 
  enableval=$enable_warnings;
3065
 
    if test $enableval = "no"; then
3066
 
         kde_use_warnings="no"
3067
 
       else
3068
 
         kde_use_warnings="yes"
3069
 
    fi
3070
 
 
3071
 
else
3072
 
  kde_use_warnings="yes"
3073
 
fi
3074
 
 
3075
 
 
3076
 
    if test "$kde_use_debug_code" != "no"; then
3077
 
    kde_use_warnings=yes
3078
 
  fi
3079
 
 
3080
 
  # Check whether --enable-profile was given.
3081
 
if test "${enable_profile+set}" = set; then
3082
 
  enableval=$enable_profile; kde_use_profiling=$enableval
3083
 
else
3084
 
  kde_use_profiling="no"
3085
 
 
3086
 
fi
3087
 
 
3088
 
 
3089
 
    CFLAGS=" $CFLAGS"
3090
 
 
3091
 
  ac_ext=c
3092
 
ac_cpp='$CPP $CPPFLAGS'
3093
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3094
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3095
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3096
 
if test -n "$ac_tool_prefix"; then
3097
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3098
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3099
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3100
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3101
 
if test "${ac_cv_prog_CC+set}" = set; then
3102
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3103
 
else
3104
 
  if test -n "$CC"; then
3105
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3106
 
else
3107
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108
 
for as_dir in $PATH
3109
 
do
3110
 
  IFS=$as_save_IFS
3111
 
  test -z "$as_dir" && as_dir=.
3112
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3113
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3114
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3115
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116
 
    break 2
3117
 
  fi
3118
 
done
3119
 
done
3120
 
IFS=$as_save_IFS
3121
 
 
3122
 
fi
3123
 
fi
3124
 
CC=$ac_cv_prog_CC
3125
 
if test -n "$CC"; then
3126
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3127
 
echo "${ECHO_T}$CC" >&6; }
3128
 
else
3129
 
  { echo "$as_me:$LINENO: result: no" >&5
3130
 
echo "${ECHO_T}no" >&6; }
3131
 
fi
3132
 
 
3133
 
 
3134
 
fi
3135
 
if test -z "$ac_cv_prog_CC"; then
3136
 
  ac_ct_CC=$CC
3137
 
  # Extract the first word of "gcc", so it can be a program name with args.
3138
 
set dummy gcc; ac_word=$2
3139
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3140
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3141
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3143
 
else
3144
 
  if test -n "$ac_ct_CC"; then
3145
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3146
 
else
3147
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148
 
for as_dir in $PATH
3149
 
do
3150
 
  IFS=$as_save_IFS
3151
 
  test -z "$as_dir" && as_dir=.
3152
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3153
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154
 
    ac_cv_prog_ac_ct_CC="gcc"
3155
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3156
 
    break 2
3157
 
  fi
3158
 
done
3159
 
done
3160
 
IFS=$as_save_IFS
3161
 
 
3162
 
fi
3163
 
fi
3164
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3165
 
if test -n "$ac_ct_CC"; then
3166
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3167
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
3168
 
else
3169
 
  { echo "$as_me:$LINENO: result: no" >&5
3170
 
echo "${ECHO_T}no" >&6; }
3171
 
fi
3172
 
 
3173
 
  if test "x$ac_ct_CC" = x; then
3174
 
    CC=""
3175
 
  else
3176
 
    case $cross_compiling:$ac_tool_warned in
3177
 
yes:)
3178
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3179
 
whose name does not start with the host triplet.  If you think this
3180
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3181
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3182
 
whose name does not start with the host triplet.  If you think this
3183
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3184
 
ac_tool_warned=yes ;;
3185
 
esac
3186
 
    CC=$ac_ct_CC
3187
 
  fi
3188
 
else
3189
 
  CC="$ac_cv_prog_CC"
3190
 
fi
3191
 
 
3192
 
if test -z "$CC"; then
3193
 
          if test -n "$ac_tool_prefix"; then
3194
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3195
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3196
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3197
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3198
 
if test "${ac_cv_prog_CC+set}" = set; then
3199
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3200
 
else
3201
 
  if test -n "$CC"; then
3202
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3203
 
else
3204
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205
 
for as_dir in $PATH
3206
 
do
3207
 
  IFS=$as_save_IFS
3208
 
  test -z "$as_dir" && as_dir=.
3209
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3210
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3211
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3212
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3213
 
    break 2
3214
 
  fi
3215
 
done
3216
 
done
3217
 
IFS=$as_save_IFS
3218
 
 
3219
 
fi
3220
 
fi
3221
 
CC=$ac_cv_prog_CC
3222
 
if test -n "$CC"; then
3223
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3224
 
echo "${ECHO_T}$CC" >&6; }
3225
 
else
3226
 
  { echo "$as_me:$LINENO: result: no" >&5
3227
 
echo "${ECHO_T}no" >&6; }
3228
 
fi
3229
 
 
3230
 
 
3231
 
  fi
3232
 
fi
3233
 
if test -z "$CC"; then
3234
 
  # Extract the first word of "cc", so it can be a program name with args.
3235
 
set dummy cc; ac_word=$2
3236
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3237
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3238
 
if test "${ac_cv_prog_CC+set}" = set; then
3239
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3240
 
else
3241
 
  if test -n "$CC"; then
3242
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3243
 
else
3244
 
  ac_prog_rejected=no
3245
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246
 
for as_dir in $PATH
3247
 
do
3248
 
  IFS=$as_save_IFS
3249
 
  test -z "$as_dir" && as_dir=.
3250
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3251
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3252
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3253
 
       ac_prog_rejected=yes
3254
 
       continue
3255
 
     fi
3256
 
    ac_cv_prog_CC="cc"
3257
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3258
 
    break 2
3259
 
  fi
3260
 
done
3261
 
done
3262
 
IFS=$as_save_IFS
3263
 
 
3264
 
if test $ac_prog_rejected = yes; then
3265
 
  # We found a bogon in the path, so make sure we never use it.
3266
 
  set dummy $ac_cv_prog_CC
3267
 
  shift
3268
 
  if test $# != 0; then
3269
 
    # We chose a different compiler from the bogus one.
3270
 
    # However, it has the same basename, so the bogon will be chosen
3271
 
    # first if we set CC to just the basename; use the full file name.
3272
 
    shift
3273
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3274
 
  fi
3275
 
fi
3276
 
fi
3277
 
fi
3278
 
CC=$ac_cv_prog_CC
3279
 
if test -n "$CC"; then
3280
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3281
 
echo "${ECHO_T}$CC" >&6; }
3282
 
else
3283
 
  { echo "$as_me:$LINENO: result: no" >&5
3284
 
echo "${ECHO_T}no" >&6; }
3285
 
fi
3286
 
 
3287
 
 
3288
 
fi
3289
 
if test -z "$CC"; then
3290
 
  if test -n "$ac_tool_prefix"; then
3291
 
  for ac_prog in cl.exe
3292
 
  do
3293
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3294
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3295
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3296
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3297
 
if test "${ac_cv_prog_CC+set}" = set; then
3298
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3299
 
else
3300
 
  if test -n "$CC"; then
3301
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3302
 
else
3303
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304
 
for as_dir in $PATH
3305
 
do
3306
 
  IFS=$as_save_IFS
3307
 
  test -z "$as_dir" && as_dir=.
3308
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3309
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3310
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3311
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3312
 
    break 2
3313
 
  fi
3314
 
done
3315
 
done
3316
 
IFS=$as_save_IFS
3317
 
 
3318
 
fi
3319
 
fi
3320
 
CC=$ac_cv_prog_CC
3321
 
if test -n "$CC"; then
3322
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3323
 
echo "${ECHO_T}$CC" >&6; }
3324
 
else
3325
 
  { echo "$as_me:$LINENO: result: no" >&5
3326
 
echo "${ECHO_T}no" >&6; }
3327
 
fi
3328
 
 
3329
 
 
3330
 
    test -n "$CC" && break
3331
 
  done
3332
 
fi
3333
 
if test -z "$CC"; then
3334
 
  ac_ct_CC=$CC
3335
 
  for ac_prog in cl.exe
3336
 
do
3337
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3338
 
set dummy $ac_prog; ac_word=$2
3339
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3340
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3341
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3342
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3343
 
else
3344
 
  if test -n "$ac_ct_CC"; then
3345
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3346
 
else
3347
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3348
 
for as_dir in $PATH
3349
 
do
3350
 
  IFS=$as_save_IFS
3351
 
  test -z "$as_dir" && as_dir=.
3352
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3353
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3354
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3355
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3356
 
    break 2
3357
 
  fi
3358
 
done
3359
 
done
3360
 
IFS=$as_save_IFS
3361
 
 
3362
 
fi
3363
 
fi
3364
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3365
 
if test -n "$ac_ct_CC"; then
3366
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3367
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
3368
 
else
3369
 
  { echo "$as_me:$LINENO: result: no" >&5
3370
 
echo "${ECHO_T}no" >&6; }
3371
 
fi
3372
 
 
3373
 
 
3374
 
  test -n "$ac_ct_CC" && break
3375
 
done
3376
 
 
3377
 
  if test "x$ac_ct_CC" = x; then
3378
 
    CC=""
3379
 
  else
3380
 
    case $cross_compiling:$ac_tool_warned in
3381
 
yes:)
3382
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3383
 
whose name does not start with the host triplet.  If you think this
3384
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3385
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3386
 
whose name does not start with the host triplet.  If you think this
3387
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3388
 
ac_tool_warned=yes ;;
3389
 
esac
3390
 
    CC=$ac_ct_CC
3391
 
  fi
3392
 
fi
3393
 
 
3394
 
fi
3395
 
 
3396
 
 
3397
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3398
 
See \`config.log' for more details." >&5
3399
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
3400
 
See \`config.log' for more details." >&2;}
3401
 
   { (exit 1); exit 1; }; }
3402
 
 
3403
 
# Provide some information about the compiler.
3404
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3405
 
ac_compiler=`set X $ac_compile; echo $2`
3406
 
{ (ac_try="$ac_compiler --version >&5"
3407
 
case "(($ac_try" in
3408
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3409
 
  *) ac_try_echo=$ac_try;;
3410
 
esac
3411
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3412
 
  (eval "$ac_compiler --version >&5") 2>&5
3413
 
  ac_status=$?
3414
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415
 
  (exit $ac_status); }
3416
 
{ (ac_try="$ac_compiler -v >&5"
3417
 
case "(($ac_try" in
3418
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419
 
  *) ac_try_echo=$ac_try;;
3420
 
esac
3421
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3422
 
  (eval "$ac_compiler -v >&5") 2>&5
3423
 
  ac_status=$?
3424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425
 
  (exit $ac_status); }
3426
 
{ (ac_try="$ac_compiler -V >&5"
3427
 
case "(($ac_try" in
3428
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3429
 
  *) ac_try_echo=$ac_try;;
3430
 
esac
3431
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3432
 
  (eval "$ac_compiler -V >&5") 2>&5
3433
 
  ac_status=$?
3434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435
 
  (exit $ac_status); }
3436
 
 
3437
 
cat >conftest.$ac_ext <<_ACEOF
3438
 
/* confdefs.h.  */
3439
 
_ACEOF
3440
 
cat confdefs.h >>conftest.$ac_ext
3441
 
cat >>conftest.$ac_ext <<_ACEOF
3442
 
/* end confdefs.h.  */
3443
 
 
3444
 
int
3445
 
main ()
3446
 
{
3447
 
 
3448
 
  ;
3449
 
  return 0;
3450
 
}
3451
 
_ACEOF
3452
 
ac_clean_files_save=$ac_clean_files
3453
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3454
 
# Try to create an executable without -o first, disregard a.out.
3455
 
# It will help us diagnose broken compilers, and finding out an intuition
3456
 
# of exeext.
3457
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3458
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3459
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3460
 
#
3461
 
# List of possible output files, starting from the most likely.
3462
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3463
 
# only as a last resort.  b.out is created by i960 compilers.
3464
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3465
 
#
3466
 
# The IRIX 6 linker writes into existing files which may not be
3467
 
# executable, retaining their permissions.  Remove them first so a
3468
 
# subsequent execution test works.
3469
 
ac_rmfiles=
3470
 
for ac_file in $ac_files
3471
 
do
3472
 
  case $ac_file in
3473
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3474
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3475
 
  esac
3476
 
done
3477
 
rm -f $ac_rmfiles
3478
 
 
3479
 
if { (ac_try="$ac_link_default"
3480
 
case "(($ac_try" in
3481
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3482
 
  *) ac_try_echo=$ac_try;;
3483
 
esac
3484
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3485
 
  (eval "$ac_link_default") 2>&5
3486
 
  ac_status=$?
3487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488
 
  (exit $ac_status); }; then
3489
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3490
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3491
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3492
 
# so that the user can short-circuit this test for compilers unknown to
3493
 
# Autoconf.
3494
 
for ac_file in $ac_files ''
3495
 
do
3496
 
  test -f "$ac_file" || continue
3497
 
  case $ac_file in
3498
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3499
 
        ;;
3500
 
    [ab].out )
3501
 
        # We found the default executable, but exeext='' is most
3502
 
        # certainly right.
3503
 
        break;;
3504
 
    *.* )
3505
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3506
 
        then :; else
3507
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3508
 
        fi
3509
 
        # We set ac_cv_exeext here because the later test for it is not
3510
 
        # safe: cross compilers may not add the suffix if given an `-o'
3511
 
        # argument, so we may need to know it at that point already.
3512
 
        # Even if this section looks crufty: it has the advantage of
3513
 
        # actually working.
3514
 
        break;;
3515
 
    * )
3516
 
        break;;
3517
 
  esac
3518
 
done
3519
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3520
 
 
3521
 
else
3522
 
  ac_file=''
3523
 
fi
3524
 
 
3525
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3526
 
echo "${ECHO_T}$ac_file" >&6; }
3527
 
if test -z "$ac_file"; then
3528
 
  echo "$as_me: failed program was:" >&5
3529
 
sed 's/^/| /' conftest.$ac_ext >&5
3530
 
 
3531
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3532
 
See \`config.log' for more details." >&5
3533
 
echo "$as_me: error: C compiler cannot create executables
3534
 
See \`config.log' for more details." >&2;}
3535
 
   { (exit 77); exit 77; }; }
3536
 
fi
3537
 
 
3538
 
ac_exeext=$ac_cv_exeext
3539
 
 
3540
 
# Check that the compiler produces executables we can run.  If not, either
3541
 
# the compiler is broken, or we cross compile.
3542
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3543
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3544
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3545
 
# If not cross compiling, check that we can run a simple program.
3546
 
if test "$cross_compiling" != yes; then
3547
 
  if { ac_try='./$ac_file'
3548
 
  { (case "(($ac_try" in
3549
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550
 
  *) ac_try_echo=$ac_try;;
3551
 
esac
3552
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553
 
  (eval "$ac_try") 2>&5
3554
 
  ac_status=$?
3555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556
 
  (exit $ac_status); }; }; then
3557
 
    cross_compiling=no
3558
 
  else
3559
 
    if test "$cross_compiling" = maybe; then
3560
 
        cross_compiling=yes
3561
 
    else
3562
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3563
 
If you meant to cross compile, use \`--host'.
3564
 
See \`config.log' for more details." >&5
3565
 
echo "$as_me: error: cannot run C compiled programs.
3566
 
If you meant to cross compile, use \`--host'.
3567
 
See \`config.log' for more details." >&2;}
3568
 
   { (exit 1); exit 1; }; }
3569
 
    fi
3570
 
  fi
3571
 
fi
3572
 
{ echo "$as_me:$LINENO: result: yes" >&5
3573
 
echo "${ECHO_T}yes" >&6; }
3574
 
 
3575
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3576
 
ac_clean_files=$ac_clean_files_save
3577
 
# Check that the compiler produces executables we can run.  If not, either
3578
 
# the compiler is broken, or we cross compile.
3579
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3580
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3581
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3582
 
echo "${ECHO_T}$cross_compiling" >&6; }
3583
 
 
3584
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3585
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3586
 
if { (ac_try="$ac_link"
3587
 
case "(($ac_try" in
3588
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589
 
  *) ac_try_echo=$ac_try;;
3590
 
esac
3591
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3592
 
  (eval "$ac_link") 2>&5
3593
 
  ac_status=$?
3594
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595
 
  (exit $ac_status); }; then
3596
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3597
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3598
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3599
 
# `rm'.
3600
 
for ac_file in conftest.exe conftest conftest.*; do
3601
 
  test -f "$ac_file" || continue
3602
 
  case $ac_file in
3603
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3604
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3605
 
          break;;
3606
 
    * ) break;;
3607
 
  esac
3608
 
done
3609
 
else
3610
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3611
 
See \`config.log' for more details." >&5
3612
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3613
 
See \`config.log' for more details." >&2;}
3614
 
   { (exit 1); exit 1; }; }
3615
 
fi
3616
 
 
3617
 
rm -f conftest$ac_cv_exeext
3618
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3619
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3620
 
 
3621
 
rm -f conftest.$ac_ext
3622
 
EXEEXT=$ac_cv_exeext
3623
 
ac_exeext=$EXEEXT
3624
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3625
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3626
 
if test "${ac_cv_objext+set}" = set; then
3627
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3628
 
else
3629
 
  cat >conftest.$ac_ext <<_ACEOF
3630
 
/* confdefs.h.  */
3631
 
_ACEOF
3632
 
cat confdefs.h >>conftest.$ac_ext
3633
 
cat >>conftest.$ac_ext <<_ACEOF
3634
 
/* end confdefs.h.  */
3635
 
 
3636
 
int
3637
 
main ()
3638
 
{
3639
 
 
3640
 
  ;
3641
 
  return 0;
3642
 
}
3643
 
_ACEOF
3644
 
rm -f conftest.o conftest.obj
3645
 
if { (ac_try="$ac_compile"
3646
 
case "(($ac_try" in
3647
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648
 
  *) ac_try_echo=$ac_try;;
3649
 
esac
3650
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3651
 
  (eval "$ac_compile") 2>&5
3652
 
  ac_status=$?
3653
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654
 
  (exit $ac_status); }; then
3655
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3656
 
  test -f "$ac_file" || continue;
3657
 
  case $ac_file in
3658
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3659
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3660
 
       break;;
3661
 
  esac
3662
 
done
3663
 
else
3664
 
  echo "$as_me: failed program was:" >&5
3665
 
sed 's/^/| /' conftest.$ac_ext >&5
3666
 
 
3667
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3668
 
See \`config.log' for more details." >&5
3669
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3670
 
See \`config.log' for more details." >&2;}
3671
 
   { (exit 1); exit 1; }; }
3672
 
fi
3673
 
 
3674
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3675
 
fi
3676
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3677
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
3678
 
OBJEXT=$ac_cv_objext
3679
 
ac_objext=$OBJEXT
3680
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3681
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3682
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3683
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3684
 
else
3685
 
  cat >conftest.$ac_ext <<_ACEOF
3686
 
/* confdefs.h.  */
3687
 
_ACEOF
3688
 
cat confdefs.h >>conftest.$ac_ext
3689
 
cat >>conftest.$ac_ext <<_ACEOF
3690
 
/* end confdefs.h.  */
3691
 
 
3692
 
int
3693
 
main ()
3694
 
{
3695
 
#ifndef __GNUC__
3696
 
       choke me
3697
 
#endif
3698
 
 
3699
 
  ;
3700
 
  return 0;
3701
 
}
3702
 
_ACEOF
3703
 
rm -f conftest.$ac_objext
3704
 
if { (ac_try="$ac_compile"
3705
 
case "(($ac_try" in
3706
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3707
 
  *) ac_try_echo=$ac_try;;
3708
 
esac
3709
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3710
 
  (eval "$ac_compile") 2>conftest.er1
3711
 
  ac_status=$?
3712
 
  grep -v '^ *+' conftest.er1 >conftest.err
3713
 
  rm -f conftest.er1
3714
 
  cat conftest.err >&5
3715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716
 
  (exit $ac_status); } && {
3717
 
         test -z "$ac_c_werror_flag" ||
3718
 
         test ! -s conftest.err
3719
 
       } && test -s conftest.$ac_objext; then
3720
 
  ac_compiler_gnu=yes
3721
 
else
3722
 
  echo "$as_me: failed program was:" >&5
3723
 
sed 's/^/| /' conftest.$ac_ext >&5
3724
 
 
3725
 
        ac_compiler_gnu=no
3726
 
fi
3727
 
 
3728
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3729
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3730
 
 
3731
 
fi
3732
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3733
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3734
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
3735
 
ac_test_CFLAGS=${CFLAGS+set}
3736
 
ac_save_CFLAGS=$CFLAGS
3737
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3738
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3739
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3740
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3741
 
else
3742
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3743
 
   ac_c_werror_flag=yes
3744
 
   ac_cv_prog_cc_g=no
3745
 
   CFLAGS="-g"
3746
 
   cat >conftest.$ac_ext <<_ACEOF
3747
 
/* confdefs.h.  */
3748
 
_ACEOF
3749
 
cat confdefs.h >>conftest.$ac_ext
3750
 
cat >>conftest.$ac_ext <<_ACEOF
3751
 
/* end confdefs.h.  */
3752
 
 
3753
 
int
3754
 
main ()
3755
 
{
3756
 
 
3757
 
  ;
3758
 
  return 0;
3759
 
}
3760
 
_ACEOF
3761
 
rm -f conftest.$ac_objext
3762
 
if { (ac_try="$ac_compile"
3763
 
case "(($ac_try" in
3764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765
 
  *) ac_try_echo=$ac_try;;
3766
 
esac
3767
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3768
 
  (eval "$ac_compile") 2>conftest.er1
3769
 
  ac_status=$?
3770
 
  grep -v '^ *+' conftest.er1 >conftest.err
3771
 
  rm -f conftest.er1
3772
 
  cat conftest.err >&5
3773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774
 
  (exit $ac_status); } && {
3775
 
         test -z "$ac_c_werror_flag" ||
3776
 
         test ! -s conftest.err
3777
 
       } && test -s conftest.$ac_objext; then
3778
 
  ac_cv_prog_cc_g=yes
3779
 
else
3780
 
  echo "$as_me: failed program was:" >&5
3781
 
sed 's/^/| /' conftest.$ac_ext >&5
3782
 
 
3783
 
        CFLAGS=""
3784
 
      cat >conftest.$ac_ext <<_ACEOF
3785
 
/* confdefs.h.  */
3786
 
_ACEOF
3787
 
cat confdefs.h >>conftest.$ac_ext
3788
 
cat >>conftest.$ac_ext <<_ACEOF
3789
 
/* end confdefs.h.  */
3790
 
 
3791
 
int
3792
 
main ()
3793
 
{
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3806
 
  (eval "$ac_compile") 2>conftest.er1
3807
 
  ac_status=$?
3808
 
  grep -v '^ *+' conftest.er1 >conftest.err
3809
 
  rm -f conftest.er1
3810
 
  cat conftest.err >&5
3811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812
 
  (exit $ac_status); } && {
3813
 
         test -z "$ac_c_werror_flag" ||
3814
 
         test ! -s conftest.err
3815
 
       } && test -s conftest.$ac_objext; then
3816
 
  :
3817
 
else
3818
 
  echo "$as_me: failed program was:" >&5
3819
 
sed 's/^/| /' conftest.$ac_ext >&5
3820
 
 
3821
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3822
 
         CFLAGS="-g"
3823
 
         cat >conftest.$ac_ext <<_ACEOF
3824
 
/* confdefs.h.  */
3825
 
_ACEOF
3826
 
cat confdefs.h >>conftest.$ac_ext
3827
 
cat >>conftest.$ac_ext <<_ACEOF
3828
 
/* end confdefs.h.  */
3829
 
 
3830
 
int
3831
 
main ()
3832
 
{
3833
 
 
3834
 
  ;
3835
 
  return 0;
3836
 
}
3837
 
_ACEOF
3838
 
rm -f conftest.$ac_objext
3839
 
if { (ac_try="$ac_compile"
3840
 
case "(($ac_try" in
3841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842
 
  *) ac_try_echo=$ac_try;;
3843
 
esac
3844
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3845
 
  (eval "$ac_compile") 2>conftest.er1
3846
 
  ac_status=$?
3847
 
  grep -v '^ *+' conftest.er1 >conftest.err
3848
 
  rm -f conftest.er1
3849
 
  cat conftest.err >&5
3850
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851
 
  (exit $ac_status); } && {
3852
 
         test -z "$ac_c_werror_flag" ||
3853
 
         test ! -s conftest.err
3854
 
       } && test -s conftest.$ac_objext; then
3855
 
  ac_cv_prog_cc_g=yes
3856
 
else
3857
 
  echo "$as_me: failed program was:" >&5
3858
 
sed 's/^/| /' conftest.$ac_ext >&5
3859
 
 
3860
 
 
3861
 
fi
3862
 
 
3863
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864
 
fi
3865
 
 
3866
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3867
 
fi
3868
 
 
3869
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3871
 
fi
3872
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3873
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3874
 
if test "$ac_test_CFLAGS" = set; then
3875
 
  CFLAGS=$ac_save_CFLAGS
3876
 
elif test $ac_cv_prog_cc_g = yes; then
3877
 
  if test "$GCC" = yes; then
3878
 
    CFLAGS="-g -O2"
3879
 
  else
3880
 
    CFLAGS="-g"
3881
 
  fi
3882
 
else
3883
 
  if test "$GCC" = yes; then
3884
 
    CFLAGS="-O2"
3885
 
  else
3886
 
    CFLAGS=
3887
 
  fi
3888
 
fi
3889
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3890
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3891
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3892
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3893
 
else
3894
 
  ac_cv_prog_cc_c89=no
3895
 
ac_save_CC=$CC
3896
 
cat >conftest.$ac_ext <<_ACEOF
3897
 
/* confdefs.h.  */
3898
 
_ACEOF
3899
 
cat confdefs.h >>conftest.$ac_ext
3900
 
cat >>conftest.$ac_ext <<_ACEOF
3901
 
/* end confdefs.h.  */
3902
 
#include <stdarg.h>
3903
 
#include <stdio.h>
3904
 
#include <sys/types.h>
3905
 
#include <sys/stat.h>
3906
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3907
 
struct buf { int x; };
3908
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3909
 
static char *e (p, i)
3910
 
     char **p;
3911
 
     int i;
3912
 
{
3913
 
  return p[i];
3914
 
}
3915
 
static char *f (char * (*g) (char **, int), char **p, ...)
3916
 
{
3917
 
  char *s;
3918
 
  va_list v;
3919
 
  va_start (v,p);
3920
 
  s = g (p, va_arg (v,int));
3921
 
  va_end (v);
3922
 
  return s;
3923
 
}
3924
 
 
3925
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3926
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3927
 
   These don't provoke an error unfortunately, instead are silently treated
3928
 
   as 'x'.  The following induces an error, until -std is added to get
3929
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3930
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3931
 
   that's true only with -std.  */
3932
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3933
 
 
3934
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3935
 
   inside strings and character constants.  */
3936
 
#define FOO(x) 'x'
3937
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3938
 
 
3939
 
int test (int i, double x);
3940
 
struct s1 {int (*f) (int a);};
3941
 
struct s2 {int (*f) (double a);};
3942
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3943
 
int argc;
3944
 
char **argv;
3945
 
int
3946
 
main ()
3947
 
{
3948
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3949
 
  ;
3950
 
  return 0;
3951
 
}
3952
 
_ACEOF
3953
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3954
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3955
 
do
3956
 
  CC="$ac_save_CC $ac_arg"
3957
 
  rm -f conftest.$ac_objext
3958
 
if { (ac_try="$ac_compile"
3959
 
case "(($ac_try" in
3960
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961
 
  *) ac_try_echo=$ac_try;;
3962
 
esac
3963
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964
 
  (eval "$ac_compile") 2>conftest.er1
3965
 
  ac_status=$?
3966
 
  grep -v '^ *+' conftest.er1 >conftest.err
3967
 
  rm -f conftest.er1
3968
 
  cat conftest.err >&5
3969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970
 
  (exit $ac_status); } && {
3971
 
         test -z "$ac_c_werror_flag" ||
3972
 
         test ! -s conftest.err
3973
 
       } && test -s conftest.$ac_objext; then
3974
 
  ac_cv_prog_cc_c89=$ac_arg
3975
 
else
3976
 
  echo "$as_me: failed program was:" >&5
3977
 
sed 's/^/| /' conftest.$ac_ext >&5
3978
 
 
3979
 
 
3980
 
fi
3981
 
 
3982
 
rm -f core conftest.err conftest.$ac_objext
3983
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3984
 
done
3985
 
rm -f conftest.$ac_ext
3986
 
CC=$ac_save_CC
3987
 
 
3988
 
fi
3989
 
# AC_CACHE_VAL
3990
 
case "x$ac_cv_prog_cc_c89" in
3991
 
  x)
3992
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3993
 
echo "${ECHO_T}none needed" >&6; } ;;
3994
 
  xno)
3995
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3996
 
echo "${ECHO_T}unsupported" >&6; } ;;
3997
 
  *)
3998
 
    CC="$CC $ac_cv_prog_cc_c89"
3999
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4000
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4001
 
esac
4002
 
 
4003
 
 
4004
 
ac_ext=c
4005
 
ac_cpp='$CPP $CPPFLAGS'
4006
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4009
 
 
4010
 
depcc="$CC"   am_compiler_list=
4011
 
 
4012
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4013
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4014
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4015
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4016
 
else
4017
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4018
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4019
 
  # making bogus files that we don't know about and never remove.  For
4020
 
  # instance it was reported that on HP-UX the gcc test will end up
4021
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4022
 
  # in D'.
4023
 
  mkdir conftest.dir
4024
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4025
 
  # using a relative directory.
4026
 
  cp "$am_depcomp" conftest.dir
4027
 
  cd conftest.dir
4028
 
  # We will build objects and dependencies in a subdirectory because
4029
 
  # it helps to detect inapplicable dependency modes.  For instance
4030
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4031
 
  # side effect of compilation, but ICC will put the dependencies in
4032
 
  # the current directory while Tru64 will put them in the object
4033
 
  # directory.
4034
 
  mkdir sub
4035
 
 
4036
 
  am_cv_CC_dependencies_compiler_type=none
4037
 
  if test "$am_compiler_list" = ""; then
4038
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4039
 
  fi
4040
 
  for depmode in $am_compiler_list; do
4041
 
    # Setup a source with many dependencies, because some compilers
4042
 
    # like to wrap large dependency lists on column 80 (with \), and
4043
 
    # we should not choose a depcomp mode which is confused by this.
4044
 
    #
4045
 
    # We need to recreate these files for each test, as the compiler may
4046
 
    # overwrite some of them when testing with obscure command lines.
4047
 
    # This happens at least with the AIX C compiler.
4048
 
    : > sub/conftest.c
4049
 
    for i in 1 2 3 4 5 6; do
4050
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4051
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4052
 
      # Solaris 8's {/usr,}/bin/sh.
4053
 
      touch sub/conftst$i.h
4054
 
    done
4055
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4056
 
 
4057
 
    case $depmode in
4058
 
    nosideeffect)
4059
 
      # after this tag, mechanisms are not by side-effect, so they'll
4060
 
      # only be used when explicitly requested
4061
 
      if test "x$enable_dependency_tracking" = xyes; then
4062
 
        continue
4063
 
      else
4064
 
        break
4065
 
      fi
4066
 
      ;;
4067
 
    none) break ;;
4068
 
    esac
4069
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4070
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4071
 
    # handle `-M -o', and we need to detect this.
4072
 
    if depmode=$depmode \
4073
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4074
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4075
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4076
 
         >/dev/null 2>conftest.err &&
4077
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4078
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4079
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4080
 
      # icc doesn't choke on unknown options, it will just issue warnings
4081
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4082
 
      # that says an option was ignored or not supported.
4083
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4084
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4085
 
      # The diagnosis changed in icc 8.0:
4086
 
      #   icc: Command line remark: option '-MP' not supported
4087
 
      if (grep 'ignoring option' conftest.err ||
4088
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4089
 
        am_cv_CC_dependencies_compiler_type=$depmode
4090
 
        break
4091
 
      fi
4092
 
    fi
4093
 
  done
4094
 
 
4095
 
  cd ..
4096
 
  rm -rf conftest.dir
4097
 
else
4098
 
  am_cv_CC_dependencies_compiler_type=none
4099
 
fi
4100
 
 
4101
 
fi
4102
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4103
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4104
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4105
 
 
4106
 
 
4107
 
 
4108
 
if
4109
 
  test "x$enable_dependency_tracking" != xno \
4110
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4111
 
  am__fastdepCC_TRUE=
4112
 
  am__fastdepCC_FALSE='#'
4113
 
else
4114
 
  am__fastdepCC_TRUE='#'
4115
 
  am__fastdepCC_FALSE=
4116
 
fi
4117
 
 
4118
 
 
4119
 
 
4120
 
  ac_ext=c
4121
 
ac_cpp='$CPP $CPPFLAGS'
4122
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4123
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4124
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4125
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4126
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4127
 
# On Suns, sometimes $CPP names a directory.
4128
 
if test -n "$CPP" && test -d "$CPP"; then
4129
 
  CPP=
4130
 
fi
4131
 
if test -z "$CPP"; then
4132
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4133
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4134
 
else
4135
 
      # Double quotes because CPP needs to be expanded
4136
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4137
 
    do
4138
 
      ac_preproc_ok=false
4139
 
for ac_c_preproc_warn_flag in '' yes
4140
 
do
4141
 
  # Use a header file that comes with gcc, so configuring glibc
4142
 
  # with a fresh cross-compiler works.
4143
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4144
 
  # <limits.h> exists even on freestanding compilers.
4145
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4146
 
  # not just through cpp. "Syntax error" is here to catch this case.
4147
 
  cat >conftest.$ac_ext <<_ACEOF
4148
 
/* confdefs.h.  */
4149
 
_ACEOF
4150
 
cat confdefs.h >>conftest.$ac_ext
4151
 
cat >>conftest.$ac_ext <<_ACEOF
4152
 
/* end confdefs.h.  */
4153
 
#ifdef __STDC__
4154
 
# include <limits.h>
4155
 
#else
4156
 
# include <assert.h>
4157
 
#endif
4158
 
                     Syntax error
4159
 
_ACEOF
4160
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4161
 
case "(($ac_try" in
4162
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4163
 
  *) ac_try_echo=$ac_try;;
4164
 
esac
4165
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4166
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4167
 
  ac_status=$?
4168
 
  grep -v '^ *+' conftest.er1 >conftest.err
4169
 
  rm -f conftest.er1
4170
 
  cat conftest.err >&5
4171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172
 
  (exit $ac_status); } >/dev/null && {
4173
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4174
 
         test ! -s conftest.err
4175
 
       }; then
4176
 
  :
4177
 
else
4178
 
  echo "$as_me: failed program was:" >&5
4179
 
sed 's/^/| /' conftest.$ac_ext >&5
4180
 
 
4181
 
  # Broken: fails on valid input.
4182
 
continue
4183
 
fi
4184
 
 
4185
 
rm -f conftest.err conftest.$ac_ext
4186
 
 
4187
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4188
 
  # can be detected and how.
4189
 
  cat >conftest.$ac_ext <<_ACEOF
4190
 
/* confdefs.h.  */
4191
 
_ACEOF
4192
 
cat confdefs.h >>conftest.$ac_ext
4193
 
cat >>conftest.$ac_ext <<_ACEOF
4194
 
/* end confdefs.h.  */
4195
 
#include <ac_nonexistent.h>
4196
 
_ACEOF
4197
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4198
 
case "(($ac_try" in
4199
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4200
 
  *) ac_try_echo=$ac_try;;
4201
 
esac
4202
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4203
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4204
 
  ac_status=$?
4205
 
  grep -v '^ *+' conftest.er1 >conftest.err
4206
 
  rm -f conftest.er1
4207
 
  cat conftest.err >&5
4208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209
 
  (exit $ac_status); } >/dev/null && {
4210
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4211
 
         test ! -s conftest.err
4212
 
       }; then
4213
 
  # Broken: success on invalid input.
4214
 
continue
4215
 
else
4216
 
  echo "$as_me: failed program was:" >&5
4217
 
sed 's/^/| /' conftest.$ac_ext >&5
4218
 
 
4219
 
  # Passes both tests.
4220
 
ac_preproc_ok=:
4221
 
break
4222
 
fi
4223
 
 
4224
 
rm -f conftest.err conftest.$ac_ext
4225
 
 
4226
 
done
4227
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4228
 
rm -f conftest.err conftest.$ac_ext
4229
 
if $ac_preproc_ok; then
4230
 
  break
4231
 
fi
4232
 
 
4233
 
    done
4234
 
    ac_cv_prog_CPP=$CPP
4235
 
 
4236
 
fi
4237
 
  CPP=$ac_cv_prog_CPP
4238
 
else
4239
 
  ac_cv_prog_CPP=$CPP
4240
 
fi
4241
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4242
 
echo "${ECHO_T}$CPP" >&6; }
4243
 
ac_preproc_ok=false
4244
 
for ac_c_preproc_warn_flag in '' yes
4245
 
do
4246
 
  # Use a header file that comes with gcc, so configuring glibc
4247
 
  # with a fresh cross-compiler works.
4248
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4249
 
  # <limits.h> exists even on freestanding compilers.
4250
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4251
 
  # not just through cpp. "Syntax error" is here to catch this case.
4252
 
  cat >conftest.$ac_ext <<_ACEOF
4253
 
/* confdefs.h.  */
4254
 
_ACEOF
4255
 
cat confdefs.h >>conftest.$ac_ext
4256
 
cat >>conftest.$ac_ext <<_ACEOF
4257
 
/* end confdefs.h.  */
4258
 
#ifdef __STDC__
4259
 
# include <limits.h>
4260
 
#else
4261
 
# include <assert.h>
4262
 
#endif
4263
 
                     Syntax error
4264
 
_ACEOF
4265
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4266
 
case "(($ac_try" in
4267
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268
 
  *) ac_try_echo=$ac_try;;
4269
 
esac
4270
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4271
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4272
 
  ac_status=$?
4273
 
  grep -v '^ *+' conftest.er1 >conftest.err
4274
 
  rm -f conftest.er1
4275
 
  cat conftest.err >&5
4276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277
 
  (exit $ac_status); } >/dev/null && {
4278
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4279
 
         test ! -s conftest.err
4280
 
       }; then
4281
 
  :
4282
 
else
4283
 
  echo "$as_me: failed program was:" >&5
4284
 
sed 's/^/| /' conftest.$ac_ext >&5
4285
 
 
4286
 
  # Broken: fails on valid input.
4287
 
continue
4288
 
fi
4289
 
 
4290
 
rm -f conftest.err conftest.$ac_ext
4291
 
 
4292
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4293
 
  # can be detected and how.
4294
 
  cat >conftest.$ac_ext <<_ACEOF
4295
 
/* confdefs.h.  */
4296
 
_ACEOF
4297
 
cat confdefs.h >>conftest.$ac_ext
4298
 
cat >>conftest.$ac_ext <<_ACEOF
4299
 
/* end confdefs.h.  */
4300
 
#include <ac_nonexistent.h>
4301
 
_ACEOF
4302
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4303
 
case "(($ac_try" in
4304
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305
 
  *) ac_try_echo=$ac_try;;
4306
 
esac
4307
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4308
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4309
 
  ac_status=$?
4310
 
  grep -v '^ *+' conftest.er1 >conftest.err
4311
 
  rm -f conftest.er1
4312
 
  cat conftest.err >&5
4313
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314
 
  (exit $ac_status); } >/dev/null && {
4315
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4316
 
         test ! -s conftest.err
4317
 
       }; then
4318
 
  # Broken: success on invalid input.
4319
 
continue
4320
 
else
4321
 
  echo "$as_me: failed program was:" >&5
4322
 
sed 's/^/| /' conftest.$ac_ext >&5
4323
 
 
4324
 
  # Passes both tests.
4325
 
ac_preproc_ok=:
4326
 
break
4327
 
fi
4328
 
 
4329
 
rm -f conftest.err conftest.$ac_ext
4330
 
 
4331
 
done
4332
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4333
 
rm -f conftest.err conftest.$ac_ext
4334
 
if $ac_preproc_ok; then
4335
 
  :
4336
 
else
4337
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4338
 
See \`config.log' for more details." >&5
4339
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4340
 
See \`config.log' for more details." >&2;}
4341
 
   { (exit 1); exit 1; }; }
4342
 
fi
4343
 
 
4344
 
ac_ext=c
4345
 
ac_cpp='$CPP $CPPFLAGS'
4346
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4349
 
 
4350
 
 
4351
 
  if test "$GCC" = "yes"; then
4352
 
    if test "$kde_use_debug_code" != "no"; then
4353
 
      if test $kde_use_debug_code = "full"; then
4354
 
        CFLAGS="-g3 -fno-inline $CFLAGS"
4355
 
      else
4356
 
        CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
4357
 
      fi
4358
 
    else
4359
 
      CFLAGS="-O2 $CFLAGS"
4360
 
    fi
4361
 
  fi
4362
 
 
4363
 
  if test "$kde_use_debug_define" = "yes"; then
4364
 
    CFLAGS="-DNDEBUG $CFLAGS"
4365
 
  fi
4366
 
 
4367
 
 
4368
 
  case "$host" in
4369
 
  *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
4370
 
  *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
4371
 
  esac
4372
 
 
4373
 
  if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
4374
 
     LDFLAGS=""
4375
 
  fi
4376
 
 
4377
 
  CXXFLAGS=" $CXXFLAGS"
4378
 
 
4379
 
  ac_ext=cpp
4380
 
ac_cpp='$CXXCPP $CPPFLAGS'
4381
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4384
 
if test -z "$CXX"; then
4385
 
  if test -n "$CCC"; then
4386
 
    CXX=$CCC
4387
 
  else
4388
 
    if test -n "$ac_tool_prefix"; then
4389
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4390
 
  do
4391
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4392
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4393
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4394
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4395
 
if test "${ac_cv_prog_CXX+set}" = set; then
4396
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4397
 
else
4398
 
  if test -n "$CXX"; then
4399
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4400
 
else
4401
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4402
 
for as_dir in $PATH
4403
 
do
4404
 
  IFS=$as_save_IFS
4405
 
  test -z "$as_dir" && as_dir=.
4406
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4407
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4408
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4409
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4410
 
    break 2
4411
 
  fi
4412
 
done
4413
 
done
4414
 
IFS=$as_save_IFS
4415
 
 
4416
 
fi
4417
 
fi
4418
 
CXX=$ac_cv_prog_CXX
4419
 
if test -n "$CXX"; then
4420
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
4421
 
echo "${ECHO_T}$CXX" >&6; }
4422
 
else
4423
 
  { echo "$as_me:$LINENO: result: no" >&5
4424
 
echo "${ECHO_T}no" >&6; }
4425
 
fi
4426
 
 
4427
 
 
4428
 
    test -n "$CXX" && break
4429
 
  done
4430
 
fi
4431
 
if test -z "$CXX"; then
4432
 
  ac_ct_CXX=$CXX
4433
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4434
 
do
4435
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4436
 
set dummy $ac_prog; ac_word=$2
4437
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4438
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4439
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4440
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4441
 
else
4442
 
  if test -n "$ac_ct_CXX"; then
4443
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4444
 
else
4445
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446
 
for as_dir in $PATH
4447
 
do
4448
 
  IFS=$as_save_IFS
4449
 
  test -z "$as_dir" && as_dir=.
4450
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4451
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4452
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4453
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4454
 
    break 2
4455
 
  fi
4456
 
done
4457
 
done
4458
 
IFS=$as_save_IFS
4459
 
 
4460
 
fi
4461
 
fi
4462
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4463
 
if test -n "$ac_ct_CXX"; then
4464
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4465
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4466
 
else
4467
 
  { echo "$as_me:$LINENO: result: no" >&5
4468
 
echo "${ECHO_T}no" >&6; }
4469
 
fi
4470
 
 
4471
 
 
4472
 
  test -n "$ac_ct_CXX" && break
4473
 
done
4474
 
 
4475
 
  if test "x$ac_ct_CXX" = x; then
4476
 
    CXX="g++"
4477
 
  else
4478
 
    case $cross_compiling:$ac_tool_warned in
4479
 
yes:)
4480
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4481
 
whose name does not start with the host triplet.  If you think this
4482
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4483
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4484
 
whose name does not start with the host triplet.  If you think this
4485
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4486
 
ac_tool_warned=yes ;;
4487
 
esac
4488
 
    CXX=$ac_ct_CXX
4489
 
  fi
4490
 
fi
4491
 
 
4492
 
  fi
4493
 
fi
4494
 
# Provide some information about the compiler.
4495
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4496
 
ac_compiler=`set X $ac_compile; echo $2`
4497
 
{ (ac_try="$ac_compiler --version >&5"
4498
 
case "(($ac_try" in
4499
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4500
 
  *) ac_try_echo=$ac_try;;
4501
 
esac
4502
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4503
 
  (eval "$ac_compiler --version >&5") 2>&5
4504
 
  ac_status=$?
4505
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506
 
  (exit $ac_status); }
4507
 
{ (ac_try="$ac_compiler -v >&5"
4508
 
case "(($ac_try" in
4509
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4510
 
  *) ac_try_echo=$ac_try;;
4511
 
esac
4512
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4513
 
  (eval "$ac_compiler -v >&5") 2>&5
4514
 
  ac_status=$?
4515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516
 
  (exit $ac_status); }
4517
 
{ (ac_try="$ac_compiler -V >&5"
4518
 
case "(($ac_try" in
4519
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4520
 
  *) ac_try_echo=$ac_try;;
4521
 
esac
4522
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4523
 
  (eval "$ac_compiler -V >&5") 2>&5
4524
 
  ac_status=$?
4525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526
 
  (exit $ac_status); }
4527
 
 
4528
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4529
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4530
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4531
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4532
 
else
4533
 
  cat >conftest.$ac_ext <<_ACEOF
4534
 
/* confdefs.h.  */
4535
 
_ACEOF
4536
 
cat confdefs.h >>conftest.$ac_ext
4537
 
cat >>conftest.$ac_ext <<_ACEOF
4538
 
/* end confdefs.h.  */
4539
 
 
4540
 
int
4541
 
main ()
4542
 
{
4543
 
#ifndef __GNUC__
4544
 
       choke me
4545
 
#endif
4546
 
 
4547
 
  ;
4548
 
  return 0;
4549
 
}
4550
 
_ACEOF
4551
 
rm -f conftest.$ac_objext
4552
 
if { (ac_try="$ac_compile"
4553
 
case "(($ac_try" in
4554
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4555
 
  *) ac_try_echo=$ac_try;;
4556
 
esac
4557
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4558
 
  (eval "$ac_compile") 2>conftest.er1
4559
 
  ac_status=$?
4560
 
  grep -v '^ *+' conftest.er1 >conftest.err
4561
 
  rm -f conftest.er1
4562
 
  cat conftest.err >&5
4563
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564
 
  (exit $ac_status); } && {
4565
 
         test -z "$ac_cxx_werror_flag" ||
4566
 
         test ! -s conftest.err
4567
 
       } && test -s conftest.$ac_objext; then
4568
 
  ac_compiler_gnu=yes
4569
 
else
4570
 
  echo "$as_me: failed program was:" >&5
4571
 
sed 's/^/| /' conftest.$ac_ext >&5
4572
 
 
4573
 
        ac_compiler_gnu=no
4574
 
fi
4575
 
 
4576
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4578
 
 
4579
 
fi
4580
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4581
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4582
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
4583
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
4584
 
ac_save_CXXFLAGS=$CXXFLAGS
4585
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4586
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4587
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
4588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4589
 
else
4590
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4591
 
   ac_cxx_werror_flag=yes
4592
 
   ac_cv_prog_cxx_g=no
4593
 
   CXXFLAGS="-g"
4594
 
   cat >conftest.$ac_ext <<_ACEOF
4595
 
/* confdefs.h.  */
4596
 
_ACEOF
4597
 
cat confdefs.h >>conftest.$ac_ext
4598
 
cat >>conftest.$ac_ext <<_ACEOF
4599
 
/* end confdefs.h.  */
4600
 
 
4601
 
int
4602
 
main ()
4603
 
{
4604
 
 
4605
 
  ;
4606
 
  return 0;
4607
 
}
4608
 
_ACEOF
4609
 
rm -f conftest.$ac_objext
4610
 
if { (ac_try="$ac_compile"
4611
 
case "(($ac_try" in
4612
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4613
 
  *) ac_try_echo=$ac_try;;
4614
 
esac
4615
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4616
 
  (eval "$ac_compile") 2>conftest.er1
4617
 
  ac_status=$?
4618
 
  grep -v '^ *+' conftest.er1 >conftest.err
4619
 
  rm -f conftest.er1
4620
 
  cat conftest.err >&5
4621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622
 
  (exit $ac_status); } && {
4623
 
         test -z "$ac_cxx_werror_flag" ||
4624
 
         test ! -s conftest.err
4625
 
       } && test -s conftest.$ac_objext; then
4626
 
  ac_cv_prog_cxx_g=yes
4627
 
else
4628
 
  echo "$as_me: failed program was:" >&5
4629
 
sed 's/^/| /' conftest.$ac_ext >&5
4630
 
 
4631
 
        CXXFLAGS=""
4632
 
      cat >conftest.$ac_ext <<_ACEOF
4633
 
/* confdefs.h.  */
4634
 
_ACEOF
4635
 
cat confdefs.h >>conftest.$ac_ext
4636
 
cat >>conftest.$ac_ext <<_ACEOF
4637
 
/* end confdefs.h.  */
4638
 
 
4639
 
int
4640
 
main ()
4641
 
{
4642
 
 
4643
 
  ;
4644
 
  return 0;
4645
 
}
4646
 
_ACEOF
4647
 
rm -f conftest.$ac_objext
4648
 
if { (ac_try="$ac_compile"
4649
 
case "(($ac_try" in
4650
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4651
 
  *) ac_try_echo=$ac_try;;
4652
 
esac
4653
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4654
 
  (eval "$ac_compile") 2>conftest.er1
4655
 
  ac_status=$?
4656
 
  grep -v '^ *+' conftest.er1 >conftest.err
4657
 
  rm -f conftest.er1
4658
 
  cat conftest.err >&5
4659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660
 
  (exit $ac_status); } && {
4661
 
         test -z "$ac_cxx_werror_flag" ||
4662
 
         test ! -s conftest.err
4663
 
       } && test -s conftest.$ac_objext; then
4664
 
  :
4665
 
else
4666
 
  echo "$as_me: failed program was:" >&5
4667
 
sed 's/^/| /' conftest.$ac_ext >&5
4668
 
 
4669
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4670
 
         CXXFLAGS="-g"
4671
 
         cat >conftest.$ac_ext <<_ACEOF
4672
 
/* confdefs.h.  */
4673
 
_ACEOF
4674
 
cat confdefs.h >>conftest.$ac_ext
4675
 
cat >>conftest.$ac_ext <<_ACEOF
4676
 
/* end confdefs.h.  */
4677
 
 
4678
 
int
4679
 
main ()
4680
 
{
4681
 
 
4682
 
  ;
4683
 
  return 0;
4684
 
}
4685
 
_ACEOF
4686
 
rm -f conftest.$ac_objext
4687
 
if { (ac_try="$ac_compile"
4688
 
case "(($ac_try" in
4689
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4690
 
  *) ac_try_echo=$ac_try;;
4691
 
esac
4692
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4693
 
  (eval "$ac_compile") 2>conftest.er1
4694
 
  ac_status=$?
4695
 
  grep -v '^ *+' conftest.er1 >conftest.err
4696
 
  rm -f conftest.er1
4697
 
  cat conftest.err >&5
4698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699
 
  (exit $ac_status); } && {
4700
 
         test -z "$ac_cxx_werror_flag" ||
4701
 
         test ! -s conftest.err
4702
 
       } && test -s conftest.$ac_objext; then
4703
 
  ac_cv_prog_cxx_g=yes
4704
 
else
4705
 
  echo "$as_me: failed program was:" >&5
4706
 
sed 's/^/| /' conftest.$ac_ext >&5
4707
 
 
4708
 
 
4709
 
fi
4710
 
 
4711
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4712
 
fi
4713
 
 
4714
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4715
 
fi
4716
 
 
4717
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4718
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4719
 
fi
4720
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4721
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4722
 
if test "$ac_test_CXXFLAGS" = set; then
4723
 
  CXXFLAGS=$ac_save_CXXFLAGS
4724
 
elif test $ac_cv_prog_cxx_g = yes; then
4725
 
  if test "$GXX" = yes; then
4726
 
    CXXFLAGS="-g -O2"
4727
 
  else
4728
 
    CXXFLAGS="-g"
4729
 
  fi
4730
 
else
4731
 
  if test "$GXX" = yes; then
4732
 
    CXXFLAGS="-O2"
4733
 
  else
4734
 
    CXXFLAGS=
4735
 
  fi
4736
 
fi
4737
 
ac_ext=c
4738
 
ac_cpp='$CPP $CPPFLAGS'
4739
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4740
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4741
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4742
 
 
4743
 
depcc="$CXX"  am_compiler_list=
4744
 
 
4745
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4746
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4747
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4748
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4749
 
else
4750
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4751
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4752
 
  # making bogus files that we don't know about and never remove.  For
4753
 
  # instance it was reported that on HP-UX the gcc test will end up
4754
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4755
 
  # in D'.
4756
 
  mkdir conftest.dir
4757
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4758
 
  # using a relative directory.
4759
 
  cp "$am_depcomp" conftest.dir
4760
 
  cd conftest.dir
4761
 
  # We will build objects and dependencies in a subdirectory because
4762
 
  # it helps to detect inapplicable dependency modes.  For instance
4763
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4764
 
  # side effect of compilation, but ICC will put the dependencies in
4765
 
  # the current directory while Tru64 will put them in the object
4766
 
  # directory.
4767
 
  mkdir sub
4768
 
 
4769
 
  am_cv_CXX_dependencies_compiler_type=none
4770
 
  if test "$am_compiler_list" = ""; then
4771
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4772
 
  fi
4773
 
  for depmode in $am_compiler_list; do
4774
 
    # Setup a source with many dependencies, because some compilers
4775
 
    # like to wrap large dependency lists on column 80 (with \), and
4776
 
    # we should not choose a depcomp mode which is confused by this.
4777
 
    #
4778
 
    # We need to recreate these files for each test, as the compiler may
4779
 
    # overwrite some of them when testing with obscure command lines.
4780
 
    # This happens at least with the AIX C compiler.
4781
 
    : > sub/conftest.c
4782
 
    for i in 1 2 3 4 5 6; do
4783
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4784
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4785
 
      # Solaris 8's {/usr,}/bin/sh.
4786
 
      touch sub/conftst$i.h
4787
 
    done
4788
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4789
 
 
4790
 
    case $depmode in
4791
 
    nosideeffect)
4792
 
      # after this tag, mechanisms are not by side-effect, so they'll
4793
 
      # only be used when explicitly requested
4794
 
      if test "x$enable_dependency_tracking" = xyes; then
4795
 
        continue
4796
 
      else
4797
 
        break
4798
 
      fi
4799
 
      ;;
4800
 
    none) break ;;
4801
 
    esac
4802
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4803
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4804
 
    # handle `-M -o', and we need to detect this.
4805
 
    if depmode=$depmode \
4806
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4807
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4808
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4809
 
         >/dev/null 2>conftest.err &&
4810
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4811
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4812
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4813
 
      # icc doesn't choke on unknown options, it will just issue warnings
4814
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4815
 
      # that says an option was ignored or not supported.
4816
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4817
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4818
 
      # The diagnosis changed in icc 8.0:
4819
 
      #   icc: Command line remark: option '-MP' not supported
4820
 
      if (grep 'ignoring option' conftest.err ||
4821
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4822
 
        am_cv_CXX_dependencies_compiler_type=$depmode
4823
 
        break
4824
 
      fi
4825
 
    fi
4826
 
  done
4827
 
 
4828
 
  cd ..
4829
 
  rm -rf conftest.dir
4830
 
else
4831
 
  am_cv_CXX_dependencies_compiler_type=none
4832
 
fi
4833
 
 
4834
 
fi
4835
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4836
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4837
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4838
 
 
4839
 
 
4840
 
 
4841
 
if
4842
 
  test "x$enable_dependency_tracking" != xno \
4843
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4844
 
  am__fastdepCXX_TRUE=
4845
 
  am__fastdepCXX_FALSE='#'
4846
 
else
4847
 
  am__fastdepCXX_TRUE='#'
4848
 
  am__fastdepCXX_FALSE=
4849
 
fi
4850
 
 
4851
 
 
4852
 
 
4853
 
 
4854
 
  { echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
4855
 
echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6; }
4856
 
 
4857
 
 
4858
 
  cat >conftest.$ac_ext <<_ACEOF
4859
 
/* confdefs.h.  */
4860
 
_ACEOF
4861
 
cat confdefs.h >>conftest.$ac_ext
4862
 
cat >>conftest.$ac_ext <<_ACEOF
4863
 
/* end confdefs.h.  */
4864
 
 
4865
 
#ifdef __GNUC__
4866
 
#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
4867
 
choke me
4868
 
#endif
4869
 
#endif
4870
 
 
4871
 
int
4872
 
main ()
4873
 
{
4874
 
 
4875
 
  ;
4876
 
  return 0;
4877
 
}
4878
 
_ACEOF
4879
 
rm -f conftest.$ac_objext
4880
 
if { (ac_try="$ac_compile"
4881
 
case "(($ac_try" in
4882
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4883
 
  *) ac_try_echo=$ac_try;;
4884
 
esac
4885
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4886
 
  (eval "$ac_compile") 2>conftest.er1
4887
 
  ac_status=$?
4888
 
  grep -v '^ *+' conftest.er1 >conftest.err
4889
 
  rm -f conftest.er1
4890
 
  cat conftest.err >&5
4891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892
 
  (exit $ac_status); } && {
4893
 
         test -z "$ac_c_werror_flag" ||
4894
 
         test ! -s conftest.err
4895
 
       } && test -s conftest.$ac_objext; then
4896
 
  kde_bad_compiler=no
4897
 
else
4898
 
  echo "$as_me: failed program was:" >&5
4899
 
sed 's/^/| /' conftest.$ac_ext >&5
4900
 
 
4901
 
        kde_bad_compiler=yes
4902
 
 
4903
 
fi
4904
 
 
4905
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906
 
 
4907
 
  { echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
4908
 
echo "${ECHO_T}$kde_bad_compiler" >&6; }
4909
 
 
4910
 
if test "$kde_bad_compiler" = "yes"; then
4911
 
  { { echo "$as_me:$LINENO: error:
4912
 
 
4913
 
This particular compiler version is blacklisted because it
4914
 
is known to miscompile KDE. Please use a newer version, or
4915
 
if that is not yet available, choose an older version.
4916
 
 
4917
 
Please do not report a bug or bother us reporting this
4918
 
configure error. We know about it, and we introduced
4919
 
it by intention to avoid untraceable bugs or crashes in KDE.
4920
 
 
4921
 
" >&5
4922
 
echo "$as_me: error:
4923
 
 
4924
 
This particular compiler version is blacklisted because it
4925
 
is known to miscompile KDE. Please use a newer version, or
4926
 
if that is not yet available, choose an older version.
4927
 
 
4928
 
Please do not report a bug or bother us reporting this
4929
 
configure error. We know about it, and we introduced
4930
 
it by intention to avoid untraceable bugs or crashes in KDE.
4931
 
 
4932
 
" >&2;}
4933
 
   { (exit 1); exit 1; }; }
4934
 
fi
4935
 
 
4936
 
 
4937
 
 
4938
 
  if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
4939
 
    if test "$kde_use_debug_code" != "no"; then
4940
 
      if test "$CXX" = "KCC"; then
4941
 
        CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
4942
 
      else
4943
 
        if test "$kde_use_debug_code" = "full"; then
4944
 
          CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
4945
 
        else
4946
 
          CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
4947
 
        fi
4948
 
      fi
4949
 
 
4950
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4951
 
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6; }
4952
 
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4953
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4954
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4955
 
else
4956
 
 
4957
 
 
4958
 
 
4959
 
ac_ext=cpp
4960
 
ac_cpp='$CXXCPP $CPPFLAGS'
4961
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4962
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4963
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4964
 
 
4965
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4966
 
 
4967
 
 
4968
 
 
4969
 
  save_CXXFLAGS="$CXXFLAGS"
4970
 
  CXXFLAGS="$CXXFLAGS -fno-builtin"
4971
 
  cat >conftest.$ac_ext <<_ACEOF
4972
 
/* confdefs.h.  */
4973
 
_ACEOF
4974
 
cat confdefs.h >>conftest.$ac_ext
4975
 
cat >>conftest.$ac_ext <<_ACEOF
4976
 
/* end confdefs.h.  */
4977
 
 
4978
 
int
4979
 
main ()
4980
 
{
4981
 
 return 0;
4982
 
  ;
4983
 
  return 0;
4984
 
}
4985
 
_ACEOF
4986
 
rm -f conftest.$ac_objext conftest$ac_exeext
4987
 
if { (ac_try="$ac_link"
4988
 
case "(($ac_try" in
4989
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4990
 
  *) ac_try_echo=$ac_try;;
4991
 
esac
4992
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4993
 
  (eval "$ac_link") 2>conftest.er1
4994
 
  ac_status=$?
4995
 
  grep -v '^ *+' conftest.er1 >conftest.err
4996
 
  rm -f conftest.er1
4997
 
  cat conftest.err >&5
4998
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999
 
  (exit $ac_status); } && {
5000
 
         test -z "$ac_cxx_werror_flag" ||
5001
 
         test ! -s conftest.err
5002
 
       } && test -s conftest$ac_exeext &&
5003
 
       $as_test_x conftest$ac_exeext; then
5004
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5005
 
else
5006
 
  echo "$as_me: failed program was:" >&5
5007
 
sed 's/^/| /' conftest.$ac_ext >&5
5008
 
 
5009
 
 
5010
 
fi
5011
 
 
5012
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5013
 
      conftest$ac_exeext conftest.$ac_ext
5014
 
  CXXFLAGS="$save_CXXFLAGS"
5015
 
  ac_ext=c
5016
 
ac_cpp='$CPP $CPPFLAGS'
5017
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5018
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5019
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5020
 
 
5021
 
 
5022
 
fi
5023
 
 
5024
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5025
 
 { echo "$as_me:$LINENO: result: yes" >&5
5026
 
echo "${ECHO_T}yes" >&6; }
5027
 
 :
5028
 
 CXXFLAGS="-fno-builtin $CXXFLAGS"
5029
 
else
5030
 
 { echo "$as_me:$LINENO: result: no" >&5
5031
 
echo "${ECHO_T}no" >&6; }
5032
 
 :
5033
 
 
5034
 
fi
5035
 
 
5036
 
 
5037
 
 
5038
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
5039
 
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6; }
5040
 
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
5041
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5042
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5043
 
else
5044
 
 
5045
 
 
5046
 
   ac_ext=cpp
5047
 
ac_cpp='$CXXCPP $CPPFLAGS'
5048
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5049
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5050
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5051
 
 
5052
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5053
 
 
5054
 
 
5055
 
  save_CXXFLAGS="$CXXFLAGS"
5056
 
  CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
5057
 
  cat >conftest.$ac_ext <<_ACEOF
5058
 
/* confdefs.h.  */
5059
 
_ACEOF
5060
 
cat confdefs.h >>conftest.$ac_ext
5061
 
cat >>conftest.$ac_ext <<_ACEOF
5062
 
/* end confdefs.h.  */
5063
 
 
5064
 
int
5065
 
main ()
5066
 
{
5067
 
 return 0;
5068
 
  ;
5069
 
  return 0;
5070
 
}
5071
 
_ACEOF
5072
 
rm -f conftest.$ac_objext conftest$ac_exeext
5073
 
if { (ac_try="$ac_link"
5074
 
case "(($ac_try" in
5075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5076
 
  *) ac_try_echo=$ac_try;;
5077
 
esac
5078
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5079
 
  (eval "$ac_link") 2>conftest.er1
5080
 
  ac_status=$?
5081
 
  grep -v '^ *+' conftest.er1 >conftest.err
5082
 
  rm -f conftest.er1
5083
 
  cat conftest.err >&5
5084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085
 
  (exit $ac_status); } && {
5086
 
         test -z "$ac_cxx_werror_flag" ||
5087
 
         test ! -s conftest.err
5088
 
       } && test -s conftest$ac_exeext &&
5089
 
       $as_test_x conftest$ac_exeext; then
5090
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5091
 
else
5092
 
  echo "$as_me: failed program was:" >&5
5093
 
sed 's/^/| /' conftest.$ac_ext >&5
5094
 
 
5095
 
 
5096
 
fi
5097
 
 
5098
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5099
 
      conftest$ac_exeext conftest.$ac_ext
5100
 
  CXXFLAGS="$save_CXXFLAGS"
5101
 
  ac_ext=c
5102
 
ac_cpp='$CPP $CPPFLAGS'
5103
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5104
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5105
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5106
 
 
5107
 
 
5108
 
fi
5109
 
 
5110
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5111
 
 { echo "$as_me:$LINENO: result: yes" >&5
5112
 
echo "${ECHO_T}yes" >&6; }
5113
 
 :
5114
 
 WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
5115
 
else
5116
 
 { echo "$as_me:$LINENO: result: no" >&5
5117
 
echo "${ECHO_T}no" >&6; }
5118
 
 :
5119
 
 WOVERLOADED_VRITUAL=""
5120
 
fi
5121
 
 
5122
 
 
5123
 
    else
5124
 
      if test "$CXX" = "KCC"; then
5125
 
        CXXFLAGS="+K3 $CXXFLAGS"
5126
 
      else
5127
 
        CXXFLAGS="-O2 $CXXFLAGS"
5128
 
      fi
5129
 
    fi
5130
 
  fi
5131
 
 
5132
 
  if test "$kde_use_debug_define" = "yes"; then
5133
 
    CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
5134
 
  fi
5135
 
 
5136
 
  if test "$kde_use_profiling" = "yes"; then
5137
 
 
5138
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
5139
 
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6; }
5140
 
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
5141
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5143
 
else
5144
 
 
5145
 
 
5146
 
   ac_ext=cpp
5147
 
ac_cpp='$CXXCPP $CPPFLAGS'
5148
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5149
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5150
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5151
 
 
5152
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5153
 
 
5154
 
 
5155
 
  save_CXXFLAGS="$CXXFLAGS"
5156
 
  CXXFLAGS="$CXXFLAGS -pg"
5157
 
  cat >conftest.$ac_ext <<_ACEOF
5158
 
/* confdefs.h.  */
5159
 
_ACEOF
5160
 
cat confdefs.h >>conftest.$ac_ext
5161
 
cat >>conftest.$ac_ext <<_ACEOF
5162
 
/* end confdefs.h.  */
5163
 
 
5164
 
int
5165
 
main ()
5166
 
{
5167
 
 return 0;
5168
 
  ;
5169
 
  return 0;
5170
 
}
5171
 
_ACEOF
5172
 
rm -f conftest.$ac_objext conftest$ac_exeext
5173
 
if { (ac_try="$ac_link"
5174
 
case "(($ac_try" in
5175
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5176
 
  *) ac_try_echo=$ac_try;;
5177
 
esac
5178
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5179
 
  (eval "$ac_link") 2>conftest.er1
5180
 
  ac_status=$?
5181
 
  grep -v '^ *+' conftest.er1 >conftest.err
5182
 
  rm -f conftest.er1
5183
 
  cat conftest.err >&5
5184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185
 
  (exit $ac_status); } && {
5186
 
         test -z "$ac_cxx_werror_flag" ||
5187
 
         test ! -s conftest.err
5188
 
       } && test -s conftest$ac_exeext &&
5189
 
       $as_test_x conftest$ac_exeext; then
5190
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5191
 
else
5192
 
  echo "$as_me: failed program was:" >&5
5193
 
sed 's/^/| /' conftest.$ac_ext >&5
5194
 
 
5195
 
 
5196
 
fi
5197
 
 
5198
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5199
 
      conftest$ac_exeext conftest.$ac_ext
5200
 
  CXXFLAGS="$save_CXXFLAGS"
5201
 
  ac_ext=c
5202
 
ac_cpp='$CPP $CPPFLAGS'
5203
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5204
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5205
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5206
 
 
5207
 
 
5208
 
fi
5209
 
 
5210
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5211
 
 { echo "$as_me:$LINENO: result: yes" >&5
5212
 
echo "${ECHO_T}yes" >&6; }
5213
 
 :
5214
 
 
5215
 
      CFLAGS="-pg $CFLAGS"
5216
 
      CXXFLAGS="-pg $CXXFLAGS"
5217
 
 
5218
 
else
5219
 
 { echo "$as_me:$LINENO: result: no" >&5
5220
 
echo "${ECHO_T}no" >&6; }
5221
 
 :
5222
 
 
5223
 
fi
5224
 
 
5225
 
  fi
5226
 
 
5227
 
  if test "$kde_use_warnings" = "yes"; then
5228
 
      if test "$GCC" = "yes"; then
5229
 
        CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
5230
 
        case $host in
5231
 
          *-*-linux-gnu)
5232
 
            CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
5233
 
            CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
5234
 
 
5235
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
5236
 
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5237
 
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5238
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5239
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5240
 
else
5241
 
 
5242
 
 
5243
 
   ac_ext=cpp
5244
 
ac_cpp='$CXXCPP $CPPFLAGS'
5245
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5246
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5247
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5248
 
 
5249
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5250
 
 
5251
 
 
5252
 
  save_CXXFLAGS="$CXXFLAGS"
5253
 
  CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
5254
 
  cat >conftest.$ac_ext <<_ACEOF
5255
 
/* confdefs.h.  */
5256
 
_ACEOF
5257
 
cat confdefs.h >>conftest.$ac_ext
5258
 
cat >>conftest.$ac_ext <<_ACEOF
5259
 
/* end confdefs.h.  */
5260
 
 
5261
 
int
5262
 
main ()
5263
 
{
5264
 
 return 0;
5265
 
  ;
5266
 
  return 0;
5267
 
}
5268
 
_ACEOF
5269
 
rm -f conftest.$ac_objext conftest$ac_exeext
5270
 
if { (ac_try="$ac_link"
5271
 
case "(($ac_try" in
5272
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5273
 
  *) ac_try_echo=$ac_try;;
5274
 
esac
5275
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5276
 
  (eval "$ac_link") 2>conftest.er1
5277
 
  ac_status=$?
5278
 
  grep -v '^ *+' conftest.er1 >conftest.err
5279
 
  rm -f conftest.er1
5280
 
  cat conftest.err >&5
5281
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282
 
  (exit $ac_status); } && {
5283
 
         test -z "$ac_cxx_werror_flag" ||
5284
 
         test ! -s conftest.err
5285
 
       } && test -s conftest$ac_exeext &&
5286
 
       $as_test_x conftest$ac_exeext; then
5287
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5288
 
else
5289
 
  echo "$as_me: failed program was:" >&5
5290
 
sed 's/^/| /' conftest.$ac_ext >&5
5291
 
 
5292
 
 
5293
 
fi
5294
 
 
5295
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5296
 
      conftest$ac_exeext conftest.$ac_ext
5297
 
  CXXFLAGS="$save_CXXFLAGS"
5298
 
  ac_ext=c
5299
 
ac_cpp='$CPP $CPPFLAGS'
5300
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5301
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5302
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5303
 
 
5304
 
 
5305
 
fi
5306
 
 
5307
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5308
 
 { echo "$as_me:$LINENO: result: yes" >&5
5309
 
echo "${ECHO_T}yes" >&6; }
5310
 
 :
5311
 
 CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
5312
 
else
5313
 
 { echo "$as_me:$LINENO: result: no" >&5
5314
 
echo "${ECHO_T}no" >&6; }
5315
 
 :
5316
 
 
5317
 
fi
5318
 
 
5319
 
 
5320
 
{ echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
5321
 
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5322
 
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5323
 
if { as_var=kde_cv_prog_cc_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5324
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5325
 
else
5326
 
 
5327
 
 
5328
 
  ac_ext=c
5329
 
ac_cpp='$CPP $CPPFLAGS'
5330
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5331
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5332
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5333
 
 
5334
 
  save_CFLAGS="$CFLAGS"
5335
 
  CFLAGS="$CFLAGS -Wmissing-format-attribute"
5336
 
  cat >conftest.$ac_ext <<_ACEOF
5337
 
/* confdefs.h.  */
5338
 
_ACEOF
5339
 
cat confdefs.h >>conftest.$ac_ext
5340
 
cat >>conftest.$ac_ext <<_ACEOF
5341
 
/* end confdefs.h.  */
5342
 
 
5343
 
int
5344
 
main ()
5345
 
{
5346
 
 return 0;
5347
 
  ;
5348
 
  return 0;
5349
 
}
5350
 
_ACEOF
5351
 
rm -f conftest.$ac_objext conftest$ac_exeext
5352
 
if { (ac_try="$ac_link"
5353
 
case "(($ac_try" in
5354
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5355
 
  *) ac_try_echo=$ac_try;;
5356
 
esac
5357
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5358
 
  (eval "$ac_link") 2>conftest.er1
5359
 
  ac_status=$?
5360
 
  grep -v '^ *+' conftest.er1 >conftest.err
5361
 
  rm -f conftest.er1
5362
 
  cat conftest.err >&5
5363
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364
 
  (exit $ac_status); } && {
5365
 
         test -z "$ac_c_werror_flag" ||
5366
 
         test ! -s conftest.err
5367
 
       } && test -s conftest$ac_exeext &&
5368
 
       $as_test_x conftest$ac_exeext; then
5369
 
  eval "kde_cv_prog_cc_$kde_cache=yes"
5370
 
else
5371
 
  echo "$as_me: failed program was:" >&5
5372
 
sed 's/^/| /' conftest.$ac_ext >&5
5373
 
 
5374
 
 
5375
 
fi
5376
 
 
5377
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5378
 
      conftest$ac_exeext conftest.$ac_ext
5379
 
  CFLAGS="$save_CFLAGS"
5380
 
  ac_ext=c
5381
 
ac_cpp='$CPP $CPPFLAGS'
5382
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5383
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5384
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5385
 
 
5386
 
 
5387
 
fi
5388
 
 
5389
 
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
5390
 
 { echo "$as_me:$LINENO: result: yes" >&5
5391
 
echo "${ECHO_T}yes" >&6; }
5392
 
 :
5393
 
 CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
5394
 
else
5395
 
 { echo "$as_me:$LINENO: result: no" >&5
5396
 
echo "${ECHO_T}no" >&6; }
5397
 
 :
5398
 
 
5399
 
fi
5400
 
 
5401
 
          ;;
5402
 
        esac
5403
 
 
5404
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
5405
 
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6; }
5406
 
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
5407
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5408
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5409
 
else
5410
 
 
5411
 
 
5412
 
   ac_ext=cpp
5413
 
ac_cpp='$CXXCPP $CPPFLAGS'
5414
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5415
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5416
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5417
 
 
5418
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5419
 
 
5420
 
 
5421
 
  save_CXXFLAGS="$CXXFLAGS"
5422
 
  CXXFLAGS="$CXXFLAGS -Wundef"
5423
 
  cat >conftest.$ac_ext <<_ACEOF
5424
 
/* confdefs.h.  */
5425
 
_ACEOF
5426
 
cat confdefs.h >>conftest.$ac_ext
5427
 
cat >>conftest.$ac_ext <<_ACEOF
5428
 
/* end confdefs.h.  */
5429
 
 
5430
 
int
5431
 
main ()
5432
 
{
5433
 
 return 0;
5434
 
  ;
5435
 
  return 0;
5436
 
}
5437
 
_ACEOF
5438
 
rm -f conftest.$ac_objext conftest$ac_exeext
5439
 
if { (ac_try="$ac_link"
5440
 
case "(($ac_try" in
5441
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5442
 
  *) ac_try_echo=$ac_try;;
5443
 
esac
5444
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5445
 
  (eval "$ac_link") 2>conftest.er1
5446
 
  ac_status=$?
5447
 
  grep -v '^ *+' conftest.er1 >conftest.err
5448
 
  rm -f conftest.er1
5449
 
  cat conftest.err >&5
5450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451
 
  (exit $ac_status); } && {
5452
 
         test -z "$ac_cxx_werror_flag" ||
5453
 
         test ! -s conftest.err
5454
 
       } && test -s conftest$ac_exeext &&
5455
 
       $as_test_x conftest$ac_exeext; then
5456
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5457
 
else
5458
 
  echo "$as_me: failed program was:" >&5
5459
 
sed 's/^/| /' conftest.$ac_ext >&5
5460
 
 
5461
 
 
5462
 
fi
5463
 
 
5464
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5465
 
      conftest$ac_exeext conftest.$ac_ext
5466
 
  CXXFLAGS="$save_CXXFLAGS"
5467
 
  ac_ext=c
5468
 
ac_cpp='$CPP $CPPFLAGS'
5469
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5470
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5471
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5472
 
 
5473
 
 
5474
 
fi
5475
 
 
5476
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5477
 
 { echo "$as_me:$LINENO: result: yes" >&5
5478
 
echo "${ECHO_T}yes" >&6; }
5479
 
 :
5480
 
 CXXFLAGS="-Wundef $CXXFLAGS"
5481
 
else
5482
 
 { echo "$as_me:$LINENO: result: no" >&5
5483
 
echo "${ECHO_T}no" >&6; }
5484
 
 :
5485
 
 
5486
 
fi
5487
 
 
5488
 
 
5489
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
5490
 
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6; }
5491
 
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
5492
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5493
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5494
 
else
5495
 
 
5496
 
 
5497
 
   ac_ext=cpp
5498
 
ac_cpp='$CXXCPP $CPPFLAGS'
5499
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5500
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5501
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5502
 
 
5503
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5504
 
 
5505
 
 
5506
 
  save_CXXFLAGS="$CXXFLAGS"
5507
 
  CXXFLAGS="$CXXFLAGS -Wno-long-long"
5508
 
  cat >conftest.$ac_ext <<_ACEOF
5509
 
/* confdefs.h.  */
5510
 
_ACEOF
5511
 
cat confdefs.h >>conftest.$ac_ext
5512
 
cat >>conftest.$ac_ext <<_ACEOF
5513
 
/* end confdefs.h.  */
5514
 
 
5515
 
int
5516
 
main ()
5517
 
{
5518
 
 return 0;
5519
 
  ;
5520
 
  return 0;
5521
 
}
5522
 
_ACEOF
5523
 
rm -f conftest.$ac_objext conftest$ac_exeext
5524
 
if { (ac_try="$ac_link"
5525
 
case "(($ac_try" in
5526
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5527
 
  *) ac_try_echo=$ac_try;;
5528
 
esac
5529
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5530
 
  (eval "$ac_link") 2>conftest.er1
5531
 
  ac_status=$?
5532
 
  grep -v '^ *+' conftest.er1 >conftest.err
5533
 
  rm -f conftest.er1
5534
 
  cat conftest.err >&5
5535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536
 
  (exit $ac_status); } && {
5537
 
         test -z "$ac_cxx_werror_flag" ||
5538
 
         test ! -s conftest.err
5539
 
       } && test -s conftest$ac_exeext &&
5540
 
       $as_test_x conftest$ac_exeext; then
5541
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5542
 
else
5543
 
  echo "$as_me: failed program was:" >&5
5544
 
sed 's/^/| /' conftest.$ac_ext >&5
5545
 
 
5546
 
 
5547
 
fi
5548
 
 
5549
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5550
 
      conftest$ac_exeext conftest.$ac_ext
5551
 
  CXXFLAGS="$save_CXXFLAGS"
5552
 
  ac_ext=c
5553
 
ac_cpp='$CPP $CPPFLAGS'
5554
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5555
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5556
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5557
 
 
5558
 
 
5559
 
fi
5560
 
 
5561
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5562
 
 { echo "$as_me:$LINENO: result: yes" >&5
5563
 
echo "${ECHO_T}yes" >&6; }
5564
 
 :
5565
 
 CXXFLAGS="-Wno-long-long $CXXFLAGS"
5566
 
else
5567
 
 { echo "$as_me:$LINENO: result: no" >&5
5568
 
echo "${ECHO_T}no" >&6; }
5569
 
 :
5570
 
 
5571
 
fi
5572
 
 
5573
 
 
5574
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
5575
 
echo $ECHO_N "checking whether $CXX supports -Wno-non-virtual-dtor... $ECHO_C" >&6; }
5576
 
kde_cache=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
5577
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5578
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5579
 
else
5580
 
 
5581
 
 
5582
 
   ac_ext=cpp
5583
 
ac_cpp='$CXXCPP $CPPFLAGS'
5584
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5585
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5586
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5587
 
 
5588
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5589
 
 
5590
 
 
5591
 
  save_CXXFLAGS="$CXXFLAGS"
5592
 
  CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5593
 
  cat >conftest.$ac_ext <<_ACEOF
5594
 
/* confdefs.h.  */
5595
 
_ACEOF
5596
 
cat confdefs.h >>conftest.$ac_ext
5597
 
cat >>conftest.$ac_ext <<_ACEOF
5598
 
/* end confdefs.h.  */
5599
 
 
5600
 
int
5601
 
main ()
5602
 
{
5603
 
 return 0;
5604
 
  ;
5605
 
  return 0;
5606
 
}
5607
 
_ACEOF
5608
 
rm -f conftest.$ac_objext conftest$ac_exeext
5609
 
if { (ac_try="$ac_link"
5610
 
case "(($ac_try" in
5611
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5612
 
  *) ac_try_echo=$ac_try;;
5613
 
esac
5614
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5615
 
  (eval "$ac_link") 2>conftest.er1
5616
 
  ac_status=$?
5617
 
  grep -v '^ *+' conftest.er1 >conftest.err
5618
 
  rm -f conftest.er1
5619
 
  cat conftest.err >&5
5620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621
 
  (exit $ac_status); } && {
5622
 
         test -z "$ac_cxx_werror_flag" ||
5623
 
         test ! -s conftest.err
5624
 
       } && test -s conftest$ac_exeext &&
5625
 
       $as_test_x conftest$ac_exeext; then
5626
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5627
 
else
5628
 
  echo "$as_me: failed program was:" >&5
5629
 
sed 's/^/| /' conftest.$ac_ext >&5
5630
 
 
5631
 
 
5632
 
fi
5633
 
 
5634
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5635
 
      conftest$ac_exeext conftest.$ac_ext
5636
 
  CXXFLAGS="$save_CXXFLAGS"
5637
 
  ac_ext=c
5638
 
ac_cpp='$CPP $CPPFLAGS'
5639
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5640
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5641
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5642
 
 
5643
 
 
5644
 
fi
5645
 
 
5646
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5647
 
 { echo "$as_me:$LINENO: result: yes" >&5
5648
 
echo "${ECHO_T}yes" >&6; }
5649
 
 :
5650
 
 CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5651
 
else
5652
 
 { echo "$as_me:$LINENO: result: no" >&5
5653
 
echo "${ECHO_T}no" >&6; }
5654
 
 :
5655
 
 
5656
 
fi
5657
 
 
5658
 
     fi
5659
 
  fi
5660
 
 
5661
 
  if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
5662
 
    CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
5663
 
  fi
5664
 
 
5665
 
  # Check whether --enable-pch was given.
5666
 
if test "${enable_pch+set}" = set; then
5667
 
  enableval=$enable_pch;  kde_use_pch=$enableval
5668
 
else
5669
 
   kde_use_pch=no
5670
 
fi
5671
 
 
5672
 
 
5673
 
  HAVE_GCC_VISIBILITY=0
5674
 
 
5675
 
 
5676
 
  if test "$GXX" = "yes"; then
5677
 
    gcc_no_reorder_blocks=NO
5678
 
 
5679
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-reorder-blocks" >&5
5680
 
echo $ECHO_N "checking whether $CXX supports -fno-reorder-blocks... $ECHO_C" >&6; }
5681
 
kde_cache=`echo fno-reorder-blocks | sed 'y% .=/+-,%____p__%'`
5682
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5683
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5684
 
else
5685
 
 
5686
 
 
5687
 
   ac_ext=cpp
5688
 
ac_cpp='$CXXCPP $CPPFLAGS'
5689
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5690
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5691
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5692
 
 
5693
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5694
 
 
5695
 
 
5696
 
  save_CXXFLAGS="$CXXFLAGS"
5697
 
  CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5698
 
  cat >conftest.$ac_ext <<_ACEOF
5699
 
/* confdefs.h.  */
5700
 
_ACEOF
5701
 
cat confdefs.h >>conftest.$ac_ext
5702
 
cat >>conftest.$ac_ext <<_ACEOF
5703
 
/* end confdefs.h.  */
5704
 
 
5705
 
int
5706
 
main ()
5707
 
{
5708
 
 return 0;
5709
 
  ;
5710
 
  return 0;
5711
 
}
5712
 
_ACEOF
5713
 
rm -f conftest.$ac_objext conftest$ac_exeext
5714
 
if { (ac_try="$ac_link"
5715
 
case "(($ac_try" in
5716
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5717
 
  *) ac_try_echo=$ac_try;;
5718
 
esac
5719
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5720
 
  (eval "$ac_link") 2>conftest.er1
5721
 
  ac_status=$?
5722
 
  grep -v '^ *+' conftest.er1 >conftest.err
5723
 
  rm -f conftest.er1
5724
 
  cat conftest.err >&5
5725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726
 
  (exit $ac_status); } && {
5727
 
         test -z "$ac_cxx_werror_flag" ||
5728
 
         test ! -s conftest.err
5729
 
       } && test -s conftest$ac_exeext &&
5730
 
       $as_test_x conftest$ac_exeext; then
5731
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5732
 
else
5733
 
  echo "$as_me: failed program was:" >&5
5734
 
sed 's/^/| /' conftest.$ac_ext >&5
5735
 
 
5736
 
 
5737
 
fi
5738
 
 
5739
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5740
 
      conftest$ac_exeext conftest.$ac_ext
5741
 
  CXXFLAGS="$save_CXXFLAGS"
5742
 
  ac_ext=c
5743
 
ac_cpp='$CPP $CPPFLAGS'
5744
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5745
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5746
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5747
 
 
5748
 
 
5749
 
fi
5750
 
 
5751
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5752
 
 { echo "$as_me:$LINENO: result: yes" >&5
5753
 
echo "${ECHO_T}yes" >&6; }
5754
 
 :
5755
 
 gcc_no_reorder_blocks=YES
5756
 
else
5757
 
 { echo "$as_me:$LINENO: result: no" >&5
5758
 
echo "${ECHO_T}no" >&6; }
5759
 
 :
5760
 
 
5761
 
fi
5762
 
 
5763
 
    if test $kde_use_debug_code != "no" && \
5764
 
       test $kde_use_debug_code != "full" && \
5765
 
       test "YES" = "$gcc_no_reorder_blocks" ; then
5766
 
          CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5767
 
          CFLAGS="$CFLAGS -fno-reorder-blocks"
5768
 
    fi
5769
 
 
5770
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
5771
 
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6; }
5772
 
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
5773
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5775
 
else
5776
 
 
5777
 
 
5778
 
   ac_ext=cpp
5779
 
ac_cpp='$CXXCPP $CPPFLAGS'
5780
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5781
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5782
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5783
 
 
5784
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5785
 
 
5786
 
 
5787
 
  save_CXXFLAGS="$CXXFLAGS"
5788
 
  CXXFLAGS="$CXXFLAGS -fno-exceptions"
5789
 
  cat >conftest.$ac_ext <<_ACEOF
5790
 
/* confdefs.h.  */
5791
 
_ACEOF
5792
 
cat confdefs.h >>conftest.$ac_ext
5793
 
cat >>conftest.$ac_ext <<_ACEOF
5794
 
/* end confdefs.h.  */
5795
 
 
5796
 
int
5797
 
main ()
5798
 
{
5799
 
 return 0;
5800
 
  ;
5801
 
  return 0;
5802
 
}
5803
 
_ACEOF
5804
 
rm -f conftest.$ac_objext conftest$ac_exeext
5805
 
if { (ac_try="$ac_link"
5806
 
case "(($ac_try" in
5807
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5808
 
  *) ac_try_echo=$ac_try;;
5809
 
esac
5810
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5811
 
  (eval "$ac_link") 2>conftest.er1
5812
 
  ac_status=$?
5813
 
  grep -v '^ *+' conftest.er1 >conftest.err
5814
 
  rm -f conftest.er1
5815
 
  cat conftest.err >&5
5816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817
 
  (exit $ac_status); } && {
5818
 
         test -z "$ac_cxx_werror_flag" ||
5819
 
         test ! -s conftest.err
5820
 
       } && test -s conftest$ac_exeext &&
5821
 
       $as_test_x conftest$ac_exeext; then
5822
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5823
 
else
5824
 
  echo "$as_me: failed program was:" >&5
5825
 
sed 's/^/| /' conftest.$ac_ext >&5
5826
 
 
5827
 
 
5828
 
fi
5829
 
 
5830
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5831
 
      conftest$ac_exeext conftest.$ac_ext
5832
 
  CXXFLAGS="$save_CXXFLAGS"
5833
 
  ac_ext=c
5834
 
ac_cpp='$CPP $CPPFLAGS'
5835
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5836
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5837
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5838
 
 
5839
 
 
5840
 
fi
5841
 
 
5842
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5843
 
 { echo "$as_me:$LINENO: result: yes" >&5
5844
 
echo "${ECHO_T}yes" >&6; }
5845
 
 :
5846
 
 CXXFLAGS="$CXXFLAGS -fno-exceptions"
5847
 
else
5848
 
 { echo "$as_me:$LINENO: result: no" >&5
5849
 
echo "${ECHO_T}no" >&6; }
5850
 
 :
5851
 
 
5852
 
fi
5853
 
 
5854
 
 
5855
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5856
 
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6; }
5857
 
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5858
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5859
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5860
 
else
5861
 
 
5862
 
 
5863
 
   ac_ext=cpp
5864
 
ac_cpp='$CXXCPP $CPPFLAGS'
5865
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5866
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5867
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5868
 
 
5869
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5870
 
 
5871
 
 
5872
 
  save_CXXFLAGS="$CXXFLAGS"
5873
 
  CXXFLAGS="$CXXFLAGS -fno-check-new"
5874
 
  cat >conftest.$ac_ext <<_ACEOF
5875
 
/* confdefs.h.  */
5876
 
_ACEOF
5877
 
cat confdefs.h >>conftest.$ac_ext
5878
 
cat >>conftest.$ac_ext <<_ACEOF
5879
 
/* end confdefs.h.  */
5880
 
 
5881
 
int
5882
 
main ()
5883
 
{
5884
 
 return 0;
5885
 
  ;
5886
 
  return 0;
5887
 
}
5888
 
_ACEOF
5889
 
rm -f conftest.$ac_objext conftest$ac_exeext
5890
 
if { (ac_try="$ac_link"
5891
 
case "(($ac_try" in
5892
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5893
 
  *) ac_try_echo=$ac_try;;
5894
 
esac
5895
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5896
 
  (eval "$ac_link") 2>conftest.er1
5897
 
  ac_status=$?
5898
 
  grep -v '^ *+' conftest.er1 >conftest.err
5899
 
  rm -f conftest.er1
5900
 
  cat conftest.err >&5
5901
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902
 
  (exit $ac_status); } && {
5903
 
         test -z "$ac_cxx_werror_flag" ||
5904
 
         test ! -s conftest.err
5905
 
       } && test -s conftest$ac_exeext &&
5906
 
       $as_test_x conftest$ac_exeext; then
5907
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5908
 
else
5909
 
  echo "$as_me: failed program was:" >&5
5910
 
sed 's/^/| /' conftest.$ac_ext >&5
5911
 
 
5912
 
 
5913
 
fi
5914
 
 
5915
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5916
 
      conftest$ac_exeext conftest.$ac_ext
5917
 
  CXXFLAGS="$save_CXXFLAGS"
5918
 
  ac_ext=c
5919
 
ac_cpp='$CPP $CPPFLAGS'
5920
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5921
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5922
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5923
 
 
5924
 
 
5925
 
fi
5926
 
 
5927
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5928
 
 { echo "$as_me:$LINENO: result: yes" >&5
5929
 
echo "${ECHO_T}yes" >&6; }
5930
 
 :
5931
 
 CXXFLAGS="$CXXFLAGS -fno-check-new"
5932
 
else
5933
 
 { echo "$as_me:$LINENO: result: no" >&5
5934
 
echo "${ECHO_T}no" >&6; }
5935
 
 :
5936
 
 
5937
 
fi
5938
 
 
5939
 
 
5940
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5941
 
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6; }
5942
 
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5943
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5945
 
else
5946
 
 
5947
 
 
5948
 
   ac_ext=cpp
5949
 
ac_cpp='$CXXCPP $CPPFLAGS'
5950
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5951
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5952
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5953
 
 
5954
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5955
 
 
5956
 
 
5957
 
  save_CXXFLAGS="$CXXFLAGS"
5958
 
  CXXFLAGS="$CXXFLAGS -fno-common"
5959
 
  cat >conftest.$ac_ext <<_ACEOF
5960
 
/* confdefs.h.  */
5961
 
_ACEOF
5962
 
cat confdefs.h >>conftest.$ac_ext
5963
 
cat >>conftest.$ac_ext <<_ACEOF
5964
 
/* end confdefs.h.  */
5965
 
 
5966
 
int
5967
 
main ()
5968
 
{
5969
 
 return 0;
5970
 
  ;
5971
 
  return 0;
5972
 
}
5973
 
_ACEOF
5974
 
rm -f conftest.$ac_objext conftest$ac_exeext
5975
 
if { (ac_try="$ac_link"
5976
 
case "(($ac_try" in
5977
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5978
 
  *) ac_try_echo=$ac_try;;
5979
 
esac
5980
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5981
 
  (eval "$ac_link") 2>conftest.er1
5982
 
  ac_status=$?
5983
 
  grep -v '^ *+' conftest.er1 >conftest.err
5984
 
  rm -f conftest.er1
5985
 
  cat conftest.err >&5
5986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987
 
  (exit $ac_status); } && {
5988
 
         test -z "$ac_cxx_werror_flag" ||
5989
 
         test ! -s conftest.err
5990
 
       } && test -s conftest$ac_exeext &&
5991
 
       $as_test_x conftest$ac_exeext; then
5992
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5993
 
else
5994
 
  echo "$as_me: failed program was:" >&5
5995
 
sed 's/^/| /' conftest.$ac_ext >&5
5996
 
 
5997
 
 
5998
 
fi
5999
 
 
6000
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6001
 
      conftest$ac_exeext conftest.$ac_ext
6002
 
  CXXFLAGS="$save_CXXFLAGS"
6003
 
  ac_ext=c
6004
 
ac_cpp='$CPP $CPPFLAGS'
6005
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6006
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6007
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6008
 
 
6009
 
 
6010
 
fi
6011
 
 
6012
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6013
 
 { echo "$as_me:$LINENO: result: yes" >&5
6014
 
echo "${ECHO_T}yes" >&6; }
6015
 
 :
6016
 
 CXXFLAGS="$CXXFLAGS -fno-common"
6017
 
else
6018
 
 { echo "$as_me:$LINENO: result: no" >&5
6019
 
echo "${ECHO_T}no" >&6; }
6020
 
 :
6021
 
 
6022
 
fi
6023
 
 
6024
 
 
6025
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
6026
 
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6; }
6027
 
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
6028
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6029
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6030
 
else
6031
 
 
6032
 
 
6033
 
   ac_ext=cpp
6034
 
ac_cpp='$CXXCPP $CPPFLAGS'
6035
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6036
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6037
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6038
 
 
6039
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6040
 
 
6041
 
 
6042
 
  save_CXXFLAGS="$CXXFLAGS"
6043
 
  CXXFLAGS="$CXXFLAGS -fexceptions"
6044
 
  cat >conftest.$ac_ext <<_ACEOF
6045
 
/* confdefs.h.  */
6046
 
_ACEOF
6047
 
cat confdefs.h >>conftest.$ac_ext
6048
 
cat >>conftest.$ac_ext <<_ACEOF
6049
 
/* end confdefs.h.  */
6050
 
 
6051
 
int
6052
 
main ()
6053
 
{
6054
 
 return 0;
6055
 
  ;
6056
 
  return 0;
6057
 
}
6058
 
_ACEOF
6059
 
rm -f conftest.$ac_objext conftest$ac_exeext
6060
 
if { (ac_try="$ac_link"
6061
 
case "(($ac_try" in
6062
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6063
 
  *) ac_try_echo=$ac_try;;
6064
 
esac
6065
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6066
 
  (eval "$ac_link") 2>conftest.er1
6067
 
  ac_status=$?
6068
 
  grep -v '^ *+' conftest.er1 >conftest.err
6069
 
  rm -f conftest.er1
6070
 
  cat conftest.err >&5
6071
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072
 
  (exit $ac_status); } && {
6073
 
         test -z "$ac_cxx_werror_flag" ||
6074
 
         test ! -s conftest.err
6075
 
       } && test -s conftest$ac_exeext &&
6076
 
       $as_test_x conftest$ac_exeext; then
6077
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6078
 
else
6079
 
  echo "$as_me: failed program was:" >&5
6080
 
sed 's/^/| /' conftest.$ac_ext >&5
6081
 
 
6082
 
 
6083
 
fi
6084
 
 
6085
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6086
 
      conftest$ac_exeext conftest.$ac_ext
6087
 
  CXXFLAGS="$save_CXXFLAGS"
6088
 
  ac_ext=c
6089
 
ac_cpp='$CPP $CPPFLAGS'
6090
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6091
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6092
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6093
 
 
6094
 
 
6095
 
fi
6096
 
 
6097
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6098
 
 { echo "$as_me:$LINENO: result: yes" >&5
6099
 
echo "${ECHO_T}yes" >&6; }
6100
 
 :
6101
 
 USE_EXCEPTIONS="-fexceptions"
6102
 
else
6103
 
 { echo "$as_me:$LINENO: result: no" >&5
6104
 
echo "${ECHO_T}no" >&6; }
6105
 
 :
6106
 
 USE_EXCEPTIONS=
6107
 
fi
6108
 
 
6109
 
    ENABLE_PERMISSIVE_FLAG="-fpermissive"
6110
 
 
6111
 
    if test "$kde_use_pch" = "yes"; then
6112
 
        { echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
6113
 
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6; }
6114
 
        echo >conftest.h
6115
 
        if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
6116
 
            kde_gcc_supports_pch=yes
6117
 
            { echo "$as_me:$LINENO: result: yes" >&5
6118
 
echo "${ECHO_T}yes" >&6; }
6119
 
        else
6120
 
            kde_gcc_supports_pch=no
6121
 
            { echo "$as_me:$LINENO: result: no" >&5
6122
 
echo "${ECHO_T}no" >&6; }
6123
 
        fi
6124
 
        if test "$kde_gcc_supports_pch" = "yes"; then
6125
 
            { echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
6126
 
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6; }
6127
 
            if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
6128
 
                kde_gcc_supports_pch=yes
6129
 
                { echo "$as_me:$LINENO: result: yes" >&5
6130
 
echo "${ECHO_T}yes" >&6; }
6131
 
            else
6132
 
                kde_gcc_supports_pch=no
6133
 
                { echo "$as_me:$LINENO: result: no" >&5
6134
 
echo "${ECHO_T}no" >&6; }
6135
 
            fi
6136
 
        fi
6137
 
        rm -f conftest.h conftest.h.gch
6138
 
    fi
6139
 
 
6140
 
 
6141
 
  { echo "$as_me:$LINENO: checking whether system headers can cope with -O2 -fno-inline" >&5
6142
 
echo $ECHO_N "checking whether system headers can cope with -O2 -fno-inline... $ECHO_C" >&6; }
6143
 
if test "${kde_cv_opt_noinline_match+set}" = set; then
6144
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6145
 
else
6146
 
 
6147
 
  kde_cv_opt_noinline_match=irrelevant
6148
 
    if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
6149
 
     && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
6150
 
 
6151
 
    ac_cflags_save="$CFLAGS"
6152
 
    CFLAGS="$CFLAGS -D_USE_GNU"
6153
 
 
6154
 
    cat >conftest.$ac_ext <<_ACEOF
6155
 
/* confdefs.h.  */
6156
 
_ACEOF
6157
 
cat confdefs.h >>conftest.$ac_ext
6158
 
cat >>conftest.$ac_ext <<_ACEOF
6159
 
/* end confdefs.h.  */
6160
 
 
6161
 
  #include <string.h>
6162
 
 
6163
 
int
6164
 
main ()
6165
 
{
6166
 
  const char *pt, *et;
6167
 
  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 ,  ";,"  )); }) ;
6168
 
 
6169
 
  ;
6170
 
  return 0;
6171
 
}
6172
 
_ACEOF
6173
 
rm -f conftest.$ac_objext conftest$ac_exeext
6174
 
if { (ac_try="$ac_link"
6175
 
case "(($ac_try" in
6176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6177
 
  *) ac_try_echo=$ac_try;;
6178
 
esac
6179
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6180
 
  (eval "$ac_link") 2>conftest.er1
6181
 
  ac_status=$?
6182
 
  grep -v '^ *+' conftest.er1 >conftest.err
6183
 
  rm -f conftest.er1
6184
 
  cat conftest.err >&5
6185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186
 
  (exit $ac_status); } && {
6187
 
         test -z "$ac_c_werror_flag" ||
6188
 
         test ! -s conftest.err
6189
 
       } && test -s conftest$ac_exeext &&
6190
 
       $as_test_x conftest$ac_exeext; then
6191
 
  kde_cv_opt_noinline_match=yes
6192
 
else
6193
 
  echo "$as_me: failed program was:" >&5
6194
 
sed 's/^/| /' conftest.$ac_ext >&5
6195
 
 
6196
 
        kde_cv_opt_noinline_match=no
6197
 
 
6198
 
fi
6199
 
 
6200
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6201
 
      conftest$ac_exeext conftest.$ac_ext
6202
 
 
6203
 
    CFLAGS="$ac_cflags_save"
6204
 
  fi
6205
 
 
6206
 
fi
6207
 
{ echo "$as_me:$LINENO: result: $kde_cv_opt_noinline_match" >&5
6208
 
echo "${ECHO_T}$kde_cv_opt_noinline_match" >&6; }
6209
 
 
6210
 
    if test "x$kde_cv_opt_noinline_match" = "xno" ; then
6211
 
       CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
6212
 
    fi
6213
 
  fi
6214
 
 
6215
 
 
6216
 
if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
6217
 
  unsermake_enable_pch_TRUE=
6218
 
  unsermake_enable_pch_FALSE='#'
6219
 
else
6220
 
  unsermake_enable_pch_TRUE='#'
6221
 
  unsermake_enable_pch_FALSE=
6222
 
fi
6223
 
 
6224
 
  if test "$CXX" = "KCC"; then
6225
 
 
6226
 
    if test "$kde_use_pch" = "yes"; then
6227
 
 
6228
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
6229
 
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6; }
6230
 
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
6231
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6232
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6233
 
else
6234
 
 
6235
 
 
6236
 
   ac_ext=cpp
6237
 
ac_cpp='$CXXCPP $CPPFLAGS'
6238
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6239
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6240
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6241
 
 
6242
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6243
 
 
6244
 
 
6245
 
  save_CXXFLAGS="$CXXFLAGS"
6246
 
  CXXFLAGS="$CXXFLAGS --pch"
6247
 
  cat >conftest.$ac_ext <<_ACEOF
6248
 
/* confdefs.h.  */
6249
 
_ACEOF
6250
 
cat confdefs.h >>conftest.$ac_ext
6251
 
cat >>conftest.$ac_ext <<_ACEOF
6252
 
/* end confdefs.h.  */
6253
 
 
6254
 
int
6255
 
main ()
6256
 
{
6257
 
 return 0;
6258
 
  ;
6259
 
  return 0;
6260
 
}
6261
 
_ACEOF
6262
 
rm -f conftest.$ac_objext conftest$ac_exeext
6263
 
if { (ac_try="$ac_link"
6264
 
case "(($ac_try" in
6265
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6266
 
  *) ac_try_echo=$ac_try;;
6267
 
esac
6268
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6269
 
  (eval "$ac_link") 2>conftest.er1
6270
 
  ac_status=$?
6271
 
  grep -v '^ *+' conftest.er1 >conftest.err
6272
 
  rm -f conftest.er1
6273
 
  cat conftest.err >&5
6274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275
 
  (exit $ac_status); } && {
6276
 
         test -z "$ac_cxx_werror_flag" ||
6277
 
         test ! -s conftest.err
6278
 
       } && test -s conftest$ac_exeext &&
6279
 
       $as_test_x conftest$ac_exeext; then
6280
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6281
 
else
6282
 
  echo "$as_me: failed program was:" >&5
6283
 
sed 's/^/| /' conftest.$ac_ext >&5
6284
 
 
6285
 
 
6286
 
fi
6287
 
 
6288
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6289
 
      conftest$ac_exeext conftest.$ac_ext
6290
 
  CXXFLAGS="$save_CXXFLAGS"
6291
 
  ac_ext=c
6292
 
ac_cpp='$CPP $CPPFLAGS'
6293
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6294
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6295
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6296
 
 
6297
 
 
6298
 
fi
6299
 
 
6300
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6301
 
 { echo "$as_me:$LINENO: result: yes" >&5
6302
 
echo "${ECHO_T}yes" >&6; }
6303
 
 :
6304
 
 CXXFLAGS="$CXXFLAGS --pch"
6305
 
else
6306
 
 { echo "$as_me:$LINENO: result: no" >&5
6307
 
echo "${ECHO_T}no" >&6; }
6308
 
 :
6309
 
 
6310
 
fi
6311
 
 
6312
 
                                              fi
6313
 
 
6314
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
6315
 
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6; }
6316
 
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
6317
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6318
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6319
 
else
6320
 
 
6321
 
 
6322
 
   ac_ext=cpp
6323
 
ac_cpp='$CXXCPP $CPPFLAGS'
6324
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6325
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6326
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6327
 
 
6328
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6329
 
 
6330
 
 
6331
 
  save_CXXFLAGS="$CXXFLAGS"
6332
 
  CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6333
 
  cat >conftest.$ac_ext <<_ACEOF
6334
 
/* confdefs.h.  */
6335
 
_ACEOF
6336
 
cat confdefs.h >>conftest.$ac_ext
6337
 
cat >>conftest.$ac_ext <<_ACEOF
6338
 
/* end confdefs.h.  */
6339
 
 
6340
 
int
6341
 
main ()
6342
 
{
6343
 
 return 0;
6344
 
  ;
6345
 
  return 0;
6346
 
}
6347
 
_ACEOF
6348
 
rm -f conftest.$ac_objext conftest$ac_exeext
6349
 
if { (ac_try="$ac_link"
6350
 
case "(($ac_try" in
6351
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352
 
  *) ac_try_echo=$ac_try;;
6353
 
esac
6354
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355
 
  (eval "$ac_link") 2>conftest.er1
6356
 
  ac_status=$?
6357
 
  grep -v '^ *+' conftest.er1 >conftest.err
6358
 
  rm -f conftest.er1
6359
 
  cat conftest.err >&5
6360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361
 
  (exit $ac_status); } && {
6362
 
         test -z "$ac_cxx_werror_flag" ||
6363
 
         test ! -s conftest.err
6364
 
       } && test -s conftest$ac_exeext &&
6365
 
       $as_test_x conftest$ac_exeext; then
6366
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6367
 
else
6368
 
  echo "$as_me: failed program was:" >&5
6369
 
sed 's/^/| /' conftest.$ac_ext >&5
6370
 
 
6371
 
 
6372
 
fi
6373
 
 
6374
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6375
 
      conftest$ac_exeext conftest.$ac_ext
6376
 
  CXXFLAGS="$save_CXXFLAGS"
6377
 
  ac_ext=c
6378
 
ac_cpp='$CPP $CPPFLAGS'
6379
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6380
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6381
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6382
 
 
6383
 
 
6384
 
fi
6385
 
 
6386
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6387
 
 { echo "$as_me:$LINENO: result: yes" >&5
6388
 
echo "${ECHO_T}yes" >&6; }
6389
 
 :
6390
 
 CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6391
 
else
6392
 
 { echo "$as_me:$LINENO: result: no" >&5
6393
 
echo "${ECHO_T}no" >&6; }
6394
 
 :
6395
 
 
6396
 
fi
6397
 
 
6398
 
 
6399
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
6400
 
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6; }
6401
 
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
6402
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6403
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6404
 
else
6405
 
 
6406
 
 
6407
 
   ac_ext=cpp
6408
 
ac_cpp='$CXXCPP $CPPFLAGS'
6409
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6410
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6411
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6412
 
 
6413
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6414
 
 
6415
 
 
6416
 
  save_CXXFLAGS="$CXXFLAGS"
6417
 
  CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6418
 
  cat >conftest.$ac_ext <<_ACEOF
6419
 
/* confdefs.h.  */
6420
 
_ACEOF
6421
 
cat confdefs.h >>conftest.$ac_ext
6422
 
cat >>conftest.$ac_ext <<_ACEOF
6423
 
/* end confdefs.h.  */
6424
 
 
6425
 
int
6426
 
main ()
6427
 
{
6428
 
 return 0;
6429
 
  ;
6430
 
  return 0;
6431
 
}
6432
 
_ACEOF
6433
 
rm -f conftest.$ac_objext conftest$ac_exeext
6434
 
if { (ac_try="$ac_link"
6435
 
case "(($ac_try" in
6436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6437
 
  *) ac_try_echo=$ac_try;;
6438
 
esac
6439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6440
 
  (eval "$ac_link") 2>conftest.er1
6441
 
  ac_status=$?
6442
 
  grep -v '^ *+' conftest.er1 >conftest.err
6443
 
  rm -f conftest.er1
6444
 
  cat conftest.err >&5
6445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446
 
  (exit $ac_status); } && {
6447
 
         test -z "$ac_cxx_werror_flag" ||
6448
 
         test ! -s conftest.err
6449
 
       } && test -s conftest$ac_exeext &&
6450
 
       $as_test_x conftest$ac_exeext; then
6451
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6452
 
else
6453
 
  echo "$as_me: failed program was:" >&5
6454
 
sed 's/^/| /' conftest.$ac_ext >&5
6455
 
 
6456
 
 
6457
 
fi
6458
 
 
6459
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6460
 
      conftest$ac_exeext conftest.$ac_ext
6461
 
  CXXFLAGS="$save_CXXFLAGS"
6462
 
  ac_ext=c
6463
 
ac_cpp='$CPP $CPPFLAGS'
6464
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6465
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6466
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6467
 
 
6468
 
 
6469
 
fi
6470
 
 
6471
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6472
 
 { echo "$as_me:$LINENO: result: yes" >&5
6473
 
echo "${ECHO_T}yes" >&6; }
6474
 
 :
6475
 
 CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6476
 
else
6477
 
 { echo "$as_me:$LINENO: result: no" >&5
6478
 
echo "${ECHO_T}no" >&6; }
6479
 
 :
6480
 
 
6481
 
fi
6482
 
 
6483
 
 
6484
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
6485
 
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6; }
6486
 
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6487
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6488
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6489
 
else
6490
 
 
6491
 
 
6492
 
   ac_ext=cpp
6493
 
ac_cpp='$CXXCPP $CPPFLAGS'
6494
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6495
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6496
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6497
 
 
6498
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6499
 
 
6500
 
 
6501
 
  save_CXXFLAGS="$CXXFLAGS"
6502
 
  CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6503
 
  cat >conftest.$ac_ext <<_ACEOF
6504
 
/* confdefs.h.  */
6505
 
_ACEOF
6506
 
cat confdefs.h >>conftest.$ac_ext
6507
 
cat >>conftest.$ac_ext <<_ACEOF
6508
 
/* end confdefs.h.  */
6509
 
 
6510
 
int
6511
 
main ()
6512
 
{
6513
 
 return 0;
6514
 
  ;
6515
 
  return 0;
6516
 
}
6517
 
_ACEOF
6518
 
rm -f conftest.$ac_objext conftest$ac_exeext
6519
 
if { (ac_try="$ac_link"
6520
 
case "(($ac_try" in
6521
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6522
 
  *) ac_try_echo=$ac_try;;
6523
 
esac
6524
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6525
 
  (eval "$ac_link") 2>conftest.er1
6526
 
  ac_status=$?
6527
 
  grep -v '^ *+' conftest.er1 >conftest.err
6528
 
  rm -f conftest.er1
6529
 
  cat conftest.err >&5
6530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531
 
  (exit $ac_status); } && {
6532
 
         test -z "$ac_cxx_werror_flag" ||
6533
 
         test ! -s conftest.err
6534
 
       } && test -s conftest$ac_exeext &&
6535
 
       $as_test_x conftest$ac_exeext; then
6536
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6537
 
else
6538
 
  echo "$as_me: failed program was:" >&5
6539
 
sed 's/^/| /' conftest.$ac_ext >&5
6540
 
 
6541
 
 
6542
 
fi
6543
 
 
6544
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6545
 
      conftest$ac_exeext conftest.$ac_ext
6546
 
  CXXFLAGS="$save_CXXFLAGS"
6547
 
  ac_ext=c
6548
 
ac_cpp='$CPP $CPPFLAGS'
6549
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6550
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6551
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6552
 
 
6553
 
 
6554
 
fi
6555
 
 
6556
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6557
 
 { echo "$as_me:$LINENO: result: yes" >&5
6558
 
echo "${ECHO_T}yes" >&6; }
6559
 
 :
6560
 
 CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6561
 
else
6562
 
 { echo "$as_me:$LINENO: result: no" >&5
6563
 
echo "${ECHO_T}no" >&6; }
6564
 
 :
6565
 
 
6566
 
fi
6567
 
 
6568
 
 
6569
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
6570
 
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6; }
6571
 
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6572
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6573
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6574
 
else
6575
 
 
6576
 
 
6577
 
   ac_ext=cpp
6578
 
ac_cpp='$CXXCPP $CPPFLAGS'
6579
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6580
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6581
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6582
 
 
6583
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6584
 
 
6585
 
 
6586
 
  save_CXXFLAGS="$CXXFLAGS"
6587
 
  CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6588
 
  cat >conftest.$ac_ext <<_ACEOF
6589
 
/* confdefs.h.  */
6590
 
_ACEOF
6591
 
cat confdefs.h >>conftest.$ac_ext
6592
 
cat >>conftest.$ac_ext <<_ACEOF
6593
 
/* end confdefs.h.  */
6594
 
 
6595
 
int
6596
 
main ()
6597
 
{
6598
 
 return 0;
6599
 
  ;
6600
 
  return 0;
6601
 
}
6602
 
_ACEOF
6603
 
rm -f conftest.$ac_objext conftest$ac_exeext
6604
 
if { (ac_try="$ac_link"
6605
 
case "(($ac_try" in
6606
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6607
 
  *) ac_try_echo=$ac_try;;
6608
 
esac
6609
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6610
 
  (eval "$ac_link") 2>conftest.er1
6611
 
  ac_status=$?
6612
 
  grep -v '^ *+' conftest.er1 >conftest.err
6613
 
  rm -f conftest.er1
6614
 
  cat conftest.err >&5
6615
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616
 
  (exit $ac_status); } && {
6617
 
         test -z "$ac_cxx_werror_flag" ||
6618
 
         test ! -s conftest.err
6619
 
       } && test -s conftest$ac_exeext &&
6620
 
       $as_test_x conftest$ac_exeext; then
6621
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6622
 
else
6623
 
  echo "$as_me: failed program was:" >&5
6624
 
sed 's/^/| /' conftest.$ac_ext >&5
6625
 
 
6626
 
 
6627
 
fi
6628
 
 
6629
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6630
 
      conftest$ac_exeext conftest.$ac_ext
6631
 
  CXXFLAGS="$save_CXXFLAGS"
6632
 
  ac_ext=c
6633
 
ac_cpp='$CPP $CPPFLAGS'
6634
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6635
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6636
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6637
 
 
6638
 
 
6639
 
fi
6640
 
 
6641
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6642
 
 { echo "$as_me:$LINENO: result: yes" >&5
6643
 
echo "${ECHO_T}yes" >&6; }
6644
 
 :
6645
 
 CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6646
 
else
6647
 
 { echo "$as_me:$LINENO: result: no" >&5
6648
 
echo "${ECHO_T}no" >&6; }
6649
 
 :
6650
 
 
6651
 
fi
6652
 
 
6653
 
 
6654
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
6655
 
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6; }
6656
 
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
6657
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6658
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6659
 
else
6660
 
 
6661
 
 
6662
 
   ac_ext=cpp
6663
 
ac_cpp='$CXXCPP $CPPFLAGS'
6664
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6665
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6666
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6667
 
 
6668
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6669
 
 
6670
 
 
6671
 
  save_CXXFLAGS="$CXXFLAGS"
6672
 
  CXXFLAGS="$CXXFLAGS --one_per"
6673
 
  cat >conftest.$ac_ext <<_ACEOF
6674
 
/* confdefs.h.  */
6675
 
_ACEOF
6676
 
cat confdefs.h >>conftest.$ac_ext
6677
 
cat >>conftest.$ac_ext <<_ACEOF
6678
 
/* end confdefs.h.  */
6679
 
 
6680
 
int
6681
 
main ()
6682
 
{
6683
 
 return 0;
6684
 
  ;
6685
 
  return 0;
6686
 
}
6687
 
_ACEOF
6688
 
rm -f conftest.$ac_objext conftest$ac_exeext
6689
 
if { (ac_try="$ac_link"
6690
 
case "(($ac_try" in
6691
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6692
 
  *) ac_try_echo=$ac_try;;
6693
 
esac
6694
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6695
 
  (eval "$ac_link") 2>conftest.er1
6696
 
  ac_status=$?
6697
 
  grep -v '^ *+' conftest.er1 >conftest.err
6698
 
  rm -f conftest.er1
6699
 
  cat conftest.err >&5
6700
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701
 
  (exit $ac_status); } && {
6702
 
         test -z "$ac_cxx_werror_flag" ||
6703
 
         test ! -s conftest.err
6704
 
       } && test -s conftest$ac_exeext &&
6705
 
       $as_test_x conftest$ac_exeext; then
6706
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6707
 
else
6708
 
  echo "$as_me: failed program was:" >&5
6709
 
sed 's/^/| /' conftest.$ac_ext >&5
6710
 
 
6711
 
 
6712
 
fi
6713
 
 
6714
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6715
 
      conftest$ac_exeext conftest.$ac_ext
6716
 
  CXXFLAGS="$save_CXXFLAGS"
6717
 
  ac_ext=c
6718
 
ac_cpp='$CPP $CPPFLAGS'
6719
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6720
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6721
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6722
 
 
6723
 
 
6724
 
fi
6725
 
 
6726
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6727
 
 { echo "$as_me:$LINENO: result: yes" >&5
6728
 
echo "${ECHO_T}yes" >&6; }
6729
 
 :
6730
 
 CXXFLAGS="$CXXFLAGS --one_per"
6731
 
else
6732
 
 { echo "$as_me:$LINENO: result: no" >&5
6733
 
echo "${ECHO_T}no" >&6; }
6734
 
 :
6735
 
 
6736
 
fi
6737
 
 
6738
 
  fi
6739
 
 
6740
 
    USE_RTTI=
6741
 
 
6742
 
 
6743
 
  case "$host" in
6744
 
      *-*-irix*)  test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
6745
 
      *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
6746
 
      *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
6747
 
      *-*-solaris*)
6748
 
        if test "$GXX" = yes; then
6749
 
          libstdcpp=`$CXX -print-file-name=libstdc++.so`
6750
 
          if test ! -f $libstdcpp; then
6751
 
             { { 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
6752
 
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;}
6753
 
   { (exit 1); exit 1; }; }
6754
 
          fi
6755
 
        fi
6756
 
        ;;
6757
 
  esac
6758
 
 
6759
 
  if test "x$kde_use_qt_emb" != "xyes"; then
6760
 
  __val=$CXX
6761
 
  __forbid=" -fno-rtti -rpath "
6762
 
  if test -n "$__val"; then
6763
 
    __new=""
6764
 
    ac_save_IFS=$IFS
6765
 
    IFS="       "
6766
 
    for i in $__val; do
6767
 
      case "$__forbid" in
6768
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6769
 
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6770
 
        *) # Careful to not add spaces, where there were none, because otherwise
6771
 
           # libtool gets confused, if we change e.g. CXX
6772
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6773
 
      esac
6774
 
    done
6775
 
    IFS=$ac_save_IFS
6776
 
    CXX=$__new
6777
 
  fi
6778
 
 
6779
 
  __val=$CXXFLAGS
6780
 
  __forbid=" -fno-rtti -rpath "
6781
 
  if test -n "$__val"; then
6782
 
    __new=""
6783
 
    ac_save_IFS=$IFS
6784
 
    IFS="       "
6785
 
    for i in $__val; do
6786
 
      case "$__forbid" in
6787
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6788
 
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6789
 
        *) # Careful to not add spaces, where there were none, because otherwise
6790
 
           # libtool gets confused, if we change e.g. CXX
6791
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6792
 
      esac
6793
 
    done
6794
 
    IFS=$ac_save_IFS
6795
 
    CXXFLAGS=$__new
6796
 
  fi
6797
 
 
6798
 
else
6799
 
  __val=$CXX
6800
 
  __forbid=" -rpath "
6801
 
  if test -n "$__val"; then
6802
 
    __new=""
6803
 
    ac_save_IFS=$IFS
6804
 
    IFS="       "
6805
 
    for i in $__val; do
6806
 
      case "$__forbid" in
6807
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6808
 
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6809
 
        *) # Careful to not add spaces, where there were none, because otherwise
6810
 
           # libtool gets confused, if we change e.g. CXX
6811
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6812
 
      esac
6813
 
    done
6814
 
    IFS=$ac_save_IFS
6815
 
    CXX=$__new
6816
 
  fi
6817
 
 
6818
 
  __val=$CXXFLAGS
6819
 
  __forbid=" -rpath "
6820
 
  if test -n "$__val"; then
6821
 
    __new=""
6822
 
    ac_save_IFS=$IFS
6823
 
    IFS="       "
6824
 
    for i in $__val; do
6825
 
      case "$__forbid" in
6826
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6827
 
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6828
 
        *) # Careful to not add spaces, where there were none, because otherwise
6829
 
           # libtool gets confused, if we change e.g. CXX
6830
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6831
 
      esac
6832
 
    done
6833
 
    IFS=$ac_save_IFS
6834
 
    CXXFLAGS=$__new
6835
 
  fi
6836
 
 
6837
 
fi
6838
 
 
6839
 
 
6840
 
  ac_ext=cpp
6841
 
ac_cpp='$CXXCPP $CPPFLAGS'
6842
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6843
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6844
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6845
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6846
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6847
 
if test -z "$CXXCPP"; then
6848
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6849
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6850
 
else
6851
 
      # Double quotes because CXXCPP needs to be expanded
6852
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6853
 
    do
6854
 
      ac_preproc_ok=false
6855
 
for ac_cxx_preproc_warn_flag in '' yes
6856
 
do
6857
 
  # Use a header file that comes with gcc, so configuring glibc
6858
 
  # with a fresh cross-compiler works.
6859
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6860
 
  # <limits.h> exists even on freestanding compilers.
6861
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6862
 
  # not just through cpp. "Syntax error" is here to catch this case.
6863
 
  cat >conftest.$ac_ext <<_ACEOF
6864
 
/* confdefs.h.  */
6865
 
_ACEOF
6866
 
cat confdefs.h >>conftest.$ac_ext
6867
 
cat >>conftest.$ac_ext <<_ACEOF
6868
 
/* end confdefs.h.  */
6869
 
#ifdef __STDC__
6870
 
# include <limits.h>
6871
 
#else
6872
 
# include <assert.h>
6873
 
#endif
6874
 
                     Syntax error
6875
 
_ACEOF
6876
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6877
 
case "(($ac_try" in
6878
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6879
 
  *) ac_try_echo=$ac_try;;
6880
 
esac
6881
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6882
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6883
 
  ac_status=$?
6884
 
  grep -v '^ *+' conftest.er1 >conftest.err
6885
 
  rm -f conftest.er1
6886
 
  cat conftest.err >&5
6887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888
 
  (exit $ac_status); } >/dev/null && {
6889
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6890
 
         test ! -s conftest.err
6891
 
       }; then
6892
 
  :
6893
 
else
6894
 
  echo "$as_me: failed program was:" >&5
6895
 
sed 's/^/| /' conftest.$ac_ext >&5
6896
 
 
6897
 
  # Broken: fails on valid input.
6898
 
continue
6899
 
fi
6900
 
 
6901
 
rm -f conftest.err conftest.$ac_ext
6902
 
 
6903
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6904
 
  # can be detected and how.
6905
 
  cat >conftest.$ac_ext <<_ACEOF
6906
 
/* confdefs.h.  */
6907
 
_ACEOF
6908
 
cat confdefs.h >>conftest.$ac_ext
6909
 
cat >>conftest.$ac_ext <<_ACEOF
6910
 
/* end confdefs.h.  */
6911
 
#include <ac_nonexistent.h>
6912
 
_ACEOF
6913
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6914
 
case "(($ac_try" in
6915
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6916
 
  *) ac_try_echo=$ac_try;;
6917
 
esac
6918
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6919
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6920
 
  ac_status=$?
6921
 
  grep -v '^ *+' conftest.er1 >conftest.err
6922
 
  rm -f conftest.er1
6923
 
  cat conftest.err >&5
6924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925
 
  (exit $ac_status); } >/dev/null && {
6926
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6927
 
         test ! -s conftest.err
6928
 
       }; then
6929
 
  # Broken: success on invalid input.
6930
 
continue
6931
 
else
6932
 
  echo "$as_me: failed program was:" >&5
6933
 
sed 's/^/| /' conftest.$ac_ext >&5
6934
 
 
6935
 
  # Passes both tests.
6936
 
ac_preproc_ok=:
6937
 
break
6938
 
fi
6939
 
 
6940
 
rm -f conftest.err conftest.$ac_ext
6941
 
 
6942
 
done
6943
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6944
 
rm -f conftest.err conftest.$ac_ext
6945
 
if $ac_preproc_ok; then
6946
 
  break
6947
 
fi
6948
 
 
6949
 
    done
6950
 
    ac_cv_prog_CXXCPP=$CXXCPP
6951
 
 
6952
 
fi
6953
 
  CXXCPP=$ac_cv_prog_CXXCPP
6954
 
else
6955
 
  ac_cv_prog_CXXCPP=$CXXCPP
6956
 
fi
6957
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6958
 
echo "${ECHO_T}$CXXCPP" >&6; }
6959
 
ac_preproc_ok=false
6960
 
for ac_cxx_preproc_warn_flag in '' yes
6961
 
do
6962
 
  # Use a header file that comes with gcc, so configuring glibc
6963
 
  # with a fresh cross-compiler works.
6964
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6965
 
  # <limits.h> exists even on freestanding compilers.
6966
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6967
 
  # not just through cpp. "Syntax error" is here to catch this case.
6968
 
  cat >conftest.$ac_ext <<_ACEOF
6969
 
/* confdefs.h.  */
6970
 
_ACEOF
6971
 
cat confdefs.h >>conftest.$ac_ext
6972
 
cat >>conftest.$ac_ext <<_ACEOF
6973
 
/* end confdefs.h.  */
6974
 
#ifdef __STDC__
6975
 
# include <limits.h>
6976
 
#else
6977
 
# include <assert.h>
6978
 
#endif
6979
 
                     Syntax error
6980
 
_ACEOF
6981
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6982
 
case "(($ac_try" in
6983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6984
 
  *) ac_try_echo=$ac_try;;
6985
 
esac
6986
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6987
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6988
 
  ac_status=$?
6989
 
  grep -v '^ *+' conftest.er1 >conftest.err
6990
 
  rm -f conftest.er1
6991
 
  cat conftest.err >&5
6992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993
 
  (exit $ac_status); } >/dev/null && {
6994
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6995
 
         test ! -s conftest.err
6996
 
       }; then
6997
 
  :
6998
 
else
6999
 
  echo "$as_me: failed program was:" >&5
7000
 
sed 's/^/| /' conftest.$ac_ext >&5
7001
 
 
7002
 
  # Broken: fails on valid input.
7003
 
continue
7004
 
fi
7005
 
 
7006
 
rm -f conftest.err conftest.$ac_ext
7007
 
 
7008
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7009
 
  # can be detected and how.
7010
 
  cat >conftest.$ac_ext <<_ACEOF
7011
 
/* confdefs.h.  */
7012
 
_ACEOF
7013
 
cat confdefs.h >>conftest.$ac_ext
7014
 
cat >>conftest.$ac_ext <<_ACEOF
7015
 
/* end confdefs.h.  */
7016
 
#include <ac_nonexistent.h>
7017
 
_ACEOF
7018
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7019
 
case "(($ac_try" in
7020
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7021
 
  *) ac_try_echo=$ac_try;;
7022
 
esac
7023
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7024
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7025
 
  ac_status=$?
7026
 
  grep -v '^ *+' conftest.er1 >conftest.err
7027
 
  rm -f conftest.er1
7028
 
  cat conftest.err >&5
7029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030
 
  (exit $ac_status); } >/dev/null && {
7031
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7032
 
         test ! -s conftest.err
7033
 
       }; then
7034
 
  # Broken: success on invalid input.
7035
 
continue
7036
 
else
7037
 
  echo "$as_me: failed program was:" >&5
7038
 
sed 's/^/| /' conftest.$ac_ext >&5
7039
 
 
7040
 
  # Passes both tests.
7041
 
ac_preproc_ok=:
7042
 
break
7043
 
fi
7044
 
 
7045
 
rm -f conftest.err conftest.$ac_ext
7046
 
 
7047
 
done
7048
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7049
 
rm -f conftest.err conftest.$ac_ext
7050
 
if $ac_preproc_ok; then
7051
 
  :
7052
 
else
7053
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7054
 
See \`config.log' for more details." >&5
7055
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7056
 
See \`config.log' for more details." >&2;}
7057
 
   { (exit 1); exit 1; }; }
7058
 
fi
7059
 
 
7060
 
ac_ext=c
7061
 
ac_cpp='$CPP $CPPFLAGS'
7062
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7063
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7064
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7065
 
 
7066
 
 
7067
 
  if test "$GCC" = yes; then
7068
 
     NOOPT_CFLAGS=-O0
7069
 
  fi
7070
 
 
7071
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
7072
 
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6; }
7073
 
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
7074
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7075
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7076
 
else
7077
 
 
7078
 
 
7079
 
   ac_ext=cpp
7080
 
ac_cpp='$CXXCPP $CPPFLAGS'
7081
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7082
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7083
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7084
 
 
7085
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7086
 
 
7087
 
 
7088
 
  save_CXXFLAGS="$CXXFLAGS"
7089
 
  CXXFLAGS="$CXXFLAGS -O0"
7090
 
  cat >conftest.$ac_ext <<_ACEOF
7091
 
/* confdefs.h.  */
7092
 
_ACEOF
7093
 
cat confdefs.h >>conftest.$ac_ext
7094
 
cat >>conftest.$ac_ext <<_ACEOF
7095
 
/* end confdefs.h.  */
7096
 
 
7097
 
int
7098
 
main ()
7099
 
{
7100
 
 return 0;
7101
 
  ;
7102
 
  return 0;
7103
 
}
7104
 
_ACEOF
7105
 
rm -f conftest.$ac_objext conftest$ac_exeext
7106
 
if { (ac_try="$ac_link"
7107
 
case "(($ac_try" in
7108
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7109
 
  *) ac_try_echo=$ac_try;;
7110
 
esac
7111
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7112
 
  (eval "$ac_link") 2>conftest.er1
7113
 
  ac_status=$?
7114
 
  grep -v '^ *+' conftest.er1 >conftest.err
7115
 
  rm -f conftest.er1
7116
 
  cat conftest.err >&5
7117
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118
 
  (exit $ac_status); } && {
7119
 
         test -z "$ac_cxx_werror_flag" ||
7120
 
         test ! -s conftest.err
7121
 
       } && test -s conftest$ac_exeext &&
7122
 
       $as_test_x conftest$ac_exeext; then
7123
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7124
 
else
7125
 
  echo "$as_me: failed program was:" >&5
7126
 
sed 's/^/| /' conftest.$ac_ext >&5
7127
 
 
7128
 
 
7129
 
fi
7130
 
 
7131
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7132
 
      conftest$ac_exeext conftest.$ac_ext
7133
 
  CXXFLAGS="$save_CXXFLAGS"
7134
 
  ac_ext=c
7135
 
ac_cpp='$CPP $CPPFLAGS'
7136
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7137
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7138
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7139
 
 
7140
 
 
7141
 
fi
7142
 
 
7143
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7144
 
 { echo "$as_me:$LINENO: result: yes" >&5
7145
 
echo "${ECHO_T}yes" >&6; }
7146
 
 :
7147
 
 NOOPT_CXXFLAGS=-O0
7148
 
else
7149
 
 { echo "$as_me:$LINENO: result: no" >&5
7150
 
echo "${ECHO_T}no" >&6; }
7151
 
 :
7152
 
 
7153
 
fi
7154
 
 
7155
 
 
7156
 
  # Check whether --enable-coverage was given.
7157
 
if test "${enable_coverage+set}" = set; then
7158
 
  enableval=$enable_coverage;
7159
 
      if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
7160
 
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7161
 
        ac_coverage_linker="-lgcc"
7162
 
      elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
7163
 
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7164
 
        ac_coverage_linker=""
7165
 
      else
7166
 
        { { echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
7167
 
echo "$as_me: error: coverage with your compiler is not supported" >&2;}
7168
 
   { (exit 1); exit 1; }; }
7169
 
      fi
7170
 
      CFLAGS="$CFLAGS $ac_coverage_compiler"
7171
 
      CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
7172
 
      LDFLAGS="$LDFLAGS $ac_coverage_linker"
7173
 
 
7174
 
fi
7175
 
 
7176
 
 
7177
 
 
7178
 
 
7179
 
 
7180
 
 
7181
 
 
7182
 
  # Check whether --enable-new_ldflags was given.
7183
 
if test "${enable_new_ldflags+set}" = set; then
7184
 
  enableval=$enable_new_ldflags; kde_use_new_ldflags=$enableval
7185
 
else
7186
 
  kde_use_new_ldflags=no
7187
 
fi
7188
 
 
7189
 
 
7190
 
  LDFLAGS_AS_NEEDED=""
7191
 
  LDFLAGS_NEW_DTAGS=""
7192
 
  if test "x$kde_use_new_ldflags" = "xyes"; then
7193
 
       LDFLAGS_NEW_DTAGS=""
7194
 
 
7195
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
7196
 
echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
7197
 
kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
7198
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7199
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7200
 
else
7201
 
 
7202
 
 
7203
 
   ac_ext=cpp
7204
 
ac_cpp='$CXXCPP $CPPFLAGS'
7205
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7206
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7207
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7208
 
 
7209
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7210
 
 
7211
 
 
7212
 
  save_CXXFLAGS="$CXXFLAGS"
7213
 
  CXXFLAGS="$CXXFLAGS -Wl,--enable-new-dtags"
7214
 
  cat >conftest.$ac_ext <<_ACEOF
7215
 
/* confdefs.h.  */
7216
 
_ACEOF
7217
 
cat confdefs.h >>conftest.$ac_ext
7218
 
cat >>conftest.$ac_ext <<_ACEOF
7219
 
/* end confdefs.h.  */
7220
 
 
7221
 
int
7222
 
main ()
7223
 
{
7224
 
 return 0;
7225
 
  ;
7226
 
  return 0;
7227
 
}
7228
 
_ACEOF
7229
 
rm -f conftest.$ac_objext conftest$ac_exeext
7230
 
if { (ac_try="$ac_link"
7231
 
case "(($ac_try" in
7232
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7233
 
  *) ac_try_echo=$ac_try;;
7234
 
esac
7235
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7236
 
  (eval "$ac_link") 2>conftest.er1
7237
 
  ac_status=$?
7238
 
  grep -v '^ *+' conftest.er1 >conftest.err
7239
 
  rm -f conftest.er1
7240
 
  cat conftest.err >&5
7241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242
 
  (exit $ac_status); } && {
7243
 
         test -z "$ac_cxx_werror_flag" ||
7244
 
         test ! -s conftest.err
7245
 
       } && test -s conftest$ac_exeext &&
7246
 
       $as_test_x conftest$ac_exeext; then
7247
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7248
 
else
7249
 
  echo "$as_me: failed program was:" >&5
7250
 
sed 's/^/| /' conftest.$ac_ext >&5
7251
 
 
7252
 
 
7253
 
fi
7254
 
 
7255
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7256
 
      conftest$ac_exeext conftest.$ac_ext
7257
 
  CXXFLAGS="$save_CXXFLAGS"
7258
 
  ac_ext=c
7259
 
ac_cpp='$CPP $CPPFLAGS'
7260
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7261
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7262
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7263
 
 
7264
 
 
7265
 
fi
7266
 
 
7267
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7268
 
 { echo "$as_me:$LINENO: result: yes" >&5
7269
 
echo "${ECHO_T}yes" >&6; }
7270
 
 :
7271
 
 LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
7272
 
else
7273
 
 { echo "$as_me:$LINENO: result: no" >&5
7274
 
echo "${ECHO_T}no" >&6; }
7275
 
 :
7276
 
 
7277
 
fi
7278
 
 
7279
 
 
7280
 
 
7281
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
7282
 
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6; }
7283
 
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
7284
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7285
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7286
 
else
7287
 
 
7288
 
 
7289
 
   ac_ext=cpp
7290
 
ac_cpp='$CXXCPP $CPPFLAGS'
7291
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7292
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7293
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7294
 
 
7295
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7296
 
 
7297
 
 
7298
 
  save_CXXFLAGS="$CXXFLAGS"
7299
 
  CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
7300
 
  cat >conftest.$ac_ext <<_ACEOF
7301
 
/* confdefs.h.  */
7302
 
_ACEOF
7303
 
cat confdefs.h >>conftest.$ac_ext
7304
 
cat >>conftest.$ac_ext <<_ACEOF
7305
 
/* end confdefs.h.  */
7306
 
 
7307
 
int
7308
 
main ()
7309
 
{
7310
 
 return 0;
7311
 
  ;
7312
 
  return 0;
7313
 
}
7314
 
_ACEOF
7315
 
rm -f conftest.$ac_objext conftest$ac_exeext
7316
 
if { (ac_try="$ac_link"
7317
 
case "(($ac_try" in
7318
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7319
 
  *) ac_try_echo=$ac_try;;
7320
 
esac
7321
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7322
 
  (eval "$ac_link") 2>conftest.er1
7323
 
  ac_status=$?
7324
 
  grep -v '^ *+' conftest.er1 >conftest.err
7325
 
  rm -f conftest.er1
7326
 
  cat conftest.err >&5
7327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328
 
  (exit $ac_status); } && {
7329
 
         test -z "$ac_cxx_werror_flag" ||
7330
 
         test ! -s conftest.err
7331
 
       } && test -s conftest$ac_exeext &&
7332
 
       $as_test_x conftest$ac_exeext; then
7333
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7334
 
else
7335
 
  echo "$as_me: failed program was:" >&5
7336
 
sed 's/^/| /' conftest.$ac_ext >&5
7337
 
 
7338
 
 
7339
 
fi
7340
 
 
7341
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7342
 
      conftest$ac_exeext conftest.$ac_ext
7343
 
  CXXFLAGS="$save_CXXFLAGS"
7344
 
  ac_ext=c
7345
 
ac_cpp='$CPP $CPPFLAGS'
7346
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7347
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7348
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7349
 
 
7350
 
 
7351
 
fi
7352
 
 
7353
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7354
 
 { echo "$as_me:$LINENO: result: yes" >&5
7355
 
echo "${ECHO_T}yes" >&6; }
7356
 
 :
7357
 
 LDFLAGS_AS_NEEDED="-Wl,--as-needed"
7358
 
else
7359
 
 { echo "$as_me:$LINENO: result: no" >&5
7360
 
echo "${ECHO_T}no" >&6; }
7361
 
 :
7362
 
 
7363
 
fi
7364
 
 
7365
 
  fi
7366
 
 
7367
 
 
7368
 
 
7369
 
 
7370
 
  # Check whether --enable-final was given.
7371
 
if test "${enable_final+set}" = set; then
7372
 
  enableval=$enable_final; kde_use_final=$enableval
7373
 
else
7374
 
  kde_use_final=no
7375
 
fi
7376
 
 
7377
 
 
7378
 
  if test "x$kde_use_final" = "xyes"; then
7379
 
      KDE_USE_FINAL_TRUE=""
7380
 
      KDE_USE_FINAL_FALSE="#"
7381
 
   else
7382
 
      KDE_USE_FINAL_TRUE="#"
7383
 
      KDE_USE_FINAL_FALSE=""
7384
 
  fi
7385
 
 
7386
 
 
7387
 
 
7388
 
 
7389
 
  # Check whether --enable-closure was given.
7390
 
if test "${enable_closure+set}" = set; then
7391
 
  enableval=$enable_closure; kde_use_closure=$enableval
7392
 
else
7393
 
  kde_use_closure=no
7394
 
fi
7395
 
 
7396
 
 
7397
 
  KDE_NO_UNDEFINED=""
7398
 
  if test "x$kde_use_closure" = "xyes"; then
7399
 
       KDE_USE_CLOSURE_TRUE=""
7400
 
       KDE_USE_CLOSURE_FALSE="#"
7401
 
#       CXXFLAGS="$CXXFLAGS $REPO"
7402
 
  else
7403
 
       KDE_USE_CLOSURE_TRUE="#"
7404
 
       KDE_USE_CLOSURE_FALSE=""
7405
 
       KDE_NO_UNDEFINED=""
7406
 
       case $host in
7407
 
         *-*-linux-gnu)
7408
 
 
7409
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
7410
 
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6; }
7411
 
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
7412
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7413
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7414
 
else
7415
 
 
7416
 
 
7417
 
   ac_ext=cpp
7418
 
ac_cpp='$CXXCPP $CPPFLAGS'
7419
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7420
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7421
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7422
 
 
7423
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7424
 
 
7425
 
 
7426
 
  save_CXXFLAGS="$CXXFLAGS"
7427
 
  CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
7428
 
  cat >conftest.$ac_ext <<_ACEOF
7429
 
/* confdefs.h.  */
7430
 
_ACEOF
7431
 
cat confdefs.h >>conftest.$ac_ext
7432
 
cat >>conftest.$ac_ext <<_ACEOF
7433
 
/* end confdefs.h.  */
7434
 
 
7435
 
int
7436
 
main ()
7437
 
{
7438
 
 return 0;
7439
 
  ;
7440
 
  return 0;
7441
 
}
7442
 
_ACEOF
7443
 
rm -f conftest.$ac_objext conftest$ac_exeext
7444
 
if { (ac_try="$ac_link"
7445
 
case "(($ac_try" in
7446
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7447
 
  *) ac_try_echo=$ac_try;;
7448
 
esac
7449
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7450
 
  (eval "$ac_link") 2>conftest.er1
7451
 
  ac_status=$?
7452
 
  grep -v '^ *+' conftest.er1 >conftest.err
7453
 
  rm -f conftest.er1
7454
 
  cat conftest.err >&5
7455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456
 
  (exit $ac_status); } && {
7457
 
         test -z "$ac_cxx_werror_flag" ||
7458
 
         test ! -s conftest.err
7459
 
       } && test -s conftest$ac_exeext &&
7460
 
       $as_test_x conftest$ac_exeext; then
7461
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7462
 
else
7463
 
  echo "$as_me: failed program was:" >&5
7464
 
sed 's/^/| /' conftest.$ac_ext >&5
7465
 
 
7466
 
 
7467
 
fi
7468
 
 
7469
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7470
 
      conftest$ac_exeext conftest.$ac_ext
7471
 
  CXXFLAGS="$save_CXXFLAGS"
7472
 
  ac_ext=c
7473
 
ac_cpp='$CPP $CPPFLAGS'
7474
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7475
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7476
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7477
 
 
7478
 
 
7479
 
fi
7480
 
 
7481
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7482
 
 { echo "$as_me:$LINENO: result: yes" >&5
7483
 
echo "${ECHO_T}yes" >&6; }
7484
 
 :
7485
 
 
7486
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
7487
 
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6; }
7488
 
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
7489
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7491
 
else
7492
 
 
7493
 
 
7494
 
   ac_ext=cpp
7495
 
ac_cpp='$CXXCPP $CPPFLAGS'
7496
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7497
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7498
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7499
 
 
7500
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7501
 
 
7502
 
 
7503
 
  save_CXXFLAGS="$CXXFLAGS"
7504
 
  CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
7505
 
  cat >conftest.$ac_ext <<_ACEOF
7506
 
/* confdefs.h.  */
7507
 
_ACEOF
7508
 
cat confdefs.h >>conftest.$ac_ext
7509
 
cat >>conftest.$ac_ext <<_ACEOF
7510
 
/* end confdefs.h.  */
7511
 
 
7512
 
int
7513
 
main ()
7514
 
{
7515
 
 return 0;
7516
 
  ;
7517
 
  return 0;
7518
 
}
7519
 
_ACEOF
7520
 
rm -f conftest.$ac_objext conftest$ac_exeext
7521
 
if { (ac_try="$ac_link"
7522
 
case "(($ac_try" in
7523
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7524
 
  *) ac_try_echo=$ac_try;;
7525
 
esac
7526
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7527
 
  (eval "$ac_link") 2>conftest.er1
7528
 
  ac_status=$?
7529
 
  grep -v '^ *+' conftest.er1 >conftest.err
7530
 
  rm -f conftest.er1
7531
 
  cat conftest.err >&5
7532
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533
 
  (exit $ac_status); } && {
7534
 
         test -z "$ac_cxx_werror_flag" ||
7535
 
         test ! -s conftest.err
7536
 
       } && test -s conftest$ac_exeext &&
7537
 
       $as_test_x conftest$ac_exeext; then
7538
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7539
 
else
7540
 
  echo "$as_me: failed program was:" >&5
7541
 
sed 's/^/| /' conftest.$ac_ext >&5
7542
 
 
7543
 
 
7544
 
fi
7545
 
 
7546
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7547
 
      conftest$ac_exeext conftest.$ac_ext
7548
 
  CXXFLAGS="$save_CXXFLAGS"
7549
 
  ac_ext=c
7550
 
ac_cpp='$CPP $CPPFLAGS'
7551
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7552
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7553
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7554
 
 
7555
 
 
7556
 
fi
7557
 
 
7558
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7559
 
 { echo "$as_me:$LINENO: result: yes" >&5
7560
 
echo "${ECHO_T}yes" >&6; }
7561
 
 :
7562
 
 KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
7563
 
else
7564
 
 { echo "$as_me:$LINENO: result: no" >&5
7565
 
echo "${ECHO_T}no" >&6; }
7566
 
 :
7567
 
 KDE_NO_UNDEFINED=""
7568
 
fi
7569
 
 
7570
 
else
7571
 
 { echo "$as_me:$LINENO: result: no" >&5
7572
 
echo "${ECHO_T}no" >&6; }
7573
 
 :
7574
 
 KDE_NO_UNDEFINED=""
7575
 
fi
7576
 
 
7577
 
           ;;
7578
 
       esac
7579
 
  fi
7580
 
 
7581
 
 
7582
 
 
7583
 
 
7584
 
 
7585
 
  # Check whether --enable-nmcheck was given.
7586
 
if test "${enable_nmcheck+set}" = set; then
7587
 
  enableval=$enable_nmcheck; kde_use_nmcheck=$enableval
7588
 
else
7589
 
  kde_use_nmcheck=no
7590
 
fi
7591
 
 
7592
 
 
7593
 
  if test "$kde_use_nmcheck" = "yes"; then
7594
 
      KDE_USE_NMCHECK_TRUE=""
7595
 
      KDE_USE_NMCHECK_FALSE="#"
7596
 
   else
7597
 
      KDE_USE_NMCHECK_TRUE="#"
7598
 
      KDE_USE_NMCHECK_FALSE=""
7599
 
  fi
7600
 
 
7601
 
 
7602
 
 
7603
 
 
7604
 
 
7605
 
 
7606
 
# Check whether --enable-shared was given.
7607
 
if test "${enable_shared+set}" = set; then
7608
 
  enableval=$enable_shared; p=${PACKAGE-default}
7609
 
    case $enableval in
7610
 
    yes) enable_shared=yes ;;
7611
 
    no) enable_shared=no ;;
7612
 
    *)
7613
 
      enable_shared=no
7614
 
      # Look at the argument we got.  We use all the common list separators.
7615
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7616
 
      for pkg in $enableval; do
7617
 
        IFS="$lt_save_ifs"
7618
 
        if test "X$pkg" = "X$p"; then
7619
 
          enable_shared=yes
7620
 
        fi
7621
 
      done
7622
 
      IFS="$lt_save_ifs"
7623
 
      ;;
7624
 
    esac
7625
 
else
7626
 
  enable_shared=yes
7627
 
fi
7628
 
 
7629
 
 
7630
 
# Check whether --enable-static was given.
7631
 
if test "${enable_static+set}" = set; then
7632
 
  enableval=$enable_static; p=${PACKAGE-default}
7633
 
    case $enableval in
7634
 
    yes) enable_static=yes ;;
7635
 
    no) enable_static=no ;;
7636
 
    *)
7637
 
     enable_static=no
7638
 
      # Look at the argument we got.  We use all the common list separators.
7639
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7640
 
      for pkg in $enableval; do
7641
 
        IFS="$lt_save_ifs"
7642
 
        if test "X$pkg" = "X$p"; then
7643
 
          enable_static=yes
7644
 
        fi
7645
 
      done
7646
 
      IFS="$lt_save_ifs"
7647
 
      ;;
7648
 
    esac
7649
 
else
7650
 
  enable_static=no
7651
 
fi
7652
 
 
7653
 
 
7654
 
 
7655
 
 
7656
 
 
7657
 
    # Check whether --enable-libsuffix was given.
7658
 
if test "${enable_libsuffix+set}" = set; then
7659
 
  enableval=$enable_libsuffix; kdelibsuff=$enableval
7660
 
else
7661
 
  kdelibsuff="auto"
7662
 
fi
7663
 
 
7664
 
 
7665
 
    if test "$kdelibsuff" = "auto"; then
7666
 
 
7667
 
cat > conftest.c << EOF
7668
 
#include <stdio.h>
7669
 
int main() {
7670
 
 return 0;
7671
 
}
7672
 
EOF
7673
 
        kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
7674
 
    s,.*/lib\([^\/]*\)/.*,\1,
7675
 
    p
7676
 
}'`
7677
 
        rm -rf conftest.*
7678
 
    fi
7679
 
 
7680
 
    if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
7681
 
       kdelibsuff=
7682
 
    fi
7683
 
    if test -z "$kdelibsuff"; then
7684
 
        { echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
7685
 
echo "${ECHO_T}not using lib directory suffix" >&6; }
7686
 
 
7687
 
cat >>confdefs.h <<\_ACEOF
7688
 
#define KDELIBSUFF ""
7689
 
_ACEOF
7690
 
 
7691
 
    else
7692
 
        if test "$libdir" = '${exec_prefix}/lib'; then
7693
 
            libdir="$libdir${kdelibsuff}"
7694
 
            libdir="$libdir"
7695
 
          fi
7696
 
 
7697
 
cat >>confdefs.h <<_ACEOF
7698
 
#define KDELIBSUFF "${kdelibsuff}"
7699
 
_ACEOF
7700
 
 
7701
 
        { echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
7702
 
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6; }
7703
 
    fi
7704
 
 
7705
 
# Check whether --enable-fast-install was given.
7706
 
if test "${enable_fast_install+set}" = set; then
7707
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7708
 
    case $enableval in
7709
 
    yes) enable_fast_install=yes ;;
7710
 
    no) enable_fast_install=no ;;
7711
 
    *)
7712
 
      enable_fast_install=no
7713
 
      # Look at the argument we got.  We use all the common list separators.
7714
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7715
 
      for pkg in $enableval; do
7716
 
        IFS="$lt_save_ifs"
7717
 
        if test "X$pkg" = "X$p"; then
7718
 
          enable_fast_install=yes
7719
 
        fi
7720
 
      done
7721
 
      IFS="$lt_save_ifs"
7722
 
      ;;
7723
 
    esac
7724
 
else
7725
 
  enable_fast_install=yes
7726
 
fi
7727
 
 
7728
 
 
7729
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7730
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7731
 
if test "${lt_cv_path_SED+set}" = set; then
7732
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7733
 
else
7734
 
  # Loop through the user's path and test for sed and gsed.
7735
 
# Then use that list of sed's as ones to test for truncation.
7736
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7737
 
for as_dir in $PATH
7738
 
do
7739
 
  IFS=$as_save_IFS
7740
 
  test -z "$as_dir" && as_dir=.
7741
 
  for lt_ac_prog in sed gsed; do
7742
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7743
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7744
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7745
 
      fi
7746
 
    done
7747
 
  done
7748
 
done
7749
 
lt_ac_max=0
7750
 
lt_ac_count=0
7751
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7752
 
# along with /bin/sed that truncates output.
7753
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7754
 
  test ! -f $lt_ac_sed && continue
7755
 
  cat /dev/null > conftest.in
7756
 
  lt_ac_count=0
7757
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7758
 
  # Check for GNU sed and select it if it is found.
7759
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7760
 
    lt_cv_path_SED=$lt_ac_sed
7761
 
    break
7762
 
  fi
7763
 
  while true; do
7764
 
    cat conftest.in conftest.in >conftest.tmp
7765
 
    mv conftest.tmp conftest.in
7766
 
    cp conftest.in conftest.nl
7767
 
    echo >>conftest.nl
7768
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7769
 
    cmp -s conftest.out conftest.nl || break
7770
 
    # 10000 chars as input seems more than enough
7771
 
    test $lt_ac_count -gt 10 && break
7772
 
    lt_ac_count=`expr $lt_ac_count + 1`
7773
 
    if test $lt_ac_count -gt $lt_ac_max; then
7774
 
      lt_ac_max=$lt_ac_count
7775
 
      lt_cv_path_SED=$lt_ac_sed
7776
 
    fi
7777
 
  done
7778
 
done
7779
 
 
7780
 
fi
7781
 
 
7782
 
SED=$lt_cv_path_SED
7783
 
{ echo "$as_me:$LINENO: result: $SED" >&5
7784
 
echo "${ECHO_T}$SED" >&6; }
7785
 
 
7786
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7787
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7788
 
if test "${ac_cv_path_GREP+set}" = set; then
7789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7790
 
else
7791
 
  # Extract the first word of "grep ggrep" to use in msg output
7792
 
if test -z "$GREP"; then
7793
 
set dummy grep ggrep; ac_prog_name=$2
7794
 
if test "${ac_cv_path_GREP+set}" = set; then
7795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7796
 
else
7797
 
  ac_path_GREP_found=false
7798
 
# Loop through the user's path and test for each of PROGNAME-LIST
7799
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7800
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7801
 
do
7802
 
  IFS=$as_save_IFS
7803
 
  test -z "$as_dir" && as_dir=.
7804
 
  for ac_prog in grep ggrep; do
7805
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7806
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7807
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7808
 
    # Check for GNU ac_path_GREP and select it if it is found.
7809
 
  # Check for GNU $ac_path_GREP
7810
 
case `"$ac_path_GREP" --version 2>&1` in
7811
 
*GNU*)
7812
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7813
 
*)
7814
 
  ac_count=0
7815
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7816
 
  while :
7817
 
  do
7818
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
7819
 
    mv "conftest.tmp" "conftest.in"
7820
 
    cp "conftest.in" "conftest.nl"
7821
 
    echo 'GREP' >> "conftest.nl"
7822
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7823
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7824
 
    ac_count=`expr $ac_count + 1`
7825
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
7826
 
      # Best one so far, save it but keep looking for a better one
7827
 
      ac_cv_path_GREP="$ac_path_GREP"
7828
 
      ac_path_GREP_max=$ac_count
7829
 
    fi
7830
 
    # 10*(2^10) chars as input seems more than enough
7831
 
    test $ac_count -gt 10 && break
7832
 
  done
7833
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7834
 
esac
7835
 
 
7836
 
 
7837
 
    $ac_path_GREP_found && break 3
7838
 
  done
7839
 
done
7840
 
 
7841
 
done
7842
 
IFS=$as_save_IFS
7843
 
 
7844
 
 
7845
 
fi
7846
 
 
7847
 
GREP="$ac_cv_path_GREP"
7848
 
if test -z "$GREP"; then
7849
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7850
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7851
 
   { (exit 1); exit 1; }; }
7852
 
fi
7853
 
 
7854
 
else
7855
 
  ac_cv_path_GREP=$GREP
7856
 
fi
7857
 
 
7858
 
 
7859
 
fi
7860
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7861
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7862
 
 GREP="$ac_cv_path_GREP"
7863
 
 
7864
 
 
7865
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
7866
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7867
 
if test "${ac_cv_path_EGREP+set}" = set; then
7868
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7869
 
else
7870
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7871
 
   then ac_cv_path_EGREP="$GREP -E"
7872
 
   else
7873
 
     # Extract the first word of "egrep" to use in msg output
7874
 
if test -z "$EGREP"; then
7875
 
set dummy egrep; ac_prog_name=$2
7876
 
if test "${ac_cv_path_EGREP+set}" = set; then
7877
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7878
 
else
7879
 
  ac_path_EGREP_found=false
7880
 
# Loop through the user's path and test for each of PROGNAME-LIST
7881
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7883
 
do
7884
 
  IFS=$as_save_IFS
7885
 
  test -z "$as_dir" && as_dir=.
7886
 
  for ac_prog in egrep; do
7887
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7888
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7889
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7890
 
    # Check for GNU ac_path_EGREP and select it if it is found.
7891
 
  # Check for GNU $ac_path_EGREP
7892
 
case `"$ac_path_EGREP" --version 2>&1` in
7893
 
*GNU*)
7894
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7895
 
*)
7896
 
  ac_count=0
7897
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7898
 
  while :
7899
 
  do
7900
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
7901
 
    mv "conftest.tmp" "conftest.in"
7902
 
    cp "conftest.in" "conftest.nl"
7903
 
    echo 'EGREP' >> "conftest.nl"
7904
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7905
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7906
 
    ac_count=`expr $ac_count + 1`
7907
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7908
 
      # Best one so far, save it but keep looking for a better one
7909
 
      ac_cv_path_EGREP="$ac_path_EGREP"
7910
 
      ac_path_EGREP_max=$ac_count
7911
 
    fi
7912
 
    # 10*(2^10) chars as input seems more than enough
7913
 
    test $ac_count -gt 10 && break
7914
 
  done
7915
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7916
 
esac
7917
 
 
7918
 
 
7919
 
    $ac_path_EGREP_found && break 3
7920
 
  done
7921
 
done
7922
 
 
7923
 
done
7924
 
IFS=$as_save_IFS
7925
 
 
7926
 
 
7927
 
fi
7928
 
 
7929
 
EGREP="$ac_cv_path_EGREP"
7930
 
if test -z "$EGREP"; then
7931
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7932
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7933
 
   { (exit 1); exit 1; }; }
7934
 
fi
7935
 
 
7936
 
else
7937
 
  ac_cv_path_EGREP=$EGREP
7938
 
fi
7939
 
 
7940
 
 
7941
 
   fi
7942
 
fi
7943
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7944
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7945
 
 EGREP="$ac_cv_path_EGREP"
7946
 
 
7947
 
 
7948
 
 
7949
 
# Check whether --with-gnu-ld was given.
7950
 
if test "${with_gnu_ld+set}" = set; then
7951
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7952
 
else
7953
 
  with_gnu_ld=no
7954
 
fi
7955
 
 
7956
 
ac_prog=ld
7957
 
if test "$GCC" = yes; then
7958
 
  # Check if gcc -print-prog-name=ld gives a path.
7959
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7960
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
7961
 
  case $host in
7962
 
  *-*-mingw*)
7963
 
    # gcc leaves a trailing carriage return which upsets mingw
7964
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7965
 
  *)
7966
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7967
 
  esac
7968
 
  case $ac_prog in
7969
 
    # Accept absolute paths.
7970
 
    [\\/]* | ?:[\\/]*)
7971
 
      re_direlt='/[^/][^/]*/\.\./'
7972
 
      # Canonicalize the pathname of ld
7973
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7974
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7975
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7976
 
      done
7977
 
      test -z "$LD" && LD="$ac_prog"
7978
 
      ;;
7979
 
  "")
7980
 
    # If it fails, then pretend we aren't using GCC.
7981
 
    ac_prog=ld
7982
 
    ;;
7983
 
  *)
7984
 
    # If it is relative, then search for the first ld in PATH.
7985
 
    with_gnu_ld=unknown
7986
 
    ;;
7987
 
  esac
7988
 
elif test "$with_gnu_ld" = yes; then
7989
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
7990
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
7991
 
else
7992
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7993
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
7994
 
fi
7995
 
if test "${lt_cv_path_LD+set}" = set; then
7996
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7997
 
else
7998
 
  if test -z "$LD"; then
7999
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8000
 
  for ac_dir in $PATH; do
8001
 
    IFS="$lt_save_ifs"
8002
 
    test -z "$ac_dir" && ac_dir=.
8003
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8004
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
8005
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
8006
 
      # but apparently some variants of GNU ld only accept -v.
8007
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
8008
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8009
 
      *GNU* | *'with BFD'*)
8010
 
        test "$with_gnu_ld" != no && break
8011
 
        ;;
8012
 
      *)
8013
 
        test "$with_gnu_ld" != yes && break
8014
 
        ;;
8015
 
      esac
8016
 
    fi
8017
 
  done
8018
 
  IFS="$lt_save_ifs"
8019
 
else
8020
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
8021
 
fi
8022
 
fi
8023
 
 
8024
 
LD="$lt_cv_path_LD"
8025
 
if test -n "$LD"; then
8026
 
  { echo "$as_me:$LINENO: result: $LD" >&5
8027
 
echo "${ECHO_T}$LD" >&6; }
8028
 
else
8029
 
  { echo "$as_me:$LINENO: result: no" >&5
8030
 
echo "${ECHO_T}no" >&6; }
8031
 
fi
8032
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8033
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8034
 
   { (exit 1); exit 1; }; }
8035
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8036
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8037
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
8038
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8039
 
else
8040
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
8041
 
case `$LD -v 2>&1 </dev/null` in
8042
 
*GNU* | *'with BFD'*)
8043
 
  lt_cv_prog_gnu_ld=yes
8044
 
  ;;
8045
 
*)
8046
 
  lt_cv_prog_gnu_ld=no
8047
 
  ;;
8048
 
esac
8049
 
fi
8050
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8051
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
8052
 
with_gnu_ld=$lt_cv_prog_gnu_ld
8053
 
 
8054
 
 
8055
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8056
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
8057
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
8058
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8059
 
else
8060
 
  lt_cv_ld_reload_flag='-r'
8061
 
fi
8062
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8063
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
8064
 
reload_flag=$lt_cv_ld_reload_flag
8065
 
case $reload_flag in
8066
 
"" | " "*) ;;
8067
 
*) reload_flag=" $reload_flag" ;;
8068
 
esac
8069
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
8070
 
case $host_os in
8071
 
  darwin*)
8072
 
    if test "$GCC" = yes; then
8073
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8074
 
    else
8075
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
8076
 
    fi
8077
 
    ;;
8078
 
esac
8079
 
 
8080
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
8081
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
8082
 
if test "${lt_cv_path_NM+set}" = set; then
8083
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8084
 
else
8085
 
  if test -n "$NM"; then
8086
 
  # Let the user override the test.
8087
 
  lt_cv_path_NM="$NM"
8088
 
else
8089
 
  lt_nm_to_check="${ac_tool_prefix}nm"
8090
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8091
 
    lt_nm_to_check="$lt_nm_to_check nm"
8092
 
  fi
8093
 
  for lt_tmp_nm in $lt_nm_to_check; do
8094
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8095
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8096
 
      IFS="$lt_save_ifs"
8097
 
      test -z "$ac_dir" && ac_dir=.
8098
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
8099
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8100
 
        # Check to see if the nm accepts a BSD-compat flag.
8101
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8102
 
        #   nm: unknown option "B" ignored
8103
 
        # Tru64's nm complains that /dev/null is an invalid object file
8104
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8105
 
        */dev/null* | *'Invalid file or object type'*)
8106
 
          lt_cv_path_NM="$tmp_nm -B"
8107
 
          break
8108
 
          ;;
8109
 
        *)
8110
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8111
 
          */dev/null*)
8112
 
            lt_cv_path_NM="$tmp_nm -p"
8113
 
            break
8114
 
            ;;
8115
 
          *)
8116
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8117
 
            continue # so that we can try to find one that supports BSD flags
8118
 
            ;;
8119
 
          esac
8120
 
          ;;
8121
 
        esac
8122
 
      fi
8123
 
    done
8124
 
    IFS="$lt_save_ifs"
8125
 
  done
8126
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8127
 
fi
8128
 
fi
8129
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8130
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
8131
 
NM="$lt_cv_path_NM"
8132
 
 
8133
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
8134
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
8135
 
LN_S=$as_ln_s
8136
 
if test "$LN_S" = "ln -s"; then
8137
 
  { echo "$as_me:$LINENO: result: yes" >&5
8138
 
echo "${ECHO_T}yes" >&6; }
8139
 
else
8140
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8141
 
echo "${ECHO_T}no, using $LN_S" >&6; }
8142
 
fi
8143
 
 
8144
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
8145
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
8146
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
8147
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8148
 
else
8149
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
8150
 
lt_cv_file_magic_test_file=
8151
 
lt_cv_deplibs_check_method='unknown'
8152
 
# Need to set the preceding variable on all platforms that support
8153
 
# interlibrary dependencies.
8154
 
# 'none' -- dependencies not supported.
8155
 
# `unknown' -- same as none, but documents that we really don't know.
8156
 
# 'pass_all' -- all dependencies passed with no checks.
8157
 
# 'test_compile' -- check by making test program.
8158
 
# 'file_magic [[regex]]' -- check by looking for files in library path
8159
 
# which responds to the $file_magic_cmd with a given extended regex.
8160
 
# If you have `file' or equivalent on your system and you're not sure
8161
 
# whether `pass_all' will *always* work, you probably want this one.
8162
 
 
8163
 
case $host_os in
8164
 
aix4* | aix5*)
8165
 
  lt_cv_deplibs_check_method=pass_all
8166
 
  ;;
8167
 
 
8168
 
beos*)
8169
 
  lt_cv_deplibs_check_method=pass_all
8170
 
  ;;
8171
 
 
8172
 
bsdi[45]*)
8173
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8174
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
8175
 
  lt_cv_file_magic_test_file=/shlib/libc.so
8176
 
  ;;
8177
 
 
8178
 
cygwin*)
8179
 
  # func_win32_libid is a shell function defined in ltmain.sh
8180
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8181
 
  lt_cv_file_magic_cmd='func_win32_libid'
8182
 
  ;;
8183
 
 
8184
 
mingw* | pw32*)
8185
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
8186
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
8187
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
8188
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
8189
 
  ;;
8190
 
 
8191
 
darwin* | rhapsody*)
8192
 
  lt_cv_deplibs_check_method=pass_all
8193
 
  ;;
8194
 
 
8195
 
freebsd* | dragonfly*)
8196
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8197
 
    case $host_cpu in
8198
 
    i*86 )
8199
 
      # Not sure whether the presence of OpenBSD here was a mistake.
8200
 
      # Let's accept both of them until this is cleared up.
8201
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8202
 
      lt_cv_file_magic_cmd=/usr/bin/file
8203
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8204
 
      ;;
8205
 
    esac
8206
 
  else
8207
 
    lt_cv_deplibs_check_method=pass_all
8208
 
  fi
8209
 
  ;;
8210
 
 
8211
 
gnu*)
8212
 
  lt_cv_deplibs_check_method=pass_all
8213
 
  ;;
8214
 
 
8215
 
hpux10.20* | hpux11*)
8216
 
  lt_cv_file_magic_cmd=/usr/bin/file
8217
 
  case $host_cpu in
8218
 
  ia64*)
8219
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8220
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8221
 
    ;;
8222
 
  hppa*64*)
8223
 
    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]'
8224
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8225
 
    ;;
8226
 
  *)
8227
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8228
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
8229
 
    ;;
8230
 
  esac
8231
 
  ;;
8232
 
 
8233
 
interix3*)
8234
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8235
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8236
 
  ;;
8237
 
 
8238
 
irix5* | irix6* | nonstopux*)
8239
 
  case $LD in
8240
 
  *-32|*"-32 ") libmagic=32-bit;;
8241
 
  *-n32|*"-n32 ") libmagic=N32;;
8242
 
  *-64|*"-64 ") libmagic=64-bit;;
8243
 
  *) libmagic=never-match;;
8244
 
  esac
8245
 
  lt_cv_deplibs_check_method=pass_all
8246
 
  ;;
8247
 
 
8248
 
# This must be Linux ELF.
8249
 
linux* | k*bsd*-gnu)
8250
 
  lt_cv_deplibs_check_method=pass_all
8251
 
  ;;
8252
 
 
8253
 
netbsd* | netbsdelf*-gnu)
8254
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8255
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8256
 
  else
8257
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8258
 
  fi
8259
 
  ;;
8260
 
 
8261
 
newos6*)
8262
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8263
 
  lt_cv_file_magic_cmd=/usr/bin/file
8264
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
8265
 
  ;;
8266
 
 
8267
 
nto-qnx*)
8268
 
  lt_cv_deplibs_check_method=unknown
8269
 
  ;;
8270
 
 
8271
 
openbsd*)
8272
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8273
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8274
 
  else
8275
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8276
 
  fi
8277
 
  ;;
8278
 
 
8279
 
osf3* | osf4* | osf5*)
8280
 
  lt_cv_deplibs_check_method=pass_all
8281
 
  ;;
8282
 
 
8283
 
solaris*)
8284
 
  lt_cv_deplibs_check_method=pass_all
8285
 
  ;;
8286
 
 
8287
 
sysv4 | sysv4.3*)
8288
 
  case $host_vendor in
8289
 
  motorola)
8290
 
    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]'
8291
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8292
 
    ;;
8293
 
  ncr)
8294
 
    lt_cv_deplibs_check_method=pass_all
8295
 
    ;;
8296
 
  sequent)
8297
 
    lt_cv_file_magic_cmd='/bin/file'
8298
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8299
 
    ;;
8300
 
  sni)
8301
 
    lt_cv_file_magic_cmd='/bin/file'
8302
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8303
 
    lt_cv_file_magic_test_file=/lib/libc.so
8304
 
    ;;
8305
 
  siemens)
8306
 
    lt_cv_deplibs_check_method=pass_all
8307
 
    ;;
8308
 
  pc)
8309
 
    lt_cv_deplibs_check_method=pass_all
8310
 
    ;;
8311
 
  esac
8312
 
  ;;
8313
 
 
8314
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8315
 
  lt_cv_deplibs_check_method=pass_all
8316
 
  ;;
8317
 
esac
8318
 
 
8319
 
fi
8320
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8321
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8322
 
file_magic_cmd=$lt_cv_file_magic_cmd
8323
 
deplibs_check_method=$lt_cv_deplibs_check_method
8324
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8325
 
 
8326
 
 
8327
 
# If no C compiler was specified, use CC.
8328
 
LTCC=${LTCC-"$CC"}
8329
 
 
8330
 
# If no C compiler flags were specified, use CFLAGS.
8331
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8332
 
 
8333
 
# Allow CC to be a program name with arguments.
8334
 
compiler=$CC
8335
 
 
8336
 
# Check whether --enable-libtool-lock was given.
8337
 
if test "${enable_libtool_lock+set}" = set; then
8338
 
  enableval=$enable_libtool_lock;
8339
 
fi
8340
 
 
8341
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8342
 
 
8343
 
# Some flags need to be propagated to the compiler or linker for good
8344
 
# libtool support.
8345
 
case $host in
8346
 
ia64-*-hpux*)
8347
 
  # Find out which ABI we are using.
8348
 
  echo 'int i;' > conftest.$ac_ext
8349
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8350
 
  (eval $ac_compile) 2>&5
8351
 
  ac_status=$?
8352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353
 
  (exit $ac_status); }; then
8354
 
    case `/usr/bin/file conftest.$ac_objext` in
8355
 
    *ELF-32*)
8356
 
      HPUX_IA64_MODE="32"
8357
 
      ;;
8358
 
    *ELF-64*)
8359
 
      HPUX_IA64_MODE="64"
8360
 
      ;;
8361
 
    esac
8362
 
  fi
8363
 
  rm -rf conftest*
8364
 
  ;;
8365
 
*-*-irix6*)
8366
 
  # Find out which ABI we are using.
8367
 
  echo '#line 8367 "configure"' > conftest.$ac_ext
8368
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8369
 
  (eval $ac_compile) 2>&5
8370
 
  ac_status=$?
8371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372
 
  (exit $ac_status); }; then
8373
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
8374
 
    case `/usr/bin/file conftest.$ac_objext` in
8375
 
    *32-bit*)
8376
 
      LD="${LD-ld} -melf32bsmip"
8377
 
      ;;
8378
 
    *N32*)
8379
 
      LD="${LD-ld} -melf32bmipn32"
8380
 
      ;;
8381
 
    *64-bit*)
8382
 
      LD="${LD-ld} -melf64bmip"
8383
 
      ;;
8384
 
    esac
8385
 
   else
8386
 
    case `/usr/bin/file conftest.$ac_objext` in
8387
 
    *32-bit*)
8388
 
      LD="${LD-ld} -32"
8389
 
      ;;
8390
 
    *N32*)
8391
 
      LD="${LD-ld} -n32"
8392
 
      ;;
8393
 
    *64-bit*)
8394
 
      LD="${LD-ld} -64"
8395
 
      ;;
8396
 
    esac
8397
 
   fi
8398
 
  fi
8399
 
  rm -rf conftest*
8400
 
  ;;
8401
 
 
8402
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
8403
 
  # Find out which ABI we are using.
8404
 
  echo 'int i;' > conftest.$ac_ext
8405
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8406
 
  (eval $ac_compile) 2>&5
8407
 
  ac_status=$?
8408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409
 
  (exit $ac_status); }; then
8410
 
    case `/usr/bin/file conftest.o` in
8411
 
    *32-bit*)
8412
 
      case $host in
8413
 
        x86_64-*linux*)
8414
 
          LD="${LD-ld} -m elf_i386"
8415
 
          ;;
8416
 
        ppc64-*linux*|powerpc64-*linux*)
8417
 
          LD="${LD-ld} -m elf32ppclinux"
8418
 
          ;;
8419
 
        s390x-*linux*)
8420
 
          LD="${LD-ld} -m elf_s390"
8421
 
          ;;
8422
 
        sparc64-*linux*)
8423
 
          LD="${LD-ld} -m elf32_sparc"
8424
 
          ;;
8425
 
      esac
8426
 
      ;;
8427
 
    *64-bit*)
8428
 
      case $host in
8429
 
        x86_64-*linux*)
8430
 
          LD="${LD-ld} -m elf_x86_64"
8431
 
          ;;
8432
 
        ppc*-*linux*|powerpc*-*linux*)
8433
 
          LD="${LD-ld} -m elf64ppc"
8434
 
          ;;
8435
 
        s390*-*linux*)
8436
 
          LD="${LD-ld} -m elf64_s390"
8437
 
          ;;
8438
 
        sparc*-*linux*)
8439
 
          LD="${LD-ld} -m elf64_sparc"
8440
 
          ;;
8441
 
      esac
8442
 
      ;;
8443
 
    esac
8444
 
  fi
8445
 
  rm -rf conftest*
8446
 
  ;;
8447
 
 
8448
 
*-*-sco3.2v5*)
8449
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8450
 
  SAVE_CFLAGS="$CFLAGS"
8451
 
  CFLAGS="$CFLAGS -belf"
8452
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8453
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
8454
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
8455
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8456
 
else
8457
 
  ac_ext=c
8458
 
ac_cpp='$CPP $CPPFLAGS'
8459
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8460
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8461
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8462
 
 
8463
 
     cat >conftest.$ac_ext <<_ACEOF
8464
 
/* confdefs.h.  */
8465
 
_ACEOF
8466
 
cat confdefs.h >>conftest.$ac_ext
8467
 
cat >>conftest.$ac_ext <<_ACEOF
8468
 
/* end confdefs.h.  */
8469
 
 
8470
 
int
8471
 
main ()
8472
 
{
8473
 
 
8474
 
  ;
8475
 
  return 0;
8476
 
}
8477
 
_ACEOF
8478
 
rm -f conftest.$ac_objext conftest$ac_exeext
8479
 
if { (ac_try="$ac_link"
8480
 
case "(($ac_try" in
8481
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8482
 
  *) ac_try_echo=$ac_try;;
8483
 
esac
8484
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8485
 
  (eval "$ac_link") 2>conftest.er1
8486
 
  ac_status=$?
8487
 
  grep -v '^ *+' conftest.er1 >conftest.err
8488
 
  rm -f conftest.er1
8489
 
  cat conftest.err >&5
8490
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491
 
  (exit $ac_status); } && {
8492
 
         test -z "$ac_c_werror_flag" ||
8493
 
         test ! -s conftest.err
8494
 
       } && test -s conftest$ac_exeext &&
8495
 
       $as_test_x conftest$ac_exeext; then
8496
 
  lt_cv_cc_needs_belf=yes
8497
 
else
8498
 
  echo "$as_me: failed program was:" >&5
8499
 
sed 's/^/| /' conftest.$ac_ext >&5
8500
 
 
8501
 
        lt_cv_cc_needs_belf=no
8502
 
fi
8503
 
 
8504
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8505
 
      conftest$ac_exeext conftest.$ac_ext
8506
 
     ac_ext=c
8507
 
ac_cpp='$CPP $CPPFLAGS'
8508
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8509
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8510
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8511
 
 
8512
 
fi
8513
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8514
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
8515
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8516
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8517
 
    CFLAGS="$SAVE_CFLAGS"
8518
 
  fi
8519
 
  ;;
8520
 
sparc*-*solaris*)
8521
 
  # Find out which ABI we are using.
8522
 
  echo 'int i;' > conftest.$ac_ext
8523
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8524
 
  (eval $ac_compile) 2>&5
8525
 
  ac_status=$?
8526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527
 
  (exit $ac_status); }; then
8528
 
    case `/usr/bin/file conftest.o` in
8529
 
    *64-bit*)
8530
 
      case $lt_cv_prog_gnu_ld in
8531
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
8532
 
      *)    LD="${LD-ld} -64" ;;
8533
 
      esac
8534
 
      ;;
8535
 
    esac
8536
 
  fi
8537
 
  rm -rf conftest*
8538
 
  ;;
8539
 
 
8540
 
 
8541
 
esac
8542
 
 
8543
 
need_locks="$enable_libtool_lock"
8544
 
 
8545
 
 
8546
 
 
8547
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8548
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8549
 
if test "${ac_cv_header_stdc+set}" = set; then
8550
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8551
 
else
8552
 
  cat >conftest.$ac_ext <<_ACEOF
8553
 
/* confdefs.h.  */
8554
 
_ACEOF
8555
 
cat confdefs.h >>conftest.$ac_ext
8556
 
cat >>conftest.$ac_ext <<_ACEOF
8557
 
/* end confdefs.h.  */
8558
 
#include <stdlib.h>
8559
 
#include <stdarg.h>
8560
 
#include <string.h>
8561
 
#include <float.h>
8562
 
 
8563
 
int
8564
 
main ()
8565
 
{
8566
 
 
8567
 
  ;
8568
 
  return 0;
8569
 
}
8570
 
_ACEOF
8571
 
rm -f conftest.$ac_objext
8572
 
if { (ac_try="$ac_compile"
8573
 
case "(($ac_try" in
8574
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8575
 
  *) ac_try_echo=$ac_try;;
8576
 
esac
8577
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8578
 
  (eval "$ac_compile") 2>conftest.er1
8579
 
  ac_status=$?
8580
 
  grep -v '^ *+' conftest.er1 >conftest.err
8581
 
  rm -f conftest.er1
8582
 
  cat conftest.err >&5
8583
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584
 
  (exit $ac_status); } && {
8585
 
         test -z "$ac_c_werror_flag" ||
8586
 
         test ! -s conftest.err
8587
 
       } && test -s conftest.$ac_objext; then
8588
 
  ac_cv_header_stdc=yes
8589
 
else
8590
 
  echo "$as_me: failed program was:" >&5
8591
 
sed 's/^/| /' conftest.$ac_ext >&5
8592
 
 
8593
 
        ac_cv_header_stdc=no
8594
 
fi
8595
 
 
8596
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8597
 
 
8598
 
if test $ac_cv_header_stdc = yes; then
8599
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8600
 
  cat >conftest.$ac_ext <<_ACEOF
8601
 
/* confdefs.h.  */
8602
 
_ACEOF
8603
 
cat confdefs.h >>conftest.$ac_ext
8604
 
cat >>conftest.$ac_ext <<_ACEOF
8605
 
/* end confdefs.h.  */
8606
 
#include <string.h>
8607
 
 
8608
 
_ACEOF
8609
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8610
 
  $EGREP "memchr" >/dev/null 2>&1; then
8611
 
  :
8612
 
else
8613
 
  ac_cv_header_stdc=no
8614
 
fi
8615
 
rm -f conftest*
8616
 
 
8617
 
fi
8618
 
 
8619
 
if test $ac_cv_header_stdc = yes; then
8620
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8621
 
  cat >conftest.$ac_ext <<_ACEOF
8622
 
/* confdefs.h.  */
8623
 
_ACEOF
8624
 
cat confdefs.h >>conftest.$ac_ext
8625
 
cat >>conftest.$ac_ext <<_ACEOF
8626
 
/* end confdefs.h.  */
8627
 
#include <stdlib.h>
8628
 
 
8629
 
_ACEOF
8630
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8631
 
  $EGREP "free" >/dev/null 2>&1; then
8632
 
  :
8633
 
else
8634
 
  ac_cv_header_stdc=no
8635
 
fi
8636
 
rm -f conftest*
8637
 
 
8638
 
fi
8639
 
 
8640
 
if test $ac_cv_header_stdc = yes; then
8641
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8642
 
  if test "$cross_compiling" = yes; then
8643
 
  :
8644
 
else
8645
 
  cat >conftest.$ac_ext <<_ACEOF
8646
 
/* confdefs.h.  */
8647
 
_ACEOF
8648
 
cat confdefs.h >>conftest.$ac_ext
8649
 
cat >>conftest.$ac_ext <<_ACEOF
8650
 
/* end confdefs.h.  */
8651
 
#include <ctype.h>
8652
 
#include <stdlib.h>
8653
 
#if ((' ' & 0x0FF) == 0x020)
8654
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8655
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8656
 
#else
8657
 
# define ISLOWER(c) \
8658
 
                   (('a' <= (c) && (c) <= 'i') \
8659
 
                     || ('j' <= (c) && (c) <= 'r') \
8660
 
                     || ('s' <= (c) && (c) <= 'z'))
8661
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8662
 
#endif
8663
 
 
8664
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8665
 
int
8666
 
main ()
8667
 
{
8668
 
  int i;
8669
 
  for (i = 0; i < 256; i++)
8670
 
    if (XOR (islower (i), ISLOWER (i))
8671
 
        || toupper (i) != TOUPPER (i))
8672
 
      return 2;
8673
 
  return 0;
8674
 
}
8675
 
_ACEOF
8676
 
rm -f 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8683
 
  (eval "$ac_link") 2>&5
8684
 
  ac_status=$?
8685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8687
 
  { (case "(($ac_try" in
8688
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8689
 
  *) ac_try_echo=$ac_try;;
8690
 
esac
8691
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8692
 
  (eval "$ac_try") 2>&5
8693
 
  ac_status=$?
8694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8695
 
  (exit $ac_status); }; }; then
8696
 
  :
8697
 
else
8698
 
  echo "$as_me: program exited with status $ac_status" >&5
8699
 
echo "$as_me: failed program was:" >&5
8700
 
sed 's/^/| /' conftest.$ac_ext >&5
8701
 
 
8702
 
( exit $ac_status )
8703
 
ac_cv_header_stdc=no
8704
 
fi
8705
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8706
 
fi
8707
 
 
8708
 
 
8709
 
fi
8710
 
fi
8711
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8712
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8713
 
if test $ac_cv_header_stdc = yes; then
8714
 
 
8715
 
cat >>confdefs.h <<\_ACEOF
8716
 
#define STDC_HEADERS 1
8717
 
_ACEOF
8718
 
 
8719
 
fi
8720
 
 
8721
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8722
 
 
8723
 
 
8724
 
 
8725
 
 
8726
 
 
8727
 
 
8728
 
 
8729
 
 
8730
 
 
8731
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8732
 
                  inttypes.h stdint.h unistd.h
8733
 
do
8734
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8735
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8736
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8737
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8738
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8739
 
else
8740
 
  cat >conftest.$ac_ext <<_ACEOF
8741
 
/* confdefs.h.  */
8742
 
_ACEOF
8743
 
cat confdefs.h >>conftest.$ac_ext
8744
 
cat >>conftest.$ac_ext <<_ACEOF
8745
 
/* end confdefs.h.  */
8746
 
$ac_includes_default
8747
 
 
8748
 
#include <$ac_header>
8749
 
_ACEOF
8750
 
rm -f conftest.$ac_objext
8751
 
if { (ac_try="$ac_compile"
8752
 
case "(($ac_try" in
8753
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8754
 
  *) ac_try_echo=$ac_try;;
8755
 
esac
8756
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8757
 
  (eval "$ac_compile") 2>conftest.er1
8758
 
  ac_status=$?
8759
 
  grep -v '^ *+' conftest.er1 >conftest.err
8760
 
  rm -f conftest.er1
8761
 
  cat conftest.err >&5
8762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763
 
  (exit $ac_status); } && {
8764
 
         test -z "$ac_c_werror_flag" ||
8765
 
         test ! -s conftest.err
8766
 
       } && test -s conftest.$ac_objext; then
8767
 
  eval "$as_ac_Header=yes"
8768
 
else
8769
 
  echo "$as_me: failed program was:" >&5
8770
 
sed 's/^/| /' conftest.$ac_ext >&5
8771
 
 
8772
 
        eval "$as_ac_Header=no"
8773
 
fi
8774
 
 
8775
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8776
 
fi
8777
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8778
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8779
 
echo "${ECHO_T}$ac_res" >&6; }
8780
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8781
 
  cat >>confdefs.h <<_ACEOF
8782
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8783
 
_ACEOF
8784
 
 
8785
 
fi
8786
 
 
8787
 
done
8788
 
 
8789
 
 
8790
 
 
8791
 
for ac_header in dlfcn.h
8792
 
do
8793
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8794
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8795
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8796
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8797
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8798
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8799
 
fi
8800
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8801
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8802
 
echo "${ECHO_T}$ac_res" >&6; }
8803
 
else
8804
 
  # Is the header compilable?
8805
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8806
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8807
 
cat >conftest.$ac_ext <<_ACEOF
8808
 
/* confdefs.h.  */
8809
 
_ACEOF
8810
 
cat confdefs.h >>conftest.$ac_ext
8811
 
cat >>conftest.$ac_ext <<_ACEOF
8812
 
/* end confdefs.h.  */
8813
 
$ac_includes_default
8814
 
#include <$ac_header>
8815
 
_ACEOF
8816
 
rm -f conftest.$ac_objext
8817
 
if { (ac_try="$ac_compile"
8818
 
case "(($ac_try" in
8819
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8820
 
  *) ac_try_echo=$ac_try;;
8821
 
esac
8822
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8823
 
  (eval "$ac_compile") 2>conftest.er1
8824
 
  ac_status=$?
8825
 
  grep -v '^ *+' conftest.er1 >conftest.err
8826
 
  rm -f conftest.er1
8827
 
  cat conftest.err >&5
8828
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829
 
  (exit $ac_status); } && {
8830
 
         test -z "$ac_c_werror_flag" ||
8831
 
         test ! -s conftest.err
8832
 
       } && test -s conftest.$ac_objext; then
8833
 
  ac_header_compiler=yes
8834
 
else
8835
 
  echo "$as_me: failed program was:" >&5
8836
 
sed 's/^/| /' conftest.$ac_ext >&5
8837
 
 
8838
 
        ac_header_compiler=no
8839
 
fi
8840
 
 
8841
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8842
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8843
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
8844
 
 
8845
 
# Is the header present?
8846
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8847
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8848
 
cat >conftest.$ac_ext <<_ACEOF
8849
 
/* confdefs.h.  */
8850
 
_ACEOF
8851
 
cat confdefs.h >>conftest.$ac_ext
8852
 
cat >>conftest.$ac_ext <<_ACEOF
8853
 
/* end confdefs.h.  */
8854
 
#include <$ac_header>
8855
 
_ACEOF
8856
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8857
 
case "(($ac_try" in
8858
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8859
 
  *) ac_try_echo=$ac_try;;
8860
 
esac
8861
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8862
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8863
 
  ac_status=$?
8864
 
  grep -v '^ *+' conftest.er1 >conftest.err
8865
 
  rm -f conftest.er1
8866
 
  cat conftest.err >&5
8867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868
 
  (exit $ac_status); } >/dev/null && {
8869
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8870
 
         test ! -s conftest.err
8871
 
       }; then
8872
 
  ac_header_preproc=yes
8873
 
else
8874
 
  echo "$as_me: failed program was:" >&5
8875
 
sed 's/^/| /' conftest.$ac_ext >&5
8876
 
 
8877
 
  ac_header_preproc=no
8878
 
fi
8879
 
 
8880
 
rm -f conftest.err conftest.$ac_ext
8881
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8882
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
8883
 
 
8884
 
# So?  What about this header?
8885
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8886
 
  yes:no: )
8887
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8888
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8889
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8890
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8891
 
    ac_header_preproc=yes
8892
 
    ;;
8893
 
  no:yes:* )
8894
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8895
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8896
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8897
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8898
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8899
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8900
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8901
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8902
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8903
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8904
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8905
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8906
 
 
8907
 
    ;;
8908
 
esac
8909
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8910
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8911
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8912
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8913
 
else
8914
 
  eval "$as_ac_Header=\$ac_header_preproc"
8915
 
fi
8916
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8917
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8918
 
echo "${ECHO_T}$ac_res" >&6; }
8919
 
 
8920
 
fi
8921
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8922
 
  cat >>confdefs.h <<_ACEOF
8923
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8924
 
_ACEOF
8925
 
 
8926
 
fi
8927
 
 
8928
 
done
8929
 
 
8930
 
 
8931
 
 
8932
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8933
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8934
 
    (test "X$CXX" != "Xg++"))) ; then
8935
 
  ac_ext=cpp
8936
 
ac_cpp='$CXXCPP $CPPFLAGS'
8937
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8938
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8939
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8940
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8941
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
8942
 
if test -z "$CXXCPP"; then
8943
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8945
 
else
8946
 
      # Double quotes because CXXCPP needs to be expanded
8947
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
8948
 
    do
8949
 
      ac_preproc_ok=false
8950
 
for ac_cxx_preproc_warn_flag in '' yes
8951
 
do
8952
 
  # Use a header file that comes with gcc, so configuring glibc
8953
 
  # with a fresh cross-compiler works.
8954
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8955
 
  # <limits.h> exists even on freestanding compilers.
8956
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
8957
 
  # not just through cpp. "Syntax error" is here to catch this case.
8958
 
  cat >conftest.$ac_ext <<_ACEOF
8959
 
/* confdefs.h.  */
8960
 
_ACEOF
8961
 
cat confdefs.h >>conftest.$ac_ext
8962
 
cat >>conftest.$ac_ext <<_ACEOF
8963
 
/* end confdefs.h.  */
8964
 
#ifdef __STDC__
8965
 
# include <limits.h>
8966
 
#else
8967
 
# include <assert.h>
8968
 
#endif
8969
 
                     Syntax error
8970
 
_ACEOF
8971
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8972
 
case "(($ac_try" in
8973
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8974
 
  *) ac_try_echo=$ac_try;;
8975
 
esac
8976
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8977
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8978
 
  ac_status=$?
8979
 
  grep -v '^ *+' conftest.er1 >conftest.err
8980
 
  rm -f conftest.er1
8981
 
  cat conftest.err >&5
8982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983
 
  (exit $ac_status); } >/dev/null && {
8984
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8985
 
         test ! -s conftest.err
8986
 
       }; then
8987
 
  :
8988
 
else
8989
 
  echo "$as_me: failed program was:" >&5
8990
 
sed 's/^/| /' conftest.$ac_ext >&5
8991
 
 
8992
 
  # Broken: fails on valid input.
8993
 
continue
8994
 
fi
8995
 
 
8996
 
rm -f conftest.err conftest.$ac_ext
8997
 
 
8998
 
  # OK, works on sane cases.  Now check whether nonexistent headers
8999
 
  # can be detected and how.
9000
 
  cat >conftest.$ac_ext <<_ACEOF
9001
 
/* confdefs.h.  */
9002
 
_ACEOF
9003
 
cat confdefs.h >>conftest.$ac_ext
9004
 
cat >>conftest.$ac_ext <<_ACEOF
9005
 
/* end confdefs.h.  */
9006
 
#include <ac_nonexistent.h>
9007
 
_ACEOF
9008
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9009
 
case "(($ac_try" in
9010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9011
 
  *) ac_try_echo=$ac_try;;
9012
 
esac
9013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9014
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9015
 
  ac_status=$?
9016
 
  grep -v '^ *+' conftest.er1 >conftest.err
9017
 
  rm -f conftest.er1
9018
 
  cat conftest.err >&5
9019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020
 
  (exit $ac_status); } >/dev/null && {
9021
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9022
 
         test ! -s conftest.err
9023
 
       }; then
9024
 
  # Broken: success on invalid input.
9025
 
continue
9026
 
else
9027
 
  echo "$as_me: failed program was:" >&5
9028
 
sed 's/^/| /' conftest.$ac_ext >&5
9029
 
 
9030
 
  # Passes both tests.
9031
 
ac_preproc_ok=:
9032
 
break
9033
 
fi
9034
 
 
9035
 
rm -f conftest.err conftest.$ac_ext
9036
 
 
9037
 
done
9038
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9039
 
rm -f conftest.err conftest.$ac_ext
9040
 
if $ac_preproc_ok; then
9041
 
  break
9042
 
fi
9043
 
 
9044
 
    done
9045
 
    ac_cv_prog_CXXCPP=$CXXCPP
9046
 
 
9047
 
fi
9048
 
  CXXCPP=$ac_cv_prog_CXXCPP
9049
 
else
9050
 
  ac_cv_prog_CXXCPP=$CXXCPP
9051
 
fi
9052
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
9053
 
echo "${ECHO_T}$CXXCPP" >&6; }
9054
 
ac_preproc_ok=false
9055
 
for ac_cxx_preproc_warn_flag in '' yes
9056
 
do
9057
 
  # Use a header file that comes with gcc, so configuring glibc
9058
 
  # with a fresh cross-compiler works.
9059
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9060
 
  # <limits.h> exists even on freestanding compilers.
9061
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
9062
 
  # not just through cpp. "Syntax error" is here to catch this case.
9063
 
  cat >conftest.$ac_ext <<_ACEOF
9064
 
/* confdefs.h.  */
9065
 
_ACEOF
9066
 
cat confdefs.h >>conftest.$ac_ext
9067
 
cat >>conftest.$ac_ext <<_ACEOF
9068
 
/* end confdefs.h.  */
9069
 
#ifdef __STDC__
9070
 
# include <limits.h>
9071
 
#else
9072
 
# include <assert.h>
9073
 
#endif
9074
 
                     Syntax error
9075
 
_ACEOF
9076
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9077
 
case "(($ac_try" in
9078
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9079
 
  *) ac_try_echo=$ac_try;;
9080
 
esac
9081
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9082
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9083
 
  ac_status=$?
9084
 
  grep -v '^ *+' conftest.er1 >conftest.err
9085
 
  rm -f conftest.er1
9086
 
  cat conftest.err >&5
9087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088
 
  (exit $ac_status); } >/dev/null && {
9089
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9090
 
         test ! -s conftest.err
9091
 
       }; then
9092
 
  :
9093
 
else
9094
 
  echo "$as_me: failed program was:" >&5
9095
 
sed 's/^/| /' conftest.$ac_ext >&5
9096
 
 
9097
 
  # Broken: fails on valid input.
9098
 
continue
9099
 
fi
9100
 
 
9101
 
rm -f conftest.err conftest.$ac_ext
9102
 
 
9103
 
  # OK, works on sane cases.  Now check whether nonexistent headers
9104
 
  # can be detected and how.
9105
 
  cat >conftest.$ac_ext <<_ACEOF
9106
 
/* confdefs.h.  */
9107
 
_ACEOF
9108
 
cat confdefs.h >>conftest.$ac_ext
9109
 
cat >>conftest.$ac_ext <<_ACEOF
9110
 
/* end confdefs.h.  */
9111
 
#include <ac_nonexistent.h>
9112
 
_ACEOF
9113
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9114
 
case "(($ac_try" in
9115
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9116
 
  *) ac_try_echo=$ac_try;;
9117
 
esac
9118
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9119
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9120
 
  ac_status=$?
9121
 
  grep -v '^ *+' conftest.er1 >conftest.err
9122
 
  rm -f conftest.er1
9123
 
  cat conftest.err >&5
9124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125
 
  (exit $ac_status); } >/dev/null && {
9126
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9127
 
         test ! -s conftest.err
9128
 
       }; then
9129
 
  # Broken: success on invalid input.
9130
 
continue
9131
 
else
9132
 
  echo "$as_me: failed program was:" >&5
9133
 
sed 's/^/| /' conftest.$ac_ext >&5
9134
 
 
9135
 
  # Passes both tests.
9136
 
ac_preproc_ok=:
9137
 
break
9138
 
fi
9139
 
 
9140
 
rm -f conftest.err conftest.$ac_ext
9141
 
 
9142
 
done
9143
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9144
 
rm -f conftest.err conftest.$ac_ext
9145
 
if $ac_preproc_ok; then
9146
 
  :
9147
 
else
9148
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
9149
 
See \`config.log' for more details." >&5
9150
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
9151
 
See \`config.log' for more details." >&2;}
9152
 
   { (exit 1); exit 1; }; }
9153
 
fi
9154
 
 
9155
 
ac_ext=cpp
9156
 
ac_cpp='$CXXCPP $CPPFLAGS'
9157
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9158
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9159
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9160
 
 
9161
 
fi
9162
 
 
9163
 
ac_ext=f
9164
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
9165
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9166
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
9167
 
if test -n "$ac_tool_prefix"; then
9168
 
  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
9169
 
  do
9170
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9171
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9172
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9173
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9174
 
if test "${ac_cv_prog_F77+set}" = set; then
9175
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9176
 
else
9177
 
  if test -n "$F77"; then
9178
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
9179
 
else
9180
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9181
 
for as_dir in $PATH
9182
 
do
9183
 
  IFS=$as_save_IFS
9184
 
  test -z "$as_dir" && as_dir=.
9185
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9186
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9187
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
9188
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9189
 
    break 2
9190
 
  fi
9191
 
done
9192
 
done
9193
 
IFS=$as_save_IFS
9194
 
 
9195
 
fi
9196
 
fi
9197
 
F77=$ac_cv_prog_F77
9198
 
if test -n "$F77"; then
9199
 
  { echo "$as_me:$LINENO: result: $F77" >&5
9200
 
echo "${ECHO_T}$F77" >&6; }
9201
 
else
9202
 
  { echo "$as_me:$LINENO: result: no" >&5
9203
 
echo "${ECHO_T}no" >&6; }
9204
 
fi
9205
 
 
9206
 
 
9207
 
    test -n "$F77" && break
9208
 
  done
9209
 
fi
9210
 
if test -z "$F77"; then
9211
 
  ac_ct_F77=$F77
9212
 
  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
9213
 
do
9214
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
9215
 
set dummy $ac_prog; ac_word=$2
9216
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9217
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9218
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
9219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9220
 
else
9221
 
  if test -n "$ac_ct_F77"; then
9222
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
9223
 
else
9224
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9225
 
for as_dir in $PATH
9226
 
do
9227
 
  IFS=$as_save_IFS
9228
 
  test -z "$as_dir" && as_dir=.
9229
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9230
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9231
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
9232
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9233
 
    break 2
9234
 
  fi
9235
 
done
9236
 
done
9237
 
IFS=$as_save_IFS
9238
 
 
9239
 
fi
9240
 
fi
9241
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
9242
 
if test -n "$ac_ct_F77"; then
9243
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
9244
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
9245
 
else
9246
 
  { echo "$as_me:$LINENO: result: no" >&5
9247
 
echo "${ECHO_T}no" >&6; }
9248
 
fi
9249
 
 
9250
 
 
9251
 
  test -n "$ac_ct_F77" && break
9252
 
done
9253
 
 
9254
 
  if test "x$ac_ct_F77" = x; then
9255
 
    F77=""
9256
 
  else
9257
 
    case $cross_compiling:$ac_tool_warned in
9258
 
yes:)
9259
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9260
 
whose name does not start with the host triplet.  If you think this
9261
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9262
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9263
 
whose name does not start with the host triplet.  If you think this
9264
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9265
 
ac_tool_warned=yes ;;
9266
 
esac
9267
 
    F77=$ac_ct_F77
9268
 
  fi
9269
 
fi
9270
 
 
9271
 
 
9272
 
# Provide some information about the compiler.
9273
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
9274
 
ac_compiler=`set X $ac_compile; echo $2`
9275
 
{ (ac_try="$ac_compiler --version >&5"
9276
 
case "(($ac_try" in
9277
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9278
 
  *) ac_try_echo=$ac_try;;
9279
 
esac
9280
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9281
 
  (eval "$ac_compiler --version >&5") 2>&5
9282
 
  ac_status=$?
9283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284
 
  (exit $ac_status); }
9285
 
{ (ac_try="$ac_compiler -v >&5"
9286
 
case "(($ac_try" in
9287
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9288
 
  *) ac_try_echo=$ac_try;;
9289
 
esac
9290
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9291
 
  (eval "$ac_compiler -v >&5") 2>&5
9292
 
  ac_status=$?
9293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294
 
  (exit $ac_status); }
9295
 
{ (ac_try="$ac_compiler -V >&5"
9296
 
case "(($ac_try" in
9297
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9298
 
  *) ac_try_echo=$ac_try;;
9299
 
esac
9300
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9301
 
  (eval "$ac_compiler -V >&5") 2>&5
9302
 
  ac_status=$?
9303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304
 
  (exit $ac_status); }
9305
 
rm -f a.out
9306
 
 
9307
 
# If we don't use `.F' as extension, the preprocessor is not run on the
9308
 
# input file.  (Note that this only needs to work for GNU compilers.)
9309
 
ac_save_ext=$ac_ext
9310
 
ac_ext=F
9311
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
9312
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
9313
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
9314
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9315
 
else
9316
 
  cat >conftest.$ac_ext <<_ACEOF
9317
 
      program main
9318
 
#ifndef __GNUC__
9319
 
       choke me
9320
 
#endif
9321
 
 
9322
 
      end
9323
 
_ACEOF
9324
 
rm -f conftest.$ac_objext
9325
 
if { (ac_try="$ac_compile"
9326
 
case "(($ac_try" in
9327
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9328
 
  *) ac_try_echo=$ac_try;;
9329
 
esac
9330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9331
 
  (eval "$ac_compile") 2>conftest.er1
9332
 
  ac_status=$?
9333
 
  grep -v '^ *+' conftest.er1 >conftest.err
9334
 
  rm -f conftest.er1
9335
 
  cat conftest.err >&5
9336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337
 
  (exit $ac_status); } && {
9338
 
         test -z "$ac_f77_werror_flag" ||
9339
 
         test ! -s conftest.err
9340
 
       } && test -s conftest.$ac_objext; then
9341
 
  ac_compiler_gnu=yes
9342
 
else
9343
 
  echo "$as_me: failed program was:" >&5
9344
 
sed 's/^/| /' conftest.$ac_ext >&5
9345
 
 
9346
 
        ac_compiler_gnu=no
9347
 
fi
9348
 
 
9349
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9350
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
9351
 
 
9352
 
fi
9353
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9354
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
9355
 
ac_ext=$ac_save_ext
9356
 
ac_test_FFLAGS=${FFLAGS+set}
9357
 
ac_save_FFLAGS=$FFLAGS
9358
 
FFLAGS=
9359
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9360
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
9361
 
if test "${ac_cv_prog_f77_g+set}" = set; then
9362
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9363
 
else
9364
 
  FFLAGS=-g
9365
 
cat >conftest.$ac_ext <<_ACEOF
9366
 
      program main
9367
 
 
9368
 
      end
9369
 
_ACEOF
9370
 
rm -f conftest.$ac_objext
9371
 
if { (ac_try="$ac_compile"
9372
 
case "(($ac_try" in
9373
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9374
 
  *) ac_try_echo=$ac_try;;
9375
 
esac
9376
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9377
 
  (eval "$ac_compile") 2>conftest.er1
9378
 
  ac_status=$?
9379
 
  grep -v '^ *+' conftest.er1 >conftest.err
9380
 
  rm -f conftest.er1
9381
 
  cat conftest.err >&5
9382
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383
 
  (exit $ac_status); } && {
9384
 
         test -z "$ac_f77_werror_flag" ||
9385
 
         test ! -s conftest.err
9386
 
       } && test -s conftest.$ac_objext; then
9387
 
  ac_cv_prog_f77_g=yes
9388
 
else
9389
 
  echo "$as_me: failed program was:" >&5
9390
 
sed 's/^/| /' conftest.$ac_ext >&5
9391
 
 
9392
 
        ac_cv_prog_f77_g=no
9393
 
fi
9394
 
 
9395
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9396
 
 
9397
 
fi
9398
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9399
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
9400
 
if test "$ac_test_FFLAGS" = set; then
9401
 
  FFLAGS=$ac_save_FFLAGS
9402
 
elif test $ac_cv_prog_f77_g = yes; then
9403
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9404
 
    FFLAGS="-g -O2"
9405
 
  else
9406
 
    FFLAGS="-g"
9407
 
  fi
9408
 
else
9409
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9410
 
    FFLAGS="-O2"
9411
 
  else
9412
 
    FFLAGS=
9413
 
  fi
9414
 
fi
9415
 
 
9416
 
G77=`test $ac_compiler_gnu = yes && echo yes`
9417
 
ac_ext=c
9418
 
ac_cpp='$CPP $CPPFLAGS'
9419
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9420
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9421
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9422
 
 
9423
 
 
9424
 
 
9425
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
9426
 
 
9427
 
# find the maximum length of command line arguments
9428
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9429
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9430
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9431
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9432
 
else
9433
 
    i=0
9434
 
  teststring="ABCD"
9435
 
 
9436
 
  case $build_os in
9437
 
  msdosdjgpp*)
9438
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
9439
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
9440
 
    # during glob expansion).  Even if it were fixed, the result of this
9441
 
    # check would be larger than it should be.
9442
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
9443
 
    ;;
9444
 
 
9445
 
  gnu*)
9446
 
    # Under GNU Hurd, this test is not required because there is
9447
 
    # no limit to the length of command line arguments.
9448
 
    # Libtool will interpret -1 as no limit whatsoever
9449
 
    lt_cv_sys_max_cmd_len=-1;
9450
 
    ;;
9451
 
 
9452
 
  cygwin* | mingw*)
9453
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
9454
 
    # about 5 minutes as the teststring grows exponentially.
9455
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
9456
 
    # you end up with a "frozen" computer, even though with patience
9457
 
    # the test eventually succeeds (with a max line length of 256k).
9458
 
    # Instead, let's just punt: use the minimum linelength reported by
9459
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
9460
 
    lt_cv_sys_max_cmd_len=8192;
9461
 
    ;;
9462
 
 
9463
 
  amigaos*)
9464
 
    # On AmigaOS with pdksh, this test takes hours, literally.
9465
 
    # So we just punt and use a minimum line length of 8192.
9466
 
    lt_cv_sys_max_cmd_len=8192;
9467
 
    ;;
9468
 
 
9469
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
9470
 
    # This has been around since 386BSD, at least.  Likely further.
9471
 
    if test -x /sbin/sysctl; then
9472
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9473
 
    elif test -x /usr/sbin/sysctl; then
9474
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9475
 
    else
9476
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
9477
 
    fi
9478
 
    # And add a safety zone
9479
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9480
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9481
 
    ;;
9482
 
 
9483
 
  interix*)
9484
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
9485
 
    lt_cv_sys_max_cmd_len=196608
9486
 
    ;;
9487
 
 
9488
 
  osf*)
9489
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9490
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9491
 
    # nice to cause kernel panics so lets avoid the loop below.
9492
 
    # First set a reasonable default.
9493
 
    lt_cv_sys_max_cmd_len=16384
9494
 
    #
9495
 
    if test -x /sbin/sysconfig; then
9496
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9497
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
9498
 
      esac
9499
 
    fi
9500
 
    ;;
9501
 
  sco3.2v5*)
9502
 
    lt_cv_sys_max_cmd_len=102400
9503
 
    ;;
9504
 
  sysv5* | sco5v6* | sysv4.2uw2*)
9505
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9506
 
    if test -n "$kargmax"; then
9507
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
9508
 
    else
9509
 
      lt_cv_sys_max_cmd_len=32768
9510
 
    fi
9511
 
    ;;
9512
 
  *)
9513
 
    # If test is not a shell built-in, we'll probably end up computing a
9514
 
    # maximum length that is only half of the actual maximum length, but
9515
 
    # we can't tell.
9516
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9517
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
9518
 
               = "XX$teststring") >/dev/null 2>&1 &&
9519
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
9520
 
            lt_cv_sys_max_cmd_len=$new_result &&
9521
 
            test $i != 17 # 1/2 MB should be enough
9522
 
    do
9523
 
      i=`expr $i + 1`
9524
 
      teststring=$teststring$teststring
9525
 
    done
9526
 
    teststring=
9527
 
    # Add a significant safety factor because C++ compilers can tack on massive
9528
 
    # amounts of additional arguments before passing them to the linker.
9529
 
    # It appears as though 1/2 is a usable value.
9530
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9531
 
    ;;
9532
 
  esac
9533
 
 
9534
 
fi
9535
 
 
9536
 
if test -n $lt_cv_sys_max_cmd_len ; then
9537
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9538
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9539
 
else
9540
 
  { echo "$as_me:$LINENO: result: none" >&5
9541
 
echo "${ECHO_T}none" >&6; }
9542
 
fi
9543
 
 
9544
 
 
9545
 
 
9546
 
 
9547
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
9548
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9549
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9550
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9551
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9552
 
else
9553
 
 
9554
 
# These are sane defaults that work on at least a few old systems.
9555
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9556
 
 
9557
 
# Character class describing NM global symbol codes.
9558
 
symcode='[BCDEGRST]'
9559
 
 
9560
 
# Regexp to match symbols that can be accessed directly from C.
9561
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9562
 
 
9563
 
# Transform an extracted symbol line into a proper C declaration
9564
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9565
 
 
9566
 
# Transform an extracted symbol line into symbol name and symbol address
9567
 
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'"
9568
 
 
9569
 
# Define system-specific variables.
9570
 
case $host_os in
9571
 
aix*)
9572
 
  symcode='[BCDT]'
9573
 
  ;;
9574
 
cygwin* | mingw* | pw32*)
9575
 
  symcode='[ABCDGISTW]'
9576
 
  ;;
9577
 
hpux*) # Its linker distinguishes data from code symbols
9578
 
  if test "$host_cpu" = ia64; then
9579
 
    symcode='[ABCDEGRST]'
9580
 
  fi
9581
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9582
 
  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'"
9583
 
  ;;
9584
 
linux* | k*bsd*-gnu)
9585
 
  if test "$host_cpu" = ia64; then
9586
 
    symcode='[ABCDGIRSTW]'
9587
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9588
 
    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'"
9589
 
  fi
9590
 
  ;;
9591
 
irix* | nonstopux*)
9592
 
  symcode='[BCDEGRST]'
9593
 
  ;;
9594
 
osf*)
9595
 
  symcode='[BCDEGQRST]'
9596
 
  ;;
9597
 
solaris*)
9598
 
  symcode='[BDRT]'
9599
 
  ;;
9600
 
sco3.2v5*)
9601
 
  symcode='[DT]'
9602
 
  ;;
9603
 
sysv4.2uw2*)
9604
 
  symcode='[DT]'
9605
 
  ;;
9606
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
9607
 
  symcode='[ABDT]'
9608
 
  ;;
9609
 
sysv4)
9610
 
  symcode='[DFNSTU]'
9611
 
  ;;
9612
 
esac
9613
 
 
9614
 
# Handle CRLF in mingw tool chain
9615
 
opt_cr=
9616
 
case $build_os in
9617
 
mingw*)
9618
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9619
 
  ;;
9620
 
esac
9621
 
 
9622
 
# If we're using GNU nm, then use its standard symbol codes.
9623
 
case `$NM -V 2>&1` in
9624
 
*GNU* | *'with BFD'*)
9625
 
  symcode='[ABCDGIRSTW]' ;;
9626
 
esac
9627
 
 
9628
 
# Try without a prefix undercore, then with it.
9629
 
for ac_symprfx in "" "_"; do
9630
 
 
9631
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9632
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
9633
 
 
9634
 
  # Write the raw and C identifiers.
9635
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9636
 
 
9637
 
  # Check to see that the pipe works correctly.
9638
 
  pipe_works=no
9639
 
 
9640
 
  rm -f conftest*
9641
 
  cat > conftest.$ac_ext <<EOF
9642
 
#ifdef __cplusplus
9643
 
extern "C" {
9644
 
#endif
9645
 
char nm_test_var;
9646
 
void nm_test_func(){}
9647
 
#ifdef __cplusplus
9648
 
}
9649
 
#endif
9650
 
int main(){nm_test_var='a';nm_test_func();return(0);}
9651
 
EOF
9652
 
 
9653
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9654
 
  (eval $ac_compile) 2>&5
9655
 
  ac_status=$?
9656
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657
 
  (exit $ac_status); }; then
9658
 
    # Now try to grab the symbols.
9659
 
    nlist=conftest.nm
9660
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9661
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9662
 
  ac_status=$?
9663
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664
 
  (exit $ac_status); } && test -s "$nlist"; then
9665
 
      # Try sorting and uniquifying the output.
9666
 
      if sort "$nlist" | uniq > "$nlist"T; then
9667
 
        mv -f "$nlist"T "$nlist"
9668
 
      else
9669
 
        rm -f "$nlist"T
9670
 
      fi
9671
 
 
9672
 
      # Make sure that we snagged all the symbols we need.
9673
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
9674
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
9675
 
          cat <<EOF > conftest.$ac_ext
9676
 
#ifdef __cplusplus
9677
 
extern "C" {
9678
 
#endif
9679
 
 
9680
 
EOF
9681
 
          # Now generate the symbol file.
9682
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9683
 
 
9684
 
          cat <<EOF >> conftest.$ac_ext
9685
 
#if defined (__STDC__) && __STDC__
9686
 
# define lt_ptr_t void *
9687
 
#else
9688
 
# define lt_ptr_t char *
9689
 
# define const
9690
 
#endif
9691
 
 
9692
 
/* The mapping between symbol names and symbols. */
9693
 
const struct {
9694
 
  const char *name;
9695
 
  lt_ptr_t address;
9696
 
}
9697
 
lt_preloaded_symbols[] =
9698
 
{
9699
 
EOF
9700
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9701
 
          cat <<\EOF >> conftest.$ac_ext
9702
 
  {0, (lt_ptr_t) 0}
9703
 
};
9704
 
 
9705
 
#ifdef __cplusplus
9706
 
}
9707
 
#endif
9708
 
EOF
9709
 
          # Now try linking the two files.
9710
 
          mv conftest.$ac_objext conftstm.$ac_objext
9711
 
          lt_save_LIBS="$LIBS"
9712
 
          lt_save_CFLAGS="$CFLAGS"
9713
 
          LIBS="conftstm.$ac_objext"
9714
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9715
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9716
 
  (eval $ac_link) 2>&5
9717
 
  ac_status=$?
9718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
9720
 
            pipe_works=yes
9721
 
          fi
9722
 
          LIBS="$lt_save_LIBS"
9723
 
          CFLAGS="$lt_save_CFLAGS"
9724
 
        else
9725
 
          echo "cannot find nm_test_func in $nlist" >&5
9726
 
        fi
9727
 
      else
9728
 
        echo "cannot find nm_test_var in $nlist" >&5
9729
 
      fi
9730
 
    else
9731
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9732
 
    fi
9733
 
  else
9734
 
    echo "$progname: failed program was:" >&5
9735
 
    cat conftest.$ac_ext >&5
9736
 
  fi
9737
 
  rm -f conftest* conftst*
9738
 
 
9739
 
  # Do not use the global_symbol_pipe unless it works.
9740
 
  if test "$pipe_works" = yes; then
9741
 
    break
9742
 
  else
9743
 
    lt_cv_sys_global_symbol_pipe=
9744
 
  fi
9745
 
done
9746
 
 
9747
 
fi
9748
 
 
9749
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
9750
 
  lt_cv_sys_global_symbol_to_cdecl=
9751
 
fi
9752
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9753
 
  { echo "$as_me:$LINENO: result: failed" >&5
9754
 
echo "${ECHO_T}failed" >&6; }
9755
 
else
9756
 
  { echo "$as_me:$LINENO: result: ok" >&5
9757
 
echo "${ECHO_T}ok" >&6; }
9758
 
fi
9759
 
 
9760
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
9761
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9762
 
if test "${lt_cv_objdir+set}" = set; then
9763
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9764
 
else
9765
 
  rm -f .libs 2>/dev/null
9766
 
mkdir .libs 2>/dev/null
9767
 
if test -d .libs; then
9768
 
  lt_cv_objdir=.libs
9769
 
else
9770
 
  # MS-DOS does not allow filenames that begin with a dot.
9771
 
  lt_cv_objdir=_libs
9772
 
fi
9773
 
rmdir .libs 2>/dev/null
9774
 
fi
9775
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9776
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
9777
 
objdir=$lt_cv_objdir
9778
 
 
9779
 
 
9780
 
 
9781
 
 
9782
 
 
9783
 
case $host_os in
9784
 
aix3*)
9785
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
9786
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
9787
 
  # vanish in a puff of smoke.
9788
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
9789
 
    COLLECT_NAMES=
9790
 
    export COLLECT_NAMES
9791
 
  fi
9792
 
  ;;
9793
 
esac
9794
 
 
9795
 
# Sed substitution that helps us do robust quoting.  It backslashifies
9796
 
# metacharacters that are still active within double-quoted strings.
9797
 
Xsed='sed -e 1s/^X//'
9798
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
9799
 
 
9800
 
# Same as above, but do not quote variable references.
9801
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
9802
 
 
9803
 
# Sed substitution to delay expansion of an escaped shell variable in a
9804
 
# double_quote_subst'ed string.
9805
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9806
 
 
9807
 
# Sed substitution to avoid accidental globbing in evaled expressions
9808
 
no_glob_subst='s/\*/\\\*/g'
9809
 
 
9810
 
# Constants:
9811
 
rm="rm -f"
9812
 
 
9813
 
# Global variables:
9814
 
default_ofile=libtool
9815
 
can_build_shared=yes
9816
 
 
9817
 
# All known linkers require a `.a' archive for static linking (except MSVC,
9818
 
# which needs '.lib').
9819
 
libext=a
9820
 
ltmain="$ac_aux_dir/ltmain.sh"
9821
 
ofile="$default_ofile"
9822
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
9823
 
 
9824
 
if test -n "$ac_tool_prefix"; then
9825
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9826
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
9827
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9828
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9829
 
if test "${ac_cv_prog_AR+set}" = set; then
9830
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9831
 
else
9832
 
  if test -n "$AR"; then
9833
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
9834
 
else
9835
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9836
 
for as_dir in $PATH
9837
 
do
9838
 
  IFS=$as_save_IFS
9839
 
  test -z "$as_dir" && as_dir=.
9840
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9841
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9842
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
9843
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9844
 
    break 2
9845
 
  fi
9846
 
done
9847
 
done
9848
 
IFS=$as_save_IFS
9849
 
 
9850
 
fi
9851
 
fi
9852
 
AR=$ac_cv_prog_AR
9853
 
if test -n "$AR"; then
9854
 
  { echo "$as_me:$LINENO: result: $AR" >&5
9855
 
echo "${ECHO_T}$AR" >&6; }
9856
 
else
9857
 
  { echo "$as_me:$LINENO: result: no" >&5
9858
 
echo "${ECHO_T}no" >&6; }
9859
 
fi
9860
 
 
9861
 
 
9862
 
fi
9863
 
if test -z "$ac_cv_prog_AR"; then
9864
 
  ac_ct_AR=$AR
9865
 
  # Extract the first word of "ar", so it can be a program name with args.
9866
 
set dummy ar; ac_word=$2
9867
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9868
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9869
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9870
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9871
 
else
9872
 
  if test -n "$ac_ct_AR"; then
9873
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9874
 
else
9875
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876
 
for as_dir in $PATH
9877
 
do
9878
 
  IFS=$as_save_IFS
9879
 
  test -z "$as_dir" && as_dir=.
9880
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9881
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9882
 
    ac_cv_prog_ac_ct_AR="ar"
9883
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9884
 
    break 2
9885
 
  fi
9886
 
done
9887
 
done
9888
 
IFS=$as_save_IFS
9889
 
 
9890
 
fi
9891
 
fi
9892
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
9893
 
if test -n "$ac_ct_AR"; then
9894
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9895
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
9896
 
else
9897
 
  { echo "$as_me:$LINENO: result: no" >&5
9898
 
echo "${ECHO_T}no" >&6; }
9899
 
fi
9900
 
 
9901
 
  if test "x$ac_ct_AR" = x; then
9902
 
    AR="false"
9903
 
  else
9904
 
    case $cross_compiling:$ac_tool_warned in
9905
 
yes:)
9906
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9907
 
whose name does not start with the host triplet.  If you think this
9908
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9909
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9910
 
whose name does not start with the host triplet.  If you think this
9911
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9912
 
ac_tool_warned=yes ;;
9913
 
esac
9914
 
    AR=$ac_ct_AR
9915
 
  fi
9916
 
else
9917
 
  AR="$ac_cv_prog_AR"
9918
 
fi
9919
 
 
9920
 
if test -n "$ac_tool_prefix"; then
9921
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9922
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9923
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9924
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9925
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
9926
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9927
 
else
9928
 
  if test -n "$RANLIB"; then
9929
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9930
 
else
9931
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9932
 
for as_dir in $PATH
9933
 
do
9934
 
  IFS=$as_save_IFS
9935
 
  test -z "$as_dir" && as_dir=.
9936
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9937
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9938
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9939
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9940
 
    break 2
9941
 
  fi
9942
 
done
9943
 
done
9944
 
IFS=$as_save_IFS
9945
 
 
9946
 
fi
9947
 
fi
9948
 
RANLIB=$ac_cv_prog_RANLIB
9949
 
if test -n "$RANLIB"; then
9950
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
9951
 
echo "${ECHO_T}$RANLIB" >&6; }
9952
 
else
9953
 
  { echo "$as_me:$LINENO: result: no" >&5
9954
 
echo "${ECHO_T}no" >&6; }
9955
 
fi
9956
 
 
9957
 
 
9958
 
fi
9959
 
if test -z "$ac_cv_prog_RANLIB"; then
9960
 
  ac_ct_RANLIB=$RANLIB
9961
 
  # Extract the first word of "ranlib", so it can be a program name with args.
9962
 
set dummy ranlib; ac_word=$2
9963
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9964
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9965
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9966
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9967
 
else
9968
 
  if test -n "$ac_ct_RANLIB"; then
9969
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9970
 
else
9971
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9972
 
for as_dir in $PATH
9973
 
do
9974
 
  IFS=$as_save_IFS
9975
 
  test -z "$as_dir" && as_dir=.
9976
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9977
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9978
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
9979
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9980
 
    break 2
9981
 
  fi
9982
 
done
9983
 
done
9984
 
IFS=$as_save_IFS
9985
 
 
9986
 
fi
9987
 
fi
9988
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9989
 
if test -n "$ac_ct_RANLIB"; then
9990
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9991
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9992
 
else
9993
 
  { echo "$as_me:$LINENO: result: no" >&5
9994
 
echo "${ECHO_T}no" >&6; }
9995
 
fi
9996
 
 
9997
 
  if test "x$ac_ct_RANLIB" = x; then
9998
 
    RANLIB=":"
9999
 
  else
10000
 
    case $cross_compiling:$ac_tool_warned in
10001
 
yes:)
10002
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10003
 
whose name does not start with the host triplet.  If you think this
10004
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
10005
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10006
 
whose name does not start with the host triplet.  If you think this
10007
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10008
 
ac_tool_warned=yes ;;
10009
 
esac
10010
 
    RANLIB=$ac_ct_RANLIB
10011
 
  fi
10012
 
else
10013
 
  RANLIB="$ac_cv_prog_RANLIB"
10014
 
fi
10015
 
 
10016
 
if test -n "$ac_tool_prefix"; then
10017
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10018
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
10019
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10020
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10021
 
if test "${ac_cv_prog_STRIP+set}" = set; then
10022
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10023
 
else
10024
 
  if test -n "$STRIP"; then
10025
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10026
 
else
10027
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10028
 
for as_dir in $PATH
10029
 
do
10030
 
  IFS=$as_save_IFS
10031
 
  test -z "$as_dir" && as_dir=.
10032
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10033
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10034
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10035
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10036
 
    break 2
10037
 
  fi
10038
 
done
10039
 
done
10040
 
IFS=$as_save_IFS
10041
 
 
10042
 
fi
10043
 
fi
10044
 
STRIP=$ac_cv_prog_STRIP
10045
 
if test -n "$STRIP"; then
10046
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
10047
 
echo "${ECHO_T}$STRIP" >&6; }
10048
 
else
10049
 
  { echo "$as_me:$LINENO: result: no" >&5
10050
 
echo "${ECHO_T}no" >&6; }
10051
 
fi
10052
 
 
10053
 
 
10054
 
fi
10055
 
if test -z "$ac_cv_prog_STRIP"; then
10056
 
  ac_ct_STRIP=$STRIP
10057
 
  # Extract the first word of "strip", so it can be a program name with args.
10058
 
set dummy strip; ac_word=$2
10059
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10060
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10061
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
10062
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10063
 
else
10064
 
  if test -n "$ac_ct_STRIP"; then
10065
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10066
 
else
10067
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10068
 
for as_dir in $PATH
10069
 
do
10070
 
  IFS=$as_save_IFS
10071
 
  test -z "$as_dir" && as_dir=.
10072
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10073
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10074
 
    ac_cv_prog_ac_ct_STRIP="strip"
10075
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10076
 
    break 2
10077
 
  fi
10078
 
done
10079
 
done
10080
 
IFS=$as_save_IFS
10081
 
 
10082
 
fi
10083
 
fi
10084
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10085
 
if test -n "$ac_ct_STRIP"; then
10086
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
10087
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
10088
 
else
10089
 
  { echo "$as_me:$LINENO: result: no" >&5
10090
 
echo "${ECHO_T}no" >&6; }
10091
 
fi
10092
 
 
10093
 
  if test "x$ac_ct_STRIP" = x; then
10094
 
    STRIP=":"
10095
 
  else
10096
 
    case $cross_compiling:$ac_tool_warned in
10097
 
yes:)
10098
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10099
 
whose name does not start with the host triplet.  If you think this
10100
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
10101
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10102
 
whose name does not start with the host triplet.  If you think this
10103
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10104
 
ac_tool_warned=yes ;;
10105
 
esac
10106
 
    STRIP=$ac_ct_STRIP
10107
 
  fi
10108
 
else
10109
 
  STRIP="$ac_cv_prog_STRIP"
10110
 
fi
10111
 
 
10112
 
 
10113
 
old_CC="$CC"
10114
 
old_CFLAGS="$CFLAGS"
10115
 
 
10116
 
# Set sane defaults for various variables
10117
 
test -z "$AR" && AR=ar
10118
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
10119
 
test -z "$AS" && AS=as
10120
 
test -z "$CC" && CC=cc
10121
 
test -z "$LTCC" && LTCC=$CC
10122
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10123
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
10124
 
test -z "$LD" && LD=ld
10125
 
test -z "$LN_S" && LN_S="ln -s"
10126
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
10127
 
test -z "$NM" && NM=nm
10128
 
test -z "$SED" && SED=sed
10129
 
test -z "$OBJDUMP" && OBJDUMP=objdump
10130
 
test -z "$RANLIB" && RANLIB=:
10131
 
test -z "$STRIP" && STRIP=:
10132
 
test -z "$ac_objext" && ac_objext=o
10133
 
 
10134
 
# Determine commands to create old-style static archives.
10135
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
10136
 
old_postinstall_cmds='chmod 644 $oldlib'
10137
 
old_postuninstall_cmds=
10138
 
 
10139
 
if test -n "$RANLIB"; then
10140
 
  case $host_os in
10141
 
  openbsd*)
10142
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
10143
 
    ;;
10144
 
  *)
10145
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
10146
 
    ;;
10147
 
  esac
10148
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
10149
 
fi
10150
 
 
10151
 
for cc_temp in $compiler""; do
10152
 
  case $cc_temp in
10153
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10154
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10155
 
    \-*) ;;
10156
 
    *) break;;
10157
 
  esac
10158
 
done
10159
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10160
 
 
10161
 
 
10162
 
# Only perform the check for file, if the check method requires it
10163
 
case $deplibs_check_method in
10164
 
file_magic*)
10165
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10166
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
10167
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
10168
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10169
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10170
 
else
10171
 
  case $MAGIC_CMD in
10172
 
[\\/*] |  ?:[\\/]*)
10173
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10174
 
  ;;
10175
 
*)
10176
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
10177
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10178
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10179
 
  for ac_dir in $ac_dummy; do
10180
 
    IFS="$lt_save_ifs"
10181
 
    test -z "$ac_dir" && ac_dir=.
10182
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
10183
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10184
 
      if test -n "$file_magic_test_file"; then
10185
 
        case $deplibs_check_method in
10186
 
        "file_magic "*)
10187
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10188
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10189
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10190
 
            $EGREP "$file_magic_regex" > /dev/null; then
10191
 
            :
10192
 
          else
10193
 
            cat <<EOF 1>&2
10194
 
 
10195
 
*** Warning: the command libtool uses to detect shared libraries,
10196
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
10197
 
*** The result is that libtool may fail to recognize shared libraries
10198
 
*** as such.  This will affect the creation of libtool libraries that
10199
 
*** depend on shared libraries, but programs linked with such libtool
10200
 
*** libraries will work regardless of this problem.  Nevertheless, you
10201
 
*** may want to report the problem to your system manager and/or to
10202
 
*** bug-libtool@gnu.org
10203
 
 
10204
 
EOF
10205
 
          fi ;;
10206
 
        esac
10207
 
      fi
10208
 
      break
10209
 
    fi
10210
 
  done
10211
 
  IFS="$lt_save_ifs"
10212
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
10213
 
  ;;
10214
 
esac
10215
 
fi
10216
 
 
10217
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10218
 
if test -n "$MAGIC_CMD"; then
10219
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10220
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
10221
 
else
10222
 
  { echo "$as_me:$LINENO: result: no" >&5
10223
 
echo "${ECHO_T}no" >&6; }
10224
 
fi
10225
 
 
10226
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
10227
 
  if test -n "$ac_tool_prefix"; then
10228
 
    { echo "$as_me:$LINENO: checking for file" >&5
10229
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
10230
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10231
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10232
 
else
10233
 
  case $MAGIC_CMD in
10234
 
[\\/*] |  ?:[\\/]*)
10235
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10236
 
  ;;
10237
 
*)
10238
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
10239
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10240
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10241
 
  for ac_dir in $ac_dummy; do
10242
 
    IFS="$lt_save_ifs"
10243
 
    test -z "$ac_dir" && ac_dir=.
10244
 
    if test -f $ac_dir/file; then
10245
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
10246
 
      if test -n "$file_magic_test_file"; then
10247
 
        case $deplibs_check_method in
10248
 
        "file_magic "*)
10249
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10250
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10251
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10252
 
            $EGREP "$file_magic_regex" > /dev/null; then
10253
 
            :
10254
 
          else
10255
 
            cat <<EOF 1>&2
10256
 
 
10257
 
*** Warning: the command libtool uses to detect shared libraries,
10258
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
10259
 
*** The result is that libtool may fail to recognize shared libraries
10260
 
*** as such.  This will affect the creation of libtool libraries that
10261
 
*** depend on shared libraries, but programs linked with such libtool
10262
 
*** libraries will work regardless of this problem.  Nevertheless, you
10263
 
*** may want to report the problem to your system manager and/or to
10264
 
*** bug-libtool@gnu.org
10265
 
 
10266
 
EOF
10267
 
          fi ;;
10268
 
        esac
10269
 
      fi
10270
 
      break
10271
 
    fi
10272
 
  done
10273
 
  IFS="$lt_save_ifs"
10274
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
10275
 
  ;;
10276
 
esac
10277
 
fi
10278
 
 
10279
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10280
 
if test -n "$MAGIC_CMD"; then
10281
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10282
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
10283
 
else
10284
 
  { echo "$as_me:$LINENO: result: no" >&5
10285
 
echo "${ECHO_T}no" >&6; }
10286
 
fi
10287
 
 
10288
 
  else
10289
 
    MAGIC_CMD=:
10290
 
  fi
10291
 
fi
10292
 
 
10293
 
  fi
10294
 
  ;;
10295
 
esac
10296
 
 
10297
 
enable_dlopen=yes
10298
 
enable_win32_dll=no
10299
 
 
10300
 
# Check whether --enable-libtool-lock was given.
10301
 
if test "${enable_libtool_lock+set}" = set; then
10302
 
  enableval=$enable_libtool_lock;
10303
 
fi
10304
 
 
10305
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10306
 
 
10307
 
 
10308
 
# Check whether --with-pic was given.
10309
 
if test "${with_pic+set}" = set; then
10310
 
  withval=$with_pic; pic_mode="$withval"
10311
 
else
10312
 
  pic_mode=default
10313
 
fi
10314
 
 
10315
 
test -z "$pic_mode" && pic_mode=default
10316
 
 
10317
 
# Use C for the default configuration in the libtool script
10318
 
tagname=
10319
 
lt_save_CC="$CC"
10320
 
ac_ext=c
10321
 
ac_cpp='$CPP $CPPFLAGS'
10322
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10323
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10324
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10325
 
 
10326
 
 
10327
 
# Source file extension for C test sources.
10328
 
ac_ext=c
10329
 
 
10330
 
# Object file extension for compiled C test sources.
10331
 
objext=o
10332
 
objext=$objext
10333
 
 
10334
 
# Code to be used in simple compile tests
10335
 
lt_simple_compile_test_code="int some_variable = 0;\n"
10336
 
 
10337
 
# Code to be used in simple link tests
10338
 
lt_simple_link_test_code='int main(){return(0);}\n'
10339
 
 
10340
 
 
10341
 
# If no C compiler was specified, use CC.
10342
 
LTCC=${LTCC-"$CC"}
10343
 
 
10344
 
# If no C compiler flags were specified, use CFLAGS.
10345
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10346
 
 
10347
 
# Allow CC to be a program name with arguments.
10348
 
compiler=$CC
10349
 
 
10350
 
 
10351
 
# save warnings/boilerplate of simple test code
10352
 
ac_outfile=conftest.$ac_objext
10353
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10354
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10355
 
_lt_compiler_boilerplate=`cat conftest.err`
10356
 
$rm conftest*
10357
 
 
10358
 
ac_outfile=conftest.$ac_objext
10359
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
10360
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10361
 
_lt_linker_boilerplate=`cat conftest.err`
10362
 
$rm conftest*
10363
 
 
10364
 
 
10365
 
## CAVEAT EMPTOR:
10366
 
## There is no encapsulation within the following macros, do not change
10367
 
## the running order or otherwise move them around unless you know exactly
10368
 
## what you are doing...
10369
 
 
10370
 
lt_prog_compiler_no_builtin_flag=
10371
 
 
10372
 
if test "$GCC" = yes; then
10373
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10374
 
 
10375
 
 
10376
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10377
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10378
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10379
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10380
 
else
10381
 
  lt_cv_prog_compiler_rtti_exceptions=no
10382
 
  ac_outfile=conftest.$ac_objext
10383
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10384
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
10385
 
   # Insert the option either (1) after the last *FLAGS variable, or
10386
 
   # (2) before a word containing "conftest.", or (3) at the end.
10387
 
   # Note that $ac_compile itself does not contain backslashes and begins
10388
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10389
 
   # The option is referenced via a variable to avoid confusing sed.
10390
 
   lt_compile=`echo "$ac_compile" | $SED \
10391
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10392
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10393
 
   -e 's:$: $lt_compiler_flag:'`
10394
 
   (eval echo "\"\$as_me:10394: $lt_compile\"" >&5)
10395
 
   (eval "$lt_compile" 2>conftest.err)
10396
 
   ac_status=$?
10397
 
   cat conftest.err >&5
10398
 
   echo "$as_me:10398: \$? = $ac_status" >&5
10399
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
10400
 
     # The compiler can only warn and ignore the option if not recognized
10401
 
     # So say no if there are warnings other than the usual output.
10402
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10403
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10404
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10405
 
       lt_cv_prog_compiler_rtti_exceptions=yes
10406
 
     fi
10407
 
   fi
10408
 
   $rm conftest*
10409
 
 
10410
 
fi
10411
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10412
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10413
 
 
10414
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10415
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10416
 
else
10417
 
    :
10418
 
fi
10419
 
 
10420
 
fi
10421
 
 
10422
 
lt_prog_compiler_wl=
10423
 
lt_prog_compiler_pic=
10424
 
lt_prog_compiler_static=
10425
 
 
10426
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10427
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10428
 
 
10429
 
  if test "$GCC" = yes; then
10430
 
    lt_prog_compiler_wl='-Wl,'
10431
 
    lt_prog_compiler_static='-static'
10432
 
 
10433
 
    case $host_os in
10434
 
      aix*)
10435
 
      # All AIX code is PIC.
10436
 
      if test "$host_cpu" = ia64; then
10437
 
        # AIX 5 now supports IA64 processor
10438
 
        lt_prog_compiler_static='-Bstatic'
10439
 
      fi
10440
 
      ;;
10441
 
 
10442
 
    amigaos*)
10443
 
      # FIXME: we need at least 68020 code to build shared libraries, but
10444
 
      # adding the `-m68020' flag to GCC prevents building anything better,
10445
 
      # like `-m68040'.
10446
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10447
 
      ;;
10448
 
 
10449
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10450
 
      # PIC is the default for these OSes.
10451
 
      ;;
10452
 
 
10453
 
    mingw* | pw32* | os2*)
10454
 
      # This hack is so that the source file can tell whether it is being
10455
 
      # built for inclusion in a dll (and should export symbols for example).
10456
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
10457
 
      ;;
10458
 
 
10459
 
    darwin* | rhapsody*)
10460
 
      # PIC is the default on this platform
10461
 
      # Common symbols not allowed in MH_DYLIB files
10462
 
      lt_prog_compiler_pic='-fno-common'
10463
 
      ;;
10464
 
 
10465
 
    interix3*)
10466
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10467
 
      # Instead, we relocate shared libraries at runtime.
10468
 
      ;;
10469
 
 
10470
 
    msdosdjgpp*)
10471
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
10472
 
      # on systems that don't support them.
10473
 
      lt_prog_compiler_can_build_shared=no
10474
 
      enable_shared=no
10475
 
      ;;
10476
 
 
10477
 
    sysv4*MP*)
10478
 
      if test -d /usr/nec; then
10479
 
        lt_prog_compiler_pic=-Kconform_pic
10480
 
      fi
10481
 
      ;;
10482
 
 
10483
 
    hpux*)
10484
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10485
 
      # not for PA HP-UX.
10486
 
      case $host_cpu in
10487
 
      hppa*64*|ia64*)
10488
 
        # +Z the default
10489
 
        ;;
10490
 
      *)
10491
 
        lt_prog_compiler_pic='-fPIC'
10492
 
        ;;
10493
 
      esac
10494
 
      ;;
10495
 
 
10496
 
    *)
10497
 
      lt_prog_compiler_pic='-fPIC'
10498
 
      ;;
10499
 
    esac
10500
 
  else
10501
 
    # PORTME Check for flag to pass linker flags through the system compiler.
10502
 
    case $host_os in
10503
 
    aix*)
10504
 
      lt_prog_compiler_wl='-Wl,'
10505
 
      if test "$host_cpu" = ia64; then
10506
 
        # AIX 5 now supports IA64 processor
10507
 
        lt_prog_compiler_static='-Bstatic'
10508
 
      else
10509
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10510
 
      fi
10511
 
      ;;
10512
 
      darwin*)
10513
 
        # PIC is the default on this platform
10514
 
        # Common symbols not allowed in MH_DYLIB files
10515
 
       case $cc_basename in
10516
 
         xlc*)
10517
 
         lt_prog_compiler_pic='-qnocommon'
10518
 
         lt_prog_compiler_wl='-Wl,'
10519
 
         ;;
10520
 
       esac
10521
 
       ;;
10522
 
 
10523
 
    mingw* | pw32* | os2*)
10524
 
      # This hack is so that the source file can tell whether it is being
10525
 
      # built for inclusion in a dll (and should export symbols for example).
10526
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
10527
 
      ;;
10528
 
 
10529
 
    hpux9* | hpux10* | hpux11*)
10530
 
      lt_prog_compiler_wl='-Wl,'
10531
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10532
 
      # not for PA HP-UX.
10533
 
      case $host_cpu in
10534
 
      hppa*64*|ia64*)
10535
 
        # +Z the default
10536
 
        ;;
10537
 
      *)
10538
 
        lt_prog_compiler_pic='+Z'
10539
 
        ;;
10540
 
      esac
10541
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10542
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
10543
 
      ;;
10544
 
 
10545
 
    irix5* | irix6* | nonstopux*)
10546
 
      lt_prog_compiler_wl='-Wl,'
10547
 
      # PIC (with -KPIC) is the default.
10548
 
      lt_prog_compiler_static='-non_shared'
10549
 
      ;;
10550
 
 
10551
 
    newsos6)
10552
 
      lt_prog_compiler_pic='-KPIC'
10553
 
      lt_prog_compiler_static='-Bstatic'
10554
 
      ;;
10555
 
 
10556
 
    linux* | k*bsd*-gnu)
10557
 
      case $cc_basename in
10558
 
      icc* | ecc*)
10559
 
        lt_prog_compiler_wl='-Wl,'
10560
 
        lt_prog_compiler_pic='-KPIC'
10561
 
        lt_prog_compiler_static='-static'
10562
 
        ;;
10563
 
      pgcc* | pgf77* | pgf90* | pgf95*)
10564
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
10565
 
        # which looks to be a dead project)
10566
 
        lt_prog_compiler_wl='-Wl,'
10567
 
        lt_prog_compiler_pic='-fpic'
10568
 
        lt_prog_compiler_static='-Bstatic'
10569
 
        ;;
10570
 
      ccc*)
10571
 
        lt_prog_compiler_wl='-Wl,'
10572
 
        # All Alpha code is PIC.
10573
 
        lt_prog_compiler_static='-non_shared'
10574
 
        ;;
10575
 
      esac
10576
 
      ;;
10577
 
 
10578
 
    osf3* | osf4* | osf5*)
10579
 
      lt_prog_compiler_wl='-Wl,'
10580
 
      # All OSF/1 code is PIC.
10581
 
      lt_prog_compiler_static='-non_shared'
10582
 
      ;;
10583
 
 
10584
 
    solaris*)
10585
 
      lt_prog_compiler_pic='-KPIC'
10586
 
      lt_prog_compiler_static='-Bstatic'
10587
 
      case $cc_basename in
10588
 
      f77* | f90* | f95*)
10589
 
        lt_prog_compiler_wl='-Qoption ld ';;
10590
 
      *)
10591
 
        lt_prog_compiler_wl='-Wl,';;
10592
 
      esac
10593
 
      ;;
10594
 
 
10595
 
    sunos4*)
10596
 
      lt_prog_compiler_wl='-Qoption ld '
10597
 
      lt_prog_compiler_pic='-PIC'
10598
 
      lt_prog_compiler_static='-Bstatic'
10599
 
      ;;
10600
 
 
10601
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
10602
 
      lt_prog_compiler_wl='-Wl,'
10603
 
      lt_prog_compiler_pic='-KPIC'
10604
 
      lt_prog_compiler_static='-Bstatic'
10605
 
      ;;
10606
 
 
10607
 
    sysv4*MP*)
10608
 
      if test -d /usr/nec ;then
10609
 
        lt_prog_compiler_pic='-Kconform_pic'
10610
 
        lt_prog_compiler_static='-Bstatic'
10611
 
      fi
10612
 
      ;;
10613
 
 
10614
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10615
 
      lt_prog_compiler_wl='-Wl,'
10616
 
      lt_prog_compiler_pic='-KPIC'
10617
 
      lt_prog_compiler_static='-Bstatic'
10618
 
      ;;
10619
 
 
10620
 
    unicos*)
10621
 
      lt_prog_compiler_wl='-Wl,'
10622
 
      lt_prog_compiler_can_build_shared=no
10623
 
      ;;
10624
 
 
10625
 
    uts4*)
10626
 
      lt_prog_compiler_pic='-pic'
10627
 
      lt_prog_compiler_static='-Bstatic'
10628
 
      ;;
10629
 
 
10630
 
    *)
10631
 
      lt_prog_compiler_can_build_shared=no
10632
 
      ;;
10633
 
    esac
10634
 
  fi
10635
 
 
10636
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10637
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10638
 
 
10639
 
#
10640
 
# Check to make sure the PIC flag actually works.
10641
 
#
10642
 
if test -n "$lt_prog_compiler_pic"; then
10643
 
 
10644
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10645
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10646
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
10647
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10648
 
else
10649
 
  lt_prog_compiler_pic_works=no
10650
 
  ac_outfile=conftest.$ac_objext
10651
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10652
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10653
 
   # Insert the option either (1) after the last *FLAGS variable, or
10654
 
   # (2) before a word containing "conftest.", or (3) at the end.
10655
 
   # Note that $ac_compile itself does not contain backslashes and begins
10656
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10657
 
   # The option is referenced via a variable to avoid confusing sed.
10658
 
   lt_compile=`echo "$ac_compile" | $SED \
10659
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10660
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10661
 
   -e 's:$: $lt_compiler_flag:'`
10662
 
   (eval echo "\"\$as_me:10662: $lt_compile\"" >&5)
10663
 
   (eval "$lt_compile" 2>conftest.err)
10664
 
   ac_status=$?
10665
 
   cat conftest.err >&5
10666
 
   echo "$as_me:10666: \$? = $ac_status" >&5
10667
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
10668
 
     # The compiler can only warn and ignore the option if not recognized
10669
 
     # So say no if there are warnings other than the usual output.
10670
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10671
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10672
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10673
 
       lt_prog_compiler_pic_works=yes
10674
 
     fi
10675
 
   fi
10676
 
   $rm conftest*
10677
 
 
10678
 
fi
10679
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10680
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
10681
 
 
10682
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
10683
 
    case $lt_prog_compiler_pic in
10684
 
     "" | " "*) ;;
10685
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10686
 
     esac
10687
 
else
10688
 
    lt_prog_compiler_pic=
10689
 
     lt_prog_compiler_can_build_shared=no
10690
 
fi
10691
 
 
10692
 
fi
10693
 
case $host_os in
10694
 
  # For platforms which do not support PIC, -DPIC is meaningless:
10695
 
  *djgpp*)
10696
 
    lt_prog_compiler_pic=
10697
 
    ;;
10698
 
  *)
10699
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10700
 
    ;;
10701
 
esac
10702
 
 
10703
 
#
10704
 
# Check to make sure the static flag actually works.
10705
 
#
10706
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10707
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10708
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
10709
 
if test "${lt_prog_compiler_static_works+set}" = set; then
10710
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10711
 
else
10712
 
  lt_prog_compiler_static_works=no
10713
 
   save_LDFLAGS="$LDFLAGS"
10714
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10715
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
10716
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10717
 
     # The linker can only warn and ignore the option if not recognized
10718
 
     # So say no if there are warnings
10719
 
     if test -s conftest.err; then
10720
 
       # Append any errors to the config.log.
10721
 
       cat conftest.err 1>&5
10722
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
10723
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10724
 
       if diff conftest.exp conftest.er2 >/dev/null; then
10725
 
         lt_prog_compiler_static_works=yes
10726
 
       fi
10727
 
     else
10728
 
       lt_prog_compiler_static_works=yes
10729
 
     fi
10730
 
   fi
10731
 
   $rm conftest*
10732
 
   LDFLAGS="$save_LDFLAGS"
10733
 
 
10734
 
fi
10735
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10736
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
10737
 
 
10738
 
if test x"$lt_prog_compiler_static_works" = xyes; then
10739
 
    :
10740
 
else
10741
 
    lt_prog_compiler_static=
10742
 
fi
10743
 
 
10744
 
 
10745
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10746
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10747
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10748
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10749
 
else
10750
 
  lt_cv_prog_compiler_c_o=no
10751
 
   $rm -r conftest 2>/dev/null
10752
 
   mkdir conftest
10753
 
   cd conftest
10754
 
   mkdir out
10755
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10756
 
 
10757
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
10758
 
   # Insert the option either (1) after the last *FLAGS variable, or
10759
 
   # (2) before a word containing "conftest.", or (3) at the end.
10760
 
   # Note that $ac_compile itself does not contain backslashes and begins
10761
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10762
 
   lt_compile=`echo "$ac_compile" | $SED \
10763
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10764
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10765
 
   -e 's:$: $lt_compiler_flag:'`
10766
 
   (eval echo "\"\$as_me:10766: $lt_compile\"" >&5)
10767
 
   (eval "$lt_compile" 2>out/conftest.err)
10768
 
   ac_status=$?
10769
 
   cat out/conftest.err >&5
10770
 
   echo "$as_me:10770: \$? = $ac_status" >&5
10771
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10772
 
   then
10773
 
     # The compiler can only warn and ignore the option if not recognized
10774
 
     # So say no if there are warnings
10775
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10776
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10777
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10778
 
       lt_cv_prog_compiler_c_o=yes
10779
 
     fi
10780
 
   fi
10781
 
   chmod u+w . 2>&5
10782
 
   $rm conftest*
10783
 
   # SGI C++ compiler will create directory out/ii_files/ for
10784
 
   # template instantiation
10785
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
10786
 
   $rm out/* && rmdir out
10787
 
   cd ..
10788
 
   rmdir conftest
10789
 
   $rm conftest*
10790
 
 
10791
 
fi
10792
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10793
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10794
 
 
10795
 
 
10796
 
hard_links="nottested"
10797
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10798
 
  # do not overwrite the value of need_locks provided by the user
10799
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10800
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10801
 
  hard_links=yes
10802
 
  $rm conftest*
10803
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10804
 
  touch conftest.a
10805
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
10806
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10807
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
10808
 
echo "${ECHO_T}$hard_links" >&6; }
10809
 
  if test "$hard_links" = no; then
10810
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10811
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10812
 
    need_locks=warn
10813
 
  fi
10814
 
else
10815
 
  need_locks=no
10816
 
fi
10817
 
 
10818
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10819
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10820
 
 
10821
 
  runpath_var=
10822
 
  allow_undefined_flag=
10823
 
  enable_shared_with_static_runtimes=no
10824
 
  archive_cmds=
10825
 
  archive_expsym_cmds=
10826
 
  old_archive_From_new_cmds=
10827
 
  old_archive_from_expsyms_cmds=
10828
 
  export_dynamic_flag_spec=
10829
 
  whole_archive_flag_spec=
10830
 
  thread_safe_flag_spec=
10831
 
  hardcode_libdir_flag_spec=
10832
 
  hardcode_libdir_flag_spec_ld=
10833
 
  hardcode_libdir_separator=
10834
 
  hardcode_direct=no
10835
 
  hardcode_minus_L=no
10836
 
  hardcode_shlibpath_var=unsupported
10837
 
  link_all_deplibs=unknown
10838
 
  hardcode_automatic=no
10839
 
  module_cmds=
10840
 
  module_expsym_cmds=
10841
 
  always_export_symbols=no
10842
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10843
 
  # include_expsyms should be a list of space-separated symbols to be *always*
10844
 
  # included in the symbol list
10845
 
  include_expsyms=
10846
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
10847
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
10848
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10849
 
  # as well as any symbol that contains `d'.
10850
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10851
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10852
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
10853
 
  # the symbol is explicitly referenced.  Since portable code cannot
10854
 
  # rely on this symbol name, it's probably fine to never include it in
10855
 
  # preloaded symbol tables.
10856
 
  extract_expsyms_cmds=
10857
 
  # Just being paranoid about ensuring that cc_basename is set.
10858
 
  for cc_temp in $compiler""; do
10859
 
  case $cc_temp in
10860
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10861
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10862
 
    \-*) ;;
10863
 
    *) break;;
10864
 
  esac
10865
 
done
10866
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10867
 
 
10868
 
  case $host_os in
10869
 
  cygwin* | mingw* | pw32*)
10870
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10871
 
    # When not using gcc, we currently assume that we are using
10872
 
    # Microsoft Visual C++.
10873
 
    if test "$GCC" != yes; then
10874
 
      with_gnu_ld=no
10875
 
    fi
10876
 
    ;;
10877
 
  interix*)
10878
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
10879
 
    with_gnu_ld=yes
10880
 
    ;;
10881
 
  openbsd*)
10882
 
    with_gnu_ld=no
10883
 
    ;;
10884
 
  esac
10885
 
 
10886
 
  ld_shlibs=yes
10887
 
  if test "$with_gnu_ld" = yes; then
10888
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10889
 
    wlarc='${wl}'
10890
 
 
10891
 
    # Set some defaults for GNU ld with shared library support. These
10892
 
    # are reset later if shared libraries are not supported. Putting them
10893
 
    # here allows them to be overridden if necessary.
10894
 
    runpath_var=LD_RUN_PATH
10895
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10896
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
10897
 
    # ancient GNU ld didn't support --whole-archive et. al.
10898
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10899
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10900
 
      else
10901
 
        whole_archive_flag_spec=
10902
 
    fi
10903
 
    supports_anon_versioning=no
10904
 
    case `$LD -v 2>/dev/null` in
10905
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10906
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10907
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10908
 
      *\ 2.11.*) ;; # other 2.11 versions
10909
 
      *) supports_anon_versioning=yes ;;
10910
 
    esac
10911
 
 
10912
 
    # See if GNU ld supports shared libraries.
10913
 
    case $host_os in
10914
 
    aix3* | aix4* | aix5*)
10915
 
      # On AIX/PPC, the GNU linker is very broken
10916
 
      if test "$host_cpu" != ia64; then
10917
 
        ld_shlibs=no
10918
 
        cat <<EOF 1>&2
10919
 
 
10920
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10921
 
*** to be unable to reliably create shared libraries on AIX.
10922
 
*** Therefore, libtool is disabling shared libraries support.  If you
10923
 
*** really care for shared libraries, you may want to modify your PATH
10924
 
*** so that a non-GNU linker is found, and then restart.
10925
 
 
10926
 
EOF
10927
 
      fi
10928
 
      ;;
10929
 
 
10930
 
    amigaos*)
10931
 
      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)'
10932
 
      hardcode_libdir_flag_spec='-L$libdir'
10933
 
      hardcode_minus_L=yes
10934
 
 
10935
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10936
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
10937
 
      # to version 4, is to share data among multiple programs linked
10938
 
      # with the same dynamic library.  Since this doesn't match the
10939
 
      # behavior of shared libraries on other platforms, we can't use
10940
 
      # them.
10941
 
      ld_shlibs=no
10942
 
      ;;
10943
 
 
10944
 
    beos*)
10945
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10946
 
        allow_undefined_flag=unsupported
10947
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10948
 
        # support --undefined.  This deserves some investigation.  FIXME
10949
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10950
 
      else
10951
 
        ld_shlibs=no
10952
 
      fi
10953
 
      ;;
10954
 
 
10955
 
    cygwin* | mingw* | pw32*)
10956
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10957
 
      # as there is no search path for DLLs.
10958
 
      hardcode_libdir_flag_spec='-L$libdir'
10959
 
      allow_undefined_flag=unsupported
10960
 
      always_export_symbols=no
10961
 
      enable_shared_with_static_runtimes=yes
10962
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10963
 
 
10964
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10965
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10966
 
        # If the export-symbols file already is a .def file (1st line
10967
 
        # is EXPORTS), use it as is; otherwise, prepend...
10968
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10969
 
          cp $export_symbols $output_objdir/$soname.def;
10970
 
        else
10971
 
          echo EXPORTS > $output_objdir/$soname.def;
10972
 
          cat $export_symbols >> $output_objdir/$soname.def;
10973
 
        fi~
10974
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10975
 
      else
10976
 
        ld_shlibs=no
10977
 
      fi
10978
 
      ;;
10979
 
 
10980
 
    interix3*)
10981
 
      hardcode_direct=no
10982
 
      hardcode_shlibpath_var=no
10983
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10984
 
      export_dynamic_flag_spec='${wl}-E'
10985
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10986
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
10987
 
      # default) and relocated if they conflict, which is a slow very memory
10988
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
10989
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10990
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10991
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10992
 
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10993
 
      ;;
10994
 
 
10995
 
    linux* | k*bsd*-gnu)
10996
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10997
 
        tmp_addflag=
10998
 
        case $cc_basename,$host_cpu in
10999
 
        pgcc*)                          # Portland Group C compiler
11000
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11001
 
          tmp_addflag=' $pic_flag'
11002
 
          ;;
11003
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
11004
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11005
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
11006
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
11007
 
          tmp_addflag=' -i_dynamic' ;;
11008
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11009
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
11010
 
        ifc* | ifort*)                  # Intel Fortran compiler
11011
 
          tmp_addflag=' -nofor_main' ;;
11012
 
        esac
11013
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11014
 
 
11015
 
        if test $supports_anon_versioning = yes; then
11016
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
11017
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11018
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
11019
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11020
 
        fi
11021
 
        link_all_deplibs=no
11022
 
      else
11023
 
        ld_shlibs=no
11024
 
      fi
11025
 
      ;;
11026
 
 
11027
 
    netbsd* | netbsdelf*-gnu)
11028
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11029
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11030
 
        wlarc=
11031
 
      else
11032
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11033
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11034
 
      fi
11035
 
      ;;
11036
 
 
11037
 
    solaris*)
11038
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
11039
 
        ld_shlibs=no
11040
 
        cat <<EOF 1>&2
11041
 
 
11042
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11043
 
*** create shared libraries on Solaris systems.  Therefore, libtool
11044
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
11045
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
11046
 
*** your PATH or compiler configuration so that the native linker is
11047
 
*** used, and then restart.
11048
 
 
11049
 
EOF
11050
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11051
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11052
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11053
 
      else
11054
 
        ld_shlibs=no
11055
 
      fi
11056
 
      ;;
11057
 
 
11058
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11059
 
      case `$LD -v 2>&1` in
11060
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11061
 
        ld_shlibs=no
11062
 
        cat <<_LT_EOF 1>&2
11063
 
 
11064
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11065
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
11066
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
11067
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11068
 
*** your PATH or compiler configuration so that the native linker is
11069
 
*** used, and then restart.
11070
 
 
11071
 
_LT_EOF
11072
 
        ;;
11073
 
        *)
11074
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11075
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
11076
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
11077
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
11078
 
          else
11079
 
            ld_shlibs=no
11080
 
          fi
11081
 
        ;;
11082
 
      esac
11083
 
      ;;
11084
 
 
11085
 
    sunos4*)
11086
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11087
 
      wlarc=
11088
 
      hardcode_direct=yes
11089
 
      hardcode_shlibpath_var=no
11090
 
      ;;
11091
 
 
11092
 
    *)
11093
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11094
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11095
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11096
 
      else
11097
 
        ld_shlibs=no
11098
 
      fi
11099
 
      ;;
11100
 
    esac
11101
 
 
11102
 
    if test "$ld_shlibs" = no; then
11103
 
      runpath_var=
11104
 
      hardcode_libdir_flag_spec=
11105
 
      export_dynamic_flag_spec=
11106
 
      whole_archive_flag_spec=
11107
 
    fi
11108
 
  else
11109
 
    # PORTME fill in a description of your system's linker (not GNU ld)
11110
 
    case $host_os in
11111
 
    aix3*)
11112
 
      allow_undefined_flag=unsupported
11113
 
      always_export_symbols=yes
11114
 
      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'
11115
 
      # Note: this linker hardcodes the directories in LIBPATH if there
11116
 
      # are no directories specified by -L.
11117
 
      hardcode_minus_L=yes
11118
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11119
 
        # Neither direct hardcoding nor static linking is supported with a
11120
 
        # broken collect2.
11121
 
        hardcode_direct=unsupported
11122
 
      fi
11123
 
      ;;
11124
 
 
11125
 
    aix4* | aix5*)
11126
 
      if test "$host_cpu" = ia64; then
11127
 
        # On IA64, the linker does run time linking by default, so we don't
11128
 
        # have to do anything special.
11129
 
        aix_use_runtimelinking=no
11130
 
        exp_sym_flag='-Bexport'
11131
 
        no_entry_flag=""
11132
 
      else
11133
 
        # If we're using GNU nm, then we don't want the "-C" option.
11134
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
11135
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11136
 
          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'
11137
 
        else
11138
 
          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'
11139
 
        fi
11140
 
        aix_use_runtimelinking=no
11141
 
 
11142
 
        # Test if we are trying to use run time linking or normal
11143
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11144
 
        # need to do runtime linking.
11145
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11146
 
          for ld_flag in $LDFLAGS; do
11147
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11148
 
            aix_use_runtimelinking=yes
11149
 
            break
11150
 
          fi
11151
 
          done
11152
 
          ;;
11153
 
        esac
11154
 
 
11155
 
        exp_sym_flag='-bexport'
11156
 
        no_entry_flag='-bnoentry'
11157
 
      fi
11158
 
 
11159
 
      # When large executables or shared objects are built, AIX ld can
11160
 
      # have problems creating the table of contents.  If linking a library
11161
 
      # or program results in "error TOC overflow" add -mminimal-toc to
11162
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11163
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11164
 
 
11165
 
      archive_cmds=''
11166
 
      hardcode_direct=yes
11167
 
      hardcode_libdir_separator=':'
11168
 
      link_all_deplibs=yes
11169
 
 
11170
 
      if test "$GCC" = yes; then
11171
 
        case $host_os in aix4.[012]|aix4.[012].*)
11172
 
        # We only want to do this on AIX 4.2 and lower, the check
11173
 
        # below for broken collect2 doesn't work under 4.3+
11174
 
          collect2name=`${CC} -print-prog-name=collect2`
11175
 
          if test -f "$collect2name" && \
11176
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11177
 
          then
11178
 
          # We have reworked collect2
11179
 
          hardcode_direct=yes
11180
 
          else
11181
 
          # We have old collect2
11182
 
          hardcode_direct=unsupported
11183
 
          # It fails to find uninstalled libraries when the uninstalled
11184
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11185
 
          # to unsupported forces relinking
11186
 
          hardcode_minus_L=yes
11187
 
          hardcode_libdir_flag_spec='-L$libdir'
11188
 
          hardcode_libdir_separator=
11189
 
          fi
11190
 
          ;;
11191
 
        esac
11192
 
        shared_flag='-shared'
11193
 
        if test "$aix_use_runtimelinking" = yes; then
11194
 
          shared_flag="$shared_flag "'${wl}-G'
11195
 
        fi
11196
 
      else
11197
 
        # not using gcc
11198
 
        if test "$host_cpu" = ia64; then
11199
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11200
 
        # chokes on -Wl,-G. The following line is correct:
11201
 
          shared_flag='-G'
11202
 
        else
11203
 
          if test "$aix_use_runtimelinking" = yes; then
11204
 
            shared_flag='${wl}-G'
11205
 
          else
11206
 
            shared_flag='${wl}-bM:SRE'
11207
 
          fi
11208
 
        fi
11209
 
      fi
11210
 
 
11211
 
      # It seems that -bexpall does not export symbols beginning with
11212
 
      # underscore (_), so it is better to generate a list of symbols to export.
11213
 
      always_export_symbols=yes
11214
 
      if test "$aix_use_runtimelinking" = yes; then
11215
 
        # Warning - without using the other runtime loading flags (-brtl),
11216
 
        # -berok will link without error, but may produce a broken library.
11217
 
        allow_undefined_flag='-berok'
11218
 
       # Determine the default libpath from the value encoded in an empty executable.
11219
 
       cat >conftest.$ac_ext <<_ACEOF
11220
 
/* confdefs.h.  */
11221
 
_ACEOF
11222
 
cat confdefs.h >>conftest.$ac_ext
11223
 
cat >>conftest.$ac_ext <<_ACEOF
11224
 
/* end confdefs.h.  */
11225
 
 
11226
 
int
11227
 
main ()
11228
 
{
11229
 
 
11230
 
  ;
11231
 
  return 0;
11232
 
}
11233
 
_ACEOF
11234
 
rm -f conftest.$ac_objext conftest$ac_exeext
11235
 
if { (ac_try="$ac_link"
11236
 
case "(($ac_try" in
11237
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11238
 
  *) ac_try_echo=$ac_try;;
11239
 
esac
11240
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11241
 
  (eval "$ac_link") 2>conftest.er1
11242
 
  ac_status=$?
11243
 
  grep -v '^ *+' conftest.er1 >conftest.err
11244
 
  rm -f conftest.er1
11245
 
  cat conftest.err >&5
11246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247
 
  (exit $ac_status); } && {
11248
 
         test -z "$ac_c_werror_flag" ||
11249
 
         test ! -s conftest.err
11250
 
       } && test -s conftest$ac_exeext &&
11251
 
       $as_test_x conftest$ac_exeext; then
11252
 
 
11253
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11254
 
}'`
11255
 
# Check for a 64-bit object if we didn't find anything.
11256
 
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; }
11257
 
}'`; fi
11258
 
else
11259
 
  echo "$as_me: failed program was:" >&5
11260
 
sed 's/^/| /' conftest.$ac_ext >&5
11261
 
 
11262
 
 
11263
 
fi
11264
 
 
11265
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11266
 
      conftest$ac_exeext conftest.$ac_ext
11267
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11268
 
 
11269
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11270
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11271
 
       else
11272
 
        if test "$host_cpu" = ia64; then
11273
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11274
 
          allow_undefined_flag="-z nodefs"
11275
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11276
 
        else
11277
 
         # Determine the default libpath from the value encoded in an empty executable.
11278
 
         cat >conftest.$ac_ext <<_ACEOF
11279
 
/* confdefs.h.  */
11280
 
_ACEOF
11281
 
cat confdefs.h >>conftest.$ac_ext
11282
 
cat >>conftest.$ac_ext <<_ACEOF
11283
 
/* end confdefs.h.  */
11284
 
 
11285
 
int
11286
 
main ()
11287
 
{
11288
 
 
11289
 
  ;
11290
 
  return 0;
11291
 
}
11292
 
_ACEOF
11293
 
rm -f conftest.$ac_objext conftest$ac_exeext
11294
 
if { (ac_try="$ac_link"
11295
 
case "(($ac_try" in
11296
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11297
 
  *) ac_try_echo=$ac_try;;
11298
 
esac
11299
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11300
 
  (eval "$ac_link") 2>conftest.er1
11301
 
  ac_status=$?
11302
 
  grep -v '^ *+' conftest.er1 >conftest.err
11303
 
  rm -f conftest.er1
11304
 
  cat conftest.err >&5
11305
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306
 
  (exit $ac_status); } && {
11307
 
         test -z "$ac_c_werror_flag" ||
11308
 
         test ! -s conftest.err
11309
 
       } && test -s conftest$ac_exeext &&
11310
 
       $as_test_x conftest$ac_exeext; then
11311
 
 
11312
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11313
 
}'`
11314
 
# Check for a 64-bit object if we didn't find anything.
11315
 
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; }
11316
 
}'`; fi
11317
 
else
11318
 
  echo "$as_me: failed program was:" >&5
11319
 
sed 's/^/| /' conftest.$ac_ext >&5
11320
 
 
11321
 
 
11322
 
fi
11323
 
 
11324
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11325
 
      conftest$ac_exeext conftest.$ac_ext
11326
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11327
 
 
11328
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11329
 
          # Warning - without using the other run time loading flags,
11330
 
          # -berok will link without error, but may produce a broken library.
11331
 
          no_undefined_flag=' ${wl}-bernotok'
11332
 
          allow_undefined_flag=' ${wl}-berok'
11333
 
          # Exported symbols can be pulled into shared objects from archives
11334
 
          whole_archive_flag_spec='$convenience'
11335
 
          archive_cmds_need_lc=yes
11336
 
          # This is similar to how AIX traditionally builds its shared libraries.
11337
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11338
 
        fi
11339
 
      fi
11340
 
      ;;
11341
 
 
11342
 
    amigaos*)
11343
 
      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)'
11344
 
      hardcode_libdir_flag_spec='-L$libdir'
11345
 
      hardcode_minus_L=yes
11346
 
      # see comment about different semantics on the GNU ld section
11347
 
      ld_shlibs=no
11348
 
      ;;
11349
 
 
11350
 
    bsdi[45]*)
11351
 
      export_dynamic_flag_spec=-rdynamic
11352
 
      ;;
11353
 
 
11354
 
    cygwin* | mingw* | pw32*)
11355
 
      # When not using gcc, we currently assume that we are using
11356
 
      # Microsoft Visual C++.
11357
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
11358
 
      # no search path for DLLs.
11359
 
      hardcode_libdir_flag_spec=' '
11360
 
      allow_undefined_flag=unsupported
11361
 
      # Tell ltmain to make .lib files, not .a files.
11362
 
      libext=lib
11363
 
      # Tell ltmain to make .dll files, not .so files.
11364
 
      shrext_cmds=".dll"
11365
 
      # FIXME: Setting linknames here is a bad hack.
11366
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
11367
 
      # The linker will automatically build a .lib file if we build a DLL.
11368
 
      old_archive_From_new_cmds='true'
11369
 
      # FIXME: Should let the user specify the lib program.
11370
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
11371
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
11372
 
      enable_shared_with_static_runtimes=yes
11373
 
      ;;
11374
 
 
11375
 
    darwin* | rhapsody*)
11376
 
      case $host_os in
11377
 
        rhapsody* | darwin1.[012])
11378
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
11379
 
         ;;
11380
 
       *) # Darwin 1.3 on
11381
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11382
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11383
 
         else
11384
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11385
 
             10.[012])
11386
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11387
 
               ;;
11388
 
             10.*)
11389
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
11390
 
               ;;
11391
 
           esac
11392
 
         fi
11393
 
         ;;
11394
 
      esac
11395
 
      archive_cmds_need_lc=no
11396
 
      hardcode_direct=no
11397
 
      hardcode_automatic=yes
11398
 
      hardcode_shlibpath_var=unsupported
11399
 
      whole_archive_flag_spec=''
11400
 
      link_all_deplibs=yes
11401
 
    if test "$GCC" = yes ; then
11402
 
        output_verbose_link_cmd='echo'
11403
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11404
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11405
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11406
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11407
 
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11408
 
    else
11409
 
      case $cc_basename in
11410
 
        xlc*)
11411
 
         output_verbose_link_cmd='echo'
11412
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11413
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11414
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11415
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11416
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11417
 
          ;;
11418
 
       *)
11419
 
         ld_shlibs=no
11420
 
          ;;
11421
 
      esac
11422
 
    fi
11423
 
      ;;
11424
 
 
11425
 
    dgux*)
11426
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11427
 
      hardcode_libdir_flag_spec='-L$libdir'
11428
 
      hardcode_shlibpath_var=no
11429
 
      ;;
11430
 
 
11431
 
    freebsd1*)
11432
 
      ld_shlibs=no
11433
 
      ;;
11434
 
 
11435
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11436
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
11437
 
    # does not break anything, and helps significantly (at the cost of a little
11438
 
    # extra space).
11439
 
    freebsd2.2*)
11440
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11441
 
      hardcode_libdir_flag_spec='-R$libdir'
11442
 
      hardcode_direct=yes
11443
 
      hardcode_shlibpath_var=no
11444
 
      ;;
11445
 
 
11446
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11447
 
    freebsd2*)
11448
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11449
 
      hardcode_direct=yes
11450
 
      hardcode_minus_L=yes
11451
 
      hardcode_shlibpath_var=no
11452
 
      ;;
11453
 
 
11454
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11455
 
    freebsd* | dragonfly*)
11456
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11457
 
      hardcode_libdir_flag_spec='-R$libdir'
11458
 
      hardcode_direct=yes
11459
 
      hardcode_shlibpath_var=no
11460
 
      ;;
11461
 
 
11462
 
    hpux9*)
11463
 
      if test "$GCC" = yes; then
11464
 
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11465
 
      else
11466
 
        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'
11467
 
      fi
11468
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11469
 
      hardcode_libdir_separator=:
11470
 
      hardcode_direct=yes
11471
 
 
11472
 
      # hardcode_minus_L: Not really in the search PATH,
11473
 
      # but as the default location of the library.
11474
 
      hardcode_minus_L=yes
11475
 
      export_dynamic_flag_spec='${wl}-E'
11476
 
      ;;
11477
 
 
11478
 
    hpux10*)
11479
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11480
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11481
 
      else
11482
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11483
 
      fi
11484
 
      if test "$with_gnu_ld" = no; then
11485
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11486
 
        hardcode_libdir_separator=:
11487
 
 
11488
 
        hardcode_direct=yes
11489
 
        export_dynamic_flag_spec='${wl}-E'
11490
 
 
11491
 
        # hardcode_minus_L: Not really in the search PATH,
11492
 
        # but as the default location of the library.
11493
 
        hardcode_minus_L=yes
11494
 
      fi
11495
 
      ;;
11496
 
 
11497
 
    hpux11*)
11498
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11499
 
        case $host_cpu in
11500
 
        hppa*64*)
11501
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11502
 
          ;;
11503
 
        ia64*)
11504
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11505
 
          ;;
11506
 
        *)
11507
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11508
 
          ;;
11509
 
        esac
11510
 
      else
11511
 
        case $host_cpu in
11512
 
        hppa*64*)
11513
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11514
 
          ;;
11515
 
        ia64*)
11516
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11517
 
          ;;
11518
 
        *)
11519
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11520
 
          ;;
11521
 
        esac
11522
 
      fi
11523
 
      if test "$with_gnu_ld" = no; then
11524
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11525
 
        hardcode_libdir_separator=:
11526
 
 
11527
 
        case $host_cpu in
11528
 
        hppa*64*|ia64*)
11529
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
11530
 
          hardcode_direct=no
11531
 
          hardcode_shlibpath_var=no
11532
 
          ;;
11533
 
        *)
11534
 
          hardcode_direct=yes
11535
 
          export_dynamic_flag_spec='${wl}-E'
11536
 
 
11537
 
          # hardcode_minus_L: Not really in the search PATH,
11538
 
          # but as the default location of the library.
11539
 
          hardcode_minus_L=yes
11540
 
          ;;
11541
 
        esac
11542
 
      fi
11543
 
      ;;
11544
 
 
11545
 
    irix5* | irix6* | nonstopux*)
11546
 
      if test "$GCC" = yes; then
11547
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11548
 
      else
11549
 
        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'
11550
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
11551
 
      fi
11552
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11553
 
      hardcode_libdir_separator=:
11554
 
      link_all_deplibs=yes
11555
 
      ;;
11556
 
 
11557
 
    netbsd* | netbsdelf*-gnu)
11558
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11559
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11560
 
      else
11561
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11562
 
      fi
11563
 
      hardcode_libdir_flag_spec='-R$libdir'
11564
 
      hardcode_direct=yes
11565
 
      hardcode_shlibpath_var=no
11566
 
      ;;
11567
 
 
11568
 
    newsos6)
11569
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11570
 
      hardcode_direct=yes
11571
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11572
 
      hardcode_libdir_separator=:
11573
 
      hardcode_shlibpath_var=no
11574
 
      ;;
11575
 
 
11576
 
    openbsd*)
11577
 
      hardcode_direct=yes
11578
 
      hardcode_shlibpath_var=no
11579
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11580
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11581
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11582
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11583
 
        export_dynamic_flag_spec='${wl}-E'
11584
 
      else
11585
 
       case $host_os in
11586
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11587
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11588
 
           hardcode_libdir_flag_spec='-R$libdir'
11589
 
           ;;
11590
 
         *)
11591
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11592
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11593
 
           ;;
11594
 
       esac
11595
 
      fi
11596
 
      ;;
11597
 
 
11598
 
    os2*)
11599
 
      hardcode_libdir_flag_spec='-L$libdir'
11600
 
      hardcode_minus_L=yes
11601
 
      allow_undefined_flag=unsupported
11602
 
      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11603
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11604
 
      ;;
11605
 
 
11606
 
    osf3*)
11607
 
      if test "$GCC" = yes; then
11608
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11609
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11610
 
      else
11611
 
        allow_undefined_flag=' -expect_unresolved \*'
11612
 
        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'
11613
 
      fi
11614
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11615
 
      hardcode_libdir_separator=:
11616
 
      ;;
11617
 
 
11618
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
11619
 
      if test "$GCC" = yes; then
11620
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11621
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11622
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11623
 
      else
11624
 
        allow_undefined_flag=' -expect_unresolved \*'
11625
 
        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'
11626
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11627
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
11628
 
 
11629
 
        # Both c and cxx compiler support -rpath directly
11630
 
        hardcode_libdir_flag_spec='-rpath $libdir'
11631
 
      fi
11632
 
      hardcode_libdir_separator=:
11633
 
      ;;
11634
 
 
11635
 
    solaris*)
11636
 
      no_undefined_flag=' -z text'
11637
 
      if test "$GCC" = yes; then
11638
 
        wlarc='${wl}'
11639
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11640
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11641
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
11642
 
      else
11643
 
        wlarc=''
11644
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11645
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11646
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11647
 
      fi
11648
 
      hardcode_libdir_flag_spec='-R$libdir'
11649
 
      hardcode_shlibpath_var=no
11650
 
      case $host_os in
11651
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
11652
 
      *)
11653
 
        # The compiler driver will combine linker options so we
11654
 
        # cannot just pass the convience library names through
11655
 
        # without $wl, iff we do not link with $LD.
11656
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
11657
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
11658
 
        case $wlarc in
11659
 
        '')
11660
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
11661
 
        *)
11662
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
11663
 
        esac ;;
11664
 
      esac
11665
 
      link_all_deplibs=yes
11666
 
      ;;
11667
 
 
11668
 
    sunos4*)
11669
 
      if test "x$host_vendor" = xsequent; then
11670
 
        # Use $CC to link under sequent, because it throws in some extra .o
11671
 
        # files that make .init and .fini sections work.
11672
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11673
 
      else
11674
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11675
 
      fi
11676
 
      hardcode_libdir_flag_spec='-L$libdir'
11677
 
      hardcode_direct=yes
11678
 
      hardcode_minus_L=yes
11679
 
      hardcode_shlibpath_var=no
11680
 
      ;;
11681
 
 
11682
 
    sysv4)
11683
 
      case $host_vendor in
11684
 
        sni)
11685
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11686
 
          hardcode_direct=yes # is this really true???
11687
 
        ;;
11688
 
        siemens)
11689
 
          ## LD is ld it makes a PLAMLIB
11690
 
          ## CC just makes a GrossModule.
11691
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11692
 
          reload_cmds='$CC -r -o $output$reload_objs'
11693
 
          hardcode_direct=no
11694
 
        ;;
11695
 
        motorola)
11696
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11697
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11698
 
        ;;
11699
 
      esac
11700
 
      runpath_var='LD_RUN_PATH'
11701
 
      hardcode_shlibpath_var=no
11702
 
      ;;
11703
 
 
11704
 
    sysv4.3*)
11705
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11706
 
      hardcode_shlibpath_var=no
11707
 
      export_dynamic_flag_spec='-Bexport'
11708
 
      ;;
11709
 
 
11710
 
    sysv4*MP*)
11711
 
      if test -d /usr/nec; then
11712
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11713
 
        hardcode_shlibpath_var=no
11714
 
        runpath_var=LD_RUN_PATH
11715
 
        hardcode_runpath_var=yes
11716
 
        ld_shlibs=yes
11717
 
      fi
11718
 
      ;;
11719
 
 
11720
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
11721
 
      no_undefined_flag='${wl}-z,text'
11722
 
      archive_cmds_need_lc=no
11723
 
      hardcode_shlibpath_var=no
11724
 
      runpath_var='LD_RUN_PATH'
11725
 
 
11726
 
      if test "$GCC" = yes; then
11727
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11728
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11729
 
      else
11730
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11731
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11732
 
      fi
11733
 
      ;;
11734
 
 
11735
 
    sysv5* | sco3.2v5* | sco5v6*)
11736
 
      # Note: We can NOT use -z defs as we might desire, because we do not
11737
 
      # link with -lc, and that would cause any symbols used from libc to
11738
 
      # always be unresolved, which means just about no library would
11739
 
      # ever link correctly.  If we're not using GNU ld we use -z text
11740
 
      # though, which does catch some bad symbols but isn't as heavy-handed
11741
 
      # as -z defs.
11742
 
      no_undefined_flag='${wl}-z,text'
11743
 
      allow_undefined_flag='${wl}-z,nodefs'
11744
 
      archive_cmds_need_lc=no
11745
 
      hardcode_shlibpath_var=no
11746
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11747
 
      hardcode_libdir_separator=':'
11748
 
      link_all_deplibs=yes
11749
 
      export_dynamic_flag_spec='${wl}-Bexport'
11750
 
      runpath_var='LD_RUN_PATH'
11751
 
 
11752
 
      if test "$GCC" = yes; then
11753
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11754
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11755
 
      else
11756
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11757
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11758
 
      fi
11759
 
      ;;
11760
 
 
11761
 
    uts4*)
11762
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11763
 
      hardcode_libdir_flag_spec='-L$libdir'
11764
 
      hardcode_shlibpath_var=no
11765
 
      ;;
11766
 
 
11767
 
    *)
11768
 
      ld_shlibs=no
11769
 
      ;;
11770
 
    esac
11771
 
  fi
11772
 
 
11773
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11774
 
echo "${ECHO_T}$ld_shlibs" >&6; }
11775
 
test "$ld_shlibs" = no && can_build_shared=no
11776
 
 
11777
 
#
11778
 
# Do we need to explicitly link libc?
11779
 
#
11780
 
case "x$archive_cmds_need_lc" in
11781
 
x|xyes)
11782
 
  # Assume -lc should be added
11783
 
  archive_cmds_need_lc=yes
11784
 
 
11785
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
11786
 
    case $archive_cmds in
11787
 
    *'~'*)
11788
 
      # FIXME: we may have to deal with multi-command sequences.
11789
 
      ;;
11790
 
    '$CC '*)
11791
 
      # Test whether the compiler implicitly links with -lc since on some
11792
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11793
 
      # to ld, don't add -lc before -lgcc.
11794
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11795
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11796
 
      $rm conftest*
11797
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11798
 
 
11799
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11800
 
  (eval $ac_compile) 2>&5
11801
 
  ac_status=$?
11802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803
 
  (exit $ac_status); } 2>conftest.err; then
11804
 
        soname=conftest
11805
 
        lib=conftest
11806
 
        libobjs=conftest.$ac_objext
11807
 
        deplibs=
11808
 
        wl=$lt_prog_compiler_wl
11809
 
        pic_flag=$lt_prog_compiler_pic
11810
 
        compiler_flags=-v
11811
 
        linker_flags=-v
11812
 
        verstring=
11813
 
        output_objdir=.
11814
 
        libname=conftest
11815
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
11816
 
        allow_undefined_flag=
11817
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11818
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11819
 
  ac_status=$?
11820
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821
 
  (exit $ac_status); }
11822
 
        then
11823
 
          archive_cmds_need_lc=no
11824
 
        else
11825
 
          archive_cmds_need_lc=yes
11826
 
        fi
11827
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
11828
 
      else
11829
 
        cat conftest.err 1>&5
11830
 
      fi
11831
 
      $rm conftest*
11832
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11833
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11834
 
      ;;
11835
 
    esac
11836
 
  fi
11837
 
  ;;
11838
 
esac
11839
 
 
11840
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11841
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11842
 
library_names_spec=
11843
 
libname_spec='lib$name'
11844
 
soname_spec=
11845
 
shrext_cmds=".so"
11846
 
postinstall_cmds=
11847
 
postuninstall_cmds=
11848
 
finish_cmds=
11849
 
finish_eval=
11850
 
shlibpath_var=
11851
 
shlibpath_overrides_runpath=unknown
11852
 
version_type=none
11853
 
dynamic_linker="$host_os ld.so"
11854
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11855
 
if test "$GCC" = yes; then
11856
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11857
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11858
 
    # if the path contains ";" then we assume it to be the separator
11859
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11860
 
    # assumed that no part of a normal pathname contains ";" but that should
11861
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11862
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11863
 
  else
11864
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11865
 
  fi
11866
 
else
11867
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11868
 
fi
11869
 
need_lib_prefix=unknown
11870
 
hardcode_into_libs=no
11871
 
 
11872
 
# when you set need_version to no, make sure it does not cause -set_version
11873
 
# flags to be left without arguments
11874
 
need_version=unknown
11875
 
 
11876
 
case $host_os in
11877
 
aix3*)
11878
 
  version_type=linux
11879
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11880
 
  shlibpath_var=LIBPATH
11881
 
 
11882
 
  # AIX 3 has no versioning support, so we append a major version to the name.
11883
 
  soname_spec='${libname}${release}${shared_ext}$major'
11884
 
  ;;
11885
 
 
11886
 
aix4* | aix5*)
11887
 
  version_type=linux
11888
 
  need_lib_prefix=no
11889
 
  need_version=no
11890
 
  hardcode_into_libs=yes
11891
 
  if test "$host_cpu" = ia64; then
11892
 
    # AIX 5 supports IA64
11893
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11894
 
    shlibpath_var=LD_LIBRARY_PATH
11895
 
  else
11896
 
    # With GCC up to 2.95.x, collect2 would create an import file
11897
 
    # for dependence libraries.  The import file would start with
11898
 
    # the line `#! .'.  This would cause the generated library to
11899
 
    # depend on `.', always an invalid library.  This was fixed in
11900
 
    # development snapshots of GCC prior to 3.0.
11901
 
    case $host_os in
11902
 
      aix4 | aix4.[01] | aix4.[01].*)
11903
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11904
 
           echo ' yes '
11905
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11906
 
        :
11907
 
      else
11908
 
        can_build_shared=no
11909
 
      fi
11910
 
      ;;
11911
 
    esac
11912
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11913
 
    # soname into executable. Probably we can add versioning support to
11914
 
    # collect2, so additional links can be useful in future.
11915
 
    if test "$aix_use_runtimelinking" = yes; then
11916
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11917
 
      # instead of lib<name>.a to let people know that these are not
11918
 
      # typical AIX shared libraries.
11919
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11920
 
    else
11921
 
      # We preserve .a as extension for shared libraries through AIX4.2
11922
 
      # and later when we are not doing run time linking.
11923
 
      library_names_spec='${libname}${release}.a $libname.a'
11924
 
      soname_spec='${libname}${release}${shared_ext}$major'
11925
 
    fi
11926
 
    shlibpath_var=LIBPATH
11927
 
  fi
11928
 
  ;;
11929
 
 
11930
 
amigaos*)
11931
 
  library_names_spec='$libname.ixlibrary $libname.a'
11932
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
11933
 
  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'
11934
 
  ;;
11935
 
 
11936
 
beos*)
11937
 
  library_names_spec='${libname}${shared_ext}'
11938
 
  dynamic_linker="$host_os ld.so"
11939
 
  shlibpath_var=LIBRARY_PATH
11940
 
  ;;
11941
 
 
11942
 
bsdi[45]*)
11943
 
  version_type=linux
11944
 
  need_version=no
11945
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11946
 
  soname_spec='${libname}${release}${shared_ext}$major'
11947
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11948
 
  shlibpath_var=LD_LIBRARY_PATH
11949
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11950
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11951
 
  # the default ld.so.conf also contains /usr/contrib/lib and
11952
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11953
 
  # libtool to hard-code these into programs
11954
 
  ;;
11955
 
 
11956
 
cygwin* | mingw* | pw32*)
11957
 
  version_type=windows
11958
 
  shrext_cmds=".dll"
11959
 
  need_version=no
11960
 
  need_lib_prefix=no
11961
 
 
11962
 
  case $GCC,$host_os in
11963
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
11964
 
    library_names_spec='$libname.dll.a'
11965
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11966
 
    postinstall_cmds='base_file=`basename \${file}`~
11967
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11968
 
      dldir=$destdir/`dirname \$dlpath`~
11969
 
      test -d \$dldir || mkdir -p \$dldir~
11970
 
      $install_prog $dir/$dlname \$dldir/$dlname~
11971
 
      chmod a+x \$dldir/$dlname'
11972
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11973
 
      dlpath=$dir/\$dldll~
11974
 
       $rm \$dlpath'
11975
 
    shlibpath_overrides_runpath=yes
11976
 
 
11977
 
    case $host_os in
11978
 
    cygwin*)
11979
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11980
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11981
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11982
 
      ;;
11983
 
    mingw*)
11984
 
      # MinGW DLLs use traditional 'lib' prefix
11985
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11986
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11987
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11988
 
        # It is most probably a Windows format PATH printed by
11989
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11990
 
        # path with ; separators, and with drive letters. We can handle the
11991
 
        # drive letters (cygwin fileutils understands them), so leave them,
11992
 
        # especially as we might pass files found there to a mingw objdump,
11993
 
        # which wouldn't understand a cygwinified path. Ahh.
11994
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11995
 
      else
11996
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11997
 
      fi
11998
 
      ;;
11999
 
    pw32*)
12000
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
12001
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12002
 
      ;;
12003
 
    esac
12004
 
    ;;
12005
 
 
12006
 
  *)
12007
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12008
 
    ;;
12009
 
  esac
12010
 
  dynamic_linker='Win32 ld.exe'
12011
 
  # FIXME: first we should search . and the directory the executable is in
12012
 
  shlibpath_var=PATH
12013
 
  ;;
12014
 
 
12015
 
darwin* | rhapsody*)
12016
 
  dynamic_linker="$host_os dyld"
12017
 
  version_type=darwin
12018
 
  need_lib_prefix=no
12019
 
  need_version=no
12020
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12021
 
  soname_spec='${libname}${release}${major}$shared_ext'
12022
 
  shlibpath_overrides_runpath=yes
12023
 
  shlibpath_var=DYLD_LIBRARY_PATH
12024
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12025
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12026
 
  if test "$GCC" = yes; then
12027
 
    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"`
12028
 
  else
12029
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12030
 
  fi
12031
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12032
 
  ;;
12033
 
 
12034
 
dgux*)
12035
 
  version_type=linux
12036
 
  need_lib_prefix=no
12037
 
  need_version=no
12038
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12039
 
  soname_spec='${libname}${release}${shared_ext}$major'
12040
 
  shlibpath_var=LD_LIBRARY_PATH
12041
 
  ;;
12042
 
 
12043
 
freebsd1*)
12044
 
  dynamic_linker=no
12045
 
  ;;
12046
 
 
12047
 
freebsd* | dragonfly*)
12048
 
  # DragonFly does not have aout.  When/if they implement a new
12049
 
  # versioning mechanism, adjust this.
12050
 
  if test -x /usr/bin/objformat; then
12051
 
    objformat=`/usr/bin/objformat`
12052
 
  else
12053
 
    case $host_os in
12054
 
    freebsd[123]*) objformat=aout ;;
12055
 
    *) objformat=elf ;;
12056
 
    esac
12057
 
  fi
12058
 
  version_type=freebsd-$objformat
12059
 
  case $version_type in
12060
 
    freebsd-elf*)
12061
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12062
 
      need_version=no
12063
 
      need_lib_prefix=no
12064
 
      ;;
12065
 
    freebsd-*)
12066
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12067
 
      need_version=yes
12068
 
      ;;
12069
 
  esac
12070
 
  shlibpath_var=LD_LIBRARY_PATH
12071
 
  case $host_os in
12072
 
  freebsd2*)
12073
 
    shlibpath_overrides_runpath=yes
12074
 
    ;;
12075
 
  freebsd3.[01]* | freebsdelf3.[01]*)
12076
 
    shlibpath_overrides_runpath=yes
12077
 
    hardcode_into_libs=yes
12078
 
    ;;
12079
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12080
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12081
 
    shlibpath_overrides_runpath=no
12082
 
    hardcode_into_libs=yes
12083
 
    ;;
12084
 
  freebsd*) # from 4.6 on
12085
 
    shlibpath_overrides_runpath=yes
12086
 
    hardcode_into_libs=yes
12087
 
    ;;
12088
 
  esac
12089
 
  ;;
12090
 
 
12091
 
gnu*)
12092
 
  version_type=linux
12093
 
  need_lib_prefix=no
12094
 
  need_version=no
12095
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12096
 
  soname_spec='${libname}${release}${shared_ext}$major'
12097
 
  shlibpath_var=LD_LIBRARY_PATH
12098
 
  hardcode_into_libs=yes
12099
 
  ;;
12100
 
 
12101
 
hpux9* | hpux10* | hpux11*)
12102
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
12103
 
  # link against other versions.
12104
 
  version_type=sunos
12105
 
  need_lib_prefix=no
12106
 
  need_version=no
12107
 
  case $host_cpu in
12108
 
  ia64*)
12109
 
    shrext_cmds='.so'
12110
 
    hardcode_into_libs=yes
12111
 
    dynamic_linker="$host_os dld.so"
12112
 
    shlibpath_var=LD_LIBRARY_PATH
12113
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12114
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12115
 
    soname_spec='${libname}${release}${shared_ext}$major'
12116
 
    if test "X$HPUX_IA64_MODE" = X32; then
12117
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12118
 
    else
12119
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12120
 
    fi
12121
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12122
 
    ;;
12123
 
   hppa*64*)
12124
 
     shrext_cmds='.sl'
12125
 
     hardcode_into_libs=yes
12126
 
     dynamic_linker="$host_os dld.sl"
12127
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12128
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12129
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12130
 
     soname_spec='${libname}${release}${shared_ext}$major'
12131
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12132
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12133
 
     ;;
12134
 
   *)
12135
 
    shrext_cmds='.sl'
12136
 
    dynamic_linker="$host_os dld.sl"
12137
 
    shlibpath_var=SHLIB_PATH
12138
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12139
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12140
 
    soname_spec='${libname}${release}${shared_ext}$major'
12141
 
    ;;
12142
 
  esac
12143
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
12144
 
  postinstall_cmds='chmod 555 $lib'
12145
 
  ;;
12146
 
 
12147
 
interix3*)
12148
 
  version_type=linux
12149
 
  need_lib_prefix=no
12150
 
  need_version=no
12151
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12152
 
  soname_spec='${libname}${release}${shared_ext}$major'
12153
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12154
 
  shlibpath_var=LD_LIBRARY_PATH
12155
 
  shlibpath_overrides_runpath=no
12156
 
  hardcode_into_libs=yes
12157
 
  ;;
12158
 
 
12159
 
irix5* | irix6* | nonstopux*)
12160
 
  case $host_os in
12161
 
    nonstopux*) version_type=nonstopux ;;
12162
 
    *)
12163
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
12164
 
                version_type=linux
12165
 
        else
12166
 
                version_type=irix
12167
 
        fi ;;
12168
 
  esac
12169
 
  need_lib_prefix=no
12170
 
  need_version=no
12171
 
  soname_spec='${libname}${release}${shared_ext}$major'
12172
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12173
 
  case $host_os in
12174
 
  irix5* | nonstopux*)
12175
 
    libsuff= shlibsuff=
12176
 
    ;;
12177
 
  *)
12178
 
    case $LD in # libtool.m4 will add one of these switches to LD
12179
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12180
 
      libsuff= shlibsuff= libmagic=32-bit;;
12181
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12182
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
12183
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12184
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12185
 
    *) libsuff= shlibsuff= libmagic=never-match;;
12186
 
    esac
12187
 
    ;;
12188
 
  esac
12189
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12190
 
  shlibpath_overrides_runpath=no
12191
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12192
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12193
 
  hardcode_into_libs=yes
12194
 
  ;;
12195
 
 
12196
 
# No shared lib support for Linux oldld, aout, or coff.
12197
 
linux*oldld* | linux*aout* | linux*coff*)
12198
 
  dynamic_linker=no
12199
 
  ;;
12200
 
 
12201
 
# This must be Linux ELF.
12202
 
linux* | k*bsd*-gnu)
12203
 
  version_type=linux
12204
 
  need_lib_prefix=no
12205
 
  need_version=no
12206
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12207
 
  soname_spec='${libname}${release}${shared_ext}$major'
12208
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12209
 
  shlibpath_var=LD_LIBRARY_PATH
12210
 
  shlibpath_overrides_runpath=no
12211
 
  # This implies no fast_install, which is unacceptable.
12212
 
  # Some rework will be needed to allow for fast_install
12213
 
  # before this can be enabled.
12214
 
  hardcode_into_libs=yes
12215
 
 
12216
 
  # Append ld.so.conf contents to the search path
12217
 
  if test -f /etc/ld.so.conf; then
12218
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12219
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12220
 
  fi
12221
 
 
12222
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12223
 
  # powerpc, because MkLinux only supported shared libraries with the
12224
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
12225
 
  # most powerpc-linux boxes support dynamic linking these days and
12226
 
  # people can always --disable-shared, the test was removed, and we
12227
 
  # assume the GNU/Linux dynamic linker is in use.
12228
 
  dynamic_linker='GNU/Linux ld.so'
12229
 
  ;;
12230
 
 
12231
 
netbsdelf*-gnu)
12232
 
  version_type=linux
12233
 
  need_lib_prefix=no
12234
 
  need_version=no
12235
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12236
 
  soname_spec='${libname}${release}${shared_ext}$major'
12237
 
  shlibpath_var=LD_LIBRARY_PATH
12238
 
  shlibpath_overrides_runpath=no
12239
 
  hardcode_into_libs=yes
12240
 
  dynamic_linker='NetBSD ld.elf_so'
12241
 
  ;;
12242
 
 
12243
 
netbsd*)
12244
 
  version_type=sunos
12245
 
  need_lib_prefix=no
12246
 
  need_version=no
12247
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12248
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12249
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12250
 
    dynamic_linker='NetBSD (a.out) ld.so'
12251
 
  else
12252
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12253
 
    soname_spec='${libname}${release}${shared_ext}$major'
12254
 
    dynamic_linker='NetBSD ld.elf_so'
12255
 
  fi
12256
 
  shlibpath_var=LD_LIBRARY_PATH
12257
 
  shlibpath_overrides_runpath=yes
12258
 
  hardcode_into_libs=yes
12259
 
  ;;
12260
 
 
12261
 
newsos6)
12262
 
  version_type=linux
12263
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12264
 
  shlibpath_var=LD_LIBRARY_PATH
12265
 
  shlibpath_overrides_runpath=yes
12266
 
  ;;
12267
 
 
12268
 
nto-qnx*)
12269
 
  version_type=linux
12270
 
  need_lib_prefix=no
12271
 
  need_version=no
12272
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12273
 
  soname_spec='${libname}${release}${shared_ext}$major'
12274
 
  shlibpath_var=LD_LIBRARY_PATH
12275
 
  shlibpath_overrides_runpath=yes
12276
 
  ;;
12277
 
 
12278
 
openbsd*)
12279
 
  version_type=sunos
12280
 
  sys_lib_dlsearch_path_spec="/usr/lib"
12281
 
  need_lib_prefix=no
12282
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12283
 
  case $host_os in
12284
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12285
 
    *)                         need_version=no  ;;
12286
 
  esac
12287
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12288
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12289
 
  shlibpath_var=LD_LIBRARY_PATH
12290
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12291
 
    case $host_os in
12292
 
      openbsd2.[89] | openbsd2.[89].*)
12293
 
        shlibpath_overrides_runpath=no
12294
 
        ;;
12295
 
      *)
12296
 
        shlibpath_overrides_runpath=yes
12297
 
        ;;
12298
 
      esac
12299
 
  else
12300
 
    shlibpath_overrides_runpath=yes
12301
 
  fi
12302
 
  ;;
12303
 
 
12304
 
os2*)
12305
 
  libname_spec='$name'
12306
 
  shrext_cmds=".dll"
12307
 
  need_lib_prefix=no
12308
 
  library_names_spec='$libname${shared_ext} $libname.a'
12309
 
  dynamic_linker='OS/2 ld.exe'
12310
 
  shlibpath_var=LIBPATH
12311
 
  ;;
12312
 
 
12313
 
osf3* | osf4* | osf5*)
12314
 
  version_type=osf
12315
 
  need_lib_prefix=no
12316
 
  need_version=no
12317
 
  soname_spec='${libname}${release}${shared_ext}$major'
12318
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12319
 
  shlibpath_var=LD_LIBRARY_PATH
12320
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12321
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12322
 
  ;;
12323
 
 
12324
 
solaris*)
12325
 
  version_type=linux
12326
 
  need_lib_prefix=no
12327
 
  need_version=no
12328
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12329
 
  soname_spec='${libname}${release}${shared_ext}$major'
12330
 
  shlibpath_var=LD_LIBRARY_PATH
12331
 
  shlibpath_overrides_runpath=yes
12332
 
  hardcode_into_libs=yes
12333
 
  # ldd complains unless libraries are executable
12334
 
  postinstall_cmds='chmod +x $lib'
12335
 
  ;;
12336
 
 
12337
 
sunos4*)
12338
 
  version_type=sunos
12339
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12340
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12341
 
  shlibpath_var=LD_LIBRARY_PATH
12342
 
  shlibpath_overrides_runpath=yes
12343
 
  if test "$with_gnu_ld" = yes; then
12344
 
    need_lib_prefix=no
12345
 
  fi
12346
 
  need_version=yes
12347
 
  ;;
12348
 
 
12349
 
sysv4 | sysv4.3*)
12350
 
  version_type=linux
12351
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12352
 
  soname_spec='${libname}${release}${shared_ext}$major'
12353
 
  shlibpath_var=LD_LIBRARY_PATH
12354
 
  case $host_vendor in
12355
 
    sni)
12356
 
      shlibpath_overrides_runpath=no
12357
 
      need_lib_prefix=no
12358
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
12359
 
      runpath_var=LD_RUN_PATH
12360
 
      ;;
12361
 
    siemens)
12362
 
      need_lib_prefix=no
12363
 
      ;;
12364
 
    motorola)
12365
 
      need_lib_prefix=no
12366
 
      need_version=no
12367
 
      shlibpath_overrides_runpath=no
12368
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12369
 
      ;;
12370
 
  esac
12371
 
  ;;
12372
 
 
12373
 
sysv4*MP*)
12374
 
  if test -d /usr/nec ;then
12375
 
    version_type=linux
12376
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12377
 
    soname_spec='$libname${shared_ext}.$major'
12378
 
    shlibpath_var=LD_LIBRARY_PATH
12379
 
  fi
12380
 
  ;;
12381
 
 
12382
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12383
 
  version_type=freebsd-elf
12384
 
  need_lib_prefix=no
12385
 
  need_version=no
12386
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12387
 
  soname_spec='${libname}${release}${shared_ext}$major'
12388
 
  shlibpath_var=LD_LIBRARY_PATH
12389
 
  hardcode_into_libs=yes
12390
 
  if test "$with_gnu_ld" = yes; then
12391
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12392
 
    shlibpath_overrides_runpath=no
12393
 
  else
12394
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12395
 
    shlibpath_overrides_runpath=yes
12396
 
    case $host_os in
12397
 
      sco3.2v5*)
12398
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12399
 
        ;;
12400
 
    esac
12401
 
  fi
12402
 
  sys_lib_dlsearch_path_spec='/usr/lib'
12403
 
  ;;
12404
 
 
12405
 
uts4*)
12406
 
  version_type=linux
12407
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12408
 
  soname_spec='${libname}${release}${shared_ext}$major'
12409
 
  shlibpath_var=LD_LIBRARY_PATH
12410
 
  ;;
12411
 
 
12412
 
*)
12413
 
  dynamic_linker=no
12414
 
  ;;
12415
 
esac
12416
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12417
 
echo "${ECHO_T}$dynamic_linker" >&6; }
12418
 
test "$dynamic_linker" = no && can_build_shared=no
12419
 
 
12420
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12421
 
if test "$GCC" = yes; then
12422
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12423
 
fi
12424
 
 
12425
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12426
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12427
 
hardcode_action=
12428
 
if test -n "$hardcode_libdir_flag_spec" || \
12429
 
   test -n "$runpath_var" || \
12430
 
   test "X$hardcode_automatic" = "Xyes" ; then
12431
 
 
12432
 
  # We can hardcode non-existant directories.
12433
 
  if test "$hardcode_direct" != no &&
12434
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12435
 
     # have to relink, otherwise we might link with an installed library
12436
 
     # when we should be linking with a yet-to-be-installed one
12437
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
12438
 
     test "$hardcode_minus_L" != no; then
12439
 
    # Linking always hardcodes the temporary library directory.
12440
 
    hardcode_action=relink
12441
 
  else
12442
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12443
 
    hardcode_action=immediate
12444
 
  fi
12445
 
else
12446
 
  # We cannot hardcode anything, or else we can only hardcode existing
12447
 
  # directories.
12448
 
  hardcode_action=unsupported
12449
 
fi
12450
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
12451
 
echo "${ECHO_T}$hardcode_action" >&6; }
12452
 
 
12453
 
if test "$hardcode_action" = relink; then
12454
 
  # Fast installation is not supported
12455
 
  enable_fast_install=no
12456
 
elif test "$shlibpath_overrides_runpath" = yes ||
12457
 
     test "$enable_shared" = no; then
12458
 
  # Fast installation is not necessary
12459
 
  enable_fast_install=needless
12460
 
fi
12461
 
 
12462
 
striplib=
12463
 
old_striplib=
12464
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12465
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12466
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12467
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12468
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12469
 
  { echo "$as_me:$LINENO: result: yes" >&5
12470
 
echo "${ECHO_T}yes" >&6; }
12471
 
else
12472
 
# FIXME - insert some real tests, host_os isn't really good enough
12473
 
  case $host_os in
12474
 
   darwin*)
12475
 
       if test -n "$STRIP" ; then
12476
 
         striplib="$STRIP -x"
12477
 
         { echo "$as_me:$LINENO: result: yes" >&5
12478
 
echo "${ECHO_T}yes" >&6; }
12479
 
       else
12480
 
  { echo "$as_me:$LINENO: result: no" >&5
12481
 
echo "${ECHO_T}no" >&6; }
12482
 
fi
12483
 
       ;;
12484
 
   *)
12485
 
  { echo "$as_me:$LINENO: result: no" >&5
12486
 
echo "${ECHO_T}no" >&6; }
12487
 
    ;;
12488
 
  esac
12489
 
fi
12490
 
 
12491
 
if test "x$enable_dlopen" != xyes; then
12492
 
  enable_dlopen=unknown
12493
 
  enable_dlopen_self=unknown
12494
 
  enable_dlopen_self_static=unknown
12495
 
else
12496
 
  lt_cv_dlopen=no
12497
 
  lt_cv_dlopen_libs=
12498
 
 
12499
 
  case $host_os in
12500
 
  beos*)
12501
 
    lt_cv_dlopen="load_add_on"
12502
 
    lt_cv_dlopen_libs=
12503
 
    lt_cv_dlopen_self=yes
12504
 
    ;;
12505
 
 
12506
 
  mingw* | pw32*)
12507
 
    lt_cv_dlopen="LoadLibrary"
12508
 
    lt_cv_dlopen_libs=
12509
 
   ;;
12510
 
 
12511
 
  cygwin*)
12512
 
    lt_cv_dlopen="dlopen"
12513
 
    lt_cv_dlopen_libs=
12514
 
   ;;
12515
 
 
12516
 
  darwin*)
12517
 
  # if libdl is installed we need to link against it
12518
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12519
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12520
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12522
 
else
12523
 
  ac_check_lib_save_LIBS=$LIBS
12524
 
LIBS="-ldl  $LIBS"
12525
 
cat >conftest.$ac_ext <<_ACEOF
12526
 
/* confdefs.h.  */
12527
 
_ACEOF
12528
 
cat confdefs.h >>conftest.$ac_ext
12529
 
cat >>conftest.$ac_ext <<_ACEOF
12530
 
/* end confdefs.h.  */
12531
 
 
12532
 
/* Override any GCC internal prototype to avoid an error.
12533
 
   Use char because int might match the return type of a GCC
12534
 
   builtin and then its argument prototype would still apply.  */
12535
 
#ifdef __cplusplus
12536
 
extern "C"
12537
 
#endif
12538
 
char dlopen ();
12539
 
int
12540
 
main ()
12541
 
{
12542
 
return dlopen ();
12543
 
  ;
12544
 
  return 0;
12545
 
}
12546
 
_ACEOF
12547
 
rm -f conftest.$ac_objext conftest$ac_exeext
12548
 
if { (ac_try="$ac_link"
12549
 
case "(($ac_try" in
12550
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12551
 
  *) ac_try_echo=$ac_try;;
12552
 
esac
12553
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12554
 
  (eval "$ac_link") 2>conftest.er1
12555
 
  ac_status=$?
12556
 
  grep -v '^ *+' conftest.er1 >conftest.err
12557
 
  rm -f conftest.er1
12558
 
  cat conftest.err >&5
12559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560
 
  (exit $ac_status); } && {
12561
 
         test -z "$ac_c_werror_flag" ||
12562
 
         test ! -s conftest.err
12563
 
       } && test -s conftest$ac_exeext &&
12564
 
       $as_test_x conftest$ac_exeext; then
12565
 
  ac_cv_lib_dl_dlopen=yes
12566
 
else
12567
 
  echo "$as_me: failed program was:" >&5
12568
 
sed 's/^/| /' conftest.$ac_ext >&5
12569
 
 
12570
 
        ac_cv_lib_dl_dlopen=no
12571
 
fi
12572
 
 
12573
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12574
 
      conftest$ac_exeext conftest.$ac_ext
12575
 
LIBS=$ac_check_lib_save_LIBS
12576
 
fi
12577
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12578
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12579
 
if test $ac_cv_lib_dl_dlopen = yes; then
12580
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12581
 
else
12582
 
 
12583
 
    lt_cv_dlopen="dyld"
12584
 
    lt_cv_dlopen_libs=
12585
 
    lt_cv_dlopen_self=yes
12586
 
 
12587
 
fi
12588
 
 
12589
 
   ;;
12590
 
 
12591
 
  *)
12592
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
12593
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12594
 
if test "${ac_cv_func_shl_load+set}" = set; then
12595
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12596
 
else
12597
 
  cat >conftest.$ac_ext <<_ACEOF
12598
 
/* confdefs.h.  */
12599
 
_ACEOF
12600
 
cat confdefs.h >>conftest.$ac_ext
12601
 
cat >>conftest.$ac_ext <<_ACEOF
12602
 
/* end confdefs.h.  */
12603
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12604
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12605
 
#define shl_load innocuous_shl_load
12606
 
 
12607
 
/* System header to define __stub macros and hopefully few prototypes,
12608
 
    which can conflict with char shl_load (); below.
12609
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12610
 
    <limits.h> exists even on freestanding compilers.  */
12611
 
 
12612
 
#ifdef __STDC__
12613
 
# include <limits.h>
12614
 
#else
12615
 
# include <assert.h>
12616
 
#endif
12617
 
 
12618
 
#undef shl_load
12619
 
 
12620
 
/* Override any GCC internal prototype to avoid an error.
12621
 
   Use char because int might match the return type of a GCC
12622
 
   builtin and then its argument prototype would still apply.  */
12623
 
#ifdef __cplusplus
12624
 
extern "C"
12625
 
#endif
12626
 
char shl_load ();
12627
 
/* The GNU C library defines this for functions which it implements
12628
 
    to always fail with ENOSYS.  Some functions are actually named
12629
 
    something starting with __ and the normal name is an alias.  */
12630
 
#if defined __stub_shl_load || defined __stub___shl_load
12631
 
choke me
12632
 
#endif
12633
 
 
12634
 
int
12635
 
main ()
12636
 
{
12637
 
return shl_load ();
12638
 
  ;
12639
 
  return 0;
12640
 
}
12641
 
_ACEOF
12642
 
rm -f conftest.$ac_objext conftest$ac_exeext
12643
 
if { (ac_try="$ac_link"
12644
 
case "(($ac_try" in
12645
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12646
 
  *) ac_try_echo=$ac_try;;
12647
 
esac
12648
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12649
 
  (eval "$ac_link") 2>conftest.er1
12650
 
  ac_status=$?
12651
 
  grep -v '^ *+' conftest.er1 >conftest.err
12652
 
  rm -f conftest.er1
12653
 
  cat conftest.err >&5
12654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655
 
  (exit $ac_status); } && {
12656
 
         test -z "$ac_c_werror_flag" ||
12657
 
         test ! -s conftest.err
12658
 
       } && test -s conftest$ac_exeext &&
12659
 
       $as_test_x conftest$ac_exeext; then
12660
 
  ac_cv_func_shl_load=yes
12661
 
else
12662
 
  echo "$as_me: failed program was:" >&5
12663
 
sed 's/^/| /' conftest.$ac_ext >&5
12664
 
 
12665
 
        ac_cv_func_shl_load=no
12666
 
fi
12667
 
 
12668
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12669
 
      conftest$ac_exeext conftest.$ac_ext
12670
 
fi
12671
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12672
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12673
 
if test $ac_cv_func_shl_load = yes; then
12674
 
  lt_cv_dlopen="shl_load"
12675
 
else
12676
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12677
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12678
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12679
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12680
 
else
12681
 
  ac_check_lib_save_LIBS=$LIBS
12682
 
LIBS="-ldld  $LIBS"
12683
 
cat >conftest.$ac_ext <<_ACEOF
12684
 
/* confdefs.h.  */
12685
 
_ACEOF
12686
 
cat confdefs.h >>conftest.$ac_ext
12687
 
cat >>conftest.$ac_ext <<_ACEOF
12688
 
/* end confdefs.h.  */
12689
 
 
12690
 
/* Override any GCC internal prototype to avoid an error.
12691
 
   Use char because int might match the return type of a GCC
12692
 
   builtin and then its argument prototype would still apply.  */
12693
 
#ifdef __cplusplus
12694
 
extern "C"
12695
 
#endif
12696
 
char shl_load ();
12697
 
int
12698
 
main ()
12699
 
{
12700
 
return shl_load ();
12701
 
  ;
12702
 
  return 0;
12703
 
}
12704
 
_ACEOF
12705
 
rm -f conftest.$ac_objext conftest$ac_exeext
12706
 
if { (ac_try="$ac_link"
12707
 
case "(($ac_try" in
12708
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12709
 
  *) ac_try_echo=$ac_try;;
12710
 
esac
12711
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12712
 
  (eval "$ac_link") 2>conftest.er1
12713
 
  ac_status=$?
12714
 
  grep -v '^ *+' conftest.er1 >conftest.err
12715
 
  rm -f conftest.er1
12716
 
  cat conftest.err >&5
12717
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718
 
  (exit $ac_status); } && {
12719
 
         test -z "$ac_c_werror_flag" ||
12720
 
         test ! -s conftest.err
12721
 
       } && test -s conftest$ac_exeext &&
12722
 
       $as_test_x conftest$ac_exeext; then
12723
 
  ac_cv_lib_dld_shl_load=yes
12724
 
else
12725
 
  echo "$as_me: failed program was:" >&5
12726
 
sed 's/^/| /' conftest.$ac_ext >&5
12727
 
 
12728
 
        ac_cv_lib_dld_shl_load=no
12729
 
fi
12730
 
 
12731
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12732
 
      conftest$ac_exeext conftest.$ac_ext
12733
 
LIBS=$ac_check_lib_save_LIBS
12734
 
fi
12735
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12736
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12737
 
if test $ac_cv_lib_dld_shl_load = yes; then
12738
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12739
 
else
12740
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
12741
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12742
 
if test "${ac_cv_func_dlopen+set}" = set; then
12743
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12744
 
else
12745
 
  cat >conftest.$ac_ext <<_ACEOF
12746
 
/* confdefs.h.  */
12747
 
_ACEOF
12748
 
cat confdefs.h >>conftest.$ac_ext
12749
 
cat >>conftest.$ac_ext <<_ACEOF
12750
 
/* end confdefs.h.  */
12751
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12752
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12753
 
#define dlopen innocuous_dlopen
12754
 
 
12755
 
/* System header to define __stub macros and hopefully few prototypes,
12756
 
    which can conflict with char dlopen (); below.
12757
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12758
 
    <limits.h> exists even on freestanding compilers.  */
12759
 
 
12760
 
#ifdef __STDC__
12761
 
# include <limits.h>
12762
 
#else
12763
 
# include <assert.h>
12764
 
#endif
12765
 
 
12766
 
#undef dlopen
12767
 
 
12768
 
/* Override any GCC internal prototype to avoid an error.
12769
 
   Use char because int might match the return type of a GCC
12770
 
   builtin and then its argument prototype would still apply.  */
12771
 
#ifdef __cplusplus
12772
 
extern "C"
12773
 
#endif
12774
 
char dlopen ();
12775
 
/* The GNU C library defines this for functions which it implements
12776
 
    to always fail with ENOSYS.  Some functions are actually named
12777
 
    something starting with __ and the normal name is an alias.  */
12778
 
#if defined __stub_dlopen || defined __stub___dlopen
12779
 
choke me
12780
 
#endif
12781
 
 
12782
 
int
12783
 
main ()
12784
 
{
12785
 
return dlopen ();
12786
 
  ;
12787
 
  return 0;
12788
 
}
12789
 
_ACEOF
12790
 
rm -f conftest.$ac_objext conftest$ac_exeext
12791
 
if { (ac_try="$ac_link"
12792
 
case "(($ac_try" in
12793
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12794
 
  *) ac_try_echo=$ac_try;;
12795
 
esac
12796
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12797
 
  (eval "$ac_link") 2>conftest.er1
12798
 
  ac_status=$?
12799
 
  grep -v '^ *+' conftest.er1 >conftest.err
12800
 
  rm -f conftest.er1
12801
 
  cat conftest.err >&5
12802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803
 
  (exit $ac_status); } && {
12804
 
         test -z "$ac_c_werror_flag" ||
12805
 
         test ! -s conftest.err
12806
 
       } && test -s conftest$ac_exeext &&
12807
 
       $as_test_x conftest$ac_exeext; then
12808
 
  ac_cv_func_dlopen=yes
12809
 
else
12810
 
  echo "$as_me: failed program was:" >&5
12811
 
sed 's/^/| /' conftest.$ac_ext >&5
12812
 
 
12813
 
        ac_cv_func_dlopen=no
12814
 
fi
12815
 
 
12816
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12817
 
      conftest$ac_exeext conftest.$ac_ext
12818
 
fi
12819
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12820
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12821
 
if test $ac_cv_func_dlopen = yes; then
12822
 
  lt_cv_dlopen="dlopen"
12823
 
else
12824
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12825
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12826
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12827
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12828
 
else
12829
 
  ac_check_lib_save_LIBS=$LIBS
12830
 
LIBS="-ldl  $LIBS"
12831
 
cat >conftest.$ac_ext <<_ACEOF
12832
 
/* confdefs.h.  */
12833
 
_ACEOF
12834
 
cat confdefs.h >>conftest.$ac_ext
12835
 
cat >>conftest.$ac_ext <<_ACEOF
12836
 
/* end confdefs.h.  */
12837
 
 
12838
 
/* Override any GCC internal prototype to avoid an error.
12839
 
   Use char because int might match the return type of a GCC
12840
 
   builtin and then its argument prototype would still apply.  */
12841
 
#ifdef __cplusplus
12842
 
extern "C"
12843
 
#endif
12844
 
char dlopen ();
12845
 
int
12846
 
main ()
12847
 
{
12848
 
return dlopen ();
12849
 
  ;
12850
 
  return 0;
12851
 
}
12852
 
_ACEOF
12853
 
rm -f conftest.$ac_objext conftest$ac_exeext
12854
 
if { (ac_try="$ac_link"
12855
 
case "(($ac_try" in
12856
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12857
 
  *) ac_try_echo=$ac_try;;
12858
 
esac
12859
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12860
 
  (eval "$ac_link") 2>conftest.er1
12861
 
  ac_status=$?
12862
 
  grep -v '^ *+' conftest.er1 >conftest.err
12863
 
  rm -f conftest.er1
12864
 
  cat conftest.err >&5
12865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866
 
  (exit $ac_status); } && {
12867
 
         test -z "$ac_c_werror_flag" ||
12868
 
         test ! -s conftest.err
12869
 
       } && test -s conftest$ac_exeext &&
12870
 
       $as_test_x conftest$ac_exeext; then
12871
 
  ac_cv_lib_dl_dlopen=yes
12872
 
else
12873
 
  echo "$as_me: failed program was:" >&5
12874
 
sed 's/^/| /' conftest.$ac_ext >&5
12875
 
 
12876
 
        ac_cv_lib_dl_dlopen=no
12877
 
fi
12878
 
 
12879
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12880
 
      conftest$ac_exeext conftest.$ac_ext
12881
 
LIBS=$ac_check_lib_save_LIBS
12882
 
fi
12883
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12884
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12885
 
if test $ac_cv_lib_dl_dlopen = yes; then
12886
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12887
 
else
12888
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12889
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12890
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12891
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12892
 
else
12893
 
  ac_check_lib_save_LIBS=$LIBS
12894
 
LIBS="-lsvld  $LIBS"
12895
 
cat >conftest.$ac_ext <<_ACEOF
12896
 
/* confdefs.h.  */
12897
 
_ACEOF
12898
 
cat confdefs.h >>conftest.$ac_ext
12899
 
cat >>conftest.$ac_ext <<_ACEOF
12900
 
/* end confdefs.h.  */
12901
 
 
12902
 
/* Override any GCC internal prototype to avoid an error.
12903
 
   Use char because int might match the return type of a GCC
12904
 
   builtin and then its argument prototype would still apply.  */
12905
 
#ifdef __cplusplus
12906
 
extern "C"
12907
 
#endif
12908
 
char dlopen ();
12909
 
int
12910
 
main ()
12911
 
{
12912
 
return dlopen ();
12913
 
  ;
12914
 
  return 0;
12915
 
}
12916
 
_ACEOF
12917
 
rm -f conftest.$ac_objext conftest$ac_exeext
12918
 
if { (ac_try="$ac_link"
12919
 
case "(($ac_try" in
12920
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12921
 
  *) ac_try_echo=$ac_try;;
12922
 
esac
12923
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12924
 
  (eval "$ac_link") 2>conftest.er1
12925
 
  ac_status=$?
12926
 
  grep -v '^ *+' conftest.er1 >conftest.err
12927
 
  rm -f conftest.er1
12928
 
  cat conftest.err >&5
12929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930
 
  (exit $ac_status); } && {
12931
 
         test -z "$ac_c_werror_flag" ||
12932
 
         test ! -s conftest.err
12933
 
       } && test -s conftest$ac_exeext &&
12934
 
       $as_test_x conftest$ac_exeext; then
12935
 
  ac_cv_lib_svld_dlopen=yes
12936
 
else
12937
 
  echo "$as_me: failed program was:" >&5
12938
 
sed 's/^/| /' conftest.$ac_ext >&5
12939
 
 
12940
 
        ac_cv_lib_svld_dlopen=no
12941
 
fi
12942
 
 
12943
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12944
 
      conftest$ac_exeext conftest.$ac_ext
12945
 
LIBS=$ac_check_lib_save_LIBS
12946
 
fi
12947
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12948
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12949
 
if test $ac_cv_lib_svld_dlopen = yes; then
12950
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12951
 
else
12952
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12953
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12954
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12955
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12956
 
else
12957
 
  ac_check_lib_save_LIBS=$LIBS
12958
 
LIBS="-ldld  $LIBS"
12959
 
cat >conftest.$ac_ext <<_ACEOF
12960
 
/* confdefs.h.  */
12961
 
_ACEOF
12962
 
cat confdefs.h >>conftest.$ac_ext
12963
 
cat >>conftest.$ac_ext <<_ACEOF
12964
 
/* end confdefs.h.  */
12965
 
 
12966
 
/* Override any GCC internal prototype to avoid an error.
12967
 
   Use char because int might match the return type of a GCC
12968
 
   builtin and then its argument prototype would still apply.  */
12969
 
#ifdef __cplusplus
12970
 
extern "C"
12971
 
#endif
12972
 
char dld_link ();
12973
 
int
12974
 
main ()
12975
 
{
12976
 
return dld_link ();
12977
 
  ;
12978
 
  return 0;
12979
 
}
12980
 
_ACEOF
12981
 
rm -f conftest.$ac_objext conftest$ac_exeext
12982
 
if { (ac_try="$ac_link"
12983
 
case "(($ac_try" in
12984
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12985
 
  *) ac_try_echo=$ac_try;;
12986
 
esac
12987
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12988
 
  (eval "$ac_link") 2>conftest.er1
12989
 
  ac_status=$?
12990
 
  grep -v '^ *+' conftest.er1 >conftest.err
12991
 
  rm -f conftest.er1
12992
 
  cat conftest.err >&5
12993
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994
 
  (exit $ac_status); } && {
12995
 
         test -z "$ac_c_werror_flag" ||
12996
 
         test ! -s conftest.err
12997
 
       } && test -s conftest$ac_exeext &&
12998
 
       $as_test_x conftest$ac_exeext; then
12999
 
  ac_cv_lib_dld_dld_link=yes
13000
 
else
13001
 
  echo "$as_me: failed program was:" >&5
13002
 
sed 's/^/| /' conftest.$ac_ext >&5
13003
 
 
13004
 
        ac_cv_lib_dld_dld_link=no
13005
 
fi
13006
 
 
13007
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13008
 
      conftest$ac_exeext conftest.$ac_ext
13009
 
LIBS=$ac_check_lib_save_LIBS
13010
 
fi
13011
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13012
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13013
 
if test $ac_cv_lib_dld_dld_link = yes; then
13014
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13015
 
fi
13016
 
 
13017
 
 
13018
 
fi
13019
 
 
13020
 
 
13021
 
fi
13022
 
 
13023
 
 
13024
 
fi
13025
 
 
13026
 
 
13027
 
fi
13028
 
 
13029
 
 
13030
 
fi
13031
 
 
13032
 
    ;;
13033
 
  esac
13034
 
 
13035
 
  if test "x$lt_cv_dlopen" != xno; then
13036
 
    enable_dlopen=yes
13037
 
  else
13038
 
    enable_dlopen=no
13039
 
  fi
13040
 
 
13041
 
  case $lt_cv_dlopen in
13042
 
  dlopen)
13043
 
    save_CPPFLAGS="$CPPFLAGS"
13044
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13045
 
 
13046
 
    save_LDFLAGS="$LDFLAGS"
13047
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13048
 
 
13049
 
    save_LIBS="$LIBS"
13050
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
13051
 
 
13052
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13053
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13054
 
if test "${lt_cv_dlopen_self+set}" = set; then
13055
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13056
 
else
13057
 
          if test "$cross_compiling" = yes; then :
13058
 
  lt_cv_dlopen_self=cross
13059
 
else
13060
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13061
 
  lt_status=$lt_dlunknown
13062
 
  cat > conftest.$ac_ext <<EOF
13063
 
#line 13063 "configure"
13064
 
#include "confdefs.h"
13065
 
 
13066
 
#if HAVE_DLFCN_H
13067
 
#include <dlfcn.h>
13068
 
#endif
13069
 
 
13070
 
#include <stdio.h>
13071
 
 
13072
 
#ifdef RTLD_GLOBAL
13073
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
13074
 
#else
13075
 
#  ifdef DL_GLOBAL
13076
 
#    define LT_DLGLOBAL         DL_GLOBAL
13077
 
#  else
13078
 
#    define LT_DLGLOBAL         0
13079
 
#  endif
13080
 
#endif
13081
 
 
13082
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13083
 
   find out it does not work in some platform. */
13084
 
#ifndef LT_DLLAZY_OR_NOW
13085
 
#  ifdef RTLD_LAZY
13086
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13087
 
#  else
13088
 
#    ifdef DL_LAZY
13089
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
13090
 
#    else
13091
 
#      ifdef RTLD_NOW
13092
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
13093
 
#      else
13094
 
#        ifdef DL_NOW
13095
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
13096
 
#        else
13097
 
#          define LT_DLLAZY_OR_NOW      0
13098
 
#        endif
13099
 
#      endif
13100
 
#    endif
13101
 
#  endif
13102
 
#endif
13103
 
 
13104
 
#ifdef __cplusplus
13105
 
extern "C" void exit (int);
13106
 
#endif
13107
 
 
13108
 
void fnord() { int i=42;}
13109
 
int main ()
13110
 
{
13111
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13112
 
  int status = $lt_dlunknown;
13113
 
 
13114
 
  if (self)
13115
 
    {
13116
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13117
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13118
 
      /* dlclose (self); */
13119
 
    }
13120
 
  else
13121
 
    puts (dlerror ());
13122
 
 
13123
 
    exit (status);
13124
 
}
13125
 
EOF
13126
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13127
 
  (eval $ac_link) 2>&5
13128
 
  ac_status=$?
13129
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13131
 
    (./conftest; exit; ) >&5 2>/dev/null
13132
 
    lt_status=$?
13133
 
    case x$lt_status in
13134
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13135
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13136
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13137
 
    esac
13138
 
  else :
13139
 
    # compilation failed
13140
 
    lt_cv_dlopen_self=no
13141
 
  fi
13142
 
fi
13143
 
rm -fr conftest*
13144
 
 
13145
 
 
13146
 
fi
13147
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13148
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
13149
 
 
13150
 
    if test "x$lt_cv_dlopen_self" = xyes; then
13151
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13152
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13153
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13154
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
13155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13156
 
else
13157
 
          if test "$cross_compiling" = yes; then :
13158
 
  lt_cv_dlopen_self_static=cross
13159
 
else
13160
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13161
 
  lt_status=$lt_dlunknown
13162
 
  cat > conftest.$ac_ext <<EOF
13163
 
#line 13163 "configure"
13164
 
#include "confdefs.h"
13165
 
 
13166
 
#if HAVE_DLFCN_H
13167
 
#include <dlfcn.h>
13168
 
#endif
13169
 
 
13170
 
#include <stdio.h>
13171
 
 
13172
 
#ifdef RTLD_GLOBAL
13173
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
13174
 
#else
13175
 
#  ifdef DL_GLOBAL
13176
 
#    define LT_DLGLOBAL         DL_GLOBAL
13177
 
#  else
13178
 
#    define LT_DLGLOBAL         0
13179
 
#  endif
13180
 
#endif
13181
 
 
13182
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13183
 
   find out it does not work in some platform. */
13184
 
#ifndef LT_DLLAZY_OR_NOW
13185
 
#  ifdef RTLD_LAZY
13186
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13187
 
#  else
13188
 
#    ifdef DL_LAZY
13189
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
13190
 
#    else
13191
 
#      ifdef RTLD_NOW
13192
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
13193
 
#      else
13194
 
#        ifdef DL_NOW
13195
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
13196
 
#        else
13197
 
#          define LT_DLLAZY_OR_NOW      0
13198
 
#        endif
13199
 
#      endif
13200
 
#    endif
13201
 
#  endif
13202
 
#endif
13203
 
 
13204
 
#ifdef __cplusplus
13205
 
extern "C" void exit (int);
13206
 
#endif
13207
 
 
13208
 
void fnord() { int i=42;}
13209
 
int main ()
13210
 
{
13211
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13212
 
  int status = $lt_dlunknown;
13213
 
 
13214
 
  if (self)
13215
 
    {
13216
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13217
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13218
 
      /* dlclose (self); */
13219
 
    }
13220
 
  else
13221
 
    puts (dlerror ());
13222
 
 
13223
 
    exit (status);
13224
 
}
13225
 
EOF
13226
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13227
 
  (eval $ac_link) 2>&5
13228
 
  ac_status=$?
13229
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13231
 
    (./conftest; exit; ) >&5 2>/dev/null
13232
 
    lt_status=$?
13233
 
    case x$lt_status in
13234
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13235
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13236
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13237
 
    esac
13238
 
  else :
13239
 
    # compilation failed
13240
 
    lt_cv_dlopen_self_static=no
13241
 
  fi
13242
 
fi
13243
 
rm -fr conftest*
13244
 
 
13245
 
 
13246
 
fi
13247
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13248
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13249
 
    fi
13250
 
 
13251
 
    CPPFLAGS="$save_CPPFLAGS"
13252
 
    LDFLAGS="$save_LDFLAGS"
13253
 
    LIBS="$save_LIBS"
13254
 
    ;;
13255
 
  esac
13256
 
 
13257
 
  case $lt_cv_dlopen_self in
13258
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13259
 
  *) enable_dlopen_self=unknown ;;
13260
 
  esac
13261
 
 
13262
 
  case $lt_cv_dlopen_self_static in
13263
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13264
 
  *) enable_dlopen_self_static=unknown ;;
13265
 
  esac
13266
 
fi
13267
 
 
13268
 
 
13269
 
# Report which library types will actually be built
13270
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13271
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13272
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
13273
 
echo "${ECHO_T}$can_build_shared" >&6; }
13274
 
 
13275
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13276
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13277
 
test "$can_build_shared" = "no" && enable_shared=no
13278
 
 
13279
 
# On AIX, shared libraries and static libraries use the same namespace, and
13280
 
# are all built from PIC.
13281
 
case $host_os in
13282
 
aix3*)
13283
 
  test "$enable_shared" = yes && enable_static=no
13284
 
  if test -n "$RANLIB"; then
13285
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
13286
 
    postinstall_cmds='$RANLIB $lib'
13287
 
  fi
13288
 
  ;;
13289
 
 
13290
 
aix4* | aix5*)
13291
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13292
 
    test "$enable_shared" = yes && enable_static=no
13293
 
  fi
13294
 
    ;;
13295
 
esac
13296
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
13297
 
echo "${ECHO_T}$enable_shared" >&6; }
13298
 
 
13299
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13300
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13301
 
# Make sure either enable_shared or enable_static is yes.
13302
 
test "$enable_shared" = yes || enable_static=yes
13303
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
13304
 
echo "${ECHO_T}$enable_static" >&6; }
13305
 
 
13306
 
# The else clause should only fire when bootstrapping the
13307
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13308
 
# with your package, and you will get complaints that there are
13309
 
# no rules to generate ltmain.sh.
13310
 
if test -f "$ltmain"; then
13311
 
  # See if we are running on zsh, and set the options which allow our commands through
13312
 
  # without removal of \ escapes.
13313
 
  if test -n "${ZSH_VERSION+set}" ; then
13314
 
    setopt NO_GLOB_SUBST
13315
 
  fi
13316
 
  # Now quote all the things that may contain metacharacters while being
13317
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13318
 
  # variables and quote the copies for generation of the libtool script.
13319
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13320
 
    SED SHELL STRIP \
13321
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13322
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13323
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13324
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13325
 
    lt_cv_sys_global_symbol_to_c_name_address \
13326
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13327
 
    old_postinstall_cmds old_postuninstall_cmds \
13328
 
    compiler \
13329
 
    CC \
13330
 
    LD \
13331
 
    lt_prog_compiler_wl \
13332
 
    lt_prog_compiler_pic \
13333
 
    lt_prog_compiler_static \
13334
 
    lt_prog_compiler_no_builtin_flag \
13335
 
    export_dynamic_flag_spec \
13336
 
    thread_safe_flag_spec \
13337
 
    whole_archive_flag_spec \
13338
 
    enable_shared_with_static_runtimes \
13339
 
    old_archive_cmds \
13340
 
    old_archive_from_new_cmds \
13341
 
    predep_objects \
13342
 
    postdep_objects \
13343
 
    predeps \
13344
 
    postdeps \
13345
 
    compiler_lib_search_path \
13346
 
    archive_cmds \
13347
 
    archive_expsym_cmds \
13348
 
    postinstall_cmds \
13349
 
    postuninstall_cmds \
13350
 
    old_archive_from_expsyms_cmds \
13351
 
    allow_undefined_flag \
13352
 
    no_undefined_flag \
13353
 
    export_symbols_cmds \
13354
 
    hardcode_libdir_flag_spec \
13355
 
    hardcode_libdir_flag_spec_ld \
13356
 
    hardcode_libdir_separator \
13357
 
    hardcode_automatic \
13358
 
    module_cmds \
13359
 
    module_expsym_cmds \
13360
 
    lt_cv_prog_compiler_c_o \
13361
 
    exclude_expsyms \
13362
 
    include_expsyms; do
13363
 
 
13364
 
    case $var in
13365
 
    old_archive_cmds | \
13366
 
    old_archive_from_new_cmds | \
13367
 
    archive_cmds | \
13368
 
    archive_expsym_cmds | \
13369
 
    module_cmds | \
13370
 
    module_expsym_cmds | \
13371
 
    old_archive_from_expsyms_cmds | \
13372
 
    export_symbols_cmds | \
13373
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13374
 
    postinstall_cmds | postuninstall_cmds | \
13375
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13376
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13377
 
      # Double-quote double-evaled strings.
13378
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13379
 
      ;;
13380
 
    *)
13381
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13382
 
      ;;
13383
 
    esac
13384
 
  done
13385
 
 
13386
 
  case $lt_echo in
13387
 
  *'\$0 --fallback-echo"')
13388
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13389
 
    ;;
13390
 
  esac
13391
 
 
13392
 
cfgfile="${ofile}T"
13393
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
13394
 
  $rm -f "$cfgfile"
13395
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
13396
 
echo "$as_me: creating $ofile" >&6;}
13397
 
 
13398
 
  cat <<__EOF__ >> "$cfgfile"
13399
 
#! $SHELL
13400
 
 
13401
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13402
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
13403
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13404
 
#
13405
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
13406
 
# Free Software Foundation, Inc.
13407
 
#
13408
 
# This file is part of GNU Libtool:
13409
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
13410
 
#
13411
 
# This program is free software; you can redistribute it and/or modify
13412
 
# it under the terms of the GNU General Public License as published by
13413
 
# the Free Software Foundation; either version 2 of the License, or
13414
 
# (at your option) any later version.
13415
 
#
13416
 
# This program is distributed in the hope that it will be useful, but
13417
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
13418
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13419
 
# General Public License for more details.
13420
 
#
13421
 
# You should have received a copy of the GNU General Public License
13422
 
# along with this program; if not, write to the Free Software
13423
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13424
 
#
13425
 
# As a special exception to the GNU General Public License, if you
13426
 
# distribute this file as part of a program that contains a
13427
 
# configuration script generated by Autoconf, you may include it under
13428
 
# the same distribution terms that you use for the rest of that program.
13429
 
 
13430
 
# A sed program that does not truncate output.
13431
 
SED=$lt_SED
13432
 
 
13433
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
13434
 
Xsed="$SED -e 1s/^X//"
13435
 
 
13436
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
13437
 
# if CDPATH is set.
13438
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13439
 
 
13440
 
# The names of the tagged configurations supported by this script.
13441
 
available_tags=
13442
 
 
13443
 
# ### BEGIN LIBTOOL CONFIG
13444
 
 
13445
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13446
 
 
13447
 
# Shell to use when invoking shell scripts.
13448
 
SHELL=$lt_SHELL
13449
 
 
13450
 
# Whether or not to build shared libraries.
13451
 
build_libtool_libs=$enable_shared
13452
 
 
13453
 
# Whether or not to build static libraries.
13454
 
build_old_libs=$enable_static
13455
 
 
13456
 
# Whether or not to add -lc for building shared libraries.
13457
 
build_libtool_need_lc=$archive_cmds_need_lc
13458
 
 
13459
 
# Whether or not to disallow shared libs when runtime libs are static
13460
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13461
 
 
13462
 
# Whether or not to optimize for fast installation.
13463
 
fast_install=$enable_fast_install
13464
 
 
13465
 
# The host system.
13466
 
host_alias=$host_alias
13467
 
host=$host
13468
 
host_os=$host_os
13469
 
 
13470
 
# The build system.
13471
 
build_alias=$build_alias
13472
 
build=$build
13473
 
build_os=$build_os
13474
 
 
13475
 
# An echo program that does not interpret backslashes.
13476
 
echo=$lt_echo
13477
 
 
13478
 
# The archiver.
13479
 
AR=$lt_AR
13480
 
AR_FLAGS=$lt_AR_FLAGS
13481
 
 
13482
 
# A C compiler.
13483
 
LTCC=$lt_LTCC
13484
 
 
13485
 
# LTCC compiler flags.
13486
 
LTCFLAGS=$lt_LTCFLAGS
13487
 
 
13488
 
# A language-specific compiler.
13489
 
CC=$lt_compiler
13490
 
 
13491
 
# Is the compiler the GNU C compiler?
13492
 
with_gcc=$GCC
13493
 
 
13494
 
# An ERE matcher.
13495
 
EGREP=$lt_EGREP
13496
 
 
13497
 
# The linker used to build libraries.
13498
 
LD=$lt_LD
13499
 
 
13500
 
# Whether we need hard or soft links.
13501
 
LN_S=$lt_LN_S
13502
 
 
13503
 
# A BSD-compatible nm program.
13504
 
NM=$lt_NM
13505
 
 
13506
 
# A symbol stripping program
13507
 
STRIP=$lt_STRIP
13508
 
 
13509
 
# Used to examine libraries when file_magic_cmd begins "file"
13510
 
MAGIC_CMD=$MAGIC_CMD
13511
 
 
13512
 
# Used on cygwin: DLL creation program.
13513
 
DLLTOOL="$DLLTOOL"
13514
 
 
13515
 
# Used on cygwin: object dumper.
13516
 
OBJDUMP="$OBJDUMP"
13517
 
 
13518
 
# Used on cygwin: assembler.
13519
 
AS="$AS"
13520
 
 
13521
 
# The name of the directory that contains temporary libtool files.
13522
 
objdir=$objdir
13523
 
 
13524
 
# How to create reloadable object files.
13525
 
reload_flag=$lt_reload_flag
13526
 
reload_cmds=$lt_reload_cmds
13527
 
 
13528
 
# How to pass a linker flag through the compiler.
13529
 
wl=$lt_lt_prog_compiler_wl
13530
 
 
13531
 
# Object file suffix (normally "o").
13532
 
objext="$ac_objext"
13533
 
 
13534
 
# Old archive suffix (normally "a").
13535
 
libext="$libext"
13536
 
 
13537
 
# Shared library suffix (normally ".so").
13538
 
shrext_cmds='$shrext_cmds'
13539
 
 
13540
 
# Executable file suffix (normally "").
13541
 
exeext="$exeext"
13542
 
 
13543
 
# Additional compiler flags for building library objects.
13544
 
pic_flag=$lt_lt_prog_compiler_pic
13545
 
pic_mode=$pic_mode
13546
 
 
13547
 
# What is the maximum length of a command?
13548
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13549
 
 
13550
 
# Does compiler simultaneously support -c and -o options?
13551
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13552
 
 
13553
 
# Must we lock files when doing compilation?
13554
 
need_locks=$lt_need_locks
13555
 
 
13556
 
# Do we need the lib prefix for modules?
13557
 
need_lib_prefix=$need_lib_prefix
13558
 
 
13559
 
# Do we need a version for libraries?
13560
 
need_version=$need_version
13561
 
 
13562
 
# Whether dlopen is supported.
13563
 
dlopen_support=$enable_dlopen
13564
 
 
13565
 
# Whether dlopen of programs is supported.
13566
 
dlopen_self=$enable_dlopen_self
13567
 
 
13568
 
# Whether dlopen of statically linked programs is supported.
13569
 
dlopen_self_static=$enable_dlopen_self_static
13570
 
 
13571
 
# Compiler flag to prevent dynamic linking.
13572
 
link_static_flag=$lt_lt_prog_compiler_static
13573
 
 
13574
 
# Compiler flag to turn off builtin functions.
13575
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13576
 
 
13577
 
# Compiler flag to allow reflexive dlopens.
13578
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13579
 
 
13580
 
# Compiler flag to generate shared objects directly from archives.
13581
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
13582
 
 
13583
 
# Compiler flag to generate thread-safe objects.
13584
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
13585
 
 
13586
 
# Library versioning type.
13587
 
version_type=$version_type
13588
 
 
13589
 
# Format of library name prefix.
13590
 
libname_spec=$lt_libname_spec
13591
 
 
13592
 
# List of archive names.  First name is the real one, the rest are links.
13593
 
# The last name is the one that the linker finds with -lNAME.
13594
 
library_names_spec=$lt_library_names_spec
13595
 
 
13596
 
# The coded name of the library, if different from the real name.
13597
 
soname_spec=$lt_soname_spec
13598
 
 
13599
 
# Commands used to build and install an old-style archive.
13600
 
RANLIB=$lt_RANLIB
13601
 
old_archive_cmds=$lt_old_archive_cmds
13602
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13603
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13604
 
 
13605
 
# Create an old-style archive from a shared archive.
13606
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13607
 
 
13608
 
# Create a temporary old-style archive to link instead of a shared archive.
13609
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13610
 
 
13611
 
# Commands used to build and install a shared archive.
13612
 
archive_cmds=$lt_archive_cmds
13613
 
archive_expsym_cmds=$lt_archive_expsym_cmds
13614
 
postinstall_cmds=$lt_postinstall_cmds
13615
 
postuninstall_cmds=$lt_postuninstall_cmds
13616
 
 
13617
 
# Commands used to build a loadable module (assumed same as above if empty)
13618
 
module_cmds=$lt_module_cmds
13619
 
module_expsym_cmds=$lt_module_expsym_cmds
13620
 
 
13621
 
# Commands to strip libraries.
13622
 
old_striplib=$lt_old_striplib
13623
 
striplib=$lt_striplib
13624
 
 
13625
 
# Dependencies to place before the objects being linked to create a
13626
 
# shared library.
13627
 
predep_objects=$lt_predep_objects
13628
 
 
13629
 
# Dependencies to place after the objects being linked to create a
13630
 
# shared library.
13631
 
postdep_objects=$lt_postdep_objects
13632
 
 
13633
 
# Dependencies to place before the objects being linked to create a
13634
 
# shared library.
13635
 
predeps=$lt_predeps
13636
 
 
13637
 
# Dependencies to place after the objects being linked to create a
13638
 
# shared library.
13639
 
postdeps=$lt_postdeps
13640
 
 
13641
 
# The library search path used internally by the compiler when linking
13642
 
# a shared library.
13643
 
compiler_lib_search_path=$lt_compiler_lib_search_path
13644
 
 
13645
 
# Method to check whether dependent libraries are shared objects.
13646
 
deplibs_check_method=$lt_deplibs_check_method
13647
 
 
13648
 
# Command to use when deplibs_check_method == file_magic.
13649
 
file_magic_cmd=$lt_file_magic_cmd
13650
 
 
13651
 
# Flag that allows shared libraries with undefined symbols to be built.
13652
 
allow_undefined_flag=$lt_allow_undefined_flag
13653
 
 
13654
 
# Flag that forces no undefined symbols.
13655
 
no_undefined_flag=$lt_no_undefined_flag
13656
 
 
13657
 
# Commands used to finish a libtool library installation in a directory.
13658
 
finish_cmds=$lt_finish_cmds
13659
 
 
13660
 
# Same as above, but a single script fragment to be evaled but not shown.
13661
 
finish_eval=$lt_finish_eval
13662
 
 
13663
 
# Take the output of nm and produce a listing of raw symbols and C names.
13664
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13665
 
 
13666
 
# Transform the output of nm in a proper C declaration
13667
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13668
 
 
13669
 
# Transform the output of nm in a C name address pair
13670
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13671
 
 
13672
 
# This is the shared library runtime path variable.
13673
 
runpath_var=$runpath_var
13674
 
 
13675
 
# This is the shared library path variable.
13676
 
shlibpath_var=$shlibpath_var
13677
 
 
13678
 
# Is shlibpath searched before the hard-coded library search path?
13679
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13680
 
 
13681
 
# How to hardcode a shared library path into an executable.
13682
 
hardcode_action=$hardcode_action
13683
 
 
13684
 
# Whether we should hardcode library paths into libraries.
13685
 
hardcode_into_libs=$hardcode_into_libs
13686
 
 
13687
 
# Flag to hardcode \$libdir into a binary during linking.
13688
 
# This must work even if \$libdir does not exist.
13689
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13690
 
 
13691
 
# If ld is used when linking, flag to hardcode \$libdir into
13692
 
# a binary during linking. This must work even if \$libdir does
13693
 
# not exist.
13694
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13695
 
 
13696
 
# Whether we need a single -rpath flag with a separated argument.
13697
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13698
 
 
13699
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13700
 
# resulting binary.
13701
 
hardcode_direct=$hardcode_direct
13702
 
 
13703
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13704
 
# resulting binary.
13705
 
hardcode_minus_L=$hardcode_minus_L
13706
 
 
13707
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13708
 
# the resulting binary.
13709
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
13710
 
 
13711
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13712
 
# and all subsequent libraries and executables linked against it.
13713
 
hardcode_automatic=$hardcode_automatic
13714
 
 
13715
 
# Variables whose values should be saved in libtool wrapper scripts and
13716
 
# restored at relink time.
13717
 
variables_saved_for_relink="$variables_saved_for_relink"
13718
 
 
13719
 
# Whether libtool must link a program against all its dependency libraries.
13720
 
link_all_deplibs=$link_all_deplibs
13721
 
 
13722
 
# Compile-time system search path for libraries
13723
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13724
 
 
13725
 
# Run-time system search path for libraries
13726
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13727
 
 
13728
 
# Fix the shell variable \$srcfile for the compiler.
13729
 
fix_srcfile_path="$fix_srcfile_path"
13730
 
 
13731
 
# Set to yes if exported symbols are required.
13732
 
always_export_symbols=$always_export_symbols
13733
 
 
13734
 
# The commands to list exported symbols.
13735
 
export_symbols_cmds=$lt_export_symbols_cmds
13736
 
 
13737
 
# The commands to extract the exported symbol list from a shared archive.
13738
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13739
 
 
13740
 
# Symbols that should not be listed in the preloaded symbols.
13741
 
exclude_expsyms=$lt_exclude_expsyms
13742
 
 
13743
 
# Symbols that must always be exported.
13744
 
include_expsyms=$lt_include_expsyms
13745
 
 
13746
 
# ### END LIBTOOL CONFIG
13747
 
 
13748
 
__EOF__
13749
 
 
13750
 
 
13751
 
  case $host_os in
13752
 
  aix3*)
13753
 
    cat <<\EOF >> "$cfgfile"
13754
 
 
13755
 
# AIX sometimes has problems with the GCC collect2 program.  For some
13756
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
13757
 
# vanish in a puff of smoke.
13758
 
if test "X${COLLECT_NAMES+set}" != Xset; then
13759
 
  COLLECT_NAMES=
13760
 
  export COLLECT_NAMES
13761
 
fi
13762
 
EOF
13763
 
    ;;
13764
 
  esac
13765
 
 
13766
 
  # We use sed instead of cat because bash on DJGPP gets confused if
13767
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13768
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
13769
 
  # is reportedly fixed, but why not run on old versions too?
13770
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13771
 
 
13772
 
  mv -f "$cfgfile" "$ofile" || \
13773
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13774
 
  chmod +x "$ofile"
13775
 
 
13776
 
else
13777
 
  # If there is no Makefile yet, we rely on a make rule to execute
13778
 
  # `config.status --recheck' to rerun these tests and create the
13779
 
  # libtool script then.
13780
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13781
 
  if test -f "$ltmain_in"; then
13782
 
    test -f Makefile && make "$ltmain"
13783
 
  fi
13784
 
fi
13785
 
 
13786
 
 
13787
 
ac_ext=c
13788
 
ac_cpp='$CPP $CPPFLAGS'
13789
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13790
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13791
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13792
 
 
13793
 
CC="$lt_save_CC"
13794
 
 
13795
 
 
13796
 
# Check whether --with-tags was given.
13797
 
if test "${with_tags+set}" = set; then
13798
 
  withval=$with_tags; tagnames="$withval"
13799
 
fi
13800
 
 
13801
 
 
13802
 
if test -f "$ltmain" && test -n "$tagnames"; then
13803
 
  if test ! -f "${ofile}"; then
13804
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13805
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13806
 
  fi
13807
 
 
13808
 
  if test -z "$LTCC"; then
13809
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13810
 
    if test -z "$LTCC"; then
13811
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13812
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13813
 
    else
13814
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13815
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13816
 
    fi
13817
 
  fi
13818
 
  if test -z "$LTCFLAGS"; then
13819
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
13820
 
  fi
13821
 
 
13822
 
  # Extract list of available tagged configurations in $ofile.
13823
 
  # Note that this assumes the entire list is on one line.
13824
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13825
 
 
13826
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13827
 
  for tagname in $tagnames; do
13828
 
    IFS="$lt_save_ifs"
13829
 
    # Check whether tagname contains only valid characters
13830
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13831
 
    "") ;;
13832
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13833
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
13834
 
   { (exit 1); exit 1; }; }
13835
 
        ;;
13836
 
    esac
13837
 
 
13838
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13839
 
    then
13840
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13841
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13842
 
   { (exit 1); exit 1; }; }
13843
 
    fi
13844
 
 
13845
 
    # Update the list of available tags.
13846
 
    if test -n "$tagname"; then
13847
 
      echo appending configuration tag \"$tagname\" to $ofile
13848
 
 
13849
 
      case $tagname in
13850
 
      CXX)
13851
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13852
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13853
 
            (test "X$CXX" != "Xg++"))) ; then
13854
 
          ac_ext=cpp
13855
 
ac_cpp='$CXXCPP $CPPFLAGS'
13856
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13857
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13858
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13859
 
 
13860
 
 
13861
 
 
13862
 
 
13863
 
archive_cmds_need_lc_CXX=no
13864
 
allow_undefined_flag_CXX=
13865
 
always_export_symbols_CXX=no
13866
 
archive_expsym_cmds_CXX=
13867
 
export_dynamic_flag_spec_CXX=
13868
 
hardcode_direct_CXX=no
13869
 
hardcode_libdir_flag_spec_CXX=
13870
 
hardcode_libdir_flag_spec_ld_CXX=
13871
 
hardcode_libdir_separator_CXX=
13872
 
hardcode_minus_L_CXX=no
13873
 
hardcode_shlibpath_var_CXX=unsupported
13874
 
hardcode_automatic_CXX=no
13875
 
module_cmds_CXX=
13876
 
module_expsym_cmds_CXX=
13877
 
link_all_deplibs_CXX=unknown
13878
 
old_archive_cmds_CXX=$old_archive_cmds
13879
 
no_undefined_flag_CXX=
13880
 
whole_archive_flag_spec_CXX=
13881
 
enable_shared_with_static_runtimes_CXX=no
13882
 
 
13883
 
# Dependencies to place before and after the object being linked:
13884
 
predep_objects_CXX=
13885
 
postdep_objects_CXX=
13886
 
predeps_CXX=
13887
 
postdeps_CXX=
13888
 
compiler_lib_search_path_CXX=
13889
 
 
13890
 
# Source file extension for C++ test sources.
13891
 
ac_ext=cpp
13892
 
 
13893
 
# Object file extension for compiled C++ test sources.
13894
 
objext=o
13895
 
objext_CXX=$objext
13896
 
 
13897
 
# Code to be used in simple compile tests
13898
 
lt_simple_compile_test_code="int some_variable = 0;\n"
13899
 
 
13900
 
# Code to be used in simple link tests
13901
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
13902
 
 
13903
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13904
 
 
13905
 
# If no C compiler was specified, use CC.
13906
 
LTCC=${LTCC-"$CC"}
13907
 
 
13908
 
# If no C compiler flags were specified, use CFLAGS.
13909
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13910
 
 
13911
 
# Allow CC to be a program name with arguments.
13912
 
compiler=$CC
13913
 
 
13914
 
 
13915
 
# save warnings/boilerplate of simple test code
13916
 
ac_outfile=conftest.$ac_objext
13917
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13918
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13919
 
_lt_compiler_boilerplate=`cat conftest.err`
13920
 
$rm conftest*
13921
 
 
13922
 
ac_outfile=conftest.$ac_objext
13923
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13924
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13925
 
_lt_linker_boilerplate=`cat conftest.err`
13926
 
$rm conftest*
13927
 
 
13928
 
 
13929
 
# Allow CC to be a program name with arguments.
13930
 
lt_save_CC=$CC
13931
 
lt_save_LD=$LD
13932
 
lt_save_GCC=$GCC
13933
 
GCC=$GXX
13934
 
lt_save_with_gnu_ld=$with_gnu_ld
13935
 
lt_save_path_LD=$lt_cv_path_LD
13936
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13937
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13938
 
else
13939
 
  $as_unset lt_cv_prog_gnu_ld
13940
 
fi
13941
 
if test -n "${lt_cv_path_LDCXX+set}"; then
13942
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
13943
 
else
13944
 
  $as_unset lt_cv_path_LD
13945
 
fi
13946
 
test -z "${LDCXX+set}" || LD=$LDCXX
13947
 
CC=${CXX-"c++"}
13948
 
compiler=$CC
13949
 
compiler_CXX=$CC
13950
 
for cc_temp in $compiler""; do
13951
 
  case $cc_temp in
13952
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13953
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13954
 
    \-*) ;;
13955
 
    *) break;;
13956
 
  esac
13957
 
done
13958
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13959
 
 
13960
 
 
13961
 
# We don't want -fno-exception wen compiling C++ code, so set the
13962
 
# no_builtin_flag separately
13963
 
if test "$GXX" = yes; then
13964
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13965
 
else
13966
 
  lt_prog_compiler_no_builtin_flag_CXX=
13967
 
fi
13968
 
 
13969
 
if test "$GXX" = yes; then
13970
 
  # Set up default GNU C++ configuration
13971
 
 
13972
 
 
13973
 
# Check whether --with-gnu-ld was given.
13974
 
if test "${with_gnu_ld+set}" = set; then
13975
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13976
 
else
13977
 
  with_gnu_ld=no
13978
 
fi
13979
 
 
13980
 
ac_prog=ld
13981
 
if test "$GCC" = yes; then
13982
 
  # Check if gcc -print-prog-name=ld gives a path.
13983
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13984
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13985
 
  case $host in
13986
 
  *-*-mingw*)
13987
 
    # gcc leaves a trailing carriage return which upsets mingw
13988
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13989
 
  *)
13990
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13991
 
  esac
13992
 
  case $ac_prog in
13993
 
    # Accept absolute paths.
13994
 
    [\\/]* | ?:[\\/]*)
13995
 
      re_direlt='/[^/][^/]*/\.\./'
13996
 
      # Canonicalize the pathname of ld
13997
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13998
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13999
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
14000
 
      done
14001
 
      test -z "$LD" && LD="$ac_prog"
14002
 
      ;;
14003
 
  "")
14004
 
    # If it fails, then pretend we aren't using GCC.
14005
 
    ac_prog=ld
14006
 
    ;;
14007
 
  *)
14008
 
    # If it is relative, then search for the first ld in PATH.
14009
 
    with_gnu_ld=unknown
14010
 
    ;;
14011
 
  esac
14012
 
elif test "$with_gnu_ld" = yes; then
14013
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
14014
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
14015
 
else
14016
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14017
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
14018
 
fi
14019
 
if test "${lt_cv_path_LD+set}" = set; then
14020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14021
 
else
14022
 
  if test -z "$LD"; then
14023
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14024
 
  for ac_dir in $PATH; do
14025
 
    IFS="$lt_save_ifs"
14026
 
    test -z "$ac_dir" && ac_dir=.
14027
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14028
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
14029
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
14030
 
      # but apparently some variants of GNU ld only accept -v.
14031
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
14032
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14033
 
      *GNU* | *'with BFD'*)
14034
 
        test "$with_gnu_ld" != no && break
14035
 
        ;;
14036
 
      *)
14037
 
        test "$with_gnu_ld" != yes && break
14038
 
        ;;
14039
 
      esac
14040
 
    fi
14041
 
  done
14042
 
  IFS="$lt_save_ifs"
14043
 
else
14044
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
14045
 
fi
14046
 
fi
14047
 
 
14048
 
LD="$lt_cv_path_LD"
14049
 
if test -n "$LD"; then
14050
 
  { echo "$as_me:$LINENO: result: $LD" >&5
14051
 
echo "${ECHO_T}$LD" >&6; }
14052
 
else
14053
 
  { echo "$as_me:$LINENO: result: no" >&5
14054
 
echo "${ECHO_T}no" >&6; }
14055
 
fi
14056
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14057
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14058
 
   { (exit 1); exit 1; }; }
14059
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14060
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
14061
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
14062
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14063
 
else
14064
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14065
 
case `$LD -v 2>&1 </dev/null` in
14066
 
*GNU* | *'with BFD'*)
14067
 
  lt_cv_prog_gnu_ld=yes
14068
 
  ;;
14069
 
*)
14070
 
  lt_cv_prog_gnu_ld=no
14071
 
  ;;
14072
 
esac
14073
 
fi
14074
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
14075
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
14076
 
with_gnu_ld=$lt_cv_prog_gnu_ld
14077
 
 
14078
 
 
14079
 
 
14080
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
14081
 
  # archiving commands below assume that GNU ld is being used.
14082
 
  if test "$with_gnu_ld" = yes; then
14083
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14084
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14085
 
 
14086
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14087
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14088
 
 
14089
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14090
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14091
 
    #     investigate it a little bit more. (MM)
14092
 
    wlarc='${wl}'
14093
 
 
14094
 
    # ancient GNU ld didn't support --whole-archive et. al.
14095
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
14096
 
        grep 'no-whole-archive' > /dev/null; then
14097
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14098
 
    else
14099
 
      whole_archive_flag_spec_CXX=
14100
 
    fi
14101
 
  else
14102
 
    with_gnu_ld=no
14103
 
    wlarc=
14104
 
 
14105
 
    # A generic and very simple default shared library creation
14106
 
    # command for GNU C++ for the case where it uses the native
14107
 
    # linker, instead of GNU ld.  If possible, this setting should
14108
 
    # overridden to take advantage of the native linker features on
14109
 
    # the platform it is being used on.
14110
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14111
 
  fi
14112
 
 
14113
 
  # Commands to make compiler produce verbose output that lists
14114
 
  # what "hidden" libraries, object files and flags are used when
14115
 
  # linking a shared library.
14116
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14117
 
 
14118
 
else
14119
 
  GXX=no
14120
 
  with_gnu_ld=no
14121
 
  wlarc=
14122
 
fi
14123
 
 
14124
 
# PORTME: fill in a description of your system's C++ link characteristics
14125
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14126
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14127
 
ld_shlibs_CXX=yes
14128
 
case $host_os in
14129
 
  aix3*)
14130
 
    # FIXME: insert proper C++ library support
14131
 
    ld_shlibs_CXX=no
14132
 
    ;;
14133
 
  aix4* | aix5*)
14134
 
    if test "$host_cpu" = ia64; then
14135
 
      # On IA64, the linker does run time linking by default, so we don't
14136
 
      # have to do anything special.
14137
 
      aix_use_runtimelinking=no
14138
 
      exp_sym_flag='-Bexport'
14139
 
      no_entry_flag=""
14140
 
    else
14141
 
      aix_use_runtimelinking=no
14142
 
 
14143
 
      # Test if we are trying to use run time linking or normal
14144
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14145
 
      # need to do runtime linking.
14146
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14147
 
        for ld_flag in $LDFLAGS; do
14148
 
          case $ld_flag in
14149
 
          *-brtl*)
14150
 
            aix_use_runtimelinking=yes
14151
 
            break
14152
 
            ;;
14153
 
          esac
14154
 
        done
14155
 
        ;;
14156
 
      esac
14157
 
 
14158
 
      exp_sym_flag='-bexport'
14159
 
      no_entry_flag='-bnoentry'
14160
 
    fi
14161
 
 
14162
 
    # When large executables or shared objects are built, AIX ld can
14163
 
    # have problems creating the table of contents.  If linking a library
14164
 
    # or program results in "error TOC overflow" add -mminimal-toc to
14165
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14166
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14167
 
 
14168
 
    archive_cmds_CXX=''
14169
 
    hardcode_direct_CXX=yes
14170
 
    hardcode_libdir_separator_CXX=':'
14171
 
    link_all_deplibs_CXX=yes
14172
 
 
14173
 
    if test "$GXX" = yes; then
14174
 
      case $host_os in aix4.[012]|aix4.[012].*)
14175
 
      # We only want to do this on AIX 4.2 and lower, the check
14176
 
      # below for broken collect2 doesn't work under 4.3+
14177
 
        collect2name=`${CC} -print-prog-name=collect2`
14178
 
        if test -f "$collect2name" && \
14179
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14180
 
        then
14181
 
          # We have reworked collect2
14182
 
          hardcode_direct_CXX=yes
14183
 
        else
14184
 
          # We have old collect2
14185
 
          hardcode_direct_CXX=unsupported
14186
 
          # It fails to find uninstalled libraries when the uninstalled
14187
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14188
 
          # to unsupported forces relinking
14189
 
          hardcode_minus_L_CXX=yes
14190
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
14191
 
          hardcode_libdir_separator_CXX=
14192
 
        fi
14193
 
        ;;
14194
 
      esac
14195
 
      shared_flag='-shared'
14196
 
      if test "$aix_use_runtimelinking" = yes; then
14197
 
        shared_flag="$shared_flag "'${wl}-G'
14198
 
      fi
14199
 
    else
14200
 
      # not using gcc
14201
 
      if test "$host_cpu" = ia64; then
14202
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14203
 
        # chokes on -Wl,-G. The following line is correct:
14204
 
        shared_flag='-G'
14205
 
      else
14206
 
        if test "$aix_use_runtimelinking" = yes; then
14207
 
          shared_flag='${wl}-G'
14208
 
        else
14209
 
          shared_flag='${wl}-bM:SRE'
14210
 
        fi
14211
 
      fi
14212
 
    fi
14213
 
 
14214
 
    # It seems that -bexpall does not export symbols beginning with
14215
 
    # underscore (_), so it is better to generate a list of symbols to export.
14216
 
    always_export_symbols_CXX=yes
14217
 
    if test "$aix_use_runtimelinking" = yes; then
14218
 
      # Warning - without using the other runtime loading flags (-brtl),
14219
 
      # -berok will link without error, but may produce a broken library.
14220
 
      allow_undefined_flag_CXX='-berok'
14221
 
      # Determine the default libpath from the value encoded in an empty executable.
14222
 
      cat >conftest.$ac_ext <<_ACEOF
14223
 
/* confdefs.h.  */
14224
 
_ACEOF
14225
 
cat confdefs.h >>conftest.$ac_ext
14226
 
cat >>conftest.$ac_ext <<_ACEOF
14227
 
/* end confdefs.h.  */
14228
 
 
14229
 
int
14230
 
main ()
14231
 
{
14232
 
 
14233
 
  ;
14234
 
  return 0;
14235
 
}
14236
 
_ACEOF
14237
 
rm -f conftest.$ac_objext conftest$ac_exeext
14238
 
if { (ac_try="$ac_link"
14239
 
case "(($ac_try" in
14240
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14241
 
  *) ac_try_echo=$ac_try;;
14242
 
esac
14243
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14244
 
  (eval "$ac_link") 2>conftest.er1
14245
 
  ac_status=$?
14246
 
  grep -v '^ *+' conftest.er1 >conftest.err
14247
 
  rm -f conftest.er1
14248
 
  cat conftest.err >&5
14249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250
 
  (exit $ac_status); } && {
14251
 
         test -z "$ac_cxx_werror_flag" ||
14252
 
         test ! -s conftest.err
14253
 
       } && test -s conftest$ac_exeext &&
14254
 
       $as_test_x conftest$ac_exeext; then
14255
 
 
14256
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14257
 
}'`
14258
 
# Check for a 64-bit object if we didn't find anything.
14259
 
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; }
14260
 
}'`; fi
14261
 
else
14262
 
  echo "$as_me: failed program was:" >&5
14263
 
sed 's/^/| /' conftest.$ac_ext >&5
14264
 
 
14265
 
 
14266
 
fi
14267
 
 
14268
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14269
 
      conftest$ac_exeext conftest.$ac_ext
14270
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14271
 
 
14272
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14273
 
 
14274
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14275
 
     else
14276
 
      if test "$host_cpu" = ia64; then
14277
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14278
 
        allow_undefined_flag_CXX="-z nodefs"
14279
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14280
 
      else
14281
 
        # Determine the default libpath from the value encoded in an empty executable.
14282
 
        cat >conftest.$ac_ext <<_ACEOF
14283
 
/* confdefs.h.  */
14284
 
_ACEOF
14285
 
cat confdefs.h >>conftest.$ac_ext
14286
 
cat >>conftest.$ac_ext <<_ACEOF
14287
 
/* end confdefs.h.  */
14288
 
 
14289
 
int
14290
 
main ()
14291
 
{
14292
 
 
14293
 
  ;
14294
 
  return 0;
14295
 
}
14296
 
_ACEOF
14297
 
rm -f conftest.$ac_objext conftest$ac_exeext
14298
 
if { (ac_try="$ac_link"
14299
 
case "(($ac_try" in
14300
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14301
 
  *) ac_try_echo=$ac_try;;
14302
 
esac
14303
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14304
 
  (eval "$ac_link") 2>conftest.er1
14305
 
  ac_status=$?
14306
 
  grep -v '^ *+' conftest.er1 >conftest.err
14307
 
  rm -f conftest.er1
14308
 
  cat conftest.err >&5
14309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310
 
  (exit $ac_status); } && {
14311
 
         test -z "$ac_cxx_werror_flag" ||
14312
 
         test ! -s conftest.err
14313
 
       } && test -s conftest$ac_exeext &&
14314
 
       $as_test_x conftest$ac_exeext; then
14315
 
 
14316
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14317
 
}'`
14318
 
# Check for a 64-bit object if we didn't find anything.
14319
 
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; }
14320
 
}'`; fi
14321
 
else
14322
 
  echo "$as_me: failed program was:" >&5
14323
 
sed 's/^/| /' conftest.$ac_ext >&5
14324
 
 
14325
 
 
14326
 
fi
14327
 
 
14328
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14329
 
      conftest$ac_exeext conftest.$ac_ext
14330
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14331
 
 
14332
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14333
 
        # Warning - without using the other run time loading flags,
14334
 
        # -berok will link without error, but may produce a broken library.
14335
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
14336
 
        allow_undefined_flag_CXX=' ${wl}-berok'
14337
 
        # Exported symbols can be pulled into shared objects from archives
14338
 
        whole_archive_flag_spec_CXX='$convenience'
14339
 
        archive_cmds_need_lc_CXX=yes
14340
 
        # This is similar to how AIX traditionally builds its shared libraries.
14341
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14342
 
      fi
14343
 
    fi
14344
 
    ;;
14345
 
 
14346
 
  beos*)
14347
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14348
 
      allow_undefined_flag_CXX=unsupported
14349
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14350
 
      # support --undefined.  This deserves some investigation.  FIXME
14351
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14352
 
    else
14353
 
      ld_shlibs_CXX=no
14354
 
    fi
14355
 
    ;;
14356
 
 
14357
 
  chorus*)
14358
 
    case $cc_basename in
14359
 
      *)
14360
 
        # FIXME: insert proper C++ library support
14361
 
        ld_shlibs_CXX=no
14362
 
        ;;
14363
 
    esac
14364
 
    ;;
14365
 
 
14366
 
  cygwin* | mingw* | pw32*)
14367
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14368
 
    # as there is no search path for DLLs.
14369
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
14370
 
    allow_undefined_flag_CXX=unsupported
14371
 
    always_export_symbols_CXX=no
14372
 
    enable_shared_with_static_runtimes_CXX=yes
14373
 
 
14374
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14375
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14376
 
      # If the export-symbols file already is a .def file (1st line
14377
 
      # is EXPORTS), use it as is; otherwise, prepend...
14378
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14379
 
        cp $export_symbols $output_objdir/$soname.def;
14380
 
      else
14381
 
        echo EXPORTS > $output_objdir/$soname.def;
14382
 
        cat $export_symbols >> $output_objdir/$soname.def;
14383
 
      fi~
14384
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14385
 
    else
14386
 
      ld_shlibs_CXX=no
14387
 
    fi
14388
 
  ;;
14389
 
      darwin* | rhapsody*)
14390
 
        case $host_os in
14391
 
        rhapsody* | darwin1.[012])
14392
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
14393
 
         ;;
14394
 
       *) # Darwin 1.3 on
14395
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14396
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14397
 
         else
14398
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
14399
 
             10.[012])
14400
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14401
 
               ;;
14402
 
             10.*)
14403
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
14404
 
               ;;
14405
 
           esac
14406
 
         fi
14407
 
         ;;
14408
 
        esac
14409
 
      archive_cmds_need_lc_CXX=no
14410
 
      hardcode_direct_CXX=no
14411
 
      hardcode_automatic_CXX=yes
14412
 
      hardcode_shlibpath_var_CXX=unsupported
14413
 
      whole_archive_flag_spec_CXX=''
14414
 
      link_all_deplibs_CXX=yes
14415
 
 
14416
 
    if test "$GXX" = yes ; then
14417
 
      lt_int_apple_cc_single_mod=no
14418
 
      output_verbose_link_cmd='echo'
14419
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
14420
 
       lt_int_apple_cc_single_mod=yes
14421
 
      fi
14422
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14423
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14424
 
      else
14425
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14426
 
        fi
14427
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14428
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14429
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14430
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14431
 
          else
14432
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14433
 
          fi
14434
 
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14435
 
      else
14436
 
      case $cc_basename in
14437
 
        xlc*)
14438
 
         output_verbose_link_cmd='echo'
14439
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14440
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14441
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14442
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14443
 
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14444
 
          ;;
14445
 
       *)
14446
 
         ld_shlibs_CXX=no
14447
 
          ;;
14448
 
      esac
14449
 
      fi
14450
 
        ;;
14451
 
 
14452
 
  dgux*)
14453
 
    case $cc_basename in
14454
 
      ec++*)
14455
 
        # FIXME: insert proper C++ library support
14456
 
        ld_shlibs_CXX=no
14457
 
        ;;
14458
 
      ghcx*)
14459
 
        # Green Hills C++ Compiler
14460
 
        # FIXME: insert proper C++ library support
14461
 
        ld_shlibs_CXX=no
14462
 
        ;;
14463
 
      *)
14464
 
        # FIXME: insert proper C++ library support
14465
 
        ld_shlibs_CXX=no
14466
 
        ;;
14467
 
    esac
14468
 
    ;;
14469
 
  freebsd[12]*)
14470
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
14471
 
    ld_shlibs_CXX=no
14472
 
    ;;
14473
 
  freebsd-elf*)
14474
 
    archive_cmds_need_lc_CXX=no
14475
 
    ;;
14476
 
  freebsd* | dragonfly*)
14477
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14478
 
    # conventions
14479
 
    ld_shlibs_CXX=yes
14480
 
    ;;
14481
 
  gnu*)
14482
 
    ;;
14483
 
  hpux9*)
14484
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14485
 
    hardcode_libdir_separator_CXX=:
14486
 
    export_dynamic_flag_spec_CXX='${wl}-E'
14487
 
    hardcode_direct_CXX=yes
14488
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
14489
 
                                # but as the default
14490
 
                                # location of the library.
14491
 
 
14492
 
    case $cc_basename in
14493
 
    CC*)
14494
 
      # FIXME: insert proper C++ library support
14495
 
      ld_shlibs_CXX=no
14496
 
      ;;
14497
 
    aCC*)
14498
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14499
 
      # Commands to make compiler produce verbose output that lists
14500
 
      # what "hidden" libraries, object files and flags are used when
14501
 
      # linking a shared library.
14502
 
      #
14503
 
      # There doesn't appear to be a way to prevent this compiler from
14504
 
      # explicitly linking system object files so we need to strip them
14505
 
      # from the output so that they don't get included in the library
14506
 
      # dependencies.
14507
 
      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'
14508
 
      ;;
14509
 
    *)
14510
 
      if test "$GXX" = yes; then
14511
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14512
 
      else
14513
 
        # FIXME: insert proper C++ library support
14514
 
        ld_shlibs_CXX=no
14515
 
      fi
14516
 
      ;;
14517
 
    esac
14518
 
    ;;
14519
 
  hpux10*|hpux11*)
14520
 
    if test $with_gnu_ld = no; then
14521
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14522
 
      hardcode_libdir_separator_CXX=:
14523
 
 
14524
 
      case $host_cpu in
14525
 
      hppa*64*|ia64*)
14526
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
14527
 
        ;;
14528
 
      *)
14529
 
        export_dynamic_flag_spec_CXX='${wl}-E'
14530
 
        ;;
14531
 
      esac
14532
 
    fi
14533
 
    case $host_cpu in
14534
 
    hppa*64*|ia64*)
14535
 
      hardcode_direct_CXX=no
14536
 
      hardcode_shlibpath_var_CXX=no
14537
 
      ;;
14538
 
    *)
14539
 
      hardcode_direct_CXX=yes
14540
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
14541
 
                                              # but as the default
14542
 
                                              # location of the library.
14543
 
      ;;
14544
 
    esac
14545
 
 
14546
 
    case $cc_basename in
14547
 
      CC*)
14548
 
        # FIXME: insert proper C++ library support
14549
 
        ld_shlibs_CXX=no
14550
 
        ;;
14551
 
      aCC*)
14552
 
        case $host_cpu in
14553
 
        hppa*64*)
14554
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14555
 
          ;;
14556
 
        ia64*)
14557
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14558
 
          ;;
14559
 
        *)
14560
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14561
 
          ;;
14562
 
        esac
14563
 
        # Commands to make compiler produce verbose output that lists
14564
 
        # what "hidden" libraries, object files and flags are used when
14565
 
        # linking a shared library.
14566
 
        #
14567
 
        # There doesn't appear to be a way to prevent this compiler from
14568
 
        # explicitly linking system object files so we need to strip them
14569
 
        # from the output so that they don't get included in the library
14570
 
        # dependencies.
14571
 
        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'
14572
 
        ;;
14573
 
      *)
14574
 
        if test "$GXX" = yes; then
14575
 
          if test $with_gnu_ld = no; then
14576
 
            case $host_cpu in
14577
 
            hppa*64*)
14578
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14579
 
              ;;
14580
 
            ia64*)
14581
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14582
 
              ;;
14583
 
            *)
14584
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14585
 
              ;;
14586
 
            esac
14587
 
          fi
14588
 
        else
14589
 
          # FIXME: insert proper C++ library support
14590
 
          ld_shlibs_CXX=no
14591
 
        fi
14592
 
        ;;
14593
 
    esac
14594
 
    ;;
14595
 
  interix3*)
14596
 
    hardcode_direct_CXX=no
14597
 
    hardcode_shlibpath_var_CXX=no
14598
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14599
 
    export_dynamic_flag_spec_CXX='${wl}-E'
14600
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14601
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
14602
 
    # default) and relocated if they conflict, which is a slow very memory
14603
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
14604
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14605
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14606
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14607
 
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14608
 
    ;;
14609
 
  irix5* | irix6*)
14610
 
    case $cc_basename in
14611
 
      CC*)
14612
 
        # SGI C++
14613
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14614
 
 
14615
 
        # Archives containing C++ object files must be created using
14616
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14617
 
        # necessary to make sure instantiated templates are included
14618
 
        # in the archive.
14619
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14620
 
        ;;
14621
 
      *)
14622
 
        if test "$GXX" = yes; then
14623
 
          if test "$with_gnu_ld" = no; then
14624
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14625
 
          else
14626
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
14627
 
          fi
14628
 
        fi
14629
 
        link_all_deplibs_CXX=yes
14630
 
        ;;
14631
 
    esac
14632
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14633
 
    hardcode_libdir_separator_CXX=:
14634
 
    ;;
14635
 
  linux* | k*bsd*-gnu)
14636
 
    case $cc_basename in
14637
 
      KCC*)
14638
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14639
 
 
14640
 
        # KCC will only create a shared library if the output file
14641
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14642
 
        # to its proper name (with version) after linking.
14643
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14644
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14645
 
        # Commands to make compiler produce verbose output that lists
14646
 
        # what "hidden" libraries, object files and flags are used when
14647
 
        # linking a shared library.
14648
 
        #
14649
 
        # There doesn't appear to be a way to prevent this compiler from
14650
 
        # explicitly linking system object files so we need to strip them
14651
 
        # from the output so that they don't get included in the library
14652
 
        # dependencies.
14653
 
        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'
14654
 
 
14655
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
14656
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14657
 
 
14658
 
        # Archives containing C++ object files must be created using
14659
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14660
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14661
 
        ;;
14662
 
      icpc*)
14663
 
        # Intel C++
14664
 
        with_gnu_ld=yes
14665
 
        # version 8.0 and above of icpc choke on multiply defined symbols
14666
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
14667
 
        # earlier do not add the objects themselves.
14668
 
        case `$CC -V 2>&1` in
14669
 
        *"Version 7."*)
14670
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14671
 
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14672
 
          ;;
14673
 
        *)  # Version 8.0 or newer
14674
 
          tmp_idyn=
14675
 
          case $host_cpu in
14676
 
            ia64*) tmp_idyn=' -i_dynamic';;
14677
 
          esac
14678
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14679
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14680
 
          ;;
14681
 
        esac
14682
 
        archive_cmds_need_lc_CXX=no
14683
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14684
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14685
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14686
 
        ;;
14687
 
      pgCC*)
14688
 
        # Portland Group C++ compiler
14689
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14690
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14691
 
 
14692
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14693
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14694
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14695
 
        ;;
14696
 
      cxx*)
14697
 
        # Compaq C++
14698
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14699
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14700
 
 
14701
 
        runpath_var=LD_RUN_PATH
14702
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14703
 
        hardcode_libdir_separator_CXX=:
14704
 
 
14705
 
        # Commands to make compiler produce verbose output that lists
14706
 
        # what "hidden" libraries, object files and flags are used when
14707
 
        # linking a shared library.
14708
 
        #
14709
 
        # There doesn't appear to be a way to prevent this compiler from
14710
 
        # explicitly linking system object files so we need to strip them
14711
 
        # from the output so that they don't get included in the library
14712
 
        # dependencies.
14713
 
        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'
14714
 
        ;;
14715
 
    esac
14716
 
    ;;
14717
 
  lynxos*)
14718
 
    # FIXME: insert proper C++ library support
14719
 
    ld_shlibs_CXX=no
14720
 
    ;;
14721
 
  m88k*)
14722
 
    # FIXME: insert proper C++ library support
14723
 
    ld_shlibs_CXX=no
14724
 
    ;;
14725
 
  mvs*)
14726
 
    case $cc_basename in
14727
 
      cxx*)
14728
 
        # FIXME: insert proper C++ library support
14729
 
        ld_shlibs_CXX=no
14730
 
        ;;
14731
 
      *)
14732
 
        # FIXME: insert proper C++ library support
14733
 
        ld_shlibs_CXX=no
14734
 
        ;;
14735
 
    esac
14736
 
    ;;
14737
 
  netbsd* | netbsdelf*-gnu)
14738
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14739
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14740
 
      wlarc=
14741
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
14742
 
      hardcode_direct_CXX=yes
14743
 
      hardcode_shlibpath_var_CXX=no
14744
 
    fi
14745
 
    # Workaround some broken pre-1.5 toolchains
14746
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14747
 
    ;;
14748
 
  openbsd2*)
14749
 
    # C++ shared libraries are fairly broken
14750
 
    ld_shlibs_CXX=no
14751
 
    ;;
14752
 
  openbsd*)
14753
 
    hardcode_direct_CXX=yes
14754
 
    hardcode_shlibpath_var_CXX=no
14755
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14756
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14757
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14758
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14759
 
      export_dynamic_flag_spec_CXX='${wl}-E'
14760
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14761
 
    fi
14762
 
    output_verbose_link_cmd='echo'
14763
 
    ;;
14764
 
  osf3*)
14765
 
    case $cc_basename in
14766
 
      KCC*)
14767
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14768
 
 
14769
 
        # KCC will only create a shared library if the output file
14770
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14771
 
        # to its proper name (with version) after linking.
14772
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14773
 
 
14774
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14775
 
        hardcode_libdir_separator_CXX=:
14776
 
 
14777
 
        # Archives containing C++ object files must be created using
14778
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14779
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14780
 
 
14781
 
        ;;
14782
 
      RCC*)
14783
 
        # Rational C++ 2.4.1
14784
 
        # FIXME: insert proper C++ library support
14785
 
        ld_shlibs_CXX=no
14786
 
        ;;
14787
 
      cxx*)
14788
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14789
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14790
 
 
14791
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14792
 
        hardcode_libdir_separator_CXX=:
14793
 
 
14794
 
        # Commands to make compiler produce verbose output that lists
14795
 
        # what "hidden" libraries, object files and flags are used when
14796
 
        # linking a shared library.
14797
 
        #
14798
 
        # There doesn't appear to be a way to prevent this compiler from
14799
 
        # explicitly linking system object files so we need to strip them
14800
 
        # from the output so that they don't get included in the library
14801
 
        # dependencies.
14802
 
        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'
14803
 
        ;;
14804
 
      *)
14805
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14806
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14807
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14808
 
 
14809
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14810
 
          hardcode_libdir_separator_CXX=:
14811
 
 
14812
 
          # Commands to make compiler produce verbose output that lists
14813
 
          # what "hidden" libraries, object files and flags are used when
14814
 
          # linking a shared library.
14815
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14816
 
 
14817
 
        else
14818
 
          # FIXME: insert proper C++ library support
14819
 
          ld_shlibs_CXX=no
14820
 
        fi
14821
 
        ;;
14822
 
    esac
14823
 
    ;;
14824
 
  osf4* | osf5*)
14825
 
    case $cc_basename in
14826
 
      KCC*)
14827
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14828
 
 
14829
 
        # KCC will only create a shared library if the output file
14830
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14831
 
        # to its proper name (with version) after linking.
14832
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14833
 
 
14834
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14835
 
        hardcode_libdir_separator_CXX=:
14836
 
 
14837
 
        # Archives containing C++ object files must be created using
14838
 
        # the KAI C++ compiler.
14839
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14840
 
        ;;
14841
 
      RCC*)
14842
 
        # Rational C++ 2.4.1
14843
 
        # FIXME: insert proper C++ library support
14844
 
        ld_shlibs_CXX=no
14845
 
        ;;
14846
 
      cxx*)
14847
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
14848
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14849
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14850
 
          echo "-hidden">> $lib.exp~
14851
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
14852
 
          $rm $lib.exp'
14853
 
 
14854
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14855
 
        hardcode_libdir_separator_CXX=:
14856
 
 
14857
 
        # Commands to make compiler produce verbose output that lists
14858
 
        # what "hidden" libraries, object files and flags are used when
14859
 
        # linking a shared library.
14860
 
        #
14861
 
        # There doesn't appear to be a way to prevent this compiler from
14862
 
        # explicitly linking system object files so we need to strip them
14863
 
        # from the output so that they don't get included in the library
14864
 
        # dependencies.
14865
 
        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'
14866
 
        ;;
14867
 
      *)
14868
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14869
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14870
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14871
 
 
14872
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14873
 
          hardcode_libdir_separator_CXX=:
14874
 
 
14875
 
          # Commands to make compiler produce verbose output that lists
14876
 
          # what "hidden" libraries, object files and flags are used when
14877
 
          # linking a shared library.
14878
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14879
 
 
14880
 
        else
14881
 
          # FIXME: insert proper C++ library support
14882
 
          ld_shlibs_CXX=no
14883
 
        fi
14884
 
        ;;
14885
 
    esac
14886
 
    ;;
14887
 
  psos*)
14888
 
    # FIXME: insert proper C++ library support
14889
 
    ld_shlibs_CXX=no
14890
 
    ;;
14891
 
  sunos4*)
14892
 
    case $cc_basename in
14893
 
      CC*)
14894
 
        # Sun C++ 4.x
14895
 
        # FIXME: insert proper C++ library support
14896
 
        ld_shlibs_CXX=no
14897
 
        ;;
14898
 
      lcc*)
14899
 
        # Lucid
14900
 
        # FIXME: insert proper C++ library support
14901
 
        ld_shlibs_CXX=no
14902
 
        ;;
14903
 
      *)
14904
 
        # FIXME: insert proper C++ library support
14905
 
        ld_shlibs_CXX=no
14906
 
        ;;
14907
 
    esac
14908
 
    ;;
14909
 
  solaris*)
14910
 
    case $cc_basename in
14911
 
      CC*)
14912
 
        # Sun C++ 4.2, 5.x and Centerline C++
14913
 
        archive_cmds_need_lc_CXX=yes
14914
 
        no_undefined_flag_CXX=' -zdefs'
14915
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14916
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14917
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14918
 
 
14919
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
14920
 
        hardcode_shlibpath_var_CXX=no
14921
 
        case $host_os in
14922
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
14923
 
          *)
14924
 
            # The C++ compiler is used as linker so we must use $wl
14925
 
            # flag to pass the commands to the underlying system
14926
 
            # linker. We must also pass each convience library through
14927
 
            # to the system linker between allextract/defaultextract.
14928
 
            # The C++ compiler will combine linker options so we
14929
 
            # cannot just pass the convience library names through
14930
 
            # without $wl.
14931
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
14932
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
14933
 
            ;;
14934
 
        esac
14935
 
        link_all_deplibs_CXX=yes
14936
 
 
14937
 
        output_verbose_link_cmd='echo'
14938
 
 
14939
 
        # Archives containing C++ object files must be created using
14940
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14941
 
        # necessary to make sure instantiated templates are included
14942
 
        # in the archive.
14943
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14944
 
        ;;
14945
 
      gcx*)
14946
 
        # Green Hills C++ Compiler
14947
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14948
 
 
14949
 
        # The C++ compiler must be used to create the archive.
14950
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14951
 
        ;;
14952
 
      *)
14953
 
        # GNU C++ compiler with Solaris linker
14954
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14955
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14956
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
14957
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14958
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14959
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14960
 
 
14961
 
            # Commands to make compiler produce verbose output that lists
14962
 
            # what "hidden" libraries, object files and flags are used when
14963
 
            # linking a shared library.
14964
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14965
 
          else
14966
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
14967
 
            # platform.
14968
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14969
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14970
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14971
 
 
14972
 
            # Commands to make compiler produce verbose output that lists
14973
 
            # what "hidden" libraries, object files and flags are used when
14974
 
            # linking a shared library.
14975
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14976
 
          fi
14977
 
 
14978
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14979
 
        fi
14980
 
        ;;
14981
 
    esac
14982
 
    ;;
14983
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14984
 
    no_undefined_flag_CXX='${wl}-z,text'
14985
 
    archive_cmds_need_lc_CXX=no
14986
 
    hardcode_shlibpath_var_CXX=no
14987
 
    runpath_var='LD_RUN_PATH'
14988
 
 
14989
 
    case $cc_basename in
14990
 
      CC*)
14991
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14992
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14993
 
        ;;
14994
 
      *)
14995
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14996
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14997
 
        ;;
14998
 
    esac
14999
 
    ;;
15000
 
  sysv5* | sco3.2v5* | sco5v6*)
15001
 
    # Note: We can NOT use -z defs as we might desire, because we do not
15002
 
    # link with -lc, and that would cause any symbols used from libc to
15003
 
    # always be unresolved, which means just about no library would
15004
 
    # ever link correctly.  If we're not using GNU ld we use -z text
15005
 
    # though, which does catch some bad symbols but isn't as heavy-handed
15006
 
    # as -z defs.
15007
 
    # For security reasons, it is highly recommended that you always
15008
 
    # use absolute paths for naming shared libraries, and exclude the
15009
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
15010
 
    # requires that you compile everything twice, which is a pain.
15011
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
15012
 
    # non-empty value in the environment.  Most likely only useful for
15013
 
    # creating official distributions of packages.
15014
 
    # This is a hack until libtool officially supports absolute path
15015
 
    # names for shared libraries.
15016
 
    no_undefined_flag_CXX='${wl}-z,text'
15017
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
15018
 
    archive_cmds_need_lc_CXX=no
15019
 
    hardcode_shlibpath_var_CXX=no
15020
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15021
 
    hardcode_libdir_separator_CXX=':'
15022
 
    link_all_deplibs_CXX=yes
15023
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
15024
 
    runpath_var='LD_RUN_PATH'
15025
 
 
15026
 
    case $cc_basename in
15027
 
      CC*)
15028
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15029
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15030
 
        ;;
15031
 
      *)
15032
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15033
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15034
 
        ;;
15035
 
    esac
15036
 
    ;;
15037
 
  tandem*)
15038
 
    case $cc_basename in
15039
 
      NCC*)
15040
 
        # NonStop-UX NCC 3.20
15041
 
        # FIXME: insert proper C++ library support
15042
 
        ld_shlibs_CXX=no
15043
 
        ;;
15044
 
      *)
15045
 
        # FIXME: insert proper C++ library support
15046
 
        ld_shlibs_CXX=no
15047
 
        ;;
15048
 
    esac
15049
 
    ;;
15050
 
  vxworks*)
15051
 
    # FIXME: insert proper C++ library support
15052
 
    ld_shlibs_CXX=no
15053
 
    ;;
15054
 
  *)
15055
 
    # FIXME: insert proper C++ library support
15056
 
    ld_shlibs_CXX=no
15057
 
    ;;
15058
 
esac
15059
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15060
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15061
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
15062
 
 
15063
 
GCC_CXX="$GXX"
15064
 
LD_CXX="$LD"
15065
 
 
15066
 
## CAVEAT EMPTOR:
15067
 
## There is no encapsulation within the following macros, do not change
15068
 
## the running order or otherwise move them around unless you know exactly
15069
 
## what you are doing...
15070
 
 
15071
 
cat > conftest.$ac_ext <<EOF
15072
 
class Foo
15073
 
{
15074
 
public:
15075
 
  Foo (void) { a = 0; }
15076
 
private:
15077
 
  int a;
15078
 
};
15079
 
EOF
15080
 
 
15081
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15082
 
  (eval $ac_compile) 2>&5
15083
 
  ac_status=$?
15084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085
 
  (exit $ac_status); }; then
15086
 
  # Parse the compiler output and extract the necessary
15087
 
  # objects, libraries and library flags.
15088
 
 
15089
 
  # Sentinel used to keep track of whether or not we are before
15090
 
  # the conftest object file.
15091
 
  pre_test_object_deps_done=no
15092
 
 
15093
 
  # The `*' in the case matches for architectures that use `case' in
15094
 
  # $output_verbose_cmd can trigger glob expansion during the loop
15095
 
  # eval without this substitution.
15096
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
15097
 
 
15098
 
  for p in `eval $output_verbose_link_cmd`; do
15099
 
    case $p in
15100
 
 
15101
 
    -L* | -R* | -l*)
15102
 
       # Some compilers place space between "-{L,R}" and the path.
15103
 
       # Remove the space.
15104
 
       if test $p = "-L" \
15105
 
          || test $p = "-R"; then
15106
 
         prev=$p
15107
 
         continue
15108
 
       else
15109
 
         prev=
15110
 
       fi
15111
 
 
15112
 
       if test "$pre_test_object_deps_done" = no; then
15113
 
         case $p in
15114
 
         -L* | -R*)
15115
 
           # Internal compiler library paths should come after those
15116
 
           # provided the user.  The postdeps already come after the
15117
 
           # user supplied libs so there is no need to process them.
15118
 
           if test -z "$compiler_lib_search_path_CXX"; then
15119
 
             compiler_lib_search_path_CXX="${prev}${p}"
15120
 
           else
15121
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15122
 
           fi
15123
 
           ;;
15124
 
         # The "-l" case would never come before the object being
15125
 
         # linked, so don't bother handling this case.
15126
 
         esac
15127
 
       else
15128
 
         if test -z "$postdeps_CXX"; then
15129
 
           postdeps_CXX="${prev}${p}"
15130
 
         else
15131
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15132
 
         fi
15133
 
       fi
15134
 
       ;;
15135
 
 
15136
 
    *.$objext)
15137
 
       # This assumes that the test object file only shows up
15138
 
       # once in the compiler output.
15139
 
       if test "$p" = "conftest.$objext"; then
15140
 
         pre_test_object_deps_done=yes
15141
 
         continue
15142
 
       fi
15143
 
 
15144
 
       if test "$pre_test_object_deps_done" = no; then
15145
 
         if test -z "$predep_objects_CXX"; then
15146
 
           predep_objects_CXX="$p"
15147
 
         else
15148
 
           predep_objects_CXX="$predep_objects_CXX $p"
15149
 
         fi
15150
 
       else
15151
 
         if test -z "$postdep_objects_CXX"; then
15152
 
           postdep_objects_CXX="$p"
15153
 
         else
15154
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
15155
 
         fi
15156
 
       fi
15157
 
       ;;
15158
 
 
15159
 
    *) ;; # Ignore the rest.
15160
 
 
15161
 
    esac
15162
 
  done
15163
 
 
15164
 
  # Clean up.
15165
 
  rm -f a.out a.exe
15166
 
else
15167
 
  echo "libtool.m4: error: problem compiling CXX test program"
15168
 
fi
15169
 
 
15170
 
$rm -f confest.$objext
15171
 
 
15172
 
# PORTME: override above test on systems where it is broken
15173
 
case $host_os in
15174
 
interix3*)
15175
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15176
 
  # hack all around it, let's just trust "g++" to DTRT.
15177
 
  predep_objects_CXX=
15178
 
  postdep_objects_CXX=
15179
 
  postdeps_CXX=
15180
 
  ;;
15181
 
 
15182
 
solaris*)
15183
 
  case $cc_basename in
15184
 
  CC*)
15185
 
    # Adding this requires a known-good setup of shared libraries for
15186
 
    # Sun compiler versions before 5.6, else PIC objects from an old
15187
 
    # archive will be linked into the output, leading to subtle bugs.
15188
 
    postdeps_CXX='-lCstd -lCrun'
15189
 
    ;;
15190
 
  esac
15191
 
  ;;
15192
 
esac
15193
 
 
15194
 
 
15195
 
case " $postdeps_CXX " in
15196
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15197
 
esac
15198
 
 
15199
 
lt_prog_compiler_wl_CXX=
15200
 
lt_prog_compiler_pic_CXX=
15201
 
lt_prog_compiler_static_CXX=
15202
 
 
15203
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15204
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15205
 
 
15206
 
  # C++ specific cases for pic, static, wl, etc.
15207
 
  if test "$GXX" = yes; then
15208
 
    lt_prog_compiler_wl_CXX='-Wl,'
15209
 
    lt_prog_compiler_static_CXX='-static'
15210
 
 
15211
 
    case $host_os in
15212
 
    aix*)
15213
 
      # All AIX code is PIC.
15214
 
      if test "$host_cpu" = ia64; then
15215
 
        # AIX 5 now supports IA64 processor
15216
 
        lt_prog_compiler_static_CXX='-Bstatic'
15217
 
      fi
15218
 
      ;;
15219
 
    amigaos*)
15220
 
      # FIXME: we need at least 68020 code to build shared libraries, but
15221
 
      # adding the `-m68020' flag to GCC prevents building anything better,
15222
 
      # like `-m68040'.
15223
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15224
 
      ;;
15225
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15226
 
      # PIC is the default for these OSes.
15227
 
      ;;
15228
 
    mingw* | os2* | pw32*)
15229
 
      # This hack is so that the source file can tell whether it is being
15230
 
      # built for inclusion in a dll (and should export symbols for example).
15231
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15232
 
      ;;
15233
 
    darwin* | rhapsody*)
15234
 
      # PIC is the default on this platform
15235
 
      # Common symbols not allowed in MH_DYLIB files
15236
 
      lt_prog_compiler_pic_CXX='-fno-common'
15237
 
      ;;
15238
 
    *djgpp*)
15239
 
      # DJGPP does not support shared libraries at all
15240
 
      lt_prog_compiler_pic_CXX=
15241
 
      ;;
15242
 
    interix3*)
15243
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15244
 
      # Instead, we relocate shared libraries at runtime.
15245
 
      ;;
15246
 
    sysv4*MP*)
15247
 
      if test -d /usr/nec; then
15248
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
15249
 
      fi
15250
 
      ;;
15251
 
    hpux*)
15252
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15253
 
      # not for PA HP-UX.
15254
 
      case $host_cpu in
15255
 
      hppa*64*|ia64*)
15256
 
        ;;
15257
 
      *)
15258
 
        lt_prog_compiler_pic_CXX='-fPIC'
15259
 
        ;;
15260
 
      esac
15261
 
      ;;
15262
 
    *)
15263
 
      lt_prog_compiler_pic_CXX='-fPIC'
15264
 
      ;;
15265
 
    esac
15266
 
  else
15267
 
    case $host_os in
15268
 
      aix4* | aix5*)
15269
 
        # All AIX code is PIC.
15270
 
        if test "$host_cpu" = ia64; then
15271
 
          # AIX 5 now supports IA64 processor
15272
 
          lt_prog_compiler_static_CXX='-Bstatic'
15273
 
        else
15274
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15275
 
        fi
15276
 
        ;;
15277
 
      chorus*)
15278
 
        case $cc_basename in
15279
 
        cxch68*)
15280
 
          # Green Hills C++ Compiler
15281
 
          # _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"
15282
 
          ;;
15283
 
        esac
15284
 
        ;;
15285
 
       darwin*)
15286
 
         # PIC is the default on this platform
15287
 
         # Common symbols not allowed in MH_DYLIB files
15288
 
         case $cc_basename in
15289
 
           xlc*)
15290
 
           lt_prog_compiler_pic_CXX='-qnocommon'
15291
 
           lt_prog_compiler_wl_CXX='-Wl,'
15292
 
           ;;
15293
 
         esac
15294
 
       ;;
15295
 
      dgux*)
15296
 
        case $cc_basename in
15297
 
          ec++*)
15298
 
            lt_prog_compiler_pic_CXX='-KPIC'
15299
 
            ;;
15300
 
          ghcx*)
15301
 
            # Green Hills C++ Compiler
15302
 
            lt_prog_compiler_pic_CXX='-pic'
15303
 
            ;;
15304
 
          *)
15305
 
            ;;
15306
 
        esac
15307
 
        ;;
15308
 
      freebsd* | dragonfly*)
15309
 
        # FreeBSD uses GNU C++
15310
 
        ;;
15311
 
      hpux9* | hpux10* | hpux11*)
15312
 
        case $cc_basename in
15313
 
          CC*)
15314
 
            lt_prog_compiler_wl_CXX='-Wl,'
15315
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15316
 
            if test "$host_cpu" != ia64; then
15317
 
              lt_prog_compiler_pic_CXX='+Z'
15318
 
            fi
15319
 
            ;;
15320
 
          aCC*)
15321
 
            lt_prog_compiler_wl_CXX='-Wl,'
15322
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15323
 
            case $host_cpu in
15324
 
            hppa*64*|ia64*)
15325
 
              # +Z the default
15326
 
              ;;
15327
 
            *)
15328
 
              lt_prog_compiler_pic_CXX='+Z'
15329
 
              ;;
15330
 
            esac
15331
 
            ;;
15332
 
          *)
15333
 
            ;;
15334
 
        esac
15335
 
        ;;
15336
 
      interix*)
15337
 
        # This is c89, which is MS Visual C++ (no shared libs)
15338
 
        # Anyone wants to do a port?
15339
 
        ;;
15340
 
      irix5* | irix6* | nonstopux*)
15341
 
        case $cc_basename in
15342
 
          CC*)
15343
 
            lt_prog_compiler_wl_CXX='-Wl,'
15344
 
            lt_prog_compiler_static_CXX='-non_shared'
15345
 
            # CC pic flag -KPIC is the default.
15346
 
            ;;
15347
 
          *)
15348
 
            ;;
15349
 
        esac
15350
 
        ;;
15351
 
      linux* | k*bsd*-gnu)
15352
 
        case $cc_basename in
15353
 
          KCC*)
15354
 
            # KAI C++ Compiler
15355
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
15356
 
            lt_prog_compiler_pic_CXX='-fPIC'
15357
 
            ;;
15358
 
          icpc* | ecpc*)
15359
 
            # Intel C++
15360
 
            lt_prog_compiler_wl_CXX='-Wl,'
15361
 
            lt_prog_compiler_pic_CXX='-KPIC'
15362
 
            lt_prog_compiler_static_CXX='-static'
15363
 
            ;;
15364
 
          pgCC*)
15365
 
            # Portland Group C++ compiler.
15366
 
            lt_prog_compiler_wl_CXX='-Wl,'
15367
 
            lt_prog_compiler_pic_CXX='-fpic'
15368
 
            lt_prog_compiler_static_CXX='-Bstatic'
15369
 
            ;;
15370
 
          cxx*)
15371
 
            # Compaq C++
15372
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
15373
 
            # Linux and Compaq Tru64 Unix objects are PIC.
15374
 
            lt_prog_compiler_pic_CXX=
15375
 
            lt_prog_compiler_static_CXX='-non_shared'
15376
 
            ;;
15377
 
          *)
15378
 
            ;;
15379
 
        esac
15380
 
        ;;
15381
 
      lynxos*)
15382
 
        ;;
15383
 
      m88k*)
15384
 
        ;;
15385
 
      mvs*)
15386
 
        case $cc_basename in
15387
 
          cxx*)
15388
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
15389
 
            ;;
15390
 
          *)
15391
 
            ;;
15392
 
        esac
15393
 
        ;;
15394
 
      netbsd* | netbsdelf*-gnu)
15395
 
        ;;
15396
 
      osf3* | osf4* | osf5*)
15397
 
        case $cc_basename in
15398
 
          KCC*)
15399
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
15400
 
            ;;
15401
 
          RCC*)
15402
 
            # Rational C++ 2.4.1
15403
 
            lt_prog_compiler_pic_CXX='-pic'
15404
 
            ;;
15405
 
          cxx*)
15406
 
            # Digital/Compaq C++
15407
 
            lt_prog_compiler_wl_CXX='-Wl,'
15408
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
15409
 
            # Linux and Compaq Tru64 Unix objects are PIC.
15410
 
            lt_prog_compiler_pic_CXX=
15411
 
            lt_prog_compiler_static_CXX='-non_shared'
15412
 
            ;;
15413
 
          *)
15414
 
            ;;
15415
 
        esac
15416
 
        ;;
15417
 
      psos*)
15418
 
        ;;
15419
 
      solaris*)
15420
 
        case $cc_basename in
15421
 
          CC*)
15422
 
            # Sun C++ 4.2, 5.x and Centerline C++
15423
 
            lt_prog_compiler_pic_CXX='-KPIC'
15424
 
            lt_prog_compiler_static_CXX='-Bstatic'
15425
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
15426
 
            ;;
15427
 
          gcx*)
15428
 
            # Green Hills C++ Compiler
15429
 
            lt_prog_compiler_pic_CXX='-PIC'
15430
 
            ;;
15431
 
          *)
15432
 
            ;;
15433
 
        esac
15434
 
        ;;
15435
 
      sunos4*)
15436
 
        case $cc_basename in
15437
 
          CC*)
15438
 
            # Sun C++ 4.x
15439
 
            lt_prog_compiler_pic_CXX='-pic'
15440
 
            lt_prog_compiler_static_CXX='-Bstatic'
15441
 
            ;;
15442
 
          lcc*)
15443
 
            # Lucid
15444
 
            lt_prog_compiler_pic_CXX='-pic'
15445
 
            ;;
15446
 
          *)
15447
 
            ;;
15448
 
        esac
15449
 
        ;;
15450
 
      tandem*)
15451
 
        case $cc_basename in
15452
 
          NCC*)
15453
 
            # NonStop-UX NCC 3.20
15454
 
            lt_prog_compiler_pic_CXX='-KPIC'
15455
 
            ;;
15456
 
          *)
15457
 
            ;;
15458
 
        esac
15459
 
        ;;
15460
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15461
 
        case $cc_basename in
15462
 
          CC*)
15463
 
            lt_prog_compiler_wl_CXX='-Wl,'
15464
 
            lt_prog_compiler_pic_CXX='-KPIC'
15465
 
            lt_prog_compiler_static_CXX='-Bstatic'
15466
 
            ;;
15467
 
        esac
15468
 
        ;;
15469
 
      vxworks*)
15470
 
        ;;
15471
 
      *)
15472
 
        lt_prog_compiler_can_build_shared_CXX=no
15473
 
        ;;
15474
 
    esac
15475
 
  fi
15476
 
 
15477
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15478
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
15479
 
 
15480
 
#
15481
 
# Check to make sure the PIC flag actually works.
15482
 
#
15483
 
if test -n "$lt_prog_compiler_pic_CXX"; then
15484
 
 
15485
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15486
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
15487
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
15488
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15489
 
else
15490
 
  lt_prog_compiler_pic_works_CXX=no
15491
 
  ac_outfile=conftest.$ac_objext
15492
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15493
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15494
 
   # Insert the option either (1) after the last *FLAGS variable, or
15495
 
   # (2) before a word containing "conftest.", or (3) at the end.
15496
 
   # Note that $ac_compile itself does not contain backslashes and begins
15497
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15498
 
   # The option is referenced via a variable to avoid confusing sed.
15499
 
   lt_compile=`echo "$ac_compile" | $SED \
15500
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15501
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15502
 
   -e 's:$: $lt_compiler_flag:'`
15503
 
   (eval echo "\"\$as_me:15503: $lt_compile\"" >&5)
15504
 
   (eval "$lt_compile" 2>conftest.err)
15505
 
   ac_status=$?
15506
 
   cat conftest.err >&5
15507
 
   echo "$as_me:15507: \$? = $ac_status" >&5
15508
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15509
 
     # The compiler can only warn and ignore the option if not recognized
15510
 
     # So say no if there are warnings other than the usual output.
15511
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15512
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15513
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15514
 
       lt_prog_compiler_pic_works_CXX=yes
15515
 
     fi
15516
 
   fi
15517
 
   $rm conftest*
15518
 
 
15519
 
fi
15520
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15521
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
15522
 
 
15523
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
15524
 
    case $lt_prog_compiler_pic_CXX in
15525
 
     "" | " "*) ;;
15526
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15527
 
     esac
15528
 
else
15529
 
    lt_prog_compiler_pic_CXX=
15530
 
     lt_prog_compiler_can_build_shared_CXX=no
15531
 
fi
15532
 
 
15533
 
fi
15534
 
case $host_os in
15535
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15536
 
  *djgpp*)
15537
 
    lt_prog_compiler_pic_CXX=
15538
 
    ;;
15539
 
  *)
15540
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15541
 
    ;;
15542
 
esac
15543
 
 
15544
 
#
15545
 
# Check to make sure the static flag actually works.
15546
 
#
15547
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15548
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15549
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15550
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
15551
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15552
 
else
15553
 
  lt_prog_compiler_static_works_CXX=no
15554
 
   save_LDFLAGS="$LDFLAGS"
15555
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15556
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
15557
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15558
 
     # The linker can only warn and ignore the option if not recognized
15559
 
     # So say no if there are warnings
15560
 
     if test -s conftest.err; then
15561
 
       # Append any errors to the config.log.
15562
 
       cat conftest.err 1>&5
15563
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15564
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15565
 
       if diff conftest.exp conftest.er2 >/dev/null; then
15566
 
         lt_prog_compiler_static_works_CXX=yes
15567
 
       fi
15568
 
     else
15569
 
       lt_prog_compiler_static_works_CXX=yes
15570
 
     fi
15571
 
   fi
15572
 
   $rm conftest*
15573
 
   LDFLAGS="$save_LDFLAGS"
15574
 
 
15575
 
fi
15576
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
15577
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
15578
 
 
15579
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
15580
 
    :
15581
 
else
15582
 
    lt_prog_compiler_static_CXX=
15583
 
fi
15584
 
 
15585
 
 
15586
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15587
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15588
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15589
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15590
 
else
15591
 
  lt_cv_prog_compiler_c_o_CXX=no
15592
 
   $rm -r conftest 2>/dev/null
15593
 
   mkdir conftest
15594
 
   cd conftest
15595
 
   mkdir out
15596
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15597
 
 
15598
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15599
 
   # Insert the option either (1) after the last *FLAGS variable, or
15600
 
   # (2) before a word containing "conftest.", or (3) at the end.
15601
 
   # Note that $ac_compile itself does not contain backslashes and begins
15602
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15603
 
   lt_compile=`echo "$ac_compile" | $SED \
15604
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15605
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15606
 
   -e 's:$: $lt_compiler_flag:'`
15607
 
   (eval echo "\"\$as_me:15607: $lt_compile\"" >&5)
15608
 
   (eval "$lt_compile" 2>out/conftest.err)
15609
 
   ac_status=$?
15610
 
   cat out/conftest.err >&5
15611
 
   echo "$as_me:15611: \$? = $ac_status" >&5
15612
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15613
 
   then
15614
 
     # The compiler can only warn and ignore the option if not recognized
15615
 
     # So say no if there are warnings
15616
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15617
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15618
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15619
 
       lt_cv_prog_compiler_c_o_CXX=yes
15620
 
     fi
15621
 
   fi
15622
 
   chmod u+w . 2>&5
15623
 
   $rm conftest*
15624
 
   # SGI C++ compiler will create directory out/ii_files/ for
15625
 
   # template instantiation
15626
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15627
 
   $rm out/* && rmdir out
15628
 
   cd ..
15629
 
   rmdir conftest
15630
 
   $rm conftest*
15631
 
 
15632
 
fi
15633
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15634
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
15635
 
 
15636
 
 
15637
 
hard_links="nottested"
15638
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15639
 
  # do not overwrite the value of need_locks provided by the user
15640
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15641
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15642
 
  hard_links=yes
15643
 
  $rm conftest*
15644
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15645
 
  touch conftest.a
15646
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15647
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15648
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15649
 
echo "${ECHO_T}$hard_links" >&6; }
15650
 
  if test "$hard_links" = no; then
15651
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15652
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15653
 
    need_locks=warn
15654
 
  fi
15655
 
else
15656
 
  need_locks=no
15657
 
fi
15658
 
 
15659
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15660
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15661
 
 
15662
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15663
 
  case $host_os in
15664
 
  aix4* | aix5*)
15665
 
    # If we're using GNU nm, then we don't want the "-C" option.
15666
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
15667
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15668
 
      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'
15669
 
    else
15670
 
      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'
15671
 
    fi
15672
 
    ;;
15673
 
  pw32*)
15674
 
    export_symbols_cmds_CXX="$ltdll_cmds"
15675
 
  ;;
15676
 
  cygwin* | mingw*)
15677
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15678
 
  ;;
15679
 
  linux* | k*bsd*-gnu)
15680
 
    link_all_deplibs_CXX=no
15681
 
  ;;
15682
 
  *)
15683
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15684
 
  ;;
15685
 
  esac
15686
 
 
15687
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15688
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15689
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
15690
 
 
15691
 
#
15692
 
# Do we need to explicitly link libc?
15693
 
#
15694
 
case "x$archive_cmds_need_lc_CXX" in
15695
 
x|xyes)
15696
 
  # Assume -lc should be added
15697
 
  archive_cmds_need_lc_CXX=yes
15698
 
 
15699
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15700
 
    case $archive_cmds_CXX in
15701
 
    *'~'*)
15702
 
      # FIXME: we may have to deal with multi-command sequences.
15703
 
      ;;
15704
 
    '$CC '*)
15705
 
      # Test whether the compiler implicitly links with -lc since on some
15706
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15707
 
      # to ld, don't add -lc before -lgcc.
15708
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15709
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15710
 
      $rm conftest*
15711
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15712
 
 
15713
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15714
 
  (eval $ac_compile) 2>&5
15715
 
  ac_status=$?
15716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717
 
  (exit $ac_status); } 2>conftest.err; then
15718
 
        soname=conftest
15719
 
        lib=conftest
15720
 
        libobjs=conftest.$ac_objext
15721
 
        deplibs=
15722
 
        wl=$lt_prog_compiler_wl_CXX
15723
 
        pic_flag=$lt_prog_compiler_pic_CXX
15724
 
        compiler_flags=-v
15725
 
        linker_flags=-v
15726
 
        verstring=
15727
 
        output_objdir=.
15728
 
        libname=conftest
15729
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15730
 
        allow_undefined_flag_CXX=
15731
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15732
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15733
 
  ac_status=$?
15734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735
 
  (exit $ac_status); }
15736
 
        then
15737
 
          archive_cmds_need_lc_CXX=no
15738
 
        else
15739
 
          archive_cmds_need_lc_CXX=yes
15740
 
        fi
15741
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15742
 
      else
15743
 
        cat conftest.err 1>&5
15744
 
      fi
15745
 
      $rm conftest*
15746
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15747
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
15748
 
      ;;
15749
 
    esac
15750
 
  fi
15751
 
  ;;
15752
 
esac
15753
 
 
15754
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15755
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15756
 
library_names_spec=
15757
 
libname_spec='lib$name'
15758
 
soname_spec=
15759
 
shrext_cmds=".so"
15760
 
postinstall_cmds=
15761
 
postuninstall_cmds=
15762
 
finish_cmds=
15763
 
finish_eval=
15764
 
shlibpath_var=
15765
 
shlibpath_overrides_runpath=unknown
15766
 
version_type=none
15767
 
dynamic_linker="$host_os ld.so"
15768
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15769
 
if test "$GCC" = yes; then
15770
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15771
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15772
 
    # if the path contains ";" then we assume it to be the separator
15773
 
    # otherwise default to the standard path separator (i.e. ":") - it is
15774
 
    # assumed that no part of a normal pathname contains ";" but that should
15775
 
    # okay in the real world where ";" in dirpaths is itself problematic.
15776
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15777
 
  else
15778
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15779
 
  fi
15780
 
else
15781
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15782
 
fi
15783
 
need_lib_prefix=unknown
15784
 
hardcode_into_libs=no
15785
 
 
15786
 
# when you set need_version to no, make sure it does not cause -set_version
15787
 
# flags to be left without arguments
15788
 
need_version=unknown
15789
 
 
15790
 
case $host_os in
15791
 
aix3*)
15792
 
  version_type=linux
15793
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15794
 
  shlibpath_var=LIBPATH
15795
 
 
15796
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15797
 
  soname_spec='${libname}${release}${shared_ext}$major'
15798
 
  ;;
15799
 
 
15800
 
aix4* | aix5*)
15801
 
  version_type=linux
15802
 
  need_lib_prefix=no
15803
 
  need_version=no
15804
 
  hardcode_into_libs=yes
15805
 
  if test "$host_cpu" = ia64; then
15806
 
    # AIX 5 supports IA64
15807
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15808
 
    shlibpath_var=LD_LIBRARY_PATH
15809
 
  else
15810
 
    # With GCC up to 2.95.x, collect2 would create an import file
15811
 
    # for dependence libraries.  The import file would start with
15812
 
    # the line `#! .'.  This would cause the generated library to
15813
 
    # depend on `.', always an invalid library.  This was fixed in
15814
 
    # development snapshots of GCC prior to 3.0.
15815
 
    case $host_os in
15816
 
      aix4 | aix4.[01] | aix4.[01].*)
15817
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15818
 
           echo ' yes '
15819
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15820
 
        :
15821
 
      else
15822
 
        can_build_shared=no
15823
 
      fi
15824
 
      ;;
15825
 
    esac
15826
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15827
 
    # soname into executable. Probably we can add versioning support to
15828
 
    # collect2, so additional links can be useful in future.
15829
 
    if test "$aix_use_runtimelinking" = yes; then
15830
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15831
 
      # instead of lib<name>.a to let people know that these are not
15832
 
      # typical AIX shared libraries.
15833
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15834
 
    else
15835
 
      # We preserve .a as extension for shared libraries through AIX4.2
15836
 
      # and later when we are not doing run time linking.
15837
 
      library_names_spec='${libname}${release}.a $libname.a'
15838
 
      soname_spec='${libname}${release}${shared_ext}$major'
15839
 
    fi
15840
 
    shlibpath_var=LIBPATH
15841
 
  fi
15842
 
  ;;
15843
 
 
15844
 
amigaos*)
15845
 
  library_names_spec='$libname.ixlibrary $libname.a'
15846
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15847
 
  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'
15848
 
  ;;
15849
 
 
15850
 
beos*)
15851
 
  library_names_spec='${libname}${shared_ext}'
15852
 
  dynamic_linker="$host_os ld.so"
15853
 
  shlibpath_var=LIBRARY_PATH
15854
 
  ;;
15855
 
 
15856
 
bsdi[45]*)
15857
 
  version_type=linux
15858
 
  need_version=no
15859
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15860
 
  soname_spec='${libname}${release}${shared_ext}$major'
15861
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15862
 
  shlibpath_var=LD_LIBRARY_PATH
15863
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15864
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15865
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15866
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15867
 
  # libtool to hard-code these into programs
15868
 
  ;;
15869
 
 
15870
 
cygwin* | mingw* | pw32*)
15871
 
  version_type=windows
15872
 
  shrext_cmds=".dll"
15873
 
  need_version=no
15874
 
  need_lib_prefix=no
15875
 
 
15876
 
  case $GCC,$host_os in
15877
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15878
 
    library_names_spec='$libname.dll.a'
15879
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15880
 
    postinstall_cmds='base_file=`basename \${file}`~
15881
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15882
 
      dldir=$destdir/`dirname \$dlpath`~
15883
 
      test -d \$dldir || mkdir -p \$dldir~
15884
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15885
 
      chmod a+x \$dldir/$dlname'
15886
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15887
 
      dlpath=$dir/\$dldll~
15888
 
       $rm \$dlpath'
15889
 
    shlibpath_overrides_runpath=yes
15890
 
 
15891
 
    case $host_os in
15892
 
    cygwin*)
15893
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15894
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15895
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15896
 
      ;;
15897
 
    mingw*)
15898
 
      # MinGW DLLs use traditional 'lib' prefix
15899
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15900
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15901
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15902
 
        # It is most probably a Windows format PATH printed by
15903
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15904
 
        # path with ; separators, and with drive letters. We can handle the
15905
 
        # drive letters (cygwin fileutils understands them), so leave them,
15906
 
        # especially as we might pass files found there to a mingw objdump,
15907
 
        # which wouldn't understand a cygwinified path. Ahh.
15908
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15909
 
      else
15910
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15911
 
      fi
15912
 
      ;;
15913
 
    pw32*)
15914
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15915
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15916
 
      ;;
15917
 
    esac
15918
 
    ;;
15919
 
 
15920
 
  *)
15921
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15922
 
    ;;
15923
 
  esac
15924
 
  dynamic_linker='Win32 ld.exe'
15925
 
  # FIXME: first we should search . and the directory the executable is in
15926
 
  shlibpath_var=PATH
15927
 
  ;;
15928
 
 
15929
 
darwin* | rhapsody*)
15930
 
  dynamic_linker="$host_os dyld"
15931
 
  version_type=darwin
15932
 
  need_lib_prefix=no
15933
 
  need_version=no
15934
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15935
 
  soname_spec='${libname}${release}${major}$shared_ext'
15936
 
  shlibpath_overrides_runpath=yes
15937
 
  shlibpath_var=DYLD_LIBRARY_PATH
15938
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15939
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15940
 
  if test "$GCC" = yes; then
15941
 
    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"`
15942
 
  else
15943
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15944
 
  fi
15945
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15946
 
  ;;
15947
 
 
15948
 
dgux*)
15949
 
  version_type=linux
15950
 
  need_lib_prefix=no
15951
 
  need_version=no
15952
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15953
 
  soname_spec='${libname}${release}${shared_ext}$major'
15954
 
  shlibpath_var=LD_LIBRARY_PATH
15955
 
  ;;
15956
 
 
15957
 
freebsd1*)
15958
 
  dynamic_linker=no
15959
 
  ;;
15960
 
 
15961
 
freebsd* | dragonfly*)
15962
 
  # DragonFly does not have aout.  When/if they implement a new
15963
 
  # versioning mechanism, adjust this.
15964
 
  if test -x /usr/bin/objformat; then
15965
 
    objformat=`/usr/bin/objformat`
15966
 
  else
15967
 
    case $host_os in
15968
 
    freebsd[123]*) objformat=aout ;;
15969
 
    *) objformat=elf ;;
15970
 
    esac
15971
 
  fi
15972
 
  version_type=freebsd-$objformat
15973
 
  case $version_type in
15974
 
    freebsd-elf*)
15975
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15976
 
      need_version=no
15977
 
      need_lib_prefix=no
15978
 
      ;;
15979
 
    freebsd-*)
15980
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15981
 
      need_version=yes
15982
 
      ;;
15983
 
  esac
15984
 
  shlibpath_var=LD_LIBRARY_PATH
15985
 
  case $host_os in
15986
 
  freebsd2*)
15987
 
    shlibpath_overrides_runpath=yes
15988
 
    ;;
15989
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15990
 
    shlibpath_overrides_runpath=yes
15991
 
    hardcode_into_libs=yes
15992
 
    ;;
15993
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15994
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15995
 
    shlibpath_overrides_runpath=no
15996
 
    hardcode_into_libs=yes
15997
 
    ;;
15998
 
  freebsd*) # from 4.6 on
15999
 
    shlibpath_overrides_runpath=yes
16000
 
    hardcode_into_libs=yes
16001
 
    ;;
16002
 
  esac
16003
 
  ;;
16004
 
 
16005
 
gnu*)
16006
 
  version_type=linux
16007
 
  need_lib_prefix=no
16008
 
  need_version=no
16009
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16010
 
  soname_spec='${libname}${release}${shared_ext}$major'
16011
 
  shlibpath_var=LD_LIBRARY_PATH
16012
 
  hardcode_into_libs=yes
16013
 
  ;;
16014
 
 
16015
 
hpux9* | hpux10* | hpux11*)
16016
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16017
 
  # link against other versions.
16018
 
  version_type=sunos
16019
 
  need_lib_prefix=no
16020
 
  need_version=no
16021
 
  case $host_cpu in
16022
 
  ia64*)
16023
 
    shrext_cmds='.so'
16024
 
    hardcode_into_libs=yes
16025
 
    dynamic_linker="$host_os dld.so"
16026
 
    shlibpath_var=LD_LIBRARY_PATH
16027
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16028
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16029
 
    soname_spec='${libname}${release}${shared_ext}$major'
16030
 
    if test "X$HPUX_IA64_MODE" = X32; then
16031
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16032
 
    else
16033
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16034
 
    fi
16035
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16036
 
    ;;
16037
 
   hppa*64*)
16038
 
     shrext_cmds='.sl'
16039
 
     hardcode_into_libs=yes
16040
 
     dynamic_linker="$host_os dld.sl"
16041
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16042
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16043
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16044
 
     soname_spec='${libname}${release}${shared_ext}$major'
16045
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16046
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16047
 
     ;;
16048
 
   *)
16049
 
    shrext_cmds='.sl'
16050
 
    dynamic_linker="$host_os dld.sl"
16051
 
    shlibpath_var=SHLIB_PATH
16052
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16053
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16054
 
    soname_spec='${libname}${release}${shared_ext}$major'
16055
 
    ;;
16056
 
  esac
16057
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16058
 
  postinstall_cmds='chmod 555 $lib'
16059
 
  ;;
16060
 
 
16061
 
interix3*)
16062
 
  version_type=linux
16063
 
  need_lib_prefix=no
16064
 
  need_version=no
16065
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16066
 
  soname_spec='${libname}${release}${shared_ext}$major'
16067
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16068
 
  shlibpath_var=LD_LIBRARY_PATH
16069
 
  shlibpath_overrides_runpath=no
16070
 
  hardcode_into_libs=yes
16071
 
  ;;
16072
 
 
16073
 
irix5* | irix6* | nonstopux*)
16074
 
  case $host_os in
16075
 
    nonstopux*) version_type=nonstopux ;;
16076
 
    *)
16077
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16078
 
                version_type=linux
16079
 
        else
16080
 
                version_type=irix
16081
 
        fi ;;
16082
 
  esac
16083
 
  need_lib_prefix=no
16084
 
  need_version=no
16085
 
  soname_spec='${libname}${release}${shared_ext}$major'
16086
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16087
 
  case $host_os in
16088
 
  irix5* | nonstopux*)
16089
 
    libsuff= shlibsuff=
16090
 
    ;;
16091
 
  *)
16092
 
    case $LD in # libtool.m4 will add one of these switches to LD
16093
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16094
 
      libsuff= shlibsuff= libmagic=32-bit;;
16095
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16096
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16097
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16098
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16099
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16100
 
    esac
16101
 
    ;;
16102
 
  esac
16103
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16104
 
  shlibpath_overrides_runpath=no
16105
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16106
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16107
 
  hardcode_into_libs=yes
16108
 
  ;;
16109
 
 
16110
 
# No shared lib support for Linux oldld, aout, or coff.
16111
 
linux*oldld* | linux*aout* | linux*coff*)
16112
 
  dynamic_linker=no
16113
 
  ;;
16114
 
 
16115
 
# This must be Linux ELF.
16116
 
linux* | k*bsd*-gnu)
16117
 
  version_type=linux
16118
 
  need_lib_prefix=no
16119
 
  need_version=no
16120
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16121
 
  soname_spec='${libname}${release}${shared_ext}$major'
16122
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16123
 
  shlibpath_var=LD_LIBRARY_PATH
16124
 
  shlibpath_overrides_runpath=no
16125
 
  # This implies no fast_install, which is unacceptable.
16126
 
  # Some rework will be needed to allow for fast_install
16127
 
  # before this can be enabled.
16128
 
  hardcode_into_libs=yes
16129
 
 
16130
 
  # Append ld.so.conf contents to the search path
16131
 
  if test -f /etc/ld.so.conf; then
16132
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16133
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16134
 
  fi
16135
 
 
16136
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16137
 
  # powerpc, because MkLinux only supported shared libraries with the
16138
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16139
 
  # most powerpc-linux boxes support dynamic linking these days and
16140
 
  # people can always --disable-shared, the test was removed, and we
16141
 
  # assume the GNU/Linux dynamic linker is in use.
16142
 
  dynamic_linker='GNU/Linux ld.so'
16143
 
  ;;
16144
 
 
16145
 
netbsdelf*-gnu)
16146
 
  version_type=linux
16147
 
  need_lib_prefix=no
16148
 
  need_version=no
16149
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16150
 
  soname_spec='${libname}${release}${shared_ext}$major'
16151
 
  shlibpath_var=LD_LIBRARY_PATH
16152
 
  shlibpath_overrides_runpath=no
16153
 
  hardcode_into_libs=yes
16154
 
  dynamic_linker='NetBSD ld.elf_so'
16155
 
  ;;
16156
 
 
16157
 
netbsd*)
16158
 
  version_type=sunos
16159
 
  need_lib_prefix=no
16160
 
  need_version=no
16161
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16162
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16163
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16164
 
    dynamic_linker='NetBSD (a.out) ld.so'
16165
 
  else
16166
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16167
 
    soname_spec='${libname}${release}${shared_ext}$major'
16168
 
    dynamic_linker='NetBSD ld.elf_so'
16169
 
  fi
16170
 
  shlibpath_var=LD_LIBRARY_PATH
16171
 
  shlibpath_overrides_runpath=yes
16172
 
  hardcode_into_libs=yes
16173
 
  ;;
16174
 
 
16175
 
newsos6)
16176
 
  version_type=linux
16177
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16178
 
  shlibpath_var=LD_LIBRARY_PATH
16179
 
  shlibpath_overrides_runpath=yes
16180
 
  ;;
16181
 
 
16182
 
nto-qnx*)
16183
 
  version_type=linux
16184
 
  need_lib_prefix=no
16185
 
  need_version=no
16186
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16187
 
  soname_spec='${libname}${release}${shared_ext}$major'
16188
 
  shlibpath_var=LD_LIBRARY_PATH
16189
 
  shlibpath_overrides_runpath=yes
16190
 
  ;;
16191
 
 
16192
 
openbsd*)
16193
 
  version_type=sunos
16194
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16195
 
  need_lib_prefix=no
16196
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16197
 
  case $host_os in
16198
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16199
 
    *)                         need_version=no  ;;
16200
 
  esac
16201
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16202
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16203
 
  shlibpath_var=LD_LIBRARY_PATH
16204
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16205
 
    case $host_os in
16206
 
      openbsd2.[89] | openbsd2.[89].*)
16207
 
        shlibpath_overrides_runpath=no
16208
 
        ;;
16209
 
      *)
16210
 
        shlibpath_overrides_runpath=yes
16211
 
        ;;
16212
 
      esac
16213
 
  else
16214
 
    shlibpath_overrides_runpath=yes
16215
 
  fi
16216
 
  ;;
16217
 
 
16218
 
os2*)
16219
 
  libname_spec='$name'
16220
 
  shrext_cmds=".dll"
16221
 
  need_lib_prefix=no
16222
 
  library_names_spec='$libname${shared_ext} $libname.a'
16223
 
  dynamic_linker='OS/2 ld.exe'
16224
 
  shlibpath_var=LIBPATH
16225
 
  ;;
16226
 
 
16227
 
osf3* | osf4* | osf5*)
16228
 
  version_type=osf
16229
 
  need_lib_prefix=no
16230
 
  need_version=no
16231
 
  soname_spec='${libname}${release}${shared_ext}$major'
16232
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16233
 
  shlibpath_var=LD_LIBRARY_PATH
16234
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16235
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16236
 
  ;;
16237
 
 
16238
 
solaris*)
16239
 
  version_type=linux
16240
 
  need_lib_prefix=no
16241
 
  need_version=no
16242
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16243
 
  soname_spec='${libname}${release}${shared_ext}$major'
16244
 
  shlibpath_var=LD_LIBRARY_PATH
16245
 
  shlibpath_overrides_runpath=yes
16246
 
  hardcode_into_libs=yes
16247
 
  # ldd complains unless libraries are executable
16248
 
  postinstall_cmds='chmod +x $lib'
16249
 
  ;;
16250
 
 
16251
 
sunos4*)
16252
 
  version_type=sunos
16253
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16254
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16255
 
  shlibpath_var=LD_LIBRARY_PATH
16256
 
  shlibpath_overrides_runpath=yes
16257
 
  if test "$with_gnu_ld" = yes; then
16258
 
    need_lib_prefix=no
16259
 
  fi
16260
 
  need_version=yes
16261
 
  ;;
16262
 
 
16263
 
sysv4 | sysv4.3*)
16264
 
  version_type=linux
16265
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16266
 
  soname_spec='${libname}${release}${shared_ext}$major'
16267
 
  shlibpath_var=LD_LIBRARY_PATH
16268
 
  case $host_vendor in
16269
 
    sni)
16270
 
      shlibpath_overrides_runpath=no
16271
 
      need_lib_prefix=no
16272
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16273
 
      runpath_var=LD_RUN_PATH
16274
 
      ;;
16275
 
    siemens)
16276
 
      need_lib_prefix=no
16277
 
      ;;
16278
 
    motorola)
16279
 
      need_lib_prefix=no
16280
 
      need_version=no
16281
 
      shlibpath_overrides_runpath=no
16282
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16283
 
      ;;
16284
 
  esac
16285
 
  ;;
16286
 
 
16287
 
sysv4*MP*)
16288
 
  if test -d /usr/nec ;then
16289
 
    version_type=linux
16290
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16291
 
    soname_spec='$libname${shared_ext}.$major'
16292
 
    shlibpath_var=LD_LIBRARY_PATH
16293
 
  fi
16294
 
  ;;
16295
 
 
16296
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16297
 
  version_type=freebsd-elf
16298
 
  need_lib_prefix=no
16299
 
  need_version=no
16300
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16301
 
  soname_spec='${libname}${release}${shared_ext}$major'
16302
 
  shlibpath_var=LD_LIBRARY_PATH
16303
 
  hardcode_into_libs=yes
16304
 
  if test "$with_gnu_ld" = yes; then
16305
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16306
 
    shlibpath_overrides_runpath=no
16307
 
  else
16308
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16309
 
    shlibpath_overrides_runpath=yes
16310
 
    case $host_os in
16311
 
      sco3.2v5*)
16312
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16313
 
        ;;
16314
 
    esac
16315
 
  fi
16316
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16317
 
  ;;
16318
 
 
16319
 
uts4*)
16320
 
  version_type=linux
16321
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16322
 
  soname_spec='${libname}${release}${shared_ext}$major'
16323
 
  shlibpath_var=LD_LIBRARY_PATH
16324
 
  ;;
16325
 
 
16326
 
*)
16327
 
  dynamic_linker=no
16328
 
  ;;
16329
 
esac
16330
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16331
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16332
 
test "$dynamic_linker" = no && can_build_shared=no
16333
 
 
16334
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16335
 
if test "$GCC" = yes; then
16336
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16337
 
fi
16338
 
 
16339
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16340
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16341
 
hardcode_action_CXX=
16342
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
16343
 
   test -n "$runpath_var_CXX" || \
16344
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
16345
 
 
16346
 
  # We can hardcode non-existant directories.
16347
 
  if test "$hardcode_direct_CXX" != no &&
16348
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16349
 
     # have to relink, otherwise we might link with an installed library
16350
 
     # when we should be linking with a yet-to-be-installed one
16351
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16352
 
     test "$hardcode_minus_L_CXX" != no; then
16353
 
    # Linking always hardcodes the temporary library directory.
16354
 
    hardcode_action_CXX=relink
16355
 
  else
16356
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16357
 
    hardcode_action_CXX=immediate
16358
 
  fi
16359
 
else
16360
 
  # We cannot hardcode anything, or else we can only hardcode existing
16361
 
  # directories.
16362
 
  hardcode_action_CXX=unsupported
16363
 
fi
16364
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16365
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
16366
 
 
16367
 
if test "$hardcode_action_CXX" = relink; then
16368
 
  # Fast installation is not supported
16369
 
  enable_fast_install=no
16370
 
elif test "$shlibpath_overrides_runpath" = yes ||
16371
 
     test "$enable_shared" = no; then
16372
 
  # Fast installation is not necessary
16373
 
  enable_fast_install=needless
16374
 
fi
16375
 
 
16376
 
 
16377
 
# The else clause should only fire when bootstrapping the
16378
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16379
 
# with your package, and you will get complaints that there are
16380
 
# no rules to generate ltmain.sh.
16381
 
if test -f "$ltmain"; then
16382
 
  # See if we are running on zsh, and set the options which allow our commands through
16383
 
  # without removal of \ escapes.
16384
 
  if test -n "${ZSH_VERSION+set}" ; then
16385
 
    setopt NO_GLOB_SUBST
16386
 
  fi
16387
 
  # Now quote all the things that may contain metacharacters while being
16388
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16389
 
  # variables and quote the copies for generation of the libtool script.
16390
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16391
 
    SED SHELL STRIP \
16392
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16393
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16394
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16395
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16396
 
    lt_cv_sys_global_symbol_to_c_name_address \
16397
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16398
 
    old_postinstall_cmds old_postuninstall_cmds \
16399
 
    compiler_CXX \
16400
 
    CC_CXX \
16401
 
    LD_CXX \
16402
 
    lt_prog_compiler_wl_CXX \
16403
 
    lt_prog_compiler_pic_CXX \
16404
 
    lt_prog_compiler_static_CXX \
16405
 
    lt_prog_compiler_no_builtin_flag_CXX \
16406
 
    export_dynamic_flag_spec_CXX \
16407
 
    thread_safe_flag_spec_CXX \
16408
 
    whole_archive_flag_spec_CXX \
16409
 
    enable_shared_with_static_runtimes_CXX \
16410
 
    old_archive_cmds_CXX \
16411
 
    old_archive_from_new_cmds_CXX \
16412
 
    predep_objects_CXX \
16413
 
    postdep_objects_CXX \
16414
 
    predeps_CXX \
16415
 
    postdeps_CXX \
16416
 
    compiler_lib_search_path_CXX \
16417
 
    archive_cmds_CXX \
16418
 
    archive_expsym_cmds_CXX \
16419
 
    postinstall_cmds_CXX \
16420
 
    postuninstall_cmds_CXX \
16421
 
    old_archive_from_expsyms_cmds_CXX \
16422
 
    allow_undefined_flag_CXX \
16423
 
    no_undefined_flag_CXX \
16424
 
    export_symbols_cmds_CXX \
16425
 
    hardcode_libdir_flag_spec_CXX \
16426
 
    hardcode_libdir_flag_spec_ld_CXX \
16427
 
    hardcode_libdir_separator_CXX \
16428
 
    hardcode_automatic_CXX \
16429
 
    module_cmds_CXX \
16430
 
    module_expsym_cmds_CXX \
16431
 
    lt_cv_prog_compiler_c_o_CXX \
16432
 
    exclude_expsyms_CXX \
16433
 
    include_expsyms_CXX; do
16434
 
 
16435
 
    case $var in
16436
 
    old_archive_cmds_CXX | \
16437
 
    old_archive_from_new_cmds_CXX | \
16438
 
    archive_cmds_CXX | \
16439
 
    archive_expsym_cmds_CXX | \
16440
 
    module_cmds_CXX | \
16441
 
    module_expsym_cmds_CXX | \
16442
 
    old_archive_from_expsyms_cmds_CXX | \
16443
 
    export_symbols_cmds_CXX | \
16444
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16445
 
    postinstall_cmds | postuninstall_cmds | \
16446
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16447
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16448
 
      # Double-quote double-evaled strings.
16449
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16450
 
      ;;
16451
 
    *)
16452
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16453
 
      ;;
16454
 
    esac
16455
 
  done
16456
 
 
16457
 
  case $lt_echo in
16458
 
  *'\$0 --fallback-echo"')
16459
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16460
 
    ;;
16461
 
  esac
16462
 
 
16463
 
cfgfile="$ofile"
16464
 
 
16465
 
  cat <<__EOF__ >> "$cfgfile"
16466
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16467
 
 
16468
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16469
 
 
16470
 
# Shell to use when invoking shell scripts.
16471
 
SHELL=$lt_SHELL
16472
 
 
16473
 
# Whether or not to build shared libraries.
16474
 
build_libtool_libs=$enable_shared
16475
 
 
16476
 
# Whether or not to build static libraries.
16477
 
build_old_libs=$enable_static
16478
 
 
16479
 
# Whether or not to add -lc for building shared libraries.
16480
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
16481
 
 
16482
 
# Whether or not to disallow shared libs when runtime libs are static
16483
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16484
 
 
16485
 
# Whether or not to optimize for fast installation.
16486
 
fast_install=$enable_fast_install
16487
 
 
16488
 
# The host system.
16489
 
host_alias=$host_alias
16490
 
host=$host
16491
 
host_os=$host_os
16492
 
 
16493
 
# The build system.
16494
 
build_alias=$build_alias
16495
 
build=$build
16496
 
build_os=$build_os
16497
 
 
16498
 
# An echo program that does not interpret backslashes.
16499
 
echo=$lt_echo
16500
 
 
16501
 
# The archiver.
16502
 
AR=$lt_AR
16503
 
AR_FLAGS=$lt_AR_FLAGS
16504
 
 
16505
 
# A C compiler.
16506
 
LTCC=$lt_LTCC
16507
 
 
16508
 
# LTCC compiler flags.
16509
 
LTCFLAGS=$lt_LTCFLAGS
16510
 
 
16511
 
# A language-specific compiler.
16512
 
CC=$lt_compiler_CXX
16513
 
 
16514
 
# Is the compiler the GNU C compiler?
16515
 
with_gcc=$GCC_CXX
16516
 
 
16517
 
# An ERE matcher.
16518
 
EGREP=$lt_EGREP
16519
 
 
16520
 
# The linker used to build libraries.
16521
 
LD=$lt_LD_CXX
16522
 
 
16523
 
# Whether we need hard or soft links.
16524
 
LN_S=$lt_LN_S
16525
 
 
16526
 
# A BSD-compatible nm program.
16527
 
NM=$lt_NM
16528
 
 
16529
 
# A symbol stripping program
16530
 
STRIP=$lt_STRIP
16531
 
 
16532
 
# Used to examine libraries when file_magic_cmd begins "file"
16533
 
MAGIC_CMD=$MAGIC_CMD
16534
 
 
16535
 
# Used on cygwin: DLL creation program.
16536
 
DLLTOOL="$DLLTOOL"
16537
 
 
16538
 
# Used on cygwin: object dumper.
16539
 
OBJDUMP="$OBJDUMP"
16540
 
 
16541
 
# Used on cygwin: assembler.
16542
 
AS="$AS"
16543
 
 
16544
 
# The name of the directory that contains temporary libtool files.
16545
 
objdir=$objdir
16546
 
 
16547
 
# How to create reloadable object files.
16548
 
reload_flag=$lt_reload_flag
16549
 
reload_cmds=$lt_reload_cmds
16550
 
 
16551
 
# How to pass a linker flag through the compiler.
16552
 
wl=$lt_lt_prog_compiler_wl_CXX
16553
 
 
16554
 
# Object file suffix (normally "o").
16555
 
objext="$ac_objext"
16556
 
 
16557
 
# Old archive suffix (normally "a").
16558
 
libext="$libext"
16559
 
 
16560
 
# Shared library suffix (normally ".so").
16561
 
shrext_cmds='$shrext_cmds'
16562
 
 
16563
 
# Executable file suffix (normally "").
16564
 
exeext="$exeext"
16565
 
 
16566
 
# Additional compiler flags for building library objects.
16567
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
16568
 
pic_mode=$pic_mode
16569
 
 
16570
 
# What is the maximum length of a command?
16571
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16572
 
 
16573
 
# Does compiler simultaneously support -c and -o options?
16574
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16575
 
 
16576
 
# Must we lock files when doing compilation?
16577
 
need_locks=$lt_need_locks
16578
 
 
16579
 
# Do we need the lib prefix for modules?
16580
 
need_lib_prefix=$need_lib_prefix
16581
 
 
16582
 
# Do we need a version for libraries?
16583
 
need_version=$need_version
16584
 
 
16585
 
# Whether dlopen is supported.
16586
 
dlopen_support=$enable_dlopen
16587
 
 
16588
 
# Whether dlopen of programs is supported.
16589
 
dlopen_self=$enable_dlopen_self
16590
 
 
16591
 
# Whether dlopen of statically linked programs is supported.
16592
 
dlopen_self_static=$enable_dlopen_self_static
16593
 
 
16594
 
# Compiler flag to prevent dynamic linking.
16595
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
16596
 
 
16597
 
# Compiler flag to turn off builtin functions.
16598
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16599
 
 
16600
 
# Compiler flag to allow reflexive dlopens.
16601
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16602
 
 
16603
 
# Compiler flag to generate shared objects directly from archives.
16604
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16605
 
 
16606
 
# Compiler flag to generate thread-safe objects.
16607
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16608
 
 
16609
 
# Library versioning type.
16610
 
version_type=$version_type
16611
 
 
16612
 
# Format of library name prefix.
16613
 
libname_spec=$lt_libname_spec
16614
 
 
16615
 
# List of archive names.  First name is the real one, the rest are links.
16616
 
# The last name is the one that the linker finds with -lNAME.
16617
 
library_names_spec=$lt_library_names_spec
16618
 
 
16619
 
# The coded name of the library, if different from the real name.
16620
 
soname_spec=$lt_soname_spec
16621
 
 
16622
 
# Commands used to build and install an old-style archive.
16623
 
RANLIB=$lt_RANLIB
16624
 
old_archive_cmds=$lt_old_archive_cmds_CXX
16625
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16626
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16627
 
 
16628
 
# Create an old-style archive from a shared archive.
16629
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16630
 
 
16631
 
# Create a temporary old-style archive to link instead of a shared archive.
16632
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16633
 
 
16634
 
# Commands used to build and install a shared archive.
16635
 
archive_cmds=$lt_archive_cmds_CXX
16636
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16637
 
postinstall_cmds=$lt_postinstall_cmds
16638
 
postuninstall_cmds=$lt_postuninstall_cmds
16639
 
 
16640
 
# Commands used to build a loadable module (assumed same as above if empty)
16641
 
module_cmds=$lt_module_cmds_CXX
16642
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
16643
 
 
16644
 
# Commands to strip libraries.
16645
 
old_striplib=$lt_old_striplib
16646
 
striplib=$lt_striplib
16647
 
 
16648
 
# Dependencies to place before the objects being linked to create a
16649
 
# shared library.
16650
 
predep_objects=$lt_predep_objects_CXX
16651
 
 
16652
 
# Dependencies to place after the objects being linked to create a
16653
 
# shared library.
16654
 
postdep_objects=$lt_postdep_objects_CXX
16655
 
 
16656
 
# Dependencies to place before the objects being linked to create a
16657
 
# shared library.
16658
 
predeps=$lt_predeps_CXX
16659
 
 
16660
 
# Dependencies to place after the objects being linked to create a
16661
 
# shared library.
16662
 
postdeps=$lt_postdeps_CXX
16663
 
 
16664
 
# The library search path used internally by the compiler when linking
16665
 
# a shared library.
16666
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16667
 
 
16668
 
# Method to check whether dependent libraries are shared objects.
16669
 
deplibs_check_method=$lt_deplibs_check_method
16670
 
 
16671
 
# Command to use when deplibs_check_method == file_magic.
16672
 
file_magic_cmd=$lt_file_magic_cmd
16673
 
 
16674
 
# Flag that allows shared libraries with undefined symbols to be built.
16675
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
16676
 
 
16677
 
# Flag that forces no undefined symbols.
16678
 
no_undefined_flag=$lt_no_undefined_flag_CXX
16679
 
 
16680
 
# Commands used to finish a libtool library installation in a directory.
16681
 
finish_cmds=$lt_finish_cmds
16682
 
 
16683
 
# Same as above, but a single script fragment to be evaled but not shown.
16684
 
finish_eval=$lt_finish_eval
16685
 
 
16686
 
# Take the output of nm and produce a listing of raw symbols and C names.
16687
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16688
 
 
16689
 
# Transform the output of nm in a proper C declaration
16690
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16691
 
 
16692
 
# Transform the output of nm in a C name address pair
16693
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16694
 
 
16695
 
# This is the shared library runtime path variable.
16696
 
runpath_var=$runpath_var
16697
 
 
16698
 
# This is the shared library path variable.
16699
 
shlibpath_var=$shlibpath_var
16700
 
 
16701
 
# Is shlibpath searched before the hard-coded library search path?
16702
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16703
 
 
16704
 
# How to hardcode a shared library path into an executable.
16705
 
hardcode_action=$hardcode_action_CXX
16706
 
 
16707
 
# Whether we should hardcode library paths into libraries.
16708
 
hardcode_into_libs=$hardcode_into_libs
16709
 
 
16710
 
# Flag to hardcode \$libdir into a binary during linking.
16711
 
# This must work even if \$libdir does not exist.
16712
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16713
 
 
16714
 
# If ld is used when linking, flag to hardcode \$libdir into
16715
 
# a binary during linking. This must work even if \$libdir does
16716
 
# not exist.
16717
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16718
 
 
16719
 
# Whether we need a single -rpath flag with a separated argument.
16720
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16721
 
 
16722
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16723
 
# resulting binary.
16724
 
hardcode_direct=$hardcode_direct_CXX
16725
 
 
16726
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16727
 
# resulting binary.
16728
 
hardcode_minus_L=$hardcode_minus_L_CXX
16729
 
 
16730
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16731
 
# the resulting binary.
16732
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16733
 
 
16734
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16735
 
# and all subsequent libraries and executables linked against it.
16736
 
hardcode_automatic=$hardcode_automatic_CXX
16737
 
 
16738
 
# Variables whose values should be saved in libtool wrapper scripts and
16739
 
# restored at relink time.
16740
 
variables_saved_for_relink="$variables_saved_for_relink"
16741
 
 
16742
 
# Whether libtool must link a program against all its dependency libraries.
16743
 
link_all_deplibs=$link_all_deplibs_CXX
16744
 
 
16745
 
# Compile-time system search path for libraries
16746
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16747
 
 
16748
 
# Run-time system search path for libraries
16749
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16750
 
 
16751
 
# Fix the shell variable \$srcfile for the compiler.
16752
 
fix_srcfile_path="$fix_srcfile_path_CXX"
16753
 
 
16754
 
# Set to yes if exported symbols are required.
16755
 
always_export_symbols=$always_export_symbols_CXX
16756
 
 
16757
 
# The commands to list exported symbols.
16758
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
16759
 
 
16760
 
# The commands to extract the exported symbol list from a shared archive.
16761
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16762
 
 
16763
 
# Symbols that should not be listed in the preloaded symbols.
16764
 
exclude_expsyms=$lt_exclude_expsyms_CXX
16765
 
 
16766
 
# Symbols that must always be exported.
16767
 
include_expsyms=$lt_include_expsyms_CXX
16768
 
 
16769
 
# ### END LIBTOOL TAG CONFIG: $tagname
16770
 
 
16771
 
__EOF__
16772
 
 
16773
 
 
16774
 
else
16775
 
  # If there is no Makefile yet, we rely on a make rule to execute
16776
 
  # `config.status --recheck' to rerun these tests and create the
16777
 
  # libtool script then.
16778
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16779
 
  if test -f "$ltmain_in"; then
16780
 
    test -f Makefile && make "$ltmain"
16781
 
  fi
16782
 
fi
16783
 
 
16784
 
 
16785
 
ac_ext=c
16786
 
ac_cpp='$CPP $CPPFLAGS'
16787
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16788
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16789
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16790
 
 
16791
 
CC=$lt_save_CC
16792
 
LDCXX=$LD
16793
 
LD=$lt_save_LD
16794
 
GCC=$lt_save_GCC
16795
 
with_gnu_ldcxx=$with_gnu_ld
16796
 
with_gnu_ld=$lt_save_with_gnu_ld
16797
 
lt_cv_path_LDCXX=$lt_cv_path_LD
16798
 
lt_cv_path_LD=$lt_save_path_LD
16799
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16800
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16801
 
 
16802
 
        else
16803
 
          tagname=""
16804
 
        fi
16805
 
        ;;
16806
 
 
16807
 
      F77)
16808
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
16809
 
 
16810
 
ac_ext=f
16811
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16812
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16813
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16814
 
 
16815
 
 
16816
 
archive_cmds_need_lc_F77=no
16817
 
allow_undefined_flag_F77=
16818
 
always_export_symbols_F77=no
16819
 
archive_expsym_cmds_F77=
16820
 
export_dynamic_flag_spec_F77=
16821
 
hardcode_direct_F77=no
16822
 
hardcode_libdir_flag_spec_F77=
16823
 
hardcode_libdir_flag_spec_ld_F77=
16824
 
hardcode_libdir_separator_F77=
16825
 
hardcode_minus_L_F77=no
16826
 
hardcode_automatic_F77=no
16827
 
module_cmds_F77=
16828
 
module_expsym_cmds_F77=
16829
 
link_all_deplibs_F77=unknown
16830
 
old_archive_cmds_F77=$old_archive_cmds
16831
 
no_undefined_flag_F77=
16832
 
whole_archive_flag_spec_F77=
16833
 
enable_shared_with_static_runtimes_F77=no
16834
 
 
16835
 
# Source file extension for f77 test sources.
16836
 
ac_ext=f
16837
 
 
16838
 
# Object file extension for compiled f77 test sources.
16839
 
objext=o
16840
 
objext_F77=$objext
16841
 
 
16842
 
# Code to be used in simple compile tests
16843
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
16844
 
 
16845
 
# Code to be used in simple link tests
16846
 
lt_simple_link_test_code="      program t\n      end\n"
16847
 
 
16848
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16849
 
 
16850
 
# If no C compiler was specified, use CC.
16851
 
LTCC=${LTCC-"$CC"}
16852
 
 
16853
 
# If no C compiler flags were specified, use CFLAGS.
16854
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16855
 
 
16856
 
# Allow CC to be a program name with arguments.
16857
 
compiler=$CC
16858
 
 
16859
 
 
16860
 
# save warnings/boilerplate of simple test code
16861
 
ac_outfile=conftest.$ac_objext
16862
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16863
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16864
 
_lt_compiler_boilerplate=`cat conftest.err`
16865
 
$rm conftest*
16866
 
 
16867
 
ac_outfile=conftest.$ac_objext
16868
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16869
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16870
 
_lt_linker_boilerplate=`cat conftest.err`
16871
 
$rm conftest*
16872
 
 
16873
 
 
16874
 
# Allow CC to be a program name with arguments.
16875
 
lt_save_CC="$CC"
16876
 
CC=${F77-"f77"}
16877
 
compiler=$CC
16878
 
compiler_F77=$CC
16879
 
for cc_temp in $compiler""; do
16880
 
  case $cc_temp in
16881
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16882
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16883
 
    \-*) ;;
16884
 
    *) break;;
16885
 
  esac
16886
 
done
16887
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16888
 
 
16889
 
 
16890
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16891
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
16892
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
16893
 
echo "${ECHO_T}$can_build_shared" >&6; }
16894
 
 
16895
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16896
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16897
 
test "$can_build_shared" = "no" && enable_shared=no
16898
 
 
16899
 
# On AIX, shared libraries and static libraries use the same namespace, and
16900
 
# are all built from PIC.
16901
 
case $host_os in
16902
 
aix3*)
16903
 
  test "$enable_shared" = yes && enable_static=no
16904
 
  if test -n "$RANLIB"; then
16905
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
16906
 
    postinstall_cmds='$RANLIB $lib'
16907
 
  fi
16908
 
  ;;
16909
 
aix4* | aix5*)
16910
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16911
 
    test "$enable_shared" = yes && enable_static=no
16912
 
  fi
16913
 
  ;;
16914
 
esac
16915
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
16916
 
echo "${ECHO_T}$enable_shared" >&6; }
16917
 
 
16918
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16919
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16920
 
# Make sure either enable_shared or enable_static is yes.
16921
 
test "$enable_shared" = yes || enable_static=yes
16922
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
16923
 
echo "${ECHO_T}$enable_static" >&6; }
16924
 
 
16925
 
GCC_F77="$G77"
16926
 
LD_F77="$LD"
16927
 
 
16928
 
lt_prog_compiler_wl_F77=
16929
 
lt_prog_compiler_pic_F77=
16930
 
lt_prog_compiler_static_F77=
16931
 
 
16932
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16933
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16934
 
 
16935
 
  if test "$GCC" = yes; then
16936
 
    lt_prog_compiler_wl_F77='-Wl,'
16937
 
    lt_prog_compiler_static_F77='-static'
16938
 
 
16939
 
    case $host_os in
16940
 
      aix*)
16941
 
      # All AIX code is PIC.
16942
 
      if test "$host_cpu" = ia64; then
16943
 
        # AIX 5 now supports IA64 processor
16944
 
        lt_prog_compiler_static_F77='-Bstatic'
16945
 
      fi
16946
 
      ;;
16947
 
 
16948
 
    amigaos*)
16949
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16950
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16951
 
      # like `-m68040'.
16952
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16953
 
      ;;
16954
 
 
16955
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16956
 
      # PIC is the default for these OSes.
16957
 
      ;;
16958
 
 
16959
 
    mingw* | pw32* | os2*)
16960
 
      # This hack is so that the source file can tell whether it is being
16961
 
      # built for inclusion in a dll (and should export symbols for example).
16962
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16963
 
      ;;
16964
 
 
16965
 
    darwin* | rhapsody*)
16966
 
      # PIC is the default on this platform
16967
 
      # Common symbols not allowed in MH_DYLIB files
16968
 
      lt_prog_compiler_pic_F77='-fno-common'
16969
 
      ;;
16970
 
 
16971
 
    interix3*)
16972
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16973
 
      # Instead, we relocate shared libraries at runtime.
16974
 
      ;;
16975
 
 
16976
 
    msdosdjgpp*)
16977
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16978
 
      # on systems that don't support them.
16979
 
      lt_prog_compiler_can_build_shared_F77=no
16980
 
      enable_shared=no
16981
 
      ;;
16982
 
 
16983
 
    sysv4*MP*)
16984
 
      if test -d /usr/nec; then
16985
 
        lt_prog_compiler_pic_F77=-Kconform_pic
16986
 
      fi
16987
 
      ;;
16988
 
 
16989
 
    hpux*)
16990
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16991
 
      # not for PA HP-UX.
16992
 
      case $host_cpu in
16993
 
      hppa*64*|ia64*)
16994
 
        # +Z the default
16995
 
        ;;
16996
 
      *)
16997
 
        lt_prog_compiler_pic_F77='-fPIC'
16998
 
        ;;
16999
 
      esac
17000
 
      ;;
17001
 
 
17002
 
    *)
17003
 
      lt_prog_compiler_pic_F77='-fPIC'
17004
 
      ;;
17005
 
    esac
17006
 
  else
17007
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17008
 
    case $host_os in
17009
 
    aix*)
17010
 
      lt_prog_compiler_wl_F77='-Wl,'
17011
 
      if test "$host_cpu" = ia64; then
17012
 
        # AIX 5 now supports IA64 processor
17013
 
        lt_prog_compiler_static_F77='-Bstatic'
17014
 
      else
17015
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
17016
 
      fi
17017
 
      ;;
17018
 
      darwin*)
17019
 
        # PIC is the default on this platform
17020
 
        # Common symbols not allowed in MH_DYLIB files
17021
 
       case $cc_basename in
17022
 
         xlc*)
17023
 
         lt_prog_compiler_pic_F77='-qnocommon'
17024
 
         lt_prog_compiler_wl_F77='-Wl,'
17025
 
         ;;
17026
 
       esac
17027
 
       ;;
17028
 
 
17029
 
    mingw* | pw32* | os2*)
17030
 
      # This hack is so that the source file can tell whether it is being
17031
 
      # built for inclusion in a dll (and should export symbols for example).
17032
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
17033
 
      ;;
17034
 
 
17035
 
    hpux9* | hpux10* | hpux11*)
17036
 
      lt_prog_compiler_wl_F77='-Wl,'
17037
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17038
 
      # not for PA HP-UX.
17039
 
      case $host_cpu in
17040
 
      hppa*64*|ia64*)
17041
 
        # +Z the default
17042
 
        ;;
17043
 
      *)
17044
 
        lt_prog_compiler_pic_F77='+Z'
17045
 
        ;;
17046
 
      esac
17047
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17048
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
17049
 
      ;;
17050
 
 
17051
 
    irix5* | irix6* | nonstopux*)
17052
 
      lt_prog_compiler_wl_F77='-Wl,'
17053
 
      # PIC (with -KPIC) is the default.
17054
 
      lt_prog_compiler_static_F77='-non_shared'
17055
 
      ;;
17056
 
 
17057
 
    newsos6)
17058
 
      lt_prog_compiler_pic_F77='-KPIC'
17059
 
      lt_prog_compiler_static_F77='-Bstatic'
17060
 
      ;;
17061
 
 
17062
 
    linux* | k*bsd*-gnu)
17063
 
      case $cc_basename in
17064
 
      icc* | ecc*)
17065
 
        lt_prog_compiler_wl_F77='-Wl,'
17066
 
        lt_prog_compiler_pic_F77='-KPIC'
17067
 
        lt_prog_compiler_static_F77='-static'
17068
 
        ;;
17069
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17070
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17071
 
        # which looks to be a dead project)
17072
 
        lt_prog_compiler_wl_F77='-Wl,'
17073
 
        lt_prog_compiler_pic_F77='-fpic'
17074
 
        lt_prog_compiler_static_F77='-Bstatic'
17075
 
        ;;
17076
 
      ccc*)
17077
 
        lt_prog_compiler_wl_F77='-Wl,'
17078
 
        # All Alpha code is PIC.
17079
 
        lt_prog_compiler_static_F77='-non_shared'
17080
 
        ;;
17081
 
      esac
17082
 
      ;;
17083
 
 
17084
 
    osf3* | osf4* | osf5*)
17085
 
      lt_prog_compiler_wl_F77='-Wl,'
17086
 
      # All OSF/1 code is PIC.
17087
 
      lt_prog_compiler_static_F77='-non_shared'
17088
 
      ;;
17089
 
 
17090
 
    solaris*)
17091
 
      lt_prog_compiler_pic_F77='-KPIC'
17092
 
      lt_prog_compiler_static_F77='-Bstatic'
17093
 
      case $cc_basename in
17094
 
      f77* | f90* | f95*)
17095
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
17096
 
      *)
17097
 
        lt_prog_compiler_wl_F77='-Wl,';;
17098
 
      esac
17099
 
      ;;
17100
 
 
17101
 
    sunos4*)
17102
 
      lt_prog_compiler_wl_F77='-Qoption ld '
17103
 
      lt_prog_compiler_pic_F77='-PIC'
17104
 
      lt_prog_compiler_static_F77='-Bstatic'
17105
 
      ;;
17106
 
 
17107
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17108
 
      lt_prog_compiler_wl_F77='-Wl,'
17109
 
      lt_prog_compiler_pic_F77='-KPIC'
17110
 
      lt_prog_compiler_static_F77='-Bstatic'
17111
 
      ;;
17112
 
 
17113
 
    sysv4*MP*)
17114
 
      if test -d /usr/nec ;then
17115
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
17116
 
        lt_prog_compiler_static_F77='-Bstatic'
17117
 
      fi
17118
 
      ;;
17119
 
 
17120
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17121
 
      lt_prog_compiler_wl_F77='-Wl,'
17122
 
      lt_prog_compiler_pic_F77='-KPIC'
17123
 
      lt_prog_compiler_static_F77='-Bstatic'
17124
 
      ;;
17125
 
 
17126
 
    unicos*)
17127
 
      lt_prog_compiler_wl_F77='-Wl,'
17128
 
      lt_prog_compiler_can_build_shared_F77=no
17129
 
      ;;
17130
 
 
17131
 
    uts4*)
17132
 
      lt_prog_compiler_pic_F77='-pic'
17133
 
      lt_prog_compiler_static_F77='-Bstatic'
17134
 
      ;;
17135
 
 
17136
 
    *)
17137
 
      lt_prog_compiler_can_build_shared_F77=no
17138
 
      ;;
17139
 
    esac
17140
 
  fi
17141
 
 
17142
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
17143
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
17144
 
 
17145
 
#
17146
 
# Check to make sure the PIC flag actually works.
17147
 
#
17148
 
if test -n "$lt_prog_compiler_pic_F77"; then
17149
 
 
17150
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17151
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
17152
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
17153
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17154
 
else
17155
 
  lt_prog_compiler_pic_works_F77=no
17156
 
  ac_outfile=conftest.$ac_objext
17157
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17158
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
17159
 
   # Insert the option either (1) after the last *FLAGS variable, or
17160
 
   # (2) before a word containing "conftest.", or (3) at the end.
17161
 
   # Note that $ac_compile itself does not contain backslashes and begins
17162
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17163
 
   # The option is referenced via a variable to avoid confusing sed.
17164
 
   lt_compile=`echo "$ac_compile" | $SED \
17165
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17166
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17167
 
   -e 's:$: $lt_compiler_flag:'`
17168
 
   (eval echo "\"\$as_me:17168: $lt_compile\"" >&5)
17169
 
   (eval "$lt_compile" 2>conftest.err)
17170
 
   ac_status=$?
17171
 
   cat conftest.err >&5
17172
 
   echo "$as_me:17172: \$? = $ac_status" >&5
17173
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17174
 
     # The compiler can only warn and ignore the option if not recognized
17175
 
     # So say no if there are warnings other than the usual output.
17176
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17177
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17178
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17179
 
       lt_prog_compiler_pic_works_F77=yes
17180
 
     fi
17181
 
   fi
17182
 
   $rm conftest*
17183
 
 
17184
 
fi
17185
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
17186
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
17187
 
 
17188
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
17189
 
    case $lt_prog_compiler_pic_F77 in
17190
 
     "" | " "*) ;;
17191
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
17192
 
     esac
17193
 
else
17194
 
    lt_prog_compiler_pic_F77=
17195
 
     lt_prog_compiler_can_build_shared_F77=no
17196
 
fi
17197
 
 
17198
 
fi
17199
 
case $host_os in
17200
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17201
 
  *djgpp*)
17202
 
    lt_prog_compiler_pic_F77=
17203
 
    ;;
17204
 
  *)
17205
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
17206
 
    ;;
17207
 
esac
17208
 
 
17209
 
#
17210
 
# Check to make sure the static flag actually works.
17211
 
#
17212
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
17213
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17214
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17215
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
17216
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17217
 
else
17218
 
  lt_prog_compiler_static_works_F77=no
17219
 
   save_LDFLAGS="$LDFLAGS"
17220
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17221
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
17222
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17223
 
     # The linker can only warn and ignore the option if not recognized
17224
 
     # So say no if there are warnings
17225
 
     if test -s conftest.err; then
17226
 
       # Append any errors to the config.log.
17227
 
       cat conftest.err 1>&5
17228
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17229
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17230
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17231
 
         lt_prog_compiler_static_works_F77=yes
17232
 
       fi
17233
 
     else
17234
 
       lt_prog_compiler_static_works_F77=yes
17235
 
     fi
17236
 
   fi
17237
 
   $rm conftest*
17238
 
   LDFLAGS="$save_LDFLAGS"
17239
 
 
17240
 
fi
17241
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
17242
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
17243
 
 
17244
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
17245
 
    :
17246
 
else
17247
 
    lt_prog_compiler_static_F77=
17248
 
fi
17249
 
 
17250
 
 
17251
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17252
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17253
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17254
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17255
 
else
17256
 
  lt_cv_prog_compiler_c_o_F77=no
17257
 
   $rm -r conftest 2>/dev/null
17258
 
   mkdir conftest
17259
 
   cd conftest
17260
 
   mkdir out
17261
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17262
 
 
17263
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17264
 
   # Insert the option either (1) after the last *FLAGS variable, or
17265
 
   # (2) before a word containing "conftest.", or (3) at the end.
17266
 
   # Note that $ac_compile itself does not contain backslashes and begins
17267
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17268
 
   lt_compile=`echo "$ac_compile" | $SED \
17269
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17270
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17271
 
   -e 's:$: $lt_compiler_flag:'`
17272
 
   (eval echo "\"\$as_me:17272: $lt_compile\"" >&5)
17273
 
   (eval "$lt_compile" 2>out/conftest.err)
17274
 
   ac_status=$?
17275
 
   cat out/conftest.err >&5
17276
 
   echo "$as_me:17276: \$? = $ac_status" >&5
17277
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17278
 
   then
17279
 
     # The compiler can only warn and ignore the option if not recognized
17280
 
     # So say no if there are warnings
17281
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17282
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17283
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17284
 
       lt_cv_prog_compiler_c_o_F77=yes
17285
 
     fi
17286
 
   fi
17287
 
   chmod u+w . 2>&5
17288
 
   $rm conftest*
17289
 
   # SGI C++ compiler will create directory out/ii_files/ for
17290
 
   # template instantiation
17291
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17292
 
   $rm out/* && rmdir out
17293
 
   cd ..
17294
 
   rmdir conftest
17295
 
   $rm conftest*
17296
 
 
17297
 
fi
17298
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17299
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
17300
 
 
17301
 
 
17302
 
hard_links="nottested"
17303
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
17304
 
  # do not overwrite the value of need_locks provided by the user
17305
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17306
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17307
 
  hard_links=yes
17308
 
  $rm conftest*
17309
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17310
 
  touch conftest.a
17311
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17312
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17313
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17314
 
echo "${ECHO_T}$hard_links" >&6; }
17315
 
  if test "$hard_links" = no; then
17316
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17317
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17318
 
    need_locks=warn
17319
 
  fi
17320
 
else
17321
 
  need_locks=no
17322
 
fi
17323
 
 
17324
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17325
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17326
 
 
17327
 
  runpath_var=
17328
 
  allow_undefined_flag_F77=
17329
 
  enable_shared_with_static_runtimes_F77=no
17330
 
  archive_cmds_F77=
17331
 
  archive_expsym_cmds_F77=
17332
 
  old_archive_From_new_cmds_F77=
17333
 
  old_archive_from_expsyms_cmds_F77=
17334
 
  export_dynamic_flag_spec_F77=
17335
 
  whole_archive_flag_spec_F77=
17336
 
  thread_safe_flag_spec_F77=
17337
 
  hardcode_libdir_flag_spec_F77=
17338
 
  hardcode_libdir_flag_spec_ld_F77=
17339
 
  hardcode_libdir_separator_F77=
17340
 
  hardcode_direct_F77=no
17341
 
  hardcode_minus_L_F77=no
17342
 
  hardcode_shlibpath_var_F77=unsupported
17343
 
  link_all_deplibs_F77=unknown
17344
 
  hardcode_automatic_F77=no
17345
 
  module_cmds_F77=
17346
 
  module_expsym_cmds_F77=
17347
 
  always_export_symbols_F77=no
17348
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17349
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17350
 
  # included in the symbol list
17351
 
  include_expsyms_F77=
17352
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17353
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17354
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17355
 
  # as well as any symbol that contains `d'.
17356
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
17357
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17358
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17359
 
  # the symbol is explicitly referenced.  Since portable code cannot
17360
 
  # rely on this symbol name, it's probably fine to never include it in
17361
 
  # preloaded symbol tables.
17362
 
  extract_expsyms_cmds=
17363
 
  # Just being paranoid about ensuring that cc_basename is set.
17364
 
  for cc_temp in $compiler""; do
17365
 
  case $cc_temp in
17366
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17367
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17368
 
    \-*) ;;
17369
 
    *) break;;
17370
 
  esac
17371
 
done
17372
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17373
 
 
17374
 
  case $host_os in
17375
 
  cygwin* | mingw* | pw32*)
17376
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17377
 
    # When not using gcc, we currently assume that we are using
17378
 
    # Microsoft Visual C++.
17379
 
    if test "$GCC" != yes; then
17380
 
      with_gnu_ld=no
17381
 
    fi
17382
 
    ;;
17383
 
  interix*)
17384
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17385
 
    with_gnu_ld=yes
17386
 
    ;;
17387
 
  openbsd*)
17388
 
    with_gnu_ld=no
17389
 
    ;;
17390
 
  esac
17391
 
 
17392
 
  ld_shlibs_F77=yes
17393
 
  if test "$with_gnu_ld" = yes; then
17394
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17395
 
    wlarc='${wl}'
17396
 
 
17397
 
    # Set some defaults for GNU ld with shared library support. These
17398
 
    # are reset later if shared libraries are not supported. Putting them
17399
 
    # here allows them to be overridden if necessary.
17400
 
    runpath_var=LD_RUN_PATH
17401
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
17402
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17403
 
    # ancient GNU ld didn't support --whole-archive et. al.
17404
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17405
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17406
 
      else
17407
 
        whole_archive_flag_spec_F77=
17408
 
    fi
17409
 
    supports_anon_versioning=no
17410
 
    case `$LD -v 2>/dev/null` in
17411
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17412
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17413
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17414
 
      *\ 2.11.*) ;; # other 2.11 versions
17415
 
      *) supports_anon_versioning=yes ;;
17416
 
    esac
17417
 
 
17418
 
    # See if GNU ld supports shared libraries.
17419
 
    case $host_os in
17420
 
    aix3* | aix4* | aix5*)
17421
 
      # On AIX/PPC, the GNU linker is very broken
17422
 
      if test "$host_cpu" != ia64; then
17423
 
        ld_shlibs_F77=no
17424
 
        cat <<EOF 1>&2
17425
 
 
17426
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17427
 
*** to be unable to reliably create shared libraries on AIX.
17428
 
*** Therefore, libtool is disabling shared libraries support.  If you
17429
 
*** really care for shared libraries, you may want to modify your PATH
17430
 
*** so that a non-GNU linker is found, and then restart.
17431
 
 
17432
 
EOF
17433
 
      fi
17434
 
      ;;
17435
 
 
17436
 
    amigaos*)
17437
 
      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)'
17438
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17439
 
      hardcode_minus_L_F77=yes
17440
 
 
17441
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17442
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17443
 
      # to version 4, is to share data among multiple programs linked
17444
 
      # with the same dynamic library.  Since this doesn't match the
17445
 
      # behavior of shared libraries on other platforms, we can't use
17446
 
      # them.
17447
 
      ld_shlibs_F77=no
17448
 
      ;;
17449
 
 
17450
 
    beos*)
17451
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17452
 
        allow_undefined_flag_F77=unsupported
17453
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17454
 
        # support --undefined.  This deserves some investigation.  FIXME
17455
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17456
 
      else
17457
 
        ld_shlibs_F77=no
17458
 
      fi
17459
 
      ;;
17460
 
 
17461
 
    cygwin* | mingw* | pw32*)
17462
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17463
 
      # as there is no search path for DLLs.
17464
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17465
 
      allow_undefined_flag_F77=unsupported
17466
 
      always_export_symbols_F77=no
17467
 
      enable_shared_with_static_runtimes_F77=yes
17468
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17469
 
 
17470
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17471
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17472
 
        # If the export-symbols file already is a .def file (1st line
17473
 
        # is EXPORTS), use it as is; otherwise, prepend...
17474
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17475
 
          cp $export_symbols $output_objdir/$soname.def;
17476
 
        else
17477
 
          echo EXPORTS > $output_objdir/$soname.def;
17478
 
          cat $export_symbols >> $output_objdir/$soname.def;
17479
 
        fi~
17480
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17481
 
      else
17482
 
        ld_shlibs_F77=no
17483
 
      fi
17484
 
      ;;
17485
 
 
17486
 
    interix3*)
17487
 
      hardcode_direct_F77=no
17488
 
      hardcode_shlibpath_var_F77=no
17489
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17490
 
      export_dynamic_flag_spec_F77='${wl}-E'
17491
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17492
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17493
 
      # default) and relocated if they conflict, which is a slow very memory
17494
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17495
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17496
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17497
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17498
 
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17499
 
      ;;
17500
 
 
17501
 
    linux* | k*bsd*-gnu)
17502
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17503
 
        tmp_addflag=
17504
 
        case $cc_basename,$host_cpu in
17505
 
        pgcc*)                          # Portland Group C compiler
17506
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17507
 
          tmp_addflag=' $pic_flag'
17508
 
          ;;
17509
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17510
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17511
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17512
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17513
 
          tmp_addflag=' -i_dynamic' ;;
17514
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17515
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17516
 
        ifc* | ifort*)                  # Intel Fortran compiler
17517
 
          tmp_addflag=' -nofor_main' ;;
17518
 
        esac
17519
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17520
 
 
17521
 
        if test $supports_anon_versioning = yes; then
17522
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
17523
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17524
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17525
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17526
 
        fi
17527
 
        link_all_deplibs_F77=no
17528
 
      else
17529
 
        ld_shlibs_F77=no
17530
 
      fi
17531
 
      ;;
17532
 
 
17533
 
    netbsd* | netbsdelf*-gnu)
17534
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17535
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17536
 
        wlarc=
17537
 
      else
17538
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17539
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17540
 
      fi
17541
 
      ;;
17542
 
 
17543
 
    solaris*)
17544
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17545
 
        ld_shlibs_F77=no
17546
 
        cat <<EOF 1>&2
17547
 
 
17548
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17549
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17550
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17551
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17552
 
*** your PATH or compiler configuration so that the native linker is
17553
 
*** used, and then restart.
17554
 
 
17555
 
EOF
17556
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17557
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17558
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17559
 
      else
17560
 
        ld_shlibs_F77=no
17561
 
      fi
17562
 
      ;;
17563
 
 
17564
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17565
 
      case `$LD -v 2>&1` in
17566
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17567
 
        ld_shlibs_F77=no
17568
 
        cat <<_LT_EOF 1>&2
17569
 
 
17570
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17571
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17572
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17573
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17574
 
*** your PATH or compiler configuration so that the native linker is
17575
 
*** used, and then restart.
17576
 
 
17577
 
_LT_EOF
17578
 
        ;;
17579
 
        *)
17580
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17581
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17582
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17583
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17584
 
          else
17585
 
            ld_shlibs_F77=no
17586
 
          fi
17587
 
        ;;
17588
 
      esac
17589
 
      ;;
17590
 
 
17591
 
    sunos4*)
17592
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17593
 
      wlarc=
17594
 
      hardcode_direct_F77=yes
17595
 
      hardcode_shlibpath_var_F77=no
17596
 
      ;;
17597
 
 
17598
 
    *)
17599
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17600
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17601
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17602
 
      else
17603
 
        ld_shlibs_F77=no
17604
 
      fi
17605
 
      ;;
17606
 
    esac
17607
 
 
17608
 
    if test "$ld_shlibs_F77" = no; then
17609
 
      runpath_var=
17610
 
      hardcode_libdir_flag_spec_F77=
17611
 
      export_dynamic_flag_spec_F77=
17612
 
      whole_archive_flag_spec_F77=
17613
 
    fi
17614
 
  else
17615
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17616
 
    case $host_os in
17617
 
    aix3*)
17618
 
      allow_undefined_flag_F77=unsupported
17619
 
      always_export_symbols_F77=yes
17620
 
      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'
17621
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17622
 
      # are no directories specified by -L.
17623
 
      hardcode_minus_L_F77=yes
17624
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17625
 
        # Neither direct hardcoding nor static linking is supported with a
17626
 
        # broken collect2.
17627
 
        hardcode_direct_F77=unsupported
17628
 
      fi
17629
 
      ;;
17630
 
 
17631
 
    aix4* | aix5*)
17632
 
      if test "$host_cpu" = ia64; then
17633
 
        # On IA64, the linker does run time linking by default, so we don't
17634
 
        # have to do anything special.
17635
 
        aix_use_runtimelinking=no
17636
 
        exp_sym_flag='-Bexport'
17637
 
        no_entry_flag=""
17638
 
      else
17639
 
        # If we're using GNU nm, then we don't want the "-C" option.
17640
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17641
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17642
 
          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'
17643
 
        else
17644
 
          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'
17645
 
        fi
17646
 
        aix_use_runtimelinking=no
17647
 
 
17648
 
        # Test if we are trying to use run time linking or normal
17649
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17650
 
        # need to do runtime linking.
17651
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17652
 
          for ld_flag in $LDFLAGS; do
17653
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17654
 
            aix_use_runtimelinking=yes
17655
 
            break
17656
 
          fi
17657
 
          done
17658
 
          ;;
17659
 
        esac
17660
 
 
17661
 
        exp_sym_flag='-bexport'
17662
 
        no_entry_flag='-bnoentry'
17663
 
      fi
17664
 
 
17665
 
      # When large executables or shared objects are built, AIX ld can
17666
 
      # have problems creating the table of contents.  If linking a library
17667
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17668
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17669
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17670
 
 
17671
 
      archive_cmds_F77=''
17672
 
      hardcode_direct_F77=yes
17673
 
      hardcode_libdir_separator_F77=':'
17674
 
      link_all_deplibs_F77=yes
17675
 
 
17676
 
      if test "$GCC" = yes; then
17677
 
        case $host_os in aix4.[012]|aix4.[012].*)
17678
 
        # We only want to do this on AIX 4.2 and lower, the check
17679
 
        # below for broken collect2 doesn't work under 4.3+
17680
 
          collect2name=`${CC} -print-prog-name=collect2`
17681
 
          if test -f "$collect2name" && \
17682
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17683
 
          then
17684
 
          # We have reworked collect2
17685
 
          hardcode_direct_F77=yes
17686
 
          else
17687
 
          # We have old collect2
17688
 
          hardcode_direct_F77=unsupported
17689
 
          # It fails to find uninstalled libraries when the uninstalled
17690
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17691
 
          # to unsupported forces relinking
17692
 
          hardcode_minus_L_F77=yes
17693
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17694
 
          hardcode_libdir_separator_F77=
17695
 
          fi
17696
 
          ;;
17697
 
        esac
17698
 
        shared_flag='-shared'
17699
 
        if test "$aix_use_runtimelinking" = yes; then
17700
 
          shared_flag="$shared_flag "'${wl}-G'
17701
 
        fi
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='${wl}-G'
17711
 
          else
17712
 
            shared_flag='${wl}-bM:SRE'
17713
 
          fi
17714
 
        fi
17715
 
      fi
17716
 
 
17717
 
      # It seems that -bexpall does not export symbols beginning with
17718
 
      # underscore (_), so it is better to generate a list of symbols to export.
17719
 
      always_export_symbols_F77=yes
17720
 
      if test "$aix_use_runtimelinking" = yes; then
17721
 
        # Warning - without using the other runtime loading flags (-brtl),
17722
 
        # -berok will link without error, but may produce a broken library.
17723
 
        allow_undefined_flag_F77='-berok'
17724
 
       # Determine the default libpath from the value encoded in an empty executable.
17725
 
       cat >conftest.$ac_ext <<_ACEOF
17726
 
      program main
17727
 
 
17728
 
      end
17729
 
_ACEOF
17730
 
rm -f conftest.$ac_objext conftest$ac_exeext
17731
 
if { (ac_try="$ac_link"
17732
 
case "(($ac_try" in
17733
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17734
 
  *) ac_try_echo=$ac_try;;
17735
 
esac
17736
 
eval "echo \"\$as_me:$LINENO: $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
 
  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
 
       $as_test_x conftest$ac_exeext; then
17748
 
 
17749
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17750
 
}'`
17751
 
# Check for a 64-bit object if we didn't find anything.
17752
 
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; }
17753
 
}'`; fi
17754
 
else
17755
 
  echo "$as_me: failed program was:" >&5
17756
 
sed 's/^/| /' conftest.$ac_ext >&5
17757
 
 
17758
 
 
17759
 
fi
17760
 
 
17761
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17762
 
      conftest$ac_exeext conftest.$ac_ext
17763
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17764
 
 
17765
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17766
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17767
 
       else
17768
 
        if test "$host_cpu" = ia64; then
17769
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17770
 
          allow_undefined_flag_F77="-z nodefs"
17771
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17772
 
        else
17773
 
         # Determine the default libpath from the value encoded in an empty executable.
17774
 
         cat >conftest.$ac_ext <<_ACEOF
17775
 
      program main
17776
 
 
17777
 
      end
17778
 
_ACEOF
17779
 
rm -f conftest.$ac_objext conftest$ac_exeext
17780
 
if { (ac_try="$ac_link"
17781
 
case "(($ac_try" in
17782
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17783
 
  *) ac_try_echo=$ac_try;;
17784
 
esac
17785
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17786
 
  (eval "$ac_link") 2>conftest.er1
17787
 
  ac_status=$?
17788
 
  grep -v '^ *+' conftest.er1 >conftest.err
17789
 
  rm -f conftest.er1
17790
 
  cat conftest.err >&5
17791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792
 
  (exit $ac_status); } && {
17793
 
         test -z "$ac_f77_werror_flag" ||
17794
 
         test ! -s conftest.err
17795
 
       } && test -s conftest$ac_exeext &&
17796
 
       $as_test_x conftest$ac_exeext; then
17797
 
 
17798
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17799
 
}'`
17800
 
# Check for a 64-bit object if we didn't find anything.
17801
 
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; }
17802
 
}'`; fi
17803
 
else
17804
 
  echo "$as_me: failed program was:" >&5
17805
 
sed 's/^/| /' conftest.$ac_ext >&5
17806
 
 
17807
 
 
17808
 
fi
17809
 
 
17810
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17811
 
      conftest$ac_exeext conftest.$ac_ext
17812
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17813
 
 
17814
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17815
 
          # Warning - without using the other run time loading flags,
17816
 
          # -berok will link without error, but may produce a broken library.
17817
 
          no_undefined_flag_F77=' ${wl}-bernotok'
17818
 
          allow_undefined_flag_F77=' ${wl}-berok'
17819
 
          # Exported symbols can be pulled into shared objects from archives
17820
 
          whole_archive_flag_spec_F77='$convenience'
17821
 
          archive_cmds_need_lc_F77=yes
17822
 
          # This is similar to how AIX traditionally builds its shared libraries.
17823
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17824
 
        fi
17825
 
      fi
17826
 
      ;;
17827
 
 
17828
 
    amigaos*)
17829
 
      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)'
17830
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17831
 
      hardcode_minus_L_F77=yes
17832
 
      # see comment about different semantics on the GNU ld section
17833
 
      ld_shlibs_F77=no
17834
 
      ;;
17835
 
 
17836
 
    bsdi[45]*)
17837
 
      export_dynamic_flag_spec_F77=-rdynamic
17838
 
      ;;
17839
 
 
17840
 
    cygwin* | mingw* | pw32*)
17841
 
      # When not using gcc, we currently assume that we are using
17842
 
      # Microsoft Visual C++.
17843
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17844
 
      # no search path for DLLs.
17845
 
      hardcode_libdir_flag_spec_F77=' '
17846
 
      allow_undefined_flag_F77=unsupported
17847
 
      # Tell ltmain to make .lib files, not .a files.
17848
 
      libext=lib
17849
 
      # Tell ltmain to make .dll files, not .so files.
17850
 
      shrext_cmds=".dll"
17851
 
      # FIXME: Setting linknames here is a bad hack.
17852
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17853
 
      # The linker will automatically build a .lib file if we build a DLL.
17854
 
      old_archive_From_new_cmds_F77='true'
17855
 
      # FIXME: Should let the user specify the lib program.
17856
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
17857
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
17858
 
      enable_shared_with_static_runtimes_F77=yes
17859
 
      ;;
17860
 
 
17861
 
    darwin* | rhapsody*)
17862
 
      case $host_os in
17863
 
        rhapsody* | darwin1.[012])
17864
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
17865
 
         ;;
17866
 
       *) # Darwin 1.3 on
17867
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17868
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17869
 
         else
17870
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17871
 
             10.[012])
17872
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17873
 
               ;;
17874
 
             10.*)
17875
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
17876
 
               ;;
17877
 
           esac
17878
 
         fi
17879
 
         ;;
17880
 
      esac
17881
 
      archive_cmds_need_lc_F77=no
17882
 
      hardcode_direct_F77=no
17883
 
      hardcode_automatic_F77=yes
17884
 
      hardcode_shlibpath_var_F77=unsupported
17885
 
      whole_archive_flag_spec_F77=''
17886
 
      link_all_deplibs_F77=yes
17887
 
    if test "$GCC" = yes ; then
17888
 
        output_verbose_link_cmd='echo'
17889
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17890
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17891
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17892
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17893
 
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17894
 
    else
17895
 
      case $cc_basename in
17896
 
        xlc*)
17897
 
         output_verbose_link_cmd='echo'
17898
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17899
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17900
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17901
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17902
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17903
 
          ;;
17904
 
       *)
17905
 
         ld_shlibs_F77=no
17906
 
          ;;
17907
 
      esac
17908
 
    fi
17909
 
      ;;
17910
 
 
17911
 
    dgux*)
17912
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17913
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17914
 
      hardcode_shlibpath_var_F77=no
17915
 
      ;;
17916
 
 
17917
 
    freebsd1*)
17918
 
      ld_shlibs_F77=no
17919
 
      ;;
17920
 
 
17921
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17922
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17923
 
    # does not break anything, and helps significantly (at the cost of a little
17924
 
    # extra space).
17925
 
    freebsd2.2*)
17926
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17927
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17928
 
      hardcode_direct_F77=yes
17929
 
      hardcode_shlibpath_var_F77=no
17930
 
      ;;
17931
 
 
17932
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17933
 
    freebsd2*)
17934
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17935
 
      hardcode_direct_F77=yes
17936
 
      hardcode_minus_L_F77=yes
17937
 
      hardcode_shlibpath_var_F77=no
17938
 
      ;;
17939
 
 
17940
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17941
 
    freebsd* | dragonfly*)
17942
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17943
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17944
 
      hardcode_direct_F77=yes
17945
 
      hardcode_shlibpath_var_F77=no
17946
 
      ;;
17947
 
 
17948
 
    hpux9*)
17949
 
      if test "$GCC" = yes; then
17950
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17951
 
      else
17952
 
        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'
17953
 
      fi
17954
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17955
 
      hardcode_libdir_separator_F77=:
17956
 
      hardcode_direct_F77=yes
17957
 
 
17958
 
      # hardcode_minus_L: Not really in the search PATH,
17959
 
      # but as the default location of the library.
17960
 
      hardcode_minus_L_F77=yes
17961
 
      export_dynamic_flag_spec_F77='${wl}-E'
17962
 
      ;;
17963
 
 
17964
 
    hpux10*)
17965
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17966
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17967
 
      else
17968
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17969
 
      fi
17970
 
      if test "$with_gnu_ld" = no; then
17971
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17972
 
        hardcode_libdir_separator_F77=:
17973
 
 
17974
 
        hardcode_direct_F77=yes
17975
 
        export_dynamic_flag_spec_F77='${wl}-E'
17976
 
 
17977
 
        # hardcode_minus_L: Not really in the search PATH,
17978
 
        # but as the default location of the library.
17979
 
        hardcode_minus_L_F77=yes
17980
 
      fi
17981
 
      ;;
17982
 
 
17983
 
    hpux11*)
17984
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17985
 
        case $host_cpu in
17986
 
        hppa*64*)
17987
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17988
 
          ;;
17989
 
        ia64*)
17990
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17991
 
          ;;
17992
 
        *)
17993
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17994
 
          ;;
17995
 
        esac
17996
 
      else
17997
 
        case $host_cpu in
17998
 
        hppa*64*)
17999
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18000
 
          ;;
18001
 
        ia64*)
18002
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18003
 
          ;;
18004
 
        *)
18005
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18006
 
          ;;
18007
 
        esac
18008
 
      fi
18009
 
      if test "$with_gnu_ld" = no; then
18010
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
18011
 
        hardcode_libdir_separator_F77=:
18012
 
 
18013
 
        case $host_cpu in
18014
 
        hppa*64*|ia64*)
18015
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
18016
 
          hardcode_direct_F77=no
18017
 
          hardcode_shlibpath_var_F77=no
18018
 
          ;;
18019
 
        *)
18020
 
          hardcode_direct_F77=yes
18021
 
          export_dynamic_flag_spec_F77='${wl}-E'
18022
 
 
18023
 
          # hardcode_minus_L: Not really in the search PATH,
18024
 
          # but as the default location of the library.
18025
 
          hardcode_minus_L_F77=yes
18026
 
          ;;
18027
 
        esac
18028
 
      fi
18029
 
      ;;
18030
 
 
18031
 
    irix5* | irix6* | nonstopux*)
18032
 
      if test "$GCC" = yes; then
18033
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18034
 
      else
18035
 
        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'
18036
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
18037
 
      fi
18038
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18039
 
      hardcode_libdir_separator_F77=:
18040
 
      link_all_deplibs_F77=yes
18041
 
      ;;
18042
 
 
18043
 
    netbsd* | netbsdelf*-gnu)
18044
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18045
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18046
 
      else
18047
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18048
 
      fi
18049
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
18050
 
      hardcode_direct_F77=yes
18051
 
      hardcode_shlibpath_var_F77=no
18052
 
      ;;
18053
 
 
18054
 
    newsos6)
18055
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18056
 
      hardcode_direct_F77=yes
18057
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18058
 
      hardcode_libdir_separator_F77=:
18059
 
      hardcode_shlibpath_var_F77=no
18060
 
      ;;
18061
 
 
18062
 
    openbsd*)
18063
 
      hardcode_direct_F77=yes
18064
 
      hardcode_shlibpath_var_F77=no
18065
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18066
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18067
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18068
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
18069
 
        export_dynamic_flag_spec_F77='${wl}-E'
18070
 
      else
18071
 
       case $host_os in
18072
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18073
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18074
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
18075
 
           ;;
18076
 
         *)
18077
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18078
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
18079
 
           ;;
18080
 
       esac
18081
 
      fi
18082
 
      ;;
18083
 
 
18084
 
    os2*)
18085
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18086
 
      hardcode_minus_L_F77=yes
18087
 
      allow_undefined_flag_F77=unsupported
18088
 
      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18089
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18090
 
      ;;
18091
 
 
18092
 
    osf3*)
18093
 
      if test "$GCC" = yes; then
18094
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
18095
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18096
 
      else
18097
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
18098
 
        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'
18099
 
      fi
18100
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18101
 
      hardcode_libdir_separator_F77=:
18102
 
      ;;
18103
 
 
18104
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18105
 
      if test "$GCC" = yes; then
18106
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
18107
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18108
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18109
 
      else
18110
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
18111
 
        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'
18112
 
        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~
18113
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18114
 
 
18115
 
        # Both c and cxx compiler support -rpath directly
18116
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
18117
 
      fi
18118
 
      hardcode_libdir_separator_F77=:
18119
 
      ;;
18120
 
 
18121
 
    solaris*)
18122
 
      no_undefined_flag_F77=' -z text'
18123
 
      if test "$GCC" = yes; then
18124
 
        wlarc='${wl}'
18125
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18126
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18127
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18128
 
      else
18129
 
        wlarc=''
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
 
      *)
18139
 
        # The compiler driver will combine linker options so we
18140
 
        # cannot just pass the convience library names through
18141
 
        # without $wl, iff we do not link with $LD.
18142
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
18143
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18144
 
        case $wlarc in
18145
 
        '')
18146
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
18147
 
        *)
18148
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
18149
 
        esac ;;
18150
 
      esac
18151
 
      link_all_deplibs_F77=yes
18152
 
      ;;
18153
 
 
18154
 
    sunos4*)
18155
 
      if test "x$host_vendor" = xsequent; then
18156
 
        # Use $CC to link under sequent, because it throws in some extra .o
18157
 
        # files that make .init and .fini sections work.
18158
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18159
 
      else
18160
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18161
 
      fi
18162
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18163
 
      hardcode_direct_F77=yes
18164
 
      hardcode_minus_L_F77=yes
18165
 
      hardcode_shlibpath_var_F77=no
18166
 
      ;;
18167
 
 
18168
 
    sysv4)
18169
 
      case $host_vendor in
18170
 
        sni)
18171
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18172
 
          hardcode_direct_F77=yes # is this really true???
18173
 
        ;;
18174
 
        siemens)
18175
 
          ## LD is ld it makes a PLAMLIB
18176
 
          ## CC just makes a GrossModule.
18177
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18178
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
18179
 
          hardcode_direct_F77=no
18180
 
        ;;
18181
 
        motorola)
18182
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18183
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
18184
 
        ;;
18185
 
      esac
18186
 
      runpath_var='LD_RUN_PATH'
18187
 
      hardcode_shlibpath_var_F77=no
18188
 
      ;;
18189
 
 
18190
 
    sysv4.3*)
18191
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18192
 
      hardcode_shlibpath_var_F77=no
18193
 
      export_dynamic_flag_spec_F77='-Bexport'
18194
 
      ;;
18195
 
 
18196
 
    sysv4*MP*)
18197
 
      if test -d /usr/nec; then
18198
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18199
 
        hardcode_shlibpath_var_F77=no
18200
 
        runpath_var=LD_RUN_PATH
18201
 
        hardcode_runpath_var=yes
18202
 
        ld_shlibs_F77=yes
18203
 
      fi
18204
 
      ;;
18205
 
 
18206
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
18207
 
      no_undefined_flag_F77='${wl}-z,text'
18208
 
      archive_cmds_need_lc_F77=no
18209
 
      hardcode_shlibpath_var_F77=no
18210
 
      runpath_var='LD_RUN_PATH'
18211
 
 
18212
 
      if test "$GCC" = yes; then
18213
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18214
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18215
 
      else
18216
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18217
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18218
 
      fi
18219
 
      ;;
18220
 
 
18221
 
    sysv5* | sco3.2v5* | sco5v6*)
18222
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18223
 
      # link with -lc, and that would cause any symbols used from libc to
18224
 
      # always be unresolved, which means just about no library would
18225
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18226
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18227
 
      # as -z defs.
18228
 
      no_undefined_flag_F77='${wl}-z,text'
18229
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
18230
 
      archive_cmds_need_lc_F77=no
18231
 
      hardcode_shlibpath_var_F77=no
18232
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18233
 
      hardcode_libdir_separator_F77=':'
18234
 
      link_all_deplibs_F77=yes
18235
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
18236
 
      runpath_var='LD_RUN_PATH'
18237
 
 
18238
 
      if test "$GCC" = yes; then
18239
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18240
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18241
 
      else
18242
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18243
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18244
 
      fi
18245
 
      ;;
18246
 
 
18247
 
    uts4*)
18248
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18249
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18250
 
      hardcode_shlibpath_var_F77=no
18251
 
      ;;
18252
 
 
18253
 
    *)
18254
 
      ld_shlibs_F77=no
18255
 
      ;;
18256
 
    esac
18257
 
  fi
18258
 
 
18259
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
18260
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
18261
 
test "$ld_shlibs_F77" = no && can_build_shared=no
18262
 
 
18263
 
#
18264
 
# Do we need to explicitly link libc?
18265
 
#
18266
 
case "x$archive_cmds_need_lc_F77" in
18267
 
x|xyes)
18268
 
  # Assume -lc should be added
18269
 
  archive_cmds_need_lc_F77=yes
18270
 
 
18271
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18272
 
    case $archive_cmds_F77 in
18273
 
    *'~'*)
18274
 
      # FIXME: we may have to deal with multi-command sequences.
18275
 
      ;;
18276
 
    '$CC '*)
18277
 
      # Test whether the compiler implicitly links with -lc since on some
18278
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18279
 
      # to ld, don't add -lc before -lgcc.
18280
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18281
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18282
 
      $rm conftest*
18283
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18284
 
 
18285
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18286
 
  (eval $ac_compile) 2>&5
18287
 
  ac_status=$?
18288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289
 
  (exit $ac_status); } 2>conftest.err; then
18290
 
        soname=conftest
18291
 
        lib=conftest
18292
 
        libobjs=conftest.$ac_objext
18293
 
        deplibs=
18294
 
        wl=$lt_prog_compiler_wl_F77
18295
 
        pic_flag=$lt_prog_compiler_pic_F77
18296
 
        compiler_flags=-v
18297
 
        linker_flags=-v
18298
 
        verstring=
18299
 
        output_objdir=.
18300
 
        libname=conftest
18301
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
18302
 
        allow_undefined_flag_F77=
18303
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18304
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18305
 
  ac_status=$?
18306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307
 
  (exit $ac_status); }
18308
 
        then
18309
 
          archive_cmds_need_lc_F77=no
18310
 
        else
18311
 
          archive_cmds_need_lc_F77=yes
18312
 
        fi
18313
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
18314
 
      else
18315
 
        cat conftest.err 1>&5
18316
 
      fi
18317
 
      $rm conftest*
18318
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18319
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
18320
 
      ;;
18321
 
    esac
18322
 
  fi
18323
 
  ;;
18324
 
esac
18325
 
 
18326
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18327
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18328
 
library_names_spec=
18329
 
libname_spec='lib$name'
18330
 
soname_spec=
18331
 
shrext_cmds=".so"
18332
 
postinstall_cmds=
18333
 
postuninstall_cmds=
18334
 
finish_cmds=
18335
 
finish_eval=
18336
 
shlibpath_var=
18337
 
shlibpath_overrides_runpath=unknown
18338
 
version_type=none
18339
 
dynamic_linker="$host_os ld.so"
18340
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18341
 
if test "$GCC" = yes; then
18342
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18343
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18344
 
    # if the path contains ";" then we assume it to be the separator
18345
 
    # otherwise default to the standard path separator (i.e. ":") - it is
18346
 
    # assumed that no part of a normal pathname contains ";" but that should
18347
 
    # okay in the real world where ";" in dirpaths is itself problematic.
18348
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18349
 
  else
18350
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18351
 
  fi
18352
 
else
18353
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18354
 
fi
18355
 
need_lib_prefix=unknown
18356
 
hardcode_into_libs=no
18357
 
 
18358
 
# when you set need_version to no, make sure it does not cause -set_version
18359
 
# flags to be left without arguments
18360
 
need_version=unknown
18361
 
 
18362
 
case $host_os in
18363
 
aix3*)
18364
 
  version_type=linux
18365
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18366
 
  shlibpath_var=LIBPATH
18367
 
 
18368
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18369
 
  soname_spec='${libname}${release}${shared_ext}$major'
18370
 
  ;;
18371
 
 
18372
 
aix4* | aix5*)
18373
 
  version_type=linux
18374
 
  need_lib_prefix=no
18375
 
  need_version=no
18376
 
  hardcode_into_libs=yes
18377
 
  if test "$host_cpu" = ia64; then
18378
 
    # AIX 5 supports IA64
18379
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18380
 
    shlibpath_var=LD_LIBRARY_PATH
18381
 
  else
18382
 
    # With GCC up to 2.95.x, collect2 would create an import file
18383
 
    # for dependence libraries.  The import file would start with
18384
 
    # the line `#! .'.  This would cause the generated library to
18385
 
    # depend on `.', always an invalid library.  This was fixed in
18386
 
    # development snapshots of GCC prior to 3.0.
18387
 
    case $host_os in
18388
 
      aix4 | aix4.[01] | aix4.[01].*)
18389
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18390
 
           echo ' yes '
18391
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18392
 
        :
18393
 
      else
18394
 
        can_build_shared=no
18395
 
      fi
18396
 
      ;;
18397
 
    esac
18398
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18399
 
    # soname into executable. Probably we can add versioning support to
18400
 
    # collect2, so additional links can be useful in future.
18401
 
    if test "$aix_use_runtimelinking" = yes; then
18402
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18403
 
      # instead of lib<name>.a to let people know that these are not
18404
 
      # typical AIX shared libraries.
18405
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18406
 
    else
18407
 
      # We preserve .a as extension for shared libraries through AIX4.2
18408
 
      # and later when we are not doing run time linking.
18409
 
      library_names_spec='${libname}${release}.a $libname.a'
18410
 
      soname_spec='${libname}${release}${shared_ext}$major'
18411
 
    fi
18412
 
    shlibpath_var=LIBPATH
18413
 
  fi
18414
 
  ;;
18415
 
 
18416
 
amigaos*)
18417
 
  library_names_spec='$libname.ixlibrary $libname.a'
18418
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18419
 
  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'
18420
 
  ;;
18421
 
 
18422
 
beos*)
18423
 
  library_names_spec='${libname}${shared_ext}'
18424
 
  dynamic_linker="$host_os ld.so"
18425
 
  shlibpath_var=LIBRARY_PATH
18426
 
  ;;
18427
 
 
18428
 
bsdi[45]*)
18429
 
  version_type=linux
18430
 
  need_version=no
18431
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18432
 
  soname_spec='${libname}${release}${shared_ext}$major'
18433
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18434
 
  shlibpath_var=LD_LIBRARY_PATH
18435
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18436
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18437
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18438
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18439
 
  # libtool to hard-code these into programs
18440
 
  ;;
18441
 
 
18442
 
cygwin* | mingw* | pw32*)
18443
 
  version_type=windows
18444
 
  shrext_cmds=".dll"
18445
 
  need_version=no
18446
 
  need_lib_prefix=no
18447
 
 
18448
 
  case $GCC,$host_os in
18449
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18450
 
    library_names_spec='$libname.dll.a'
18451
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18452
 
    postinstall_cmds='base_file=`basename \${file}`~
18453
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18454
 
      dldir=$destdir/`dirname \$dlpath`~
18455
 
      test -d \$dldir || mkdir -p \$dldir~
18456
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18457
 
      chmod a+x \$dldir/$dlname'
18458
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18459
 
      dlpath=$dir/\$dldll~
18460
 
       $rm \$dlpath'
18461
 
    shlibpath_overrides_runpath=yes
18462
 
 
18463
 
    case $host_os in
18464
 
    cygwin*)
18465
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18466
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18467
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18468
 
      ;;
18469
 
    mingw*)
18470
 
      # MinGW DLLs use traditional 'lib' prefix
18471
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18472
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18473
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18474
 
        # It is most probably a Windows format PATH printed by
18475
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18476
 
        # path with ; separators, and with drive letters. We can handle the
18477
 
        # drive letters (cygwin fileutils understands them), so leave them,
18478
 
        # especially as we might pass files found there to a mingw objdump,
18479
 
        # which wouldn't understand a cygwinified path. Ahh.
18480
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18481
 
      else
18482
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18483
 
      fi
18484
 
      ;;
18485
 
    pw32*)
18486
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18487
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18488
 
      ;;
18489
 
    esac
18490
 
    ;;
18491
 
 
18492
 
  *)
18493
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18494
 
    ;;
18495
 
  esac
18496
 
  dynamic_linker='Win32 ld.exe'
18497
 
  # FIXME: first we should search . and the directory the executable is in
18498
 
  shlibpath_var=PATH
18499
 
  ;;
18500
 
 
18501
 
darwin* | rhapsody*)
18502
 
  dynamic_linker="$host_os dyld"
18503
 
  version_type=darwin
18504
 
  need_lib_prefix=no
18505
 
  need_version=no
18506
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18507
 
  soname_spec='${libname}${release}${major}$shared_ext'
18508
 
  shlibpath_overrides_runpath=yes
18509
 
  shlibpath_var=DYLD_LIBRARY_PATH
18510
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18511
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18512
 
  if test "$GCC" = yes; then
18513
 
    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"`
18514
 
  else
18515
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18516
 
  fi
18517
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18518
 
  ;;
18519
 
 
18520
 
dgux*)
18521
 
  version_type=linux
18522
 
  need_lib_prefix=no
18523
 
  need_version=no
18524
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18525
 
  soname_spec='${libname}${release}${shared_ext}$major'
18526
 
  shlibpath_var=LD_LIBRARY_PATH
18527
 
  ;;
18528
 
 
18529
 
freebsd1*)
18530
 
  dynamic_linker=no
18531
 
  ;;
18532
 
 
18533
 
freebsd* | dragonfly*)
18534
 
  # DragonFly does not have aout.  When/if they implement a new
18535
 
  # versioning mechanism, adjust this.
18536
 
  if test -x /usr/bin/objformat; then
18537
 
    objformat=`/usr/bin/objformat`
18538
 
  else
18539
 
    case $host_os in
18540
 
    freebsd[123]*) objformat=aout ;;
18541
 
    *) objformat=elf ;;
18542
 
    esac
18543
 
  fi
18544
 
  version_type=freebsd-$objformat
18545
 
  case $version_type in
18546
 
    freebsd-elf*)
18547
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18548
 
      need_version=no
18549
 
      need_lib_prefix=no
18550
 
      ;;
18551
 
    freebsd-*)
18552
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18553
 
      need_version=yes
18554
 
      ;;
18555
 
  esac
18556
 
  shlibpath_var=LD_LIBRARY_PATH
18557
 
  case $host_os in
18558
 
  freebsd2*)
18559
 
    shlibpath_overrides_runpath=yes
18560
 
    ;;
18561
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18562
 
    shlibpath_overrides_runpath=yes
18563
 
    hardcode_into_libs=yes
18564
 
    ;;
18565
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18566
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18567
 
    shlibpath_overrides_runpath=no
18568
 
    hardcode_into_libs=yes
18569
 
    ;;
18570
 
  freebsd*) # from 4.6 on
18571
 
    shlibpath_overrides_runpath=yes
18572
 
    hardcode_into_libs=yes
18573
 
    ;;
18574
 
  esac
18575
 
  ;;
18576
 
 
18577
 
gnu*)
18578
 
  version_type=linux
18579
 
  need_lib_prefix=no
18580
 
  need_version=no
18581
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18582
 
  soname_spec='${libname}${release}${shared_ext}$major'
18583
 
  shlibpath_var=LD_LIBRARY_PATH
18584
 
  hardcode_into_libs=yes
18585
 
  ;;
18586
 
 
18587
 
hpux9* | hpux10* | hpux11*)
18588
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18589
 
  # link against other versions.
18590
 
  version_type=sunos
18591
 
  need_lib_prefix=no
18592
 
  need_version=no
18593
 
  case $host_cpu in
18594
 
  ia64*)
18595
 
    shrext_cmds='.so'
18596
 
    hardcode_into_libs=yes
18597
 
    dynamic_linker="$host_os dld.so"
18598
 
    shlibpath_var=LD_LIBRARY_PATH
18599
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18600
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18601
 
    soname_spec='${libname}${release}${shared_ext}$major'
18602
 
    if test "X$HPUX_IA64_MODE" = X32; then
18603
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18604
 
    else
18605
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18606
 
    fi
18607
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18608
 
    ;;
18609
 
   hppa*64*)
18610
 
     shrext_cmds='.sl'
18611
 
     hardcode_into_libs=yes
18612
 
     dynamic_linker="$host_os dld.sl"
18613
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18614
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18615
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18616
 
     soname_spec='${libname}${release}${shared_ext}$major'
18617
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18618
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18619
 
     ;;
18620
 
   *)
18621
 
    shrext_cmds='.sl'
18622
 
    dynamic_linker="$host_os dld.sl"
18623
 
    shlibpath_var=SHLIB_PATH
18624
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18625
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18626
 
    soname_spec='${libname}${release}${shared_ext}$major'
18627
 
    ;;
18628
 
  esac
18629
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18630
 
  postinstall_cmds='chmod 555 $lib'
18631
 
  ;;
18632
 
 
18633
 
interix3*)
18634
 
  version_type=linux
18635
 
  need_lib_prefix=no
18636
 
  need_version=no
18637
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18638
 
  soname_spec='${libname}${release}${shared_ext}$major'
18639
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18640
 
  shlibpath_var=LD_LIBRARY_PATH
18641
 
  shlibpath_overrides_runpath=no
18642
 
  hardcode_into_libs=yes
18643
 
  ;;
18644
 
 
18645
 
irix5* | irix6* | nonstopux*)
18646
 
  case $host_os in
18647
 
    nonstopux*) version_type=nonstopux ;;
18648
 
    *)
18649
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18650
 
                version_type=linux
18651
 
        else
18652
 
                version_type=irix
18653
 
        fi ;;
18654
 
  esac
18655
 
  need_lib_prefix=no
18656
 
  need_version=no
18657
 
  soname_spec='${libname}${release}${shared_ext}$major'
18658
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18659
 
  case $host_os in
18660
 
  irix5* | nonstopux*)
18661
 
    libsuff= shlibsuff=
18662
 
    ;;
18663
 
  *)
18664
 
    case $LD in # libtool.m4 will add one of these switches to LD
18665
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18666
 
      libsuff= shlibsuff= libmagic=32-bit;;
18667
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18668
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18669
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18670
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18671
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18672
 
    esac
18673
 
    ;;
18674
 
  esac
18675
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18676
 
  shlibpath_overrides_runpath=no
18677
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18678
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18679
 
  hardcode_into_libs=yes
18680
 
  ;;
18681
 
 
18682
 
# No shared lib support for Linux oldld, aout, or coff.
18683
 
linux*oldld* | linux*aout* | linux*coff*)
18684
 
  dynamic_linker=no
18685
 
  ;;
18686
 
 
18687
 
# This must be Linux ELF.
18688
 
linux* | k*bsd*-gnu)
18689
 
  version_type=linux
18690
 
  need_lib_prefix=no
18691
 
  need_version=no
18692
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18693
 
  soname_spec='${libname}${release}${shared_ext}$major'
18694
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18695
 
  shlibpath_var=LD_LIBRARY_PATH
18696
 
  shlibpath_overrides_runpath=no
18697
 
  # This implies no fast_install, which is unacceptable.
18698
 
  # Some rework will be needed to allow for fast_install
18699
 
  # before this can be enabled.
18700
 
  hardcode_into_libs=yes
18701
 
 
18702
 
  # Append ld.so.conf contents to the search path
18703
 
  if test -f /etc/ld.so.conf; then
18704
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18705
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18706
 
  fi
18707
 
 
18708
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18709
 
  # powerpc, because MkLinux only supported shared libraries with the
18710
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18711
 
  # most powerpc-linux boxes support dynamic linking these days and
18712
 
  # people can always --disable-shared, the test was removed, and we
18713
 
  # assume the GNU/Linux dynamic linker is in use.
18714
 
  dynamic_linker='GNU/Linux ld.so'
18715
 
  ;;
18716
 
 
18717
 
netbsdelf*-gnu)
18718
 
  version_type=linux
18719
 
  need_lib_prefix=no
18720
 
  need_version=no
18721
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18722
 
  soname_spec='${libname}${release}${shared_ext}$major'
18723
 
  shlibpath_var=LD_LIBRARY_PATH
18724
 
  shlibpath_overrides_runpath=no
18725
 
  hardcode_into_libs=yes
18726
 
  dynamic_linker='NetBSD ld.elf_so'
18727
 
  ;;
18728
 
 
18729
 
netbsd*)
18730
 
  version_type=sunos
18731
 
  need_lib_prefix=no
18732
 
  need_version=no
18733
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18734
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18735
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18736
 
    dynamic_linker='NetBSD (a.out) ld.so'
18737
 
  else
18738
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18739
 
    soname_spec='${libname}${release}${shared_ext}$major'
18740
 
    dynamic_linker='NetBSD ld.elf_so'
18741
 
  fi
18742
 
  shlibpath_var=LD_LIBRARY_PATH
18743
 
  shlibpath_overrides_runpath=yes
18744
 
  hardcode_into_libs=yes
18745
 
  ;;
18746
 
 
18747
 
newsos6)
18748
 
  version_type=linux
18749
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18750
 
  shlibpath_var=LD_LIBRARY_PATH
18751
 
  shlibpath_overrides_runpath=yes
18752
 
  ;;
18753
 
 
18754
 
nto-qnx*)
18755
 
  version_type=linux
18756
 
  need_lib_prefix=no
18757
 
  need_version=no
18758
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18759
 
  soname_spec='${libname}${release}${shared_ext}$major'
18760
 
  shlibpath_var=LD_LIBRARY_PATH
18761
 
  shlibpath_overrides_runpath=yes
18762
 
  ;;
18763
 
 
18764
 
openbsd*)
18765
 
  version_type=sunos
18766
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18767
 
  need_lib_prefix=no
18768
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18769
 
  case $host_os in
18770
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18771
 
    *)                         need_version=no  ;;
18772
 
  esac
18773
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18774
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18775
 
  shlibpath_var=LD_LIBRARY_PATH
18776
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18777
 
    case $host_os in
18778
 
      openbsd2.[89] | openbsd2.[89].*)
18779
 
        shlibpath_overrides_runpath=no
18780
 
        ;;
18781
 
      *)
18782
 
        shlibpath_overrides_runpath=yes
18783
 
        ;;
18784
 
      esac
18785
 
  else
18786
 
    shlibpath_overrides_runpath=yes
18787
 
  fi
18788
 
  ;;
18789
 
 
18790
 
os2*)
18791
 
  libname_spec='$name'
18792
 
  shrext_cmds=".dll"
18793
 
  need_lib_prefix=no
18794
 
  library_names_spec='$libname${shared_ext} $libname.a'
18795
 
  dynamic_linker='OS/2 ld.exe'
18796
 
  shlibpath_var=LIBPATH
18797
 
  ;;
18798
 
 
18799
 
osf3* | osf4* | osf5*)
18800
 
  version_type=osf
18801
 
  need_lib_prefix=no
18802
 
  need_version=no
18803
 
  soname_spec='${libname}${release}${shared_ext}$major'
18804
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18805
 
  shlibpath_var=LD_LIBRARY_PATH
18806
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18807
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18808
 
  ;;
18809
 
 
18810
 
solaris*)
18811
 
  version_type=linux
18812
 
  need_lib_prefix=no
18813
 
  need_version=no
18814
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18815
 
  soname_spec='${libname}${release}${shared_ext}$major'
18816
 
  shlibpath_var=LD_LIBRARY_PATH
18817
 
  shlibpath_overrides_runpath=yes
18818
 
  hardcode_into_libs=yes
18819
 
  # ldd complains unless libraries are executable
18820
 
  postinstall_cmds='chmod +x $lib'
18821
 
  ;;
18822
 
 
18823
 
sunos4*)
18824
 
  version_type=sunos
18825
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18826
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18827
 
  shlibpath_var=LD_LIBRARY_PATH
18828
 
  shlibpath_overrides_runpath=yes
18829
 
  if test "$with_gnu_ld" = yes; then
18830
 
    need_lib_prefix=no
18831
 
  fi
18832
 
  need_version=yes
18833
 
  ;;
18834
 
 
18835
 
sysv4 | sysv4.3*)
18836
 
  version_type=linux
18837
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18838
 
  soname_spec='${libname}${release}${shared_ext}$major'
18839
 
  shlibpath_var=LD_LIBRARY_PATH
18840
 
  case $host_vendor in
18841
 
    sni)
18842
 
      shlibpath_overrides_runpath=no
18843
 
      need_lib_prefix=no
18844
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18845
 
      runpath_var=LD_RUN_PATH
18846
 
      ;;
18847
 
    siemens)
18848
 
      need_lib_prefix=no
18849
 
      ;;
18850
 
    motorola)
18851
 
      need_lib_prefix=no
18852
 
      need_version=no
18853
 
      shlibpath_overrides_runpath=no
18854
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18855
 
      ;;
18856
 
  esac
18857
 
  ;;
18858
 
 
18859
 
sysv4*MP*)
18860
 
  if test -d /usr/nec ;then
18861
 
    version_type=linux
18862
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18863
 
    soname_spec='$libname${shared_ext}.$major'
18864
 
    shlibpath_var=LD_LIBRARY_PATH
18865
 
  fi
18866
 
  ;;
18867
 
 
18868
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18869
 
  version_type=freebsd-elf
18870
 
  need_lib_prefix=no
18871
 
  need_version=no
18872
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18873
 
  soname_spec='${libname}${release}${shared_ext}$major'
18874
 
  shlibpath_var=LD_LIBRARY_PATH
18875
 
  hardcode_into_libs=yes
18876
 
  if test "$with_gnu_ld" = yes; then
18877
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18878
 
    shlibpath_overrides_runpath=no
18879
 
  else
18880
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18881
 
    shlibpath_overrides_runpath=yes
18882
 
    case $host_os in
18883
 
      sco3.2v5*)
18884
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18885
 
        ;;
18886
 
    esac
18887
 
  fi
18888
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18889
 
  ;;
18890
 
 
18891
 
uts4*)
18892
 
  version_type=linux
18893
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18894
 
  soname_spec='${libname}${release}${shared_ext}$major'
18895
 
  shlibpath_var=LD_LIBRARY_PATH
18896
 
  ;;
18897
 
 
18898
 
*)
18899
 
  dynamic_linker=no
18900
 
  ;;
18901
 
esac
18902
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18903
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18904
 
test "$dynamic_linker" = no && can_build_shared=no
18905
 
 
18906
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18907
 
if test "$GCC" = yes; then
18908
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18909
 
fi
18910
 
 
18911
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18912
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18913
 
hardcode_action_F77=
18914
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
18915
 
   test -n "$runpath_var_F77" || \
18916
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
18917
 
 
18918
 
  # We can hardcode non-existant directories.
18919
 
  if test "$hardcode_direct_F77" != no &&
18920
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18921
 
     # have to relink, otherwise we might link with an installed library
18922
 
     # when we should be linking with a yet-to-be-installed one
18923
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18924
 
     test "$hardcode_minus_L_F77" != no; then
18925
 
    # Linking always hardcodes the temporary library directory.
18926
 
    hardcode_action_F77=relink
18927
 
  else
18928
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18929
 
    hardcode_action_F77=immediate
18930
 
  fi
18931
 
else
18932
 
  # We cannot hardcode anything, or else we can only hardcode existing
18933
 
  # directories.
18934
 
  hardcode_action_F77=unsupported
18935
 
fi
18936
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18937
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
18938
 
 
18939
 
if test "$hardcode_action_F77" = relink; then
18940
 
  # Fast installation is not supported
18941
 
  enable_fast_install=no
18942
 
elif test "$shlibpath_overrides_runpath" = yes ||
18943
 
     test "$enable_shared" = no; then
18944
 
  # Fast installation is not necessary
18945
 
  enable_fast_install=needless
18946
 
fi
18947
 
 
18948
 
 
18949
 
# The else clause should only fire when bootstrapping the
18950
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18951
 
# with your package, and you will get complaints that there are
18952
 
# no rules to generate ltmain.sh.
18953
 
if test -f "$ltmain"; then
18954
 
  # See if we are running on zsh, and set the options which allow our commands through
18955
 
  # without removal of \ escapes.
18956
 
  if test -n "${ZSH_VERSION+set}" ; then
18957
 
    setopt NO_GLOB_SUBST
18958
 
  fi
18959
 
  # Now quote all the things that may contain metacharacters while being
18960
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18961
 
  # variables and quote the copies for generation of the libtool script.
18962
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18963
 
    SED SHELL STRIP \
18964
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18965
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18966
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18967
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18968
 
    lt_cv_sys_global_symbol_to_c_name_address \
18969
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18970
 
    old_postinstall_cmds old_postuninstall_cmds \
18971
 
    compiler_F77 \
18972
 
    CC_F77 \
18973
 
    LD_F77 \
18974
 
    lt_prog_compiler_wl_F77 \
18975
 
    lt_prog_compiler_pic_F77 \
18976
 
    lt_prog_compiler_static_F77 \
18977
 
    lt_prog_compiler_no_builtin_flag_F77 \
18978
 
    export_dynamic_flag_spec_F77 \
18979
 
    thread_safe_flag_spec_F77 \
18980
 
    whole_archive_flag_spec_F77 \
18981
 
    enable_shared_with_static_runtimes_F77 \
18982
 
    old_archive_cmds_F77 \
18983
 
    old_archive_from_new_cmds_F77 \
18984
 
    predep_objects_F77 \
18985
 
    postdep_objects_F77 \
18986
 
    predeps_F77 \
18987
 
    postdeps_F77 \
18988
 
    compiler_lib_search_path_F77 \
18989
 
    archive_cmds_F77 \
18990
 
    archive_expsym_cmds_F77 \
18991
 
    postinstall_cmds_F77 \
18992
 
    postuninstall_cmds_F77 \
18993
 
    old_archive_from_expsyms_cmds_F77 \
18994
 
    allow_undefined_flag_F77 \
18995
 
    no_undefined_flag_F77 \
18996
 
    export_symbols_cmds_F77 \
18997
 
    hardcode_libdir_flag_spec_F77 \
18998
 
    hardcode_libdir_flag_spec_ld_F77 \
18999
 
    hardcode_libdir_separator_F77 \
19000
 
    hardcode_automatic_F77 \
19001
 
    module_cmds_F77 \
19002
 
    module_expsym_cmds_F77 \
19003
 
    lt_cv_prog_compiler_c_o_F77 \
19004
 
    exclude_expsyms_F77 \
19005
 
    include_expsyms_F77; do
19006
 
 
19007
 
    case $var in
19008
 
    old_archive_cmds_F77 | \
19009
 
    old_archive_from_new_cmds_F77 | \
19010
 
    archive_cmds_F77 | \
19011
 
    archive_expsym_cmds_F77 | \
19012
 
    module_cmds_F77 | \
19013
 
    module_expsym_cmds_F77 | \
19014
 
    old_archive_from_expsyms_cmds_F77 | \
19015
 
    export_symbols_cmds_F77 | \
19016
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19017
 
    postinstall_cmds | postuninstall_cmds | \
19018
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19019
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19020
 
      # Double-quote double-evaled strings.
19021
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19022
 
      ;;
19023
 
    *)
19024
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19025
 
      ;;
19026
 
    esac
19027
 
  done
19028
 
 
19029
 
  case $lt_echo in
19030
 
  *'\$0 --fallback-echo"')
19031
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19032
 
    ;;
19033
 
  esac
19034
 
 
19035
 
cfgfile="$ofile"
19036
 
 
19037
 
  cat <<__EOF__ >> "$cfgfile"
19038
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19039
 
 
19040
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19041
 
 
19042
 
# Shell to use when invoking shell scripts.
19043
 
SHELL=$lt_SHELL
19044
 
 
19045
 
# Whether or not to build shared libraries.
19046
 
build_libtool_libs=$enable_shared
19047
 
 
19048
 
# Whether or not to build static libraries.
19049
 
build_old_libs=$enable_static
19050
 
 
19051
 
# Whether or not to add -lc for building shared libraries.
19052
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
19053
 
 
19054
 
# Whether or not to disallow shared libs when runtime libs are static
19055
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
19056
 
 
19057
 
# Whether or not to optimize for fast installation.
19058
 
fast_install=$enable_fast_install
19059
 
 
19060
 
# The host system.
19061
 
host_alias=$host_alias
19062
 
host=$host
19063
 
host_os=$host_os
19064
 
 
19065
 
# The build system.
19066
 
build_alias=$build_alias
19067
 
build=$build
19068
 
build_os=$build_os
19069
 
 
19070
 
# An echo program that does not interpret backslashes.
19071
 
echo=$lt_echo
19072
 
 
19073
 
# The archiver.
19074
 
AR=$lt_AR
19075
 
AR_FLAGS=$lt_AR_FLAGS
19076
 
 
19077
 
# A C compiler.
19078
 
LTCC=$lt_LTCC
19079
 
 
19080
 
# LTCC compiler flags.
19081
 
LTCFLAGS=$lt_LTCFLAGS
19082
 
 
19083
 
# A language-specific compiler.
19084
 
CC=$lt_compiler_F77
19085
 
 
19086
 
# Is the compiler the GNU C compiler?
19087
 
with_gcc=$GCC_F77
19088
 
 
19089
 
# An ERE matcher.
19090
 
EGREP=$lt_EGREP
19091
 
 
19092
 
# The linker used to build libraries.
19093
 
LD=$lt_LD_F77
19094
 
 
19095
 
# Whether we need hard or soft links.
19096
 
LN_S=$lt_LN_S
19097
 
 
19098
 
# A BSD-compatible nm program.
19099
 
NM=$lt_NM
19100
 
 
19101
 
# A symbol stripping program
19102
 
STRIP=$lt_STRIP
19103
 
 
19104
 
# Used to examine libraries when file_magic_cmd begins "file"
19105
 
MAGIC_CMD=$MAGIC_CMD
19106
 
 
19107
 
# Used on cygwin: DLL creation program.
19108
 
DLLTOOL="$DLLTOOL"
19109
 
 
19110
 
# Used on cygwin: object dumper.
19111
 
OBJDUMP="$OBJDUMP"
19112
 
 
19113
 
# Used on cygwin: assembler.
19114
 
AS="$AS"
19115
 
 
19116
 
# The name of the directory that contains temporary libtool files.
19117
 
objdir=$objdir
19118
 
 
19119
 
# How to create reloadable object files.
19120
 
reload_flag=$lt_reload_flag
19121
 
reload_cmds=$lt_reload_cmds
19122
 
 
19123
 
# How to pass a linker flag through the compiler.
19124
 
wl=$lt_lt_prog_compiler_wl_F77
19125
 
 
19126
 
# Object file suffix (normally "o").
19127
 
objext="$ac_objext"
19128
 
 
19129
 
# Old archive suffix (normally "a").
19130
 
libext="$libext"
19131
 
 
19132
 
# Shared library suffix (normally ".so").
19133
 
shrext_cmds='$shrext_cmds'
19134
 
 
19135
 
# Executable file suffix (normally "").
19136
 
exeext="$exeext"
19137
 
 
19138
 
# Additional compiler flags for building library objects.
19139
 
pic_flag=$lt_lt_prog_compiler_pic_F77
19140
 
pic_mode=$pic_mode
19141
 
 
19142
 
# What is the maximum length of a command?
19143
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19144
 
 
19145
 
# Does compiler simultaneously support -c and -o options?
19146
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
19147
 
 
19148
 
# Must we lock files when doing compilation?
19149
 
need_locks=$lt_need_locks
19150
 
 
19151
 
# Do we need the lib prefix for modules?
19152
 
need_lib_prefix=$need_lib_prefix
19153
 
 
19154
 
# Do we need a version for libraries?
19155
 
need_version=$need_version
19156
 
 
19157
 
# Whether dlopen is supported.
19158
 
dlopen_support=$enable_dlopen
19159
 
 
19160
 
# Whether dlopen of programs is supported.
19161
 
dlopen_self=$enable_dlopen_self
19162
 
 
19163
 
# Whether dlopen of statically linked programs is supported.
19164
 
dlopen_self_static=$enable_dlopen_self_static
19165
 
 
19166
 
# Compiler flag to prevent dynamic linking.
19167
 
link_static_flag=$lt_lt_prog_compiler_static_F77
19168
 
 
19169
 
# Compiler flag to turn off builtin functions.
19170
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
19171
 
 
19172
 
# Compiler flag to allow reflexive dlopens.
19173
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
19174
 
 
19175
 
# Compiler flag to generate shared objects directly from archives.
19176
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
19177
 
 
19178
 
# Compiler flag to generate thread-safe objects.
19179
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
19180
 
 
19181
 
# Library versioning type.
19182
 
version_type=$version_type
19183
 
 
19184
 
# Format of library name prefix.
19185
 
libname_spec=$lt_libname_spec
19186
 
 
19187
 
# List of archive names.  First name is the real one, the rest are links.
19188
 
# The last name is the one that the linker finds with -lNAME.
19189
 
library_names_spec=$lt_library_names_spec
19190
 
 
19191
 
# The coded name of the library, if different from the real name.
19192
 
soname_spec=$lt_soname_spec
19193
 
 
19194
 
# Commands used to build and install an old-style archive.
19195
 
RANLIB=$lt_RANLIB
19196
 
old_archive_cmds=$lt_old_archive_cmds_F77
19197
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19198
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19199
 
 
19200
 
# Create an old-style archive from a shared archive.
19201
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
19202
 
 
19203
 
# Create a temporary old-style archive to link instead of a shared archive.
19204
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
19205
 
 
19206
 
# Commands used to build and install a shared archive.
19207
 
archive_cmds=$lt_archive_cmds_F77
19208
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
19209
 
postinstall_cmds=$lt_postinstall_cmds
19210
 
postuninstall_cmds=$lt_postuninstall_cmds
19211
 
 
19212
 
# Commands used to build a loadable module (assumed same as above if empty)
19213
 
module_cmds=$lt_module_cmds_F77
19214
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
19215
 
 
19216
 
# Commands to strip libraries.
19217
 
old_striplib=$lt_old_striplib
19218
 
striplib=$lt_striplib
19219
 
 
19220
 
# Dependencies to place before the objects being linked to create a
19221
 
# shared library.
19222
 
predep_objects=$lt_predep_objects_F77
19223
 
 
19224
 
# Dependencies to place after the objects being linked to create a
19225
 
# shared library.
19226
 
postdep_objects=$lt_postdep_objects_F77
19227
 
 
19228
 
# Dependencies to place before the objects being linked to create a
19229
 
# shared library.
19230
 
predeps=$lt_predeps_F77
19231
 
 
19232
 
# Dependencies to place after the objects being linked to create a
19233
 
# shared library.
19234
 
postdeps=$lt_postdeps_F77
19235
 
 
19236
 
# The library search path used internally by the compiler when linking
19237
 
# a shared library.
19238
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
19239
 
 
19240
 
# Method to check whether dependent libraries are shared objects.
19241
 
deplibs_check_method=$lt_deplibs_check_method
19242
 
 
19243
 
# Command to use when deplibs_check_method == file_magic.
19244
 
file_magic_cmd=$lt_file_magic_cmd
19245
 
 
19246
 
# Flag that allows shared libraries with undefined symbols to be built.
19247
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
19248
 
 
19249
 
# Flag that forces no undefined symbols.
19250
 
no_undefined_flag=$lt_no_undefined_flag_F77
19251
 
 
19252
 
# Commands used to finish a libtool library installation in a directory.
19253
 
finish_cmds=$lt_finish_cmds
19254
 
 
19255
 
# Same as above, but a single script fragment to be evaled but not shown.
19256
 
finish_eval=$lt_finish_eval
19257
 
 
19258
 
# Take the output of nm and produce a listing of raw symbols and C names.
19259
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19260
 
 
19261
 
# Transform the output of nm in a proper C declaration
19262
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19263
 
 
19264
 
# Transform the output of nm in a C name address pair
19265
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19266
 
 
19267
 
# This is the shared library runtime path variable.
19268
 
runpath_var=$runpath_var
19269
 
 
19270
 
# This is the shared library path variable.
19271
 
shlibpath_var=$shlibpath_var
19272
 
 
19273
 
# Is shlibpath searched before the hard-coded library search path?
19274
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19275
 
 
19276
 
# How to hardcode a shared library path into an executable.
19277
 
hardcode_action=$hardcode_action_F77
19278
 
 
19279
 
# Whether we should hardcode library paths into libraries.
19280
 
hardcode_into_libs=$hardcode_into_libs
19281
 
 
19282
 
# Flag to hardcode \$libdir into a binary during linking.
19283
 
# This must work even if \$libdir does not exist.
19284
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
19285
 
 
19286
 
# If ld is used when linking, flag to hardcode \$libdir into
19287
 
# a binary during linking. This must work even if \$libdir does
19288
 
# not exist.
19289
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
19290
 
 
19291
 
# Whether we need a single -rpath flag with a separated argument.
19292
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
19293
 
 
19294
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19295
 
# resulting binary.
19296
 
hardcode_direct=$hardcode_direct_F77
19297
 
 
19298
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19299
 
# resulting binary.
19300
 
hardcode_minus_L=$hardcode_minus_L_F77
19301
 
 
19302
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19303
 
# the resulting binary.
19304
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
19305
 
 
19306
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19307
 
# and all subsequent libraries and executables linked against it.
19308
 
hardcode_automatic=$hardcode_automatic_F77
19309
 
 
19310
 
# Variables whose values should be saved in libtool wrapper scripts and
19311
 
# restored at relink time.
19312
 
variables_saved_for_relink="$variables_saved_for_relink"
19313
 
 
19314
 
# Whether libtool must link a program against all its dependency libraries.
19315
 
link_all_deplibs=$link_all_deplibs_F77
19316
 
 
19317
 
# Compile-time system search path for libraries
19318
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19319
 
 
19320
 
# Run-time system search path for libraries
19321
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19322
 
 
19323
 
# Fix the shell variable \$srcfile for the compiler.
19324
 
fix_srcfile_path="$fix_srcfile_path_F77"
19325
 
 
19326
 
# Set to yes if exported symbols are required.
19327
 
always_export_symbols=$always_export_symbols_F77
19328
 
 
19329
 
# The commands to list exported symbols.
19330
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
19331
 
 
19332
 
# The commands to extract the exported symbol list from a shared archive.
19333
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19334
 
 
19335
 
# Symbols that should not be listed in the preloaded symbols.
19336
 
exclude_expsyms=$lt_exclude_expsyms_F77
19337
 
 
19338
 
# Symbols that must always be exported.
19339
 
include_expsyms=$lt_include_expsyms_F77
19340
 
 
19341
 
# ### END LIBTOOL TAG CONFIG: $tagname
19342
 
 
19343
 
__EOF__
19344
 
 
19345
 
 
19346
 
else
19347
 
  # If there is no Makefile yet, we rely on a make rule to execute
19348
 
  # `config.status --recheck' to rerun these tests and create the
19349
 
  # libtool script then.
19350
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19351
 
  if test -f "$ltmain_in"; then
19352
 
    test -f Makefile && make "$ltmain"
19353
 
  fi
19354
 
fi
19355
 
 
19356
 
 
19357
 
ac_ext=c
19358
 
ac_cpp='$CPP $CPPFLAGS'
19359
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19360
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19361
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19362
 
 
19363
 
CC="$lt_save_CC"
19364
 
 
19365
 
        else
19366
 
          tagname=""
19367
 
        fi
19368
 
        ;;
19369
 
 
19370
 
      GCJ)
19371
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
19372
 
 
19373
 
 
19374
 
# Source file extension for Java test sources.
19375
 
ac_ext=java
19376
 
 
19377
 
# Object file extension for compiled Java test sources.
19378
 
objext=o
19379
 
objext_GCJ=$objext
19380
 
 
19381
 
# Code to be used in simple compile tests
19382
 
lt_simple_compile_test_code="class foo {}\n"
19383
 
 
19384
 
# Code to be used in simple link tests
19385
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
19386
 
 
19387
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19388
 
 
19389
 
# If no C compiler was specified, use CC.
19390
 
LTCC=${LTCC-"$CC"}
19391
 
 
19392
 
# If no C compiler flags were specified, use CFLAGS.
19393
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19394
 
 
19395
 
# Allow CC to be a program name with arguments.
19396
 
compiler=$CC
19397
 
 
19398
 
 
19399
 
# save warnings/boilerplate of simple test code
19400
 
ac_outfile=conftest.$ac_objext
19401
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19402
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19403
 
_lt_compiler_boilerplate=`cat conftest.err`
19404
 
$rm conftest*
19405
 
 
19406
 
ac_outfile=conftest.$ac_objext
19407
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19408
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19409
 
_lt_linker_boilerplate=`cat conftest.err`
19410
 
$rm conftest*
19411
 
 
19412
 
 
19413
 
# Allow CC to be a program name with arguments.
19414
 
lt_save_CC="$CC"
19415
 
CC=${GCJ-"gcj"}
19416
 
compiler=$CC
19417
 
compiler_GCJ=$CC
19418
 
for cc_temp in $compiler""; do
19419
 
  case $cc_temp in
19420
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19421
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19422
 
    \-*) ;;
19423
 
    *) break;;
19424
 
  esac
19425
 
done
19426
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19427
 
 
19428
 
 
19429
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
19430
 
archive_cmds_need_lc_GCJ=no
19431
 
 
19432
 
old_archive_cmds_GCJ=$old_archive_cmds
19433
 
 
19434
 
## CAVEAT EMPTOR:
19435
 
## There is no encapsulation within the following macros, do not change
19436
 
## the running order or otherwise move them around unless you know exactly
19437
 
## what you are doing...
19438
 
 
19439
 
lt_prog_compiler_no_builtin_flag_GCJ=
19440
 
 
19441
 
if test "$GCC" = yes; then
19442
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
19443
 
 
19444
 
 
19445
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
19446
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
19447
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
19448
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19449
 
else
19450
 
  lt_cv_prog_compiler_rtti_exceptions=no
19451
 
  ac_outfile=conftest.$ac_objext
19452
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19453
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
19454
 
   # Insert the option either (1) after the last *FLAGS variable, or
19455
 
   # (2) before a word containing "conftest.", or (3) at the end.
19456
 
   # Note that $ac_compile itself does not contain backslashes and begins
19457
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19458
 
   # The option is referenced via a variable to avoid confusing sed.
19459
 
   lt_compile=`echo "$ac_compile" | $SED \
19460
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19461
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19462
 
   -e 's:$: $lt_compiler_flag:'`
19463
 
   (eval echo "\"\$as_me:19463: $lt_compile\"" >&5)
19464
 
   (eval "$lt_compile" 2>conftest.err)
19465
 
   ac_status=$?
19466
 
   cat conftest.err >&5
19467
 
   echo "$as_me:19467: \$? = $ac_status" >&5
19468
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19469
 
     # The compiler can only warn and ignore the option if not recognized
19470
 
     # So say no if there are warnings other than the usual output.
19471
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19472
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19473
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19474
 
       lt_cv_prog_compiler_rtti_exceptions=yes
19475
 
     fi
19476
 
   fi
19477
 
   $rm conftest*
19478
 
 
19479
 
fi
19480
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
19481
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
19482
 
 
19483
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
19484
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
19485
 
else
19486
 
    :
19487
 
fi
19488
 
 
19489
 
fi
19490
 
 
19491
 
lt_prog_compiler_wl_GCJ=
19492
 
lt_prog_compiler_pic_GCJ=
19493
 
lt_prog_compiler_static_GCJ=
19494
 
 
19495
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19496
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19497
 
 
19498
 
  if test "$GCC" = yes; then
19499
 
    lt_prog_compiler_wl_GCJ='-Wl,'
19500
 
    lt_prog_compiler_static_GCJ='-static'
19501
 
 
19502
 
    case $host_os in
19503
 
      aix*)
19504
 
      # All AIX code is PIC.
19505
 
      if test "$host_cpu" = ia64; then
19506
 
        # AIX 5 now supports IA64 processor
19507
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19508
 
      fi
19509
 
      ;;
19510
 
 
19511
 
    amigaos*)
19512
 
      # FIXME: we need at least 68020 code to build shared libraries, but
19513
 
      # adding the `-m68020' flag to GCC prevents building anything better,
19514
 
      # like `-m68040'.
19515
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
19516
 
      ;;
19517
 
 
19518
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19519
 
      # PIC is the default for these OSes.
19520
 
      ;;
19521
 
 
19522
 
    mingw* | pw32* | os2*)
19523
 
      # This hack is so that the source file can tell whether it is being
19524
 
      # built for inclusion in a dll (and should export symbols for example).
19525
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19526
 
      ;;
19527
 
 
19528
 
    darwin* | rhapsody*)
19529
 
      # PIC is the default on this platform
19530
 
      # Common symbols not allowed in MH_DYLIB files
19531
 
      lt_prog_compiler_pic_GCJ='-fno-common'
19532
 
      ;;
19533
 
 
19534
 
    interix3*)
19535
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19536
 
      # Instead, we relocate shared libraries at runtime.
19537
 
      ;;
19538
 
 
19539
 
    msdosdjgpp*)
19540
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
19541
 
      # on systems that don't support them.
19542
 
      lt_prog_compiler_can_build_shared_GCJ=no
19543
 
      enable_shared=no
19544
 
      ;;
19545
 
 
19546
 
    sysv4*MP*)
19547
 
      if test -d /usr/nec; then
19548
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
19549
 
      fi
19550
 
      ;;
19551
 
 
19552
 
    hpux*)
19553
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19554
 
      # not for PA HP-UX.
19555
 
      case $host_cpu in
19556
 
      hppa*64*|ia64*)
19557
 
        # +Z the default
19558
 
        ;;
19559
 
      *)
19560
 
        lt_prog_compiler_pic_GCJ='-fPIC'
19561
 
        ;;
19562
 
      esac
19563
 
      ;;
19564
 
 
19565
 
    *)
19566
 
      lt_prog_compiler_pic_GCJ='-fPIC'
19567
 
      ;;
19568
 
    esac
19569
 
  else
19570
 
    # PORTME Check for flag to pass linker flags through the system compiler.
19571
 
    case $host_os in
19572
 
    aix*)
19573
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19574
 
      if test "$host_cpu" = ia64; then
19575
 
        # AIX 5 now supports IA64 processor
19576
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19577
 
      else
19578
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19579
 
      fi
19580
 
      ;;
19581
 
      darwin*)
19582
 
        # PIC is the default on this platform
19583
 
        # Common symbols not allowed in MH_DYLIB files
19584
 
       case $cc_basename in
19585
 
         xlc*)
19586
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
19587
 
         lt_prog_compiler_wl_GCJ='-Wl,'
19588
 
         ;;
19589
 
       esac
19590
 
       ;;
19591
 
 
19592
 
    mingw* | pw32* | os2*)
19593
 
      # This hack is so that the source file can tell whether it is being
19594
 
      # built for inclusion in a dll (and should export symbols for example).
19595
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19596
 
      ;;
19597
 
 
19598
 
    hpux9* | hpux10* | hpux11*)
19599
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19600
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19601
 
      # not for PA HP-UX.
19602
 
      case $host_cpu in
19603
 
      hppa*64*|ia64*)
19604
 
        # +Z the default
19605
 
        ;;
19606
 
      *)
19607
 
        lt_prog_compiler_pic_GCJ='+Z'
19608
 
        ;;
19609
 
      esac
19610
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
19611
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19612
 
      ;;
19613
 
 
19614
 
    irix5* | irix6* | nonstopux*)
19615
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19616
 
      # PIC (with -KPIC) is the default.
19617
 
      lt_prog_compiler_static_GCJ='-non_shared'
19618
 
      ;;
19619
 
 
19620
 
    newsos6)
19621
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19622
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19623
 
      ;;
19624
 
 
19625
 
    linux* | k*bsd*-gnu)
19626
 
      case $cc_basename in
19627
 
      icc* | ecc*)
19628
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19629
 
        lt_prog_compiler_pic_GCJ='-KPIC'
19630
 
        lt_prog_compiler_static_GCJ='-static'
19631
 
        ;;
19632
 
      pgcc* | pgf77* | pgf90* | pgf95*)
19633
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
19634
 
        # which looks to be a dead project)
19635
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19636
 
        lt_prog_compiler_pic_GCJ='-fpic'
19637
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19638
 
        ;;
19639
 
      ccc*)
19640
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19641
 
        # All Alpha code is PIC.
19642
 
        lt_prog_compiler_static_GCJ='-non_shared'
19643
 
        ;;
19644
 
      esac
19645
 
      ;;
19646
 
 
19647
 
    osf3* | osf4* | osf5*)
19648
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19649
 
      # All OSF/1 code is PIC.
19650
 
      lt_prog_compiler_static_GCJ='-non_shared'
19651
 
      ;;
19652
 
 
19653
 
    solaris*)
19654
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19655
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19656
 
      case $cc_basename in
19657
 
      f77* | f90* | f95*)
19658
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
19659
 
      *)
19660
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
19661
 
      esac
19662
 
      ;;
19663
 
 
19664
 
    sunos4*)
19665
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
19666
 
      lt_prog_compiler_pic_GCJ='-PIC'
19667
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19668
 
      ;;
19669
 
 
19670
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
19671
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19672
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19673
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19674
 
      ;;
19675
 
 
19676
 
    sysv4*MP*)
19677
 
      if test -d /usr/nec ;then
19678
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
19679
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19680
 
      fi
19681
 
      ;;
19682
 
 
19683
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19684
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19685
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19686
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19687
 
      ;;
19688
 
 
19689
 
    unicos*)
19690
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19691
 
      lt_prog_compiler_can_build_shared_GCJ=no
19692
 
      ;;
19693
 
 
19694
 
    uts4*)
19695
 
      lt_prog_compiler_pic_GCJ='-pic'
19696
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19697
 
      ;;
19698
 
 
19699
 
    *)
19700
 
      lt_prog_compiler_can_build_shared_GCJ=no
19701
 
      ;;
19702
 
    esac
19703
 
  fi
19704
 
 
19705
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19706
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
19707
 
 
19708
 
#
19709
 
# Check to make sure the PIC flag actually works.
19710
 
#
19711
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
19712
 
 
19713
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19714
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19715
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
19716
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19717
 
else
19718
 
  lt_prog_compiler_pic_works_GCJ=no
19719
 
  ac_outfile=conftest.$ac_objext
19720
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19721
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19722
 
   # Insert the option either (1) after the last *FLAGS variable, or
19723
 
   # (2) before a word containing "conftest.", or (3) at the end.
19724
 
   # Note that $ac_compile itself does not contain backslashes and begins
19725
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19726
 
   # The option is referenced via a variable to avoid confusing sed.
19727
 
   lt_compile=`echo "$ac_compile" | $SED \
19728
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19729
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19730
 
   -e 's:$: $lt_compiler_flag:'`
19731
 
   (eval echo "\"\$as_me:19731: $lt_compile\"" >&5)
19732
 
   (eval "$lt_compile" 2>conftest.err)
19733
 
   ac_status=$?
19734
 
   cat conftest.err >&5
19735
 
   echo "$as_me:19735: \$? = $ac_status" >&5
19736
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19737
 
     # The compiler can only warn and ignore the option if not recognized
19738
 
     # So say no if there are warnings other than the usual output.
19739
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19740
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19741
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19742
 
       lt_prog_compiler_pic_works_GCJ=yes
19743
 
     fi
19744
 
   fi
19745
 
   $rm conftest*
19746
 
 
19747
 
fi
19748
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
19749
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
19750
 
 
19751
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
19752
 
    case $lt_prog_compiler_pic_GCJ in
19753
 
     "" | " "*) ;;
19754
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19755
 
     esac
19756
 
else
19757
 
    lt_prog_compiler_pic_GCJ=
19758
 
     lt_prog_compiler_can_build_shared_GCJ=no
19759
 
fi
19760
 
 
19761
 
fi
19762
 
case $host_os in
19763
 
  # For platforms which do not support PIC, -DPIC is meaningless:
19764
 
  *djgpp*)
19765
 
    lt_prog_compiler_pic_GCJ=
19766
 
    ;;
19767
 
  *)
19768
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19769
 
    ;;
19770
 
esac
19771
 
 
19772
 
#
19773
 
# Check to make sure the static flag actually works.
19774
 
#
19775
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
19776
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19777
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19778
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
19779
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19780
 
else
19781
 
  lt_prog_compiler_static_works_GCJ=no
19782
 
   save_LDFLAGS="$LDFLAGS"
19783
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19784
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
19785
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19786
 
     # The linker can only warn and ignore the option if not recognized
19787
 
     # So say no if there are warnings
19788
 
     if test -s conftest.err; then
19789
 
       # Append any errors to the config.log.
19790
 
       cat conftest.err 1>&5
19791
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19792
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19793
 
       if diff conftest.exp conftest.er2 >/dev/null; then
19794
 
         lt_prog_compiler_static_works_GCJ=yes
19795
 
       fi
19796
 
     else
19797
 
       lt_prog_compiler_static_works_GCJ=yes
19798
 
     fi
19799
 
   fi
19800
 
   $rm conftest*
19801
 
   LDFLAGS="$save_LDFLAGS"
19802
 
 
19803
 
fi
19804
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
19805
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
19806
 
 
19807
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
19808
 
    :
19809
 
else
19810
 
    lt_prog_compiler_static_GCJ=
19811
 
fi
19812
 
 
19813
 
 
19814
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19815
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19816
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19817
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19818
 
else
19819
 
  lt_cv_prog_compiler_c_o_GCJ=no
19820
 
   $rm -r conftest 2>/dev/null
19821
 
   mkdir conftest
19822
 
   cd conftest
19823
 
   mkdir out
19824
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19825
 
 
19826
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
19827
 
   # Insert the option either (1) after the last *FLAGS variable, or
19828
 
   # (2) before a word containing "conftest.", or (3) at the end.
19829
 
   # Note that $ac_compile itself does not contain backslashes and begins
19830
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19831
 
   lt_compile=`echo "$ac_compile" | $SED \
19832
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19833
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19834
 
   -e 's:$: $lt_compiler_flag:'`
19835
 
   (eval echo "\"\$as_me:19835: $lt_compile\"" >&5)
19836
 
   (eval "$lt_compile" 2>out/conftest.err)
19837
 
   ac_status=$?
19838
 
   cat out/conftest.err >&5
19839
 
   echo "$as_me:19839: \$? = $ac_status" >&5
19840
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
19841
 
   then
19842
 
     # The compiler can only warn and ignore the option if not recognized
19843
 
     # So say no if there are warnings
19844
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19845
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19846
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19847
 
       lt_cv_prog_compiler_c_o_GCJ=yes
19848
 
     fi
19849
 
   fi
19850
 
   chmod u+w . 2>&5
19851
 
   $rm conftest*
19852
 
   # SGI C++ compiler will create directory out/ii_files/ for
19853
 
   # template instantiation
19854
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19855
 
   $rm out/* && rmdir out
19856
 
   cd ..
19857
 
   rmdir conftest
19858
 
   $rm conftest*
19859
 
 
19860
 
fi
19861
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19862
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19863
 
 
19864
 
 
19865
 
hard_links="nottested"
19866
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19867
 
  # do not overwrite the value of need_locks provided by the user
19868
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19869
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19870
 
  hard_links=yes
19871
 
  $rm conftest*
19872
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19873
 
  touch conftest.a
19874
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
19875
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19876
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
19877
 
echo "${ECHO_T}$hard_links" >&6; }
19878
 
  if test "$hard_links" = no; then
19879
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19880
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19881
 
    need_locks=warn
19882
 
  fi
19883
 
else
19884
 
  need_locks=no
19885
 
fi
19886
 
 
19887
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19888
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19889
 
 
19890
 
  runpath_var=
19891
 
  allow_undefined_flag_GCJ=
19892
 
  enable_shared_with_static_runtimes_GCJ=no
19893
 
  archive_cmds_GCJ=
19894
 
  archive_expsym_cmds_GCJ=
19895
 
  old_archive_From_new_cmds_GCJ=
19896
 
  old_archive_from_expsyms_cmds_GCJ=
19897
 
  export_dynamic_flag_spec_GCJ=
19898
 
  whole_archive_flag_spec_GCJ=
19899
 
  thread_safe_flag_spec_GCJ=
19900
 
  hardcode_libdir_flag_spec_GCJ=
19901
 
  hardcode_libdir_flag_spec_ld_GCJ=
19902
 
  hardcode_libdir_separator_GCJ=
19903
 
  hardcode_direct_GCJ=no
19904
 
  hardcode_minus_L_GCJ=no
19905
 
  hardcode_shlibpath_var_GCJ=unsupported
19906
 
  link_all_deplibs_GCJ=unknown
19907
 
  hardcode_automatic_GCJ=no
19908
 
  module_cmds_GCJ=
19909
 
  module_expsym_cmds_GCJ=
19910
 
  always_export_symbols_GCJ=no
19911
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19912
 
  # include_expsyms should be a list of space-separated symbols to be *always*
19913
 
  # included in the symbol list
19914
 
  include_expsyms_GCJ=
19915
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
19916
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
19917
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19918
 
  # as well as any symbol that contains `d'.
19919
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
19920
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19921
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
19922
 
  # the symbol is explicitly referenced.  Since portable code cannot
19923
 
  # rely on this symbol name, it's probably fine to never include it in
19924
 
  # preloaded symbol tables.
19925
 
  extract_expsyms_cmds=
19926
 
  # Just being paranoid about ensuring that cc_basename is set.
19927
 
  for cc_temp in $compiler""; do
19928
 
  case $cc_temp in
19929
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19930
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19931
 
    \-*) ;;
19932
 
    *) break;;
19933
 
  esac
19934
 
done
19935
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19936
 
 
19937
 
  case $host_os in
19938
 
  cygwin* | mingw* | pw32*)
19939
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
19940
 
    # When not using gcc, we currently assume that we are using
19941
 
    # Microsoft Visual C++.
19942
 
    if test "$GCC" != yes; then
19943
 
      with_gnu_ld=no
19944
 
    fi
19945
 
    ;;
19946
 
  interix*)
19947
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
19948
 
    with_gnu_ld=yes
19949
 
    ;;
19950
 
  openbsd*)
19951
 
    with_gnu_ld=no
19952
 
    ;;
19953
 
  esac
19954
 
 
19955
 
  ld_shlibs_GCJ=yes
19956
 
  if test "$with_gnu_ld" = yes; then
19957
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
19958
 
    wlarc='${wl}'
19959
 
 
19960
 
    # Set some defaults for GNU ld with shared library support. These
19961
 
    # are reset later if shared libraries are not supported. Putting them
19962
 
    # here allows them to be overridden if necessary.
19963
 
    runpath_var=LD_RUN_PATH
19964
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19965
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19966
 
    # ancient GNU ld didn't support --whole-archive et. al.
19967
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19968
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19969
 
      else
19970
 
        whole_archive_flag_spec_GCJ=
19971
 
    fi
19972
 
    supports_anon_versioning=no
19973
 
    case `$LD -v 2>/dev/null` in
19974
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19975
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19976
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19977
 
      *\ 2.11.*) ;; # other 2.11 versions
19978
 
      *) supports_anon_versioning=yes ;;
19979
 
    esac
19980
 
 
19981
 
    # See if GNU ld supports shared libraries.
19982
 
    case $host_os in
19983
 
    aix3* | aix4* | aix5*)
19984
 
      # On AIX/PPC, the GNU linker is very broken
19985
 
      if test "$host_cpu" != ia64; then
19986
 
        ld_shlibs_GCJ=no
19987
 
        cat <<EOF 1>&2
19988
 
 
19989
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19990
 
*** to be unable to reliably create shared libraries on AIX.
19991
 
*** Therefore, libtool is disabling shared libraries support.  If you
19992
 
*** really care for shared libraries, you may want to modify your PATH
19993
 
*** so that a non-GNU linker is found, and then restart.
19994
 
 
19995
 
EOF
19996
 
      fi
19997
 
      ;;
19998
 
 
19999
 
    amigaos*)
20000
 
      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)'
20001
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20002
 
      hardcode_minus_L_GCJ=yes
20003
 
 
20004
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20005
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
20006
 
      # to version 4, is to share data among multiple programs linked
20007
 
      # with the same dynamic library.  Since this doesn't match the
20008
 
      # behavior of shared libraries on other platforms, we can't use
20009
 
      # them.
20010
 
      ld_shlibs_GCJ=no
20011
 
      ;;
20012
 
 
20013
 
    beos*)
20014
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20015
 
        allow_undefined_flag_GCJ=unsupported
20016
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20017
 
        # support --undefined.  This deserves some investigation.  FIXME
20018
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20019
 
      else
20020
 
        ld_shlibs_GCJ=no
20021
 
      fi
20022
 
      ;;
20023
 
 
20024
 
    cygwin* | mingw* | pw32*)
20025
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
20026
 
      # as there is no search path for DLLs.
20027
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20028
 
      allow_undefined_flag_GCJ=unsupported
20029
 
      always_export_symbols_GCJ=no
20030
 
      enable_shared_with_static_runtimes_GCJ=yes
20031
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
20032
 
 
20033
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20034
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20035
 
        # If the export-symbols file already is a .def file (1st line
20036
 
        # is EXPORTS), use it as is; otherwise, prepend...
20037
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20038
 
          cp $export_symbols $output_objdir/$soname.def;
20039
 
        else
20040
 
          echo EXPORTS > $output_objdir/$soname.def;
20041
 
          cat $export_symbols >> $output_objdir/$soname.def;
20042
 
        fi~
20043
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20044
 
      else
20045
 
        ld_shlibs_GCJ=no
20046
 
      fi
20047
 
      ;;
20048
 
 
20049
 
    interix3*)
20050
 
      hardcode_direct_GCJ=no
20051
 
      hardcode_shlibpath_var_GCJ=no
20052
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20053
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
20054
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
20055
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
20056
 
      # default) and relocated if they conflict, which is a slow very memory
20057
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
20058
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
20059
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
20060
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
20061
 
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
20062
 
      ;;
20063
 
 
20064
 
    linux* | k*bsd*-gnu)
20065
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20066
 
        tmp_addflag=
20067
 
        case $cc_basename,$host_cpu in
20068
 
        pgcc*)                          # Portland Group C compiler
20069
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
20070
 
          tmp_addflag=' $pic_flag'
20071
 
          ;;
20072
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
20073
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
20074
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
20075
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
20076
 
          tmp_addflag=' -i_dynamic' ;;
20077
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
20078
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
20079
 
        ifc* | ifort*)                  # Intel Fortran compiler
20080
 
          tmp_addflag=' -nofor_main' ;;
20081
 
        esac
20082
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20083
 
 
20084
 
        if test $supports_anon_versioning = yes; then
20085
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
20086
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20087
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
20088
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20089
 
        fi
20090
 
        link_all_deplibs_GCJ=no
20091
 
      else
20092
 
        ld_shlibs_GCJ=no
20093
 
      fi
20094
 
      ;;
20095
 
 
20096
 
    netbsd* | netbsdelf*-gnu)
20097
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20098
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20099
 
        wlarc=
20100
 
      else
20101
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20102
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20103
 
      fi
20104
 
      ;;
20105
 
 
20106
 
    solaris*)
20107
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
20108
 
        ld_shlibs_GCJ=no
20109
 
        cat <<EOF 1>&2
20110
 
 
20111
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
20112
 
*** create shared libraries on Solaris systems.  Therefore, libtool
20113
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
20114
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
20115
 
*** your PATH or compiler configuration so that the native linker is
20116
 
*** used, and then restart.
20117
 
 
20118
 
EOF
20119
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20120
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20121
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20122
 
      else
20123
 
        ld_shlibs_GCJ=no
20124
 
      fi
20125
 
      ;;
20126
 
 
20127
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
20128
 
      case `$LD -v 2>&1` in
20129
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
20130
 
        ld_shlibs_GCJ=no
20131
 
        cat <<_LT_EOF 1>&2
20132
 
 
20133
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
20134
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
20135
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
20136
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
20137
 
*** your PATH or compiler configuration so that the native linker is
20138
 
*** used, and then restart.
20139
 
 
20140
 
_LT_EOF
20141
 
        ;;
20142
 
        *)
20143
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20144
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
20145
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
20146
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
20147
 
          else
20148
 
            ld_shlibs_GCJ=no
20149
 
          fi
20150
 
        ;;
20151
 
      esac
20152
 
      ;;
20153
 
 
20154
 
    sunos4*)
20155
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20156
 
      wlarc=
20157
 
      hardcode_direct_GCJ=yes
20158
 
      hardcode_shlibpath_var_GCJ=no
20159
 
      ;;
20160
 
 
20161
 
    *)
20162
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20163
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20164
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20165
 
      else
20166
 
        ld_shlibs_GCJ=no
20167
 
      fi
20168
 
      ;;
20169
 
    esac
20170
 
 
20171
 
    if test "$ld_shlibs_GCJ" = no; then
20172
 
      runpath_var=
20173
 
      hardcode_libdir_flag_spec_GCJ=
20174
 
      export_dynamic_flag_spec_GCJ=
20175
 
      whole_archive_flag_spec_GCJ=
20176
 
    fi
20177
 
  else
20178
 
    # PORTME fill in a description of your system's linker (not GNU ld)
20179
 
    case $host_os in
20180
 
    aix3*)
20181
 
      allow_undefined_flag_GCJ=unsupported
20182
 
      always_export_symbols_GCJ=yes
20183
 
      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'
20184
 
      # Note: this linker hardcodes the directories in LIBPATH if there
20185
 
      # are no directories specified by -L.
20186
 
      hardcode_minus_L_GCJ=yes
20187
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
20188
 
        # Neither direct hardcoding nor static linking is supported with a
20189
 
        # broken collect2.
20190
 
        hardcode_direct_GCJ=unsupported
20191
 
      fi
20192
 
      ;;
20193
 
 
20194
 
    aix4* | aix5*)
20195
 
      if test "$host_cpu" = ia64; then
20196
 
        # On IA64, the linker does run time linking by default, so we don't
20197
 
        # have to do anything special.
20198
 
        aix_use_runtimelinking=no
20199
 
        exp_sym_flag='-Bexport'
20200
 
        no_entry_flag=""
20201
 
      else
20202
 
        # If we're using GNU nm, then we don't want the "-C" option.
20203
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
20204
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20205
 
          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'
20206
 
        else
20207
 
          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'
20208
 
        fi
20209
 
        aix_use_runtimelinking=no
20210
 
 
20211
 
        # Test if we are trying to use run time linking or normal
20212
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20213
 
        # need to do runtime linking.
20214
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20215
 
          for ld_flag in $LDFLAGS; do
20216
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
20217
 
            aix_use_runtimelinking=yes
20218
 
            break
20219
 
          fi
20220
 
          done
20221
 
          ;;
20222
 
        esac
20223
 
 
20224
 
        exp_sym_flag='-bexport'
20225
 
        no_entry_flag='-bnoentry'
20226
 
      fi
20227
 
 
20228
 
      # When large executables or shared objects are built, AIX ld can
20229
 
      # have problems creating the table of contents.  If linking a library
20230
 
      # or program results in "error TOC overflow" add -mminimal-toc to
20231
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
20232
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20233
 
 
20234
 
      archive_cmds_GCJ=''
20235
 
      hardcode_direct_GCJ=yes
20236
 
      hardcode_libdir_separator_GCJ=':'
20237
 
      link_all_deplibs_GCJ=yes
20238
 
 
20239
 
      if test "$GCC" = yes; then
20240
 
        case $host_os in aix4.[012]|aix4.[012].*)
20241
 
        # We only want to do this on AIX 4.2 and lower, the check
20242
 
        # below for broken collect2 doesn't work under 4.3+
20243
 
          collect2name=`${CC} -print-prog-name=collect2`
20244
 
          if test -f "$collect2name" && \
20245
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
20246
 
          then
20247
 
          # We have reworked collect2
20248
 
          hardcode_direct_GCJ=yes
20249
 
          else
20250
 
          # We have old collect2
20251
 
          hardcode_direct_GCJ=unsupported
20252
 
          # It fails to find uninstalled libraries when the uninstalled
20253
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
20254
 
          # to unsupported forces relinking
20255
 
          hardcode_minus_L_GCJ=yes
20256
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
20257
 
          hardcode_libdir_separator_GCJ=
20258
 
          fi
20259
 
          ;;
20260
 
        esac
20261
 
        shared_flag='-shared'
20262
 
        if test "$aix_use_runtimelinking" = yes; then
20263
 
          shared_flag="$shared_flag "'${wl}-G'
20264
 
        fi
20265
 
      else
20266
 
        # not using gcc
20267
 
        if test "$host_cpu" = ia64; then
20268
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20269
 
        # chokes on -Wl,-G. The following line is correct:
20270
 
          shared_flag='-G'
20271
 
        else
20272
 
          if test "$aix_use_runtimelinking" = yes; then
20273
 
            shared_flag='${wl}-G'
20274
 
          else
20275
 
            shared_flag='${wl}-bM:SRE'
20276
 
          fi
20277
 
        fi
20278
 
      fi
20279
 
 
20280
 
      # It seems that -bexpall does not export symbols beginning with
20281
 
      # underscore (_), so it is better to generate a list of symbols to export.
20282
 
      always_export_symbols_GCJ=yes
20283
 
      if test "$aix_use_runtimelinking" = yes; then
20284
 
        # Warning - without using the other runtime loading flags (-brtl),
20285
 
        # -berok will link without error, but may produce a broken library.
20286
 
        allow_undefined_flag_GCJ='-berok'
20287
 
       # Determine the default libpath from the value encoded in an empty executable.
20288
 
       cat >conftest.$ac_ext <<_ACEOF
20289
 
/* confdefs.h.  */
20290
 
_ACEOF
20291
 
cat confdefs.h >>conftest.$ac_ext
20292
 
cat >>conftest.$ac_ext <<_ACEOF
20293
 
/* end confdefs.h.  */
20294
 
 
20295
 
int
20296
 
main ()
20297
 
{
20298
 
 
20299
 
  ;
20300
 
  return 0;
20301
 
}
20302
 
_ACEOF
20303
 
rm -f conftest.$ac_objext conftest$ac_exeext
20304
 
if { (ac_try="$ac_link"
20305
 
case "(($ac_try" in
20306
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20307
 
  *) ac_try_echo=$ac_try;;
20308
 
esac
20309
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20310
 
  (eval "$ac_link") 2>conftest.er1
20311
 
  ac_status=$?
20312
 
  grep -v '^ *+' conftest.er1 >conftest.err
20313
 
  rm -f conftest.er1
20314
 
  cat conftest.err >&5
20315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316
 
  (exit $ac_status); } && {
20317
 
         test -z "$ac_c_werror_flag" ||
20318
 
         test ! -s conftest.err
20319
 
       } && test -s conftest$ac_exeext &&
20320
 
       $as_test_x conftest$ac_exeext; then
20321
 
 
20322
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
20323
 
}'`
20324
 
# Check for a 64-bit object if we didn't find anything.
20325
 
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; }
20326
 
}'`; fi
20327
 
else
20328
 
  echo "$as_me: failed program was:" >&5
20329
 
sed 's/^/| /' conftest.$ac_ext >&5
20330
 
 
20331
 
 
20332
 
fi
20333
 
 
20334
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20335
 
      conftest$ac_exeext conftest.$ac_ext
20336
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20337
 
 
20338
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
20339
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
20340
 
       else
20341
 
        if test "$host_cpu" = ia64; then
20342
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
20343
 
          allow_undefined_flag_GCJ="-z nodefs"
20344
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
20345
 
        else
20346
 
         # Determine the default libpath from the value encoded in an empty executable.
20347
 
         cat >conftest.$ac_ext <<_ACEOF
20348
 
/* confdefs.h.  */
20349
 
_ACEOF
20350
 
cat confdefs.h >>conftest.$ac_ext
20351
 
cat >>conftest.$ac_ext <<_ACEOF
20352
 
/* end confdefs.h.  */
20353
 
 
20354
 
int
20355
 
main ()
20356
 
{
20357
 
 
20358
 
  ;
20359
 
  return 0;
20360
 
}
20361
 
_ACEOF
20362
 
rm -f conftest.$ac_objext conftest$ac_exeext
20363
 
if { (ac_try="$ac_link"
20364
 
case "(($ac_try" in
20365
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20366
 
  *) ac_try_echo=$ac_try;;
20367
 
esac
20368
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20369
 
  (eval "$ac_link") 2>conftest.er1
20370
 
  ac_status=$?
20371
 
  grep -v '^ *+' conftest.er1 >conftest.err
20372
 
  rm -f conftest.er1
20373
 
  cat conftest.err >&5
20374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375
 
  (exit $ac_status); } && {
20376
 
         test -z "$ac_c_werror_flag" ||
20377
 
         test ! -s conftest.err
20378
 
       } && test -s conftest$ac_exeext &&
20379
 
       $as_test_x conftest$ac_exeext; then
20380
 
 
20381
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
20382
 
}'`
20383
 
# Check for a 64-bit object if we didn't find anything.
20384
 
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; }
20385
 
}'`; fi
20386
 
else
20387
 
  echo "$as_me: failed program was:" >&5
20388
 
sed 's/^/| /' conftest.$ac_ext >&5
20389
 
 
20390
 
 
20391
 
fi
20392
 
 
20393
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20394
 
      conftest$ac_exeext conftest.$ac_ext
20395
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20396
 
 
20397
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
20398
 
          # Warning - without using the other run time loading flags,
20399
 
          # -berok will link without error, but may produce a broken library.
20400
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
20401
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
20402
 
          # Exported symbols can be pulled into shared objects from archives
20403
 
          whole_archive_flag_spec_GCJ='$convenience'
20404
 
          archive_cmds_need_lc_GCJ=yes
20405
 
          # This is similar to how AIX traditionally builds its shared libraries.
20406
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
20407
 
        fi
20408
 
      fi
20409
 
      ;;
20410
 
 
20411
 
    amigaos*)
20412
 
      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)'
20413
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20414
 
      hardcode_minus_L_GCJ=yes
20415
 
      # see comment about different semantics on the GNU ld section
20416
 
      ld_shlibs_GCJ=no
20417
 
      ;;
20418
 
 
20419
 
    bsdi[45]*)
20420
 
      export_dynamic_flag_spec_GCJ=-rdynamic
20421
 
      ;;
20422
 
 
20423
 
    cygwin* | mingw* | pw32*)
20424
 
      # When not using gcc, we currently assume that we are using
20425
 
      # Microsoft Visual C++.
20426
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
20427
 
      # no search path for DLLs.
20428
 
      hardcode_libdir_flag_spec_GCJ=' '
20429
 
      allow_undefined_flag_GCJ=unsupported
20430
 
      # Tell ltmain to make .lib files, not .a files.
20431
 
      libext=lib
20432
 
      # Tell ltmain to make .dll files, not .so files.
20433
 
      shrext_cmds=".dll"
20434
 
      # FIXME: Setting linknames here is a bad hack.
20435
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20436
 
      # The linker will automatically build a .lib file if we build a DLL.
20437
 
      old_archive_From_new_cmds_GCJ='true'
20438
 
      # FIXME: Should let the user specify the lib program.
20439
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
20440
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
20441
 
      enable_shared_with_static_runtimes_GCJ=yes
20442
 
      ;;
20443
 
 
20444
 
    darwin* | rhapsody*)
20445
 
      case $host_os in
20446
 
        rhapsody* | darwin1.[012])
20447
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
20448
 
         ;;
20449
 
       *) # Darwin 1.3 on
20450
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20451
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20452
 
         else
20453
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
20454
 
             10.[012])
20455
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20456
 
               ;;
20457
 
             10.*)
20458
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
20459
 
               ;;
20460
 
           esac
20461
 
         fi
20462
 
         ;;
20463
 
      esac
20464
 
      archive_cmds_need_lc_GCJ=no
20465
 
      hardcode_direct_GCJ=no
20466
 
      hardcode_automatic_GCJ=yes
20467
 
      hardcode_shlibpath_var_GCJ=unsupported
20468
 
      whole_archive_flag_spec_GCJ=''
20469
 
      link_all_deplibs_GCJ=yes
20470
 
    if test "$GCC" = yes ; then
20471
 
        output_verbose_link_cmd='echo'
20472
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20473
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20474
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20475
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20476
 
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20477
 
    else
20478
 
      case $cc_basename in
20479
 
        xlc*)
20480
 
         output_verbose_link_cmd='echo'
20481
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
20482
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20483
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20484
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20485
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20486
 
          ;;
20487
 
       *)
20488
 
         ld_shlibs_GCJ=no
20489
 
          ;;
20490
 
      esac
20491
 
    fi
20492
 
      ;;
20493
 
 
20494
 
    dgux*)
20495
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20496
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20497
 
      hardcode_shlibpath_var_GCJ=no
20498
 
      ;;
20499
 
 
20500
 
    freebsd1*)
20501
 
      ld_shlibs_GCJ=no
20502
 
      ;;
20503
 
 
20504
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20505
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
20506
 
    # does not break anything, and helps significantly (at the cost of a little
20507
 
    # extra space).
20508
 
    freebsd2.2*)
20509
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20510
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20511
 
      hardcode_direct_GCJ=yes
20512
 
      hardcode_shlibpath_var_GCJ=no
20513
 
      ;;
20514
 
 
20515
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20516
 
    freebsd2*)
20517
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20518
 
      hardcode_direct_GCJ=yes
20519
 
      hardcode_minus_L_GCJ=yes
20520
 
      hardcode_shlibpath_var_GCJ=no
20521
 
      ;;
20522
 
 
20523
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20524
 
    freebsd* | dragonfly*)
20525
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20526
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20527
 
      hardcode_direct_GCJ=yes
20528
 
      hardcode_shlibpath_var_GCJ=no
20529
 
      ;;
20530
 
 
20531
 
    hpux9*)
20532
 
      if test "$GCC" = yes; then
20533
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
20534
 
      else
20535
 
        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'
20536
 
      fi
20537
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20538
 
      hardcode_libdir_separator_GCJ=:
20539
 
      hardcode_direct_GCJ=yes
20540
 
 
20541
 
      # hardcode_minus_L: Not really in the search PATH,
20542
 
      # but as the default location of the library.
20543
 
      hardcode_minus_L_GCJ=yes
20544
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
20545
 
      ;;
20546
 
 
20547
 
    hpux10*)
20548
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20549
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20550
 
      else
20551
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20552
 
      fi
20553
 
      if test "$with_gnu_ld" = no; then
20554
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20555
 
        hardcode_libdir_separator_GCJ=:
20556
 
 
20557
 
        hardcode_direct_GCJ=yes
20558
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
20559
 
 
20560
 
        # hardcode_minus_L: Not really in the search PATH,
20561
 
        # but as the default location of the library.
20562
 
        hardcode_minus_L_GCJ=yes
20563
 
      fi
20564
 
      ;;
20565
 
 
20566
 
    hpux11*)
20567
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20568
 
        case $host_cpu in
20569
 
        hppa*64*)
20570
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20571
 
          ;;
20572
 
        ia64*)
20573
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20574
 
          ;;
20575
 
        *)
20576
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20577
 
          ;;
20578
 
        esac
20579
 
      else
20580
 
        case $host_cpu in
20581
 
        hppa*64*)
20582
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20583
 
          ;;
20584
 
        ia64*)
20585
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20586
 
          ;;
20587
 
        *)
20588
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20589
 
          ;;
20590
 
        esac
20591
 
      fi
20592
 
      if test "$with_gnu_ld" = no; then
20593
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20594
 
        hardcode_libdir_separator_GCJ=:
20595
 
 
20596
 
        case $host_cpu in
20597
 
        hppa*64*|ia64*)
20598
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
20599
 
          hardcode_direct_GCJ=no
20600
 
          hardcode_shlibpath_var_GCJ=no
20601
 
          ;;
20602
 
        *)
20603
 
          hardcode_direct_GCJ=yes
20604
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
20605
 
 
20606
 
          # hardcode_minus_L: Not really in the search PATH,
20607
 
          # but as the default location of the library.
20608
 
          hardcode_minus_L_GCJ=yes
20609
 
          ;;
20610
 
        esac
20611
 
      fi
20612
 
      ;;
20613
 
 
20614
 
    irix5* | irix6* | nonstopux*)
20615
 
      if test "$GCC" = yes; then
20616
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20617
 
      else
20618
 
        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'
20619
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
20620
 
      fi
20621
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20622
 
      hardcode_libdir_separator_GCJ=:
20623
 
      link_all_deplibs_GCJ=yes
20624
 
      ;;
20625
 
 
20626
 
    netbsd* | netbsdelf*-gnu)
20627
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20628
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
20629
 
      else
20630
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
20631
 
      fi
20632
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20633
 
      hardcode_direct_GCJ=yes
20634
 
      hardcode_shlibpath_var_GCJ=no
20635
 
      ;;
20636
 
 
20637
 
    newsos6)
20638
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20639
 
      hardcode_direct_GCJ=yes
20640
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20641
 
      hardcode_libdir_separator_GCJ=:
20642
 
      hardcode_shlibpath_var_GCJ=no
20643
 
      ;;
20644
 
 
20645
 
    openbsd*)
20646
 
      hardcode_direct_GCJ=yes
20647
 
      hardcode_shlibpath_var_GCJ=no
20648
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20649
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20650
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
20651
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20652
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
20653
 
      else
20654
 
       case $host_os in
20655
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20656
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20657
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
20658
 
           ;;
20659
 
         *)
20660
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20661
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20662
 
           ;;
20663
 
       esac
20664
 
      fi
20665
 
      ;;
20666
 
 
20667
 
    os2*)
20668
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20669
 
      hardcode_minus_L_GCJ=yes
20670
 
      allow_undefined_flag_GCJ=unsupported
20671
 
      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
20672
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20673
 
      ;;
20674
 
 
20675
 
    osf3*)
20676
 
      if test "$GCC" = yes; then
20677
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20678
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20679
 
      else
20680
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20681
 
        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'
20682
 
      fi
20683
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20684
 
      hardcode_libdir_separator_GCJ=:
20685
 
      ;;
20686
 
 
20687
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
20688
 
      if test "$GCC" = yes; then
20689
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20690
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20691
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20692
 
      else
20693
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20694
 
        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'
20695
 
        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~
20696
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
20697
 
 
20698
 
        # Both c and cxx compiler support -rpath directly
20699
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20700
 
      fi
20701
 
      hardcode_libdir_separator_GCJ=:
20702
 
      ;;
20703
 
 
20704
 
    solaris*)
20705
 
      no_undefined_flag_GCJ=' -z text'
20706
 
      if test "$GCC" = yes; then
20707
 
        wlarc='${wl}'
20708
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20709
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20710
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20711
 
      else
20712
 
        wlarc=''
20713
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20714
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20715
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20716
 
      fi
20717
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20718
 
      hardcode_shlibpath_var_GCJ=no
20719
 
      case $host_os in
20720
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
20721
 
      *)
20722
 
        # The compiler driver will combine linker options so we
20723
 
        # cannot just pass the convience library names through
20724
 
        # without $wl, iff we do not link with $LD.
20725
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
20726
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
20727
 
        case $wlarc in
20728
 
        '')
20729
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
20730
 
        *)
20731
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
20732
 
        esac ;;
20733
 
      esac
20734
 
      link_all_deplibs_GCJ=yes
20735
 
      ;;
20736
 
 
20737
 
    sunos4*)
20738
 
      if test "x$host_vendor" = xsequent; then
20739
 
        # Use $CC to link under sequent, because it throws in some extra .o
20740
 
        # files that make .init and .fini sections work.
20741
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20742
 
      else
20743
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20744
 
      fi
20745
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20746
 
      hardcode_direct_GCJ=yes
20747
 
      hardcode_minus_L_GCJ=yes
20748
 
      hardcode_shlibpath_var_GCJ=no
20749
 
      ;;
20750
 
 
20751
 
    sysv4)
20752
 
      case $host_vendor in
20753
 
        sni)
20754
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20755
 
          hardcode_direct_GCJ=yes # is this really true???
20756
 
        ;;
20757
 
        siemens)
20758
 
          ## LD is ld it makes a PLAMLIB
20759
 
          ## CC just makes a GrossModule.
20760
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20761
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20762
 
          hardcode_direct_GCJ=no
20763
 
        ;;
20764
 
        motorola)
20765
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20766
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20767
 
        ;;
20768
 
      esac
20769
 
      runpath_var='LD_RUN_PATH'
20770
 
      hardcode_shlibpath_var_GCJ=no
20771
 
      ;;
20772
 
 
20773
 
    sysv4.3*)
20774
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20775
 
      hardcode_shlibpath_var_GCJ=no
20776
 
      export_dynamic_flag_spec_GCJ='-Bexport'
20777
 
      ;;
20778
 
 
20779
 
    sysv4*MP*)
20780
 
      if test -d /usr/nec; then
20781
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20782
 
        hardcode_shlibpath_var_GCJ=no
20783
 
        runpath_var=LD_RUN_PATH
20784
 
        hardcode_runpath_var=yes
20785
 
        ld_shlibs_GCJ=yes
20786
 
      fi
20787
 
      ;;
20788
 
 
20789
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
20790
 
      no_undefined_flag_GCJ='${wl}-z,text'
20791
 
      archive_cmds_need_lc_GCJ=no
20792
 
      hardcode_shlibpath_var_GCJ=no
20793
 
      runpath_var='LD_RUN_PATH'
20794
 
 
20795
 
      if test "$GCC" = yes; then
20796
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20797
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20798
 
      else
20799
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20800
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20801
 
      fi
20802
 
      ;;
20803
 
 
20804
 
    sysv5* | sco3.2v5* | sco5v6*)
20805
 
      # Note: We can NOT use -z defs as we might desire, because we do not
20806
 
      # link with -lc, and that would cause any symbols used from libc to
20807
 
      # always be unresolved, which means just about no library would
20808
 
      # ever link correctly.  If we're not using GNU ld we use -z text
20809
 
      # though, which does catch some bad symbols but isn't as heavy-handed
20810
 
      # as -z defs.
20811
 
      no_undefined_flag_GCJ='${wl}-z,text'
20812
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
20813
 
      archive_cmds_need_lc_GCJ=no
20814
 
      hardcode_shlibpath_var_GCJ=no
20815
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
20816
 
      hardcode_libdir_separator_GCJ=':'
20817
 
      link_all_deplibs_GCJ=yes
20818
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20819
 
      runpath_var='LD_RUN_PATH'
20820
 
 
20821
 
      if test "$GCC" = yes; then
20822
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20823
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20824
 
      else
20825
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20826
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20827
 
      fi
20828
 
      ;;
20829
 
 
20830
 
    uts4*)
20831
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20832
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20833
 
      hardcode_shlibpath_var_GCJ=no
20834
 
      ;;
20835
 
 
20836
 
    *)
20837
 
      ld_shlibs_GCJ=no
20838
 
      ;;
20839
 
    esac
20840
 
  fi
20841
 
 
20842
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20843
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20844
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20845
 
 
20846
 
#
20847
 
# Do we need to explicitly link libc?
20848
 
#
20849
 
case "x$archive_cmds_need_lc_GCJ" in
20850
 
x|xyes)
20851
 
  # Assume -lc should be added
20852
 
  archive_cmds_need_lc_GCJ=yes
20853
 
 
20854
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
20855
 
    case $archive_cmds_GCJ in
20856
 
    *'~'*)
20857
 
      # FIXME: we may have to deal with multi-command sequences.
20858
 
      ;;
20859
 
    '$CC '*)
20860
 
      # Test whether the compiler implicitly links with -lc since on some
20861
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20862
 
      # to ld, don't add -lc before -lgcc.
20863
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20864
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20865
 
      $rm conftest*
20866
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20867
 
 
20868
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20869
 
  (eval $ac_compile) 2>&5
20870
 
  ac_status=$?
20871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872
 
  (exit $ac_status); } 2>conftest.err; then
20873
 
        soname=conftest
20874
 
        lib=conftest
20875
 
        libobjs=conftest.$ac_objext
20876
 
        deplibs=
20877
 
        wl=$lt_prog_compiler_wl_GCJ
20878
 
        pic_flag=$lt_prog_compiler_pic_GCJ
20879
 
        compiler_flags=-v
20880
 
        linker_flags=-v
20881
 
        verstring=
20882
 
        output_objdir=.
20883
 
        libname=conftest
20884
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20885
 
        allow_undefined_flag_GCJ=
20886
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20887
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20888
 
  ac_status=$?
20889
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890
 
  (exit $ac_status); }
20891
 
        then
20892
 
          archive_cmds_need_lc_GCJ=no
20893
 
        else
20894
 
          archive_cmds_need_lc_GCJ=yes
20895
 
        fi
20896
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20897
 
      else
20898
 
        cat conftest.err 1>&5
20899
 
      fi
20900
 
      $rm conftest*
20901
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20902
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20903
 
      ;;
20904
 
    esac
20905
 
  fi
20906
 
  ;;
20907
 
esac
20908
 
 
20909
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20910
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20911
 
library_names_spec=
20912
 
libname_spec='lib$name'
20913
 
soname_spec=
20914
 
shrext_cmds=".so"
20915
 
postinstall_cmds=
20916
 
postuninstall_cmds=
20917
 
finish_cmds=
20918
 
finish_eval=
20919
 
shlibpath_var=
20920
 
shlibpath_overrides_runpath=unknown
20921
 
version_type=none
20922
 
dynamic_linker="$host_os ld.so"
20923
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20924
 
if test "$GCC" = yes; then
20925
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20926
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
20927
 
    # if the path contains ";" then we assume it to be the separator
20928
 
    # otherwise default to the standard path separator (i.e. ":") - it is
20929
 
    # assumed that no part of a normal pathname contains ";" but that should
20930
 
    # okay in the real world where ";" in dirpaths is itself problematic.
20931
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20932
 
  else
20933
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20934
 
  fi
20935
 
else
20936
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20937
 
fi
20938
 
need_lib_prefix=unknown
20939
 
hardcode_into_libs=no
20940
 
 
20941
 
# when you set need_version to no, make sure it does not cause -set_version
20942
 
# flags to be left without arguments
20943
 
need_version=unknown
20944
 
 
20945
 
case $host_os in
20946
 
aix3*)
20947
 
  version_type=linux
20948
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20949
 
  shlibpath_var=LIBPATH
20950
 
 
20951
 
  # AIX 3 has no versioning support, so we append a major version to the name.
20952
 
  soname_spec='${libname}${release}${shared_ext}$major'
20953
 
  ;;
20954
 
 
20955
 
aix4* | aix5*)
20956
 
  version_type=linux
20957
 
  need_lib_prefix=no
20958
 
  need_version=no
20959
 
  hardcode_into_libs=yes
20960
 
  if test "$host_cpu" = ia64; then
20961
 
    # AIX 5 supports IA64
20962
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20963
 
    shlibpath_var=LD_LIBRARY_PATH
20964
 
  else
20965
 
    # With GCC up to 2.95.x, collect2 would create an import file
20966
 
    # for dependence libraries.  The import file would start with
20967
 
    # the line `#! .'.  This would cause the generated library to
20968
 
    # depend on `.', always an invalid library.  This was fixed in
20969
 
    # development snapshots of GCC prior to 3.0.
20970
 
    case $host_os in
20971
 
      aix4 | aix4.[01] | aix4.[01].*)
20972
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20973
 
           echo ' yes '
20974
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20975
 
        :
20976
 
      else
20977
 
        can_build_shared=no
20978
 
      fi
20979
 
      ;;
20980
 
    esac
20981
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20982
 
    # soname into executable. Probably we can add versioning support to
20983
 
    # collect2, so additional links can be useful in future.
20984
 
    if test "$aix_use_runtimelinking" = yes; then
20985
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20986
 
      # instead of lib<name>.a to let people know that these are not
20987
 
      # typical AIX shared libraries.
20988
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20989
 
    else
20990
 
      # We preserve .a as extension for shared libraries through AIX4.2
20991
 
      # and later when we are not doing run time linking.
20992
 
      library_names_spec='${libname}${release}.a $libname.a'
20993
 
      soname_spec='${libname}${release}${shared_ext}$major'
20994
 
    fi
20995
 
    shlibpath_var=LIBPATH
20996
 
  fi
20997
 
  ;;
20998
 
 
20999
 
amigaos*)
21000
 
  library_names_spec='$libname.ixlibrary $libname.a'
21001
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
21002
 
  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'
21003
 
  ;;
21004
 
 
21005
 
beos*)
21006
 
  library_names_spec='${libname}${shared_ext}'
21007
 
  dynamic_linker="$host_os ld.so"
21008
 
  shlibpath_var=LIBRARY_PATH
21009
 
  ;;
21010
 
 
21011
 
bsdi[45]*)
21012
 
  version_type=linux
21013
 
  need_version=no
21014
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21015
 
  soname_spec='${libname}${release}${shared_ext}$major'
21016
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
21017
 
  shlibpath_var=LD_LIBRARY_PATH
21018
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21019
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
21020
 
  # the default ld.so.conf also contains /usr/contrib/lib and
21021
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21022
 
  # libtool to hard-code these into programs
21023
 
  ;;
21024
 
 
21025
 
cygwin* | mingw* | pw32*)
21026
 
  version_type=windows
21027
 
  shrext_cmds=".dll"
21028
 
  need_version=no
21029
 
  need_lib_prefix=no
21030
 
 
21031
 
  case $GCC,$host_os in
21032
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
21033
 
    library_names_spec='$libname.dll.a'
21034
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
21035
 
    postinstall_cmds='base_file=`basename \${file}`~
21036
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21037
 
      dldir=$destdir/`dirname \$dlpath`~
21038
 
      test -d \$dldir || mkdir -p \$dldir~
21039
 
      $install_prog $dir/$dlname \$dldir/$dlname~
21040
 
      chmod a+x \$dldir/$dlname'
21041
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21042
 
      dlpath=$dir/\$dldll~
21043
 
       $rm \$dlpath'
21044
 
    shlibpath_overrides_runpath=yes
21045
 
 
21046
 
    case $host_os in
21047
 
    cygwin*)
21048
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21049
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21050
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
21051
 
      ;;
21052
 
    mingw*)
21053
 
      # MinGW DLLs use traditional 'lib' prefix
21054
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21055
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21056
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
21057
 
        # It is most probably a Windows format PATH printed by
21058
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
21059
 
        # path with ; separators, and with drive letters. We can handle the
21060
 
        # drive letters (cygwin fileutils understands them), so leave them,
21061
 
        # especially as we might pass files found there to a mingw objdump,
21062
 
        # which wouldn't understand a cygwinified path. Ahh.
21063
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21064
 
      else
21065
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
21066
 
      fi
21067
 
      ;;
21068
 
    pw32*)
21069
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
21070
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21071
 
      ;;
21072
 
    esac
21073
 
    ;;
21074
 
 
21075
 
  *)
21076
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21077
 
    ;;
21078
 
  esac
21079
 
  dynamic_linker='Win32 ld.exe'
21080
 
  # FIXME: first we should search . and the directory the executable is in
21081
 
  shlibpath_var=PATH
21082
 
  ;;
21083
 
 
21084
 
darwin* | rhapsody*)
21085
 
  dynamic_linker="$host_os dyld"
21086
 
  version_type=darwin
21087
 
  need_lib_prefix=no
21088
 
  need_version=no
21089
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21090
 
  soname_spec='${libname}${release}${major}$shared_ext'
21091
 
  shlibpath_overrides_runpath=yes
21092
 
  shlibpath_var=DYLD_LIBRARY_PATH
21093
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
21094
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
21095
 
  if test "$GCC" = yes; then
21096
 
    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"`
21097
 
  else
21098
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
21099
 
  fi
21100
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21101
 
  ;;
21102
 
 
21103
 
dgux*)
21104
 
  version_type=linux
21105
 
  need_lib_prefix=no
21106
 
  need_version=no
21107
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21108
 
  soname_spec='${libname}${release}${shared_ext}$major'
21109
 
  shlibpath_var=LD_LIBRARY_PATH
21110
 
  ;;
21111
 
 
21112
 
freebsd1*)
21113
 
  dynamic_linker=no
21114
 
  ;;
21115
 
 
21116
 
freebsd* | dragonfly*)
21117
 
  # DragonFly does not have aout.  When/if they implement a new
21118
 
  # versioning mechanism, adjust this.
21119
 
  if test -x /usr/bin/objformat; then
21120
 
    objformat=`/usr/bin/objformat`
21121
 
  else
21122
 
    case $host_os in
21123
 
    freebsd[123]*) objformat=aout ;;
21124
 
    *) objformat=elf ;;
21125
 
    esac
21126
 
  fi
21127
 
  version_type=freebsd-$objformat
21128
 
  case $version_type in
21129
 
    freebsd-elf*)
21130
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21131
 
      need_version=no
21132
 
      need_lib_prefix=no
21133
 
      ;;
21134
 
    freebsd-*)
21135
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21136
 
      need_version=yes
21137
 
      ;;
21138
 
  esac
21139
 
  shlibpath_var=LD_LIBRARY_PATH
21140
 
  case $host_os in
21141
 
  freebsd2*)
21142
 
    shlibpath_overrides_runpath=yes
21143
 
    ;;
21144
 
  freebsd3.[01]* | freebsdelf3.[01]*)
21145
 
    shlibpath_overrides_runpath=yes
21146
 
    hardcode_into_libs=yes
21147
 
    ;;
21148
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
21149
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
21150
 
    shlibpath_overrides_runpath=no
21151
 
    hardcode_into_libs=yes
21152
 
    ;;
21153
 
  freebsd*) # from 4.6 on
21154
 
    shlibpath_overrides_runpath=yes
21155
 
    hardcode_into_libs=yes
21156
 
    ;;
21157
 
  esac
21158
 
  ;;
21159
 
 
21160
 
gnu*)
21161
 
  version_type=linux
21162
 
  need_lib_prefix=no
21163
 
  need_version=no
21164
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21165
 
  soname_spec='${libname}${release}${shared_ext}$major'
21166
 
  shlibpath_var=LD_LIBRARY_PATH
21167
 
  hardcode_into_libs=yes
21168
 
  ;;
21169
 
 
21170
 
hpux9* | hpux10* | hpux11*)
21171
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
21172
 
  # link against other versions.
21173
 
  version_type=sunos
21174
 
  need_lib_prefix=no
21175
 
  need_version=no
21176
 
  case $host_cpu in
21177
 
  ia64*)
21178
 
    shrext_cmds='.so'
21179
 
    hardcode_into_libs=yes
21180
 
    dynamic_linker="$host_os dld.so"
21181
 
    shlibpath_var=LD_LIBRARY_PATH
21182
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21183
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21184
 
    soname_spec='${libname}${release}${shared_ext}$major'
21185
 
    if test "X$HPUX_IA64_MODE" = X32; then
21186
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21187
 
    else
21188
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21189
 
    fi
21190
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21191
 
    ;;
21192
 
   hppa*64*)
21193
 
     shrext_cmds='.sl'
21194
 
     hardcode_into_libs=yes
21195
 
     dynamic_linker="$host_os dld.sl"
21196
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21197
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21198
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21199
 
     soname_spec='${libname}${release}${shared_ext}$major'
21200
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21201
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21202
 
     ;;
21203
 
   *)
21204
 
    shrext_cmds='.sl'
21205
 
    dynamic_linker="$host_os dld.sl"
21206
 
    shlibpath_var=SHLIB_PATH
21207
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21208
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21209
 
    soname_spec='${libname}${release}${shared_ext}$major'
21210
 
    ;;
21211
 
  esac
21212
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
21213
 
  postinstall_cmds='chmod 555 $lib'
21214
 
  ;;
21215
 
 
21216
 
interix3*)
21217
 
  version_type=linux
21218
 
  need_lib_prefix=no
21219
 
  need_version=no
21220
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21221
 
  soname_spec='${libname}${release}${shared_ext}$major'
21222
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
21223
 
  shlibpath_var=LD_LIBRARY_PATH
21224
 
  shlibpath_overrides_runpath=no
21225
 
  hardcode_into_libs=yes
21226
 
  ;;
21227
 
 
21228
 
irix5* | irix6* | nonstopux*)
21229
 
  case $host_os in
21230
 
    nonstopux*) version_type=nonstopux ;;
21231
 
    *)
21232
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
21233
 
                version_type=linux
21234
 
        else
21235
 
                version_type=irix
21236
 
        fi ;;
21237
 
  esac
21238
 
  need_lib_prefix=no
21239
 
  need_version=no
21240
 
  soname_spec='${libname}${release}${shared_ext}$major'
21241
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21242
 
  case $host_os in
21243
 
  irix5* | nonstopux*)
21244
 
    libsuff= shlibsuff=
21245
 
    ;;
21246
 
  *)
21247
 
    case $LD in # libtool.m4 will add one of these switches to LD
21248
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21249
 
      libsuff= shlibsuff= libmagic=32-bit;;
21250
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21251
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
21252
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21253
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
21254
 
    *) libsuff= shlibsuff= libmagic=never-match;;
21255
 
    esac
21256
 
    ;;
21257
 
  esac
21258
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21259
 
  shlibpath_overrides_runpath=no
21260
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21261
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21262
 
  hardcode_into_libs=yes
21263
 
  ;;
21264
 
 
21265
 
# No shared lib support for Linux oldld, aout, or coff.
21266
 
linux*oldld* | linux*aout* | linux*coff*)
21267
 
  dynamic_linker=no
21268
 
  ;;
21269
 
 
21270
 
# This must be Linux ELF.
21271
 
linux* | k*bsd*-gnu)
21272
 
  version_type=linux
21273
 
  need_lib_prefix=no
21274
 
  need_version=no
21275
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21276
 
  soname_spec='${libname}${release}${shared_ext}$major'
21277
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21278
 
  shlibpath_var=LD_LIBRARY_PATH
21279
 
  shlibpath_overrides_runpath=no
21280
 
  # This implies no fast_install, which is unacceptable.
21281
 
  # Some rework will be needed to allow for fast_install
21282
 
  # before this can be enabled.
21283
 
  hardcode_into_libs=yes
21284
 
 
21285
 
  # Append ld.so.conf contents to the search path
21286
 
  if test -f /etc/ld.so.conf; then
21287
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
21288
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
21289
 
  fi
21290
 
 
21291
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
21292
 
  # powerpc, because MkLinux only supported shared libraries with the
21293
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
21294
 
  # most powerpc-linux boxes support dynamic linking these days and
21295
 
  # people can always --disable-shared, the test was removed, and we
21296
 
  # assume the GNU/Linux dynamic linker is in use.
21297
 
  dynamic_linker='GNU/Linux ld.so'
21298
 
  ;;
21299
 
 
21300
 
netbsdelf*-gnu)
21301
 
  version_type=linux
21302
 
  need_lib_prefix=no
21303
 
  need_version=no
21304
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21305
 
  soname_spec='${libname}${release}${shared_ext}$major'
21306
 
  shlibpath_var=LD_LIBRARY_PATH
21307
 
  shlibpath_overrides_runpath=no
21308
 
  hardcode_into_libs=yes
21309
 
  dynamic_linker='NetBSD ld.elf_so'
21310
 
  ;;
21311
 
 
21312
 
netbsd*)
21313
 
  version_type=sunos
21314
 
  need_lib_prefix=no
21315
 
  need_version=no
21316
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21317
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21318
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21319
 
    dynamic_linker='NetBSD (a.out) ld.so'
21320
 
  else
21321
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21322
 
    soname_spec='${libname}${release}${shared_ext}$major'
21323
 
    dynamic_linker='NetBSD ld.elf_so'
21324
 
  fi
21325
 
  shlibpath_var=LD_LIBRARY_PATH
21326
 
  shlibpath_overrides_runpath=yes
21327
 
  hardcode_into_libs=yes
21328
 
  ;;
21329
 
 
21330
 
newsos6)
21331
 
  version_type=linux
21332
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21333
 
  shlibpath_var=LD_LIBRARY_PATH
21334
 
  shlibpath_overrides_runpath=yes
21335
 
  ;;
21336
 
 
21337
 
nto-qnx*)
21338
 
  version_type=linux
21339
 
  need_lib_prefix=no
21340
 
  need_version=no
21341
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21342
 
  soname_spec='${libname}${release}${shared_ext}$major'
21343
 
  shlibpath_var=LD_LIBRARY_PATH
21344
 
  shlibpath_overrides_runpath=yes
21345
 
  ;;
21346
 
 
21347
 
openbsd*)
21348
 
  version_type=sunos
21349
 
  sys_lib_dlsearch_path_spec="/usr/lib"
21350
 
  need_lib_prefix=no
21351
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
21352
 
  case $host_os in
21353
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
21354
 
    *)                         need_version=no  ;;
21355
 
  esac
21356
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21357
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21358
 
  shlibpath_var=LD_LIBRARY_PATH
21359
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21360
 
    case $host_os in
21361
 
      openbsd2.[89] | openbsd2.[89].*)
21362
 
        shlibpath_overrides_runpath=no
21363
 
        ;;
21364
 
      *)
21365
 
        shlibpath_overrides_runpath=yes
21366
 
        ;;
21367
 
      esac
21368
 
  else
21369
 
    shlibpath_overrides_runpath=yes
21370
 
  fi
21371
 
  ;;
21372
 
 
21373
 
os2*)
21374
 
  libname_spec='$name'
21375
 
  shrext_cmds=".dll"
21376
 
  need_lib_prefix=no
21377
 
  library_names_spec='$libname${shared_ext} $libname.a'
21378
 
  dynamic_linker='OS/2 ld.exe'
21379
 
  shlibpath_var=LIBPATH
21380
 
  ;;
21381
 
 
21382
 
osf3* | osf4* | osf5*)
21383
 
  version_type=osf
21384
 
  need_lib_prefix=no
21385
 
  need_version=no
21386
 
  soname_spec='${libname}${release}${shared_ext}$major'
21387
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21388
 
  shlibpath_var=LD_LIBRARY_PATH
21389
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21390
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21391
 
  ;;
21392
 
 
21393
 
solaris*)
21394
 
  version_type=linux
21395
 
  need_lib_prefix=no
21396
 
  need_version=no
21397
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21398
 
  soname_spec='${libname}${release}${shared_ext}$major'
21399
 
  shlibpath_var=LD_LIBRARY_PATH
21400
 
  shlibpath_overrides_runpath=yes
21401
 
  hardcode_into_libs=yes
21402
 
  # ldd complains unless libraries are executable
21403
 
  postinstall_cmds='chmod +x $lib'
21404
 
  ;;
21405
 
 
21406
 
sunos4*)
21407
 
  version_type=sunos
21408
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21409
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21410
 
  shlibpath_var=LD_LIBRARY_PATH
21411
 
  shlibpath_overrides_runpath=yes
21412
 
  if test "$with_gnu_ld" = yes; then
21413
 
    need_lib_prefix=no
21414
 
  fi
21415
 
  need_version=yes
21416
 
  ;;
21417
 
 
21418
 
sysv4 | sysv4.3*)
21419
 
  version_type=linux
21420
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21421
 
  soname_spec='${libname}${release}${shared_ext}$major'
21422
 
  shlibpath_var=LD_LIBRARY_PATH
21423
 
  case $host_vendor in
21424
 
    sni)
21425
 
      shlibpath_overrides_runpath=no
21426
 
      need_lib_prefix=no
21427
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
21428
 
      runpath_var=LD_RUN_PATH
21429
 
      ;;
21430
 
    siemens)
21431
 
      need_lib_prefix=no
21432
 
      ;;
21433
 
    motorola)
21434
 
      need_lib_prefix=no
21435
 
      need_version=no
21436
 
      shlibpath_overrides_runpath=no
21437
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21438
 
      ;;
21439
 
  esac
21440
 
  ;;
21441
 
 
21442
 
sysv4*MP*)
21443
 
  if test -d /usr/nec ;then
21444
 
    version_type=linux
21445
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21446
 
    soname_spec='$libname${shared_ext}.$major'
21447
 
    shlibpath_var=LD_LIBRARY_PATH
21448
 
  fi
21449
 
  ;;
21450
 
 
21451
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
21452
 
  version_type=freebsd-elf
21453
 
  need_lib_prefix=no
21454
 
  need_version=no
21455
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21456
 
  soname_spec='${libname}${release}${shared_ext}$major'
21457
 
  shlibpath_var=LD_LIBRARY_PATH
21458
 
  hardcode_into_libs=yes
21459
 
  if test "$with_gnu_ld" = yes; then
21460
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21461
 
    shlibpath_overrides_runpath=no
21462
 
  else
21463
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
21464
 
    shlibpath_overrides_runpath=yes
21465
 
    case $host_os in
21466
 
      sco3.2v5*)
21467
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
21468
 
        ;;
21469
 
    esac
21470
 
  fi
21471
 
  sys_lib_dlsearch_path_spec='/usr/lib'
21472
 
  ;;
21473
 
 
21474
 
uts4*)
21475
 
  version_type=linux
21476
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21477
 
  soname_spec='${libname}${release}${shared_ext}$major'
21478
 
  shlibpath_var=LD_LIBRARY_PATH
21479
 
  ;;
21480
 
 
21481
 
*)
21482
 
  dynamic_linker=no
21483
 
  ;;
21484
 
esac
21485
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21486
 
echo "${ECHO_T}$dynamic_linker" >&6; }
21487
 
test "$dynamic_linker" = no && can_build_shared=no
21488
 
 
21489
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21490
 
if test "$GCC" = yes; then
21491
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21492
 
fi
21493
 
 
21494
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21495
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
21496
 
hardcode_action_GCJ=
21497
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
21498
 
   test -n "$runpath_var_GCJ" || \
21499
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
21500
 
 
21501
 
  # We can hardcode non-existant directories.
21502
 
  if test "$hardcode_direct_GCJ" != no &&
21503
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
21504
 
     # have to relink, otherwise we might link with an installed library
21505
 
     # when we should be linking with a yet-to-be-installed one
21506
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
21507
 
     test "$hardcode_minus_L_GCJ" != no; then
21508
 
    # Linking always hardcodes the temporary library directory.
21509
 
    hardcode_action_GCJ=relink
21510
 
  else
21511
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
21512
 
    hardcode_action_GCJ=immediate
21513
 
  fi
21514
 
else
21515
 
  # We cannot hardcode anything, or else we can only hardcode existing
21516
 
  # directories.
21517
 
  hardcode_action_GCJ=unsupported
21518
 
fi
21519
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
21520
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
21521
 
 
21522
 
if test "$hardcode_action_GCJ" = relink; then
21523
 
  # Fast installation is not supported
21524
 
  enable_fast_install=no
21525
 
elif test "$shlibpath_overrides_runpath" = yes ||
21526
 
     test "$enable_shared" = no; then
21527
 
  # Fast installation is not necessary
21528
 
  enable_fast_install=needless
21529
 
fi
21530
 
 
21531
 
 
21532
 
# The else clause should only fire when bootstrapping the
21533
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
21534
 
# with your package, and you will get complaints that there are
21535
 
# no rules to generate ltmain.sh.
21536
 
if test -f "$ltmain"; then
21537
 
  # See if we are running on zsh, and set the options which allow our commands through
21538
 
  # without removal of \ escapes.
21539
 
  if test -n "${ZSH_VERSION+set}" ; then
21540
 
    setopt NO_GLOB_SUBST
21541
 
  fi
21542
 
  # Now quote all the things that may contain metacharacters while being
21543
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21544
 
  # variables and quote the copies for generation of the libtool script.
21545
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21546
 
    SED SHELL STRIP \
21547
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21548
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21549
 
    deplibs_check_method reload_flag reload_cmds need_locks \
21550
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21551
 
    lt_cv_sys_global_symbol_to_c_name_address \
21552
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21553
 
    old_postinstall_cmds old_postuninstall_cmds \
21554
 
    compiler_GCJ \
21555
 
    CC_GCJ \
21556
 
    LD_GCJ \
21557
 
    lt_prog_compiler_wl_GCJ \
21558
 
    lt_prog_compiler_pic_GCJ \
21559
 
    lt_prog_compiler_static_GCJ \
21560
 
    lt_prog_compiler_no_builtin_flag_GCJ \
21561
 
    export_dynamic_flag_spec_GCJ \
21562
 
    thread_safe_flag_spec_GCJ \
21563
 
    whole_archive_flag_spec_GCJ \
21564
 
    enable_shared_with_static_runtimes_GCJ \
21565
 
    old_archive_cmds_GCJ \
21566
 
    old_archive_from_new_cmds_GCJ \
21567
 
    predep_objects_GCJ \
21568
 
    postdep_objects_GCJ \
21569
 
    predeps_GCJ \
21570
 
    postdeps_GCJ \
21571
 
    compiler_lib_search_path_GCJ \
21572
 
    archive_cmds_GCJ \
21573
 
    archive_expsym_cmds_GCJ \
21574
 
    postinstall_cmds_GCJ \
21575
 
    postuninstall_cmds_GCJ \
21576
 
    old_archive_from_expsyms_cmds_GCJ \
21577
 
    allow_undefined_flag_GCJ \
21578
 
    no_undefined_flag_GCJ \
21579
 
    export_symbols_cmds_GCJ \
21580
 
    hardcode_libdir_flag_spec_GCJ \
21581
 
    hardcode_libdir_flag_spec_ld_GCJ \
21582
 
    hardcode_libdir_separator_GCJ \
21583
 
    hardcode_automatic_GCJ \
21584
 
    module_cmds_GCJ \
21585
 
    module_expsym_cmds_GCJ \
21586
 
    lt_cv_prog_compiler_c_o_GCJ \
21587
 
    exclude_expsyms_GCJ \
21588
 
    include_expsyms_GCJ; do
21589
 
 
21590
 
    case $var in
21591
 
    old_archive_cmds_GCJ | \
21592
 
    old_archive_from_new_cmds_GCJ | \
21593
 
    archive_cmds_GCJ | \
21594
 
    archive_expsym_cmds_GCJ | \
21595
 
    module_cmds_GCJ | \
21596
 
    module_expsym_cmds_GCJ | \
21597
 
    old_archive_from_expsyms_cmds_GCJ | \
21598
 
    export_symbols_cmds_GCJ | \
21599
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21600
 
    postinstall_cmds | postuninstall_cmds | \
21601
 
    old_postinstall_cmds | old_postuninstall_cmds | \
21602
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21603
 
      # Double-quote double-evaled strings.
21604
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21605
 
      ;;
21606
 
    *)
21607
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21608
 
      ;;
21609
 
    esac
21610
 
  done
21611
 
 
21612
 
  case $lt_echo in
21613
 
  *'\$0 --fallback-echo"')
21614
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21615
 
    ;;
21616
 
  esac
21617
 
 
21618
 
cfgfile="$ofile"
21619
 
 
21620
 
  cat <<__EOF__ >> "$cfgfile"
21621
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21622
 
 
21623
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21624
 
 
21625
 
# Shell to use when invoking shell scripts.
21626
 
SHELL=$lt_SHELL
21627
 
 
21628
 
# Whether or not to build shared libraries.
21629
 
build_libtool_libs=$enable_shared
21630
 
 
21631
 
# Whether or not to build static libraries.
21632
 
build_old_libs=$enable_static
21633
 
 
21634
 
# Whether or not to add -lc for building shared libraries.
21635
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21636
 
 
21637
 
# Whether or not to disallow shared libs when runtime libs are static
21638
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21639
 
 
21640
 
# Whether or not to optimize for fast installation.
21641
 
fast_install=$enable_fast_install
21642
 
 
21643
 
# The host system.
21644
 
host_alias=$host_alias
21645
 
host=$host
21646
 
host_os=$host_os
21647
 
 
21648
 
# The build system.
21649
 
build_alias=$build_alias
21650
 
build=$build
21651
 
build_os=$build_os
21652
 
 
21653
 
# An echo program that does not interpret backslashes.
21654
 
echo=$lt_echo
21655
 
 
21656
 
# The archiver.
21657
 
AR=$lt_AR
21658
 
AR_FLAGS=$lt_AR_FLAGS
21659
 
 
21660
 
# A C compiler.
21661
 
LTCC=$lt_LTCC
21662
 
 
21663
 
# LTCC compiler flags.
21664
 
LTCFLAGS=$lt_LTCFLAGS
21665
 
 
21666
 
# A language-specific compiler.
21667
 
CC=$lt_compiler_GCJ
21668
 
 
21669
 
# Is the compiler the GNU C compiler?
21670
 
with_gcc=$GCC_GCJ
21671
 
 
21672
 
# An ERE matcher.
21673
 
EGREP=$lt_EGREP
21674
 
 
21675
 
# The linker used to build libraries.
21676
 
LD=$lt_LD_GCJ
21677
 
 
21678
 
# Whether we need hard or soft links.
21679
 
LN_S=$lt_LN_S
21680
 
 
21681
 
# A BSD-compatible nm program.
21682
 
NM=$lt_NM
21683
 
 
21684
 
# A symbol stripping program
21685
 
STRIP=$lt_STRIP
21686
 
 
21687
 
# Used to examine libraries when file_magic_cmd begins "file"
21688
 
MAGIC_CMD=$MAGIC_CMD
21689
 
 
21690
 
# Used on cygwin: DLL creation program.
21691
 
DLLTOOL="$DLLTOOL"
21692
 
 
21693
 
# Used on cygwin: object dumper.
21694
 
OBJDUMP="$OBJDUMP"
21695
 
 
21696
 
# Used on cygwin: assembler.
21697
 
AS="$AS"
21698
 
 
21699
 
# The name of the directory that contains temporary libtool files.
21700
 
objdir=$objdir
21701
 
 
21702
 
# How to create reloadable object files.
21703
 
reload_flag=$lt_reload_flag
21704
 
reload_cmds=$lt_reload_cmds
21705
 
 
21706
 
# How to pass a linker flag through the compiler.
21707
 
wl=$lt_lt_prog_compiler_wl_GCJ
21708
 
 
21709
 
# Object file suffix (normally "o").
21710
 
objext="$ac_objext"
21711
 
 
21712
 
# Old archive suffix (normally "a").
21713
 
libext="$libext"
21714
 
 
21715
 
# Shared library suffix (normally ".so").
21716
 
shrext_cmds='$shrext_cmds'
21717
 
 
21718
 
# Executable file suffix (normally "").
21719
 
exeext="$exeext"
21720
 
 
21721
 
# Additional compiler flags for building library objects.
21722
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21723
 
pic_mode=$pic_mode
21724
 
 
21725
 
# What is the maximum length of a command?
21726
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21727
 
 
21728
 
# Does compiler simultaneously support -c and -o options?
21729
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21730
 
 
21731
 
# Must we lock files when doing compilation?
21732
 
need_locks=$lt_need_locks
21733
 
 
21734
 
# Do we need the lib prefix for modules?
21735
 
need_lib_prefix=$need_lib_prefix
21736
 
 
21737
 
# Do we need a version for libraries?
21738
 
need_version=$need_version
21739
 
 
21740
 
# Whether dlopen is supported.
21741
 
dlopen_support=$enable_dlopen
21742
 
 
21743
 
# Whether dlopen of programs is supported.
21744
 
dlopen_self=$enable_dlopen_self
21745
 
 
21746
 
# Whether dlopen of statically linked programs is supported.
21747
 
dlopen_self_static=$enable_dlopen_self_static
21748
 
 
21749
 
# Compiler flag to prevent dynamic linking.
21750
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21751
 
 
21752
 
# Compiler flag to turn off builtin functions.
21753
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21754
 
 
21755
 
# Compiler flag to allow reflexive dlopens.
21756
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21757
 
 
21758
 
# Compiler flag to generate shared objects directly from archives.
21759
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21760
 
 
21761
 
# Compiler flag to generate thread-safe objects.
21762
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21763
 
 
21764
 
# Library versioning type.
21765
 
version_type=$version_type
21766
 
 
21767
 
# Format of library name prefix.
21768
 
libname_spec=$lt_libname_spec
21769
 
 
21770
 
# List of archive names.  First name is the real one, the rest are links.
21771
 
# The last name is the one that the linker finds with -lNAME.
21772
 
library_names_spec=$lt_library_names_spec
21773
 
 
21774
 
# The coded name of the library, if different from the real name.
21775
 
soname_spec=$lt_soname_spec
21776
 
 
21777
 
# Commands used to build and install an old-style archive.
21778
 
RANLIB=$lt_RANLIB
21779
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
21780
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21781
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21782
 
 
21783
 
# Create an old-style archive from a shared archive.
21784
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21785
 
 
21786
 
# Create a temporary old-style archive to link instead of a shared archive.
21787
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21788
 
 
21789
 
# Commands used to build and install a shared archive.
21790
 
archive_cmds=$lt_archive_cmds_GCJ
21791
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21792
 
postinstall_cmds=$lt_postinstall_cmds
21793
 
postuninstall_cmds=$lt_postuninstall_cmds
21794
 
 
21795
 
# Commands used to build a loadable module (assumed same as above if empty)
21796
 
module_cmds=$lt_module_cmds_GCJ
21797
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21798
 
 
21799
 
# Commands to strip libraries.
21800
 
old_striplib=$lt_old_striplib
21801
 
striplib=$lt_striplib
21802
 
 
21803
 
# Dependencies to place before the objects being linked to create a
21804
 
# shared library.
21805
 
predep_objects=$lt_predep_objects_GCJ
21806
 
 
21807
 
# Dependencies to place after the objects being linked to create a
21808
 
# shared library.
21809
 
postdep_objects=$lt_postdep_objects_GCJ
21810
 
 
21811
 
# Dependencies to place before the objects being linked to create a
21812
 
# shared library.
21813
 
predeps=$lt_predeps_GCJ
21814
 
 
21815
 
# Dependencies to place after the objects being linked to create a
21816
 
# shared library.
21817
 
postdeps=$lt_postdeps_GCJ
21818
 
 
21819
 
# The library search path used internally by the compiler when linking
21820
 
# a shared library.
21821
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21822
 
 
21823
 
# Method to check whether dependent libraries are shared objects.
21824
 
deplibs_check_method=$lt_deplibs_check_method
21825
 
 
21826
 
# Command to use when deplibs_check_method == file_magic.
21827
 
file_magic_cmd=$lt_file_magic_cmd
21828
 
 
21829
 
# Flag that allows shared libraries with undefined symbols to be built.
21830
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21831
 
 
21832
 
# Flag that forces no undefined symbols.
21833
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
21834
 
 
21835
 
# Commands used to finish a libtool library installation in a directory.
21836
 
finish_cmds=$lt_finish_cmds
21837
 
 
21838
 
# Same as above, but a single script fragment to be evaled but not shown.
21839
 
finish_eval=$lt_finish_eval
21840
 
 
21841
 
# Take the output of nm and produce a listing of raw symbols and C names.
21842
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21843
 
 
21844
 
# Transform the output of nm in a proper C declaration
21845
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21846
 
 
21847
 
# Transform the output of nm in a C name address pair
21848
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21849
 
 
21850
 
# This is the shared library runtime path variable.
21851
 
runpath_var=$runpath_var
21852
 
 
21853
 
# This is the shared library path variable.
21854
 
shlibpath_var=$shlibpath_var
21855
 
 
21856
 
# Is shlibpath searched before the hard-coded library search path?
21857
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21858
 
 
21859
 
# How to hardcode a shared library path into an executable.
21860
 
hardcode_action=$hardcode_action_GCJ
21861
 
 
21862
 
# Whether we should hardcode library paths into libraries.
21863
 
hardcode_into_libs=$hardcode_into_libs
21864
 
 
21865
 
# Flag to hardcode \$libdir into a binary during linking.
21866
 
# This must work even if \$libdir does not exist.
21867
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21868
 
 
21869
 
# If ld is used when linking, flag to hardcode \$libdir into
21870
 
# a binary during linking. This must work even if \$libdir does
21871
 
# not exist.
21872
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21873
 
 
21874
 
# Whether we need a single -rpath flag with a separated argument.
21875
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21876
 
 
21877
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21878
 
# resulting binary.
21879
 
hardcode_direct=$hardcode_direct_GCJ
21880
 
 
21881
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21882
 
# resulting binary.
21883
 
hardcode_minus_L=$hardcode_minus_L_GCJ
21884
 
 
21885
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21886
 
# the resulting binary.
21887
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21888
 
 
21889
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
21890
 
# and all subsequent libraries and executables linked against it.
21891
 
hardcode_automatic=$hardcode_automatic_GCJ
21892
 
 
21893
 
# Variables whose values should be saved in libtool wrapper scripts and
21894
 
# restored at relink time.
21895
 
variables_saved_for_relink="$variables_saved_for_relink"
21896
 
 
21897
 
# Whether libtool must link a program against all its dependency libraries.
21898
 
link_all_deplibs=$link_all_deplibs_GCJ
21899
 
 
21900
 
# Compile-time system search path for libraries
21901
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21902
 
 
21903
 
# Run-time system search path for libraries
21904
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21905
 
 
21906
 
# Fix the shell variable \$srcfile for the compiler.
21907
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
21908
 
 
21909
 
# Set to yes if exported symbols are required.
21910
 
always_export_symbols=$always_export_symbols_GCJ
21911
 
 
21912
 
# The commands to list exported symbols.
21913
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21914
 
 
21915
 
# The commands to extract the exported symbol list from a shared archive.
21916
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21917
 
 
21918
 
# Symbols that should not be listed in the preloaded symbols.
21919
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
21920
 
 
21921
 
# Symbols that must always be exported.
21922
 
include_expsyms=$lt_include_expsyms_GCJ
21923
 
 
21924
 
# ### END LIBTOOL TAG CONFIG: $tagname
21925
 
 
21926
 
__EOF__
21927
 
 
21928
 
 
21929
 
else
21930
 
  # If there is no Makefile yet, we rely on a make rule to execute
21931
 
  # `config.status --recheck' to rerun these tests and create the
21932
 
  # libtool script then.
21933
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21934
 
  if test -f "$ltmain_in"; then
21935
 
    test -f Makefile && make "$ltmain"
21936
 
  fi
21937
 
fi
21938
 
 
21939
 
 
21940
 
ac_ext=c
21941
 
ac_cpp='$CPP $CPPFLAGS'
21942
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21945
 
 
21946
 
CC="$lt_save_CC"
21947
 
 
21948
 
        else
21949
 
          tagname=""
21950
 
        fi
21951
 
        ;;
21952
 
 
21953
 
      RC)
21954
 
 
21955
 
 
21956
 
# Source file extension for RC test sources.
21957
 
ac_ext=rc
21958
 
 
21959
 
# Object file extension for compiled RC test sources.
21960
 
objext=o
21961
 
objext_RC=$objext
21962
 
 
21963
 
# Code to be used in simple compile tests
21964
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
21965
 
 
21966
 
# Code to be used in simple link tests
21967
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
21968
 
 
21969
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21970
 
 
21971
 
# If no C compiler was specified, use CC.
21972
 
LTCC=${LTCC-"$CC"}
21973
 
 
21974
 
# If no C compiler flags were specified, use CFLAGS.
21975
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21976
 
 
21977
 
# Allow CC to be a program name with arguments.
21978
 
compiler=$CC
21979
 
 
21980
 
 
21981
 
# save warnings/boilerplate of simple test code
21982
 
ac_outfile=conftest.$ac_objext
21983
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
21984
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21985
 
_lt_compiler_boilerplate=`cat conftest.err`
21986
 
$rm conftest*
21987
 
 
21988
 
ac_outfile=conftest.$ac_objext
21989
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
21990
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21991
 
_lt_linker_boilerplate=`cat conftest.err`
21992
 
$rm conftest*
21993
 
 
21994
 
 
21995
 
# Allow CC to be a program name with arguments.
21996
 
lt_save_CC="$CC"
21997
 
CC=${RC-"windres"}
21998
 
compiler=$CC
21999
 
compiler_RC=$CC
22000
 
for cc_temp in $compiler""; do
22001
 
  case $cc_temp in
22002
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22003
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22004
 
    \-*) ;;
22005
 
    *) break;;
22006
 
  esac
22007
 
done
22008
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22009
 
 
22010
 
lt_cv_prog_compiler_c_o_RC=yes
22011
 
 
22012
 
# The else clause should only fire when bootstrapping the
22013
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
22014
 
# with your package, and you will get complaints that there are
22015
 
# no rules to generate ltmain.sh.
22016
 
if test -f "$ltmain"; then
22017
 
  # See if we are running on zsh, and set the options which allow our commands through
22018
 
  # without removal of \ escapes.
22019
 
  if test -n "${ZSH_VERSION+set}" ; then
22020
 
    setopt NO_GLOB_SUBST
22021
 
  fi
22022
 
  # Now quote all the things that may contain metacharacters while being
22023
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
22024
 
  # variables and quote the copies for generation of the libtool script.
22025
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
22026
 
    SED SHELL STRIP \
22027
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22028
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22029
 
    deplibs_check_method reload_flag reload_cmds need_locks \
22030
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22031
 
    lt_cv_sys_global_symbol_to_c_name_address \
22032
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22033
 
    old_postinstall_cmds old_postuninstall_cmds \
22034
 
    compiler_RC \
22035
 
    CC_RC \
22036
 
    LD_RC \
22037
 
    lt_prog_compiler_wl_RC \
22038
 
    lt_prog_compiler_pic_RC \
22039
 
    lt_prog_compiler_static_RC \
22040
 
    lt_prog_compiler_no_builtin_flag_RC \
22041
 
    export_dynamic_flag_spec_RC \
22042
 
    thread_safe_flag_spec_RC \
22043
 
    whole_archive_flag_spec_RC \
22044
 
    enable_shared_with_static_runtimes_RC \
22045
 
    old_archive_cmds_RC \
22046
 
    old_archive_from_new_cmds_RC \
22047
 
    predep_objects_RC \
22048
 
    postdep_objects_RC \
22049
 
    predeps_RC \
22050
 
    postdeps_RC \
22051
 
    compiler_lib_search_path_RC \
22052
 
    archive_cmds_RC \
22053
 
    archive_expsym_cmds_RC \
22054
 
    postinstall_cmds_RC \
22055
 
    postuninstall_cmds_RC \
22056
 
    old_archive_from_expsyms_cmds_RC \
22057
 
    allow_undefined_flag_RC \
22058
 
    no_undefined_flag_RC \
22059
 
    export_symbols_cmds_RC \
22060
 
    hardcode_libdir_flag_spec_RC \
22061
 
    hardcode_libdir_flag_spec_ld_RC \
22062
 
    hardcode_libdir_separator_RC \
22063
 
    hardcode_automatic_RC \
22064
 
    module_cmds_RC \
22065
 
    module_expsym_cmds_RC \
22066
 
    lt_cv_prog_compiler_c_o_RC \
22067
 
    exclude_expsyms_RC \
22068
 
    include_expsyms_RC; do
22069
 
 
22070
 
    case $var in
22071
 
    old_archive_cmds_RC | \
22072
 
    old_archive_from_new_cmds_RC | \
22073
 
    archive_cmds_RC | \
22074
 
    archive_expsym_cmds_RC | \
22075
 
    module_cmds_RC | \
22076
 
    module_expsym_cmds_RC | \
22077
 
    old_archive_from_expsyms_cmds_RC | \
22078
 
    export_symbols_cmds_RC | \
22079
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
22080
 
    postinstall_cmds | postuninstall_cmds | \
22081
 
    old_postinstall_cmds | old_postuninstall_cmds | \
22082
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22083
 
      # Double-quote double-evaled strings.
22084
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22085
 
      ;;
22086
 
    *)
22087
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22088
 
      ;;
22089
 
    esac
22090
 
  done
22091
 
 
22092
 
  case $lt_echo in
22093
 
  *'\$0 --fallback-echo"')
22094
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22095
 
    ;;
22096
 
  esac
22097
 
 
22098
 
cfgfile="$ofile"
22099
 
 
22100
 
  cat <<__EOF__ >> "$cfgfile"
22101
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
22102
 
 
22103
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22104
 
 
22105
 
# Shell to use when invoking shell scripts.
22106
 
SHELL=$lt_SHELL
22107
 
 
22108
 
# Whether or not to build shared libraries.
22109
 
build_libtool_libs=$enable_shared
22110
 
 
22111
 
# Whether or not to build static libraries.
22112
 
build_old_libs=$enable_static
22113
 
 
22114
 
# Whether or not to add -lc for building shared libraries.
22115
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
22116
 
 
22117
 
# Whether or not to disallow shared libs when runtime libs are static
22118
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22119
 
 
22120
 
# Whether or not to optimize for fast installation.
22121
 
fast_install=$enable_fast_install
22122
 
 
22123
 
# The host system.
22124
 
host_alias=$host_alias
22125
 
host=$host
22126
 
host_os=$host_os
22127
 
 
22128
 
# The build system.
22129
 
build_alias=$build_alias
22130
 
build=$build
22131
 
build_os=$build_os
22132
 
 
22133
 
# An echo program that does not interpret backslashes.
22134
 
echo=$lt_echo
22135
 
 
22136
 
# The archiver.
22137
 
AR=$lt_AR
22138
 
AR_FLAGS=$lt_AR_FLAGS
22139
 
 
22140
 
# A C compiler.
22141
 
LTCC=$lt_LTCC
22142
 
 
22143
 
# LTCC compiler flags.
22144
 
LTCFLAGS=$lt_LTCFLAGS
22145
 
 
22146
 
# A language-specific compiler.
22147
 
CC=$lt_compiler_RC
22148
 
 
22149
 
# Is the compiler the GNU C compiler?
22150
 
with_gcc=$GCC_RC
22151
 
 
22152
 
# An ERE matcher.
22153
 
EGREP=$lt_EGREP
22154
 
 
22155
 
# The linker used to build libraries.
22156
 
LD=$lt_LD_RC
22157
 
 
22158
 
# Whether we need hard or soft links.
22159
 
LN_S=$lt_LN_S
22160
 
 
22161
 
# A BSD-compatible nm program.
22162
 
NM=$lt_NM
22163
 
 
22164
 
# A symbol stripping program
22165
 
STRIP=$lt_STRIP
22166
 
 
22167
 
# Used to examine libraries when file_magic_cmd begins "file"
22168
 
MAGIC_CMD=$MAGIC_CMD
22169
 
 
22170
 
# Used on cygwin: DLL creation program.
22171
 
DLLTOOL="$DLLTOOL"
22172
 
 
22173
 
# Used on cygwin: object dumper.
22174
 
OBJDUMP="$OBJDUMP"
22175
 
 
22176
 
# Used on cygwin: assembler.
22177
 
AS="$AS"
22178
 
 
22179
 
# The name of the directory that contains temporary libtool files.
22180
 
objdir=$objdir
22181
 
 
22182
 
# How to create reloadable object files.
22183
 
reload_flag=$lt_reload_flag
22184
 
reload_cmds=$lt_reload_cmds
22185
 
 
22186
 
# How to pass a linker flag through the compiler.
22187
 
wl=$lt_lt_prog_compiler_wl_RC
22188
 
 
22189
 
# Object file suffix (normally "o").
22190
 
objext="$ac_objext"
22191
 
 
22192
 
# Old archive suffix (normally "a").
22193
 
libext="$libext"
22194
 
 
22195
 
# Shared library suffix (normally ".so").
22196
 
shrext_cmds='$shrext_cmds'
22197
 
 
22198
 
# Executable file suffix (normally "").
22199
 
exeext="$exeext"
22200
 
 
22201
 
# Additional compiler flags for building library objects.
22202
 
pic_flag=$lt_lt_prog_compiler_pic_RC
22203
 
pic_mode=$pic_mode
22204
 
 
22205
 
# What is the maximum length of a command?
22206
 
max_cmd_len=$lt_cv_sys_max_cmd_len
22207
 
 
22208
 
# Does compiler simultaneously support -c and -o options?
22209
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22210
 
 
22211
 
# Must we lock files when doing compilation?
22212
 
need_locks=$lt_need_locks
22213
 
 
22214
 
# Do we need the lib prefix for modules?
22215
 
need_lib_prefix=$need_lib_prefix
22216
 
 
22217
 
# Do we need a version for libraries?
22218
 
need_version=$need_version
22219
 
 
22220
 
# Whether dlopen is supported.
22221
 
dlopen_support=$enable_dlopen
22222
 
 
22223
 
# Whether dlopen of programs is supported.
22224
 
dlopen_self=$enable_dlopen_self
22225
 
 
22226
 
# Whether dlopen of statically linked programs is supported.
22227
 
dlopen_self_static=$enable_dlopen_self_static
22228
 
 
22229
 
# Compiler flag to prevent dynamic linking.
22230
 
link_static_flag=$lt_lt_prog_compiler_static_RC
22231
 
 
22232
 
# Compiler flag to turn off builtin functions.
22233
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22234
 
 
22235
 
# Compiler flag to allow reflexive dlopens.
22236
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22237
 
 
22238
 
# Compiler flag to generate shared objects directly from archives.
22239
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22240
 
 
22241
 
# Compiler flag to generate thread-safe objects.
22242
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22243
 
 
22244
 
# Library versioning type.
22245
 
version_type=$version_type
22246
 
 
22247
 
# Format of library name prefix.
22248
 
libname_spec=$lt_libname_spec
22249
 
 
22250
 
# List of archive names.  First name is the real one, the rest are links.
22251
 
# The last name is the one that the linker finds with -lNAME.
22252
 
library_names_spec=$lt_library_names_spec
22253
 
 
22254
 
# The coded name of the library, if different from the real name.
22255
 
soname_spec=$lt_soname_spec
22256
 
 
22257
 
# Commands used to build and install an old-style archive.
22258
 
RANLIB=$lt_RANLIB
22259
 
old_archive_cmds=$lt_old_archive_cmds_RC
22260
 
old_postinstall_cmds=$lt_old_postinstall_cmds
22261
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22262
 
 
22263
 
# Create an old-style archive from a shared archive.
22264
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22265
 
 
22266
 
# Create a temporary old-style archive to link instead of a shared archive.
22267
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22268
 
 
22269
 
# Commands used to build and install a shared archive.
22270
 
archive_cmds=$lt_archive_cmds_RC
22271
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22272
 
postinstall_cmds=$lt_postinstall_cmds
22273
 
postuninstall_cmds=$lt_postuninstall_cmds
22274
 
 
22275
 
# Commands used to build a loadable module (assumed same as above if empty)
22276
 
module_cmds=$lt_module_cmds_RC
22277
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
22278
 
 
22279
 
# Commands to strip libraries.
22280
 
old_striplib=$lt_old_striplib
22281
 
striplib=$lt_striplib
22282
 
 
22283
 
# Dependencies to place before the objects being linked to create a
22284
 
# shared library.
22285
 
predep_objects=$lt_predep_objects_RC
22286
 
 
22287
 
# Dependencies to place after the objects being linked to create a
22288
 
# shared library.
22289
 
postdep_objects=$lt_postdep_objects_RC
22290
 
 
22291
 
# Dependencies to place before the objects being linked to create a
22292
 
# shared library.
22293
 
predeps=$lt_predeps_RC
22294
 
 
22295
 
# Dependencies to place after the objects being linked to create a
22296
 
# shared library.
22297
 
postdeps=$lt_postdeps_RC
22298
 
 
22299
 
# The library search path used internally by the compiler when linking
22300
 
# a shared library.
22301
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22302
 
 
22303
 
# Method to check whether dependent libraries are shared objects.
22304
 
deplibs_check_method=$lt_deplibs_check_method
22305
 
 
22306
 
# Command to use when deplibs_check_method == file_magic.
22307
 
file_magic_cmd=$lt_file_magic_cmd
22308
 
 
22309
 
# Flag that allows shared libraries with undefined symbols to be built.
22310
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
22311
 
 
22312
 
# Flag that forces no undefined symbols.
22313
 
no_undefined_flag=$lt_no_undefined_flag_RC
22314
 
 
22315
 
# Commands used to finish a libtool library installation in a directory.
22316
 
finish_cmds=$lt_finish_cmds
22317
 
 
22318
 
# Same as above, but a single script fragment to be evaled but not shown.
22319
 
finish_eval=$lt_finish_eval
22320
 
 
22321
 
# Take the output of nm and produce a listing of raw symbols and C names.
22322
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22323
 
 
22324
 
# Transform the output of nm in a proper C declaration
22325
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22326
 
 
22327
 
# Transform the output of nm in a C name address pair
22328
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22329
 
 
22330
 
# This is the shared library runtime path variable.
22331
 
runpath_var=$runpath_var
22332
 
 
22333
 
# This is the shared library path variable.
22334
 
shlibpath_var=$shlibpath_var
22335
 
 
22336
 
# Is shlibpath searched before the hard-coded library search path?
22337
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22338
 
 
22339
 
# How to hardcode a shared library path into an executable.
22340
 
hardcode_action=$hardcode_action_RC
22341
 
 
22342
 
# Whether we should hardcode library paths into libraries.
22343
 
hardcode_into_libs=$hardcode_into_libs
22344
 
 
22345
 
# Flag to hardcode \$libdir into a binary during linking.
22346
 
# This must work even if \$libdir does not exist.
22347
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22348
 
 
22349
 
# If ld is used when linking, flag to hardcode \$libdir into
22350
 
# a binary during linking. This must work even if \$libdir does
22351
 
# not exist.
22352
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22353
 
 
22354
 
# Whether we need a single -rpath flag with a separated argument.
22355
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22356
 
 
22357
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22358
 
# resulting binary.
22359
 
hardcode_direct=$hardcode_direct_RC
22360
 
 
22361
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22362
 
# resulting binary.
22363
 
hardcode_minus_L=$hardcode_minus_L_RC
22364
 
 
22365
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22366
 
# the resulting binary.
22367
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22368
 
 
22369
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
22370
 
# and all subsequent libraries and executables linked against it.
22371
 
hardcode_automatic=$hardcode_automatic_RC
22372
 
 
22373
 
# Variables whose values should be saved in libtool wrapper scripts and
22374
 
# restored at relink time.
22375
 
variables_saved_for_relink="$variables_saved_for_relink"
22376
 
 
22377
 
# Whether libtool must link a program against all its dependency libraries.
22378
 
link_all_deplibs=$link_all_deplibs_RC
22379
 
 
22380
 
# Compile-time system search path for libraries
22381
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22382
 
 
22383
 
# Run-time system search path for libraries
22384
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22385
 
 
22386
 
# Fix the shell variable \$srcfile for the compiler.
22387
 
fix_srcfile_path="$fix_srcfile_path_RC"
22388
 
 
22389
 
# Set to yes if exported symbols are required.
22390
 
always_export_symbols=$always_export_symbols_RC
22391
 
 
22392
 
# The commands to list exported symbols.
22393
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
22394
 
 
22395
 
# The commands to extract the exported symbol list from a shared archive.
22396
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22397
 
 
22398
 
# Symbols that should not be listed in the preloaded symbols.
22399
 
exclude_expsyms=$lt_exclude_expsyms_RC
22400
 
 
22401
 
# Symbols that must always be exported.
22402
 
include_expsyms=$lt_include_expsyms_RC
22403
 
 
22404
 
# ### END LIBTOOL TAG CONFIG: $tagname
22405
 
 
22406
 
__EOF__
22407
 
 
22408
 
 
22409
 
else
22410
 
  # If there is no Makefile yet, we rely on a make rule to execute
22411
 
  # `config.status --recheck' to rerun these tests and create the
22412
 
  # libtool script then.
22413
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22414
 
  if test -f "$ltmain_in"; then
22415
 
    test -f Makefile && make "$ltmain"
22416
 
  fi
22417
 
fi
22418
 
 
22419
 
 
22420
 
ac_ext=c
22421
 
ac_cpp='$CPP $CPPFLAGS'
22422
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22423
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22424
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22425
 
 
22426
 
CC="$lt_save_CC"
22427
 
 
22428
 
        ;;
22429
 
 
22430
 
      *)
22431
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22432
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22433
 
   { (exit 1); exit 1; }; }
22434
 
        ;;
22435
 
      esac
22436
 
 
22437
 
      # Append the new tag name to the list of available tags.
22438
 
      if test -n "$tagname" ; then
22439
 
      available_tags="$available_tags $tagname"
22440
 
    fi
22441
 
    fi
22442
 
  done
22443
 
  IFS="$lt_save_ifs"
22444
 
 
22445
 
  # Now substitute the updated list of available tags.
22446
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22447
 
    mv "${ofile}T" "$ofile"
22448
 
    chmod +x "$ofile"
22449
 
  else
22450
 
    rm -f "${ofile}T"
22451
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22452
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22453
 
   { (exit 1); exit 1; }; }
22454
 
  fi
22455
 
fi
22456
 
 
22457
 
 
22458
 
 
22459
 
# This can be used to rebuild libtool when needed
22460
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
22461
 
 
22462
 
# Always use our own libtool.
22463
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
22464
 
 
22465
 
# Prevent multiple expansion
22466
 
 
22467
 
 
22468
 
 
22469
 
 
22470
 
 
22471
 
 
22472
 
 
22473
 
 
22474
 
 
22475
 
 
22476
 
 
22477
 
 
22478
 
 
22479
 
 
22480
 
 
22481
 
 
22482
 
 
22483
 
 
22484
 
 
22485
 
 
22486
 
 
22487
 
 
22488
 
 
22489
 
 
22490
 
 
22491
 
 
22492
 
 
22493
 
 
22494
 
 
22495
 
 
22496
 
 
22497
 
 
22498
 
 
22499
 
 
22500
 
LIBTOOL_SHELL="/bin/sh ./libtool"
22501
 
#  LIBTOOL="$LIBTOOL --silent"
22502
 
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
22503
 
 
22504
 
 
22505
 
# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
22506
 
KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
22507
 
 
22508
 
 
22509
 
# we patch configure quite some so we better keep that consistent for incremental runs
22510
 
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
22511
 
 
22512
 
 
22513
 
 
22514
 
 
22515
 
 
22516
 
    # Extract the first word of "msgfmt", so it can be a program name with args.
22517
 
set dummy msgfmt; ac_word=$2
22518
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22519
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22520
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
22521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22522
 
else
22523
 
  case "$MSGFMT" in
22524
 
  /*)
22525
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22526
 
  ;;
22527
 
  *)
22528
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22529
 
  for ac_dir in $PATH; do
22530
 
    test -z "$ac_dir" && ac_dir=.
22531
 
    if test -f $ac_dir/$ac_word; then
22532
 
      if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
22533
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22534
 
        break
22535
 
      fi
22536
 
    fi
22537
 
  done
22538
 
  IFS="$ac_save_ifs"
22539
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
22540
 
  ;;
22541
 
esac
22542
 
fi
22543
 
MSGFMT="$ac_cv_path_MSGFMT"
22544
 
if test -n "$MSGFMT"; then
22545
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
22546
 
echo "${ECHO_T}$MSGFMT" >&6; }
22547
 
else
22548
 
  { echo "$as_me:$LINENO: result: no" >&5
22549
 
echo "${ECHO_T}no" >&6; }
22550
 
fi
22551
 
 
22552
 
    # Extract the first word of "gmsgfmt", so it can be a program name with args.
22553
 
set dummy gmsgfmt; ac_word=$2
22554
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22555
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22556
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22558
 
else
22559
 
  case $GMSGFMT in
22560
 
  [\\/]* | ?:[\\/]*)
22561
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22562
 
  ;;
22563
 
  *)
22564
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22565
 
for as_dir in $PATH
22566
 
do
22567
 
  IFS=$as_save_IFS
22568
 
  test -z "$as_dir" && as_dir=.
22569
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22570
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22571
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22572
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22573
 
    break 2
22574
 
  fi
22575
 
done
22576
 
done
22577
 
IFS=$as_save_IFS
22578
 
 
22579
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22580
 
  ;;
22581
 
esac
22582
 
fi
22583
 
GMSGFMT=$ac_cv_path_GMSGFMT
22584
 
if test -n "$GMSGFMT"; then
22585
 
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22586
 
echo "${ECHO_T}$GMSGFMT" >&6; }
22587
 
else
22588
 
  { echo "$as_me:$LINENO: result: no" >&5
22589
 
echo "${ECHO_T}no" >&6; }
22590
 
fi
22591
 
 
22592
 
 
22593
 
 
22594
 
     if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
22595
 
        { echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
22596
 
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
22597
 
        GMSGFMT=":"
22598
 
      fi
22599
 
      MSGFMT=$GMSGFMT
22600
 
 
22601
 
 
22602
 
 
22603
 
      # Extract the first word of "xgettext", so it can be a program name with args.
22604
 
set dummy xgettext; ac_word=$2
22605
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22606
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22607
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22608
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22609
 
else
22610
 
  case "$XGETTEXT" in
22611
 
  /*)
22612
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22613
 
  ;;
22614
 
  *)
22615
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22616
 
  for ac_dir in $PATH; do
22617
 
    test -z "$ac_dir" && ac_dir=.
22618
 
    if test -f $ac_dir/$ac_word; then
22619
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22620
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22621
 
        break
22622
 
      fi
22623
 
    fi
22624
 
  done
22625
 
  IFS="$ac_save_ifs"
22626
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22627
 
  ;;
22628
 
esac
22629
 
fi
22630
 
XGETTEXT="$ac_cv_path_XGETTEXT"
22631
 
if test -n "$XGETTEXT"; then
22632
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22633
 
echo "${ECHO_T}$XGETTEXT" >&6; }
22634
 
else
22635
 
  { echo "$as_me:$LINENO: result: no" >&5
22636
 
echo "${ECHO_T}no" >&6; }
22637
 
fi
22638
 
 
22639
 
 
22640
 
            if test "$XGETTEXT" != ":"; then
22641
 
                        if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22642
 
          : ;
22643
 
        else
22644
 
          { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
22645
 
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
22646
 
          XGETTEXT=":"
22647
 
        fi
22648
 
      fi
22649
 
 
22650
 
 
22651
 
 
22652
 
 
22653
 
 
22654
 
if test -z "3.0.0"; then
22655
 
  # Current default Qt version: 3.3
22656
 
  kde_qtver=3
22657
 
  kde_qtsubver=3
22658
 
else
22659
 
  kde_qtsubver=`echo "3.0.0" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
22660
 
  # following is the check if subversion isnt found in passed argument
22661
 
  if test "$kde_qtsubver" = "3.0.0"; then
22662
 
    kde_qtsubver=1
22663
 
  fi
22664
 
  kde_qtver=`echo "3.0.0" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
22665
 
  if test "$kde_qtver" = "1"; then
22666
 
    kde_qtsubver=42
22667
 
  fi
22668
 
fi
22669
 
 
22670
 
if test -z ""; then
22671
 
  if test "$kde_qtver" = "2"; then
22672
 
    if test $kde_qtsubver -gt 0; then
22673
 
      kde_qt_minversion=">= Qt 2.2.2"
22674
 
    else
22675
 
      kde_qt_minversion=">= Qt 2.0.2"
22676
 
    fi
22677
 
  fi
22678
 
  if test "$kde_qtver" = "3"; then
22679
 
    if test $kde_qtsubver -gt 0; then
22680
 
         if test $kde_qtsubver -gt 1; then
22681
 
            if test $kde_qtsubver -gt 2; then
22682
 
                kde_qt_minversion=">= Qt 3.3 and < 4.0"
22683
 
            else
22684
 
                kde_qt_minversion=">= Qt 3.2 and < 4.0"
22685
 
            fi
22686
 
         else
22687
 
            kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
22688
 
         fi
22689
 
    else
22690
 
      kde_qt_minversion=">= Qt 3.0 and < 4.0"
22691
 
    fi
22692
 
  fi
22693
 
  if test "$kde_qtver" = "1"; then
22694
 
    kde_qt_minversion=">= 1.42 and < 2.0"
22695
 
  fi
22696
 
else
22697
 
   kde_qt_minversion=""
22698
 
fi
22699
 
 
22700
 
if test -z ""; then
22701
 
   if test $kde_qtver = 3; then
22702
 
     if test $kde_qtsubver -gt 0; then
22703
 
       kde_qt_verstring="QT_VERSION >= 0x03@VER@00 && QT_VERSION < 0x040000"
22704
 
       qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
22705
 
       kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
22706
 
     else
22707
 
       kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
22708
 
     fi
22709
 
   fi
22710
 
   if test $kde_qtver = 2; then
22711
 
     if test $kde_qtsubver -gt 0; then
22712
 
       kde_qt_verstring="QT_VERSION >= 222"
22713
 
     else
22714
 
       kde_qt_verstring="QT_VERSION >= 200"
22715
 
     fi
22716
 
   fi
22717
 
   if test $kde_qtver = 1; then
22718
 
    kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
22719
 
   fi
22720
 
else
22721
 
   kde_qt_verstring=""
22722
 
fi
22723
 
 
22724
 
if test $kde_qtver = 4; then
22725
 
  kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
22726
 
fi
22727
 
if test $kde_qtver = 3; then
22728
 
  kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
22729
 
fi
22730
 
if test $kde_qtver = 2; then
22731
 
   kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
22732
 
fi
22733
 
if test $kde_qtver = 1; then
22734
 
   kde_qt_dirs="$QTDIR /usr/lib/qt"
22735
 
fi
22736
 
 
22737
 
 
22738
 
 
22739
 
     ac_ext=cpp
22740
 
ac_cpp='$CXXCPP $CPPFLAGS'
22741
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22742
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22743
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22744
 
 
22745
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22746
 
 
22747
 
 
22748
 
    ac_save_CXXFLAGS="$CXXFLAGS"
22749
 
    CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
22750
 
 
22751
 
    { echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
22752
 
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6; }
22753
 
    if test "${kde_cv_stl_works+set}" = set; then
22754
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22755
 
else
22756
 
 
22757
 
      cat >conftest.$ac_ext <<_ACEOF
22758
 
/* confdefs.h.  */
22759
 
_ACEOF
22760
 
cat confdefs.h >>conftest.$ac_ext
22761
 
cat >>conftest.$ac_ext <<_ACEOF
22762
 
/* end confdefs.h.  */
22763
 
 
22764
 
#include <string>
22765
 
using namespace std;
22766
 
 
22767
 
int
22768
 
main ()
22769
 
{
22770
 
 
22771
 
  string astring="Hallo Welt.";
22772
 
  astring.erase(0, 6); // now astring is "Welt"
22773
 
  return 0;
22774
 
 
22775
 
  ;
22776
 
  return 0;
22777
 
}
22778
 
_ACEOF
22779
 
rm -f conftest.$ac_objext
22780
 
if { (ac_try="$ac_compile"
22781
 
case "(($ac_try" in
22782
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22783
 
  *) ac_try_echo=$ac_try;;
22784
 
esac
22785
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22786
 
  (eval "$ac_compile") 2>conftest.er1
22787
 
  ac_status=$?
22788
 
  grep -v '^ *+' conftest.er1 >conftest.err
22789
 
  rm -f conftest.er1
22790
 
  cat conftest.err >&5
22791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792
 
  (exit $ac_status); } && {
22793
 
         test -z "$ac_cxx_werror_flag" ||
22794
 
         test ! -s conftest.err
22795
 
       } && test -s conftest.$ac_objext; then
22796
 
  kde_cv_stl_works=yes
22797
 
else
22798
 
  echo "$as_me: failed program was:" >&5
22799
 
sed 's/^/| /' conftest.$ac_ext >&5
22800
 
 
22801
 
        kde_cv_stl_works=no
22802
 
fi
22803
 
 
22804
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22805
 
 
22806
 
fi
22807
 
 
22808
 
 
22809
 
   { echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
22810
 
echo "${ECHO_T}$kde_cv_stl_works" >&6; }
22811
 
 
22812
 
   if test "$kde_cv_stl_works" = "yes"; then
22813
 
     # back compatible
22814
 
 
22815
 
cat >>confdefs.h <<_ACEOF
22816
 
#define HAVE_SGI_STL 1
22817
 
_ACEOF
22818
 
 
22819
 
   else
22820
 
         { { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
22821
 
Check config.log for details - if you're using a Linux distribution you might miss
22822
 
a package named similar to libstdc++-dev." >&5
22823
 
echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
22824
 
Check config.log for details - if you're using a Linux distribution you might miss
22825
 
a package named similar to libstdc++-dev." >&2;}
22826
 
   { (exit 1); exit 1; }; }
22827
 
   fi
22828
 
 
22829
 
   CXXFLAGS="$ac_save_CXXFLAGS"
22830
 
   ac_ext=c
22831
 
ac_cpp='$CPP $CPPFLAGS'
22832
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22833
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22834
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22835
 
 
22836
 
 
22837
 
 
22838
 
 
22839
 
{ echo "$as_me:$LINENO: checking for strlcat" >&5
22840
 
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; }
22841
 
if test "${kde_cv_func_strlcat+set}" = set; then
22842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22843
 
else
22844
 
 
22845
 
 
22846
 
 ac_ext=cpp
22847
 
ac_cpp='$CXXCPP $CPPFLAGS'
22848
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22849
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22850
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22851
 
 
22852
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22853
 
 
22854
 
 
22855
 
save_CXXFLAGS="$CXXFLAGS"
22856
 
kde_safe_LIBS="$LIBS"
22857
 
LIBS="$LIBS $X_EXTRA_LIBS"
22858
 
if test "$GXX" = "yes"; then
22859
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
22860
 
fi
22861
 
cat >conftest.$ac_ext <<_ACEOF
22862
 
/* confdefs.h.  */
22863
 
_ACEOF
22864
 
cat confdefs.h >>conftest.$ac_ext
22865
 
cat >>conftest.$ac_ext <<_ACEOF
22866
 
/* end confdefs.h.  */
22867
 
 
22868
 
 
22869
 
#include <string.h>
22870
 
 
22871
 
 
22872
 
int
22873
 
main ()
22874
 
{
22875
 
 
22876
 
 char buf[20];
22877
 
  buf[0]='\0';
22878
 
  strlcat(buf, "KDE function test", sizeof(buf));
22879
 
 
22880
 
 
22881
 
  ;
22882
 
  return 0;
22883
 
}
22884
 
_ACEOF
22885
 
rm -f conftest.$ac_objext
22886
 
if { (ac_try="$ac_compile"
22887
 
case "(($ac_try" in
22888
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22889
 
  *) ac_try_echo=$ac_try;;
22890
 
esac
22891
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22892
 
  (eval "$ac_compile") 2>conftest.er1
22893
 
  ac_status=$?
22894
 
  grep -v '^ *+' conftest.er1 >conftest.err
22895
 
  rm -f conftest.er1
22896
 
  cat conftest.err >&5
22897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898
 
  (exit $ac_status); } && {
22899
 
         test -z "$ac_cxx_werror_flag" ||
22900
 
         test ! -s conftest.err
22901
 
       } && test -s conftest.$ac_objext; then
22902
 
  kde_cv_func_strlcat=yes
22903
 
else
22904
 
  echo "$as_me: failed program was:" >&5
22905
 
sed 's/^/| /' conftest.$ac_ext >&5
22906
 
 
22907
 
        kde_cv_func_strlcat=no
22908
 
fi
22909
 
 
22910
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22911
 
CXXFLAGS="$save_CXXFLAGS"
22912
 
LIBS="$kde_safe_LIBS"
22913
 
ac_ext=c
22914
 
ac_cpp='$CPP $CPPFLAGS'
22915
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22916
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22917
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22918
 
 
22919
 
 
22920
 
fi
22921
 
 
22922
 
 
22923
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
22924
 
echo "${ECHO_T}$kde_cv_func_strlcat" >&6; }
22925
 
 
22926
 
{ echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
22927
 
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6; }
22928
 
if test "${kde_cv_proto_strlcat+set}" = set; then
22929
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22930
 
else
22931
 
 
22932
 
if test "x$kde_cv_func_strlcat" = xyes; then
22933
 
  kde_cv_proto_strlcat=no
22934
 
else
22935
 
  case "strlcat" in
22936
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
22937
 
                kde_cv_proto_strlcat="yes - in libkdefakes"
22938
 
                ;;
22939
 
        *)
22940
 
                kde_cv_proto_strlcat=unknown
22941
 
                ;;
22942
 
  esac
22943
 
fi
22944
 
 
22945
 
if test "x$kde_cv_proto_strlcat" = xunknown; then
22946
 
 
22947
 
 
22948
 
 ac_ext=cpp
22949
 
ac_cpp='$CXXCPP $CPPFLAGS'
22950
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22951
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22952
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22953
 
 
22954
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22955
 
 
22956
 
 
22957
 
  kde_safe_libs=$LIBS
22958
 
  LIBS="$LIBS $X_EXTRA_LIBS"
22959
 
  cat >conftest.$ac_ext <<_ACEOF
22960
 
/* confdefs.h.  */
22961
 
_ACEOF
22962
 
cat confdefs.h >>conftest.$ac_ext
22963
 
cat >>conftest.$ac_ext <<_ACEOF
22964
 
/* end confdefs.h.  */
22965
 
 
22966
 
 
22967
 
#include <string.h>
22968
 
 
22969
 
 
22970
 
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
22971
 
 
22972
 
int
22973
 
main ()
22974
 
{
22975
 
 
22976
 
 char buf[20];
22977
 
  buf[0]='\0';
22978
 
  strlcat(buf, "KDE function test", sizeof(buf));
22979
 
 
22980
 
 
22981
 
  ;
22982
 
  return 0;
22983
 
}
22984
 
_ACEOF
22985
 
rm -f conftest.$ac_objext conftest$ac_exeext
22986
 
if { (ac_try="$ac_link"
22987
 
case "(($ac_try" in
22988
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22989
 
  *) ac_try_echo=$ac_try;;
22990
 
esac
22991
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22992
 
  (eval "$ac_link") 2>conftest.er1
22993
 
  ac_status=$?
22994
 
  grep -v '^ *+' conftest.er1 >conftest.err
22995
 
  rm -f conftest.er1
22996
 
  cat conftest.err >&5
22997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998
 
  (exit $ac_status); } && {
22999
 
         test -z "$ac_cxx_werror_flag" ||
23000
 
         test ! -s conftest.err
23001
 
       } && test -s conftest$ac_exeext &&
23002
 
       $as_test_x conftest$ac_exeext; then
23003
 
   kde_cv_func_strlcat=yes
23004
 
  kde_cv_proto_strlcat=yes
23005
 
else
23006
 
  echo "$as_me: failed program was:" >&5
23007
 
sed 's/^/| /' conftest.$ac_ext >&5
23008
 
 
23009
 
        kde_cv_proto_strlcat="strlcat unavailable"
23010
 
 
23011
 
fi
23012
 
 
23013
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23014
 
      conftest$ac_exeext conftest.$ac_ext
23015
 
LIBS=$kde_safe_libs
23016
 
ac_ext=c
23017
 
ac_cpp='$CPP $CPPFLAGS'
23018
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23019
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23020
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23021
 
 
23022
 
fi
23023
 
 
23024
 
fi
23025
 
 
23026
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
23027
 
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6; }
23028
 
 
23029
 
if test "x$kde_cv_func_strlcat" = xyes; then
23030
 
 
23031
 
cat >>confdefs.h <<\_ACEOF
23032
 
#define HAVE_STRLCAT 1
23033
 
_ACEOF
23034
 
 
23035
 
 
23036
 
fi
23037
 
if test "x$kde_cv_proto_strlcat" = xno; then
23038
 
 
23039
 
cat >>confdefs.h <<\_ACEOF
23040
 
#define HAVE_STRLCAT_PROTO 1
23041
 
_ACEOF
23042
 
 
23043
 
fi
23044
 
 
23045
 
 
23046
 
 
23047
 
 
23048
 
 
23049
 
 
23050
 
 
23051
 
{ echo "$as_me:$LINENO: checking for strlcpy" >&5
23052
 
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; }
23053
 
if test "${kde_cv_func_strlcpy+set}" = set; then
23054
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23055
 
else
23056
 
 
23057
 
 
23058
 
 ac_ext=cpp
23059
 
ac_cpp='$CXXCPP $CPPFLAGS'
23060
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23061
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23062
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23063
 
 
23064
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23065
 
 
23066
 
 
23067
 
save_CXXFLAGS="$CXXFLAGS"
23068
 
kde_safe_LIBS="$LIBS"
23069
 
LIBS="$LIBS $X_EXTRA_LIBS"
23070
 
if test "$GXX" = "yes"; then
23071
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
23072
 
fi
23073
 
cat >conftest.$ac_ext <<_ACEOF
23074
 
/* confdefs.h.  */
23075
 
_ACEOF
23076
 
cat confdefs.h >>conftest.$ac_ext
23077
 
cat >>conftest.$ac_ext <<_ACEOF
23078
 
/* end confdefs.h.  */
23079
 
 
23080
 
 
23081
 
#include <string.h>
23082
 
 
23083
 
 
23084
 
int
23085
 
main ()
23086
 
{
23087
 
 
23088
 
 char buf[20];
23089
 
  strlcpy(buf, "KDE function test", sizeof(buf));
23090
 
 
23091
 
 
23092
 
  ;
23093
 
  return 0;
23094
 
}
23095
 
_ACEOF
23096
 
rm -f conftest.$ac_objext
23097
 
if { (ac_try="$ac_compile"
23098
 
case "(($ac_try" in
23099
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23100
 
  *) ac_try_echo=$ac_try;;
23101
 
esac
23102
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23103
 
  (eval "$ac_compile") 2>conftest.er1
23104
 
  ac_status=$?
23105
 
  grep -v '^ *+' conftest.er1 >conftest.err
23106
 
  rm -f conftest.er1
23107
 
  cat conftest.err >&5
23108
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109
 
  (exit $ac_status); } && {
23110
 
         test -z "$ac_cxx_werror_flag" ||
23111
 
         test ! -s conftest.err
23112
 
       } && test -s conftest.$ac_objext; then
23113
 
  kde_cv_func_strlcpy=yes
23114
 
else
23115
 
  echo "$as_me: failed program was:" >&5
23116
 
sed 's/^/| /' conftest.$ac_ext >&5
23117
 
 
23118
 
        kde_cv_func_strlcpy=no
23119
 
fi
23120
 
 
23121
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23122
 
CXXFLAGS="$save_CXXFLAGS"
23123
 
LIBS="$kde_safe_LIBS"
23124
 
ac_ext=c
23125
 
ac_cpp='$CPP $CPPFLAGS'
23126
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23127
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23128
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23129
 
 
23130
 
 
23131
 
fi
23132
 
 
23133
 
 
23134
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
23135
 
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6; }
23136
 
 
23137
 
{ echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
23138
 
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6; }
23139
 
if test "${kde_cv_proto_strlcpy+set}" = set; then
23140
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23141
 
else
23142
 
 
23143
 
if test "x$kde_cv_func_strlcpy" = xyes; then
23144
 
  kde_cv_proto_strlcpy=no
23145
 
else
23146
 
  case "strlcpy" in
23147
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23148
 
                kde_cv_proto_strlcpy="yes - in libkdefakes"
23149
 
                ;;
23150
 
        *)
23151
 
                kde_cv_proto_strlcpy=unknown
23152
 
                ;;
23153
 
  esac
23154
 
fi
23155
 
 
23156
 
if test "x$kde_cv_proto_strlcpy" = xunknown; then
23157
 
 
23158
 
 
23159
 
 ac_ext=cpp
23160
 
ac_cpp='$CXXCPP $CPPFLAGS'
23161
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23162
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23163
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23164
 
 
23165
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23166
 
 
23167
 
 
23168
 
  kde_safe_libs=$LIBS
23169
 
  LIBS="$LIBS $X_EXTRA_LIBS"
23170
 
  cat >conftest.$ac_ext <<_ACEOF
23171
 
/* confdefs.h.  */
23172
 
_ACEOF
23173
 
cat confdefs.h >>conftest.$ac_ext
23174
 
cat >>conftest.$ac_ext <<_ACEOF
23175
 
/* end confdefs.h.  */
23176
 
 
23177
 
 
23178
 
#include <string.h>
23179
 
 
23180
 
 
23181
 
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
23182
 
 
23183
 
int
23184
 
main ()
23185
 
{
23186
 
 
23187
 
 char buf[20];
23188
 
  strlcpy(buf, "KDE function test", sizeof(buf));
23189
 
 
23190
 
 
23191
 
  ;
23192
 
  return 0;
23193
 
}
23194
 
_ACEOF
23195
 
rm -f conftest.$ac_objext conftest$ac_exeext
23196
 
if { (ac_try="$ac_link"
23197
 
case "(($ac_try" in
23198
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23199
 
  *) ac_try_echo=$ac_try;;
23200
 
esac
23201
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23202
 
  (eval "$ac_link") 2>conftest.er1
23203
 
  ac_status=$?
23204
 
  grep -v '^ *+' conftest.er1 >conftest.err
23205
 
  rm -f conftest.er1
23206
 
  cat conftest.err >&5
23207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208
 
  (exit $ac_status); } && {
23209
 
         test -z "$ac_cxx_werror_flag" ||
23210
 
         test ! -s conftest.err
23211
 
       } && test -s conftest$ac_exeext &&
23212
 
       $as_test_x conftest$ac_exeext; then
23213
 
   kde_cv_func_strlcpy=yes
23214
 
  kde_cv_proto_strlcpy=yes
23215
 
else
23216
 
  echo "$as_me: failed program was:" >&5
23217
 
sed 's/^/| /' conftest.$ac_ext >&5
23218
 
 
23219
 
        kde_cv_proto_strlcpy="strlcpy unavailable"
23220
 
 
23221
 
fi
23222
 
 
23223
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23224
 
      conftest$ac_exeext conftest.$ac_ext
23225
 
LIBS=$kde_safe_libs
23226
 
ac_ext=c
23227
 
ac_cpp='$CPP $CPPFLAGS'
23228
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23231
 
 
23232
 
fi
23233
 
 
23234
 
fi
23235
 
 
23236
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
23237
 
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6; }
23238
 
 
23239
 
if test "x$kde_cv_func_strlcpy" = xyes; then
23240
 
 
23241
 
cat >>confdefs.h <<\_ACEOF
23242
 
#define HAVE_STRLCPY 1
23243
 
_ACEOF
23244
 
 
23245
 
 
23246
 
fi
23247
 
if test "x$kde_cv_proto_strlcpy" = xno; then
23248
 
 
23249
 
cat >>confdefs.h <<\_ACEOF
23250
 
#define HAVE_STRLCPY_PROTO 1
23251
 
_ACEOF
23252
 
 
23253
 
fi
23254
 
 
23255
 
 
23256
 
 
23257
 
 
23258
 
 
23259
 
 
23260
 
      { echo "$as_me:$LINENO: checking for main in -lutil" >&5
23261
 
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6; }
23262
 
if test "${ac_cv_lib_util_main+set}" = set; then
23263
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23264
 
else
23265
 
  ac_check_lib_save_LIBS=$LIBS
23266
 
LIBS="-lutil  $LIBS"
23267
 
cat >conftest.$ac_ext <<_ACEOF
23268
 
/* confdefs.h.  */
23269
 
_ACEOF
23270
 
cat confdefs.h >>conftest.$ac_ext
23271
 
cat >>conftest.$ac_ext <<_ACEOF
23272
 
/* end confdefs.h.  */
23273
 
 
23274
 
 
23275
 
int
23276
 
main ()
23277
 
{
23278
 
return main ();
23279
 
  ;
23280
 
  return 0;
23281
 
}
23282
 
_ACEOF
23283
 
rm -f conftest.$ac_objext conftest$ac_exeext
23284
 
if { (ac_try="$ac_link"
23285
 
case "(($ac_try" in
23286
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23287
 
  *) ac_try_echo=$ac_try;;
23288
 
esac
23289
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23290
 
  (eval "$ac_link") 2>conftest.er1
23291
 
  ac_status=$?
23292
 
  grep -v '^ *+' conftest.er1 >conftest.err
23293
 
  rm -f conftest.er1
23294
 
  cat conftest.err >&5
23295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296
 
  (exit $ac_status); } && {
23297
 
         test -z "$ac_c_werror_flag" ||
23298
 
         test ! -s conftest.err
23299
 
       } && test -s conftest$ac_exeext &&
23300
 
       $as_test_x conftest$ac_exeext; then
23301
 
  ac_cv_lib_util_main=yes
23302
 
else
23303
 
  echo "$as_me: failed program was:" >&5
23304
 
sed 's/^/| /' conftest.$ac_ext >&5
23305
 
 
23306
 
        ac_cv_lib_util_main=no
23307
 
fi
23308
 
 
23309
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23310
 
      conftest$ac_exeext conftest.$ac_ext
23311
 
LIBS=$ac_check_lib_save_LIBS
23312
 
fi
23313
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
23314
 
echo "${ECHO_T}$ac_cv_lib_util_main" >&6; }
23315
 
if test $ac_cv_lib_util_main = yes; then
23316
 
  LIBUTIL="-lutil"
23317
 
fi
23318
 
 
23319
 
   { echo "$as_me:$LINENO: checking for main in -lcompat" >&5
23320
 
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
23321
 
if test "${ac_cv_lib_compat_main+set}" = set; then
23322
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23323
 
else
23324
 
  ac_check_lib_save_LIBS=$LIBS
23325
 
LIBS="-lcompat  $LIBS"
23326
 
cat >conftest.$ac_ext <<_ACEOF
23327
 
/* confdefs.h.  */
23328
 
_ACEOF
23329
 
cat confdefs.h >>conftest.$ac_ext
23330
 
cat >>conftest.$ac_ext <<_ACEOF
23331
 
/* end confdefs.h.  */
23332
 
 
23333
 
 
23334
 
int
23335
 
main ()
23336
 
{
23337
 
return main ();
23338
 
  ;
23339
 
  return 0;
23340
 
}
23341
 
_ACEOF
23342
 
rm -f conftest.$ac_objext conftest$ac_exeext
23343
 
if { (ac_try="$ac_link"
23344
 
case "(($ac_try" in
23345
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23346
 
  *) ac_try_echo=$ac_try;;
23347
 
esac
23348
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23349
 
  (eval "$ac_link") 2>conftest.er1
23350
 
  ac_status=$?
23351
 
  grep -v '^ *+' conftest.er1 >conftest.err
23352
 
  rm -f conftest.er1
23353
 
  cat conftest.err >&5
23354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355
 
  (exit $ac_status); } && {
23356
 
         test -z "$ac_c_werror_flag" ||
23357
 
         test ! -s conftest.err
23358
 
       } && test -s conftest$ac_exeext &&
23359
 
       $as_test_x conftest$ac_exeext; then
23360
 
  ac_cv_lib_compat_main=yes
23361
 
else
23362
 
  echo "$as_me: failed program was:" >&5
23363
 
sed 's/^/| /' conftest.$ac_ext >&5
23364
 
 
23365
 
        ac_cv_lib_compat_main=no
23366
 
fi
23367
 
 
23368
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23369
 
      conftest$ac_exeext conftest.$ac_ext
23370
 
LIBS=$ac_check_lib_save_LIBS
23371
 
fi
23372
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
23373
 
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
23374
 
if test $ac_cv_lib_compat_main = yes; then
23375
 
  LIBCOMPAT="-lcompat"
23376
 
fi
23377
 
 
23378
 
   kde_have_crypt=
23379
 
   { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
23380
 
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
23381
 
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
23382
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23383
 
else
23384
 
  ac_check_lib_save_LIBS=$LIBS
23385
 
LIBS="-lcrypt  $LIBS"
23386
 
cat >conftest.$ac_ext <<_ACEOF
23387
 
/* confdefs.h.  */
23388
 
_ACEOF
23389
 
cat confdefs.h >>conftest.$ac_ext
23390
 
cat >>conftest.$ac_ext <<_ACEOF
23391
 
/* end confdefs.h.  */
23392
 
 
23393
 
/* Override any GCC internal prototype to avoid an error.
23394
 
   Use char because int might match the return type of a GCC
23395
 
   builtin and then its argument prototype would still apply.  */
23396
 
#ifdef __cplusplus
23397
 
extern "C"
23398
 
#endif
23399
 
char crypt ();
23400
 
int
23401
 
main ()
23402
 
{
23403
 
return crypt ();
23404
 
  ;
23405
 
  return 0;
23406
 
}
23407
 
_ACEOF
23408
 
rm -f conftest.$ac_objext conftest$ac_exeext
23409
 
if { (ac_try="$ac_link"
23410
 
case "(($ac_try" in
23411
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23412
 
  *) ac_try_echo=$ac_try;;
23413
 
esac
23414
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23415
 
  (eval "$ac_link") 2>conftest.er1
23416
 
  ac_status=$?
23417
 
  grep -v '^ *+' conftest.er1 >conftest.err
23418
 
  rm -f conftest.er1
23419
 
  cat conftest.err >&5
23420
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421
 
  (exit $ac_status); } && {
23422
 
         test -z "$ac_c_werror_flag" ||
23423
 
         test ! -s conftest.err
23424
 
       } && test -s conftest$ac_exeext &&
23425
 
       $as_test_x conftest$ac_exeext; then
23426
 
  ac_cv_lib_crypt_crypt=yes
23427
 
else
23428
 
  echo "$as_me: failed program was:" >&5
23429
 
sed 's/^/| /' conftest.$ac_ext >&5
23430
 
 
23431
 
        ac_cv_lib_crypt_crypt=no
23432
 
fi
23433
 
 
23434
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23435
 
      conftest$ac_exeext conftest.$ac_ext
23436
 
LIBS=$ac_check_lib_save_LIBS
23437
 
fi
23438
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
23439
 
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
23440
 
if test $ac_cv_lib_crypt_crypt = yes; then
23441
 
  LIBCRYPT="-lcrypt"; kde_have_crypt=yes
23442
 
else
23443
 
  { echo "$as_me:$LINENO: checking for crypt in -lc" >&5
23444
 
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
23445
 
if test "${ac_cv_lib_c_crypt+set}" = set; then
23446
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23447
 
else
23448
 
  ac_check_lib_save_LIBS=$LIBS
23449
 
LIBS="-lc  $LIBS"
23450
 
cat >conftest.$ac_ext <<_ACEOF
23451
 
/* confdefs.h.  */
23452
 
_ACEOF
23453
 
cat confdefs.h >>conftest.$ac_ext
23454
 
cat >>conftest.$ac_ext <<_ACEOF
23455
 
/* end confdefs.h.  */
23456
 
 
23457
 
/* Override any GCC internal prototype to avoid an error.
23458
 
   Use char because int might match the return type of a GCC
23459
 
   builtin and then its argument prototype would still apply.  */
23460
 
#ifdef __cplusplus
23461
 
extern "C"
23462
 
#endif
23463
 
char crypt ();
23464
 
int
23465
 
main ()
23466
 
{
23467
 
return crypt ();
23468
 
  ;
23469
 
  return 0;
23470
 
}
23471
 
_ACEOF
23472
 
rm -f conftest.$ac_objext conftest$ac_exeext
23473
 
if { (ac_try="$ac_link"
23474
 
case "(($ac_try" in
23475
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23476
 
  *) ac_try_echo=$ac_try;;
23477
 
esac
23478
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23479
 
  (eval "$ac_link") 2>conftest.er1
23480
 
  ac_status=$?
23481
 
  grep -v '^ *+' conftest.er1 >conftest.err
23482
 
  rm -f conftest.er1
23483
 
  cat conftest.err >&5
23484
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485
 
  (exit $ac_status); } && {
23486
 
         test -z "$ac_c_werror_flag" ||
23487
 
         test ! -s conftest.err
23488
 
       } && test -s conftest$ac_exeext &&
23489
 
       $as_test_x conftest$ac_exeext; then
23490
 
  ac_cv_lib_c_crypt=yes
23491
 
else
23492
 
  echo "$as_me: failed program was:" >&5
23493
 
sed 's/^/| /' conftest.$ac_ext >&5
23494
 
 
23495
 
        ac_cv_lib_c_crypt=no
23496
 
fi
23497
 
 
23498
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23499
 
      conftest$ac_exeext conftest.$ac_ext
23500
 
LIBS=$ac_check_lib_save_LIBS
23501
 
fi
23502
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
23503
 
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
23504
 
if test $ac_cv_lib_c_crypt = yes; then
23505
 
  kde_have_crypt=yes
23506
 
else
23507
 
 
23508
 
        { echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
23509
 
You should install libcrypt from another source or configure with PAM
23510
 
support" >&5
23511
 
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
23512
 
You should install libcrypt from another source or configure with PAM
23513
 
support" >&2;}
23514
 
        kde_have_crypt=no
23515
 
 
23516
 
fi
23517
 
 
23518
 
fi
23519
 
 
23520
 
 
23521
 
   if test $kde_have_crypt = yes; then
23522
 
 
23523
 
cat >>confdefs.h <<_ACEOF
23524
 
#define HAVE_CRYPT 1
23525
 
_ACEOF
23526
 
 
23527
 
   fi
23528
 
 
23529
 
   { echo "$as_me:$LINENO: checking for socklen_t" >&5
23530
 
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
23531
 
   if test "${kde_cv_socklen_t+set}" = set; then
23532
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23533
 
else
23534
 
 
23535
 
      ac_ext=cpp
23536
 
ac_cpp='$CXXCPP $CPPFLAGS'
23537
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23538
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23539
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23540
 
 
23541
 
      kde_cv_socklen_t=no
23542
 
      cat >conftest.$ac_ext <<_ACEOF
23543
 
/* confdefs.h.  */
23544
 
_ACEOF
23545
 
cat confdefs.h >>conftest.$ac_ext
23546
 
cat >>conftest.$ac_ext <<_ACEOF
23547
 
/* end confdefs.h.  */
23548
 
 
23549
 
         #include <sys/types.h>
23550
 
         #include <sys/socket.h>
23551
 
 
23552
 
int
23553
 
main ()
23554
 
{
23555
 
 
23556
 
         socklen_t len;
23557
 
         getpeername(0,0,&len);
23558
 
 
23559
 
  ;
23560
 
  return 0;
23561
 
}
23562
 
_ACEOF
23563
 
rm -f conftest.$ac_objext
23564
 
if { (ac_try="$ac_compile"
23565
 
case "(($ac_try" in
23566
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23567
 
  *) ac_try_echo=$ac_try;;
23568
 
esac
23569
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23570
 
  (eval "$ac_compile") 2>conftest.er1
23571
 
  ac_status=$?
23572
 
  grep -v '^ *+' conftest.er1 >conftest.err
23573
 
  rm -f conftest.er1
23574
 
  cat conftest.err >&5
23575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576
 
  (exit $ac_status); } && {
23577
 
         test -z "$ac_cxx_werror_flag" ||
23578
 
         test ! -s conftest.err
23579
 
       } && test -s conftest.$ac_objext; then
23580
 
 
23581
 
         kde_cv_socklen_t=yes
23582
 
         kde_cv_socklen_t_equiv=socklen_t
23583
 
 
23584
 
else
23585
 
  echo "$as_me: failed program was:" >&5
23586
 
sed 's/^/| /' conftest.$ac_ext >&5
23587
 
 
23588
 
 
23589
 
fi
23590
 
 
23591
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23592
 
      ac_ext=c
23593
 
ac_cpp='$CPP $CPPFLAGS'
23594
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23597
 
 
23598
 
 
23599
 
fi
23600
 
 
23601
 
   { echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
23602
 
echo "${ECHO_T}$kde_cv_socklen_t" >&6; }
23603
 
   if test $kde_cv_socklen_t = no; then
23604
 
      { echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
23605
 
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6; }
23606
 
      if test "${kde_cv_socklen_t_equiv+set}" = set; then
23607
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23608
 
else
23609
 
 
23610
 
         kde_cv_socklen_t_equiv=int
23611
 
         ac_ext=cpp
23612
 
ac_cpp='$CXXCPP $CPPFLAGS'
23613
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23614
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23615
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23616
 
 
23617
 
         for t in int size_t unsigned long "unsigned long"; do
23618
 
            cat >conftest.$ac_ext <<_ACEOF
23619
 
/* confdefs.h.  */
23620
 
_ACEOF
23621
 
cat confdefs.h >>conftest.$ac_ext
23622
 
cat >>conftest.$ac_ext <<_ACEOF
23623
 
/* end confdefs.h.  */
23624
 
 
23625
 
               #include <sys/types.h>
23626
 
               #include <sys/socket.h>
23627
 
 
23628
 
int
23629
 
main ()
23630
 
{
23631
 
 
23632
 
               $t len;
23633
 
               getpeername(0,0,&len);
23634
 
 
23635
 
  ;
23636
 
  return 0;
23637
 
}
23638
 
_ACEOF
23639
 
rm -f conftest.$ac_objext
23640
 
if { (ac_try="$ac_compile"
23641
 
case "(($ac_try" in
23642
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23643
 
  *) ac_try_echo=$ac_try;;
23644
 
esac
23645
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23646
 
  (eval "$ac_compile") 2>conftest.er1
23647
 
  ac_status=$?
23648
 
  grep -v '^ *+' conftest.er1 >conftest.err
23649
 
  rm -f conftest.er1
23650
 
  cat conftest.err >&5
23651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652
 
  (exit $ac_status); } && {
23653
 
         test -z "$ac_cxx_werror_flag" ||
23654
 
         test ! -s conftest.err
23655
 
       } && test -s conftest.$ac_objext; then
23656
 
 
23657
 
               kde_cv_socklen_t_equiv="$t"
23658
 
               break
23659
 
 
23660
 
else
23661
 
  echo "$as_me: failed program was:" >&5
23662
 
sed 's/^/| /' conftest.$ac_ext >&5
23663
 
 
23664
 
 
23665
 
fi
23666
 
 
23667
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23668
 
         done
23669
 
         ac_ext=c
23670
 
ac_cpp='$CPP $CPPFLAGS'
23671
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23672
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23673
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23674
 
 
23675
 
 
23676
 
fi
23677
 
 
23678
 
      { echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
23679
 
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6; }
23680
 
   fi
23681
 
 
23682
 
cat >>confdefs.h <<_ACEOF
23683
 
#define kde_socklen_t $kde_cv_socklen_t_equiv
23684
 
_ACEOF
23685
 
 
23686
 
 
23687
 
cat >>confdefs.h <<_ACEOF
23688
 
#define ksize_t $kde_cv_socklen_t_equiv
23689
 
_ACEOF
23690
 
 
23691
 
 
23692
 
   { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23693
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
23694
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23695
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23696
 
else
23697
 
  ac_check_lib_save_LIBS=$LIBS
23698
 
LIBS="-ldnet  $LIBS"
23699
 
cat >conftest.$ac_ext <<_ACEOF
23700
 
/* confdefs.h.  */
23701
 
_ACEOF
23702
 
cat confdefs.h >>conftest.$ac_ext
23703
 
cat >>conftest.$ac_ext <<_ACEOF
23704
 
/* end confdefs.h.  */
23705
 
 
23706
 
/* Override any GCC internal prototype to avoid an error.
23707
 
   Use char because int might match the return type of a GCC
23708
 
   builtin and then its argument prototype would still apply.  */
23709
 
#ifdef __cplusplus
23710
 
extern "C"
23711
 
#endif
23712
 
char dnet_ntoa ();
23713
 
int
23714
 
main ()
23715
 
{
23716
 
return dnet_ntoa ();
23717
 
  ;
23718
 
  return 0;
23719
 
}
23720
 
_ACEOF
23721
 
rm -f conftest.$ac_objext conftest$ac_exeext
23722
 
if { (ac_try="$ac_link"
23723
 
case "(($ac_try" in
23724
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23725
 
  *) ac_try_echo=$ac_try;;
23726
 
esac
23727
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23728
 
  (eval "$ac_link") 2>conftest.er1
23729
 
  ac_status=$?
23730
 
  grep -v '^ *+' conftest.er1 >conftest.err
23731
 
  rm -f conftest.er1
23732
 
  cat conftest.err >&5
23733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734
 
  (exit $ac_status); } && {
23735
 
         test -z "$ac_c_werror_flag" ||
23736
 
         test ! -s conftest.err
23737
 
       } && test -s conftest$ac_exeext &&
23738
 
       $as_test_x conftest$ac_exeext; then
23739
 
  ac_cv_lib_dnet_dnet_ntoa=yes
23740
 
else
23741
 
  echo "$as_me: failed program was:" >&5
23742
 
sed 's/^/| /' conftest.$ac_ext >&5
23743
 
 
23744
 
        ac_cv_lib_dnet_dnet_ntoa=no
23745
 
fi
23746
 
 
23747
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23748
 
      conftest$ac_exeext conftest.$ac_ext
23749
 
LIBS=$ac_check_lib_save_LIBS
23750
 
fi
23751
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23752
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23753
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23754
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23755
 
fi
23756
 
 
23757
 
   if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23758
 
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23759
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
23760
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23762
 
else
23763
 
  ac_check_lib_save_LIBS=$LIBS
23764
 
LIBS="-ldnet_stub  $LIBS"
23765
 
cat >conftest.$ac_ext <<_ACEOF
23766
 
/* confdefs.h.  */
23767
 
_ACEOF
23768
 
cat confdefs.h >>conftest.$ac_ext
23769
 
cat >>conftest.$ac_ext <<_ACEOF
23770
 
/* end confdefs.h.  */
23771
 
 
23772
 
/* Override any GCC internal prototype to avoid an error.
23773
 
   Use char because int might match the return type of a GCC
23774
 
   builtin and then its argument prototype would still apply.  */
23775
 
#ifdef __cplusplus
23776
 
extern "C"
23777
 
#endif
23778
 
char dnet_ntoa ();
23779
 
int
23780
 
main ()
23781
 
{
23782
 
return dnet_ntoa ();
23783
 
  ;
23784
 
  return 0;
23785
 
}
23786
 
_ACEOF
23787
 
rm -f conftest.$ac_objext conftest$ac_exeext
23788
 
if { (ac_try="$ac_link"
23789
 
case "(($ac_try" in
23790
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23791
 
  *) ac_try_echo=$ac_try;;
23792
 
esac
23793
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23794
 
  (eval "$ac_link") 2>conftest.er1
23795
 
  ac_status=$?
23796
 
  grep -v '^ *+' conftest.er1 >conftest.err
23797
 
  rm -f conftest.er1
23798
 
  cat conftest.err >&5
23799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800
 
  (exit $ac_status); } && {
23801
 
         test -z "$ac_c_werror_flag" ||
23802
 
         test ! -s conftest.err
23803
 
       } && test -s conftest$ac_exeext &&
23804
 
       $as_test_x conftest$ac_exeext; then
23805
 
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
23806
 
else
23807
 
  echo "$as_me: failed program was:" >&5
23808
 
sed 's/^/| /' conftest.$ac_ext >&5
23809
 
 
23810
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
23811
 
fi
23812
 
 
23813
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23814
 
      conftest$ac_exeext conftest.$ac_ext
23815
 
LIBS=$ac_check_lib_save_LIBS
23816
 
fi
23817
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23818
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23819
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23820
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23821
 
fi
23822
 
 
23823
 
   fi
23824
 
   { echo "$as_me:$LINENO: checking for inet_ntoa" >&5
23825
 
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6; }
23826
 
if test "${ac_cv_func_inet_ntoa+set}" = set; then
23827
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23828
 
else
23829
 
  cat >conftest.$ac_ext <<_ACEOF
23830
 
/* confdefs.h.  */
23831
 
_ACEOF
23832
 
cat confdefs.h >>conftest.$ac_ext
23833
 
cat >>conftest.$ac_ext <<_ACEOF
23834
 
/* end confdefs.h.  */
23835
 
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
23836
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23837
 
#define inet_ntoa innocuous_inet_ntoa
23838
 
 
23839
 
/* System header to define __stub macros and hopefully few prototypes,
23840
 
    which can conflict with char inet_ntoa (); below.
23841
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23842
 
    <limits.h> exists even on freestanding compilers.  */
23843
 
 
23844
 
#ifdef __STDC__
23845
 
# include <limits.h>
23846
 
#else
23847
 
# include <assert.h>
23848
 
#endif
23849
 
 
23850
 
#undef inet_ntoa
23851
 
 
23852
 
/* Override any GCC internal prototype to avoid an error.
23853
 
   Use char because int might match the return type of a GCC
23854
 
   builtin and then its argument prototype would still apply.  */
23855
 
#ifdef __cplusplus
23856
 
extern "C"
23857
 
#endif
23858
 
char inet_ntoa ();
23859
 
/* The GNU C library defines this for functions which it implements
23860
 
    to always fail with ENOSYS.  Some functions are actually named
23861
 
    something starting with __ and the normal name is an alias.  */
23862
 
#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
23863
 
choke me
23864
 
#endif
23865
 
 
23866
 
int
23867
 
main ()
23868
 
{
23869
 
return inet_ntoa ();
23870
 
  ;
23871
 
  return 0;
23872
 
}
23873
 
_ACEOF
23874
 
rm -f conftest.$ac_objext conftest$ac_exeext
23875
 
if { (ac_try="$ac_link"
23876
 
case "(($ac_try" in
23877
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23878
 
  *) ac_try_echo=$ac_try;;
23879
 
esac
23880
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23881
 
  (eval "$ac_link") 2>conftest.er1
23882
 
  ac_status=$?
23883
 
  grep -v '^ *+' conftest.er1 >conftest.err
23884
 
  rm -f conftest.er1
23885
 
  cat conftest.err >&5
23886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23887
 
  (exit $ac_status); } && {
23888
 
         test -z "$ac_c_werror_flag" ||
23889
 
         test ! -s conftest.err
23890
 
       } && test -s conftest$ac_exeext &&
23891
 
       $as_test_x conftest$ac_exeext; then
23892
 
  ac_cv_func_inet_ntoa=yes
23893
 
else
23894
 
  echo "$as_me: failed program was:" >&5
23895
 
sed 's/^/| /' conftest.$ac_ext >&5
23896
 
 
23897
 
        ac_cv_func_inet_ntoa=no
23898
 
fi
23899
 
 
23900
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23901
 
      conftest$ac_exeext conftest.$ac_ext
23902
 
fi
23903
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
23904
 
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6; }
23905
 
 
23906
 
   if test $ac_cv_func_inet_ntoa = no; then
23907
 
     { echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
23908
 
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6; }
23909
 
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
23910
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23911
 
else
23912
 
  ac_check_lib_save_LIBS=$LIBS
23913
 
LIBS="-lnsl  $LIBS"
23914
 
cat >conftest.$ac_ext <<_ACEOF
23915
 
/* confdefs.h.  */
23916
 
_ACEOF
23917
 
cat confdefs.h >>conftest.$ac_ext
23918
 
cat >>conftest.$ac_ext <<_ACEOF
23919
 
/* end confdefs.h.  */
23920
 
 
23921
 
/* Override any GCC internal prototype to avoid an error.
23922
 
   Use char because int might match the return type of a GCC
23923
 
   builtin and then its argument prototype would still apply.  */
23924
 
#ifdef __cplusplus
23925
 
extern "C"
23926
 
#endif
23927
 
char inet_ntoa ();
23928
 
int
23929
 
main ()
23930
 
{
23931
 
return inet_ntoa ();
23932
 
  ;
23933
 
  return 0;
23934
 
}
23935
 
_ACEOF
23936
 
rm -f conftest.$ac_objext conftest$ac_exeext
23937
 
if { (ac_try="$ac_link"
23938
 
case "(($ac_try" in
23939
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23940
 
  *) ac_try_echo=$ac_try;;
23941
 
esac
23942
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23943
 
  (eval "$ac_link") 2>conftest.er1
23944
 
  ac_status=$?
23945
 
  grep -v '^ *+' conftest.er1 >conftest.err
23946
 
  rm -f conftest.er1
23947
 
  cat conftest.err >&5
23948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949
 
  (exit $ac_status); } && {
23950
 
         test -z "$ac_c_werror_flag" ||
23951
 
         test ! -s conftest.err
23952
 
       } && test -s conftest$ac_exeext &&
23953
 
       $as_test_x conftest$ac_exeext; then
23954
 
  ac_cv_lib_nsl_inet_ntoa=yes
23955
 
else
23956
 
  echo "$as_me: failed program was:" >&5
23957
 
sed 's/^/| /' conftest.$ac_ext >&5
23958
 
 
23959
 
        ac_cv_lib_nsl_inet_ntoa=no
23960
 
fi
23961
 
 
23962
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23963
 
      conftest$ac_exeext conftest.$ac_ext
23964
 
LIBS=$ac_check_lib_save_LIBS
23965
 
fi
23966
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
23967
 
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6; }
23968
 
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
23969
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23970
 
fi
23971
 
 
23972
 
   fi
23973
 
   { echo "$as_me:$LINENO: checking for connect" >&5
23974
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
23975
 
if test "${ac_cv_func_connect+set}" = set; then
23976
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23977
 
else
23978
 
  cat >conftest.$ac_ext <<_ACEOF
23979
 
/* confdefs.h.  */
23980
 
_ACEOF
23981
 
cat confdefs.h >>conftest.$ac_ext
23982
 
cat >>conftest.$ac_ext <<_ACEOF
23983
 
/* end confdefs.h.  */
23984
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
23985
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23986
 
#define connect innocuous_connect
23987
 
 
23988
 
/* System header to define __stub macros and hopefully few prototypes,
23989
 
    which can conflict with char connect (); below.
23990
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23991
 
    <limits.h> exists even on freestanding compilers.  */
23992
 
 
23993
 
#ifdef __STDC__
23994
 
# include <limits.h>
23995
 
#else
23996
 
# include <assert.h>
23997
 
#endif
23998
 
 
23999
 
#undef connect
24000
 
 
24001
 
/* Override any GCC internal prototype to avoid an error.
24002
 
   Use char because int might match the return type of a GCC
24003
 
   builtin and then its argument prototype would still apply.  */
24004
 
#ifdef __cplusplus
24005
 
extern "C"
24006
 
#endif
24007
 
char connect ();
24008
 
/* The GNU C library defines this for functions which it implements
24009
 
    to always fail with ENOSYS.  Some functions are actually named
24010
 
    something starting with __ and the normal name is an alias.  */
24011
 
#if defined __stub_connect || defined __stub___connect
24012
 
choke me
24013
 
#endif
24014
 
 
24015
 
int
24016
 
main ()
24017
 
{
24018
 
return connect ();
24019
 
  ;
24020
 
  return 0;
24021
 
}
24022
 
_ACEOF
24023
 
rm -f conftest.$ac_objext conftest$ac_exeext
24024
 
if { (ac_try="$ac_link"
24025
 
case "(($ac_try" in
24026
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24027
 
  *) ac_try_echo=$ac_try;;
24028
 
esac
24029
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24030
 
  (eval "$ac_link") 2>conftest.er1
24031
 
  ac_status=$?
24032
 
  grep -v '^ *+' conftest.er1 >conftest.err
24033
 
  rm -f conftest.er1
24034
 
  cat conftest.err >&5
24035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24036
 
  (exit $ac_status); } && {
24037
 
         test -z "$ac_c_werror_flag" ||
24038
 
         test ! -s conftest.err
24039
 
       } && test -s conftest$ac_exeext &&
24040
 
       $as_test_x conftest$ac_exeext; then
24041
 
  ac_cv_func_connect=yes
24042
 
else
24043
 
  echo "$as_me: failed program was:" >&5
24044
 
sed 's/^/| /' conftest.$ac_ext >&5
24045
 
 
24046
 
        ac_cv_func_connect=no
24047
 
fi
24048
 
 
24049
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24050
 
      conftest$ac_exeext conftest.$ac_ext
24051
 
fi
24052
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24053
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
24054
 
 
24055
 
   if test $ac_cv_func_connect = no; then
24056
 
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24057
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
24058
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
24059
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24060
 
else
24061
 
  ac_check_lib_save_LIBS=$LIBS
24062
 
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24063
 
cat >conftest.$ac_ext <<_ACEOF
24064
 
/* confdefs.h.  */
24065
 
_ACEOF
24066
 
cat confdefs.h >>conftest.$ac_ext
24067
 
cat >>conftest.$ac_ext <<_ACEOF
24068
 
/* end confdefs.h.  */
24069
 
 
24070
 
/* Override any GCC internal prototype to avoid an error.
24071
 
   Use char because int might match the return type of a GCC
24072
 
   builtin and then its argument prototype would still apply.  */
24073
 
#ifdef __cplusplus
24074
 
extern "C"
24075
 
#endif
24076
 
char connect ();
24077
 
int
24078
 
main ()
24079
 
{
24080
 
return connect ();
24081
 
  ;
24082
 
  return 0;
24083
 
}
24084
 
_ACEOF
24085
 
rm -f conftest.$ac_objext conftest$ac_exeext
24086
 
if { (ac_try="$ac_link"
24087
 
case "(($ac_try" in
24088
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24089
 
  *) ac_try_echo=$ac_try;;
24090
 
esac
24091
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24092
 
  (eval "$ac_link") 2>conftest.er1
24093
 
  ac_status=$?
24094
 
  grep -v '^ *+' conftest.er1 >conftest.err
24095
 
  rm -f conftest.er1
24096
 
  cat conftest.err >&5
24097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098
 
  (exit $ac_status); } && {
24099
 
         test -z "$ac_c_werror_flag" ||
24100
 
         test ! -s conftest.err
24101
 
       } && test -s conftest$ac_exeext &&
24102
 
       $as_test_x conftest$ac_exeext; then
24103
 
  ac_cv_lib_socket_connect=yes
24104
 
else
24105
 
  echo "$as_me: failed program was:" >&5
24106
 
sed 's/^/| /' conftest.$ac_ext >&5
24107
 
 
24108
 
        ac_cv_lib_socket_connect=no
24109
 
fi
24110
 
 
24111
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24112
 
      conftest$ac_exeext conftest.$ac_ext
24113
 
LIBS=$ac_check_lib_save_LIBS
24114
 
fi
24115
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24116
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
24117
 
if test $ac_cv_lib_socket_connect = yes; then
24118
 
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24119
 
fi
24120
 
 
24121
 
   fi
24122
 
 
24123
 
   { echo "$as_me:$LINENO: checking for remove" >&5
24124
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
24125
 
if test "${ac_cv_func_remove+set}" = set; then
24126
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24127
 
else
24128
 
  cat >conftest.$ac_ext <<_ACEOF
24129
 
/* confdefs.h.  */
24130
 
_ACEOF
24131
 
cat confdefs.h >>conftest.$ac_ext
24132
 
cat >>conftest.$ac_ext <<_ACEOF
24133
 
/* end confdefs.h.  */
24134
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
24135
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24136
 
#define remove innocuous_remove
24137
 
 
24138
 
/* System header to define __stub macros and hopefully few prototypes,
24139
 
    which can conflict with char remove (); below.
24140
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24141
 
    <limits.h> exists even on freestanding compilers.  */
24142
 
 
24143
 
#ifdef __STDC__
24144
 
# include <limits.h>
24145
 
#else
24146
 
# include <assert.h>
24147
 
#endif
24148
 
 
24149
 
#undef remove
24150
 
 
24151
 
/* Override any GCC internal prototype to avoid an error.
24152
 
   Use char because int might match the return type of a GCC
24153
 
   builtin and then its argument prototype would still apply.  */
24154
 
#ifdef __cplusplus
24155
 
extern "C"
24156
 
#endif
24157
 
char remove ();
24158
 
/* The GNU C library defines this for functions which it implements
24159
 
    to always fail with ENOSYS.  Some functions are actually named
24160
 
    something starting with __ and the normal name is an alias.  */
24161
 
#if defined __stub_remove || defined __stub___remove
24162
 
choke me
24163
 
#endif
24164
 
 
24165
 
int
24166
 
main ()
24167
 
{
24168
 
return remove ();
24169
 
  ;
24170
 
  return 0;
24171
 
}
24172
 
_ACEOF
24173
 
rm -f conftest.$ac_objext conftest$ac_exeext
24174
 
if { (ac_try="$ac_link"
24175
 
case "(($ac_try" in
24176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24177
 
  *) ac_try_echo=$ac_try;;
24178
 
esac
24179
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24180
 
  (eval "$ac_link") 2>conftest.er1
24181
 
  ac_status=$?
24182
 
  grep -v '^ *+' conftest.er1 >conftest.err
24183
 
  rm -f conftest.er1
24184
 
  cat conftest.err >&5
24185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186
 
  (exit $ac_status); } && {
24187
 
         test -z "$ac_c_werror_flag" ||
24188
 
         test ! -s conftest.err
24189
 
       } && test -s conftest$ac_exeext &&
24190
 
       $as_test_x conftest$ac_exeext; then
24191
 
  ac_cv_func_remove=yes
24192
 
else
24193
 
  echo "$as_me: failed program was:" >&5
24194
 
sed 's/^/| /' conftest.$ac_ext >&5
24195
 
 
24196
 
        ac_cv_func_remove=no
24197
 
fi
24198
 
 
24199
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24200
 
      conftest$ac_exeext conftest.$ac_ext
24201
 
fi
24202
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24203
 
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
24204
 
 
24205
 
   if test $ac_cv_func_remove = no; then
24206
 
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24207
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
24208
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
24209
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24210
 
else
24211
 
  ac_check_lib_save_LIBS=$LIBS
24212
 
LIBS="-lposix  $LIBS"
24213
 
cat >conftest.$ac_ext <<_ACEOF
24214
 
/* confdefs.h.  */
24215
 
_ACEOF
24216
 
cat confdefs.h >>conftest.$ac_ext
24217
 
cat >>conftest.$ac_ext <<_ACEOF
24218
 
/* end confdefs.h.  */
24219
 
 
24220
 
/* Override any GCC internal prototype to avoid an error.
24221
 
   Use char because int might match the return type of a GCC
24222
 
   builtin and then its argument prototype would still apply.  */
24223
 
#ifdef __cplusplus
24224
 
extern "C"
24225
 
#endif
24226
 
char remove ();
24227
 
int
24228
 
main ()
24229
 
{
24230
 
return remove ();
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24242
 
  (eval "$ac_link") 2>conftest.er1
24243
 
  ac_status=$?
24244
 
  grep -v '^ *+' conftest.er1 >conftest.err
24245
 
  rm -f conftest.er1
24246
 
  cat conftest.err >&5
24247
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248
 
  (exit $ac_status); } && {
24249
 
         test -z "$ac_c_werror_flag" ||
24250
 
         test ! -s conftest.err
24251
 
       } && test -s conftest$ac_exeext &&
24252
 
       $as_test_x conftest$ac_exeext; then
24253
 
  ac_cv_lib_posix_remove=yes
24254
 
else
24255
 
  echo "$as_me: failed program was:" >&5
24256
 
sed 's/^/| /' conftest.$ac_ext >&5
24257
 
 
24258
 
        ac_cv_lib_posix_remove=no
24259
 
fi
24260
 
 
24261
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24262
 
      conftest$ac_exeext conftest.$ac_ext
24263
 
LIBS=$ac_check_lib_save_LIBS
24264
 
fi
24265
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24266
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
24267
 
if test $ac_cv_lib_posix_remove = yes; then
24268
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24269
 
fi
24270
 
 
24271
 
   fi
24272
 
 
24273
 
   # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24274
 
   { echo "$as_me:$LINENO: checking for shmat" >&5
24275
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
24276
 
if test "${ac_cv_func_shmat+set}" = set; then
24277
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24278
 
else
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
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24286
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24287
 
#define shmat innocuous_shmat
24288
 
 
24289
 
/* System header to define __stub macros and hopefully few prototypes,
24290
 
    which can conflict with char shmat (); below.
24291
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24292
 
    <limits.h> exists even on freestanding compilers.  */
24293
 
 
24294
 
#ifdef __STDC__
24295
 
# include <limits.h>
24296
 
#else
24297
 
# include <assert.h>
24298
 
#endif
24299
 
 
24300
 
#undef shmat
24301
 
 
24302
 
/* Override any GCC internal prototype to avoid an error.
24303
 
   Use char because int might match the return type of a GCC
24304
 
   builtin and then its argument prototype would still apply.  */
24305
 
#ifdef __cplusplus
24306
 
extern "C"
24307
 
#endif
24308
 
char shmat ();
24309
 
/* The GNU C library defines this for functions which it implements
24310
 
    to always fail with ENOSYS.  Some functions are actually named
24311
 
    something starting with __ and the normal name is an alias.  */
24312
 
#if defined __stub_shmat || defined __stub___shmat
24313
 
choke me
24314
 
#endif
24315
 
 
24316
 
int
24317
 
main ()
24318
 
{
24319
 
return shmat ();
24320
 
  ;
24321
 
  return 0;
24322
 
}
24323
 
_ACEOF
24324
 
rm -f conftest.$ac_objext conftest$ac_exeext
24325
 
if { (ac_try="$ac_link"
24326
 
case "(($ac_try" in
24327
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24328
 
  *) ac_try_echo=$ac_try;;
24329
 
esac
24330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24331
 
  (eval "$ac_link") 2>conftest.er1
24332
 
  ac_status=$?
24333
 
  grep -v '^ *+' conftest.er1 >conftest.err
24334
 
  rm -f conftest.er1
24335
 
  cat conftest.err >&5
24336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337
 
  (exit $ac_status); } && {
24338
 
         test -z "$ac_c_werror_flag" ||
24339
 
         test ! -s conftest.err
24340
 
       } && test -s conftest$ac_exeext &&
24341
 
       $as_test_x conftest$ac_exeext; then
24342
 
  ac_cv_func_shmat=yes
24343
 
else
24344
 
  echo "$as_me: failed program was:" >&5
24345
 
sed 's/^/| /' conftest.$ac_ext >&5
24346
 
 
24347
 
        ac_cv_func_shmat=no
24348
 
fi
24349
 
 
24350
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24351
 
      conftest$ac_exeext conftest.$ac_ext
24352
 
fi
24353
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24354
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
24355
 
if test $ac_cv_func_shmat = yes; then
24356
 
  :
24357
 
else
24358
 
  { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24359
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
24360
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24361
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24362
 
else
24363
 
  ac_check_lib_save_LIBS=$LIBS
24364
 
LIBS="-lipc  $LIBS"
24365
 
cat >conftest.$ac_ext <<_ACEOF
24366
 
/* confdefs.h.  */
24367
 
_ACEOF
24368
 
cat confdefs.h >>conftest.$ac_ext
24369
 
cat >>conftest.$ac_ext <<_ACEOF
24370
 
/* end confdefs.h.  */
24371
 
 
24372
 
/* Override any GCC internal prototype to avoid an error.
24373
 
   Use char because int might match the return type of a GCC
24374
 
   builtin and then its argument prototype would still apply.  */
24375
 
#ifdef __cplusplus
24376
 
extern "C"
24377
 
#endif
24378
 
char shmat ();
24379
 
int
24380
 
main ()
24381
 
{
24382
 
return shmat ();
24383
 
  ;
24384
 
  return 0;
24385
 
}
24386
 
_ACEOF
24387
 
rm -f conftest.$ac_objext conftest$ac_exeext
24388
 
if { (ac_try="$ac_link"
24389
 
case "(($ac_try" in
24390
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24391
 
  *) ac_try_echo=$ac_try;;
24392
 
esac
24393
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24394
 
  (eval "$ac_link") 2>conftest.er1
24395
 
  ac_status=$?
24396
 
  grep -v '^ *+' conftest.er1 >conftest.err
24397
 
  rm -f conftest.er1
24398
 
  cat conftest.err >&5
24399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400
 
  (exit $ac_status); } && {
24401
 
         test -z "$ac_c_werror_flag" ||
24402
 
         test ! -s conftest.err
24403
 
       } && test -s conftest$ac_exeext &&
24404
 
       $as_test_x conftest$ac_exeext; then
24405
 
  ac_cv_lib_ipc_shmat=yes
24406
 
else
24407
 
  echo "$as_me: failed program was:" >&5
24408
 
sed 's/^/| /' conftest.$ac_ext >&5
24409
 
 
24410
 
        ac_cv_lib_ipc_shmat=no
24411
 
fi
24412
 
 
24413
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24414
 
      conftest$ac_exeext conftest.$ac_ext
24415
 
LIBS=$ac_check_lib_save_LIBS
24416
 
fi
24417
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24418
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
24419
 
if test $ac_cv_lib_ipc_shmat = yes; then
24420
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24421
 
fi
24422
 
 
24423
 
fi
24424
 
 
24425
 
 
24426
 
   # more headers that need to be explicitly included on darwin
24427
 
 
24428
 
 
24429
 
for ac_header in sys/types.h stdint.h
24430
 
do
24431
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24432
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24433
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24434
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24435
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24436
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24437
 
fi
24438
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24439
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24440
 
echo "${ECHO_T}$ac_res" >&6; }
24441
 
else
24442
 
  # Is the header compilable?
24443
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24444
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24445
 
cat >conftest.$ac_ext <<_ACEOF
24446
 
/* confdefs.h.  */
24447
 
_ACEOF
24448
 
cat confdefs.h >>conftest.$ac_ext
24449
 
cat >>conftest.$ac_ext <<_ACEOF
24450
 
/* end confdefs.h.  */
24451
 
$ac_includes_default
24452
 
#include <$ac_header>
24453
 
_ACEOF
24454
 
rm -f conftest.$ac_objext
24455
 
if { (ac_try="$ac_compile"
24456
 
case "(($ac_try" in
24457
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24458
 
  *) ac_try_echo=$ac_try;;
24459
 
esac
24460
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24461
 
  (eval "$ac_compile") 2>conftest.er1
24462
 
  ac_status=$?
24463
 
  grep -v '^ *+' conftest.er1 >conftest.err
24464
 
  rm -f conftest.er1
24465
 
  cat conftest.err >&5
24466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467
 
  (exit $ac_status); } && {
24468
 
         test -z "$ac_c_werror_flag" ||
24469
 
         test ! -s conftest.err
24470
 
       } && test -s conftest.$ac_objext; then
24471
 
  ac_header_compiler=yes
24472
 
else
24473
 
  echo "$as_me: failed program was:" >&5
24474
 
sed 's/^/| /' conftest.$ac_ext >&5
24475
 
 
24476
 
        ac_header_compiler=no
24477
 
fi
24478
 
 
24479
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24480
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24481
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24482
 
 
24483
 
# Is the header present?
24484
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24485
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24486
 
cat >conftest.$ac_ext <<_ACEOF
24487
 
/* confdefs.h.  */
24488
 
_ACEOF
24489
 
cat confdefs.h >>conftest.$ac_ext
24490
 
cat >>conftest.$ac_ext <<_ACEOF
24491
 
/* end confdefs.h.  */
24492
 
#include <$ac_header>
24493
 
_ACEOF
24494
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24495
 
case "(($ac_try" in
24496
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24497
 
  *) ac_try_echo=$ac_try;;
24498
 
esac
24499
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24500
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24501
 
  ac_status=$?
24502
 
  grep -v '^ *+' conftest.er1 >conftest.err
24503
 
  rm -f conftest.er1
24504
 
  cat conftest.err >&5
24505
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506
 
  (exit $ac_status); } >/dev/null && {
24507
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24508
 
         test ! -s conftest.err
24509
 
       }; then
24510
 
  ac_header_preproc=yes
24511
 
else
24512
 
  echo "$as_me: failed program was:" >&5
24513
 
sed 's/^/| /' conftest.$ac_ext >&5
24514
 
 
24515
 
  ac_header_preproc=no
24516
 
fi
24517
 
 
24518
 
rm -f conftest.err conftest.$ac_ext
24519
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24520
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24521
 
 
24522
 
# So?  What about this header?
24523
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24524
 
  yes:no: )
24525
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24526
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24527
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24528
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24529
 
    ac_header_preproc=yes
24530
 
    ;;
24531
 
  no:yes:* )
24532
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24533
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24534
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24535
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24536
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24537
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24538
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24539
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24540
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24541
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24542
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24543
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24544
 
 
24545
 
    ;;
24546
 
esac
24547
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24548
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24549
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24550
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24551
 
else
24552
 
  eval "$as_ac_Header=\$ac_header_preproc"
24553
 
fi
24554
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24555
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24556
 
echo "${ECHO_T}$ac_res" >&6; }
24557
 
 
24558
 
fi
24559
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24560
 
  cat >>confdefs.h <<_ACEOF
24561
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24562
 
_ACEOF
24563
 
 
24564
 
fi
24565
 
 
24566
 
done
24567
 
 
24568
 
 
24569
 
   # sys/bitypes.h is needed for uint32_t and friends on Tru64
24570
 
 
24571
 
for ac_header in sys/bitypes.h
24572
 
do
24573
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24574
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24575
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24576
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24577
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24578
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24579
 
fi
24580
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24581
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24582
 
echo "${ECHO_T}$ac_res" >&6; }
24583
 
else
24584
 
  # Is the header compilable?
24585
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24586
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24587
 
cat >conftest.$ac_ext <<_ACEOF
24588
 
/* confdefs.h.  */
24589
 
_ACEOF
24590
 
cat confdefs.h >>conftest.$ac_ext
24591
 
cat >>conftest.$ac_ext <<_ACEOF
24592
 
/* end confdefs.h.  */
24593
 
$ac_includes_default
24594
 
#include <$ac_header>
24595
 
_ACEOF
24596
 
rm -f conftest.$ac_objext
24597
 
if { (ac_try="$ac_compile"
24598
 
case "(($ac_try" in
24599
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24600
 
  *) ac_try_echo=$ac_try;;
24601
 
esac
24602
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24603
 
  (eval "$ac_compile") 2>conftest.er1
24604
 
  ac_status=$?
24605
 
  grep -v '^ *+' conftest.er1 >conftest.err
24606
 
  rm -f conftest.er1
24607
 
  cat conftest.err >&5
24608
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609
 
  (exit $ac_status); } && {
24610
 
         test -z "$ac_c_werror_flag" ||
24611
 
         test ! -s conftest.err
24612
 
       } && test -s conftest.$ac_objext; then
24613
 
  ac_header_compiler=yes
24614
 
else
24615
 
  echo "$as_me: failed program was:" >&5
24616
 
sed 's/^/| /' conftest.$ac_ext >&5
24617
 
 
24618
 
        ac_header_compiler=no
24619
 
fi
24620
 
 
24621
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24622
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24623
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24624
 
 
24625
 
# Is the header present?
24626
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24627
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24628
 
cat >conftest.$ac_ext <<_ACEOF
24629
 
/* confdefs.h.  */
24630
 
_ACEOF
24631
 
cat confdefs.h >>conftest.$ac_ext
24632
 
cat >>conftest.$ac_ext <<_ACEOF
24633
 
/* end confdefs.h.  */
24634
 
#include <$ac_header>
24635
 
_ACEOF
24636
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24637
 
case "(($ac_try" in
24638
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24639
 
  *) ac_try_echo=$ac_try;;
24640
 
esac
24641
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24642
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24643
 
  ac_status=$?
24644
 
  grep -v '^ *+' conftest.er1 >conftest.err
24645
 
  rm -f conftest.er1
24646
 
  cat conftest.err >&5
24647
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648
 
  (exit $ac_status); } >/dev/null && {
24649
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24650
 
         test ! -s conftest.err
24651
 
       }; then
24652
 
  ac_header_preproc=yes
24653
 
else
24654
 
  echo "$as_me: failed program was:" >&5
24655
 
sed 's/^/| /' conftest.$ac_ext >&5
24656
 
 
24657
 
  ac_header_preproc=no
24658
 
fi
24659
 
 
24660
 
rm -f conftest.err conftest.$ac_ext
24661
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24662
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24663
 
 
24664
 
# So?  What about this header?
24665
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24666
 
  yes:no: )
24667
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24668
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24669
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24670
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24671
 
    ac_header_preproc=yes
24672
 
    ;;
24673
 
  no:yes:* )
24674
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24675
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24676
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24677
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24678
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24679
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24680
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24681
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24682
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24683
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24684
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24685
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24686
 
 
24687
 
    ;;
24688
 
esac
24689
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24690
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24691
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24692
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24693
 
else
24694
 
  eval "$as_ac_Header=\$ac_header_preproc"
24695
 
fi
24696
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24697
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24698
 
echo "${ECHO_T}$ac_res" >&6; }
24699
 
 
24700
 
fi
24701
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24702
 
  cat >>confdefs.h <<_ACEOF
24703
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24704
 
_ACEOF
24705
 
 
24706
 
fi
24707
 
 
24708
 
done
24709
 
 
24710
 
 
24711
 
   # darwin requires a poll emulation library
24712
 
   { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
24713
 
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
24714
 
if test "${ac_cv_lib_poll_poll+set}" = set; then
24715
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24716
 
else
24717
 
  ac_check_lib_save_LIBS=$LIBS
24718
 
LIBS="-lpoll  $LIBS"
24719
 
cat >conftest.$ac_ext <<_ACEOF
24720
 
/* confdefs.h.  */
24721
 
_ACEOF
24722
 
cat confdefs.h >>conftest.$ac_ext
24723
 
cat >>conftest.$ac_ext <<_ACEOF
24724
 
/* end confdefs.h.  */
24725
 
 
24726
 
/* Override any GCC internal prototype to avoid an error.
24727
 
   Use char because int might match the return type of a GCC
24728
 
   builtin and then its argument prototype would still apply.  */
24729
 
#ifdef __cplusplus
24730
 
extern "C"
24731
 
#endif
24732
 
char poll ();
24733
 
int
24734
 
main ()
24735
 
{
24736
 
return poll ();
24737
 
  ;
24738
 
  return 0;
24739
 
}
24740
 
_ACEOF
24741
 
rm -f conftest.$ac_objext conftest$ac_exeext
24742
 
if { (ac_try="$ac_link"
24743
 
case "(($ac_try" in
24744
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24745
 
  *) ac_try_echo=$ac_try;;
24746
 
esac
24747
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24748
 
  (eval "$ac_link") 2>conftest.er1
24749
 
  ac_status=$?
24750
 
  grep -v '^ *+' conftest.er1 >conftest.err
24751
 
  rm -f conftest.er1
24752
 
  cat conftest.err >&5
24753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754
 
  (exit $ac_status); } && {
24755
 
         test -z "$ac_c_werror_flag" ||
24756
 
         test ! -s conftest.err
24757
 
       } && test -s conftest$ac_exeext &&
24758
 
       $as_test_x conftest$ac_exeext; then
24759
 
  ac_cv_lib_poll_poll=yes
24760
 
else
24761
 
  echo "$as_me: failed program was:" >&5
24762
 
sed 's/^/| /' conftest.$ac_ext >&5
24763
 
 
24764
 
        ac_cv_lib_poll_poll=no
24765
 
fi
24766
 
 
24767
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24768
 
      conftest$ac_exeext conftest.$ac_ext
24769
 
LIBS=$ac_check_lib_save_LIBS
24770
 
fi
24771
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
24772
 
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
24773
 
if test $ac_cv_lib_poll_poll = yes; then
24774
 
  LIB_POLL="-lpoll"
24775
 
fi
24776
 
 
24777
 
 
24778
 
   # for some image handling on Mac OS X
24779
 
 
24780
 
for ac_header in Carbon/Carbon.h
24781
 
do
24782
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24783
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24784
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24785
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24786
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24787
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24788
 
fi
24789
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24790
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24791
 
echo "${ECHO_T}$ac_res" >&6; }
24792
 
else
24793
 
  # Is the header compilable?
24794
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24795
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24796
 
cat >conftest.$ac_ext <<_ACEOF
24797
 
/* confdefs.h.  */
24798
 
_ACEOF
24799
 
cat confdefs.h >>conftest.$ac_ext
24800
 
cat >>conftest.$ac_ext <<_ACEOF
24801
 
/* end confdefs.h.  */
24802
 
$ac_includes_default
24803
 
#include <$ac_header>
24804
 
_ACEOF
24805
 
rm -f conftest.$ac_objext
24806
 
if { (ac_try="$ac_compile"
24807
 
case "(($ac_try" in
24808
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24809
 
  *) ac_try_echo=$ac_try;;
24810
 
esac
24811
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24812
 
  (eval "$ac_compile") 2>conftest.er1
24813
 
  ac_status=$?
24814
 
  grep -v '^ *+' conftest.er1 >conftest.err
24815
 
  rm -f conftest.er1
24816
 
  cat conftest.err >&5
24817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24818
 
  (exit $ac_status); } && {
24819
 
         test -z "$ac_c_werror_flag" ||
24820
 
         test ! -s conftest.err
24821
 
       } && test -s conftest.$ac_objext; then
24822
 
  ac_header_compiler=yes
24823
 
else
24824
 
  echo "$as_me: failed program was:" >&5
24825
 
sed 's/^/| /' conftest.$ac_ext >&5
24826
 
 
24827
 
        ac_header_compiler=no
24828
 
fi
24829
 
 
24830
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24831
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24832
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24833
 
 
24834
 
# Is the header present?
24835
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24836
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24837
 
cat >conftest.$ac_ext <<_ACEOF
24838
 
/* confdefs.h.  */
24839
 
_ACEOF
24840
 
cat confdefs.h >>conftest.$ac_ext
24841
 
cat >>conftest.$ac_ext <<_ACEOF
24842
 
/* end confdefs.h.  */
24843
 
#include <$ac_header>
24844
 
_ACEOF
24845
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24846
 
case "(($ac_try" in
24847
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24848
 
  *) ac_try_echo=$ac_try;;
24849
 
esac
24850
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24851
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24852
 
  ac_status=$?
24853
 
  grep -v '^ *+' conftest.er1 >conftest.err
24854
 
  rm -f conftest.er1
24855
 
  cat conftest.err >&5
24856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24857
 
  (exit $ac_status); } >/dev/null && {
24858
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24859
 
         test ! -s conftest.err
24860
 
       }; then
24861
 
  ac_header_preproc=yes
24862
 
else
24863
 
  echo "$as_me: failed program was:" >&5
24864
 
sed 's/^/| /' conftest.$ac_ext >&5
24865
 
 
24866
 
  ac_header_preproc=no
24867
 
fi
24868
 
 
24869
 
rm -f conftest.err conftest.$ac_ext
24870
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24871
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24872
 
 
24873
 
# So?  What about this header?
24874
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24875
 
  yes:no: )
24876
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24877
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24878
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24879
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24880
 
    ac_header_preproc=yes
24881
 
    ;;
24882
 
  no:yes:* )
24883
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24884
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24885
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24886
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24887
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24888
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24889
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24890
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24891
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24892
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24893
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24894
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24895
 
 
24896
 
    ;;
24897
 
esac
24898
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24899
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24900
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24901
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24902
 
else
24903
 
  eval "$as_ac_Header=\$ac_header_preproc"
24904
 
fi
24905
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24906
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24907
 
echo "${ECHO_T}$ac_res" >&6; }
24908
 
 
24909
 
fi
24910
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24911
 
  cat >>confdefs.h <<_ACEOF
24912
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24913
 
_ACEOF
24914
 
 
24915
 
fi
24916
 
 
24917
 
done
24918
 
 
24919
 
 
24920
 
   # CoreAudio framework
24921
 
   if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24922
 
  { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
24923
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
24924
 
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24925
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24926
 
fi
24927
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
24928
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
24929
 
else
24930
 
  # Is the header compilable?
24931
 
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
24932
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
24933
 
cat >conftest.$ac_ext <<_ACEOF
24934
 
/* confdefs.h.  */
24935
 
_ACEOF
24936
 
cat confdefs.h >>conftest.$ac_ext
24937
 
cat >>conftest.$ac_ext <<_ACEOF
24938
 
/* end confdefs.h.  */
24939
 
$ac_includes_default
24940
 
#include <CoreAudio/CoreAudio.h>
24941
 
_ACEOF
24942
 
rm -f conftest.$ac_objext
24943
 
if { (ac_try="$ac_compile"
24944
 
case "(($ac_try" in
24945
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24946
 
  *) ac_try_echo=$ac_try;;
24947
 
esac
24948
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24949
 
  (eval "$ac_compile") 2>conftest.er1
24950
 
  ac_status=$?
24951
 
  grep -v '^ *+' conftest.er1 >conftest.err
24952
 
  rm -f conftest.er1
24953
 
  cat conftest.err >&5
24954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955
 
  (exit $ac_status); } && {
24956
 
         test -z "$ac_c_werror_flag" ||
24957
 
         test ! -s conftest.err
24958
 
       } && test -s conftest.$ac_objext; then
24959
 
  ac_header_compiler=yes
24960
 
else
24961
 
  echo "$as_me: failed program was:" >&5
24962
 
sed 's/^/| /' conftest.$ac_ext >&5
24963
 
 
24964
 
        ac_header_compiler=no
24965
 
fi
24966
 
 
24967
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24968
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24969
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24970
 
 
24971
 
# Is the header present?
24972
 
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
24973
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
24974
 
cat >conftest.$ac_ext <<_ACEOF
24975
 
/* confdefs.h.  */
24976
 
_ACEOF
24977
 
cat confdefs.h >>conftest.$ac_ext
24978
 
cat >>conftest.$ac_ext <<_ACEOF
24979
 
/* end confdefs.h.  */
24980
 
#include <CoreAudio/CoreAudio.h>
24981
 
_ACEOF
24982
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24983
 
case "(($ac_try" in
24984
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24985
 
  *) ac_try_echo=$ac_try;;
24986
 
esac
24987
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24988
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24989
 
  ac_status=$?
24990
 
  grep -v '^ *+' conftest.er1 >conftest.err
24991
 
  rm -f conftest.er1
24992
 
  cat conftest.err >&5
24993
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994
 
  (exit $ac_status); } >/dev/null && {
24995
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24996
 
         test ! -s conftest.err
24997
 
       }; then
24998
 
  ac_header_preproc=yes
24999
 
else
25000
 
  echo "$as_me: failed program was:" >&5
25001
 
sed 's/^/| /' conftest.$ac_ext >&5
25002
 
 
25003
 
  ac_header_preproc=no
25004
 
fi
25005
 
 
25006
 
rm -f conftest.err conftest.$ac_ext
25007
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25008
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
25009
 
 
25010
 
# So?  What about this header?
25011
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25012
 
  yes:no: )
25013
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25014
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25015
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
25016
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
25017
 
    ac_header_preproc=yes
25018
 
    ;;
25019
 
  no:yes:* )
25020
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
25021
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
25022
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
25023
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
25024
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
25025
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
25026
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
25027
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
25028
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
25029
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
25030
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
25031
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
25032
 
 
25033
 
    ;;
25034
 
esac
25035
 
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25036
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
25037
 
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25038
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25039
 
else
25040
 
  ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
25041
 
fi
25042
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25043
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25044
 
 
25045
 
fi
25046
 
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
25047
 
 
25048
 
 
25049
 
cat >>confdefs.h <<\_ACEOF
25050
 
#define HAVE_COREAUDIO 1
25051
 
_ACEOF
25052
 
 
25053
 
     FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
25054
 
 
25055
 
fi
25056
 
 
25057
 
 
25058
 
 
25059
 
 
25060
 
  { echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
25061
 
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6; }
25062
 
  kde_libs_safe="$LIBS"
25063
 
  LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
25064
 
  cat >conftest.$ac_ext <<_ACEOF
25065
 
/* confdefs.h.  */
25066
 
_ACEOF
25067
 
cat confdefs.h >>conftest.$ac_ext
25068
 
cat >>conftest.$ac_ext <<_ACEOF
25069
 
/* end confdefs.h.  */
25070
 
 
25071
 
#include <sys/types.h>
25072
 
#include <netinet/in.h>
25073
 
#include <arpa/nameser.h>
25074
 
#include <resolv.h>
25075
 
 
25076
 
int
25077
 
main ()
25078
 
{
25079
 
 
25080
 
      res_init();
25081
 
 
25082
 
  ;
25083
 
  return 0;
25084
 
}
25085
 
_ACEOF
25086
 
rm -f conftest.$ac_objext conftest$ac_exeext
25087
 
if { (ac_try="$ac_link"
25088
 
case "(($ac_try" in
25089
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25090
 
  *) ac_try_echo=$ac_try;;
25091
 
esac
25092
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25093
 
  (eval "$ac_link") 2>conftest.er1
25094
 
  ac_status=$?
25095
 
  grep -v '^ *+' conftest.er1 >conftest.err
25096
 
  rm -f conftest.er1
25097
 
  cat conftest.err >&5
25098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099
 
  (exit $ac_status); } && {
25100
 
         test -z "$ac_c_werror_flag" ||
25101
 
         test ! -s conftest.err
25102
 
       } && test -s conftest$ac_exeext &&
25103
 
       $as_test_x conftest$ac_exeext; then
25104
 
 
25105
 
      LIBRESOLV="-lresolv"
25106
 
      { echo "$as_me:$LINENO: result: yes" >&5
25107
 
echo "${ECHO_T}yes" >&6; }
25108
 
 
25109
 
cat >>confdefs.h <<\_ACEOF
25110
 
#define HAVE_RES_INIT 1
25111
 
_ACEOF
25112
 
 
25113
 
 
25114
 
else
25115
 
  echo "$as_me: failed program was:" >&5
25116
 
sed 's/^/| /' conftest.$ac_ext >&5
25117
 
 
25118
 
         { echo "$as_me:$LINENO: result: no" >&5
25119
 
echo "${ECHO_T}no" >&6; }
25120
 
 
25121
 
fi
25122
 
 
25123
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25124
 
      conftest$ac_exeext conftest.$ac_ext
25125
 
  LIBS=$kde_libs_safe
25126
 
 
25127
 
 
25128
 
 
25129
 
{ echo "$as_me:$LINENO: checking for res_init" >&5
25130
 
echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
25131
 
if test "${kde_cv_func_res_init+set}" = set; then
25132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25133
 
else
25134
 
 
25135
 
 
25136
 
 ac_ext=cpp
25137
 
ac_cpp='$CXXCPP $CPPFLAGS'
25138
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25139
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25140
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25141
 
 
25142
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25143
 
 
25144
 
 
25145
 
save_CXXFLAGS="$CXXFLAGS"
25146
 
kde_safe_LIBS="$LIBS"
25147
 
LIBS="$LIBS $X_EXTRA_LIBS"
25148
 
if test "$GXX" = "yes"; then
25149
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
25150
 
fi
25151
 
cat >conftest.$ac_ext <<_ACEOF
25152
 
/* confdefs.h.  */
25153
 
_ACEOF
25154
 
cat confdefs.h >>conftest.$ac_ext
25155
 
cat >>conftest.$ac_ext <<_ACEOF
25156
 
/* end confdefs.h.  */
25157
 
 
25158
 
 
25159
 
#include <sys/types.h>
25160
 
#include <netinet/in.h>
25161
 
#include <arpa/nameser.h>
25162
 
#include <resolv.h>
25163
 
 
25164
 
 
25165
 
int
25166
 
main ()
25167
 
{
25168
 
 
25169
 
res_init()
25170
 
 
25171
 
  ;
25172
 
  return 0;
25173
 
}
25174
 
_ACEOF
25175
 
rm -f conftest.$ac_objext
25176
 
if { (ac_try="$ac_compile"
25177
 
case "(($ac_try" in
25178
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25179
 
  *) ac_try_echo=$ac_try;;
25180
 
esac
25181
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25182
 
  (eval "$ac_compile") 2>conftest.er1
25183
 
  ac_status=$?
25184
 
  grep -v '^ *+' conftest.er1 >conftest.err
25185
 
  rm -f conftest.er1
25186
 
  cat conftest.err >&5
25187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188
 
  (exit $ac_status); } && {
25189
 
         test -z "$ac_cxx_werror_flag" ||
25190
 
         test ! -s conftest.err
25191
 
       } && test -s conftest.$ac_objext; then
25192
 
  kde_cv_func_res_init=yes
25193
 
else
25194
 
  echo "$as_me: failed program was:" >&5
25195
 
sed 's/^/| /' conftest.$ac_ext >&5
25196
 
 
25197
 
        kde_cv_func_res_init=no
25198
 
fi
25199
 
 
25200
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25201
 
CXXFLAGS="$save_CXXFLAGS"
25202
 
LIBS="$kde_safe_LIBS"
25203
 
ac_ext=c
25204
 
ac_cpp='$CPP $CPPFLAGS'
25205
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25206
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25207
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25208
 
 
25209
 
 
25210
 
fi
25211
 
 
25212
 
 
25213
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
25214
 
echo "${ECHO_T}$kde_cv_func_res_init" >&6; }
25215
 
 
25216
 
{ echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
25217
 
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6; }
25218
 
if test "${kde_cv_proto_res_init+set}" = set; then
25219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25220
 
else
25221
 
 
25222
 
if test "x$kde_cv_func_res_init" = xyes; then
25223
 
  kde_cv_proto_res_init=no
25224
 
else
25225
 
  case "res_init" in
25226
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
25227
 
                kde_cv_proto_res_init="yes - in libkdefakes"
25228
 
                ;;
25229
 
        *)
25230
 
                kde_cv_proto_res_init=unknown
25231
 
                ;;
25232
 
  esac
25233
 
fi
25234
 
 
25235
 
if test "x$kde_cv_proto_res_init" = xunknown; then
25236
 
 
25237
 
 
25238
 
 ac_ext=cpp
25239
 
ac_cpp='$CXXCPP $CPPFLAGS'
25240
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25241
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25242
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25243
 
 
25244
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25245
 
 
25246
 
 
25247
 
  kde_safe_libs=$LIBS
25248
 
  LIBS="$LIBS $X_EXTRA_LIBS"
25249
 
  cat >conftest.$ac_ext <<_ACEOF
25250
 
/* confdefs.h.  */
25251
 
_ACEOF
25252
 
cat confdefs.h >>conftest.$ac_ext
25253
 
cat >>conftest.$ac_ext <<_ACEOF
25254
 
/* end confdefs.h.  */
25255
 
 
25256
 
 
25257
 
#include <sys/types.h>
25258
 
#include <netinet/in.h>
25259
 
#include <arpa/nameser.h>
25260
 
#include <resolv.h>
25261
 
 
25262
 
 
25263
 
extern "C" int res_init(void);
25264
 
 
25265
 
int
25266
 
main ()
25267
 
{
25268
 
 
25269
 
res_init()
25270
 
 
25271
 
  ;
25272
 
  return 0;
25273
 
}
25274
 
_ACEOF
25275
 
rm -f conftest.$ac_objext conftest$ac_exeext
25276
 
if { (ac_try="$ac_link"
25277
 
case "(($ac_try" in
25278
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25279
 
  *) ac_try_echo=$ac_try;;
25280
 
esac
25281
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25282
 
  (eval "$ac_link") 2>conftest.er1
25283
 
  ac_status=$?
25284
 
  grep -v '^ *+' conftest.er1 >conftest.err
25285
 
  rm -f conftest.er1
25286
 
  cat conftest.err >&5
25287
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288
 
  (exit $ac_status); } && {
25289
 
         test -z "$ac_cxx_werror_flag" ||
25290
 
         test ! -s conftest.err
25291
 
       } && test -s conftest$ac_exeext &&
25292
 
       $as_test_x conftest$ac_exeext; then
25293
 
   kde_cv_func_res_init=yes
25294
 
  kde_cv_proto_res_init=yes
25295
 
else
25296
 
  echo "$as_me: failed program was:" >&5
25297
 
sed 's/^/| /' conftest.$ac_ext >&5
25298
 
 
25299
 
        kde_cv_proto_res_init="res_init unavailable"
25300
 
 
25301
 
fi
25302
 
 
25303
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25304
 
      conftest$ac_exeext conftest.$ac_ext
25305
 
LIBS=$kde_safe_libs
25306
 
ac_ext=c
25307
 
ac_cpp='$CPP $CPPFLAGS'
25308
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25309
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25310
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25311
 
 
25312
 
fi
25313
 
 
25314
 
fi
25315
 
 
25316
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
25317
 
echo "${ECHO_T}$kde_cv_proto_res_init" >&6; }
25318
 
 
25319
 
if test "x$kde_cv_func_res_init" = xyes; then
25320
 
 
25321
 
cat >>confdefs.h <<\_ACEOF
25322
 
#define HAVE_RES_INIT 1
25323
 
_ACEOF
25324
 
 
25325
 
 
25326
 
fi
25327
 
if test "x$kde_cv_proto_res_init" = xno; then
25328
 
 
25329
 
cat >>confdefs.h <<\_ACEOF
25330
 
#define HAVE_RES_INIT_PROTO 1
25331
 
_ACEOF
25332
 
 
25333
 
fi
25334
 
 
25335
 
 
25336
 
 
25337
 
 
25338
 
 
25339
 
 
25340
 
 
25341
 
   LIBSOCKET="$X_EXTRA_LIBS"
25342
 
 
25343
 
 
25344
 
   { echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
25345
 
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6; }
25346
 
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
25347
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25348
 
else
25349
 
  ac_check_lib_save_LIBS=$LIBS
25350
 
LIBS="-lucb  $LIBS"
25351
 
cat >conftest.$ac_ext <<_ACEOF
25352
 
/* confdefs.h.  */
25353
 
_ACEOF
25354
 
cat confdefs.h >>conftest.$ac_ext
25355
 
cat >>conftest.$ac_ext <<_ACEOF
25356
 
/* end confdefs.h.  */
25357
 
 
25358
 
/* Override any GCC internal prototype to avoid an error.
25359
 
   Use char because int might match the return type of a GCC
25360
 
   builtin and then its argument prototype would still apply.  */
25361
 
#ifdef __cplusplus
25362
 
extern "C"
25363
 
#endif
25364
 
char killpg ();
25365
 
int
25366
 
main ()
25367
 
{
25368
 
return killpg ();
25369
 
  ;
25370
 
  return 0;
25371
 
}
25372
 
_ACEOF
25373
 
rm -f conftest.$ac_objext conftest$ac_exeext
25374
 
if { (ac_try="$ac_link"
25375
 
case "(($ac_try" in
25376
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25377
 
  *) ac_try_echo=$ac_try;;
25378
 
esac
25379
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25380
 
  (eval "$ac_link") 2>conftest.er1
25381
 
  ac_status=$?
25382
 
  grep -v '^ *+' conftest.er1 >conftest.err
25383
 
  rm -f conftest.er1
25384
 
  cat conftest.err >&5
25385
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386
 
  (exit $ac_status); } && {
25387
 
         test -z "$ac_c_werror_flag" ||
25388
 
         test ! -s conftest.err
25389
 
       } && test -s conftest$ac_exeext &&
25390
 
       $as_test_x conftest$ac_exeext; then
25391
 
  ac_cv_lib_ucb_killpg=yes
25392
 
else
25393
 
  echo "$as_me: failed program was:" >&5
25394
 
sed 's/^/| /' conftest.$ac_ext >&5
25395
 
 
25396
 
        ac_cv_lib_ucb_killpg=no
25397
 
fi
25398
 
 
25399
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25400
 
      conftest$ac_exeext conftest.$ac_ext
25401
 
LIBS=$ac_check_lib_save_LIBS
25402
 
fi
25403
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
25404
 
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6; }
25405
 
if test $ac_cv_lib_ucb_killpg = yes; then
25406
 
  LIBUCB="-lucb"
25407
 
fi
25408
 
 
25409
 
 
25410
 
   case $host in     *-*-lynxos* )
25411
 
        { echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
25412
 
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6; }
25413
 
        CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
25414
 
        { echo "$as_me:$LINENO: result: disabled" >&5
25415
 
echo "${ECHO_T}disabled" >&6; }
25416
 
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25417
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
25418
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25420
 
else
25421
 
  ac_check_lib_save_LIBS=$LIBS
25422
 
LIBS="-lbsd  $LIBS"
25423
 
cat >conftest.$ac_ext <<_ACEOF
25424
 
/* confdefs.h.  */
25425
 
_ACEOF
25426
 
cat confdefs.h >>conftest.$ac_ext
25427
 
cat >>conftest.$ac_ext <<_ACEOF
25428
 
/* end confdefs.h.  */
25429
 
 
25430
 
/* Override any GCC internal prototype to avoid an error.
25431
 
   Use char because int might match the return type of a GCC
25432
 
   builtin and then its argument prototype would still apply.  */
25433
 
#ifdef __cplusplus
25434
 
extern "C"
25435
 
#endif
25436
 
char gethostbyname ();
25437
 
int
25438
 
main ()
25439
 
{
25440
 
return gethostbyname ();
25441
 
  ;
25442
 
  return 0;
25443
 
}
25444
 
_ACEOF
25445
 
rm -f conftest.$ac_objext conftest$ac_exeext
25446
 
if { (ac_try="$ac_link"
25447
 
case "(($ac_try" in
25448
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25449
 
  *) ac_try_echo=$ac_try;;
25450
 
esac
25451
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25452
 
  (eval "$ac_link") 2>conftest.er1
25453
 
  ac_status=$?
25454
 
  grep -v '^ *+' conftest.er1 >conftest.err
25455
 
  rm -f conftest.er1
25456
 
  cat conftest.err >&5
25457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25458
 
  (exit $ac_status); } && {
25459
 
         test -z "$ac_c_werror_flag" ||
25460
 
         test ! -s conftest.err
25461
 
       } && test -s conftest$ac_exeext &&
25462
 
       $as_test_x conftest$ac_exeext; then
25463
 
  ac_cv_lib_bsd_gethostbyname=yes
25464
 
else
25465
 
  echo "$as_me: failed program was:" >&5
25466
 
sed 's/^/| /' conftest.$ac_ext >&5
25467
 
 
25468
 
        ac_cv_lib_bsd_gethostbyname=no
25469
 
fi
25470
 
 
25471
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25472
 
      conftest$ac_exeext conftest.$ac_ext
25473
 
LIBS=$ac_check_lib_save_LIBS
25474
 
fi
25475
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25476
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
25477
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
25478
 
  LIBSOCKET="-lbsd"
25479
 
fi
25480
 
          ;;
25481
 
    esac
25482
 
 
25483
 
     { echo "$as_me:$LINENO: checking for int" >&5
25484
 
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
25485
 
if test "${ac_cv_type_int+set}" = set; then
25486
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25487
 
else
25488
 
  cat >conftest.$ac_ext <<_ACEOF
25489
 
/* confdefs.h.  */
25490
 
_ACEOF
25491
 
cat confdefs.h >>conftest.$ac_ext
25492
 
cat >>conftest.$ac_ext <<_ACEOF
25493
 
/* end confdefs.h.  */
25494
 
$ac_includes_default
25495
 
typedef int ac__type_new_;
25496
 
int
25497
 
main ()
25498
 
{
25499
 
if ((ac__type_new_ *) 0)
25500
 
  return 0;
25501
 
if (sizeof (ac__type_new_))
25502
 
  return 0;
25503
 
  ;
25504
 
  return 0;
25505
 
}
25506
 
_ACEOF
25507
 
rm -f conftest.$ac_objext
25508
 
if { (ac_try="$ac_compile"
25509
 
case "(($ac_try" in
25510
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25511
 
  *) ac_try_echo=$ac_try;;
25512
 
esac
25513
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25514
 
  (eval "$ac_compile") 2>conftest.er1
25515
 
  ac_status=$?
25516
 
  grep -v '^ *+' conftest.er1 >conftest.err
25517
 
  rm -f conftest.er1
25518
 
  cat conftest.err >&5
25519
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520
 
  (exit $ac_status); } && {
25521
 
         test -z "$ac_c_werror_flag" ||
25522
 
         test ! -s conftest.err
25523
 
       } && test -s conftest.$ac_objext; then
25524
 
  ac_cv_type_int=yes
25525
 
else
25526
 
  echo "$as_me: failed program was:" >&5
25527
 
sed 's/^/| /' conftest.$ac_ext >&5
25528
 
 
25529
 
        ac_cv_type_int=no
25530
 
fi
25531
 
 
25532
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25533
 
fi
25534
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
25535
 
echo "${ECHO_T}$ac_cv_type_int" >&6; }
25536
 
 
25537
 
# The cast to long int works around a bug in the HP C Compiler
25538
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25539
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25540
 
# This bug is HP SR number 8606223364.
25541
 
{ echo "$as_me:$LINENO: checking size of int" >&5
25542
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
25543
 
if test "${ac_cv_sizeof_int+set}" = set; then
25544
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25545
 
else
25546
 
  if test "$cross_compiling" = yes; then
25547
 
  # Depending upon the size, compute the lo and hi bounds.
25548
 
cat >conftest.$ac_ext <<_ACEOF
25549
 
/* confdefs.h.  */
25550
 
_ACEOF
25551
 
cat confdefs.h >>conftest.$ac_ext
25552
 
cat >>conftest.$ac_ext <<_ACEOF
25553
 
/* end confdefs.h.  */
25554
 
$ac_includes_default
25555
 
   typedef int ac__type_sizeof_;
25556
 
int
25557
 
main ()
25558
 
{
25559
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25560
 
test_array [0] = 0
25561
 
 
25562
 
  ;
25563
 
  return 0;
25564
 
}
25565
 
_ACEOF
25566
 
rm -f conftest.$ac_objext
25567
 
if { (ac_try="$ac_compile"
25568
 
case "(($ac_try" in
25569
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25570
 
  *) ac_try_echo=$ac_try;;
25571
 
esac
25572
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25573
 
  (eval "$ac_compile") 2>conftest.er1
25574
 
  ac_status=$?
25575
 
  grep -v '^ *+' conftest.er1 >conftest.err
25576
 
  rm -f conftest.er1
25577
 
  cat conftest.err >&5
25578
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579
 
  (exit $ac_status); } && {
25580
 
         test -z "$ac_c_werror_flag" ||
25581
 
         test ! -s conftest.err
25582
 
       } && test -s conftest.$ac_objext; then
25583
 
  ac_lo=0 ac_mid=0
25584
 
  while :; do
25585
 
    cat >conftest.$ac_ext <<_ACEOF
25586
 
/* confdefs.h.  */
25587
 
_ACEOF
25588
 
cat confdefs.h >>conftest.$ac_ext
25589
 
cat >>conftest.$ac_ext <<_ACEOF
25590
 
/* end confdefs.h.  */
25591
 
$ac_includes_default
25592
 
   typedef int ac__type_sizeof_;
25593
 
int
25594
 
main ()
25595
 
{
25596
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25597
 
test_array [0] = 0
25598
 
 
25599
 
  ;
25600
 
  return 0;
25601
 
}
25602
 
_ACEOF
25603
 
rm -f conftest.$ac_objext
25604
 
if { (ac_try="$ac_compile"
25605
 
case "(($ac_try" in
25606
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25607
 
  *) ac_try_echo=$ac_try;;
25608
 
esac
25609
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25610
 
  (eval "$ac_compile") 2>conftest.er1
25611
 
  ac_status=$?
25612
 
  grep -v '^ *+' conftest.er1 >conftest.err
25613
 
  rm -f conftest.er1
25614
 
  cat conftest.err >&5
25615
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616
 
  (exit $ac_status); } && {
25617
 
         test -z "$ac_c_werror_flag" ||
25618
 
         test ! -s conftest.err
25619
 
       } && test -s conftest.$ac_objext; then
25620
 
  ac_hi=$ac_mid; break
25621
 
else
25622
 
  echo "$as_me: failed program was:" >&5
25623
 
sed 's/^/| /' conftest.$ac_ext >&5
25624
 
 
25625
 
        ac_lo=`expr $ac_mid + 1`
25626
 
                        if test $ac_lo -le $ac_mid; then
25627
 
                          ac_lo= ac_hi=
25628
 
                          break
25629
 
                        fi
25630
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25631
 
fi
25632
 
 
25633
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25634
 
  done
25635
 
else
25636
 
  echo "$as_me: failed program was:" >&5
25637
 
sed 's/^/| /' conftest.$ac_ext >&5
25638
 
 
25639
 
        cat >conftest.$ac_ext <<_ACEOF
25640
 
/* confdefs.h.  */
25641
 
_ACEOF
25642
 
cat confdefs.h >>conftest.$ac_ext
25643
 
cat >>conftest.$ac_ext <<_ACEOF
25644
 
/* end confdefs.h.  */
25645
 
$ac_includes_default
25646
 
   typedef int ac__type_sizeof_;
25647
 
int
25648
 
main ()
25649
 
{
25650
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25651
 
test_array [0] = 0
25652
 
 
25653
 
  ;
25654
 
  return 0;
25655
 
}
25656
 
_ACEOF
25657
 
rm -f conftest.$ac_objext
25658
 
if { (ac_try="$ac_compile"
25659
 
case "(($ac_try" in
25660
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25661
 
  *) ac_try_echo=$ac_try;;
25662
 
esac
25663
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25664
 
  (eval "$ac_compile") 2>conftest.er1
25665
 
  ac_status=$?
25666
 
  grep -v '^ *+' conftest.er1 >conftest.err
25667
 
  rm -f conftest.er1
25668
 
  cat conftest.err >&5
25669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670
 
  (exit $ac_status); } && {
25671
 
         test -z "$ac_c_werror_flag" ||
25672
 
         test ! -s conftest.err
25673
 
       } && test -s conftest.$ac_objext; then
25674
 
  ac_hi=-1 ac_mid=-1
25675
 
  while :; do
25676
 
    cat >conftest.$ac_ext <<_ACEOF
25677
 
/* confdefs.h.  */
25678
 
_ACEOF
25679
 
cat confdefs.h >>conftest.$ac_ext
25680
 
cat >>conftest.$ac_ext <<_ACEOF
25681
 
/* end confdefs.h.  */
25682
 
$ac_includes_default
25683
 
   typedef int ac__type_sizeof_;
25684
 
int
25685
 
main ()
25686
 
{
25687
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25688
 
test_array [0] = 0
25689
 
 
25690
 
  ;
25691
 
  return 0;
25692
 
}
25693
 
_ACEOF
25694
 
rm -f conftest.$ac_objext
25695
 
if { (ac_try="$ac_compile"
25696
 
case "(($ac_try" in
25697
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25698
 
  *) ac_try_echo=$ac_try;;
25699
 
esac
25700
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25701
 
  (eval "$ac_compile") 2>conftest.er1
25702
 
  ac_status=$?
25703
 
  grep -v '^ *+' conftest.er1 >conftest.err
25704
 
  rm -f conftest.er1
25705
 
  cat conftest.err >&5
25706
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707
 
  (exit $ac_status); } && {
25708
 
         test -z "$ac_c_werror_flag" ||
25709
 
         test ! -s conftest.err
25710
 
       } && test -s conftest.$ac_objext; then
25711
 
  ac_lo=$ac_mid; break
25712
 
else
25713
 
  echo "$as_me: failed program was:" >&5
25714
 
sed 's/^/| /' conftest.$ac_ext >&5
25715
 
 
25716
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
25717
 
                        if test $ac_mid -le $ac_hi; then
25718
 
                          ac_lo= ac_hi=
25719
 
                          break
25720
 
                        fi
25721
 
                        ac_mid=`expr 2 '*' $ac_mid`
25722
 
fi
25723
 
 
25724
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25725
 
  done
25726
 
else
25727
 
  echo "$as_me: failed program was:" >&5
25728
 
sed 's/^/| /' conftest.$ac_ext >&5
25729
 
 
25730
 
        ac_lo= ac_hi=
25731
 
fi
25732
 
 
25733
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25734
 
fi
25735
 
 
25736
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25737
 
# Binary search between lo and hi bounds.
25738
 
while test "x$ac_lo" != "x$ac_hi"; do
25739
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25740
 
  cat >conftest.$ac_ext <<_ACEOF
25741
 
/* confdefs.h.  */
25742
 
_ACEOF
25743
 
cat confdefs.h >>conftest.$ac_ext
25744
 
cat >>conftest.$ac_ext <<_ACEOF
25745
 
/* end confdefs.h.  */
25746
 
$ac_includes_default
25747
 
   typedef int ac__type_sizeof_;
25748
 
int
25749
 
main ()
25750
 
{
25751
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25752
 
test_array [0] = 0
25753
 
 
25754
 
  ;
25755
 
  return 0;
25756
 
}
25757
 
_ACEOF
25758
 
rm -f conftest.$ac_objext
25759
 
if { (ac_try="$ac_compile"
25760
 
case "(($ac_try" in
25761
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25762
 
  *) ac_try_echo=$ac_try;;
25763
 
esac
25764
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25765
 
  (eval "$ac_compile") 2>conftest.er1
25766
 
  ac_status=$?
25767
 
  grep -v '^ *+' conftest.er1 >conftest.err
25768
 
  rm -f conftest.er1
25769
 
  cat conftest.err >&5
25770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771
 
  (exit $ac_status); } && {
25772
 
         test -z "$ac_c_werror_flag" ||
25773
 
         test ! -s conftest.err
25774
 
       } && test -s conftest.$ac_objext; then
25775
 
  ac_hi=$ac_mid
25776
 
else
25777
 
  echo "$as_me: failed program was:" >&5
25778
 
sed 's/^/| /' conftest.$ac_ext >&5
25779
 
 
25780
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
25781
 
fi
25782
 
 
25783
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25784
 
done
25785
 
case $ac_lo in
25786
 
?*) ac_cv_sizeof_int=$ac_lo;;
25787
 
'') if test "$ac_cv_type_int" = yes; then
25788
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25789
 
See \`config.log' for more details." >&5
25790
 
echo "$as_me: error: cannot compute sizeof (int)
25791
 
See \`config.log' for more details." >&2;}
25792
 
   { (exit 77); exit 77; }; }
25793
 
   else
25794
 
     ac_cv_sizeof_int=0
25795
 
   fi ;;
25796
 
esac
25797
 
else
25798
 
  cat >conftest.$ac_ext <<_ACEOF
25799
 
/* confdefs.h.  */
25800
 
_ACEOF
25801
 
cat confdefs.h >>conftest.$ac_ext
25802
 
cat >>conftest.$ac_ext <<_ACEOF
25803
 
/* end confdefs.h.  */
25804
 
$ac_includes_default
25805
 
   typedef int ac__type_sizeof_;
25806
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25807
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25808
 
#include <stdio.h>
25809
 
#include <stdlib.h>
25810
 
int
25811
 
main ()
25812
 
{
25813
 
 
25814
 
  FILE *f = fopen ("conftest.val", "w");
25815
 
  if (! f)
25816
 
    return 1;
25817
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25818
 
    {
25819
 
      long int i = longval ();
25820
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25821
 
        return 1;
25822
 
      fprintf (f, "%ld\n", i);
25823
 
    }
25824
 
  else
25825
 
    {
25826
 
      unsigned long int i = ulongval ();
25827
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25828
 
        return 1;
25829
 
      fprintf (f, "%lu\n", i);
25830
 
    }
25831
 
  return ferror (f) || fclose (f) != 0;
25832
 
 
25833
 
  ;
25834
 
  return 0;
25835
 
}
25836
 
_ACEOF
25837
 
rm -f conftest$ac_exeext
25838
 
if { (ac_try="$ac_link"
25839
 
case "(($ac_try" in
25840
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25841
 
  *) ac_try_echo=$ac_try;;
25842
 
esac
25843
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25844
 
  (eval "$ac_link") 2>&5
25845
 
  ac_status=$?
25846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25848
 
  { (case "(($ac_try" in
25849
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25850
 
  *) ac_try_echo=$ac_try;;
25851
 
esac
25852
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25853
 
  (eval "$ac_try") 2>&5
25854
 
  ac_status=$?
25855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856
 
  (exit $ac_status); }; }; then
25857
 
  ac_cv_sizeof_int=`cat conftest.val`
25858
 
else
25859
 
  echo "$as_me: program exited with status $ac_status" >&5
25860
 
echo "$as_me: failed program was:" >&5
25861
 
sed 's/^/| /' conftest.$ac_ext >&5
25862
 
 
25863
 
( exit $ac_status )
25864
 
if test "$ac_cv_type_int" = yes; then
25865
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25866
 
See \`config.log' for more details." >&5
25867
 
echo "$as_me: error: cannot compute sizeof (int)
25868
 
See \`config.log' for more details." >&2;}
25869
 
   { (exit 77); exit 77; }; }
25870
 
   else
25871
 
     ac_cv_sizeof_int=0
25872
 
   fi
25873
 
fi
25874
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25875
 
fi
25876
 
rm -f conftest.val
25877
 
fi
25878
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
25879
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
25880
 
 
25881
 
 
25882
 
 
25883
 
cat >>confdefs.h <<_ACEOF
25884
 
#define SIZEOF_INT $ac_cv_sizeof_int
25885
 
_ACEOF
25886
 
 
25887
 
   { echo "$as_me:$LINENO: checking for short" >&5
25888
 
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
25889
 
if test "${ac_cv_type_short+set}" = set; then
25890
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25891
 
else
25892
 
  cat >conftest.$ac_ext <<_ACEOF
25893
 
/* confdefs.h.  */
25894
 
_ACEOF
25895
 
cat confdefs.h >>conftest.$ac_ext
25896
 
cat >>conftest.$ac_ext <<_ACEOF
25897
 
/* end confdefs.h.  */
25898
 
$ac_includes_default
25899
 
typedef short ac__type_new_;
25900
 
int
25901
 
main ()
25902
 
{
25903
 
if ((ac__type_new_ *) 0)
25904
 
  return 0;
25905
 
if (sizeof (ac__type_new_))
25906
 
  return 0;
25907
 
  ;
25908
 
  return 0;
25909
 
}
25910
 
_ACEOF
25911
 
rm -f conftest.$ac_objext
25912
 
if { (ac_try="$ac_compile"
25913
 
case "(($ac_try" in
25914
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25915
 
  *) ac_try_echo=$ac_try;;
25916
 
esac
25917
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25918
 
  (eval "$ac_compile") 2>conftest.er1
25919
 
  ac_status=$?
25920
 
  grep -v '^ *+' conftest.er1 >conftest.err
25921
 
  rm -f conftest.er1
25922
 
  cat conftest.err >&5
25923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924
 
  (exit $ac_status); } && {
25925
 
         test -z "$ac_c_werror_flag" ||
25926
 
         test ! -s conftest.err
25927
 
       } && test -s conftest.$ac_objext; then
25928
 
  ac_cv_type_short=yes
25929
 
else
25930
 
  echo "$as_me: failed program was:" >&5
25931
 
sed 's/^/| /' conftest.$ac_ext >&5
25932
 
 
25933
 
        ac_cv_type_short=no
25934
 
fi
25935
 
 
25936
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25937
 
fi
25938
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
25939
 
echo "${ECHO_T}$ac_cv_type_short" >&6; }
25940
 
 
25941
 
# The cast to long int works around a bug in the HP C Compiler
25942
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25943
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25944
 
# This bug is HP SR number 8606223364.
25945
 
{ echo "$as_me:$LINENO: checking size of short" >&5
25946
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
25947
 
if test "${ac_cv_sizeof_short+set}" = set; then
25948
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25949
 
else
25950
 
  if test "$cross_compiling" = yes; then
25951
 
  # Depending upon the size, compute the lo and hi bounds.
25952
 
cat >conftest.$ac_ext <<_ACEOF
25953
 
/* confdefs.h.  */
25954
 
_ACEOF
25955
 
cat confdefs.h >>conftest.$ac_ext
25956
 
cat >>conftest.$ac_ext <<_ACEOF
25957
 
/* end confdefs.h.  */
25958
 
$ac_includes_default
25959
 
   typedef short ac__type_sizeof_;
25960
 
int
25961
 
main ()
25962
 
{
25963
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25964
 
test_array [0] = 0
25965
 
 
25966
 
  ;
25967
 
  return 0;
25968
 
}
25969
 
_ACEOF
25970
 
rm -f conftest.$ac_objext
25971
 
if { (ac_try="$ac_compile"
25972
 
case "(($ac_try" in
25973
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25974
 
  *) ac_try_echo=$ac_try;;
25975
 
esac
25976
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25977
 
  (eval "$ac_compile") 2>conftest.er1
25978
 
  ac_status=$?
25979
 
  grep -v '^ *+' conftest.er1 >conftest.err
25980
 
  rm -f conftest.er1
25981
 
  cat conftest.err >&5
25982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983
 
  (exit $ac_status); } && {
25984
 
         test -z "$ac_c_werror_flag" ||
25985
 
         test ! -s conftest.err
25986
 
       } && test -s conftest.$ac_objext; then
25987
 
  ac_lo=0 ac_mid=0
25988
 
  while :; do
25989
 
    cat >conftest.$ac_ext <<_ACEOF
25990
 
/* confdefs.h.  */
25991
 
_ACEOF
25992
 
cat confdefs.h >>conftest.$ac_ext
25993
 
cat >>conftest.$ac_ext <<_ACEOF
25994
 
/* end confdefs.h.  */
25995
 
$ac_includes_default
25996
 
   typedef short ac__type_sizeof_;
25997
 
int
25998
 
main ()
25999
 
{
26000
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26001
 
test_array [0] = 0
26002
 
 
26003
 
  ;
26004
 
  return 0;
26005
 
}
26006
 
_ACEOF
26007
 
rm -f conftest.$ac_objext
26008
 
if { (ac_try="$ac_compile"
26009
 
case "(($ac_try" in
26010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26011
 
  *) ac_try_echo=$ac_try;;
26012
 
esac
26013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26014
 
  (eval "$ac_compile") 2>conftest.er1
26015
 
  ac_status=$?
26016
 
  grep -v '^ *+' conftest.er1 >conftest.err
26017
 
  rm -f conftest.er1
26018
 
  cat conftest.err >&5
26019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020
 
  (exit $ac_status); } && {
26021
 
         test -z "$ac_c_werror_flag" ||
26022
 
         test ! -s conftest.err
26023
 
       } && test -s conftest.$ac_objext; then
26024
 
  ac_hi=$ac_mid; break
26025
 
else
26026
 
  echo "$as_me: failed program was:" >&5
26027
 
sed 's/^/| /' conftest.$ac_ext >&5
26028
 
 
26029
 
        ac_lo=`expr $ac_mid + 1`
26030
 
                        if test $ac_lo -le $ac_mid; then
26031
 
                          ac_lo= ac_hi=
26032
 
                          break
26033
 
                        fi
26034
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26035
 
fi
26036
 
 
26037
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26038
 
  done
26039
 
else
26040
 
  echo "$as_me: failed program was:" >&5
26041
 
sed 's/^/| /' conftest.$ac_ext >&5
26042
 
 
26043
 
        cat >conftest.$ac_ext <<_ACEOF
26044
 
/* confdefs.h.  */
26045
 
_ACEOF
26046
 
cat confdefs.h >>conftest.$ac_ext
26047
 
cat >>conftest.$ac_ext <<_ACEOF
26048
 
/* end confdefs.h.  */
26049
 
$ac_includes_default
26050
 
   typedef short ac__type_sizeof_;
26051
 
int
26052
 
main ()
26053
 
{
26054
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26055
 
test_array [0] = 0
26056
 
 
26057
 
  ;
26058
 
  return 0;
26059
 
}
26060
 
_ACEOF
26061
 
rm -f conftest.$ac_objext
26062
 
if { (ac_try="$ac_compile"
26063
 
case "(($ac_try" in
26064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26065
 
  *) ac_try_echo=$ac_try;;
26066
 
esac
26067
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26068
 
  (eval "$ac_compile") 2>conftest.er1
26069
 
  ac_status=$?
26070
 
  grep -v '^ *+' conftest.er1 >conftest.err
26071
 
  rm -f conftest.er1
26072
 
  cat conftest.err >&5
26073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074
 
  (exit $ac_status); } && {
26075
 
         test -z "$ac_c_werror_flag" ||
26076
 
         test ! -s conftest.err
26077
 
       } && test -s conftest.$ac_objext; then
26078
 
  ac_hi=-1 ac_mid=-1
26079
 
  while :; do
26080
 
    cat >conftest.$ac_ext <<_ACEOF
26081
 
/* confdefs.h.  */
26082
 
_ACEOF
26083
 
cat confdefs.h >>conftest.$ac_ext
26084
 
cat >>conftest.$ac_ext <<_ACEOF
26085
 
/* end confdefs.h.  */
26086
 
$ac_includes_default
26087
 
   typedef short ac__type_sizeof_;
26088
 
int
26089
 
main ()
26090
 
{
26091
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26092
 
test_array [0] = 0
26093
 
 
26094
 
  ;
26095
 
  return 0;
26096
 
}
26097
 
_ACEOF
26098
 
rm -f conftest.$ac_objext
26099
 
if { (ac_try="$ac_compile"
26100
 
case "(($ac_try" in
26101
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26102
 
  *) ac_try_echo=$ac_try;;
26103
 
esac
26104
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26105
 
  (eval "$ac_compile") 2>conftest.er1
26106
 
  ac_status=$?
26107
 
  grep -v '^ *+' conftest.er1 >conftest.err
26108
 
  rm -f conftest.er1
26109
 
  cat conftest.err >&5
26110
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111
 
  (exit $ac_status); } && {
26112
 
         test -z "$ac_c_werror_flag" ||
26113
 
         test ! -s conftest.err
26114
 
       } && test -s conftest.$ac_objext; then
26115
 
  ac_lo=$ac_mid; break
26116
 
else
26117
 
  echo "$as_me: failed program was:" >&5
26118
 
sed 's/^/| /' conftest.$ac_ext >&5
26119
 
 
26120
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26121
 
                        if test $ac_mid -le $ac_hi; then
26122
 
                          ac_lo= ac_hi=
26123
 
                          break
26124
 
                        fi
26125
 
                        ac_mid=`expr 2 '*' $ac_mid`
26126
 
fi
26127
 
 
26128
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26129
 
  done
26130
 
else
26131
 
  echo "$as_me: failed program was:" >&5
26132
 
sed 's/^/| /' conftest.$ac_ext >&5
26133
 
 
26134
 
        ac_lo= ac_hi=
26135
 
fi
26136
 
 
26137
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26138
 
fi
26139
 
 
26140
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26141
 
# Binary search between lo and hi bounds.
26142
 
while test "x$ac_lo" != "x$ac_hi"; do
26143
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26144
 
  cat >conftest.$ac_ext <<_ACEOF
26145
 
/* confdefs.h.  */
26146
 
_ACEOF
26147
 
cat confdefs.h >>conftest.$ac_ext
26148
 
cat >>conftest.$ac_ext <<_ACEOF
26149
 
/* end confdefs.h.  */
26150
 
$ac_includes_default
26151
 
   typedef short ac__type_sizeof_;
26152
 
int
26153
 
main ()
26154
 
{
26155
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26156
 
test_array [0] = 0
26157
 
 
26158
 
  ;
26159
 
  return 0;
26160
 
}
26161
 
_ACEOF
26162
 
rm -f conftest.$ac_objext
26163
 
if { (ac_try="$ac_compile"
26164
 
case "(($ac_try" in
26165
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26166
 
  *) ac_try_echo=$ac_try;;
26167
 
esac
26168
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26169
 
  (eval "$ac_compile") 2>conftest.er1
26170
 
  ac_status=$?
26171
 
  grep -v '^ *+' conftest.er1 >conftest.err
26172
 
  rm -f conftest.er1
26173
 
  cat conftest.err >&5
26174
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175
 
  (exit $ac_status); } && {
26176
 
         test -z "$ac_c_werror_flag" ||
26177
 
         test ! -s conftest.err
26178
 
       } && test -s conftest.$ac_objext; then
26179
 
  ac_hi=$ac_mid
26180
 
else
26181
 
  echo "$as_me: failed program was:" >&5
26182
 
sed 's/^/| /' conftest.$ac_ext >&5
26183
 
 
26184
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26185
 
fi
26186
 
 
26187
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26188
 
done
26189
 
case $ac_lo in
26190
 
?*) ac_cv_sizeof_short=$ac_lo;;
26191
 
'') if test "$ac_cv_type_short" = yes; then
26192
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26193
 
See \`config.log' for more details." >&5
26194
 
echo "$as_me: error: cannot compute sizeof (short)
26195
 
See \`config.log' for more details." >&2;}
26196
 
   { (exit 77); exit 77; }; }
26197
 
   else
26198
 
     ac_cv_sizeof_short=0
26199
 
   fi ;;
26200
 
esac
26201
 
else
26202
 
  cat >conftest.$ac_ext <<_ACEOF
26203
 
/* confdefs.h.  */
26204
 
_ACEOF
26205
 
cat confdefs.h >>conftest.$ac_ext
26206
 
cat >>conftest.$ac_ext <<_ACEOF
26207
 
/* end confdefs.h.  */
26208
 
$ac_includes_default
26209
 
   typedef short ac__type_sizeof_;
26210
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26211
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26212
 
#include <stdio.h>
26213
 
#include <stdlib.h>
26214
 
int
26215
 
main ()
26216
 
{
26217
 
 
26218
 
  FILE *f = fopen ("conftest.val", "w");
26219
 
  if (! f)
26220
 
    return 1;
26221
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26222
 
    {
26223
 
      long int i = longval ();
26224
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26225
 
        return 1;
26226
 
      fprintf (f, "%ld\n", i);
26227
 
    }
26228
 
  else
26229
 
    {
26230
 
      unsigned long int i = ulongval ();
26231
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26232
 
        return 1;
26233
 
      fprintf (f, "%lu\n", i);
26234
 
    }
26235
 
  return ferror (f) || fclose (f) != 0;
26236
 
 
26237
 
  ;
26238
 
  return 0;
26239
 
}
26240
 
_ACEOF
26241
 
rm -f conftest$ac_exeext
26242
 
if { (ac_try="$ac_link"
26243
 
case "(($ac_try" in
26244
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26245
 
  *) ac_try_echo=$ac_try;;
26246
 
esac
26247
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26248
 
  (eval "$ac_link") 2>&5
26249
 
  ac_status=$?
26250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26252
 
  { (case "(($ac_try" in
26253
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26254
 
  *) ac_try_echo=$ac_try;;
26255
 
esac
26256
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26257
 
  (eval "$ac_try") 2>&5
26258
 
  ac_status=$?
26259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260
 
  (exit $ac_status); }; }; then
26261
 
  ac_cv_sizeof_short=`cat conftest.val`
26262
 
else
26263
 
  echo "$as_me: program exited with status $ac_status" >&5
26264
 
echo "$as_me: failed program was:" >&5
26265
 
sed 's/^/| /' conftest.$ac_ext >&5
26266
 
 
26267
 
( exit $ac_status )
26268
 
if test "$ac_cv_type_short" = yes; then
26269
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26270
 
See \`config.log' for more details." >&5
26271
 
echo "$as_me: error: cannot compute sizeof (short)
26272
 
See \`config.log' for more details." >&2;}
26273
 
   { (exit 77); exit 77; }; }
26274
 
   else
26275
 
     ac_cv_sizeof_short=0
26276
 
   fi
26277
 
fi
26278
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26279
 
fi
26280
 
rm -f conftest.val
26281
 
fi
26282
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
26283
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
26284
 
 
26285
 
 
26286
 
 
26287
 
cat >>confdefs.h <<_ACEOF
26288
 
#define SIZEOF_SHORT $ac_cv_sizeof_short
26289
 
_ACEOF
26290
 
 
26291
 
  { echo "$as_me:$LINENO: checking for long" >&5
26292
 
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
26293
 
if test "${ac_cv_type_long+set}" = set; then
26294
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26295
 
else
26296
 
  cat >conftest.$ac_ext <<_ACEOF
26297
 
/* confdefs.h.  */
26298
 
_ACEOF
26299
 
cat confdefs.h >>conftest.$ac_ext
26300
 
cat >>conftest.$ac_ext <<_ACEOF
26301
 
/* end confdefs.h.  */
26302
 
$ac_includes_default
26303
 
typedef long ac__type_new_;
26304
 
int
26305
 
main ()
26306
 
{
26307
 
if ((ac__type_new_ *) 0)
26308
 
  return 0;
26309
 
if (sizeof (ac__type_new_))
26310
 
  return 0;
26311
 
  ;
26312
 
  return 0;
26313
 
}
26314
 
_ACEOF
26315
 
rm -f conftest.$ac_objext
26316
 
if { (ac_try="$ac_compile"
26317
 
case "(($ac_try" in
26318
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26319
 
  *) ac_try_echo=$ac_try;;
26320
 
esac
26321
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26322
 
  (eval "$ac_compile") 2>conftest.er1
26323
 
  ac_status=$?
26324
 
  grep -v '^ *+' conftest.er1 >conftest.err
26325
 
  rm -f conftest.er1
26326
 
  cat conftest.err >&5
26327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328
 
  (exit $ac_status); } && {
26329
 
         test -z "$ac_c_werror_flag" ||
26330
 
         test ! -s conftest.err
26331
 
       } && test -s conftest.$ac_objext; then
26332
 
  ac_cv_type_long=yes
26333
 
else
26334
 
  echo "$as_me: failed program was:" >&5
26335
 
sed 's/^/| /' conftest.$ac_ext >&5
26336
 
 
26337
 
        ac_cv_type_long=no
26338
 
fi
26339
 
 
26340
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26341
 
fi
26342
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
26343
 
echo "${ECHO_T}$ac_cv_type_long" >&6; }
26344
 
 
26345
 
# The cast to long int works around a bug in the HP C Compiler
26346
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26347
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26348
 
# This bug is HP SR number 8606223364.
26349
 
{ echo "$as_me:$LINENO: checking size of long" >&5
26350
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
26351
 
if test "${ac_cv_sizeof_long+set}" = set; then
26352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26353
 
else
26354
 
  if test "$cross_compiling" = yes; then
26355
 
  # Depending upon the size, compute the lo and hi bounds.
26356
 
cat >conftest.$ac_ext <<_ACEOF
26357
 
/* confdefs.h.  */
26358
 
_ACEOF
26359
 
cat confdefs.h >>conftest.$ac_ext
26360
 
cat >>conftest.$ac_ext <<_ACEOF
26361
 
/* end confdefs.h.  */
26362
 
$ac_includes_default
26363
 
   typedef long ac__type_sizeof_;
26364
 
int
26365
 
main ()
26366
 
{
26367
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26368
 
test_array [0] = 0
26369
 
 
26370
 
  ;
26371
 
  return 0;
26372
 
}
26373
 
_ACEOF
26374
 
rm -f conftest.$ac_objext
26375
 
if { (ac_try="$ac_compile"
26376
 
case "(($ac_try" in
26377
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26378
 
  *) ac_try_echo=$ac_try;;
26379
 
esac
26380
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26381
 
  (eval "$ac_compile") 2>conftest.er1
26382
 
  ac_status=$?
26383
 
  grep -v '^ *+' conftest.er1 >conftest.err
26384
 
  rm -f conftest.er1
26385
 
  cat conftest.err >&5
26386
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387
 
  (exit $ac_status); } && {
26388
 
         test -z "$ac_c_werror_flag" ||
26389
 
         test ! -s conftest.err
26390
 
       } && test -s conftest.$ac_objext; then
26391
 
  ac_lo=0 ac_mid=0
26392
 
  while :; do
26393
 
    cat >conftest.$ac_ext <<_ACEOF
26394
 
/* confdefs.h.  */
26395
 
_ACEOF
26396
 
cat confdefs.h >>conftest.$ac_ext
26397
 
cat >>conftest.$ac_ext <<_ACEOF
26398
 
/* end confdefs.h.  */
26399
 
$ac_includes_default
26400
 
   typedef long ac__type_sizeof_;
26401
 
int
26402
 
main ()
26403
 
{
26404
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26405
 
test_array [0] = 0
26406
 
 
26407
 
  ;
26408
 
  return 0;
26409
 
}
26410
 
_ACEOF
26411
 
rm -f conftest.$ac_objext
26412
 
if { (ac_try="$ac_compile"
26413
 
case "(($ac_try" in
26414
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26415
 
  *) ac_try_echo=$ac_try;;
26416
 
esac
26417
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26418
 
  (eval "$ac_compile") 2>conftest.er1
26419
 
  ac_status=$?
26420
 
  grep -v '^ *+' conftest.er1 >conftest.err
26421
 
  rm -f conftest.er1
26422
 
  cat conftest.err >&5
26423
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424
 
  (exit $ac_status); } && {
26425
 
         test -z "$ac_c_werror_flag" ||
26426
 
         test ! -s conftest.err
26427
 
       } && test -s conftest.$ac_objext; then
26428
 
  ac_hi=$ac_mid; break
26429
 
else
26430
 
  echo "$as_me: failed program was:" >&5
26431
 
sed 's/^/| /' conftest.$ac_ext >&5
26432
 
 
26433
 
        ac_lo=`expr $ac_mid + 1`
26434
 
                        if test $ac_lo -le $ac_mid; then
26435
 
                          ac_lo= ac_hi=
26436
 
                          break
26437
 
                        fi
26438
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26439
 
fi
26440
 
 
26441
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26442
 
  done
26443
 
else
26444
 
  echo "$as_me: failed program was:" >&5
26445
 
sed 's/^/| /' conftest.$ac_ext >&5
26446
 
 
26447
 
        cat >conftest.$ac_ext <<_ACEOF
26448
 
/* confdefs.h.  */
26449
 
_ACEOF
26450
 
cat confdefs.h >>conftest.$ac_ext
26451
 
cat >>conftest.$ac_ext <<_ACEOF
26452
 
/* end confdefs.h.  */
26453
 
$ac_includes_default
26454
 
   typedef long ac__type_sizeof_;
26455
 
int
26456
 
main ()
26457
 
{
26458
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26459
 
test_array [0] = 0
26460
 
 
26461
 
  ;
26462
 
  return 0;
26463
 
}
26464
 
_ACEOF
26465
 
rm -f conftest.$ac_objext
26466
 
if { (ac_try="$ac_compile"
26467
 
case "(($ac_try" in
26468
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26469
 
  *) ac_try_echo=$ac_try;;
26470
 
esac
26471
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26472
 
  (eval "$ac_compile") 2>conftest.er1
26473
 
  ac_status=$?
26474
 
  grep -v '^ *+' conftest.er1 >conftest.err
26475
 
  rm -f conftest.er1
26476
 
  cat conftest.err >&5
26477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478
 
  (exit $ac_status); } && {
26479
 
         test -z "$ac_c_werror_flag" ||
26480
 
         test ! -s conftest.err
26481
 
       } && test -s conftest.$ac_objext; then
26482
 
  ac_hi=-1 ac_mid=-1
26483
 
  while :; do
26484
 
    cat >conftest.$ac_ext <<_ACEOF
26485
 
/* confdefs.h.  */
26486
 
_ACEOF
26487
 
cat confdefs.h >>conftest.$ac_ext
26488
 
cat >>conftest.$ac_ext <<_ACEOF
26489
 
/* end confdefs.h.  */
26490
 
$ac_includes_default
26491
 
   typedef long ac__type_sizeof_;
26492
 
int
26493
 
main ()
26494
 
{
26495
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26496
 
test_array [0] = 0
26497
 
 
26498
 
  ;
26499
 
  return 0;
26500
 
}
26501
 
_ACEOF
26502
 
rm -f conftest.$ac_objext
26503
 
if { (ac_try="$ac_compile"
26504
 
case "(($ac_try" in
26505
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26506
 
  *) ac_try_echo=$ac_try;;
26507
 
esac
26508
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26509
 
  (eval "$ac_compile") 2>conftest.er1
26510
 
  ac_status=$?
26511
 
  grep -v '^ *+' conftest.er1 >conftest.err
26512
 
  rm -f conftest.er1
26513
 
  cat conftest.err >&5
26514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515
 
  (exit $ac_status); } && {
26516
 
         test -z "$ac_c_werror_flag" ||
26517
 
         test ! -s conftest.err
26518
 
       } && test -s conftest.$ac_objext; then
26519
 
  ac_lo=$ac_mid; break
26520
 
else
26521
 
  echo "$as_me: failed program was:" >&5
26522
 
sed 's/^/| /' conftest.$ac_ext >&5
26523
 
 
26524
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26525
 
                        if test $ac_mid -le $ac_hi; then
26526
 
                          ac_lo= ac_hi=
26527
 
                          break
26528
 
                        fi
26529
 
                        ac_mid=`expr 2 '*' $ac_mid`
26530
 
fi
26531
 
 
26532
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26533
 
  done
26534
 
else
26535
 
  echo "$as_me: failed program was:" >&5
26536
 
sed 's/^/| /' conftest.$ac_ext >&5
26537
 
 
26538
 
        ac_lo= ac_hi=
26539
 
fi
26540
 
 
26541
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26542
 
fi
26543
 
 
26544
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26545
 
# Binary search between lo and hi bounds.
26546
 
while test "x$ac_lo" != "x$ac_hi"; do
26547
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26548
 
  cat >conftest.$ac_ext <<_ACEOF
26549
 
/* confdefs.h.  */
26550
 
_ACEOF
26551
 
cat confdefs.h >>conftest.$ac_ext
26552
 
cat >>conftest.$ac_ext <<_ACEOF
26553
 
/* end confdefs.h.  */
26554
 
$ac_includes_default
26555
 
   typedef long ac__type_sizeof_;
26556
 
int
26557
 
main ()
26558
 
{
26559
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26560
 
test_array [0] = 0
26561
 
 
26562
 
  ;
26563
 
  return 0;
26564
 
}
26565
 
_ACEOF
26566
 
rm -f conftest.$ac_objext
26567
 
if { (ac_try="$ac_compile"
26568
 
case "(($ac_try" in
26569
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26570
 
  *) ac_try_echo=$ac_try;;
26571
 
esac
26572
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26573
 
  (eval "$ac_compile") 2>conftest.er1
26574
 
  ac_status=$?
26575
 
  grep -v '^ *+' conftest.er1 >conftest.err
26576
 
  rm -f conftest.er1
26577
 
  cat conftest.err >&5
26578
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579
 
  (exit $ac_status); } && {
26580
 
         test -z "$ac_c_werror_flag" ||
26581
 
         test ! -s conftest.err
26582
 
       } && test -s conftest.$ac_objext; then
26583
 
  ac_hi=$ac_mid
26584
 
else
26585
 
  echo "$as_me: failed program was:" >&5
26586
 
sed 's/^/| /' conftest.$ac_ext >&5
26587
 
 
26588
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26589
 
fi
26590
 
 
26591
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26592
 
done
26593
 
case $ac_lo in
26594
 
?*) ac_cv_sizeof_long=$ac_lo;;
26595
 
'') if test "$ac_cv_type_long" = yes; then
26596
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26597
 
See \`config.log' for more details." >&5
26598
 
echo "$as_me: error: cannot compute sizeof (long)
26599
 
See \`config.log' for more details." >&2;}
26600
 
   { (exit 77); exit 77; }; }
26601
 
   else
26602
 
     ac_cv_sizeof_long=0
26603
 
   fi ;;
26604
 
esac
26605
 
else
26606
 
  cat >conftest.$ac_ext <<_ACEOF
26607
 
/* confdefs.h.  */
26608
 
_ACEOF
26609
 
cat confdefs.h >>conftest.$ac_ext
26610
 
cat >>conftest.$ac_ext <<_ACEOF
26611
 
/* end confdefs.h.  */
26612
 
$ac_includes_default
26613
 
   typedef long ac__type_sizeof_;
26614
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26615
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26616
 
#include <stdio.h>
26617
 
#include <stdlib.h>
26618
 
int
26619
 
main ()
26620
 
{
26621
 
 
26622
 
  FILE *f = fopen ("conftest.val", "w");
26623
 
  if (! f)
26624
 
    return 1;
26625
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26626
 
    {
26627
 
      long int i = longval ();
26628
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26629
 
        return 1;
26630
 
      fprintf (f, "%ld\n", i);
26631
 
    }
26632
 
  else
26633
 
    {
26634
 
      unsigned long int i = ulongval ();
26635
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26636
 
        return 1;
26637
 
      fprintf (f, "%lu\n", i);
26638
 
    }
26639
 
  return ferror (f) || fclose (f) != 0;
26640
 
 
26641
 
  ;
26642
 
  return 0;
26643
 
}
26644
 
_ACEOF
26645
 
rm -f conftest$ac_exeext
26646
 
if { (ac_try="$ac_link"
26647
 
case "(($ac_try" in
26648
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26649
 
  *) ac_try_echo=$ac_try;;
26650
 
esac
26651
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26652
 
  (eval "$ac_link") 2>&5
26653
 
  ac_status=$?
26654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26656
 
  { (case "(($ac_try" in
26657
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26658
 
  *) ac_try_echo=$ac_try;;
26659
 
esac
26660
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26661
 
  (eval "$ac_try") 2>&5
26662
 
  ac_status=$?
26663
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664
 
  (exit $ac_status); }; }; then
26665
 
  ac_cv_sizeof_long=`cat conftest.val`
26666
 
else
26667
 
  echo "$as_me: program exited with status $ac_status" >&5
26668
 
echo "$as_me: failed program was:" >&5
26669
 
sed 's/^/| /' conftest.$ac_ext >&5
26670
 
 
26671
 
( exit $ac_status )
26672
 
if test "$ac_cv_type_long" = yes; then
26673
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26674
 
See \`config.log' for more details." >&5
26675
 
echo "$as_me: error: cannot compute sizeof (long)
26676
 
See \`config.log' for more details." >&2;}
26677
 
   { (exit 77); exit 77; }; }
26678
 
   else
26679
 
     ac_cv_sizeof_long=0
26680
 
   fi
26681
 
fi
26682
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26683
 
fi
26684
 
rm -f conftest.val
26685
 
fi
26686
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
26687
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
26688
 
 
26689
 
 
26690
 
 
26691
 
cat >>confdefs.h <<_ACEOF
26692
 
#define SIZEOF_LONG $ac_cv_sizeof_long
26693
 
_ACEOF
26694
 
 
26695
 
  { echo "$as_me:$LINENO: checking for char *" >&5
26696
 
echo $ECHO_N "checking for char *... $ECHO_C" >&6; }
26697
 
if test "${ac_cv_type_char_p+set}" = set; then
26698
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26699
 
else
26700
 
  cat >conftest.$ac_ext <<_ACEOF
26701
 
/* confdefs.h.  */
26702
 
_ACEOF
26703
 
cat confdefs.h >>conftest.$ac_ext
26704
 
cat >>conftest.$ac_ext <<_ACEOF
26705
 
/* end confdefs.h.  */
26706
 
$ac_includes_default
26707
 
typedef char * ac__type_new_;
26708
 
int
26709
 
main ()
26710
 
{
26711
 
if ((ac__type_new_ *) 0)
26712
 
  return 0;
26713
 
if (sizeof (ac__type_new_))
26714
 
  return 0;
26715
 
  ;
26716
 
  return 0;
26717
 
}
26718
 
_ACEOF
26719
 
rm -f conftest.$ac_objext
26720
 
if { (ac_try="$ac_compile"
26721
 
case "(($ac_try" in
26722
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26723
 
  *) ac_try_echo=$ac_try;;
26724
 
esac
26725
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26726
 
  (eval "$ac_compile") 2>conftest.er1
26727
 
  ac_status=$?
26728
 
  grep -v '^ *+' conftest.er1 >conftest.err
26729
 
  rm -f conftest.er1
26730
 
  cat conftest.err >&5
26731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732
 
  (exit $ac_status); } && {
26733
 
         test -z "$ac_c_werror_flag" ||
26734
 
         test ! -s conftest.err
26735
 
       } && test -s conftest.$ac_objext; then
26736
 
  ac_cv_type_char_p=yes
26737
 
else
26738
 
  echo "$as_me: failed program was:" >&5
26739
 
sed 's/^/| /' conftest.$ac_ext >&5
26740
 
 
26741
 
        ac_cv_type_char_p=no
26742
 
fi
26743
 
 
26744
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26745
 
fi
26746
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
26747
 
echo "${ECHO_T}$ac_cv_type_char_p" >&6; }
26748
 
 
26749
 
# The cast to long int works around a bug in the HP C Compiler
26750
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26751
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26752
 
# This bug is HP SR number 8606223364.
26753
 
{ echo "$as_me:$LINENO: checking size of char *" >&5
26754
 
echo $ECHO_N "checking size of char *... $ECHO_C" >&6; }
26755
 
if test "${ac_cv_sizeof_char_p+set}" = set; then
26756
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26757
 
else
26758
 
  if test "$cross_compiling" = yes; then
26759
 
  # Depending upon the size, compute the lo and hi bounds.
26760
 
cat >conftest.$ac_ext <<_ACEOF
26761
 
/* confdefs.h.  */
26762
 
_ACEOF
26763
 
cat confdefs.h >>conftest.$ac_ext
26764
 
cat >>conftest.$ac_ext <<_ACEOF
26765
 
/* end confdefs.h.  */
26766
 
$ac_includes_default
26767
 
   typedef char * ac__type_sizeof_;
26768
 
int
26769
 
main ()
26770
 
{
26771
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26785
 
  (eval "$ac_compile") 2>conftest.er1
26786
 
  ac_status=$?
26787
 
  grep -v '^ *+' conftest.er1 >conftest.err
26788
 
  rm -f conftest.er1
26789
 
  cat conftest.err >&5
26790
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791
 
  (exit $ac_status); } && {
26792
 
         test -z "$ac_c_werror_flag" ||
26793
 
         test ! -s conftest.err
26794
 
       } && test -s conftest.$ac_objext; then
26795
 
  ac_lo=0 ac_mid=0
26796
 
  while :; do
26797
 
    cat >conftest.$ac_ext <<_ACEOF
26798
 
/* confdefs.h.  */
26799
 
_ACEOF
26800
 
cat confdefs.h >>conftest.$ac_ext
26801
 
cat >>conftest.$ac_ext <<_ACEOF
26802
 
/* end confdefs.h.  */
26803
 
$ac_includes_default
26804
 
   typedef char * ac__type_sizeof_;
26805
 
int
26806
 
main ()
26807
 
{
26808
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26809
 
test_array [0] = 0
26810
 
 
26811
 
  ;
26812
 
  return 0;
26813
 
}
26814
 
_ACEOF
26815
 
rm -f conftest.$ac_objext
26816
 
if { (ac_try="$ac_compile"
26817
 
case "(($ac_try" in
26818
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26819
 
  *) ac_try_echo=$ac_try;;
26820
 
esac
26821
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26822
 
  (eval "$ac_compile") 2>conftest.er1
26823
 
  ac_status=$?
26824
 
  grep -v '^ *+' conftest.er1 >conftest.err
26825
 
  rm -f conftest.er1
26826
 
  cat conftest.err >&5
26827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828
 
  (exit $ac_status); } && {
26829
 
         test -z "$ac_c_werror_flag" ||
26830
 
         test ! -s conftest.err
26831
 
       } && test -s conftest.$ac_objext; then
26832
 
  ac_hi=$ac_mid; break
26833
 
else
26834
 
  echo "$as_me: failed program was:" >&5
26835
 
sed 's/^/| /' conftest.$ac_ext >&5
26836
 
 
26837
 
        ac_lo=`expr $ac_mid + 1`
26838
 
                        if test $ac_lo -le $ac_mid; then
26839
 
                          ac_lo= ac_hi=
26840
 
                          break
26841
 
                        fi
26842
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26843
 
fi
26844
 
 
26845
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26846
 
  done
26847
 
else
26848
 
  echo "$as_me: failed program was:" >&5
26849
 
sed 's/^/| /' conftest.$ac_ext >&5
26850
 
 
26851
 
        cat >conftest.$ac_ext <<_ACEOF
26852
 
/* confdefs.h.  */
26853
 
_ACEOF
26854
 
cat confdefs.h >>conftest.$ac_ext
26855
 
cat >>conftest.$ac_ext <<_ACEOF
26856
 
/* end confdefs.h.  */
26857
 
$ac_includes_default
26858
 
   typedef char * ac__type_sizeof_;
26859
 
int
26860
 
main ()
26861
 
{
26862
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26863
 
test_array [0] = 0
26864
 
 
26865
 
  ;
26866
 
  return 0;
26867
 
}
26868
 
_ACEOF
26869
 
rm -f conftest.$ac_objext
26870
 
if { (ac_try="$ac_compile"
26871
 
case "(($ac_try" in
26872
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26873
 
  *) ac_try_echo=$ac_try;;
26874
 
esac
26875
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26876
 
  (eval "$ac_compile") 2>conftest.er1
26877
 
  ac_status=$?
26878
 
  grep -v '^ *+' conftest.er1 >conftest.err
26879
 
  rm -f conftest.er1
26880
 
  cat conftest.err >&5
26881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882
 
  (exit $ac_status); } && {
26883
 
         test -z "$ac_c_werror_flag" ||
26884
 
         test ! -s conftest.err
26885
 
       } && test -s conftest.$ac_objext; then
26886
 
  ac_hi=-1 ac_mid=-1
26887
 
  while :; do
26888
 
    cat >conftest.$ac_ext <<_ACEOF
26889
 
/* confdefs.h.  */
26890
 
_ACEOF
26891
 
cat confdefs.h >>conftest.$ac_ext
26892
 
cat >>conftest.$ac_ext <<_ACEOF
26893
 
/* end confdefs.h.  */
26894
 
$ac_includes_default
26895
 
   typedef char * ac__type_sizeof_;
26896
 
int
26897
 
main ()
26898
 
{
26899
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26900
 
test_array [0] = 0
26901
 
 
26902
 
  ;
26903
 
  return 0;
26904
 
}
26905
 
_ACEOF
26906
 
rm -f conftest.$ac_objext
26907
 
if { (ac_try="$ac_compile"
26908
 
case "(($ac_try" in
26909
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26910
 
  *) ac_try_echo=$ac_try;;
26911
 
esac
26912
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26913
 
  (eval "$ac_compile") 2>conftest.er1
26914
 
  ac_status=$?
26915
 
  grep -v '^ *+' conftest.er1 >conftest.err
26916
 
  rm -f conftest.er1
26917
 
  cat conftest.err >&5
26918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919
 
  (exit $ac_status); } && {
26920
 
         test -z "$ac_c_werror_flag" ||
26921
 
         test ! -s conftest.err
26922
 
       } && test -s conftest.$ac_objext; then
26923
 
  ac_lo=$ac_mid; break
26924
 
else
26925
 
  echo "$as_me: failed program was:" >&5
26926
 
sed 's/^/| /' conftest.$ac_ext >&5
26927
 
 
26928
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26929
 
                        if test $ac_mid -le $ac_hi; then
26930
 
                          ac_lo= ac_hi=
26931
 
                          break
26932
 
                        fi
26933
 
                        ac_mid=`expr 2 '*' $ac_mid`
26934
 
fi
26935
 
 
26936
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26937
 
  done
26938
 
else
26939
 
  echo "$as_me: failed program was:" >&5
26940
 
sed 's/^/| /' conftest.$ac_ext >&5
26941
 
 
26942
 
        ac_lo= ac_hi=
26943
 
fi
26944
 
 
26945
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26946
 
fi
26947
 
 
26948
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26949
 
# Binary search between lo and hi bounds.
26950
 
while test "x$ac_lo" != "x$ac_hi"; do
26951
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26952
 
  cat >conftest.$ac_ext <<_ACEOF
26953
 
/* confdefs.h.  */
26954
 
_ACEOF
26955
 
cat confdefs.h >>conftest.$ac_ext
26956
 
cat >>conftest.$ac_ext <<_ACEOF
26957
 
/* end confdefs.h.  */
26958
 
$ac_includes_default
26959
 
   typedef char * ac__type_sizeof_;
26960
 
int
26961
 
main ()
26962
 
{
26963
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26964
 
test_array [0] = 0
26965
 
 
26966
 
  ;
26967
 
  return 0;
26968
 
}
26969
 
_ACEOF
26970
 
rm -f conftest.$ac_objext
26971
 
if { (ac_try="$ac_compile"
26972
 
case "(($ac_try" in
26973
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26974
 
  *) ac_try_echo=$ac_try;;
26975
 
esac
26976
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26977
 
  (eval "$ac_compile") 2>conftest.er1
26978
 
  ac_status=$?
26979
 
  grep -v '^ *+' conftest.er1 >conftest.err
26980
 
  rm -f conftest.er1
26981
 
  cat conftest.err >&5
26982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983
 
  (exit $ac_status); } && {
26984
 
         test -z "$ac_c_werror_flag" ||
26985
 
         test ! -s conftest.err
26986
 
       } && test -s conftest.$ac_objext; then
26987
 
  ac_hi=$ac_mid
26988
 
else
26989
 
  echo "$as_me: failed program was:" >&5
26990
 
sed 's/^/| /' conftest.$ac_ext >&5
26991
 
 
26992
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26993
 
fi
26994
 
 
26995
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26996
 
done
26997
 
case $ac_lo in
26998
 
?*) ac_cv_sizeof_char_p=$ac_lo;;
26999
 
'') if test "$ac_cv_type_char_p" = yes; then
27000
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27001
 
See \`config.log' for more details." >&5
27002
 
echo "$as_me: error: cannot compute sizeof (char *)
27003
 
See \`config.log' for more details." >&2;}
27004
 
   { (exit 77); exit 77; }; }
27005
 
   else
27006
 
     ac_cv_sizeof_char_p=0
27007
 
   fi ;;
27008
 
esac
27009
 
else
27010
 
  cat >conftest.$ac_ext <<_ACEOF
27011
 
/* confdefs.h.  */
27012
 
_ACEOF
27013
 
cat confdefs.h >>conftest.$ac_ext
27014
 
cat >>conftest.$ac_ext <<_ACEOF
27015
 
/* end confdefs.h.  */
27016
 
$ac_includes_default
27017
 
   typedef char * ac__type_sizeof_;
27018
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27019
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27020
 
#include <stdio.h>
27021
 
#include <stdlib.h>
27022
 
int
27023
 
main ()
27024
 
{
27025
 
 
27026
 
  FILE *f = fopen ("conftest.val", "w");
27027
 
  if (! f)
27028
 
    return 1;
27029
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27030
 
    {
27031
 
      long int i = longval ();
27032
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27033
 
        return 1;
27034
 
      fprintf (f, "%ld\n", i);
27035
 
    }
27036
 
  else
27037
 
    {
27038
 
      unsigned long int i = ulongval ();
27039
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27040
 
        return 1;
27041
 
      fprintf (f, "%lu\n", i);
27042
 
    }
27043
 
  return ferror (f) || fclose (f) != 0;
27044
 
 
27045
 
  ;
27046
 
  return 0;
27047
 
}
27048
 
_ACEOF
27049
 
rm -f conftest$ac_exeext
27050
 
if { (ac_try="$ac_link"
27051
 
case "(($ac_try" in
27052
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27053
 
  *) ac_try_echo=$ac_try;;
27054
 
esac
27055
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27056
 
  (eval "$ac_link") 2>&5
27057
 
  ac_status=$?
27058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27059
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27060
 
  { (case "(($ac_try" in
27061
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27062
 
  *) ac_try_echo=$ac_try;;
27063
 
esac
27064
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27065
 
  (eval "$ac_try") 2>&5
27066
 
  ac_status=$?
27067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068
 
  (exit $ac_status); }; }; then
27069
 
  ac_cv_sizeof_char_p=`cat conftest.val`
27070
 
else
27071
 
  echo "$as_me: program exited with status $ac_status" >&5
27072
 
echo "$as_me: failed program was:" >&5
27073
 
sed 's/^/| /' conftest.$ac_ext >&5
27074
 
 
27075
 
( exit $ac_status )
27076
 
if test "$ac_cv_type_char_p" = yes; then
27077
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27078
 
See \`config.log' for more details." >&5
27079
 
echo "$as_me: error: cannot compute sizeof (char *)
27080
 
See \`config.log' for more details." >&2;}
27081
 
   { (exit 77); exit 77; }; }
27082
 
   else
27083
 
     ac_cv_sizeof_char_p=0
27084
 
   fi
27085
 
fi
27086
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27087
 
fi
27088
 
rm -f conftest.val
27089
 
fi
27090
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
27091
 
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6; }
27092
 
 
27093
 
 
27094
 
 
27095
 
cat >>confdefs.h <<_ACEOF
27096
 
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
27097
 
_ACEOF
27098
 
 
27099
 
 
27100
 
 
27101
 
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27102
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
27103
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27104
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27105
 
else
27106
 
  ac_check_lib_save_LIBS=$LIBS
27107
 
LIBS="-ldl  $LIBS"
27108
 
cat >conftest.$ac_ext <<_ACEOF
27109
 
/* confdefs.h.  */
27110
 
_ACEOF
27111
 
cat confdefs.h >>conftest.$ac_ext
27112
 
cat >>conftest.$ac_ext <<_ACEOF
27113
 
/* end confdefs.h.  */
27114
 
 
27115
 
/* Override any GCC internal prototype to avoid an error.
27116
 
   Use char because int might match the return type of a GCC
27117
 
   builtin and then its argument prototype would still apply.  */
27118
 
#ifdef __cplusplus
27119
 
extern "C"
27120
 
#endif
27121
 
char dlopen ();
27122
 
int
27123
 
main ()
27124
 
{
27125
 
return dlopen ();
27126
 
  ;
27127
 
  return 0;
27128
 
}
27129
 
_ACEOF
27130
 
rm -f conftest.$ac_objext conftest$ac_exeext
27131
 
if { (ac_try="$ac_link"
27132
 
case "(($ac_try" in
27133
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27134
 
  *) ac_try_echo=$ac_try;;
27135
 
esac
27136
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27137
 
  (eval "$ac_link") 2>conftest.er1
27138
 
  ac_status=$?
27139
 
  grep -v '^ *+' conftest.er1 >conftest.err
27140
 
  rm -f conftest.er1
27141
 
  cat conftest.err >&5
27142
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143
 
  (exit $ac_status); } && {
27144
 
         test -z "$ac_c_werror_flag" ||
27145
 
         test ! -s conftest.err
27146
 
       } && test -s conftest$ac_exeext &&
27147
 
       $as_test_x conftest$ac_exeext; then
27148
 
  ac_cv_lib_dl_dlopen=yes
27149
 
else
27150
 
  echo "$as_me: failed program was:" >&5
27151
 
sed 's/^/| /' conftest.$ac_ext >&5
27152
 
 
27153
 
        ac_cv_lib_dl_dlopen=no
27154
 
fi
27155
 
 
27156
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27157
 
      conftest$ac_exeext conftest.$ac_ext
27158
 
LIBS=$ac_check_lib_save_LIBS
27159
 
fi
27160
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27161
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
27162
 
if test $ac_cv_lib_dl_dlopen = yes; then
27163
 
 
27164
 
LIBDL="-ldl"
27165
 
ac_cv_have_dlfcn=yes
27166
 
 
27167
 
fi
27168
 
 
27169
 
 
27170
 
{ echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
27171
 
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6; }
27172
 
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
27173
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27174
 
else
27175
 
  ac_check_lib_save_LIBS=$LIBS
27176
 
LIBS="-ldld  $LIBS"
27177
 
cat >conftest.$ac_ext <<_ACEOF
27178
 
/* confdefs.h.  */
27179
 
_ACEOF
27180
 
cat confdefs.h >>conftest.$ac_ext
27181
 
cat >>conftest.$ac_ext <<_ACEOF
27182
 
/* end confdefs.h.  */
27183
 
 
27184
 
/* Override any GCC internal prototype to avoid an error.
27185
 
   Use char because int might match the return type of a GCC
27186
 
   builtin and then its argument prototype would still apply.  */
27187
 
#ifdef __cplusplus
27188
 
extern "C"
27189
 
#endif
27190
 
char shl_unload ();
27191
 
int
27192
 
main ()
27193
 
{
27194
 
return shl_unload ();
27195
 
  ;
27196
 
  return 0;
27197
 
}
27198
 
_ACEOF
27199
 
rm -f conftest.$ac_objext conftest$ac_exeext
27200
 
if { (ac_try="$ac_link"
27201
 
case "(($ac_try" in
27202
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27203
 
  *) ac_try_echo=$ac_try;;
27204
 
esac
27205
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27206
 
  (eval "$ac_link") 2>conftest.er1
27207
 
  ac_status=$?
27208
 
  grep -v '^ *+' conftest.er1 >conftest.err
27209
 
  rm -f conftest.er1
27210
 
  cat conftest.err >&5
27211
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212
 
  (exit $ac_status); } && {
27213
 
         test -z "$ac_c_werror_flag" ||
27214
 
         test ! -s conftest.err
27215
 
       } && test -s conftest$ac_exeext &&
27216
 
       $as_test_x conftest$ac_exeext; then
27217
 
  ac_cv_lib_dld_shl_unload=yes
27218
 
else
27219
 
  echo "$as_me: failed program was:" >&5
27220
 
sed 's/^/| /' conftest.$ac_ext >&5
27221
 
 
27222
 
        ac_cv_lib_dld_shl_unload=no
27223
 
fi
27224
 
 
27225
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27226
 
      conftest$ac_exeext conftest.$ac_ext
27227
 
LIBS=$ac_check_lib_save_LIBS
27228
 
fi
27229
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
27230
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6; }
27231
 
if test $ac_cv_lib_dld_shl_unload = yes; then
27232
 
 
27233
 
LIBDL="-ldld"
27234
 
ac_cv_have_shload=yes
27235
 
 
27236
 
fi
27237
 
 
27238
 
 
27239
 
 
27240
 
 
27241
 
 
27242
 
 
27243
 
 
27244
 
  { echo "$as_me:$LINENO: checking for size_t" >&5
27245
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
27246
 
if test "${ac_cv_type_size_t+set}" = set; then
27247
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27248
 
else
27249
 
  cat >conftest.$ac_ext <<_ACEOF
27250
 
/* confdefs.h.  */
27251
 
_ACEOF
27252
 
cat confdefs.h >>conftest.$ac_ext
27253
 
cat >>conftest.$ac_ext <<_ACEOF
27254
 
/* end confdefs.h.  */
27255
 
$ac_includes_default
27256
 
typedef size_t ac__type_new_;
27257
 
int
27258
 
main ()
27259
 
{
27260
 
if ((ac__type_new_ *) 0)
27261
 
  return 0;
27262
 
if (sizeof (ac__type_new_))
27263
 
  return 0;
27264
 
  ;
27265
 
  return 0;
27266
 
}
27267
 
_ACEOF
27268
 
rm -f conftest.$ac_objext
27269
 
if { (ac_try="$ac_compile"
27270
 
case "(($ac_try" in
27271
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27272
 
  *) ac_try_echo=$ac_try;;
27273
 
esac
27274
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27275
 
  (eval "$ac_compile") 2>conftest.er1
27276
 
  ac_status=$?
27277
 
  grep -v '^ *+' conftest.er1 >conftest.err
27278
 
  rm -f conftest.er1
27279
 
  cat conftest.err >&5
27280
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281
 
  (exit $ac_status); } && {
27282
 
         test -z "$ac_c_werror_flag" ||
27283
 
         test ! -s conftest.err
27284
 
       } && test -s conftest.$ac_objext; then
27285
 
  ac_cv_type_size_t=yes
27286
 
else
27287
 
  echo "$as_me: failed program was:" >&5
27288
 
sed 's/^/| /' conftest.$ac_ext >&5
27289
 
 
27290
 
        ac_cv_type_size_t=no
27291
 
fi
27292
 
 
27293
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27294
 
fi
27295
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27296
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
27297
 
 
27298
 
# The cast to long int works around a bug in the HP C Compiler
27299
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27300
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27301
 
# This bug is HP SR number 8606223364.
27302
 
{ echo "$as_me:$LINENO: checking size of size_t" >&5
27303
 
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
27304
 
if test "${ac_cv_sizeof_size_t+set}" = set; then
27305
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27306
 
else
27307
 
  if test "$cross_compiling" = yes; then
27308
 
  # Depending upon the size, compute the lo and hi bounds.
27309
 
cat >conftest.$ac_ext <<_ACEOF
27310
 
/* confdefs.h.  */
27311
 
_ACEOF
27312
 
cat confdefs.h >>conftest.$ac_ext
27313
 
cat >>conftest.$ac_ext <<_ACEOF
27314
 
/* end confdefs.h.  */
27315
 
$ac_includes_default
27316
 
   typedef size_t ac__type_sizeof_;
27317
 
int
27318
 
main ()
27319
 
{
27320
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27321
 
test_array [0] = 0
27322
 
 
27323
 
  ;
27324
 
  return 0;
27325
 
}
27326
 
_ACEOF
27327
 
rm -f conftest.$ac_objext
27328
 
if { (ac_try="$ac_compile"
27329
 
case "(($ac_try" in
27330
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27331
 
  *) ac_try_echo=$ac_try;;
27332
 
esac
27333
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27334
 
  (eval "$ac_compile") 2>conftest.er1
27335
 
  ac_status=$?
27336
 
  grep -v '^ *+' conftest.er1 >conftest.err
27337
 
  rm -f conftest.er1
27338
 
  cat conftest.err >&5
27339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27340
 
  (exit $ac_status); } && {
27341
 
         test -z "$ac_c_werror_flag" ||
27342
 
         test ! -s conftest.err
27343
 
       } && test -s conftest.$ac_objext; then
27344
 
  ac_lo=0 ac_mid=0
27345
 
  while :; do
27346
 
    cat >conftest.$ac_ext <<_ACEOF
27347
 
/* confdefs.h.  */
27348
 
_ACEOF
27349
 
cat confdefs.h >>conftest.$ac_ext
27350
 
cat >>conftest.$ac_ext <<_ACEOF
27351
 
/* end confdefs.h.  */
27352
 
$ac_includes_default
27353
 
   typedef size_t ac__type_sizeof_;
27354
 
int
27355
 
main ()
27356
 
{
27357
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27358
 
test_array [0] = 0
27359
 
 
27360
 
  ;
27361
 
  return 0;
27362
 
}
27363
 
_ACEOF
27364
 
rm -f conftest.$ac_objext
27365
 
if { (ac_try="$ac_compile"
27366
 
case "(($ac_try" in
27367
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368
 
  *) ac_try_echo=$ac_try;;
27369
 
esac
27370
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371
 
  (eval "$ac_compile") 2>conftest.er1
27372
 
  ac_status=$?
27373
 
  grep -v '^ *+' conftest.er1 >conftest.err
27374
 
  rm -f conftest.er1
27375
 
  cat conftest.err >&5
27376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377
 
  (exit $ac_status); } && {
27378
 
         test -z "$ac_c_werror_flag" ||
27379
 
         test ! -s conftest.err
27380
 
       } && test -s conftest.$ac_objext; then
27381
 
  ac_hi=$ac_mid; break
27382
 
else
27383
 
  echo "$as_me: failed program was:" >&5
27384
 
sed 's/^/| /' conftest.$ac_ext >&5
27385
 
 
27386
 
        ac_lo=`expr $ac_mid + 1`
27387
 
                        if test $ac_lo -le $ac_mid; then
27388
 
                          ac_lo= ac_hi=
27389
 
                          break
27390
 
                        fi
27391
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27392
 
fi
27393
 
 
27394
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27395
 
  done
27396
 
else
27397
 
  echo "$as_me: failed program was:" >&5
27398
 
sed 's/^/| /' conftest.$ac_ext >&5
27399
 
 
27400
 
        cat >conftest.$ac_ext <<_ACEOF
27401
 
/* confdefs.h.  */
27402
 
_ACEOF
27403
 
cat confdefs.h >>conftest.$ac_ext
27404
 
cat >>conftest.$ac_ext <<_ACEOF
27405
 
/* end confdefs.h.  */
27406
 
$ac_includes_default
27407
 
   typedef size_t ac__type_sizeof_;
27408
 
int
27409
 
main ()
27410
 
{
27411
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27412
 
test_array [0] = 0
27413
 
 
27414
 
  ;
27415
 
  return 0;
27416
 
}
27417
 
_ACEOF
27418
 
rm -f conftest.$ac_objext
27419
 
if { (ac_try="$ac_compile"
27420
 
case "(($ac_try" in
27421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27422
 
  *) ac_try_echo=$ac_try;;
27423
 
esac
27424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27425
 
  (eval "$ac_compile") 2>conftest.er1
27426
 
  ac_status=$?
27427
 
  grep -v '^ *+' conftest.er1 >conftest.err
27428
 
  rm -f conftest.er1
27429
 
  cat conftest.err >&5
27430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27431
 
  (exit $ac_status); } && {
27432
 
         test -z "$ac_c_werror_flag" ||
27433
 
         test ! -s conftest.err
27434
 
       } && test -s conftest.$ac_objext; then
27435
 
  ac_hi=-1 ac_mid=-1
27436
 
  while :; do
27437
 
    cat >conftest.$ac_ext <<_ACEOF
27438
 
/* confdefs.h.  */
27439
 
_ACEOF
27440
 
cat confdefs.h >>conftest.$ac_ext
27441
 
cat >>conftest.$ac_ext <<_ACEOF
27442
 
/* end confdefs.h.  */
27443
 
$ac_includes_default
27444
 
   typedef size_t ac__type_sizeof_;
27445
 
int
27446
 
main ()
27447
 
{
27448
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27449
 
test_array [0] = 0
27450
 
 
27451
 
  ;
27452
 
  return 0;
27453
 
}
27454
 
_ACEOF
27455
 
rm -f conftest.$ac_objext
27456
 
if { (ac_try="$ac_compile"
27457
 
case "(($ac_try" in
27458
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27459
 
  *) ac_try_echo=$ac_try;;
27460
 
esac
27461
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27462
 
  (eval "$ac_compile") 2>conftest.er1
27463
 
  ac_status=$?
27464
 
  grep -v '^ *+' conftest.er1 >conftest.err
27465
 
  rm -f conftest.er1
27466
 
  cat conftest.err >&5
27467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468
 
  (exit $ac_status); } && {
27469
 
         test -z "$ac_c_werror_flag" ||
27470
 
         test ! -s conftest.err
27471
 
       } && test -s conftest.$ac_objext; then
27472
 
  ac_lo=$ac_mid; break
27473
 
else
27474
 
  echo "$as_me: failed program was:" >&5
27475
 
sed 's/^/| /' conftest.$ac_ext >&5
27476
 
 
27477
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27478
 
                        if test $ac_mid -le $ac_hi; then
27479
 
                          ac_lo= ac_hi=
27480
 
                          break
27481
 
                        fi
27482
 
                        ac_mid=`expr 2 '*' $ac_mid`
27483
 
fi
27484
 
 
27485
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27486
 
  done
27487
 
else
27488
 
  echo "$as_me: failed program was:" >&5
27489
 
sed 's/^/| /' conftest.$ac_ext >&5
27490
 
 
27491
 
        ac_lo= ac_hi=
27492
 
fi
27493
 
 
27494
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27495
 
fi
27496
 
 
27497
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27498
 
# Binary search between lo and hi bounds.
27499
 
while test "x$ac_lo" != "x$ac_hi"; do
27500
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27501
 
  cat >conftest.$ac_ext <<_ACEOF
27502
 
/* confdefs.h.  */
27503
 
_ACEOF
27504
 
cat confdefs.h >>conftest.$ac_ext
27505
 
cat >>conftest.$ac_ext <<_ACEOF
27506
 
/* end confdefs.h.  */
27507
 
$ac_includes_default
27508
 
   typedef size_t ac__type_sizeof_;
27509
 
int
27510
 
main ()
27511
 
{
27512
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27513
 
test_array [0] = 0
27514
 
 
27515
 
  ;
27516
 
  return 0;
27517
 
}
27518
 
_ACEOF
27519
 
rm -f conftest.$ac_objext
27520
 
if { (ac_try="$ac_compile"
27521
 
case "(($ac_try" in
27522
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27523
 
  *) ac_try_echo=$ac_try;;
27524
 
esac
27525
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27526
 
  (eval "$ac_compile") 2>conftest.er1
27527
 
  ac_status=$?
27528
 
  grep -v '^ *+' conftest.er1 >conftest.err
27529
 
  rm -f conftest.er1
27530
 
  cat conftest.err >&5
27531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27532
 
  (exit $ac_status); } && {
27533
 
         test -z "$ac_c_werror_flag" ||
27534
 
         test ! -s conftest.err
27535
 
       } && test -s conftest.$ac_objext; then
27536
 
  ac_hi=$ac_mid
27537
 
else
27538
 
  echo "$as_me: failed program was:" >&5
27539
 
sed 's/^/| /' conftest.$ac_ext >&5
27540
 
 
27541
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
27542
 
fi
27543
 
 
27544
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27545
 
done
27546
 
case $ac_lo in
27547
 
?*) ac_cv_sizeof_size_t=$ac_lo;;
27548
 
'') if test "$ac_cv_type_size_t" = yes; then
27549
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27550
 
See \`config.log' for more details." >&5
27551
 
echo "$as_me: error: cannot compute sizeof (size_t)
27552
 
See \`config.log' for more details." >&2;}
27553
 
   { (exit 77); exit 77; }; }
27554
 
   else
27555
 
     ac_cv_sizeof_size_t=0
27556
 
   fi ;;
27557
 
esac
27558
 
else
27559
 
  cat >conftest.$ac_ext <<_ACEOF
27560
 
/* confdefs.h.  */
27561
 
_ACEOF
27562
 
cat confdefs.h >>conftest.$ac_ext
27563
 
cat >>conftest.$ac_ext <<_ACEOF
27564
 
/* end confdefs.h.  */
27565
 
$ac_includes_default
27566
 
   typedef size_t ac__type_sizeof_;
27567
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27568
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27569
 
#include <stdio.h>
27570
 
#include <stdlib.h>
27571
 
int
27572
 
main ()
27573
 
{
27574
 
 
27575
 
  FILE *f = fopen ("conftest.val", "w");
27576
 
  if (! f)
27577
 
    return 1;
27578
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27579
 
    {
27580
 
      long int i = longval ();
27581
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27582
 
        return 1;
27583
 
      fprintf (f, "%ld\n", i);
27584
 
    }
27585
 
  else
27586
 
    {
27587
 
      unsigned long int i = ulongval ();
27588
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27589
 
        return 1;
27590
 
      fprintf (f, "%lu\n", i);
27591
 
    }
27592
 
  return ferror (f) || fclose (f) != 0;
27593
 
 
27594
 
  ;
27595
 
  return 0;
27596
 
}
27597
 
_ACEOF
27598
 
rm -f conftest$ac_exeext
27599
 
if { (ac_try="$ac_link"
27600
 
case "(($ac_try" in
27601
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27602
 
  *) ac_try_echo=$ac_try;;
27603
 
esac
27604
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27605
 
  (eval "$ac_link") 2>&5
27606
 
  ac_status=$?
27607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27609
 
  { (case "(($ac_try" in
27610
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27611
 
  *) ac_try_echo=$ac_try;;
27612
 
esac
27613
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27614
 
  (eval "$ac_try") 2>&5
27615
 
  ac_status=$?
27616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27617
 
  (exit $ac_status); }; }; then
27618
 
  ac_cv_sizeof_size_t=`cat conftest.val`
27619
 
else
27620
 
  echo "$as_me: program exited with status $ac_status" >&5
27621
 
echo "$as_me: failed program was:" >&5
27622
 
sed 's/^/| /' conftest.$ac_ext >&5
27623
 
 
27624
 
( exit $ac_status )
27625
 
if test "$ac_cv_type_size_t" = yes; then
27626
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27627
 
See \`config.log' for more details." >&5
27628
 
echo "$as_me: error: cannot compute sizeof (size_t)
27629
 
See \`config.log' for more details." >&2;}
27630
 
   { (exit 77); exit 77; }; }
27631
 
   else
27632
 
     ac_cv_sizeof_size_t=0
27633
 
   fi
27634
 
fi
27635
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27636
 
fi
27637
 
rm -f conftest.val
27638
 
fi
27639
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
27640
 
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
27641
 
 
27642
 
 
27643
 
 
27644
 
cat >>confdefs.h <<_ACEOF
27645
 
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
27646
 
_ACEOF
27647
 
 
27648
 
 
27649
 
  { echo "$as_me:$LINENO: checking for unsigned long" >&5
27650
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
27651
 
if test "${ac_cv_type_unsigned_long+set}" = set; then
27652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27653
 
else
27654
 
  cat >conftest.$ac_ext <<_ACEOF
27655
 
/* confdefs.h.  */
27656
 
_ACEOF
27657
 
cat confdefs.h >>conftest.$ac_ext
27658
 
cat >>conftest.$ac_ext <<_ACEOF
27659
 
/* end confdefs.h.  */
27660
 
$ac_includes_default
27661
 
typedef unsigned long ac__type_new_;
27662
 
int
27663
 
main ()
27664
 
{
27665
 
if ((ac__type_new_ *) 0)
27666
 
  return 0;
27667
 
if (sizeof (ac__type_new_))
27668
 
  return 0;
27669
 
  ;
27670
 
  return 0;
27671
 
}
27672
 
_ACEOF
27673
 
rm -f conftest.$ac_objext
27674
 
if { (ac_try="$ac_compile"
27675
 
case "(($ac_try" in
27676
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27677
 
  *) ac_try_echo=$ac_try;;
27678
 
esac
27679
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27680
 
  (eval "$ac_compile") 2>conftest.er1
27681
 
  ac_status=$?
27682
 
  grep -v '^ *+' conftest.er1 >conftest.err
27683
 
  rm -f conftest.er1
27684
 
  cat conftest.err >&5
27685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27686
 
  (exit $ac_status); } && {
27687
 
         test -z "$ac_c_werror_flag" ||
27688
 
         test ! -s conftest.err
27689
 
       } && test -s conftest.$ac_objext; then
27690
 
  ac_cv_type_unsigned_long=yes
27691
 
else
27692
 
  echo "$as_me: failed program was:" >&5
27693
 
sed 's/^/| /' conftest.$ac_ext >&5
27694
 
 
27695
 
        ac_cv_type_unsigned_long=no
27696
 
fi
27697
 
 
27698
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27699
 
fi
27700
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
27701
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
27702
 
 
27703
 
# The cast to long int works around a bug in the HP C Compiler
27704
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27705
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27706
 
# This bug is HP SR number 8606223364.
27707
 
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
27708
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
27709
 
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
27710
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27711
 
else
27712
 
  if test "$cross_compiling" = yes; then
27713
 
  # Depending upon the size, compute the lo and hi bounds.
27714
 
cat >conftest.$ac_ext <<_ACEOF
27715
 
/* confdefs.h.  */
27716
 
_ACEOF
27717
 
cat confdefs.h >>conftest.$ac_ext
27718
 
cat >>conftest.$ac_ext <<_ACEOF
27719
 
/* end confdefs.h.  */
27720
 
$ac_includes_default
27721
 
   typedef unsigned long ac__type_sizeof_;
27722
 
int
27723
 
main ()
27724
 
{
27725
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27726
 
test_array [0] = 0
27727
 
 
27728
 
  ;
27729
 
  return 0;
27730
 
}
27731
 
_ACEOF
27732
 
rm -f conftest.$ac_objext
27733
 
if { (ac_try="$ac_compile"
27734
 
case "(($ac_try" in
27735
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27736
 
  *) ac_try_echo=$ac_try;;
27737
 
esac
27738
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27739
 
  (eval "$ac_compile") 2>conftest.er1
27740
 
  ac_status=$?
27741
 
  grep -v '^ *+' conftest.er1 >conftest.err
27742
 
  rm -f conftest.er1
27743
 
  cat conftest.err >&5
27744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745
 
  (exit $ac_status); } && {
27746
 
         test -z "$ac_c_werror_flag" ||
27747
 
         test ! -s conftest.err
27748
 
       } && test -s conftest.$ac_objext; then
27749
 
  ac_lo=0 ac_mid=0
27750
 
  while :; do
27751
 
    cat >conftest.$ac_ext <<_ACEOF
27752
 
/* confdefs.h.  */
27753
 
_ACEOF
27754
 
cat confdefs.h >>conftest.$ac_ext
27755
 
cat >>conftest.$ac_ext <<_ACEOF
27756
 
/* end confdefs.h.  */
27757
 
$ac_includes_default
27758
 
   typedef unsigned long ac__type_sizeof_;
27759
 
int
27760
 
main ()
27761
 
{
27762
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27763
 
test_array [0] = 0
27764
 
 
27765
 
  ;
27766
 
  return 0;
27767
 
}
27768
 
_ACEOF
27769
 
rm -f conftest.$ac_objext
27770
 
if { (ac_try="$ac_compile"
27771
 
case "(($ac_try" in
27772
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27773
 
  *) ac_try_echo=$ac_try;;
27774
 
esac
27775
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27776
 
  (eval "$ac_compile") 2>conftest.er1
27777
 
  ac_status=$?
27778
 
  grep -v '^ *+' conftest.er1 >conftest.err
27779
 
  rm -f conftest.er1
27780
 
  cat conftest.err >&5
27781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782
 
  (exit $ac_status); } && {
27783
 
         test -z "$ac_c_werror_flag" ||
27784
 
         test ! -s conftest.err
27785
 
       } && test -s conftest.$ac_objext; then
27786
 
  ac_hi=$ac_mid; break
27787
 
else
27788
 
  echo "$as_me: failed program was:" >&5
27789
 
sed 's/^/| /' conftest.$ac_ext >&5
27790
 
 
27791
 
        ac_lo=`expr $ac_mid + 1`
27792
 
                        if test $ac_lo -le $ac_mid; then
27793
 
                          ac_lo= ac_hi=
27794
 
                          break
27795
 
                        fi
27796
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27797
 
fi
27798
 
 
27799
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27800
 
  done
27801
 
else
27802
 
  echo "$as_me: failed program was:" >&5
27803
 
sed 's/^/| /' conftest.$ac_ext >&5
27804
 
 
27805
 
        cat >conftest.$ac_ext <<_ACEOF
27806
 
/* confdefs.h.  */
27807
 
_ACEOF
27808
 
cat confdefs.h >>conftest.$ac_ext
27809
 
cat >>conftest.$ac_ext <<_ACEOF
27810
 
/* end confdefs.h.  */
27811
 
$ac_includes_default
27812
 
   typedef unsigned long ac__type_sizeof_;
27813
 
int
27814
 
main ()
27815
 
{
27816
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27817
 
test_array [0] = 0
27818
 
 
27819
 
  ;
27820
 
  return 0;
27821
 
}
27822
 
_ACEOF
27823
 
rm -f conftest.$ac_objext
27824
 
if { (ac_try="$ac_compile"
27825
 
case "(($ac_try" in
27826
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27827
 
  *) ac_try_echo=$ac_try;;
27828
 
esac
27829
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27830
 
  (eval "$ac_compile") 2>conftest.er1
27831
 
  ac_status=$?
27832
 
  grep -v '^ *+' conftest.er1 >conftest.err
27833
 
  rm -f conftest.er1
27834
 
  cat conftest.err >&5
27835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27836
 
  (exit $ac_status); } && {
27837
 
         test -z "$ac_c_werror_flag" ||
27838
 
         test ! -s conftest.err
27839
 
       } && test -s conftest.$ac_objext; then
27840
 
  ac_hi=-1 ac_mid=-1
27841
 
  while :; do
27842
 
    cat >conftest.$ac_ext <<_ACEOF
27843
 
/* confdefs.h.  */
27844
 
_ACEOF
27845
 
cat confdefs.h >>conftest.$ac_ext
27846
 
cat >>conftest.$ac_ext <<_ACEOF
27847
 
/* end confdefs.h.  */
27848
 
$ac_includes_default
27849
 
   typedef unsigned long ac__type_sizeof_;
27850
 
int
27851
 
main ()
27852
 
{
27853
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27854
 
test_array [0] = 0
27855
 
 
27856
 
  ;
27857
 
  return 0;
27858
 
}
27859
 
_ACEOF
27860
 
rm -f conftest.$ac_objext
27861
 
if { (ac_try="$ac_compile"
27862
 
case "(($ac_try" in
27863
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27864
 
  *) ac_try_echo=$ac_try;;
27865
 
esac
27866
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27867
 
  (eval "$ac_compile") 2>conftest.er1
27868
 
  ac_status=$?
27869
 
  grep -v '^ *+' conftest.er1 >conftest.err
27870
 
  rm -f conftest.er1
27871
 
  cat conftest.err >&5
27872
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27873
 
  (exit $ac_status); } && {
27874
 
         test -z "$ac_c_werror_flag" ||
27875
 
         test ! -s conftest.err
27876
 
       } && test -s conftest.$ac_objext; then
27877
 
  ac_lo=$ac_mid; break
27878
 
else
27879
 
  echo "$as_me: failed program was:" >&5
27880
 
sed 's/^/| /' conftest.$ac_ext >&5
27881
 
 
27882
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27883
 
                        if test $ac_mid -le $ac_hi; then
27884
 
                          ac_lo= ac_hi=
27885
 
                          break
27886
 
                        fi
27887
 
                        ac_mid=`expr 2 '*' $ac_mid`
27888
 
fi
27889
 
 
27890
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27891
 
  done
27892
 
else
27893
 
  echo "$as_me: failed program was:" >&5
27894
 
sed 's/^/| /' conftest.$ac_ext >&5
27895
 
 
27896
 
        ac_lo= ac_hi=
27897
 
fi
27898
 
 
27899
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27900
 
fi
27901
 
 
27902
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27903
 
# Binary search between lo and hi bounds.
27904
 
while test "x$ac_lo" != "x$ac_hi"; do
27905
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27906
 
  cat >conftest.$ac_ext <<_ACEOF
27907
 
/* confdefs.h.  */
27908
 
_ACEOF
27909
 
cat confdefs.h >>conftest.$ac_ext
27910
 
cat >>conftest.$ac_ext <<_ACEOF
27911
 
/* end confdefs.h.  */
27912
 
$ac_includes_default
27913
 
   typedef unsigned long ac__type_sizeof_;
27914
 
int
27915
 
main ()
27916
 
{
27917
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27918
 
test_array [0] = 0
27919
 
 
27920
 
  ;
27921
 
  return 0;
27922
 
}
27923
 
_ACEOF
27924
 
rm -f conftest.$ac_objext
27925
 
if { (ac_try="$ac_compile"
27926
 
case "(($ac_try" in
27927
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27928
 
  *) ac_try_echo=$ac_try;;
27929
 
esac
27930
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27931
 
  (eval "$ac_compile") 2>conftest.er1
27932
 
  ac_status=$?
27933
 
  grep -v '^ *+' conftest.er1 >conftest.err
27934
 
  rm -f conftest.er1
27935
 
  cat conftest.err >&5
27936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937
 
  (exit $ac_status); } && {
27938
 
         test -z "$ac_c_werror_flag" ||
27939
 
         test ! -s conftest.err
27940
 
       } && test -s conftest.$ac_objext; then
27941
 
  ac_hi=$ac_mid
27942
 
else
27943
 
  echo "$as_me: failed program was:" >&5
27944
 
sed 's/^/| /' conftest.$ac_ext >&5
27945
 
 
27946
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
27947
 
fi
27948
 
 
27949
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27950
 
done
27951
 
case $ac_lo in
27952
 
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
27953
 
'') if test "$ac_cv_type_unsigned_long" = yes; then
27954
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
27955
 
See \`config.log' for more details." >&5
27956
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
27957
 
See \`config.log' for more details." >&2;}
27958
 
   { (exit 77); exit 77; }; }
27959
 
   else
27960
 
     ac_cv_sizeof_unsigned_long=0
27961
 
   fi ;;
27962
 
esac
27963
 
else
27964
 
  cat >conftest.$ac_ext <<_ACEOF
27965
 
/* confdefs.h.  */
27966
 
_ACEOF
27967
 
cat confdefs.h >>conftest.$ac_ext
27968
 
cat >>conftest.$ac_ext <<_ACEOF
27969
 
/* end confdefs.h.  */
27970
 
$ac_includes_default
27971
 
   typedef unsigned long ac__type_sizeof_;
27972
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27973
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27974
 
#include <stdio.h>
27975
 
#include <stdlib.h>
27976
 
int
27977
 
main ()
27978
 
{
27979
 
 
27980
 
  FILE *f = fopen ("conftest.val", "w");
27981
 
  if (! f)
27982
 
    return 1;
27983
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27984
 
    {
27985
 
      long int i = longval ();
27986
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27987
 
        return 1;
27988
 
      fprintf (f, "%ld\n", i);
27989
 
    }
27990
 
  else
27991
 
    {
27992
 
      unsigned long int i = ulongval ();
27993
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27994
 
        return 1;
27995
 
      fprintf (f, "%lu\n", i);
27996
 
    }
27997
 
  return ferror (f) || fclose (f) != 0;
27998
 
 
27999
 
  ;
28000
 
  return 0;
28001
 
}
28002
 
_ACEOF
28003
 
rm -f conftest$ac_exeext
28004
 
if { (ac_try="$ac_link"
28005
 
case "(($ac_try" in
28006
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28007
 
  *) ac_try_echo=$ac_try;;
28008
 
esac
28009
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28010
 
  (eval "$ac_link") 2>&5
28011
 
  ac_status=$?
28012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28014
 
  { (case "(($ac_try" in
28015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28016
 
  *) ac_try_echo=$ac_try;;
28017
 
esac
28018
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28019
 
  (eval "$ac_try") 2>&5
28020
 
  ac_status=$?
28021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28022
 
  (exit $ac_status); }; }; then
28023
 
  ac_cv_sizeof_unsigned_long=`cat conftest.val`
28024
 
else
28025
 
  echo "$as_me: program exited with status $ac_status" >&5
28026
 
echo "$as_me: failed program was:" >&5
28027
 
sed 's/^/| /' conftest.$ac_ext >&5
28028
 
 
28029
 
( exit $ac_status )
28030
 
if test "$ac_cv_type_unsigned_long" = yes; then
28031
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28032
 
See \`config.log' for more details." >&5
28033
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
28034
 
See \`config.log' for more details." >&2;}
28035
 
   { (exit 77); exit 77; }; }
28036
 
   else
28037
 
     ac_cv_sizeof_unsigned_long=0
28038
 
   fi
28039
 
fi
28040
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28041
 
fi
28042
 
rm -f conftest.val
28043
 
fi
28044
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
28045
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
28046
 
 
28047
 
 
28048
 
 
28049
 
cat >>confdefs.h <<_ACEOF
28050
 
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
28051
 
_ACEOF
28052
 
 
28053
 
 
28054
 
 
28055
 
  { echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
28056
 
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6; }
28057
 
  cat >conftest.$ac_ext <<_ACEOF
28058
 
/* confdefs.h.  */
28059
 
_ACEOF
28060
 
cat confdefs.h >>conftest.$ac_ext
28061
 
cat >>conftest.$ac_ext <<_ACEOF
28062
 
/* end confdefs.h.  */
28063
 
 
28064
 
int
28065
 
main ()
28066
 
{
28067
 
 
28068
 
    #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
28069
 
       choke me
28070
 
    #endif
28071
 
 
28072
 
  ;
28073
 
  return 0;
28074
 
}
28075
 
_ACEOF
28076
 
rm -f conftest.$ac_objext
28077
 
if { (ac_try="$ac_compile"
28078
 
case "(($ac_try" in
28079
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28080
 
  *) ac_try_echo=$ac_try;;
28081
 
esac
28082
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28083
 
  (eval "$ac_compile") 2>conftest.er1
28084
 
  ac_status=$?
28085
 
  grep -v '^ *+' conftest.er1 >conftest.err
28086
 
  rm -f conftest.er1
28087
 
  cat conftest.err >&5
28088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089
 
  (exit $ac_status); } && {
28090
 
         test -z "$ac_c_werror_flag" ||
28091
 
         test ! -s conftest.err
28092
 
       } && test -s conftest.$ac_objext; then
28093
 
  { echo "$as_me:$LINENO: result: yes" >&5
28094
 
echo "${ECHO_T}yes" >&6; }
28095
 
else
28096
 
  echo "$as_me: failed program was:" >&5
28097
 
sed 's/^/| /' conftest.$ac_ext >&5
28098
 
 
28099
 
 
28100
 
      { echo "$as_me:$LINENO: result: no" >&5
28101
 
echo "${ECHO_T}no" >&6; }
28102
 
      { { echo "$as_me:$LINENO: error:
28103
 
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28104
 
       does not apply. Please mail kde-devel@kde.org with a description of your system!
28105
 
      " >&5
28106
 
echo "$as_me: error:
28107
 
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28108
 
       does not apply. Please mail kde-devel@kde.org with a description of your system!
28109
 
      " >&2;}
28110
 
   { (exit 1); exit 1; }; }
28111
 
 
28112
 
fi
28113
 
 
28114
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28115
 
 
28116
 
 
28117
 
  { echo "$as_me:$LINENO: checking for PIE support" >&5
28118
 
echo $ECHO_N "checking for PIE support... $ECHO_C" >&6; }
28119
 
if test "${kde_cv_val_pie_support+set}" = set; then
28120
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28121
 
else
28122
 
 
28123
 
 
28124
 
     ac_ext=cpp
28125
 
ac_cpp='$CXXCPP $CPPFLAGS'
28126
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28127
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28128
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28129
 
 
28130
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28131
 
 
28132
 
 
28133
 
    safe_CXXFLAGS=$CXXFLAGS
28134
 
    safe_LDFLAGS=$LDFLAGS
28135
 
    CXXFLAGS="$CXXFLAGS -fPIE"
28136
 
    LDFLAGS="$LDFLAGS -pie"
28137
 
 
28138
 
    cat >conftest.$ac_ext <<_ACEOF
28139
 
/* confdefs.h.  */
28140
 
_ACEOF
28141
 
cat confdefs.h >>conftest.$ac_ext
28142
 
cat >>conftest.$ac_ext <<_ACEOF
28143
 
/* end confdefs.h.  */
28144
 
int foo;
28145
 
int
28146
 
main ()
28147
 
{
28148
 
 
28149
 
  ;
28150
 
  return 0;
28151
 
}
28152
 
_ACEOF
28153
 
rm -f conftest.$ac_objext conftest$ac_exeext
28154
 
if { (ac_try="$ac_link"
28155
 
case "(($ac_try" in
28156
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28157
 
  *) ac_try_echo=$ac_try;;
28158
 
esac
28159
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28160
 
  (eval "$ac_link") 2>conftest.er1
28161
 
  ac_status=$?
28162
 
  grep -v '^ *+' conftest.er1 >conftest.err
28163
 
  rm -f conftest.er1
28164
 
  cat conftest.err >&5
28165
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166
 
  (exit $ac_status); } && {
28167
 
         test -z "$ac_cxx_werror_flag" ||
28168
 
         test ! -s conftest.err
28169
 
       } && test -s conftest$ac_exeext &&
28170
 
       $as_test_x conftest$ac_exeext; then
28171
 
  kde_cv_val_pie_support=yes
28172
 
else
28173
 
  echo "$as_me: failed program was:" >&5
28174
 
sed 's/^/| /' conftest.$ac_ext >&5
28175
 
 
28176
 
        kde_cv_val_pie_support=no
28177
 
fi
28178
 
 
28179
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28180
 
      conftest$ac_exeext conftest.$ac_ext
28181
 
 
28182
 
    CXXFLAGS=$safe_CXXFLAGS
28183
 
    LDFLAGS=$safe_LDFLAGS
28184
 
    ac_ext=c
28185
 
ac_cpp='$CPP $CPPFLAGS'
28186
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28187
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28188
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28189
 
 
28190
 
 
28191
 
fi
28192
 
{ echo "$as_me:$LINENO: result: $kde_cv_val_pie_support" >&5
28193
 
echo "${ECHO_T}$kde_cv_val_pie_support" >&6; }
28194
 
 
28195
 
  { echo "$as_me:$LINENO: checking if enabling -pie/fPIE support" >&5
28196
 
echo $ECHO_N "checking if enabling -pie/fPIE support... $ECHO_C" >&6; }
28197
 
 
28198
 
  # Check whether --enable-pie was given.
28199
 
if test "${enable_pie+set}" = set; then
28200
 
  enableval=$enable_pie; kde_has_pie_support=$enableval
28201
 
else
28202
 
  kde_has_pie_support=detect
28203
 
fi
28204
 
 
28205
 
 
28206
 
  if test "$kde_has_pie_support" = "detect"; then
28207
 
    kde_has_pie_support=$kde_cv_val_pie_support
28208
 
  fi
28209
 
 
28210
 
  { echo "$as_me:$LINENO: result: $kde_has_pie_support" >&5
28211
 
echo "${ECHO_T}$kde_has_pie_support" >&6; }
28212
 
 
28213
 
  KDE_USE_FPIE=""
28214
 
  KDE_USE_PIE=""
28215
 
 
28216
 
 
28217
 
 
28218
 
 
28219
 
  if test "$kde_has_pie_support" = "yes"; then
28220
 
    KDE_USE_FPIE="-fPIE"
28221
 
    KDE_USE_PIE="-pie"
28222
 
  fi
28223
 
 
28224
 
 
28225
 
# darwin needs this to initialize the environment
28226
 
 
28227
 
for ac_header in crt_externs.h
28228
 
do
28229
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28230
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28231
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
28232
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28233
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28234
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28235
 
fi
28236
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28237
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28238
 
echo "${ECHO_T}$ac_res" >&6; }
28239
 
else
28240
 
  # Is the header compilable?
28241
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28242
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28243
 
cat >conftest.$ac_ext <<_ACEOF
28244
 
/* confdefs.h.  */
28245
 
_ACEOF
28246
 
cat confdefs.h >>conftest.$ac_ext
28247
 
cat >>conftest.$ac_ext <<_ACEOF
28248
 
/* end confdefs.h.  */
28249
 
$ac_includes_default
28250
 
#include <$ac_header>
28251
 
_ACEOF
28252
 
rm -f conftest.$ac_objext
28253
 
if { (ac_try="$ac_compile"
28254
 
case "(($ac_try" in
28255
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28256
 
  *) ac_try_echo=$ac_try;;
28257
 
esac
28258
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28259
 
  (eval "$ac_compile") 2>conftest.er1
28260
 
  ac_status=$?
28261
 
  grep -v '^ *+' conftest.er1 >conftest.err
28262
 
  rm -f conftest.er1
28263
 
  cat conftest.err >&5
28264
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28265
 
  (exit $ac_status); } && {
28266
 
         test -z "$ac_c_werror_flag" ||
28267
 
         test ! -s conftest.err
28268
 
       } && test -s conftest.$ac_objext; then
28269
 
  ac_header_compiler=yes
28270
 
else
28271
 
  echo "$as_me: failed program was:" >&5
28272
 
sed 's/^/| /' conftest.$ac_ext >&5
28273
 
 
28274
 
        ac_header_compiler=no
28275
 
fi
28276
 
 
28277
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28278
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28279
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
28280
 
 
28281
 
# Is the header present?
28282
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28283
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28284
 
cat >conftest.$ac_ext <<_ACEOF
28285
 
/* confdefs.h.  */
28286
 
_ACEOF
28287
 
cat confdefs.h >>conftest.$ac_ext
28288
 
cat >>conftest.$ac_ext <<_ACEOF
28289
 
/* end confdefs.h.  */
28290
 
#include <$ac_header>
28291
 
_ACEOF
28292
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28293
 
case "(($ac_try" in
28294
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28295
 
  *) ac_try_echo=$ac_try;;
28296
 
esac
28297
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28298
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28299
 
  ac_status=$?
28300
 
  grep -v '^ *+' conftest.er1 >conftest.err
28301
 
  rm -f conftest.er1
28302
 
  cat conftest.err >&5
28303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304
 
  (exit $ac_status); } >/dev/null && {
28305
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28306
 
         test ! -s conftest.err
28307
 
       }; then
28308
 
  ac_header_preproc=yes
28309
 
else
28310
 
  echo "$as_me: failed program was:" >&5
28311
 
sed 's/^/| /' conftest.$ac_ext >&5
28312
 
 
28313
 
  ac_header_preproc=no
28314
 
fi
28315
 
 
28316
 
rm -f conftest.err conftest.$ac_ext
28317
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28318
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
28319
 
 
28320
 
# So?  What about this header?
28321
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28322
 
  yes:no: )
28323
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28324
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28325
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28326
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28327
 
    ac_header_preproc=yes
28328
 
    ;;
28329
 
  no:yes:* )
28330
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28331
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28332
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28333
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28334
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28335
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28336
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28337
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28338
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28339
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28340
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28341
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28342
 
 
28343
 
    ;;
28344
 
esac
28345
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28346
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28347
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28348
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28349
 
else
28350
 
  eval "$as_ac_Header=\$ac_header_preproc"
28351
 
fi
28352
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28353
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28354
 
echo "${ECHO_T}$ac_res" >&6; }
28355
 
 
28356
 
fi
28357
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
28358
 
  cat >>confdefs.h <<_ACEOF
28359
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28360
 
_ACEOF
28361
 
 
28362
 
fi
28363
 
 
28364
 
done
28365
 
 
28366
 
{ echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
28367
 
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6; }
28368
 
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
28369
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28370
 
else
28371
 
  cat >conftest.$ac_ext <<_ACEOF
28372
 
/* confdefs.h.  */
28373
 
_ACEOF
28374
 
cat confdefs.h >>conftest.$ac_ext
28375
 
cat >>conftest.$ac_ext <<_ACEOF
28376
 
/* end confdefs.h.  */
28377
 
/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
28378
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28379
 
#define _NSGetEnviron innocuous__NSGetEnviron
28380
 
 
28381
 
/* System header to define __stub macros and hopefully few prototypes,
28382
 
    which can conflict with char _NSGetEnviron (); below.
28383
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28384
 
    <limits.h> exists even on freestanding compilers.  */
28385
 
 
28386
 
#ifdef __STDC__
28387
 
# include <limits.h>
28388
 
#else
28389
 
# include <assert.h>
28390
 
#endif
28391
 
 
28392
 
#undef _NSGetEnviron
28393
 
 
28394
 
/* Override any GCC internal prototype to avoid an error.
28395
 
   Use char because int might match the return type of a GCC
28396
 
   builtin and then its argument prototype would still apply.  */
28397
 
#ifdef __cplusplus
28398
 
extern "C"
28399
 
#endif
28400
 
char _NSGetEnviron ();
28401
 
/* The GNU C library defines this for functions which it implements
28402
 
    to always fail with ENOSYS.  Some functions are actually named
28403
 
    something starting with __ and the normal name is an alias.  */
28404
 
#if defined __stub__NSGetEnviron || defined __stub____NSGetEnviron
28405
 
choke me
28406
 
#endif
28407
 
 
28408
 
int
28409
 
main ()
28410
 
{
28411
 
return _NSGetEnviron ();
28412
 
  ;
28413
 
  return 0;
28414
 
}
28415
 
_ACEOF
28416
 
rm -f conftest.$ac_objext conftest$ac_exeext
28417
 
if { (ac_try="$ac_link"
28418
 
case "(($ac_try" in
28419
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28420
 
  *) ac_try_echo=$ac_try;;
28421
 
esac
28422
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28423
 
  (eval "$ac_link") 2>conftest.er1
28424
 
  ac_status=$?
28425
 
  grep -v '^ *+' conftest.er1 >conftest.err
28426
 
  rm -f conftest.er1
28427
 
  cat conftest.err >&5
28428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28429
 
  (exit $ac_status); } && {
28430
 
         test -z "$ac_c_werror_flag" ||
28431
 
         test ! -s conftest.err
28432
 
       } && test -s conftest$ac_exeext &&
28433
 
       $as_test_x conftest$ac_exeext; then
28434
 
  ac_cv_func__NSGetEnviron=yes
28435
 
else
28436
 
  echo "$as_me: failed program was:" >&5
28437
 
sed 's/^/| /' conftest.$ac_ext >&5
28438
 
 
28439
 
        ac_cv_func__NSGetEnviron=no
28440
 
fi
28441
 
 
28442
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28443
 
      conftest$ac_exeext conftest.$ac_ext
28444
 
fi
28445
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
28446
 
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6; }
28447
 
if test $ac_cv_func__NSGetEnviron = yes; then
28448
 
 
28449
 
cat >>confdefs.h <<\_ACEOF
28450
 
#define HAVE_NSGETENVIRON 1
28451
 
_ACEOF
28452
 
 
28453
 
fi
28454
 
 
28455
 
 
28456
 
 
28457
 
 
28458
 
 
28459
 
 
28460
 
 
28461
 
 
28462
 
 
28463
 
 
28464
 
for ac_func in vsnprintf snprintf
28465
 
do
28466
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28467
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28468
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28469
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28470
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28471
 
else
28472
 
  cat >conftest.$ac_ext <<_ACEOF
28473
 
/* confdefs.h.  */
28474
 
_ACEOF
28475
 
cat confdefs.h >>conftest.$ac_ext
28476
 
cat >>conftest.$ac_ext <<_ACEOF
28477
 
/* end confdefs.h.  */
28478
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28479
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28480
 
#define $ac_func innocuous_$ac_func
28481
 
 
28482
 
/* System header to define __stub macros and hopefully few prototypes,
28483
 
    which can conflict with char $ac_func (); below.
28484
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28485
 
    <limits.h> exists even on freestanding compilers.  */
28486
 
 
28487
 
#ifdef __STDC__
28488
 
# include <limits.h>
28489
 
#else
28490
 
# include <assert.h>
28491
 
#endif
28492
 
 
28493
 
#undef $ac_func
28494
 
 
28495
 
/* Override any GCC internal prototype to avoid an error.
28496
 
   Use char because int might match the return type of a GCC
28497
 
   builtin and then its argument prototype would still apply.  */
28498
 
#ifdef __cplusplus
28499
 
extern "C"
28500
 
#endif
28501
 
char $ac_func ();
28502
 
/* The GNU C library defines this for functions which it implements
28503
 
    to always fail with ENOSYS.  Some functions are actually named
28504
 
    something starting with __ and the normal name is an alias.  */
28505
 
#if defined __stub_$ac_func || defined __stub___$ac_func
28506
 
choke me
28507
 
#endif
28508
 
 
28509
 
int
28510
 
main ()
28511
 
{
28512
 
return $ac_func ();
28513
 
  ;
28514
 
  return 0;
28515
 
}
28516
 
_ACEOF
28517
 
rm -f conftest.$ac_objext conftest$ac_exeext
28518
 
if { (ac_try="$ac_link"
28519
 
case "(($ac_try" in
28520
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28521
 
  *) ac_try_echo=$ac_try;;
28522
 
esac
28523
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28524
 
  (eval "$ac_link") 2>conftest.er1
28525
 
  ac_status=$?
28526
 
  grep -v '^ *+' conftest.er1 >conftest.err
28527
 
  rm -f conftest.er1
28528
 
  cat conftest.err >&5
28529
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530
 
  (exit $ac_status); } && {
28531
 
         test -z "$ac_c_werror_flag" ||
28532
 
         test ! -s conftest.err
28533
 
       } && test -s conftest$ac_exeext &&
28534
 
       $as_test_x conftest$ac_exeext; then
28535
 
  eval "$as_ac_var=yes"
28536
 
else
28537
 
  echo "$as_me: failed program was:" >&5
28538
 
sed 's/^/| /' conftest.$ac_ext >&5
28539
 
 
28540
 
        eval "$as_ac_var=no"
28541
 
fi
28542
 
 
28543
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28544
 
      conftest$ac_exeext conftest.$ac_ext
28545
 
fi
28546
 
ac_res=`eval echo '${'$as_ac_var'}'`
28547
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28548
 
echo "${ECHO_T}$ac_res" >&6; }
28549
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
28550
 
  cat >>confdefs.h <<_ACEOF
28551
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28552
 
_ACEOF
28553
 
 
28554
 
fi
28555
 
done
28556
 
 
28557
 
 
28558
 
 
28559
 
 
28560
 
 
28561
 
 
28562
 
 
28563
 
 
28564
 
 
28565
 
# Check whether --enable-embedded was given.
28566
 
if test "${enable_embedded+set}" = set; then
28567
 
  enableval=$enable_embedded; kde_use_qt_emb=$enableval
28568
 
else
28569
 
  kde_use_qt_emb=no
28570
 
 
28571
 
fi
28572
 
 
28573
 
 
28574
 
# Check whether --enable-qtopia was given.
28575
 
if test "${enable_qtopia+set}" = set; then
28576
 
  enableval=$enable_qtopia; kde_use_qt_emb_palm=$enableval
28577
 
else
28578
 
  kde_use_qt_emb_palm=no
28579
 
 
28580
 
fi
28581
 
 
28582
 
 
28583
 
# Check whether --enable-mac was given.
28584
 
if test "${enable_mac+set}" = set; then
28585
 
  enableval=$enable_mac; kde_use_qt_mac=$enableval
28586
 
else
28587
 
  kde_use_qt_mac=no
28588
 
 
28589
 
fi
28590
 
 
28591
 
 
28592
 
# used to disable x11-specific stuff on special platforms
28593
 
 
28594
 
 
28595
 
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28596
 
  include_x11_TRUE=
28597
 
  include_x11_FALSE='#'
28598
 
else
28599
 
  include_x11_TRUE='#'
28600
 
  include_x11_FALSE=
28601
 
fi
28602
 
 
28603
 
 
28604
 
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28605
 
 
28606
 
{ echo "$as_me:$LINENO: checking for X" >&5
28607
 
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28608
 
 
28609
 
if test "${kde_cv_have_x+set}" = set; then
28610
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28611
 
else
28612
 
  # One or both of the vars are not set, and there is no cached value.
28613
 
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
28614
 
   kde_x_includes=NO
28615
 
else
28616
 
   kde_x_includes=$x_includes
28617
 
fi
28618
 
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
28619
 
   kde_x_libraries=NO
28620
 
else
28621
 
   kde_x_libraries=$x_libraries
28622
 
fi
28623
 
 
28624
 
# below we use the standard autoconf calls
28625
 
ac_x_libraries=$kde_x_libraries
28626
 
ac_x_includes=$kde_x_includes
28627
 
 
28628
 
 
28629
 
 
28630
 
 
28631
 
if test "$ac_x_includes" = NO; then
28632
 
  # Guess where to find include files, by looking for this one X11 .h file.
28633
 
  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
28634
 
 
28635
 
  # First, try using that file with no special directory specified.
28636
 
cat >conftest.$ac_ext <<_ACEOF
28637
 
/* confdefs.h.  */
28638
 
_ACEOF
28639
 
cat confdefs.h >>conftest.$ac_ext
28640
 
cat >>conftest.$ac_ext <<_ACEOF
28641
 
/* end confdefs.h.  */
28642
 
#include <$x_direct_test_include>
28643
 
_ACEOF
28644
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28645
 
case "(($ac_try" in
28646
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28647
 
  *) ac_try_echo=$ac_try;;
28648
 
esac
28649
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28650
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28651
 
  ac_status=$?
28652
 
  grep -v '^ *+' conftest.er1 >conftest.err
28653
 
  rm -f conftest.er1
28654
 
  cat conftest.err >&5
28655
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656
 
  (exit $ac_status); } >/dev/null && {
28657
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28658
 
         test ! -s conftest.err
28659
 
       }; then
28660
 
  # We can compile using X headers with no special include directory.
28661
 
ac_x_includes=
28662
 
else
28663
 
  echo "$as_me: failed program was:" >&5
28664
 
sed 's/^/| /' conftest.$ac_ext >&5
28665
 
 
28666
 
  # Look for the header file in a standard set of common directories.
28667
 
# Check X11 before X11Rn because it is often a symlink to the current release.
28668
 
  for ac_dir in               \
28669
 
    /usr/X11/include          \
28670
 
    /usr/X11R6/include        \
28671
 
    /usr/X11R5/include        \
28672
 
    /usr/X11R4/include        \
28673
 
                              \
28674
 
    /usr/include/X11          \
28675
 
    /usr/include/X11R6        \
28676
 
    /usr/include/X11R5        \
28677
 
    /usr/include/X11R4        \
28678
 
                              \
28679
 
    /usr/local/X11/include    \
28680
 
    /usr/local/X11R6/include  \
28681
 
    /usr/local/X11R5/include  \
28682
 
    /usr/local/X11R4/include  \
28683
 
                              \
28684
 
    /usr/local/include/X11    \
28685
 
    /usr/local/include/X11R6  \
28686
 
    /usr/local/include/X11R5  \
28687
 
    /usr/local/include/X11R4  \
28688
 
                              \
28689
 
    /usr/X386/include         \
28690
 
    /usr/x386/include         \
28691
 
    /usr/XFree86/include/X11  \
28692
 
                              \
28693
 
    /usr/include              \
28694
 
    /usr/local/include        \
28695
 
    /usr/unsupported/include  \
28696
 
    /usr/athena/include       \
28697
 
    /usr/local/x11r5/include  \
28698
 
    /usr/lpp/Xamples/include  \
28699
 
                              \
28700
 
    /usr/openwin/include      \
28701
 
    /usr/openwin/share/include \
28702
 
    ; \
28703
 
  do
28704
 
    if test -r "$ac_dir/$x_direct_test_include"; then
28705
 
      ac_x_includes=$ac_dir
28706
 
      break
28707
 
    fi
28708
 
  done
28709
 
fi
28710
 
 
28711
 
rm -f conftest.err conftest.$ac_ext
28712
 
fi # $ac_x_includes = NO
28713
 
 
28714
 
if test "$ac_x_libraries" = NO; then
28715
 
  # Check for the libraries.
28716
 
 
28717
 
  test -z "$x_direct_test_library" && x_direct_test_library=Xt
28718
 
  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
28719
 
 
28720
 
  # See if we find them without any special options.
28721
 
  # Don't add to $LIBS permanently.
28722
 
  ac_save_LIBS="$LIBS"
28723
 
  LIBS="-l$x_direct_test_library $LIBS"
28724
 
cat >conftest.$ac_ext <<_ACEOF
28725
 
/* confdefs.h.  */
28726
 
_ACEOF
28727
 
cat confdefs.h >>conftest.$ac_ext
28728
 
cat >>conftest.$ac_ext <<_ACEOF
28729
 
/* end confdefs.h.  */
28730
 
#include <X11/Intrinsic.h>
28731
 
int
28732
 
main ()
28733
 
{
28734
 
${x_direct_test_function}(1)
28735
 
  ;
28736
 
  return 0;
28737
 
}
28738
 
_ACEOF
28739
 
rm -f conftest.$ac_objext conftest$ac_exeext
28740
 
if { (ac_try="$ac_link"
28741
 
case "(($ac_try" in
28742
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28743
 
  *) ac_try_echo=$ac_try;;
28744
 
esac
28745
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28746
 
  (eval "$ac_link") 2>conftest.er1
28747
 
  ac_status=$?
28748
 
  grep -v '^ *+' conftest.er1 >conftest.err
28749
 
  rm -f conftest.er1
28750
 
  cat conftest.err >&5
28751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752
 
  (exit $ac_status); } && {
28753
 
         test -z "$ac_c_werror_flag" ||
28754
 
         test ! -s conftest.err
28755
 
       } && test -s conftest$ac_exeext &&
28756
 
       $as_test_x conftest$ac_exeext; then
28757
 
  LIBS="$ac_save_LIBS"
28758
 
# We can link X programs with no special library path.
28759
 
ac_x_libraries=
28760
 
else
28761
 
  echo "$as_me: failed program was:" >&5
28762
 
sed 's/^/| /' conftest.$ac_ext >&5
28763
 
 
28764
 
        LIBS="$ac_save_LIBS"
28765
 
# First see if replacing the include by lib works.
28766
 
# Check X11 before X11Rn because it is often a symlink to the current release.
28767
 
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
28768
 
    /usr/X11/lib${kdelibsuff}           \
28769
 
    /usr/X11R6/lib${kdelibsuff}         \
28770
 
    /usr/X11R5/lib${kdelibsuff}         \
28771
 
    /usr/X11R4/lib${kdelibsuff}         \
28772
 
                                        \
28773
 
    /usr/lib${kdelibsuff}/X11           \
28774
 
    /usr/lib${kdelibsuff}/X11R6         \
28775
 
    /usr/lib${kdelibsuff}/X11R5         \
28776
 
    /usr/lib${kdelibsuff}/X11R4         \
28777
 
                                        \
28778
 
    /usr/local/X11/lib${kdelibsuff}     \
28779
 
    /usr/local/X11R6/lib${kdelibsuff}   \
28780
 
    /usr/local/X11R5/lib${kdelibsuff}   \
28781
 
    /usr/local/X11R4/lib${kdelibsuff}   \
28782
 
                                        \
28783
 
    /usr/local/lib${kdelibsuff}/X11     \
28784
 
    /usr/local/lib${kdelibsuff}/X11R6   \
28785
 
    /usr/local/lib${kdelibsuff}/X11R5   \
28786
 
    /usr/local/lib${kdelibsuff}/X11R4   \
28787
 
                                        \
28788
 
    /usr/X386/lib${kdelibsuff}          \
28789
 
    /usr/x386/lib${kdelibsuff}          \
28790
 
    /usr/XFree86/lib${kdelibsuff}/X11   \
28791
 
                                        \
28792
 
    /usr/lib${kdelibsuff}               \
28793
 
    /usr/local/lib${kdelibsuff}         \
28794
 
    /usr/unsupported/lib${kdelibsuff}   \
28795
 
    /usr/athena/lib${kdelibsuff}        \
28796
 
    /usr/local/x11r5/lib${kdelibsuff}   \
28797
 
    /usr/lpp/Xamples/lib${kdelibsuff}   \
28798
 
    /lib/usr/lib${kdelibsuff}/X11       \
28799
 
                                        \
28800
 
    /usr/openwin/lib${kdelibsuff}       \
28801
 
    /usr/openwin/share/lib${kdelibsuff} \
28802
 
    ; \
28803
 
do
28804
 
  for ac_extension in a so sl; do
28805
 
    if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
28806
 
      ac_x_libraries=$ac_dir
28807
 
      break 2
28808
 
    fi
28809
 
  done
28810
 
done
28811
 
fi
28812
 
 
28813
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28814
 
      conftest$ac_exeext conftest.$ac_ext
28815
 
fi # $ac_x_libraries = NO
28816
 
 
28817
 
case "$host" in
28818
 
mips-sgi-irix6*)
28819
 
  ;;
28820
 
*-*-solaris*)
28821
 
  ;;
28822
 
*)
28823
 
  rm -f -r conftest.dir
28824
 
if mkdir conftest.dir; then
28825
 
  cd conftest.dir
28826
 
  cat >Imakefile <<'_ACEOF'
28827
 
incroot:
28828
 
        @echo incroot='${INCROOT}'
28829
 
usrlibdir:
28830
 
        @echo usrlibdir='${USRLIBDIR}'
28831
 
libdir:
28832
 
        @echo libdir='${LIBDIR}'
28833
 
_ACEOF
28834
 
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28835
 
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28836
 
    for ac_var in incroot usrlibdir libdir; do
28837
 
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28838
 
    done
28839
 
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28840
 
    for ac_extension in a so sl; do
28841
 
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28842
 
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
28843
 
        ac_im_usrlibdir=$ac_im_libdir; break
28844
 
      fi
28845
 
    done
28846
 
    # Screen out bogus values from the imake configuration.  They are
28847
 
    # bogus both because they are the default anyway, and because
28848
 
    # using them would break gcc on systems where it needs fixed includes.
28849
 
    case $ac_im_incroot in
28850
 
        /usr/include) ac_x_includes= ;;
28851
 
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28852
 
    esac
28853
 
    case $ac_im_usrlibdir in
28854
 
        /usr/lib | /lib) ;;
28855
 
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28856
 
    esac
28857
 
  fi
28858
 
  cd ..
28859
 
  rm -f -r conftest.dir
28860
 
fi
28861
 
 
28862
 
  if test -z "$ac_x_includes"; then
28863
 
    ac_x_includes="."
28864
 
  fi
28865
 
  if test -z "$ac_x_libraries"; then
28866
 
    ac_x_libraries="/usr/lib${kdelibsuff}"
28867
 
  fi
28868
 
esac
28869
 
#from now on we use our own again
28870
 
 
28871
 
# when the user already gave --x-includes, we ignore
28872
 
# what the standard autoconf macros told us.
28873
 
if test "$kde_x_includes" = NO; then
28874
 
  kde_x_includes=$ac_x_includes
28875
 
fi
28876
 
 
28877
 
# for --x-libraries too
28878
 
if test "$kde_x_libraries" = NO; then
28879
 
  kde_x_libraries=$ac_x_libraries
28880
 
fi
28881
 
 
28882
 
if test "$kde_x_includes" = NO; then
28883
 
  { { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
28884
 
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
28885
 
   { (exit 1); exit 1; }; }
28886
 
fi
28887
 
 
28888
 
if test "$kde_x_libraries" = NO; then
28889
 
  { { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
28890
 
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
28891
 
   { (exit 1); exit 1; }; }
28892
 
fi
28893
 
 
28894
 
# Record where we found X for the cache.
28895
 
kde_cv_have_x="have_x=yes \
28896
 
         kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
28897
 
 
28898
 
fi
28899
 
 
28900
 
eval "$kde_cv_have_x"
28901
 
 
28902
 
if test "$have_x" != yes; then
28903
 
  { echo "$as_me:$LINENO: result: $have_x" >&5
28904
 
echo "${ECHO_T}$have_x" >&6; }
28905
 
  no_x=yes
28906
 
else
28907
 
  { echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
28908
 
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6; }
28909
 
fi
28910
 
 
28911
 
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
28912
 
  X_INCLUDES=""
28913
 
  x_includes=".";  else
28914
 
  x_includes=$kde_x_includes
28915
 
  X_INCLUDES="-I$x_includes"
28916
 
fi
28917
 
 
28918
 
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then
28919
 
  X_LDFLAGS=""
28920
 
  x_libraries="/usr/lib";  else
28921
 
  x_libraries=$kde_x_libraries
28922
 
  X_LDFLAGS="-L$x_libraries"
28923
 
fi
28924
 
all_includes="$X_INCLUDES"
28925
 
all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
28926
 
 
28927
 
# Check for libraries that X11R6 Xt/Xaw programs need.
28928
 
ac_save_LDFLAGS="$LDFLAGS"
28929
 
LDFLAGS="$LDFLAGS $X_LDFLAGS"
28930
 
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28931
 
# check for ICE first), but we must link in the order -lSM -lICE or
28932
 
# we get undefined symbols.  So assume we have SM if we have ICE.
28933
 
# These have to be linked with before -lX11, unlike the other
28934
 
# libraries we check for below, so use a different variable.
28935
 
#  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
28936
 
{ echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28937
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
28938
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28939
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28940
 
else
28941
 
  ac_check_lib_save_LIBS=$LIBS
28942
 
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
28943
 
cat >conftest.$ac_ext <<_ACEOF
28944
 
/* confdefs.h.  */
28945
 
_ACEOF
28946
 
cat confdefs.h >>conftest.$ac_ext
28947
 
cat >>conftest.$ac_ext <<_ACEOF
28948
 
/* end confdefs.h.  */
28949
 
 
28950
 
/* Override any GCC internal prototype to avoid an error.
28951
 
   Use char because int might match the return type of a GCC
28952
 
   builtin and then its argument prototype would still apply.  */
28953
 
#ifdef __cplusplus
28954
 
extern "C"
28955
 
#endif
28956
 
char IceConnectionNumber ();
28957
 
int
28958
 
main ()
28959
 
{
28960
 
return IceConnectionNumber ();
28961
 
  ;
28962
 
  return 0;
28963
 
}
28964
 
_ACEOF
28965
 
rm -f conftest.$ac_objext conftest$ac_exeext
28966
 
if { (ac_try="$ac_link"
28967
 
case "(($ac_try" in
28968
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28969
 
  *) ac_try_echo=$ac_try;;
28970
 
esac
28971
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28972
 
  (eval "$ac_link") 2>conftest.er1
28973
 
  ac_status=$?
28974
 
  grep -v '^ *+' conftest.er1 >conftest.err
28975
 
  rm -f conftest.er1
28976
 
  cat conftest.err >&5
28977
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978
 
  (exit $ac_status); } && {
28979
 
         test -z "$ac_c_werror_flag" ||
28980
 
         test ! -s conftest.err
28981
 
       } && test -s conftest$ac_exeext &&
28982
 
       $as_test_x conftest$ac_exeext; then
28983
 
  ac_cv_lib_ICE_IceConnectionNumber=yes
28984
 
else
28985
 
  echo "$as_me: failed program was:" >&5
28986
 
sed 's/^/| /' conftest.$ac_ext >&5
28987
 
 
28988
 
        ac_cv_lib_ICE_IceConnectionNumber=no
28989
 
fi
28990
 
 
28991
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28992
 
      conftest$ac_exeext conftest.$ac_ext
28993
 
LIBS=$ac_check_lib_save_LIBS
28994
 
fi
28995
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28996
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
28997
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28998
 
  LIBSM="-lSM -lICE"
28999
 
fi
29000
 
 
29001
 
LDFLAGS="$ac_save_LDFLAGS"
29002
 
 
29003
 
LIB_X11='-lX11 $(LIBSOCKET)'
29004
 
 
29005
 
{ echo "$as_me:$LINENO: checking for libXext" >&5
29006
 
echo $ECHO_N "checking for libXext... $ECHO_C" >&6; }
29007
 
if test "${kde_cv_have_libXext+set}" = set; then
29008
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29009
 
else
29010
 
 
29011
 
kde_ldflags_safe="$LDFLAGS"
29012
 
kde_libs_safe="$LIBS"
29013
 
 
29014
 
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
29015
 
LIBS="-lXext -lX11 $LIBSOCKET"
29016
 
 
29017
 
cat >conftest.$ac_ext <<_ACEOF
29018
 
/* confdefs.h.  */
29019
 
_ACEOF
29020
 
cat confdefs.h >>conftest.$ac_ext
29021
 
cat >>conftest.$ac_ext <<_ACEOF
29022
 
/* end confdefs.h.  */
29023
 
 
29024
 
#include <stdio.h>
29025
 
#ifdef STDC_HEADERS
29026
 
# include <stdlib.h>
29027
 
#endif
29028
 
 
29029
 
int
29030
 
main ()
29031
 
{
29032
 
 
29033
 
printf("hello Xext\n");
29034
 
 
29035
 
  ;
29036
 
  return 0;
29037
 
}
29038
 
_ACEOF
29039
 
rm -f conftest.$ac_objext conftest$ac_exeext
29040
 
if { (ac_try="$ac_link"
29041
 
case "(($ac_try" in
29042
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29043
 
  *) ac_try_echo=$ac_try;;
29044
 
esac
29045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29046
 
  (eval "$ac_link") 2>conftest.er1
29047
 
  ac_status=$?
29048
 
  grep -v '^ *+' conftest.er1 >conftest.err
29049
 
  rm -f conftest.er1
29050
 
  cat conftest.err >&5
29051
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29052
 
  (exit $ac_status); } && {
29053
 
         test -z "$ac_c_werror_flag" ||
29054
 
         test ! -s conftest.err
29055
 
       } && test -s conftest$ac_exeext &&
29056
 
       $as_test_x conftest$ac_exeext; then
29057
 
  kde_cv_have_libXext=yes
29058
 
else
29059
 
  echo "$as_me: failed program was:" >&5
29060
 
sed 's/^/| /' conftest.$ac_ext >&5
29061
 
 
29062
 
        kde_cv_have_libXext=no
29063
 
 
29064
 
fi
29065
 
 
29066
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29067
 
      conftest$ac_exeext conftest.$ac_ext
29068
 
 
29069
 
LDFLAGS=$kde_ldflags_safe
29070
 
LIBS=$kde_libs_safe
29071
 
 
29072
 
fi
29073
 
 
29074
 
 
29075
 
{ echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
29076
 
echo "${ECHO_T}$kde_cv_have_libXext" >&6; }
29077
 
 
29078
 
if test "$kde_cv_have_libXext" = "no"; then
29079
 
  { { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
29080
 
can't find it itself, we stop here assuming that make wouldn't find
29081
 
them either." >&5
29082
 
echo "$as_me: error: We need a working libXext to proceed. Since configure
29083
 
can't find it itself, we stop here assuming that make wouldn't find
29084
 
them either." >&2;}
29085
 
   { (exit 1); exit 1; }; }
29086
 
fi
29087
 
 
29088
 
LIB_XEXT="-lXext"
29089
 
QTE_NORTTI=""
29090
 
 
29091
 
elif test "$kde_use_qt_emb" = "yes"; then
29092
 
    CPPFLAGS=-DQWS
29093
 
  CXXFLAGS="$CXXFLAGS -fno-rtti"
29094
 
  QTE_NORTTI="-fno-rtti -DQWS"
29095
 
  X_PRE_LIBS=""
29096
 
  LIB_X11=""
29097
 
  LIB_XEXT=""
29098
 
  LIB_XRENDER=""
29099
 
  LIBSM=""
29100
 
  X_INCLUDES=""
29101
 
  X_LDFLAGS=""
29102
 
  x_includes=""
29103
 
  x_libraries=""
29104
 
elif test "$kde_use_qt_mac" = "yes"; then
29105
 
      CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
29106
 
  CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
29107
 
  X_PRE_LIBS=""
29108
 
  LIB_X11=""
29109
 
  LIB_XEXT=""
29110
 
  LIB_XRENDER=""
29111
 
  LIBSM=""
29112
 
  X_INCLUDES=""
29113
 
  X_LDFLAGS=""
29114
 
  x_includes=""
29115
 
  x_libraries=""
29116
 
fi
29117
 
 
29118
 
 
29119
 
 
29120
 
 
29121
 
 
29122
 
 
29123
 
 
29124
 
 
29125
 
 
29126
 
 
29127
 
 
29128
 
 
29129
 
 
29130
 
                LIBPTHREAD=""
29131
 
 
29132
 
  if test -n "$PTHREAD_LIBS"; then
29133
 
    if test "x$PTHREAD_LIBS" = "x-pthread" ; then
29134
 
      LIBPTHREAD="PTHREAD"
29135
 
    else
29136
 
      PTHREAD_LIBS_save="$PTHREAD_LIBS"
29137
 
      PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
29138
 
      { echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
29139
 
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6; }
29140
 
 
29141
 
     kde_save_LDFLAGS="$LDFLAGS"
29142
 
          kde_save_LIBS="$LIBS"
29143
 
     LDFLAGS="$LDFLAGS $all_libraries"
29144
 
     case $host_os in
29145
 
      aix*) LDFLAGS="-brtl $LDFLAGS"
29146
 
        test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
29147
 
        ;;
29148
 
     esac
29149
 
     as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
29150
 
{ echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
29151
 
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6; }
29152
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29153
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29154
 
else
29155
 
  ac_check_lib_save_LIBS=$LIBS
29156
 
LIBS="-l$PTHREAD_LIBS  $LIBS"
29157
 
cat >conftest.$ac_ext <<_ACEOF
29158
 
/* confdefs.h.  */
29159
 
_ACEOF
29160
 
cat confdefs.h >>conftest.$ac_ext
29161
 
cat >>conftest.$ac_ext <<_ACEOF
29162
 
/* end confdefs.h.  */
29163
 
 
29164
 
/* Override any GCC internal prototype to avoid an error.
29165
 
   Use char because int might match the return type of a GCC
29166
 
   builtin and then its argument prototype would still apply.  */
29167
 
#ifdef __cplusplus
29168
 
extern "C"
29169
 
#endif
29170
 
char pthread_create ();
29171
 
int
29172
 
main ()
29173
 
{
29174
 
return pthread_create ();
29175
 
  ;
29176
 
  return 0;
29177
 
}
29178
 
_ACEOF
29179
 
rm -f conftest.$ac_objext conftest$ac_exeext
29180
 
if { (ac_try="$ac_link"
29181
 
case "(($ac_try" in
29182
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29183
 
  *) ac_try_echo=$ac_try;;
29184
 
esac
29185
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29186
 
  (eval "$ac_link") 2>conftest.er1
29187
 
  ac_status=$?
29188
 
  grep -v '^ *+' conftest.er1 >conftest.err
29189
 
  rm -f conftest.er1
29190
 
  cat conftest.err >&5
29191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192
 
  (exit $ac_status); } && {
29193
 
         test -z "$ac_c_werror_flag" ||
29194
 
         test ! -s conftest.err
29195
 
       } && test -s conftest$ac_exeext &&
29196
 
       $as_test_x conftest$ac_exeext; then
29197
 
  eval "$as_ac_Lib=yes"
29198
 
else
29199
 
  echo "$as_me: failed program was:" >&5
29200
 
sed 's/^/| /' conftest.$ac_ext >&5
29201
 
 
29202
 
        eval "$as_ac_Lib=no"
29203
 
fi
29204
 
 
29205
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29206
 
      conftest$ac_exeext conftest.$ac_ext
29207
 
LIBS=$ac_check_lib_save_LIBS
29208
 
fi
29209
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
29210
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29211
 
echo "${ECHO_T}$ac_res" >&6; }
29212
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29213
 
  LIBPTHREAD="$PTHREAD_LIBS_save"
29214
 
fi
29215
 
 
29216
 
     LDFLAGS="$kde_save_LDFLAGS"
29217
 
     LIBS="$kde_save_LIBS"
29218
 
 
29219
 
      PTHREAD_LIBS="$PTHREAD_LIBS_save"
29220
 
    fi
29221
 
  fi
29222
 
 
29223
 
    if test -z "$LIBPTHREAD"; then
29224
 
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29225
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29226
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
29227
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29228
 
else
29229
 
  ac_check_lib_save_LIBS=$LIBS
29230
 
LIBS="-lpthread  $LIBS"
29231
 
cat >conftest.$ac_ext <<_ACEOF
29232
 
/* confdefs.h.  */
29233
 
_ACEOF
29234
 
cat confdefs.h >>conftest.$ac_ext
29235
 
cat >>conftest.$ac_ext <<_ACEOF
29236
 
/* end confdefs.h.  */
29237
 
 
29238
 
/* Override any GCC internal prototype to avoid an error.
29239
 
   Use char because int might match the return type of a GCC
29240
 
   builtin and then its argument prototype would still apply.  */
29241
 
#ifdef __cplusplus
29242
 
extern "C"
29243
 
#endif
29244
 
char pthread_create ();
29245
 
int
29246
 
main ()
29247
 
{
29248
 
return pthread_create ();
29249
 
  ;
29250
 
  return 0;
29251
 
}
29252
 
_ACEOF
29253
 
rm -f conftest.$ac_objext conftest$ac_exeext
29254
 
if { (ac_try="$ac_link"
29255
 
case "(($ac_try" in
29256
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29257
 
  *) ac_try_echo=$ac_try;;
29258
 
esac
29259
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29260
 
  (eval "$ac_link") 2>conftest.er1
29261
 
  ac_status=$?
29262
 
  grep -v '^ *+' conftest.er1 >conftest.err
29263
 
  rm -f conftest.er1
29264
 
  cat conftest.err >&5
29265
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266
 
  (exit $ac_status); } && {
29267
 
         test -z "$ac_c_werror_flag" ||
29268
 
         test ! -s conftest.err
29269
 
       } && test -s conftest$ac_exeext &&
29270
 
       $as_test_x conftest$ac_exeext; then
29271
 
  ac_cv_lib_pthread_pthread_create=yes
29272
 
else
29273
 
  echo "$as_me: failed program was:" >&5
29274
 
sed 's/^/| /' conftest.$ac_ext >&5
29275
 
 
29276
 
        ac_cv_lib_pthread_pthread_create=no
29277
 
fi
29278
 
 
29279
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29280
 
      conftest$ac_exeext conftest.$ac_ext
29281
 
LIBS=$ac_check_lib_save_LIBS
29282
 
fi
29283
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
29284
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
29285
 
if test $ac_cv_lib_pthread_pthread_create = yes; then
29286
 
  LIBPTHREAD="-lpthread"
29287
 
fi
29288
 
 
29289
 
  fi
29290
 
 
29291
 
    if test -z "$LIBPTHREAD" ; then
29292
 
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29293
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29294
 
    kde_safe_libs=$LIBS
29295
 
    LIBS="$LIBS -lpthread"
29296
 
    cat >conftest.$ac_ext <<_ACEOF
29297
 
/* confdefs.h.  */
29298
 
_ACEOF
29299
 
cat confdefs.h >>conftest.$ac_ext
29300
 
cat >>conftest.$ac_ext <<_ACEOF
29301
 
/* end confdefs.h.  */
29302
 
#include <pthread.h>
29303
 
int
29304
 
main ()
29305
 
{
29306
 
(void)pthread_create(0,0,0,0);
29307
 
  ;
29308
 
  return 0;
29309
 
}
29310
 
_ACEOF
29311
 
rm -f conftest.$ac_objext conftest$ac_exeext
29312
 
if { (ac_try="$ac_link"
29313
 
case "(($ac_try" in
29314
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29315
 
  *) ac_try_echo=$ac_try;;
29316
 
esac
29317
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29318
 
  (eval "$ac_link") 2>conftest.er1
29319
 
  ac_status=$?
29320
 
  grep -v '^ *+' conftest.er1 >conftest.err
29321
 
  rm -f conftest.er1
29322
 
  cat conftest.err >&5
29323
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29324
 
  (exit $ac_status); } && {
29325
 
         test -z "$ac_c_werror_flag" ||
29326
 
         test ! -s conftest.err
29327
 
       } && test -s conftest$ac_exeext &&
29328
 
       $as_test_x conftest$ac_exeext; then
29329
 
 
29330
 
        { echo "$as_me:$LINENO: result: yes" >&5
29331
 
echo "${ECHO_T}yes" >&6; }
29332
 
        LIBPTHREAD="-lpthread"
29333
 
else
29334
 
  echo "$as_me: failed program was:" >&5
29335
 
sed 's/^/| /' conftest.$ac_ext >&5
29336
 
 
29337
 
 
29338
 
        { echo "$as_me:$LINENO: result: no" >&5
29339
 
echo "${ECHO_T}no" >&6; }
29340
 
fi
29341
 
 
29342
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29343
 
      conftest$ac_exeext conftest.$ac_ext
29344
 
    LIBS=$kde_safe_libs
29345
 
  fi
29346
 
 
29347
 
    if test "x$LIBPTHREAD" = "xPTHREAD" ; then
29348
 
    LIBPTHREAD=""
29349
 
  fi
29350
 
 
29351
 
 
29352
 
 
29353
 
 
29354
 
      USE_THREADS=""
29355
 
      if test -z "$LIBPTHREAD"; then
29356
 
 
29357
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
29358
 
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6; }
29359
 
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
29360
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29361
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29362
 
else
29363
 
 
29364
 
 
29365
 
   ac_ext=cpp
29366
 
ac_cpp='$CXXCPP $CPPFLAGS'
29367
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29368
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29369
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29370
 
 
29371
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29372
 
 
29373
 
 
29374
 
  save_CXXFLAGS="$CXXFLAGS"
29375
 
  CXXFLAGS="$CXXFLAGS -pthread"
29376
 
  cat >conftest.$ac_ext <<_ACEOF
29377
 
/* confdefs.h.  */
29378
 
_ACEOF
29379
 
cat confdefs.h >>conftest.$ac_ext
29380
 
cat >>conftest.$ac_ext <<_ACEOF
29381
 
/* end confdefs.h.  */
29382
 
 
29383
 
int
29384
 
main ()
29385
 
{
29386
 
 return 0;
29387
 
  ;
29388
 
  return 0;
29389
 
}
29390
 
_ACEOF
29391
 
rm -f conftest.$ac_objext conftest$ac_exeext
29392
 
if { (ac_try="$ac_link"
29393
 
case "(($ac_try" in
29394
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29395
 
  *) ac_try_echo=$ac_try;;
29396
 
esac
29397
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29398
 
  (eval "$ac_link") 2>conftest.er1
29399
 
  ac_status=$?
29400
 
  grep -v '^ *+' conftest.er1 >conftest.err
29401
 
  rm -f conftest.er1
29402
 
  cat conftest.err >&5
29403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404
 
  (exit $ac_status); } && {
29405
 
         test -z "$ac_cxx_werror_flag" ||
29406
 
         test ! -s conftest.err
29407
 
       } && test -s conftest$ac_exeext &&
29408
 
       $as_test_x conftest$ac_exeext; then
29409
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
29410
 
else
29411
 
  echo "$as_me: failed program was:" >&5
29412
 
sed 's/^/| /' conftest.$ac_ext >&5
29413
 
 
29414
 
 
29415
 
fi
29416
 
 
29417
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29418
 
      conftest$ac_exeext conftest.$ac_ext
29419
 
  CXXFLAGS="$save_CXXFLAGS"
29420
 
  ac_ext=c
29421
 
ac_cpp='$CPP $CPPFLAGS'
29422
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29423
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29424
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29425
 
 
29426
 
 
29427
 
fi
29428
 
 
29429
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29430
 
 { echo "$as_me:$LINENO: result: yes" >&5
29431
 
echo "${ECHO_T}yes" >&6; }
29432
 
 :
29433
 
 USE_THREADS="-D_THREAD_SAFE -pthread"
29434
 
else
29435
 
 { echo "$as_me:$LINENO: result: no" >&5
29436
 
echo "${ECHO_T}no" >&6; }
29437
 
 :
29438
 
 
29439
 
fi
29440
 
 
29441
 
      fi
29442
 
 
29443
 
 
29444
 
 
29445
 
    case $host_os in
29446
 
        solaris*)
29447
 
 
29448
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
29449
 
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6; }
29450
 
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
29451
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29452
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29453
 
else
29454
 
 
29455
 
 
29456
 
   ac_ext=cpp
29457
 
ac_cpp='$CXXCPP $CPPFLAGS'
29458
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29459
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29460
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29461
 
 
29462
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29463
 
 
29464
 
 
29465
 
  save_CXXFLAGS="$CXXFLAGS"
29466
 
  CXXFLAGS="$CXXFLAGS -mt"
29467
 
  cat >conftest.$ac_ext <<_ACEOF
29468
 
/* confdefs.h.  */
29469
 
_ACEOF
29470
 
cat confdefs.h >>conftest.$ac_ext
29471
 
cat >>conftest.$ac_ext <<_ACEOF
29472
 
/* end confdefs.h.  */
29473
 
 
29474
 
int
29475
 
main ()
29476
 
{
29477
 
 return 0;
29478
 
  ;
29479
 
  return 0;
29480
 
}
29481
 
_ACEOF
29482
 
rm -f conftest.$ac_objext conftest$ac_exeext
29483
 
if { (ac_try="$ac_link"
29484
 
case "(($ac_try" in
29485
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29486
 
  *) ac_try_echo=$ac_try;;
29487
 
esac
29488
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29489
 
  (eval "$ac_link") 2>conftest.er1
29490
 
  ac_status=$?
29491
 
  grep -v '^ *+' conftest.er1 >conftest.err
29492
 
  rm -f conftest.er1
29493
 
  cat conftest.err >&5
29494
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495
 
  (exit $ac_status); } && {
29496
 
         test -z "$ac_cxx_werror_flag" ||
29497
 
         test ! -s conftest.err
29498
 
       } && test -s conftest$ac_exeext &&
29499
 
       $as_test_x conftest$ac_exeext; then
29500
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
29501
 
else
29502
 
  echo "$as_me: failed program was:" >&5
29503
 
sed 's/^/| /' conftest.$ac_ext >&5
29504
 
 
29505
 
 
29506
 
fi
29507
 
 
29508
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29509
 
      conftest$ac_exeext conftest.$ac_ext
29510
 
  CXXFLAGS="$save_CXXFLAGS"
29511
 
  ac_ext=c
29512
 
ac_cpp='$CPP $CPPFLAGS'
29513
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29514
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29515
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29516
 
 
29517
 
 
29518
 
fi
29519
 
 
29520
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29521
 
 { echo "$as_me:$LINENO: result: yes" >&5
29522
 
echo "${ECHO_T}yes" >&6; }
29523
 
 :
29524
 
 USE_THREADS="-mt"
29525
 
else
29526
 
 { echo "$as_me:$LINENO: result: no" >&5
29527
 
echo "${ECHO_T}no" >&6; }
29528
 
 :
29529
 
 
29530
 
fi
29531
 
 
29532
 
                CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
29533
 
                ;;
29534
 
        freebsd*)
29535
 
                CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
29536
 
                ;;
29537
 
        aix*)
29538
 
                CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
29539
 
                LIBPTHREAD="$LIBPTHREAD -lc_r"
29540
 
                ;;
29541
 
        linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
29542
 
                if test "$CXX" = "KCC"; then
29543
 
                  CXXFLAGS="$CXXFLAGS --thread_safe"
29544
 
                  NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
29545
 
                fi
29546
 
                ;;
29547
 
        *)
29548
 
                ;;
29549
 
    esac
29550
 
 
29551
 
 
29552
 
 
29553
 
 
29554
 
{ echo "$as_me:$LINENO: checking for extra includes" >&5
29555
 
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6; }
29556
 
 
29557
 
# Check whether --with-extra-includes was given.
29558
 
if test "${with_extra_includes+set}" = set; then
29559
 
  withval=$with_extra_includes; kde_use_extra_includes="$withval"
29560
 
else
29561
 
  kde_use_extra_includes=NONE
29562
 
 
29563
 
fi
29564
 
 
29565
 
kde_extra_includes=
29566
 
if test -n "$kde_use_extra_includes" && \
29567
 
   test "$kde_use_extra_includes" != "NONE"; then
29568
 
 
29569
 
   ac_save_ifs=$IFS
29570
 
   IFS=':'
29571
 
   for dir in $kde_use_extra_includes; do
29572
 
     kde_extra_includes="$kde_extra_includes $dir"
29573
 
     USER_INCLUDES="$USER_INCLUDES -I$dir"
29574
 
   done
29575
 
   IFS=$ac_save_ifs
29576
 
   kde_use_extra_includes="added"
29577
 
else
29578
 
   kde_use_extra_includes="no"
29579
 
fi
29580
 
 
29581
 
 
29582
 
{ echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
29583
 
echo "${ECHO_T}$kde_use_extra_includes" >&6; }
29584
 
 
29585
 
kde_extra_libs=
29586
 
{ echo "$as_me:$LINENO: checking for extra libs" >&5
29587
 
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6; }
29588
 
 
29589
 
# Check whether --with-extra-libs was given.
29590
 
if test "${with_extra_libs+set}" = set; then
29591
 
  withval=$with_extra_libs; kde_use_extra_libs=$withval
29592
 
else
29593
 
  kde_use_extra_libs=NONE
29594
 
 
29595
 
fi
29596
 
 
29597
 
if test -n "$kde_use_extra_libs" && \
29598
 
   test "$kde_use_extra_libs" != "NONE"; then
29599
 
 
29600
 
   ac_save_ifs=$IFS
29601
 
   IFS=':'
29602
 
   for dir in $kde_use_extra_libs; do
29603
 
     kde_extra_libs="$kde_extra_libs $dir"
29604
 
     KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
29605
 
     USER_LDFLAGS="$USER_LDFLAGS -L$dir"
29606
 
   done
29607
 
   IFS=$ac_save_ifs
29608
 
   kde_use_extra_libs="added"
29609
 
else
29610
 
   kde_use_extra_libs="no"
29611
 
fi
29612
 
 
29613
 
 
29614
 
 
29615
 
{ echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
29616
 
echo "${ECHO_T}$kde_use_extra_libs" >&6; }
29617
 
 
29618
 
 
29619
 
 
29620
 
 
29621
 
{ echo "$as_me:$LINENO: checking for libz" >&5
29622
 
echo $ECHO_N "checking for libz... $ECHO_C" >&6; }
29623
 
if test "${ac_cv_lib_z+set}" = set; then
29624
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29625
 
else
29626
 
 
29627
 
kde_save_LIBS="$LIBS"
29628
 
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
29629
 
kde_save_CFLAGS="$CFLAGS"
29630
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29631
 
cat >conftest.$ac_ext <<_ACEOF
29632
 
/* confdefs.h.  */
29633
 
_ACEOF
29634
 
cat confdefs.h >>conftest.$ac_ext
29635
 
cat >>conftest.$ac_ext <<_ACEOF
29636
 
/* end confdefs.h.  */
29637
 
 
29638
 
#include<zlib.h>
29639
 
 
29640
 
int
29641
 
main ()
29642
 
{
29643
 
 
29644
 
  char buf[42];
29645
 
  gzFile f = (gzFile) 0;
29646
 
  /* this would segfault.. but we only link, don't run */
29647
 
  (void) gzgets(f, buf, sizeof(buf));
29648
 
 
29649
 
  return (zlibVersion() == ZLIB_VERSION);
29650
 
 
29651
 
  ;
29652
 
  return 0;
29653
 
}
29654
 
_ACEOF
29655
 
rm -f conftest.$ac_objext conftest$ac_exeext
29656
 
if { (ac_try="$ac_link"
29657
 
case "(($ac_try" in
29658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29659
 
  *) ac_try_echo=$ac_try;;
29660
 
esac
29661
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29662
 
  (eval "$ac_link") 2>conftest.er1
29663
 
  ac_status=$?
29664
 
  grep -v '^ *+' conftest.er1 >conftest.err
29665
 
  rm -f conftest.er1
29666
 
  cat conftest.err >&5
29667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668
 
  (exit $ac_status); } && {
29669
 
         test -z "$ac_c_werror_flag" ||
29670
 
         test ! -s conftest.err
29671
 
       } && test -s conftest$ac_exeext &&
29672
 
       $as_test_x conftest$ac_exeext; then
29673
 
  eval "ac_cv_lib_z='-lz'"
29674
 
else
29675
 
  echo "$as_me: failed program was:" >&5
29676
 
sed 's/^/| /' conftest.$ac_ext >&5
29677
 
 
29678
 
        eval "ac_cv_lib_z=no"
29679
 
fi
29680
 
 
29681
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29682
 
      conftest$ac_exeext conftest.$ac_ext
29683
 
LIBS="$kde_save_LIBS"
29684
 
CFLAGS="$kde_save_CFLAGS"
29685
 
 
29686
 
fi
29687
 
if test ! "$ac_cv_lib_z" = no; then
29688
 
 
29689
 
cat >>confdefs.h <<_ACEOF
29690
 
#define HAVE_LIBZ 1
29691
 
_ACEOF
29692
 
 
29693
 
  LIBZ="$ac_cv_lib_z"
29694
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
29695
 
echo "${ECHO_T}$ac_cv_lib_z" >&6; }
29696
 
else
29697
 
  { { echo "$as_me:$LINENO: error: not found.
29698
 
          Possibly configure picks up an outdated version
29699
 
          installed by XFree86. Remove it from your system.
29700
 
 
29701
 
          Check your installation and look into config.log" >&5
29702
 
echo "$as_me: error: not found.
29703
 
          Possibly configure picks up an outdated version
29704
 
          installed by XFree86. Remove it from your system.
29705
 
 
29706
 
          Check your installation and look into config.log" >&2;}
29707
 
   { (exit 1); exit 1; }; }
29708
 
  LIBZ=""
29709
 
fi
29710
 
 
29711
 
 
29712
 
 
29713
 
 
29714
 
 
29715
 
{ echo "$as_me:$LINENO: checking for libpng" >&5
29716
 
echo $ECHO_N "checking for libpng... $ECHO_C" >&6; }
29717
 
if test "${ac_cv_lib_png+set}" = set; then
29718
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29719
 
else
29720
 
 
29721
 
kde_save_LIBS="$LIBS"
29722
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29723
 
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
29724
 
else
29725
 
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
29726
 
fi
29727
 
kde_save_CFLAGS="$CFLAGS"
29728
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29729
 
 
29730
 
cat >conftest.$ac_ext <<_ACEOF
29731
 
/* confdefs.h.  */
29732
 
_ACEOF
29733
 
cat confdefs.h >>conftest.$ac_ext
29734
 
cat >>conftest.$ac_ext <<_ACEOF
29735
 
/* end confdefs.h.  */
29736
 
 
29737
 
    #include<png.h>
29738
 
 
29739
 
int
29740
 
main ()
29741
 
{
29742
 
 
29743
 
    png_structp png_ptr = png_create_read_struct(  /* image ptr */
29744
 
                PNG_LIBPNG_VER_STRING, 0, 0, 0 );
29745
 
    return( png_ptr != 0 );
29746
 
 
29747
 
  ;
29748
 
  return 0;
29749
 
}
29750
 
_ACEOF
29751
 
rm -f conftest.$ac_objext conftest$ac_exeext
29752
 
if { (ac_try="$ac_link"
29753
 
case "(($ac_try" in
29754
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29755
 
  *) ac_try_echo=$ac_try;;
29756
 
esac
29757
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29758
 
  (eval "$ac_link") 2>conftest.er1
29759
 
  ac_status=$?
29760
 
  grep -v '^ *+' conftest.er1 >conftest.err
29761
 
  rm -f conftest.er1
29762
 
  cat conftest.err >&5
29763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764
 
  (exit $ac_status); } && {
29765
 
         test -z "$ac_c_werror_flag" ||
29766
 
         test ! -s conftest.err
29767
 
       } && test -s conftest$ac_exeext &&
29768
 
       $as_test_x conftest$ac_exeext; then
29769
 
  eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
29770
 
else
29771
 
  echo "$as_me: failed program was:" >&5
29772
 
sed 's/^/| /' conftest.$ac_ext >&5
29773
 
 
29774
 
        eval "ac_cv_lib_png=no"
29775
 
 
29776
 
fi
29777
 
 
29778
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29779
 
      conftest$ac_exeext conftest.$ac_ext
29780
 
LIBS="$kde_save_LIBS"
29781
 
CFLAGS="$kde_save_CFLAGS"
29782
 
 
29783
 
fi
29784
 
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
29785
 
 
29786
 
cat >>confdefs.h <<_ACEOF
29787
 
#define HAVE_LIBPNG 1
29788
 
_ACEOF
29789
 
 
29790
 
  LIBPNG="$ac_cv_lib_png"
29791
 
 
29792
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
29793
 
echo "${ECHO_T}$ac_cv_lib_png" >&6; }
29794
 
else
29795
 
  { echo "$as_me:$LINENO: result: no" >&5
29796
 
echo "${ECHO_T}no" >&6; }
29797
 
  LIBPNG=""
29798
 
 
29799
 
fi
29800
 
 
29801
 
 
29802
 
 
29803
 
{ echo "$as_me:$LINENO: checking for libjpeg6b" >&5
29804
 
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6; }
29805
 
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
29806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29807
 
else
29808
 
 
29809
 
ac_save_LIBS="$LIBS"
29810
 
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
29811
 
ac_save_CFLAGS="$CFLAGS"
29812
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29813
 
cat >conftest.$ac_ext <<_ACEOF
29814
 
/* confdefs.h.  */
29815
 
_ACEOF
29816
 
cat confdefs.h >>conftest.$ac_ext
29817
 
cat >>conftest.$ac_ext <<_ACEOF
29818
 
/* end confdefs.h.  */
29819
 
 
29820
 
#ifdef __cplusplus
29821
 
extern "C" {
29822
 
#endif
29823
 
void jpeg_CreateDecompress();
29824
 
#ifdef __cplusplus
29825
 
}
29826
 
#endif
29827
 
 
29828
 
int
29829
 
main ()
29830
 
{
29831
 
jpeg_CreateDecompress();
29832
 
  ;
29833
 
  return 0;
29834
 
}
29835
 
_ACEOF
29836
 
rm -f conftest.$ac_objext conftest$ac_exeext
29837
 
if { (ac_try="$ac_link"
29838
 
case "(($ac_try" in
29839
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29840
 
  *) ac_try_echo=$ac_try;;
29841
 
esac
29842
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29843
 
  (eval "$ac_link") 2>conftest.er1
29844
 
  ac_status=$?
29845
 
  grep -v '^ *+' conftest.er1 >conftest.err
29846
 
  rm -f conftest.er1
29847
 
  cat conftest.err >&5
29848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849
 
  (exit $ac_status); } && {
29850
 
         test -z "$ac_c_werror_flag" ||
29851
 
         test ! -s conftest.err
29852
 
       } && test -s conftest$ac_exeext &&
29853
 
       $as_test_x conftest$ac_exeext; then
29854
 
  eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
29855
 
else
29856
 
  echo "$as_me: failed program was:" >&5
29857
 
sed 's/^/| /' conftest.$ac_ext >&5
29858
 
 
29859
 
        eval "ac_cv_lib_jpeg_6b=no"
29860
 
fi
29861
 
 
29862
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29863
 
      conftest$ac_exeext conftest.$ac_ext
29864
 
LIBS="$ac_save_LIBS"
29865
 
CFLAGS="$ac_save_CFLAGS"
29866
 
 
29867
 
fi
29868
 
 
29869
 
 
29870
 
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
29871
 
  LIBJPEG="$ac_cv_lib_jpeg_6b"
29872
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
29873
 
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6; }
29874
 
else
29875
 
  { echo "$as_me:$LINENO: result: no" >&5
29876
 
echo "${ECHO_T}no" >&6; }
29877
 
 
29878
 
{ echo "$as_me:$LINENO: checking for libjpeg" >&5
29879
 
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6; }
29880
 
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
29881
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29882
 
else
29883
 
 
29884
 
ac_save_LIBS="$LIBS"
29885
 
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
29886
 
ac_save_CFLAGS="$CFLAGS"
29887
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29888
 
cat >conftest.$ac_ext <<_ACEOF
29889
 
/* confdefs.h.  */
29890
 
_ACEOF
29891
 
cat confdefs.h >>conftest.$ac_ext
29892
 
cat >>conftest.$ac_ext <<_ACEOF
29893
 
/* end confdefs.h.  */
29894
 
 
29895
 
#ifdef __cplusplus
29896
 
extern "C" {
29897
 
#endif
29898
 
void jpeg_CreateDecompress();
29899
 
#ifdef __cplusplus
29900
 
}
29901
 
#endif
29902
 
 
29903
 
int
29904
 
main ()
29905
 
{
29906
 
jpeg_CreateDecompress();
29907
 
  ;
29908
 
  return 0;
29909
 
}
29910
 
_ACEOF
29911
 
rm -f conftest.$ac_objext conftest$ac_exeext
29912
 
if { (ac_try="$ac_link"
29913
 
case "(($ac_try" in
29914
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29915
 
  *) ac_try_echo=$ac_try;;
29916
 
esac
29917
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29918
 
  (eval "$ac_link") 2>conftest.er1
29919
 
  ac_status=$?
29920
 
  grep -v '^ *+' conftest.er1 >conftest.err
29921
 
  rm -f conftest.er1
29922
 
  cat conftest.err >&5
29923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924
 
  (exit $ac_status); } && {
29925
 
         test -z "$ac_c_werror_flag" ||
29926
 
         test ! -s conftest.err
29927
 
       } && test -s conftest$ac_exeext &&
29928
 
       $as_test_x conftest$ac_exeext; then
29929
 
  eval "ac_cv_lib_jpeg_normal=-ljpeg"
29930
 
else
29931
 
  echo "$as_me: failed program was:" >&5
29932
 
sed 's/^/| /' conftest.$ac_ext >&5
29933
 
 
29934
 
        eval "ac_cv_lib_jpeg_normal=no"
29935
 
fi
29936
 
 
29937
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29938
 
      conftest$ac_exeext conftest.$ac_ext
29939
 
LIBS="$ac_save_LIBS"
29940
 
CFLAGS="$ac_save_CFLAGS"
29941
 
 
29942
 
fi
29943
 
 
29944
 
 
29945
 
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
29946
 
  LIBJPEG="$ac_cv_lib_jpeg_normal"
29947
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
29948
 
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6; }
29949
 
else
29950
 
  { echo "$as_me:$LINENO: result: no" >&5
29951
 
echo "${ECHO_T}no" >&6; }
29952
 
 
29953
 
       LIBJPEG=
29954
 
 
29955
 
 
29956
 
fi
29957
 
 
29958
 
 
29959
 
 
29960
 
fi
29961
 
 
29962
 
 
29963
 
 
29964
 
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
29965
 
 
29966
 
jpeg_incdir=NO
29967
 
for i in $jpeg_incdirs;
29968
 
do
29969
 
  for j in jpeglib.h;
29970
 
  do
29971
 
    echo "configure: 29971: $i/$j" >&5
29972
 
    if test -r "$i/$j"; then
29973
 
      echo "taking that" >&5
29974
 
      jpeg_incdir=$i
29975
 
      break 2
29976
 
    fi
29977
 
  done
29978
 
done
29979
 
 
29980
 
test "x$jpeg_incdir" = xNO && jpeg_incdir=
29981
 
 
29982
 
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
29983
 
 
29984
 
cat >>confdefs.h <<_ACEOF
29985
 
#define HAVE_LIBJPEG 1
29986
 
_ACEOF
29987
 
 
29988
 
else
29989
 
  if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
29990
 
    { echo "$as_me:$LINENO: WARNING:
29991
 
There is an installation error in jpeg support. You seem to have only one
29992
 
of either the headers _or_ the libraries installed. You may need to either
29993
 
provide correct --with-extra-... options, or the development package of
29994
 
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
29995
 
Disabling JPEG support.
29996
 
" >&5
29997
 
echo "$as_me: WARNING:
29998
 
There is an installation error in jpeg support. You seem to have only one
29999
 
of either the headers _or_ the libraries installed. You may need to either
30000
 
provide correct --with-extra-... options, or the development package of
30001
 
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30002
 
Disabling JPEG support.
30003
 
" >&2;}
30004
 
  else
30005
 
    { echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
30006
 
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
30007
 
  fi
30008
 
  jpeg_incdir=
30009
 
  LIBJPEG=
30010
 
fi
30011
 
 
30012
 
 
30013
 
 
30014
 
 
30015
 
 
30016
 
 
30017
 
 
30018
 
   { echo "$as_me:$LINENO: checking for perl" >&5
30019
 
echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
30020
 
   if test -n "$PERL"; then
30021
 
        kde_cv_path="$PERL";
30022
 
   else
30023
 
        kde_cache=`echo perl | sed 'y%./+-%__p_%'`
30024
 
 
30025
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30026
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30027
 
else
30028
 
 
30029
 
        kde_cv_path="NONE"
30030
 
        kde_save_IFS=$IFS
30031
 
        IFS=':'
30032
 
        dirs=""
30033
 
        for dir in $PATH; do
30034
 
          dirs="$dirs $dir"
30035
 
        done
30036
 
        if test -z ""; then       dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
30037
 
        else      dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
30038
 
        fi
30039
 
        IFS=$kde_save_IFS
30040
 
 
30041
 
        for dir in $dirs; do
30042
 
          if test -x "$dir/perl"; then
30043
 
            if test -n ""
30044
 
            then
30045
 
              evalstr="$dir/perl  2>&1 "
30046
 
              if eval $evalstr; then
30047
 
                kde_cv_path="$dir/perl"
30048
 
                break
30049
 
              fi
30050
 
            else
30051
 
                kde_cv_path="$dir/perl"
30052
 
                break
30053
 
            fi
30054
 
          fi
30055
 
        done
30056
 
 
30057
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30058
 
 
30059
 
 
30060
 
fi
30061
 
 
30062
 
 
30063
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30064
 
 
30065
 
   fi
30066
 
 
30067
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30068
 
      { echo "$as_me:$LINENO: result: not found" >&5
30069
 
echo "${ECHO_T}not found" >&6; }
30070
 
 
30071
 
                    { { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
30072
 
We need perl to generate some code." >&5
30073
 
echo "$as_me: error: No Perl found in your $PATH.
30074
 
We need perl to generate some code." >&2;}
30075
 
   { (exit 1); exit 1; }; }
30076
 
 
30077
 
   else
30078
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30079
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30080
 
      PERL=$kde_cv_path
30081
 
 
30082
 
   fi
30083
 
 
30084
 
 
30085
 
 
30086
 
 
30087
 
 
30088
 
 
30089
 
 
30090
 
 
30091
 
 
30092
 
 
30093
 
# Check whether --enable-mt was given.
30094
 
if test "${enable_mt+set}" = set; then
30095
 
  enableval=$enable_mt; kde_use_qt_mt=$enableval
30096
 
else
30097
 
 
30098
 
    if test $kde_qtver = 3; then
30099
 
      kde_use_qt_mt=yes
30100
 
    else
30101
 
      kde_use_qt_mt=no
30102
 
    fi
30103
 
 
30104
 
 
30105
 
fi
30106
 
 
30107
 
 
30108
 
USING_QT_MT=""
30109
 
 
30110
 
 
30111
 
KDE_MT_LDFLAGS=
30112
 
KDE_MT_LIBS=
30113
 
if test "x$kde_use_qt_mt" = "xyes"; then
30114
 
 
30115
 
 
30116
 
 
30117
 
    if test -z "$LIBPTHREAD"; then
30118
 
    if test -z "$USE_THREADS"; then
30119
 
      kde_check_threading_default=no
30120
 
    else
30121
 
      kde_check_threading_default=yes
30122
 
    fi
30123
 
  else
30124
 
    kde_check_threading_default=yes
30125
 
  fi
30126
 
  # Check whether --enable-threading was given.
30127
 
if test "${enable_threading+set}" = set; then
30128
 
  enableval=$enable_threading; kde_use_threading=$enableval
30129
 
else
30130
 
  kde_use_threading=$kde_check_threading_default
30131
 
fi
30132
 
 
30133
 
  if test "x$kde_use_threading" = "xyes"; then
30134
 
 
30135
 
cat >>confdefs.h <<\_ACEOF
30136
 
#define HAVE_LIBPTHREAD 1
30137
 
_ACEOF
30138
 
 
30139
 
  fi
30140
 
 
30141
 
  if test "x$kde_use_threading" = "xyes"; then
30142
 
    CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
30143
 
    KDE_MT_LDFLAGS="$USE_THREADS"
30144
 
    KDE_MT_LIBS="$LIBPTHREAD"
30145
 
  else
30146
 
    kde_use_qt_mt=no
30147
 
  fi
30148
 
fi
30149
 
 
30150
 
 
30151
 
 
30152
 
kde_qt_was_given=yes
30153
 
 
30154
 
if test -z "$LIBQT_GLOB"; then
30155
 
  if test "x$kde_use_qt_emb" = "xyes"; then
30156
 
    LIBQT_GLOB="libqte.*"
30157
 
  else
30158
 
    LIBQT_GLOB="libqt.*"
30159
 
  fi
30160
 
fi
30161
 
 
30162
 
if test "x$kde_use_qt_emb" = "xyes"; then
30163
 
  qtlib="qte"
30164
 
else
30165
 
  qtlib="qt"
30166
 
fi
30167
 
 
30168
 
kde_int_qt="-l$qtlib"
30169
 
 
30170
 
if test -z "$LIBQPE"; then
30171
 
  if test "x$kde_use_qt_emb" = "xyes"; then
30172
 
    if test "x$kde_use_qt_emb_palm" = "xyes"; then
30173
 
      LIB_QPE="-lqpe"
30174
 
    else
30175
 
      LIB_QPE=""
30176
 
    fi
30177
 
  else
30178
 
    LIB_QPE=""
30179
 
  fi
30180
 
fi
30181
 
 
30182
 
 
30183
 
if test "x$kde_use_qt_mt" = "xyes"; then
30184
 
  LIBQT="-l$qtlib-mt"
30185
 
  kde_int_qt="-l$qtlib-mt"
30186
 
  LIBQT_GLOB="lib$qtlib-mt.*"
30187
 
  USING_QT_MT="using -mt"
30188
 
else
30189
 
  LIBQT="-l$qtlib"
30190
 
fi
30191
 
 
30192
 
if test $kde_qtver != 1; then
30193
 
 
30194
 
 
30195
 
 
30196
 
  LIBQT="$LIBQT $LIBPNG $LIBJPEG"
30197
 
fi
30198
 
 
30199
 
if test $kde_qtver = 3; then
30200
 
 
30201
 
  LIBQT="$LIBQT $LIBDL"
30202
 
fi
30203
 
 
30204
 
{ echo "$as_me:$LINENO: checking for Qt" >&5
30205
 
echo $ECHO_N "checking for Qt... $ECHO_C" >&6; }
30206
 
 
30207
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30208
 
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
30209
 
fi
30210
 
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
30211
 
qt_libraries=""
30212
 
qt_includes=""
30213
 
 
30214
 
# Check whether --with-qt-dir was given.
30215
 
if test "${with_qt_dir+set}" = set; then
30216
 
  withval=$with_qt_dir;   ac_qt_includes="$withval"/include
30217
 
       ac_qt_libraries="$withval"/lib${kdelibsuff}
30218
 
       ac_qt_bindir="$withval"/bin
30219
 
 
30220
 
fi
30221
 
 
30222
 
 
30223
 
 
30224
 
# Check whether --with-qt-includes was given.
30225
 
if test "${with_qt_includes+set}" = set; then
30226
 
  withval=$with_qt_includes;
30227
 
       ac_qt_includes="$withval"
30228
 
 
30229
 
fi
30230
 
 
30231
 
 
30232
 
kde_qt_libs_given=no
30233
 
 
30234
 
 
30235
 
# Check whether --with-qt-libraries was given.
30236
 
if test "${with_qt_libraries+set}" = set; then
30237
 
  withval=$with_qt_libraries;   ac_qt_libraries="$withval"
30238
 
       kde_qt_libs_given=yes
30239
 
 
30240
 
fi
30241
 
 
30242
 
 
30243
 
if test "${ac_cv_have_qt+set}" = set; then
30244
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30245
 
else
30246
 
  #try to guess Qt locations
30247
 
 
30248
 
qt_incdirs=""
30249
 
for dir in $kde_qt_dirs; do
30250
 
   qt_incdirs="$qt_incdirs $dir/include $dir"
30251
 
done
30252
 
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"
30253
 
if test ! "$ac_qt_includes" = "NO"; then
30254
 
   qt_incdirs="$ac_qt_includes $qt_incdirs"
30255
 
fi
30256
 
 
30257
 
if test "$kde_qtver" != "1"; then
30258
 
  kde_qt_header=qstyle.h
30259
 
else
30260
 
  kde_qt_header=qglobal.h
30261
 
fi
30262
 
 
30263
 
 
30264
 
qt_incdir=NO
30265
 
for i in $qt_incdirs;
30266
 
do
30267
 
  for j in $kde_qt_header;
30268
 
  do
30269
 
    echo "configure: 30269: $i/$j" >&5
30270
 
    if test -r "$i/$j"; then
30271
 
      echo "taking that" >&5
30272
 
      qt_incdir=$i
30273
 
      break 2
30274
 
    fi
30275
 
  done
30276
 
done
30277
 
 
30278
 
ac_qt_includes="$qt_incdir"
30279
 
 
30280
 
qt_libdirs=""
30281
 
for dir in $kde_qt_dirs; do
30282
 
   qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
30283
 
done
30284
 
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
30285
 
if test ! "$ac_qt_libraries" = "NO"; then
30286
 
  qt_libdir=$ac_qt_libraries
30287
 
else
30288
 
  qt_libdirs="$ac_qt_libraries $qt_libdirs"
30289
 
  # if the Qt was given, the chance is too big that libqt.* doesn't exist
30290
 
  qt_libdir=NONE
30291
 
  for dir in $qt_libdirs; do
30292
 
    try="ls -1 $dir/${LIBQT_GLOB}"
30293
 
    if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
30294
 
  done
30295
 
fi
30296
 
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30297
 
  if test -e "$a"; then
30298
 
    LIBQT="$LIBQT ${kde_int_qt}_incremental"
30299
 
    break
30300
 
  fi
30301
 
done
30302
 
 
30303
 
ac_qt_libraries="$qt_libdir"
30304
 
 
30305
 
 
30306
 
 ac_ext=cpp
30307
 
ac_cpp='$CXXCPP $CPPFLAGS'
30308
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30309
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30310
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30311
 
 
30312
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30313
 
 
30314
 
 
30315
 
 
30316
 
ac_cxxflags_safe="$CXXFLAGS"
30317
 
ac_ldflags_safe="$LDFLAGS"
30318
 
ac_libs_safe="$LIBS"
30319
 
 
30320
 
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
30321
 
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
30322
 
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
30323
 
 
30324
 
 
30325
 
 
30326
 
cat > conftest.$ac_ext <<EOF
30327
 
#include "confdefs.h"
30328
 
#include <qglobal.h>
30329
 
#include <qapplication.h>
30330
 
EOF
30331
 
if test "$kde_qtver" = "2"; then
30332
 
cat >> conftest.$ac_ext <<EOF
30333
 
#include <qevent.h>
30334
 
#include <qstring.h>
30335
 
#include <qstyle.h>
30336
 
EOF
30337
 
 
30338
 
if test $kde_qtsubver -gt 0; then
30339
 
cat >> conftest.$ac_ext <<EOF
30340
 
#if QT_VERSION < 210
30341
 
#error 1
30342
 
#endif
30343
 
EOF
30344
 
fi
30345
 
fi
30346
 
 
30347
 
if test "$kde_qtver" = "3"; then
30348
 
cat >> conftest.$ac_ext <<EOF
30349
 
#include <qcursor.h>
30350
 
#include <qstylefactory.h>
30351
 
#include <private/qucomextra_p.h>
30352
 
EOF
30353
 
fi
30354
 
 
30355
 
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30356
 
cat >> conftest.$ac_ext <<EOF
30357
 
#error 1
30358
 
#endif
30359
 
 
30360
 
int main() {
30361
 
EOF
30362
 
if test "$kde_qtver" = "2"; then
30363
 
cat >> conftest.$ac_ext <<EOF
30364
 
    QStringList *t = new QStringList();
30365
 
    Q_UNUSED(t);
30366
 
EOF
30367
 
if test $kde_qtsubver -gt 0; then
30368
 
cat >> conftest.$ac_ext <<EOF
30369
 
    QString s;
30370
 
    s.setLatin1("Elvis is alive", 14);
30371
 
EOF
30372
 
fi
30373
 
fi
30374
 
if test "$kde_qtver" = "3"; then
30375
 
cat >> conftest.$ac_ext <<EOF
30376
 
    (void)QStyleFactory::create(QString::null);
30377
 
    QCursor c(Qt::WhatsThisCursor);
30378
 
EOF
30379
 
fi
30380
 
cat >> conftest.$ac_ext <<EOF
30381
 
    return 0;
30382
 
}
30383
 
EOF
30384
 
 
30385
 
 
30386
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30387
 
  (eval $ac_link) 2>&5
30388
 
  ac_status=$?
30389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390
 
  (exit $ac_status); } && test -s conftest; then
30391
 
  rm -f conftest*
30392
 
else
30393
 
  echo "configure: failed program was:" >&5
30394
 
  cat conftest.$ac_ext >&5
30395
 
  ac_qt_libraries="NO"
30396
 
fi
30397
 
rm -f conftest*
30398
 
CXXFLAGS="$ac_cxxflags_safe"
30399
 
LDFLAGS="$ac_ldflags_safe"
30400
 
LIBS="$ac_libs_safe"
30401
 
 
30402
 
ac_ext=c
30403
 
ac_cpp='$CPP $CPPFLAGS'
30404
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30405
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30406
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30407
 
 
30408
 
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
30409
 
  ac_cv_have_qt="have_qt=no"
30410
 
  ac_qt_notfound=""
30411
 
  missing_qt_mt=""
30412
 
  if test "$ac_qt_includes" = NO; then
30413
 
    if test "$ac_qt_libraries" = NO; then
30414
 
      ac_qt_notfound="(headers and libraries)";
30415
 
    else
30416
 
      ac_qt_notfound="(headers)";
30417
 
    fi
30418
 
  else
30419
 
    if test "x$kde_use_qt_mt" = "xyes"; then
30420
 
       missing_qt_mt="
30421
 
Make sure that you have compiled Qt with thread support!"
30422
 
       ac_qt_notfound="(library $qtlib-mt)";
30423
 
    else
30424
 
       ac_qt_notfound="(library $qtlib)";
30425
 
    fi
30426
 
  fi
30427
 
 
30428
 
  { { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30429
 
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
30430
 
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30431
 
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
30432
 
   { (exit 1); exit 1; }; }
30433
 
else
30434
 
  have_qt="yes"
30435
 
fi
30436
 
 
30437
 
fi
30438
 
 
30439
 
 
30440
 
eval "$ac_cv_have_qt"
30441
 
 
30442
 
if test "$have_qt" != yes; then
30443
 
  { echo "$as_me:$LINENO: result: $have_qt" >&5
30444
 
echo "${ECHO_T}$have_qt" >&6; };
30445
 
else
30446
 
  ac_cv_have_qt="have_qt=yes \
30447
 
    ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
30448
 
  { echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
30449
 
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6; }
30450
 
 
30451
 
  qt_libraries="$ac_qt_libraries"
30452
 
  qt_includes="$ac_qt_includes"
30453
 
fi
30454
 
 
30455
 
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
30456
 
 
30457
 
 
30458
 
{ echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
30459
 
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6; }
30460
 
if test "${kde_cv_qt_direct+set}" = set; then
30461
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30462
 
else
30463
 
 
30464
 
 
30465
 
 ac_ext=cpp
30466
 
ac_cpp='$CXXCPP $CPPFLAGS'
30467
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30470
 
 
30471
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30472
 
 
30473
 
 
30474
 
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
30475
 
ac_LIBRARY_PATH="$LIBRARY_PATH"
30476
 
ac_cxxflags_safe="$CXXFLAGS"
30477
 
ac_ldflags_safe="$LDFLAGS"
30478
 
ac_libs_safe="$LIBS"
30479
 
 
30480
 
CXXFLAGS="$CXXFLAGS -I$qt_includes"
30481
 
LDFLAGS="$LDFLAGS $X_LDFLAGS"
30482
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30483
 
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
30484
 
else
30485
 
LIBS="$LIBQT $LIBSOCKET"
30486
 
fi
30487
 
LD_LIBRARY_PATH=
30488
 
export LD_LIBRARY_PATH
30489
 
LIBRARY_PATH=
30490
 
export LIBRARY_PATH
30491
 
 
30492
 
 
30493
 
 
30494
 
cat > conftest.$ac_ext <<EOF
30495
 
#include "confdefs.h"
30496
 
#include <qglobal.h>
30497
 
#include <qapplication.h>
30498
 
EOF
30499
 
if test "$kde_qtver" = "2"; then
30500
 
cat >> conftest.$ac_ext <<EOF
30501
 
#include <qevent.h>
30502
 
#include <qstring.h>
30503
 
#include <qstyle.h>
30504
 
EOF
30505
 
 
30506
 
if test $kde_qtsubver -gt 0; then
30507
 
cat >> conftest.$ac_ext <<EOF
30508
 
#if QT_VERSION < 210
30509
 
#error 1
30510
 
#endif
30511
 
EOF
30512
 
fi
30513
 
fi
30514
 
 
30515
 
if test "$kde_qtver" = "3"; then
30516
 
cat >> conftest.$ac_ext <<EOF
30517
 
#include <qcursor.h>
30518
 
#include <qstylefactory.h>
30519
 
#include <private/qucomextra_p.h>
30520
 
EOF
30521
 
fi
30522
 
 
30523
 
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30524
 
cat >> conftest.$ac_ext <<EOF
30525
 
#error 1
30526
 
#endif
30527
 
 
30528
 
int main() {
30529
 
EOF
30530
 
if test "$kde_qtver" = "2"; then
30531
 
cat >> conftest.$ac_ext <<EOF
30532
 
    QStringList *t = new QStringList();
30533
 
    Q_UNUSED(t);
30534
 
EOF
30535
 
if test $kde_qtsubver -gt 0; then
30536
 
cat >> conftest.$ac_ext <<EOF
30537
 
    QString s;
30538
 
    s.setLatin1("Elvis is alive", 14);
30539
 
EOF
30540
 
fi
30541
 
fi
30542
 
if test "$kde_qtver" = "3"; then
30543
 
cat >> conftest.$ac_ext <<EOF
30544
 
    (void)QStyleFactory::create(QString::null);
30545
 
    QCursor c(Qt::WhatsThisCursor);
30546
 
EOF
30547
 
fi
30548
 
cat >> conftest.$ac_ext <<EOF
30549
 
    return 0;
30550
 
}
30551
 
EOF
30552
 
 
30553
 
 
30554
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30555
 
  (eval $ac_link) 2>&5
30556
 
  ac_status=$?
30557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558
 
  (exit $ac_status); } && test -s conftest; then
30559
 
  kde_cv_qt_direct="yes"
30560
 
else
30561
 
  kde_cv_qt_direct="no"
30562
 
  echo "configure: failed program was:" >&5
30563
 
  cat conftest.$ac_ext >&5
30564
 
fi
30565
 
 
30566
 
rm -f conftest*
30567
 
CXXFLAGS="$ac_cxxflags_safe"
30568
 
LDFLAGS="$ac_ldflags_safe"
30569
 
LIBS="$ac_libs_safe"
30570
 
 
30571
 
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
30572
 
export LD_LIBRARY_PATH
30573
 
LIBRARY_PATH="$ac_LIBRARY_PATH"
30574
 
export LIBRARY_PATH
30575
 
ac_ext=c
30576
 
ac_cpp='$CPP $CPPFLAGS'
30577
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30578
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30579
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30580
 
 
30581
 
 
30582
 
fi
30583
 
 
30584
 
 
30585
 
if test "$kde_cv_qt_direct" = "yes"; then
30586
 
  { echo "$as_me:$LINENO: result: yes" >&5
30587
 
echo "${ECHO_T}yes" >&6; }
30588
 
  qt_libraries=
30589
 
else
30590
 
  { echo "$as_me:$LINENO: result: no" >&5
30591
 
echo "${ECHO_T}no" >&6; }
30592
 
 
30593
 
fi
30594
 
 
30595
 
fi
30596
 
 
30597
 
 
30598
 
 
30599
 
 
30600
 
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
30601
 
 QT_INCLUDES=""
30602
 
else
30603
 
 QT_INCLUDES="-I$qt_includes"
30604
 
 all_includes="$QT_INCLUDES $all_includes"
30605
 
fi
30606
 
 
30607
 
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
30608
 
 QT_LDFLAGS=""
30609
 
else
30610
 
 QT_LDFLAGS="-L$qt_libraries"
30611
 
 all_libraries="$QT_LDFLAGS $all_libraries"
30612
 
fi
30613
 
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
30614
 
 
30615
 
 
30616
 
 
30617
 
 
30618
 
 
30619
 
   qt_bindirs=""
30620
 
   for dir in $kde_qt_dirs; do
30621
 
      qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
30622
 
   done
30623
 
   qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
30624
 
   if test ! "$ac_qt_bindir" = "NO"; then
30625
 
      qt_bindirs="$ac_qt_bindir $qt_bindirs"
30626
 
   fi
30627
 
 
30628
 
 
30629
 
   { echo "$as_me:$LINENO: checking for moc" >&5
30630
 
echo $ECHO_N "checking for moc... $ECHO_C" >&6; }
30631
 
   if test -n "$MOC"; then
30632
 
        kde_cv_path="$MOC";
30633
 
   else
30634
 
        kde_cache=`echo moc | sed 'y%./+-%__p_%'`
30635
 
 
30636
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30637
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30638
 
else
30639
 
 
30640
 
        kde_cv_path="NONE"
30641
 
        kde_save_IFS=$IFS
30642
 
        IFS=':'
30643
 
        dirs=""
30644
 
        for dir in $PATH; do
30645
 
          dirs="$dirs $dir"
30646
 
        done
30647
 
        if test -z ""; then       dirs="$qt_bindirs $dirs"
30648
 
        else      dirs="$dirs $qt_bindirs"
30649
 
        fi
30650
 
        IFS=$kde_save_IFS
30651
 
 
30652
 
        for dir in $dirs; do
30653
 
          if test -x "$dir/moc"; then
30654
 
            if test -n ""
30655
 
            then
30656
 
              evalstr="$dir/moc  2>&1 "
30657
 
              if eval $evalstr; then
30658
 
                kde_cv_path="$dir/moc"
30659
 
                break
30660
 
              fi
30661
 
            else
30662
 
                kde_cv_path="$dir/moc"
30663
 
                break
30664
 
            fi
30665
 
          fi
30666
 
        done
30667
 
 
30668
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30669
 
 
30670
 
 
30671
 
fi
30672
 
 
30673
 
 
30674
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30675
 
 
30676
 
   fi
30677
 
 
30678
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30679
 
      { echo "$as_me:$LINENO: result: not found" >&5
30680
 
echo "${ECHO_T}not found" >&6; }
30681
 
 
30682
 
    { { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
30683
 
Please check whether you installed Qt correctly.
30684
 
You need to have a running moc binary.
30685
 
configure tried to run $ac_cv_path_moc and the test didn't
30686
 
succeed. If configure shouldn't have tried this one, set
30687
 
the environment variable MOC to the right one before running
30688
 
configure.
30689
 
" >&5
30690
 
echo "$as_me: error: No Qt meta object compiler (moc) found!
30691
 
Please check whether you installed Qt correctly.
30692
 
You need to have a running moc binary.
30693
 
configure tried to run $ac_cv_path_moc and the test didn't
30694
 
succeed. If configure shouldn't have tried this one, set
30695
 
the environment variable MOC to the right one before running
30696
 
configure.
30697
 
" >&2;}
30698
 
   { (exit 1); exit 1; }; }
30699
 
 
30700
 
   else
30701
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30702
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30703
 
      MOC=$kde_cv_path
30704
 
 
30705
 
   fi
30706
 
 
30707
 
   if test -z "$UIC_NOT_NEEDED"; then
30708
 
 
30709
 
   { echo "$as_me:$LINENO: checking for uic" >&5
30710
 
echo $ECHO_N "checking for uic... $ECHO_C" >&6; }
30711
 
   if test -n "$UIC_PATH"; then
30712
 
        kde_cv_path="$UIC_PATH";
30713
 
   else
30714
 
        kde_cache=`echo uic | sed 'y%./+-%__p_%'`
30715
 
 
30716
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30717
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30718
 
else
30719
 
 
30720
 
        kde_cv_path="NONE"
30721
 
        kde_save_IFS=$IFS
30722
 
        IFS=':'
30723
 
        dirs=""
30724
 
        for dir in $PATH; do
30725
 
          dirs="$dirs $dir"
30726
 
        done
30727
 
        if test -z ""; then       dirs="$qt_bindirs $dirs"
30728
 
        else      dirs="$dirs $qt_bindirs"
30729
 
        fi
30730
 
        IFS=$kde_save_IFS
30731
 
 
30732
 
        for dir in $dirs; do
30733
 
          if test -x "$dir/uic"; then
30734
 
            if test -n ""
30735
 
            then
30736
 
              evalstr="$dir/uic  2>&1 "
30737
 
              if eval $evalstr; then
30738
 
                kde_cv_path="$dir/uic"
30739
 
                break
30740
 
              fi
30741
 
            else
30742
 
                kde_cv_path="$dir/uic"
30743
 
                break
30744
 
            fi
30745
 
          fi
30746
 
        done
30747
 
 
30748
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30749
 
 
30750
 
 
30751
 
fi
30752
 
 
30753
 
 
30754
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30755
 
 
30756
 
   fi
30757
 
 
30758
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30759
 
      { echo "$as_me:$LINENO: result: not found" >&5
30760
 
echo "${ECHO_T}not found" >&6; }
30761
 
      UIC_PATH=""
30762
 
   else
30763
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30764
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30765
 
      UIC_PATH=$kde_cv_path
30766
 
 
30767
 
   fi
30768
 
 
30769
 
     if test -z "$UIC_PATH" ; then
30770
 
 
30771
 
    { echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
30772
 
Please check whether you installed Qt correctly.
30773
 
You need to have a running uic binary.
30774
 
configure tried to run $ac_cv_path_uic and the test didn't
30775
 
succeed. If configure shouldn't have tried this one, set
30776
 
the environment variable UIC to the right one before running
30777
 
configure.
30778
 
" >&5
30779
 
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
30780
 
Please check whether you installed Qt correctly.
30781
 
You need to have a running uic binary.
30782
 
configure tried to run $ac_cv_path_uic and the test didn't
30783
 
succeed. If configure shouldn't have tried this one, set
30784
 
the environment variable UIC to the right one before running
30785
 
configure.
30786
 
" >&2;}
30787
 
 
30788
 
       exit 1
30789
 
     else
30790
 
       UIC=$UIC_PATH
30791
 
 
30792
 
       if test $kde_qtver = 3; then
30793
 
 
30794
 
    { echo "$as_me:$LINENO: checking whether uic supports -L " >&5
30795
 
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6; }
30796
 
    kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
30797
 
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30798
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30799
 
else
30800
 
 
30801
 
        cat >conftest.ui <<EOT
30802
 
        <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30803
 
EOT
30804
 
        ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
30805
 
        if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30806
 
  (eval $ac_uic_testrun) 2>&5
30807
 
  ac_status=$?
30808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30809
 
  (exit $ac_status); }; then
30810
 
            eval "kde_cv_prog_uic_$kde_cache=yes"
30811
 
        else
30812
 
            eval "kde_cv_prog_uic_$kde_cache=no"
30813
 
        fi
30814
 
        rm -f conftest*
30815
 
 
30816
 
fi
30817
 
 
30818
 
 
30819
 
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30820
 
        { echo "$as_me:$LINENO: result: yes" >&5
30821
 
echo "${ECHO_T}yes" >&6; }
30822
 
        :
30823
 
        ac_uic_supports_libpath=yes
30824
 
    else
30825
 
        { echo "$as_me:$LINENO: result: no" >&5
30826
 
echo "${ECHO_T}no" >&6; }
30827
 
        :
30828
 
        ac_uic_supports_libpath=no
30829
 
    fi
30830
 
 
30831
 
 
30832
 
    { echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
30833
 
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6; }
30834
 
    kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
30835
 
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30836
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30837
 
else
30838
 
 
30839
 
        cat >conftest.ui <<EOT
30840
 
        <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30841
 
EOT
30842
 
        ac_uic_testrun="$UIC_PATH -nounload  conftest.ui >/dev/null"
30843
 
        if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30844
 
  (eval $ac_uic_testrun) 2>&5
30845
 
  ac_status=$?
30846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847
 
  (exit $ac_status); }; then
30848
 
            eval "kde_cv_prog_uic_$kde_cache=yes"
30849
 
        else
30850
 
            eval "kde_cv_prog_uic_$kde_cache=no"
30851
 
        fi
30852
 
        rm -f conftest*
30853
 
 
30854
 
fi
30855
 
 
30856
 
 
30857
 
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30858
 
        { echo "$as_me:$LINENO: result: yes" >&5
30859
 
echo "${ECHO_T}yes" >&6; }
30860
 
        :
30861
 
        ac_uic_supports_nounload=yes
30862
 
    else
30863
 
        { echo "$as_me:$LINENO: result: no" >&5
30864
 
echo "${ECHO_T}no" >&6; }
30865
 
        :
30866
 
        ac_uic_supports_nounload=no
30867
 
    fi
30868
 
 
30869
 
 
30870
 
         if test x$ac_uic_supports_libpath = xyes; then
30871
 
             UIC="$UIC -L \$(kde_widgetdir)"
30872
 
         fi
30873
 
         if test x$ac_uic_supports_nounload = xyes; then
30874
 
             UIC="$UIC -nounload"
30875
 
         fi
30876
 
       fi
30877
 
     fi
30878
 
   else
30879
 
     UIC="echo uic not available: "
30880
 
   fi
30881
 
 
30882
 
 
30883
 
 
30884
 
 
30885
 
   UIC_TR="i18n"
30886
 
   if test $kde_qtver = 3; then
30887
 
     UIC_TR="tr2i18n"
30888
 
   fi
30889
 
 
30890
 
 
30891
 
 
30892
 
 
30893
 
 
30894
 
if test -n "$LIBJPEG"; then
30895
 
{ echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
30896
 
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6; }
30897
 
if test "${kde_cv_qt_jpeg+set}" = set; then
30898
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30899
 
else
30900
 
 
30901
 
 
30902
 
 ac_ext=cpp
30903
 
ac_cpp='$CXXCPP $CPPFLAGS'
30904
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30907
 
 
30908
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30909
 
 
30910
 
 
30911
 
ac_save_LIBS="$LIBS"
30912
 
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
30913
 
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
30914
 
ac_save_CXXFLAGS="$CXXFLAGS"
30915
 
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
30916
 
cat >conftest.$ac_ext <<_ACEOF
30917
 
/* confdefs.h.  */
30918
 
_ACEOF
30919
 
cat confdefs.h >>conftest.$ac_ext
30920
 
cat >>conftest.$ac_ext <<_ACEOF
30921
 
/* end confdefs.h.  */
30922
 
#include <qapplication.h>
30923
 
int
30924
 
main ()
30925
 
{
30926
 
 
30927
 
            int argc;
30928
 
            char** argv;
30929
 
            QApplication app(argc, argv);
30930
 
  ;
30931
 
  return 0;
30932
 
}
30933
 
_ACEOF
30934
 
rm -f conftest.$ac_objext conftest$ac_exeext
30935
 
if { (ac_try="$ac_link"
30936
 
case "(($ac_try" in
30937
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30938
 
  *) ac_try_echo=$ac_try;;
30939
 
esac
30940
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30941
 
  (eval "$ac_link") 2>conftest.er1
30942
 
  ac_status=$?
30943
 
  grep -v '^ *+' conftest.er1 >conftest.err
30944
 
  rm -f conftest.er1
30945
 
  cat conftest.err >&5
30946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947
 
  (exit $ac_status); } && {
30948
 
         test -z "$ac_cxx_werror_flag" ||
30949
 
         test ! -s conftest.err
30950
 
       } && test -s conftest$ac_exeext &&
30951
 
       $as_test_x conftest$ac_exeext; then
30952
 
  eval "kde_cv_qt_jpeg=no"
30953
 
else
30954
 
  echo "$as_me: failed program was:" >&5
30955
 
sed 's/^/| /' conftest.$ac_ext >&5
30956
 
 
30957
 
        eval "kde_cv_qt_jpeg=yes"
30958
 
fi
30959
 
 
30960
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30961
 
      conftest$ac_exeext conftest.$ac_ext
30962
 
LIBS="$ac_save_LIBS"
30963
 
CXXFLAGS="$ac_save_CXXFLAGS"
30964
 
ac_ext=c
30965
 
ac_cpp='$CPP $CPPFLAGS'
30966
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30967
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30968
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30969
 
 
30970
 
fi
30971
 
 
30972
 
fi
30973
 
 
30974
 
 
30975
 
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
30976
 
  { echo "$as_me:$LINENO: result: yes" >&5
30977
 
echo "${ECHO_T}yes" >&6; }
30978
 
  LIBJPEG_QT='$(LIBJPEG)'
30979
 
else
30980
 
  { echo "$as_me:$LINENO: result: no" >&5
30981
 
echo "${ECHO_T}no" >&6; }
30982
 
  LIBJPEG_QT=
30983
 
fi
30984
 
 
30985
 
 
30986
 
 
30987
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30988
 
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
30989
 
else
30990
 
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
30991
 
fi
30992
 
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
30993
 
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30994
 
  if test -e "$a"; then
30995
 
     LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
30996
 
     break
30997
 
  fi
30998
 
done
30999
 
 
31000
 
 
31001
 
 
31002
 
 
31003
 
 
31004
 
 
31005
 
 
31006
 
 
31007
 
 
31008
 
 
31009
 
 
31010
 
 
31011
 
 
31012
 
{ echo "$as_me:$LINENO: checking for rpath" >&5
31013
 
echo $ECHO_N "checking for rpath... $ECHO_C" >&6; }
31014
 
# Check whether --enable-rpath was given.
31015
 
if test "${enable_rpath+set}" = set; then
31016
 
  enableval=$enable_rpath; USE_RPATH=$enableval
31017
 
else
31018
 
  USE_RPATH=yes
31019
 
fi
31020
 
 
31021
 
 
31022
 
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
31023
 
 
31024
 
  KDE_RPATH="-R \$(libdir)"
31025
 
 
31026
 
  if test "$kde_libraries" != "$libdir"; then
31027
 
      KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
31028
 
  fi
31029
 
 
31030
 
  if test -n "$qt_libraries"; then
31031
 
    KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
31032
 
  fi
31033
 
    if test -n "$X_LDFLAGS"; then
31034
 
    X_RPATH="-R \$(x_libraries)"
31035
 
    KDE_RPATH="$KDE_RPATH $X_RPATH"
31036
 
  fi
31037
 
  if test -n "$KDE_EXTRA_RPATH"; then
31038
 
    KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
31039
 
  fi
31040
 
fi
31041
 
 
31042
 
 
31043
 
 
31044
 
{ echo "$as_me:$LINENO: result: $USE_RPATH" >&5
31045
 
echo "${ECHO_T}$USE_RPATH" >&6; }
31046
 
 
31047
 
{ echo "$as_me:$LINENO: checking for KDE" >&5
31048
 
echo $ECHO_N "checking for KDE... $ECHO_C" >&6; }
31049
 
 
31050
 
if test "${prefix}" != NONE; then
31051
 
  kde_includes=${includedir}
31052
 
 
31053
 
savex=$exec_prefix
31054
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31055
 
tmp=$includedir
31056
 
while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
31057
 
exec_prefix=$savex
31058
 
 
31059
 
 
31060
 
  kde_libraries=${libdir}
31061
 
 
31062
 
savex=$exec_prefix
31063
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31064
 
tmp=$libdir
31065
 
while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
31066
 
exec_prefix=$savex
31067
 
 
31068
 
 
31069
 
else
31070
 
  ac_kde_includes=
31071
 
  ac_kde_libraries=
31072
 
  kde_libraries=""
31073
 
  kde_includes=""
31074
 
fi
31075
 
 
31076
 
if test "${ac_cv_have_kde+set}" = set; then
31077
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31078
 
else
31079
 
  #try to guess kde locations
31080
 
 
31081
 
if test "$kde_qtver" = 1; then
31082
 
  kde_check_header="ksock.h"
31083
 
  kde_check_lib="libkdecore.la"
31084
 
else
31085
 
  kde_check_header="ksharedptr.h"
31086
 
  kde_check_lib="libkio.la"
31087
 
fi
31088
 
 
31089
 
if test -z ""; then
31090
 
 
31091
 
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"
31092
 
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
31093
 
kde_incdirs="$ac_kde_includes $kde_incdirs"
31094
 
 
31095
 
kde_incdir=NO
31096
 
for i in $kde_incdirs;
31097
 
do
31098
 
  for j in $kde_check_header;
31099
 
  do
31100
 
    echo "configure: 31100: $i/$j" >&5
31101
 
    if test -r "$i/$j"; then
31102
 
      echo "taking that" >&5
31103
 
      kde_incdir=$i
31104
 
      break 2
31105
 
    fi
31106
 
  done
31107
 
done
31108
 
 
31109
 
ac_kde_includes="$kde_incdir"
31110
 
 
31111
 
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
31112
 
  { { echo "$as_me:$LINENO: error:
31113
 
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31114
 
So, check this please and use another prefix!" >&5
31115
 
echo "$as_me: error:
31116
 
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31117
 
So, check this please and use another prefix!" >&2;}
31118
 
   { (exit 1); exit 1; }; }
31119
 
fi
31120
 
 
31121
 
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}"
31122
 
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
31123
 
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
31124
 
 
31125
 
kde_libdir=NO
31126
 
for i in $kde_libdirs;
31127
 
do
31128
 
  for j in $kde_check_lib;
31129
 
  do
31130
 
    echo "configure: 31130: $i/$j" >&5
31131
 
    if test -r "$i/$j"; then
31132
 
      echo "taking that" >&5
31133
 
      kde_libdir=$i
31134
 
      break 2
31135
 
    fi
31136
 
  done
31137
 
done
31138
 
 
31139
 
ac_kde_libraries="$kde_libdir"
31140
 
 
31141
 
kde_widgetdir=NO
31142
 
 
31143
 
kde_widgetdir=NO
31144
 
for i in $kde_libdirs;
31145
 
do
31146
 
  for j in "kde3/plugins/designer/kdewidgets.la";
31147
 
  do
31148
 
    echo "configure: 31148: $i/$j" >&5
31149
 
    if test -r "$i/$j"; then
31150
 
      echo "taking that" >&5
31151
 
      kde_widgetdir=$i
31152
 
      break 2
31153
 
    fi
31154
 
  done
31155
 
done
31156
 
 
31157
 
 
31158
 
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
31159
 
{ { echo "$as_me:$LINENO: error:
31160
 
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31161
 
So, check this please and use another prefix!" >&5
31162
 
echo "$as_me: error:
31163
 
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31164
 
So, check this please and use another prefix!" >&2;}
31165
 
   { (exit 1); exit 1; }; }
31166
 
fi
31167
 
 
31168
 
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
31169
 
{ { echo "$as_me:$LINENO: error:
31170
 
I can't find the designer plugins. These are required and should have been installed
31171
 
by kdelibs" >&5
31172
 
echo "$as_me: error:
31173
 
I can't find the designer plugins. These are required and should have been installed
31174
 
by kdelibs" >&2;}
31175
 
   { (exit 1); exit 1; }; }
31176
 
fi
31177
 
 
31178
 
if test -n "$kde_widgetdir"; then
31179
 
    kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
31180
 
fi
31181
 
 
31182
 
 
31183
 
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
31184
 
  ac_cv_have_kde="have_kde=no"
31185
 
else
31186
 
  ac_cv_have_kde="have_kde=yes \
31187
 
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31188
 
fi
31189
 
 
31190
 
else
31191
 
  ac_cv_have_kde="have_kde=no"
31192
 
 
31193
 
fi
31194
 
 
31195
 
fi
31196
 
 
31197
 
eval "$ac_cv_have_kde"
31198
 
 
31199
 
if test "$have_kde" != "yes"; then
31200
 
 if test "${prefix}" = NONE; then
31201
 
  ac_kde_prefix="$ac_default_prefix"
31202
 
 else
31203
 
  ac_kde_prefix="$prefix"
31204
 
 fi
31205
 
 if test "$exec_prefix" = NONE; then
31206
 
  ac_kde_exec_prefix="$ac_kde_prefix"
31207
 
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
31208
 
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6; }
31209
 
 else
31210
 
  ac_kde_exec_prefix="$exec_prefix"
31211
 
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
31212
 
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6; }
31213
 
 fi
31214
 
 
31215
 
 kde_libraries="${libdir}"
31216
 
 kde_includes="${includedir}"
31217
 
 
31218
 
else
31219
 
  ac_cv_have_kde="have_kde=yes \
31220
 
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31221
 
  { echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
31222
 
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6; }
31223
 
 
31224
 
  kde_libraries="$ac_kde_libraries"
31225
 
  kde_includes="$ac_kde_includes"
31226
 
fi
31227
 
 
31228
 
 
31229
 
 
31230
 
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes"  || test "$kde_includes" = "/usr/include"; then
31231
 
 KDE_INCLUDES=""
31232
 
else
31233
 
 KDE_INCLUDES="-I$kde_includes"
31234
 
 all_includes="$KDE_INCLUDES $all_includes"
31235
 
fi
31236
 
 
31237
 
KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
31238
 
 
31239
 
KDE_LDFLAGS="-L$kde_libraries"
31240
 
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
31241
 
 all_libraries="$KDE_LDFLAGS $all_libraries"
31242
 
fi
31243
 
 
31244
 
 
31245
 
 
31246
 
 
31247
 
 
31248
 
 
31249
 
all_libraries="$all_libraries $USER_LDFLAGS"
31250
 
all_includes="$all_includes $USER_INCLUDES"
31251
 
 
31252
 
 
31253
 
 
31254
 
if test -z ""; then
31255
 
 
31256
 
 
31257
 
 
31258
 
if test x$ac_uic_supports_libpath = xyes; then
31259
 
 
31260
 
{ echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
31261
 
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6; }
31262
 
if test "${kde_cv_uic_plugins+set}" = set; then
31263
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31264
 
else
31265
 
 
31266
 
cat > actest.ui << EOF
31267
 
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
31268
 
<class>NewConnectionDialog</class>
31269
 
<widget class="QDialog">
31270
 
   <widget class="KLineEdit">
31271
 
        <property name="name">
31272
 
           <cstring>testInput</cstring>
31273
 
        </property>
31274
 
   </widget>
31275
 
</widget>
31276
 
</UI>
31277
 
EOF
31278
 
 
31279
 
 
31280
 
 
31281
 
kde_cv_uic_plugins=no
31282
 
kde_line="$UIC_PATH -L $kde_widgetdir"
31283
 
if test x$ac_uic_supports_nounload = xyes; then
31284
 
   kde_line="$kde_line -nounload"
31285
 
fi
31286
 
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
31287
 
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
31288
 
  (eval $kde_line) 2>&5
31289
 
  ac_status=$?
31290
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291
 
  (exit $ac_status); }; then
31292
 
        # if you're trying to debug this check and think it's incorrect,
31293
 
        # better check your installation. The check _is_ correct - your
31294
 
        # installation is not.
31295
 
        if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
31296
 
                kde_cv_uic_plugins=yes
31297
 
        fi
31298
 
fi
31299
 
rm -f actest.ui actest.cpp
31300
 
 
31301
 
fi
31302
 
 
31303
 
 
31304
 
{ echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
31305
 
echo "${ECHO_T}$kde_cv_uic_plugins" >&6; }
31306
 
if test "$kde_cv_uic_plugins" != yes; then
31307
 
        { { echo "$as_me:$LINENO: error:
31308
 
you need to install kdelibs first.
31309
 
 
31310
 
If you did install kdelibs, then the Qt version that is picked up by
31311
 
this configure is not the same version you used to compile kdelibs.
31312
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31313
 
_same Qt version_, compiled with the _same compiler_ and the same Qt
31314
 
configuration settings.
31315
 
" >&5
31316
 
echo "$as_me: error:
31317
 
you need to install kdelibs first.
31318
 
 
31319
 
If you did install kdelibs, then the Qt version that is picked up by
31320
 
this configure is not the same version you used to compile kdelibs.
31321
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31322
 
_same Qt version_, compiled with the _same compiler_ and the same Qt
31323
 
configuration settings.
31324
 
" >&2;}
31325
 
   { (exit 1); exit 1; }; }
31326
 
fi
31327
 
fi
31328
 
 
31329
 
fi
31330
 
 
31331
 
ac_kde_libraries="$kde_libdir"
31332
 
 
31333
 
 
31334
 
 
31335
 
 
31336
 
 
31337
 
  # Check whether --enable-path-check was given.
31338
 
if test "${enable_path_check+set}" = set; then
31339
 
  enableval=$enable_path_check;
31340
 
  if test "$enableval" = "no";
31341
 
    then ac_use_path_checking="default"
31342
 
    else ac_use_path_checking=""
31343
 
  fi
31344
 
 
31345
 
else
31346
 
 
31347
 
  if test "$kde_qtver" = 1;
31348
 
    then ac_use_path_checking=""
31349
 
    else ac_use_path_checking="default"
31350
 
  fi
31351
 
 
31352
 
 
31353
 
fi
31354
 
 
31355
 
 
31356
 
 
31357
 
 
31358
 
 
31359
 
{ echo "$as_me:$LINENO: checking for KDE paths" >&5
31360
 
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6; }
31361
 
kde_result=""
31362
 
kde_cached_paths=yes
31363
 
if test "${kde_cv_all_paths+set}" = set; then
31364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31365
 
else
31366
 
 
31367
 
 
31368
 
if test "$ac_use_path_checking" = "default"; then
31369
 
 
31370
 
  if test -z "$kde_htmldir"; then
31371
 
    kde_htmldir='\${datadir}/doc/HTML'
31372
 
  fi
31373
 
  if test -z "$kde_appsdir"; then
31374
 
    kde_appsdir='\${datadir}/applnk'
31375
 
  fi
31376
 
  if test -z "$kde_icondir"; then
31377
 
    kde_icondir='\${datadir}/icons'
31378
 
  fi
31379
 
  if test -z "$kde_sounddir"; then
31380
 
    kde_sounddir='\${datadir}/sounds'
31381
 
  fi
31382
 
  if test -z "$kde_datadir"; then
31383
 
    kde_datadir='\${datadir}/apps'
31384
 
  fi
31385
 
  if test -z "$kde_locale"; then
31386
 
    kde_locale='\${datadir}/locale'
31387
 
  fi
31388
 
  if test -z "$kde_cgidir"; then
31389
 
    kde_cgidir='\${exec_prefix}/cgi-bin'
31390
 
  fi
31391
 
  if test -z "$kde_confdir"; then
31392
 
    kde_confdir='\${datadir}/config'
31393
 
  fi
31394
 
  if test -z "$kde_kcfgdir"; then
31395
 
    kde_kcfgdir='\${datadir}/config.kcfg'
31396
 
  fi
31397
 
  if test -z "$kde_mimedir"; then
31398
 
    kde_mimedir='\${datadir}/mimelnk'
31399
 
  fi
31400
 
  if test -z "$kde_toolbardir"; then
31401
 
    kde_toolbardir='\${datadir}/toolbar'
31402
 
  fi
31403
 
  if test -z "$kde_wallpaperdir"; then
31404
 
    kde_wallpaperdir='\${datadir}/wallpapers'
31405
 
  fi
31406
 
  if test -z "$kde_templatesdir"; then
31407
 
    kde_templatesdir='\${datadir}/templates'
31408
 
  fi
31409
 
  if test -z "$kde_bindir"; then
31410
 
    kde_bindir='\${exec_prefix}/bin'
31411
 
  fi
31412
 
  if test -z "$kde_servicesdir"; then
31413
 
    kde_servicesdir='\${datadir}/services'
31414
 
  fi
31415
 
  if test -z "$kde_servicetypesdir"; then
31416
 
    kde_servicetypesdir='\${datadir}/servicetypes'
31417
 
  fi
31418
 
  if test -z "$kde_moduledir"; then
31419
 
    if test "$kde_qtver" = "2"; then
31420
 
      kde_moduledir='\${libdir}/kde2'
31421
 
    else
31422
 
      kde_moduledir='\${libdir}/kde3'
31423
 
    fi
31424
 
  fi
31425
 
  if test -z "$kde_styledir"; then
31426
 
    kde_styledir='\${libdir}/kde3/plugins/styles'
31427
 
  fi
31428
 
  if test -z "$kde_widgetdir"; then
31429
 
    kde_widgetdir='\${libdir}/kde3/plugins/designer'
31430
 
  fi
31431
 
  if test -z "$xdg_appsdir"; then
31432
 
    xdg_appsdir='\${datadir}/applications/kde'
31433
 
  fi
31434
 
  if test -z "$xdg_menudir"; then
31435
 
    xdg_menudir='\${sysconfdir}/xdg/menus'
31436
 
  fi
31437
 
  if test -z "$xdg_directorydir"; then
31438
 
    xdg_directorydir='\${datadir}/desktop-directories'
31439
 
  fi
31440
 
 
31441
 
 
31442
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31443
 
        kde_htmldir=\"$kde_htmldir\" \
31444
 
        kde_appsdir=\"$kde_appsdir\" \
31445
 
        kde_icondir=\"$kde_icondir\" \
31446
 
        kde_sounddir=\"$kde_sounddir\" \
31447
 
        kde_datadir=\"$kde_datadir\" \
31448
 
        kde_locale=\"$kde_locale\" \
31449
 
        kde_cgidir=\"$kde_cgidir\" \
31450
 
        kde_confdir=\"$kde_confdir\" \
31451
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31452
 
        kde_mimedir=\"$kde_mimedir\" \
31453
 
        kde_toolbardir=\"$kde_toolbardir\" \
31454
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31455
 
        kde_templatesdir=\"$kde_templatesdir\" \
31456
 
        kde_bindir=\"$kde_bindir\" \
31457
 
        kde_servicesdir=\"$kde_servicesdir\" \
31458
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31459
 
        kde_moduledir=\"$kde_moduledir\" \
31460
 
        kde_styledir=\"$kde_styledir\" \
31461
 
        kde_widgetdir=\"$kde_widgetdir\" \
31462
 
        xdg_appsdir=\"$xdg_appsdir\" \
31463
 
        xdg_menudir=\"$xdg_menudir\" \
31464
 
        xdg_directorydir=\"$xdg_directorydir\" \
31465
 
        kde_result=defaults"
31466
 
 
31467
 
 
31468
 
else
31469
 
 
31470
 
  if test $kde_qtver = 1; then
31471
 
     { echo "$as_me:$LINENO: result: compiling" >&5
31472
 
echo "${ECHO_T}compiling" >&6; }
31473
 
 
31474
 
 
31475
 
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31476
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31477
 
 
31478
 
     ac_ext=cpp
31479
 
ac_cpp='$CXXCPP $CPPFLAGS'
31480
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31481
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31482
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31483
 
 
31484
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31485
 
 
31486
 
 
31487
 
cat > conftest.$ac_ext <<EOF
31488
 
#ifdef STDC_HEADERS
31489
 
# include <stdlib.h>
31490
 
#endif
31491
 
#include <stdio.h>
31492
 
#include "confdefs.h"
31493
 
#include <kapp.h>
31494
 
 
31495
 
int main() {
31496
 
    printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31497
 
    printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31498
 
    printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31499
 
    printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31500
 
    printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31501
 
    printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31502
 
    printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31503
 
    printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31504
 
    printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31505
 
    printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31506
 
    printf("kde_wallpaperdir=\\"%s\\"\n",
31507
 
        KApplication::kde_wallpaperdir().data());
31508
 
    printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31509
 
    printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31510
 
    printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31511
 
    printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31512
 
    printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31513
 
    printf("kde_styledir=\\"/tmp/dummy\\"\n");
31514
 
    printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31515
 
    printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31516
 
    printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31517
 
    printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31518
 
    printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31519
 
    return 0;
31520
 
    }
31521
 
EOF
31522
 
 
31523
 
 ac_save_CPPFLAGS=$CPPFLAGS
31524
 
 CPPFLAGS="$all_includes $CPPFLAGS"
31525
 
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31526
 
  (eval $ac_compile) 2>&5
31527
 
  ac_status=$?
31528
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529
 
  (exit $ac_status); }; then
31530
 
   { echo "$as_me:$LINENO: result: yes" >&5
31531
 
echo "${ECHO_T}yes" >&6; }
31532
 
 else
31533
 
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31534
 
Check, if you installed the KDE header files correctly.
31535
 
For more details about this problem, look at the end of config.log." >&5
31536
 
echo "$as_me: error: your system is not able to compile a small KDE application!
31537
 
Check, if you installed the KDE header files correctly.
31538
 
For more details about this problem, look at the end of config.log." >&2;}
31539
 
   { (exit 1); exit 1; }; }
31540
 
  fi
31541
 
  CPPFLAGS=$ac_save_CPPFLAGS
31542
 
 
31543
 
  ac_ext=c
31544
 
ac_cpp='$CPP $CPPFLAGS'
31545
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31546
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31547
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31548
 
 
31549
 
 
31550
 
 
31551
 
  KDE_TEST_RPATH=
31552
 
 
31553
 
  if test -n "$USE_RPATH"; then
31554
 
 
31555
 
     if test -n "$kde_libraries"; then
31556
 
       KDE_TEST_RPATH="-R $kde_libraries"
31557
 
     fi
31558
 
 
31559
 
     if test -n "$qt_libraries"; then
31560
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31561
 
     fi
31562
 
 
31563
 
     if test -n "$x_libraries"; then
31564
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31565
 
     fi
31566
 
 
31567
 
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31568
 
  fi
31569
 
 
31570
 
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31571
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31572
 
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'
31573
 
 
31574
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31575
 
  (eval $ac_link) 2>&5
31576
 
  ac_status=$?
31577
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578
 
  (exit $ac_status); } && test -s conftest; then
31579
 
  { echo "$as_me:$LINENO: result: yes" >&5
31580
 
echo "${ECHO_T}yes" >&6; }
31581
 
else
31582
 
  { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31583
 
Check, if your compiler is installed correctly and if you have used the
31584
 
same compiler to compile Qt and kdelibs as you did use now.
31585
 
For more details about this problem, look at the end of config.log." >&5
31586
 
echo "$as_me: error: your system fails at linking a small KDE application!
31587
 
Check, if your compiler is installed correctly and if you have used the
31588
 
same compiler to compile Qt and kdelibs as you did use now.
31589
 
For more details about this problem, look at the end of config.log." >&2;}
31590
 
   { (exit 1); exit 1; }; }
31591
 
fi
31592
 
 
31593
 
if eval `KDEDIR= ./conftest 2>&5`; then
31594
 
  kde_result=done
31595
 
else
31596
 
  kde_result=problems
31597
 
fi
31598
 
 
31599
 
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31600
 
kde_have_all_paths=yes
31601
 
 
31602
 
 
31603
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31604
 
        kde_htmldir=\"$kde_htmldir\" \
31605
 
        kde_appsdir=\"$kde_appsdir\" \
31606
 
        kde_icondir=\"$kde_icondir\" \
31607
 
        kde_sounddir=\"$kde_sounddir\" \
31608
 
        kde_datadir=\"$kde_datadir\" \
31609
 
        kde_locale=\"$kde_locale\" \
31610
 
        kde_cgidir=\"$kde_cgidir\" \
31611
 
        kde_confdir=\"$kde_confdir\" \
31612
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31613
 
        kde_mimedir=\"$kde_mimedir\" \
31614
 
        kde_toolbardir=\"$kde_toolbardir\" \
31615
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31616
 
        kde_templatesdir=\"$kde_templatesdir\" \
31617
 
        kde_bindir=\"$kde_bindir\" \
31618
 
        kde_servicesdir=\"$kde_servicesdir\" \
31619
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31620
 
        kde_moduledir=\"$kde_moduledir\" \
31621
 
        kde_styledir=\"$kde_styledir\" \
31622
 
        kde_widgetdir=\"$kde_widgetdir\" \
31623
 
        xdg_appsdir=\"$xdg_appsdir\" \
31624
 
        xdg_menudir=\"$xdg_menudir\" \
31625
 
        xdg_directorydir=\"$xdg_directorydir\" \
31626
 
        kde_result=$kde_result"
31627
 
 
31628
 
 
31629
 
 
31630
 
  else
31631
 
     { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31632
 
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31633
 
   { (exit 1); exit 1; }; }
31634
 
  fi
31635
 
 
31636
 
fi
31637
 
 
31638
 
  kde_cached_paths=no
31639
 
 
31640
 
fi
31641
 
 
31642
 
eval "$kde_cv_all_paths"
31643
 
 if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
31644
 
   test -z "$kde_icondir" || test -z "$kde_sounddir" ||
31645
 
   test -z "$kde_datadir" || test -z "$kde_locale"  ||
31646
 
   test -z "$kde_cgidir"  || test -z "$kde_confdir" ||
31647
 
   test -z "$kde_kcfgdir" ||
31648
 
   test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
31649
 
   test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
31650
 
   test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
31651
 
   test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
31652
 
   test -z "$kde_styledir" || test -z "kde_widgetdir" ||
31653
 
   test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
31654
 
   test "x$kde_have_all_paths" != "xyes"; then
31655
 
     kde_have_all_paths=no
31656
 
  fi
31657
 
 
31658
 
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
31659
 
  # wrong values were cached, may be, we can set better ones
31660
 
  kde_result=
31661
 
  kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
31662
 
  kde_datadir= kde_locale=  kde_cgidir=  kde_confdir= kde_kcfgdir=
31663
 
  kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
31664
 
  kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
31665
 
  kde_have_all_paths=
31666
 
  kde_styledir=
31667
 
  kde_widgetdir=
31668
 
  xdg_appsdir = xdg_menudir= xdg_directorydir=
31669
 
 
31670
 
if test "$ac_use_path_checking" = "default"; then
31671
 
 
31672
 
  if test -z "$kde_htmldir"; then
31673
 
    kde_htmldir='\${datadir}/doc/HTML'
31674
 
  fi
31675
 
  if test -z "$kde_appsdir"; then
31676
 
    kde_appsdir='\${datadir}/applnk'
31677
 
  fi
31678
 
  if test -z "$kde_icondir"; then
31679
 
    kde_icondir='\${datadir}/icons'
31680
 
  fi
31681
 
  if test -z "$kde_sounddir"; then
31682
 
    kde_sounddir='\${datadir}/sounds'
31683
 
  fi
31684
 
  if test -z "$kde_datadir"; then
31685
 
    kde_datadir='\${datadir}/apps'
31686
 
  fi
31687
 
  if test -z "$kde_locale"; then
31688
 
    kde_locale='\${datadir}/locale'
31689
 
  fi
31690
 
  if test -z "$kde_cgidir"; then
31691
 
    kde_cgidir='\${exec_prefix}/cgi-bin'
31692
 
  fi
31693
 
  if test -z "$kde_confdir"; then
31694
 
    kde_confdir='\${datadir}/config'
31695
 
  fi
31696
 
  if test -z "$kde_kcfgdir"; then
31697
 
    kde_kcfgdir='\${datadir}/config.kcfg'
31698
 
  fi
31699
 
  if test -z "$kde_mimedir"; then
31700
 
    kde_mimedir='\${datadir}/mimelnk'
31701
 
  fi
31702
 
  if test -z "$kde_toolbardir"; then
31703
 
    kde_toolbardir='\${datadir}/toolbar'
31704
 
  fi
31705
 
  if test -z "$kde_wallpaperdir"; then
31706
 
    kde_wallpaperdir='\${datadir}/wallpapers'
31707
 
  fi
31708
 
  if test -z "$kde_templatesdir"; then
31709
 
    kde_templatesdir='\${datadir}/templates'
31710
 
  fi
31711
 
  if test -z "$kde_bindir"; then
31712
 
    kde_bindir='\${exec_prefix}/bin'
31713
 
  fi
31714
 
  if test -z "$kde_servicesdir"; then
31715
 
    kde_servicesdir='\${datadir}/services'
31716
 
  fi
31717
 
  if test -z "$kde_servicetypesdir"; then
31718
 
    kde_servicetypesdir='\${datadir}/servicetypes'
31719
 
  fi
31720
 
  if test -z "$kde_moduledir"; then
31721
 
    if test "$kde_qtver" = "2"; then
31722
 
      kde_moduledir='\${libdir}/kde2'
31723
 
    else
31724
 
      kde_moduledir='\${libdir}/kde3'
31725
 
    fi
31726
 
  fi
31727
 
  if test -z "$kde_styledir"; then
31728
 
    kde_styledir='\${libdir}/kde3/plugins/styles'
31729
 
  fi
31730
 
  if test -z "$kde_widgetdir"; then
31731
 
    kde_widgetdir='\${libdir}/kde3/plugins/designer'
31732
 
  fi
31733
 
  if test -z "$xdg_appsdir"; then
31734
 
    xdg_appsdir='\${datadir}/applications/kde'
31735
 
  fi
31736
 
  if test -z "$xdg_menudir"; then
31737
 
    xdg_menudir='\${sysconfdir}/xdg/menus'
31738
 
  fi
31739
 
  if test -z "$xdg_directorydir"; then
31740
 
    xdg_directorydir='\${datadir}/desktop-directories'
31741
 
  fi
31742
 
 
31743
 
 
31744
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31745
 
        kde_htmldir=\"$kde_htmldir\" \
31746
 
        kde_appsdir=\"$kde_appsdir\" \
31747
 
        kde_icondir=\"$kde_icondir\" \
31748
 
        kde_sounddir=\"$kde_sounddir\" \
31749
 
        kde_datadir=\"$kde_datadir\" \
31750
 
        kde_locale=\"$kde_locale\" \
31751
 
        kde_cgidir=\"$kde_cgidir\" \
31752
 
        kde_confdir=\"$kde_confdir\" \
31753
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31754
 
        kde_mimedir=\"$kde_mimedir\" \
31755
 
        kde_toolbardir=\"$kde_toolbardir\" \
31756
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31757
 
        kde_templatesdir=\"$kde_templatesdir\" \
31758
 
        kde_bindir=\"$kde_bindir\" \
31759
 
        kde_servicesdir=\"$kde_servicesdir\" \
31760
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31761
 
        kde_moduledir=\"$kde_moduledir\" \
31762
 
        kde_styledir=\"$kde_styledir\" \
31763
 
        kde_widgetdir=\"$kde_widgetdir\" \
31764
 
        xdg_appsdir=\"$xdg_appsdir\" \
31765
 
        xdg_menudir=\"$xdg_menudir\" \
31766
 
        xdg_directorydir=\"$xdg_directorydir\" \
31767
 
        kde_result=defaults"
31768
 
 
31769
 
 
31770
 
else
31771
 
 
31772
 
  if test $kde_qtver = 1; then
31773
 
     { echo "$as_me:$LINENO: result: compiling" >&5
31774
 
echo "${ECHO_T}compiling" >&6; }
31775
 
 
31776
 
 
31777
 
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31778
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31779
 
 
31780
 
     ac_ext=cpp
31781
 
ac_cpp='$CXXCPP $CPPFLAGS'
31782
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31783
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31784
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31785
 
 
31786
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31787
 
 
31788
 
 
31789
 
cat > conftest.$ac_ext <<EOF
31790
 
#ifdef STDC_HEADERS
31791
 
# include <stdlib.h>
31792
 
#endif
31793
 
#include <stdio.h>
31794
 
#include "confdefs.h"
31795
 
#include <kapp.h>
31796
 
 
31797
 
int main() {
31798
 
    printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31799
 
    printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31800
 
    printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31801
 
    printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31802
 
    printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31803
 
    printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31804
 
    printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31805
 
    printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31806
 
    printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31807
 
    printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31808
 
    printf("kde_wallpaperdir=\\"%s\\"\n",
31809
 
        KApplication::kde_wallpaperdir().data());
31810
 
    printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31811
 
    printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31812
 
    printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31813
 
    printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31814
 
    printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31815
 
    printf("kde_styledir=\\"/tmp/dummy\\"\n");
31816
 
    printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31817
 
    printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31818
 
    printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31819
 
    printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31820
 
    printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31821
 
    return 0;
31822
 
    }
31823
 
EOF
31824
 
 
31825
 
 ac_save_CPPFLAGS=$CPPFLAGS
31826
 
 CPPFLAGS="$all_includes $CPPFLAGS"
31827
 
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31828
 
  (eval $ac_compile) 2>&5
31829
 
  ac_status=$?
31830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831
 
  (exit $ac_status); }; then
31832
 
   { echo "$as_me:$LINENO: result: yes" >&5
31833
 
echo "${ECHO_T}yes" >&6; }
31834
 
 else
31835
 
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31836
 
Check, if you installed the KDE header files correctly.
31837
 
For more details about this problem, look at the end of config.log." >&5
31838
 
echo "$as_me: error: your system is not able to compile a small KDE application!
31839
 
Check, if you installed the KDE header files correctly.
31840
 
For more details about this problem, look at the end of config.log." >&2;}
31841
 
   { (exit 1); exit 1; }; }
31842
 
  fi
31843
 
  CPPFLAGS=$ac_save_CPPFLAGS
31844
 
 
31845
 
  ac_ext=c
31846
 
ac_cpp='$CPP $CPPFLAGS'
31847
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31848
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31849
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31850
 
 
31851
 
 
31852
 
 
31853
 
  KDE_TEST_RPATH=
31854
 
 
31855
 
  if test -n "$USE_RPATH"; then
31856
 
 
31857
 
     if test -n "$kde_libraries"; then
31858
 
       KDE_TEST_RPATH="-R $kde_libraries"
31859
 
     fi
31860
 
 
31861
 
     if test -n "$qt_libraries"; then
31862
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31863
 
     fi
31864
 
 
31865
 
     if test -n "$x_libraries"; then
31866
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31867
 
     fi
31868
 
 
31869
 
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31870
 
  fi
31871
 
 
31872
 
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31873
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31874
 
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'
31875
 
 
31876
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31877
 
  (eval $ac_link) 2>&5
31878
 
  ac_status=$?
31879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880
 
  (exit $ac_status); } && test -s conftest; then
31881
 
  { echo "$as_me:$LINENO: result: yes" >&5
31882
 
echo "${ECHO_T}yes" >&6; }
31883
 
else
31884
 
  { { echo "$as_me:$LINENO: 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." >&5
31888
 
echo "$as_me: error: your system fails at linking a small KDE application!
31889
 
Check, if your compiler is installed correctly and if you have used the
31890
 
same compiler to compile Qt and kdelibs as you did use now.
31891
 
For more details about this problem, look at the end of config.log." >&2;}
31892
 
   { (exit 1); exit 1; }; }
31893
 
fi
31894
 
 
31895
 
if eval `KDEDIR= ./conftest 2>&5`; then
31896
 
  kde_result=done
31897
 
else
31898
 
  kde_result=problems
31899
 
fi
31900
 
 
31901
 
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31902
 
kde_have_all_paths=yes
31903
 
 
31904
 
 
31905
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31906
 
        kde_htmldir=\"$kde_htmldir\" \
31907
 
        kde_appsdir=\"$kde_appsdir\" \
31908
 
        kde_icondir=\"$kde_icondir\" \
31909
 
        kde_sounddir=\"$kde_sounddir\" \
31910
 
        kde_datadir=\"$kde_datadir\" \
31911
 
        kde_locale=\"$kde_locale\" \
31912
 
        kde_cgidir=\"$kde_cgidir\" \
31913
 
        kde_confdir=\"$kde_confdir\" \
31914
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31915
 
        kde_mimedir=\"$kde_mimedir\" \
31916
 
        kde_toolbardir=\"$kde_toolbardir\" \
31917
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31918
 
        kde_templatesdir=\"$kde_templatesdir\" \
31919
 
        kde_bindir=\"$kde_bindir\" \
31920
 
        kde_servicesdir=\"$kde_servicesdir\" \
31921
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31922
 
        kde_moduledir=\"$kde_moduledir\" \
31923
 
        kde_styledir=\"$kde_styledir\" \
31924
 
        kde_widgetdir=\"$kde_widgetdir\" \
31925
 
        xdg_appsdir=\"$xdg_appsdir\" \
31926
 
        xdg_menudir=\"$xdg_menudir\" \
31927
 
        xdg_directorydir=\"$xdg_directorydir\" \
31928
 
        kde_result=$kde_result"
31929
 
 
31930
 
 
31931
 
 
31932
 
  else
31933
 
     { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31934
 
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31935
 
   { (exit 1); exit 1; }; }
31936
 
  fi
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
 
  kde_result="$kde_result (cache overridden)"
31957
 
fi
31958
 
if test "$kde_have_all_paths" = "no"; then
31959
 
  { { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
31960
 
Since it had compiled and linked before, it must be a strange problem on your system.
31961
 
Look at config.log for details. If you are not able to fix this, look at
31962
 
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
31963
 
(If you're using an egcs version on Linux, you may update binutils!)
31964
 
" >&5
31965
 
echo "$as_me: error: configure could not run a little KDE program to test the environment.
31966
 
Since it had compiled and linked before, it must be a strange problem on your system.
31967
 
Look at config.log for details. If you are not able to fix this, look at
31968
 
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
31969
 
(If you're using an egcs version on Linux, you may update binutils!)
31970
 
" >&2;}
31971
 
   { (exit 1); exit 1; }; }
31972
 
else
31973
 
  rm -f conftest*
31974
 
  { echo "$as_me:$LINENO: result: $kde_result" >&5
31975
 
echo "${ECHO_T}$kde_result" >&6; }
31976
 
fi
31977
 
 
31978
 
bindir=$kde_bindir
31979
 
 
31980
 
 
31981
 
 
31982
 
# Check whether --with-arts was given.
31983
 
if test "${with_arts+set}" = set; then
31984
 
  withval=$with_arts; build_arts=$withval
31985
 
else
31986
 
  build_arts=yes
31987
 
 
31988
 
fi
31989
 
 
31990
 
 
31991
 
 
31992
 
if test "$build_arts" '!=' "no"; then
31993
 
  include_ARTS_TRUE=
31994
 
  include_ARTS_FALSE='#'
31995
 
else
31996
 
  include_ARTS_TRUE='#'
31997
 
  include_ARTS_FALSE=
31998
 
fi
31999
 
 
32000
 
    if test "$build_arts" = "no"; then
32001
 
 
32002
 
cat >>confdefs.h <<\_ACEOF
32003
 
#define WITHOUT_ARTS 1
32004
 
_ACEOF
32005
 
 
32006
 
    fi
32007
 
 
32008
 
 
32009
 
    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"
32010
 
    test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
32011
 
    if test -n "$KDEDIRS"; then
32012
 
       kde_save_IFS=$IFS
32013
 
       IFS=:
32014
 
       for dir in $KDEDIRS; do
32015
 
            kde_default_bindirs="$dir/bin $kde_default_bindirs "
32016
 
       done
32017
 
       IFS=$kde_save_IFS
32018
 
    fi
32019
 
 
32020
 
        kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
32021
 
 
32022
 
   { echo "$as_me:$LINENO: checking for dcopidl" >&5
32023
 
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6; }
32024
 
   if test -n "$DCOPIDL"; then
32025
 
        kde_cv_path="$DCOPIDL";
32026
 
   else
32027
 
        kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
32028
 
 
32029
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32030
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32031
 
else
32032
 
 
32033
 
        kde_cv_path="NONE"
32034
 
        kde_save_IFS=$IFS
32035
 
        IFS=':'
32036
 
        dirs=""
32037
 
        for dir in $PATH; do
32038
 
          dirs="$dirs $dir"
32039
 
        done
32040
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32041
 
        else      dirs="$dirs $kde_default_bindirs"
32042
 
        fi
32043
 
        IFS=$kde_save_IFS
32044
 
 
32045
 
        for dir in $dirs; do
32046
 
          if test -x "$dir/dcopidl"; then
32047
 
            if test -n ""
32048
 
            then
32049
 
              evalstr="$dir/dcopidl  2>&1 "
32050
 
              if eval $evalstr; then
32051
 
                kde_cv_path="$dir/dcopidl"
32052
 
                break
32053
 
              fi
32054
 
            else
32055
 
                kde_cv_path="$dir/dcopidl"
32056
 
                break
32057
 
            fi
32058
 
          fi
32059
 
        done
32060
 
 
32061
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32062
 
 
32063
 
 
32064
 
fi
32065
 
 
32066
 
 
32067
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32068
 
 
32069
 
   fi
32070
 
 
32071
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32072
 
      { echo "$as_me:$LINENO: result: not found" >&5
32073
 
echo "${ECHO_T}not found" >&6; }
32074
 
 
32075
 
    { { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
32076
 
Please check whether you installed KDE correctly.
32077
 
" >&5
32078
 
echo "$as_me: error: The important program dcopidl was not found!
32079
 
Please check whether you installed KDE correctly.
32080
 
" >&2;}
32081
 
   { (exit 1); exit 1; }; }
32082
 
 
32083
 
   else
32084
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32085
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32086
 
      DCOPIDL=$kde_cv_path
32087
 
 
32088
 
   fi
32089
 
 
32090
 
 
32091
 
   { echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
32092
 
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6; }
32093
 
   if test -n "$DCOPIDL2CPP"; then
32094
 
        kde_cv_path="$DCOPIDL2CPP";
32095
 
   else
32096
 
        kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
32097
 
 
32098
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32099
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32100
 
else
32101
 
 
32102
 
        kde_cv_path="NONE"
32103
 
        kde_save_IFS=$IFS
32104
 
        IFS=':'
32105
 
        dirs=""
32106
 
        for dir in $PATH; do
32107
 
          dirs="$dirs $dir"
32108
 
        done
32109
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32110
 
        else      dirs="$dirs $kde_default_bindirs"
32111
 
        fi
32112
 
        IFS=$kde_save_IFS
32113
 
 
32114
 
        for dir in $dirs; do
32115
 
          if test -x "$dir/dcopidl2cpp"; then
32116
 
            if test -n ""
32117
 
            then
32118
 
              evalstr="$dir/dcopidl2cpp  2>&1 "
32119
 
              if eval $evalstr; then
32120
 
                kde_cv_path="$dir/dcopidl2cpp"
32121
 
                break
32122
 
              fi
32123
 
            else
32124
 
                kde_cv_path="$dir/dcopidl2cpp"
32125
 
                break
32126
 
            fi
32127
 
          fi
32128
 
        done
32129
 
 
32130
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32131
 
 
32132
 
 
32133
 
fi
32134
 
 
32135
 
 
32136
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32137
 
 
32138
 
   fi
32139
 
 
32140
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32141
 
      { echo "$as_me:$LINENO: result: not found" >&5
32142
 
echo "${ECHO_T}not found" >&6; }
32143
 
 
32144
 
    { { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
32145
 
Please check whether you installed KDE correctly.
32146
 
" >&5
32147
 
echo "$as_me: error: The important program dcopidl2cpp was not found!
32148
 
Please check whether you installed KDE correctly.
32149
 
" >&2;}
32150
 
   { (exit 1); exit 1; }; }
32151
 
 
32152
 
   else
32153
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32154
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32155
 
      DCOPIDL2CPP=$kde_cv_path
32156
 
 
32157
 
   fi
32158
 
 
32159
 
        if test "$build_arts" '!=' "no"; then
32160
 
 
32161
 
   { echo "$as_me:$LINENO: checking for mcopidl" >&5
32162
 
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6; }
32163
 
   if test -n "$MCOPIDL"; then
32164
 
        kde_cv_path="$MCOPIDL";
32165
 
   else
32166
 
        kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
32167
 
 
32168
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32169
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32170
 
else
32171
 
 
32172
 
        kde_cv_path="NONE"
32173
 
        kde_save_IFS=$IFS
32174
 
        IFS=':'
32175
 
        dirs=""
32176
 
        for dir in $PATH; do
32177
 
          dirs="$dirs $dir"
32178
 
        done
32179
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32180
 
        else      dirs="$dirs $kde_default_bindirs"
32181
 
        fi
32182
 
        IFS=$kde_save_IFS
32183
 
 
32184
 
        for dir in $dirs; do
32185
 
          if test -x "$dir/mcopidl"; then
32186
 
            if test -n ""
32187
 
            then
32188
 
              evalstr="$dir/mcopidl  2>&1 "
32189
 
              if eval $evalstr; then
32190
 
                kde_cv_path="$dir/mcopidl"
32191
 
                break
32192
 
              fi
32193
 
            else
32194
 
                kde_cv_path="$dir/mcopidl"
32195
 
                break
32196
 
            fi
32197
 
          fi
32198
 
        done
32199
 
 
32200
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32201
 
 
32202
 
 
32203
 
fi
32204
 
 
32205
 
 
32206
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32207
 
 
32208
 
   fi
32209
 
 
32210
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32211
 
      { echo "$as_me:$LINENO: result: not found" >&5
32212
 
echo "${ECHO_T}not found" >&6; }
32213
 
 
32214
 
    { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
32215
 
Please check whether you installed aRts correctly or use
32216
 
--without-arts to compile without aRts support (this will remove functionality).
32217
 
" >&5
32218
 
echo "$as_me: error: The important program mcopidl was not found!
32219
 
Please check whether you installed aRts correctly or use
32220
 
--without-arts to compile without aRts support (this will remove functionality).
32221
 
" >&2;}
32222
 
   { (exit 1); exit 1; }; }
32223
 
 
32224
 
   else
32225
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32226
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32227
 
      MCOPIDL=$kde_cv_path
32228
 
 
32229
 
   fi
32230
 
 
32231
 
 
32232
 
   { echo "$as_me:$LINENO: checking for artsc-config" >&5
32233
 
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6; }
32234
 
   if test -n "$ARTSCCONFIG"; then
32235
 
        kde_cv_path="$ARTSCCONFIG";
32236
 
   else
32237
 
        kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
32238
 
 
32239
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32240
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32241
 
else
32242
 
 
32243
 
        kde_cv_path="NONE"
32244
 
        kde_save_IFS=$IFS
32245
 
        IFS=':'
32246
 
        dirs=""
32247
 
        for dir in $PATH; do
32248
 
          dirs="$dirs $dir"
32249
 
        done
32250
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32251
 
        else      dirs="$dirs $kde_default_bindirs"
32252
 
        fi
32253
 
        IFS=$kde_save_IFS
32254
 
 
32255
 
        for dir in $dirs; do
32256
 
          if test -x "$dir/artsc-config"; then
32257
 
            if test -n ""
32258
 
            then
32259
 
              evalstr="$dir/artsc-config  2>&1 "
32260
 
              if eval $evalstr; then
32261
 
                kde_cv_path="$dir/artsc-config"
32262
 
                break
32263
 
              fi
32264
 
            else
32265
 
                kde_cv_path="$dir/artsc-config"
32266
 
                break
32267
 
            fi
32268
 
          fi
32269
 
        done
32270
 
 
32271
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32272
 
 
32273
 
 
32274
 
fi
32275
 
 
32276
 
 
32277
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32278
 
 
32279
 
   fi
32280
 
 
32281
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32282
 
      { echo "$as_me:$LINENO: result: not found" >&5
32283
 
echo "${ECHO_T}not found" >&6; }
32284
 
 
32285
 
    { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
32286
 
Please check whether you installed aRts correctly or use
32287
 
--without-arts to compile without aRts support (this will remove functionality).
32288
 
" >&5
32289
 
echo "$as_me: error: The important program artsc-config was not found!
32290
 
Please check whether you installed aRts correctly or use
32291
 
--without-arts to compile without aRts support (this will remove functionality).
32292
 
" >&2;}
32293
 
   { (exit 1); exit 1; }; }
32294
 
 
32295
 
   else
32296
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32297
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32298
 
      ARTSCCONFIG=$kde_cv_path
32299
 
 
32300
 
   fi
32301
 
 
32302
 
        fi
32303
 
 
32304
 
   { echo "$as_me:$LINENO: checking for meinproc" >&5
32305
 
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6; }
32306
 
   if test -n "$MEINPROC"; then
32307
 
        kde_cv_path="$MEINPROC";
32308
 
   else
32309
 
        kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
32310
 
 
32311
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32312
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32313
 
else
32314
 
 
32315
 
        kde_cv_path="NONE"
32316
 
        kde_save_IFS=$IFS
32317
 
        IFS=':'
32318
 
        dirs=""
32319
 
        for dir in $PATH; do
32320
 
          dirs="$dirs $dir"
32321
 
        done
32322
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32323
 
        else      dirs="$dirs $kde_default_bindirs"
32324
 
        fi
32325
 
        IFS=$kde_save_IFS
32326
 
 
32327
 
        for dir in $dirs; do
32328
 
          if test -x "$dir/meinproc"; then
32329
 
            if test -n ""
32330
 
            then
32331
 
              evalstr="$dir/meinproc  2>&1 "
32332
 
              if eval $evalstr; then
32333
 
                kde_cv_path="$dir/meinproc"
32334
 
                break
32335
 
              fi
32336
 
            else
32337
 
                kde_cv_path="$dir/meinproc"
32338
 
                break
32339
 
            fi
32340
 
          fi
32341
 
        done
32342
 
 
32343
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32344
 
 
32345
 
 
32346
 
fi
32347
 
 
32348
 
 
32349
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32350
 
 
32351
 
   fi
32352
 
 
32353
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32354
 
      { echo "$as_me:$LINENO: result: not found" >&5
32355
 
echo "${ECHO_T}not found" >&6; }
32356
 
 
32357
 
   else
32358
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32359
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32360
 
      MEINPROC=$kde_cv_path
32361
 
 
32362
 
   fi
32363
 
 
32364
 
 
32365
 
        kde32ornewer=1
32366
 
        kde33ornewer=1
32367
 
        if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
32368
 
            kde32ornewer=
32369
 
            kde33ornewer=
32370
 
        else
32371
 
            if test "$kde_qtver" = "3"; then
32372
 
              if test "$kde_qtsubver" -le 1; then
32373
 
                kde32ornewer=
32374
 
              fi
32375
 
              if test "$kde_qtsubver" -le 2; then
32376
 
                kde33ornewer=
32377
 
              fi
32378
 
              if test "$KDECONFIG" != "compiled"; then
32379
 
                if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
32380
 
                  kde33ornewer=
32381
 
                fi
32382
 
              fi
32383
 
            fi
32384
 
        fi
32385
 
 
32386
 
        if test -n "$kde32ornewer"; then
32387
 
 
32388
 
   { echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
32389
 
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6; }
32390
 
   if test -n "$KCONFIG_COMPILER"; then
32391
 
        kde_cv_path="$KCONFIG_COMPILER";
32392
 
   else
32393
 
        kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
32394
 
 
32395
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32396
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32397
 
else
32398
 
 
32399
 
        kde_cv_path="NONE"
32400
 
        kde_save_IFS=$IFS
32401
 
        IFS=':'
32402
 
        dirs=""
32403
 
        for dir in $PATH; do
32404
 
          dirs="$dirs $dir"
32405
 
        done
32406
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32407
 
        else      dirs="$dirs $kde_default_bindirs"
32408
 
        fi
32409
 
        IFS=$kde_save_IFS
32410
 
 
32411
 
        for dir in $dirs; do
32412
 
          if test -x "$dir/kconfig_compiler"; then
32413
 
            if test -n ""
32414
 
            then
32415
 
              evalstr="$dir/kconfig_compiler  2>&1 "
32416
 
              if eval $evalstr; then
32417
 
                kde_cv_path="$dir/kconfig_compiler"
32418
 
                break
32419
 
              fi
32420
 
            else
32421
 
                kde_cv_path="$dir/kconfig_compiler"
32422
 
                break
32423
 
            fi
32424
 
          fi
32425
 
        done
32426
 
 
32427
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32428
 
 
32429
 
 
32430
 
fi
32431
 
 
32432
 
 
32433
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32434
 
 
32435
 
   fi
32436
 
 
32437
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32438
 
      { echo "$as_me:$LINENO: result: not found" >&5
32439
 
echo "${ECHO_T}not found" >&6; }
32440
 
 
32441
 
    { { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
32442
 
Please check whether you installed KDE correctly.
32443
 
" >&5
32444
 
echo "$as_me: error: The important program kconfig_compiler was not found!
32445
 
Please check whether you installed KDE correctly.
32446
 
" >&2;}
32447
 
   { (exit 1); exit 1; }; }
32448
 
 
32449
 
   else
32450
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32451
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32452
 
      KCONFIG_COMPILER=$kde_cv_path
32453
 
 
32454
 
   fi
32455
 
 
32456
 
 
32457
 
   { echo "$as_me:$LINENO: checking for dcopidlng" >&5
32458
 
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6; }
32459
 
   if test -n "$DCOPIDLNG"; then
32460
 
        kde_cv_path="$DCOPIDLNG";
32461
 
   else
32462
 
        kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
32463
 
 
32464
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32465
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32466
 
else
32467
 
 
32468
 
        kde_cv_path="NONE"
32469
 
        kde_save_IFS=$IFS
32470
 
        IFS=':'
32471
 
        dirs=""
32472
 
        for dir in $PATH; do
32473
 
          dirs="$dirs $dir"
32474
 
        done
32475
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32476
 
        else      dirs="$dirs $kde_default_bindirs"
32477
 
        fi
32478
 
        IFS=$kde_save_IFS
32479
 
 
32480
 
        for dir in $dirs; do
32481
 
          if test -x "$dir/dcopidlng"; then
32482
 
            if test -n ""
32483
 
            then
32484
 
              evalstr="$dir/dcopidlng  2>&1 "
32485
 
              if eval $evalstr; then
32486
 
                kde_cv_path="$dir/dcopidlng"
32487
 
                break
32488
 
              fi
32489
 
            else
32490
 
                kde_cv_path="$dir/dcopidlng"
32491
 
                break
32492
 
            fi
32493
 
          fi
32494
 
        done
32495
 
 
32496
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32497
 
 
32498
 
 
32499
 
fi
32500
 
 
32501
 
 
32502
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32503
 
 
32504
 
   fi
32505
 
 
32506
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32507
 
      { echo "$as_me:$LINENO: result: not found" >&5
32508
 
echo "${ECHO_T}not found" >&6; }
32509
 
 
32510
 
    { { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
32511
 
Please check whether you installed KDE correctly.
32512
 
" >&5
32513
 
echo "$as_me: error: The important program dcopidlng was not found!
32514
 
Please check whether you installed KDE correctly.
32515
 
" >&2;}
32516
 
   { (exit 1); exit 1; }; }
32517
 
 
32518
 
   else
32519
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32520
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32521
 
      DCOPIDLNG=$kde_cv_path
32522
 
 
32523
 
   fi
32524
 
 
32525
 
        fi
32526
 
        if test -n "$kde33ornewer"; then
32527
 
 
32528
 
   { echo "$as_me:$LINENO: checking for makekdewidgets" >&5
32529
 
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6; }
32530
 
   if test -n "$MAKEKDEWIDGETS"; then
32531
 
        kde_cv_path="$MAKEKDEWIDGETS";
32532
 
   else
32533
 
        kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
32534
 
 
32535
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32536
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32537
 
else
32538
 
 
32539
 
        kde_cv_path="NONE"
32540
 
        kde_save_IFS=$IFS
32541
 
        IFS=':'
32542
 
        dirs=""
32543
 
        for dir in $PATH; do
32544
 
          dirs="$dirs $dir"
32545
 
        done
32546
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32547
 
        else      dirs="$dirs $kde_default_bindirs"
32548
 
        fi
32549
 
        IFS=$kde_save_IFS
32550
 
 
32551
 
        for dir in $dirs; do
32552
 
          if test -x "$dir/makekdewidgets"; then
32553
 
            if test -n ""
32554
 
            then
32555
 
              evalstr="$dir/makekdewidgets  2>&1 "
32556
 
              if eval $evalstr; then
32557
 
                kde_cv_path="$dir/makekdewidgets"
32558
 
                break
32559
 
              fi
32560
 
            else
32561
 
                kde_cv_path="$dir/makekdewidgets"
32562
 
                break
32563
 
            fi
32564
 
          fi
32565
 
        done
32566
 
 
32567
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32568
 
 
32569
 
 
32570
 
fi
32571
 
 
32572
 
 
32573
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32574
 
 
32575
 
   fi
32576
 
 
32577
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32578
 
      { echo "$as_me:$LINENO: result: not found" >&5
32579
 
echo "${ECHO_T}not found" >&6; }
32580
 
 
32581
 
    { { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
32582
 
Please check whether you installed KDE correctly.
32583
 
" >&5
32584
 
echo "$as_me: error: The important program makekdewidgets was not found!
32585
 
Please check whether you installed KDE correctly.
32586
 
" >&2;}
32587
 
   { (exit 1); exit 1; }; }
32588
 
 
32589
 
   else
32590
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32591
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32592
 
      MAKEKDEWIDGETS=$kde_cv_path
32593
 
 
32594
 
   fi
32595
 
 
32596
 
 
32597
 
        fi
32598
 
 
32599
 
   { echo "$as_me:$LINENO: checking for xmllint" >&5
32600
 
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6; }
32601
 
   if test -n "$XMLLINT"; then
32602
 
        kde_cv_path="$XMLLINT";
32603
 
   else
32604
 
        kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
32605
 
 
32606
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32607
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32608
 
else
32609
 
 
32610
 
        kde_cv_path="NONE"
32611
 
        kde_save_IFS=$IFS
32612
 
        IFS=':'
32613
 
        dirs=""
32614
 
        for dir in $PATH; do
32615
 
          dirs="$dirs $dir"
32616
 
        done
32617
 
        if test -z ""; then       dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
32618
 
        else      dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
32619
 
        fi
32620
 
        IFS=$kde_save_IFS
32621
 
 
32622
 
        for dir in $dirs; do
32623
 
          if test -x "$dir/xmllint"; then
32624
 
            if test -n ""
32625
 
            then
32626
 
              evalstr="$dir/xmllint  2>&1 "
32627
 
              if eval $evalstr; then
32628
 
                kde_cv_path="$dir/xmllint"
32629
 
                break
32630
 
              fi
32631
 
            else
32632
 
                kde_cv_path="$dir/xmllint"
32633
 
                break
32634
 
            fi
32635
 
          fi
32636
 
        done
32637
 
 
32638
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32639
 
 
32640
 
 
32641
 
fi
32642
 
 
32643
 
 
32644
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32645
 
 
32646
 
   fi
32647
 
 
32648
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32649
 
      { echo "$as_me:$LINENO: result: not found" >&5
32650
 
echo "${ECHO_T}not found" >&6; }
32651
 
      XMLLINT=""
32652
 
   else
32653
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32654
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32655
 
      XMLLINT=$kde_cv_path
32656
 
 
32657
 
   fi
32658
 
 
32659
 
 
32660
 
        if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
32661
 
            kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
32662
 
            test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
32663
 
 
32664
 
KDE_XSL_STYLESHEET=NO
32665
 
for i in $kde_sharedirs;
32666
 
do
32667
 
  for j in apps/ksgmltools2/customization/kde-chunk.xsl;
32668
 
  do
32669
 
    echo "configure: 32669: $i/$j" >&5
32670
 
    if test -r "$i/$j"; then
32671
 
      echo "taking that" >&5
32672
 
      KDE_XSL_STYLESHEET=$i
32673
 
      break 2
32674
 
    fi
32675
 
  done
32676
 
done
32677
 
 
32678
 
            if test "$KDE_XSL_STYLESHEET" = "NO"; then
32679
 
                KDE_XSL_STYLESHEET=""
32680
 
            else
32681
 
                KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
32682
 
            fi
32683
 
        fi
32684
 
 
32685
 
        DCOP_DEPENDENCIES='$(DCOPIDL)'
32686
 
        if test -n "$kde32ornewer"; then
32687
 
            KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
32688
 
            DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
32689
 
 
32690
 
 
32691
 
 
32692
 
        fi
32693
 
 
32694
 
 
32695
 
 
32696
 
 
32697
 
 
32698
 
 
32699
 
 
32700
 
 
32701
 
 
32702
 
 
32703
 
 
32704
 
 
32705
 
 
32706
 
 
32707
 
 
32708
 
 
32709
 
 
32710
 
 
32711
 
 
32712
 
 
32713
 
 
32714
 
 
32715
 
 
32716
 
 
32717
 
 
32718
 
 
32719
 
 
32720
 
 
32721
 
 
32722
 
 
32723
 
 
32724
 
kdeinitdir='$(kde_moduledir)'
32725
 
 
32726
 
 
32727
 
 
32728
 
if test "$kde_qtver" = 1; then
32729
 
  kde_minidir="$kde_icondir/mini"
32730
 
else
32731
 
# for KDE 1 - this breaks KDE2 apps using minidir, but
32732
 
# that's the plan ;-/
32733
 
  kde_minidir="/dev/null"
32734
 
fi
32735
 
 
32736
 
 
32737
 
 
32738
 
 
32739
 
 
32740
 
 
32741
 
if test $kde_qtver = 3; then
32742
 
   case $host in
32743
 
               *cygwin*) lib_kded="-lkdeinit_kded" ;;
32744
 
               *) lib_kded="" ;;
32745
 
       esac
32746
 
   LIB_KDED=$lib_kded
32747
 
 
32748
 
   LIB_KDECORE="-lkdecore"
32749
 
 
32750
 
   LIB_KDEUI="-lkdeui"
32751
 
 
32752
 
   LIB_KIO="-lkio"
32753
 
 
32754
 
   LIB_KJS="-lkjs"
32755
 
 
32756
 
   LIB_SMB="-lsmb"
32757
 
 
32758
 
   LIB_KAB="-lkab"
32759
 
 
32760
 
   LIB_KABC="-lkabc"
32761
 
 
32762
 
   LIB_KHTML="-lkhtml"
32763
 
 
32764
 
   LIB_KSPELL="-lkspell"
32765
 
 
32766
 
   LIB_KPARTS="-lkparts"
32767
 
 
32768
 
   LIB_KDEPRINT="-lkdeprint"
32769
 
 
32770
 
   LIB_KUTILS="-lkutils"
32771
 
 
32772
 
   LIB_KDEPIM="-lkdepim"
32773
 
 
32774
 
   LIB_KIMPROXY="-lkimproxy"
32775
 
 
32776
 
   LIB_KNEWSTUFF="-lknewstuff"
32777
 
 
32778
 
   LIB_KDNSSD="-lkdnssd"
32779
 
 
32780
 
   LIB_KUNITTEST="-lkunittest"
32781
 
 
32782
 
# these are for backward compatibility
32783
 
   LIB_KSYCOCA="-lkio"
32784
 
 
32785
 
   LIB_KFILE="-lkio"
32786
 
 
32787
 
elif test $kde_qtver = 2; then
32788
 
   LIB_KDECORE="-lkdecore"
32789
 
 
32790
 
   LIB_KDEUI="-lkdeui"
32791
 
 
32792
 
   LIB_KIO="-lkio"
32793
 
 
32794
 
   LIB_KSYCOCA="-lksycoca"
32795
 
 
32796
 
   LIB_SMB="-lsmb"
32797
 
 
32798
 
   LIB_KFILE="-lkfile"
32799
 
 
32800
 
   LIB_KAB="-lkab"
32801
 
 
32802
 
   LIB_KHTML="-lkhtml"
32803
 
 
32804
 
   LIB_KSPELL="-lkspell"
32805
 
 
32806
 
   LIB_KPARTS="-lkparts"
32807
 
 
32808
 
   LIB_KDEPRINT="-lkdeprint"
32809
 
 
32810
 
else
32811
 
   LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
32812
 
 
32813
 
   LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
32814
 
 
32815
 
   LIB_KFM="-lkfm $(LIB_KDECORE)"
32816
 
 
32817
 
   LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
32818
 
 
32819
 
   LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
32820
 
 
32821
 
fi
32822
 
 
32823
 
 
32824
 
 
32825
 
#MIN_CONFIG(3.0.0)
32826
 
 
32827
 
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
32828
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
32829
 
if test "${ac_cv_c_bigendian+set}" = set; then
32830
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32831
 
else
32832
 
  # See if sys/param.h defines the BYTE_ORDER macro.
32833
 
cat >conftest.$ac_ext <<_ACEOF
32834
 
/* confdefs.h.  */
32835
 
_ACEOF
32836
 
cat confdefs.h >>conftest.$ac_ext
32837
 
cat >>conftest.$ac_ext <<_ACEOF
32838
 
/* end confdefs.h.  */
32839
 
#include <sys/types.h>
32840
 
#include <sys/param.h>
32841
 
 
32842
 
int
32843
 
main ()
32844
 
{
32845
 
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
32846
 
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
32847
 
 bogus endian macros
32848
 
#endif
32849
 
 
32850
 
  ;
32851
 
  return 0;
32852
 
}
32853
 
_ACEOF
32854
 
rm -f conftest.$ac_objext
32855
 
if { (ac_try="$ac_compile"
32856
 
case "(($ac_try" in
32857
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32858
 
  *) ac_try_echo=$ac_try;;
32859
 
esac
32860
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32861
 
  (eval "$ac_compile") 2>conftest.er1
32862
 
  ac_status=$?
32863
 
  grep -v '^ *+' conftest.er1 >conftest.err
32864
 
  rm -f conftest.er1
32865
 
  cat conftest.err >&5
32866
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867
 
  (exit $ac_status); } && {
32868
 
         test -z "$ac_c_werror_flag" ||
32869
 
         test ! -s conftest.err
32870
 
       } && test -s conftest.$ac_objext; then
32871
 
  # It does; now see whether it defined to BIG_ENDIAN or not.
32872
 
cat >conftest.$ac_ext <<_ACEOF
32873
 
/* confdefs.h.  */
32874
 
_ACEOF
32875
 
cat confdefs.h >>conftest.$ac_ext
32876
 
cat >>conftest.$ac_ext <<_ACEOF
32877
 
/* end confdefs.h.  */
32878
 
#include <sys/types.h>
32879
 
#include <sys/param.h>
32880
 
 
32881
 
int
32882
 
main ()
32883
 
{
32884
 
#if BYTE_ORDER != BIG_ENDIAN
32885
 
 not big endian
32886
 
#endif
32887
 
 
32888
 
  ;
32889
 
  return 0;
32890
 
}
32891
 
_ACEOF
32892
 
rm -f conftest.$ac_objext
32893
 
if { (ac_try="$ac_compile"
32894
 
case "(($ac_try" in
32895
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32896
 
  *) ac_try_echo=$ac_try;;
32897
 
esac
32898
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32899
 
  (eval "$ac_compile") 2>conftest.er1
32900
 
  ac_status=$?
32901
 
  grep -v '^ *+' conftest.er1 >conftest.err
32902
 
  rm -f conftest.er1
32903
 
  cat conftest.err >&5
32904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905
 
  (exit $ac_status); } && {
32906
 
         test -z "$ac_c_werror_flag" ||
32907
 
         test ! -s conftest.err
32908
 
       } && test -s conftest.$ac_objext; then
32909
 
  ac_cv_c_bigendian=yes
32910
 
else
32911
 
  echo "$as_me: failed program was:" >&5
32912
 
sed 's/^/| /' conftest.$ac_ext >&5
32913
 
 
32914
 
        ac_cv_c_bigendian=no
32915
 
fi
32916
 
 
32917
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32918
 
else
32919
 
  echo "$as_me: failed program was:" >&5
32920
 
sed 's/^/| /' conftest.$ac_ext >&5
32921
 
 
32922
 
        # It does not; compile a test program.
32923
 
if test "$cross_compiling" = yes; then
32924
 
  # try to guess the endianness by grepping values into an object file
32925
 
  ac_cv_c_bigendian=unknown
32926
 
  cat >conftest.$ac_ext <<_ACEOF
32927
 
/* confdefs.h.  */
32928
 
_ACEOF
32929
 
cat confdefs.h >>conftest.$ac_ext
32930
 
cat >>conftest.$ac_ext <<_ACEOF
32931
 
/* end confdefs.h.  */
32932
 
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
32933
 
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
32934
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
32935
 
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
32936
 
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
32937
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
32938
 
int
32939
 
main ()
32940
 
{
32941
 
 _ascii (); _ebcdic ();
32942
 
  ;
32943
 
  return 0;
32944
 
}
32945
 
_ACEOF
32946
 
rm -f conftest.$ac_objext
32947
 
if { (ac_try="$ac_compile"
32948
 
case "(($ac_try" in
32949
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32950
 
  *) ac_try_echo=$ac_try;;
32951
 
esac
32952
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32953
 
  (eval "$ac_compile") 2>conftest.er1
32954
 
  ac_status=$?
32955
 
  grep -v '^ *+' conftest.er1 >conftest.err
32956
 
  rm -f conftest.er1
32957
 
  cat conftest.err >&5
32958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959
 
  (exit $ac_status); } && {
32960
 
         test -z "$ac_c_werror_flag" ||
32961
 
         test ! -s conftest.err
32962
 
       } && test -s conftest.$ac_objext; then
32963
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
32964
 
  ac_cv_c_bigendian=yes
32965
 
fi
32966
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
32967
 
  if test "$ac_cv_c_bigendian" = unknown; then
32968
 
    ac_cv_c_bigendian=no
32969
 
  else
32970
 
    # finding both strings is unlikely to happen, but who knows?
32971
 
    ac_cv_c_bigendian=unknown
32972
 
  fi
32973
 
fi
32974
 
else
32975
 
  echo "$as_me: failed program was:" >&5
32976
 
sed 's/^/| /' conftest.$ac_ext >&5
32977
 
 
32978
 
 
32979
 
fi
32980
 
 
32981
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32982
 
else
32983
 
  cat >conftest.$ac_ext <<_ACEOF
32984
 
/* confdefs.h.  */
32985
 
_ACEOF
32986
 
cat confdefs.h >>conftest.$ac_ext
32987
 
cat >>conftest.$ac_ext <<_ACEOF
32988
 
/* end confdefs.h.  */
32989
 
$ac_includes_default
32990
 
int
32991
 
main ()
32992
 
{
32993
 
 
32994
 
  /* Are we little or big endian?  From Harbison&Steele.  */
32995
 
  union
32996
 
  {
32997
 
    long int l;
32998
 
    char c[sizeof (long int)];
32999
 
  } u;
33000
 
  u.l = 1;
33001
 
  return u.c[sizeof (long int) - 1] == 1;
33002
 
 
33003
 
  ;
33004
 
  return 0;
33005
 
}
33006
 
_ACEOF
33007
 
rm -f conftest$ac_exeext
33008
 
if { (ac_try="$ac_link"
33009
 
case "(($ac_try" in
33010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33011
 
  *) ac_try_echo=$ac_try;;
33012
 
esac
33013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33014
 
  (eval "$ac_link") 2>&5
33015
 
  ac_status=$?
33016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33018
 
  { (case "(($ac_try" in
33019
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33020
 
  *) ac_try_echo=$ac_try;;
33021
 
esac
33022
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33023
 
  (eval "$ac_try") 2>&5
33024
 
  ac_status=$?
33025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33026
 
  (exit $ac_status); }; }; then
33027
 
  ac_cv_c_bigendian=no
33028
 
else
33029
 
  echo "$as_me: program exited with status $ac_status" >&5
33030
 
echo "$as_me: failed program was:" >&5
33031
 
sed 's/^/| /' conftest.$ac_ext >&5
33032
 
 
33033
 
( exit $ac_status )
33034
 
ac_cv_c_bigendian=yes
33035
 
fi
33036
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33037
 
fi
33038
 
 
33039
 
 
33040
 
fi
33041
 
 
33042
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33043
 
fi
33044
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
33045
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
33046
 
case $ac_cv_c_bigendian in
33047
 
  yes)
33048
 
 
33049
 
cat >>confdefs.h <<\_ACEOF
33050
 
#define WORDS_BIGENDIAN 1
33051
 
_ACEOF
33052
 
 ;;
33053
 
  no)
33054
 
     ;;
33055
 
  *)
33056
 
    { { echo "$as_me:$LINENO: error: unknown endianness
33057
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
33058
 
echo "$as_me: error: unknown endianness
33059
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
33060
 
   { (exit 1); exit 1; }; } ;;
33061
 
esac
33062
 
 
33063
 
 
33064
 
{ echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
33065
 
echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6; }
33066
 
if test "${ac_cv_maxpathlen+set}" = set; then
33067
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
33068
 
else
33069
 
 
33070
 
cat > conftest.$ac_ext <<EOF
33071
 
#ifdef STDC_HEADERS
33072
 
# include <stdlib.h>
33073
 
#endif
33074
 
#include <stdio.h>
33075
 
#include <sys/param.h>
33076
 
#ifndef MAXPATHLEN
33077
 
#define MAXPATHLEN 1024
33078
 
#endif
33079
 
 
33080
 
KDE_HELLO MAXPATHLEN
33081
 
 
33082
 
EOF
33083
 
 
33084
 
ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
33085
 
 
33086
 
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33087
 
  (eval $ac_try) 2>&5
33088
 
  ac_status=$?
33089
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090
 
  (exit $ac_status); } && test -s conftest.out; then
33091
 
    ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
33092
 
else
33093
 
    ac_cv_maxpathlen=1024
33094
 
fi
33095
 
 
33096
 
rm conftest.*
33097
 
 
33098
 
 
33099
 
fi
33100
 
 
33101
 
{ echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
33102
 
echo "${ECHO_T}$ac_cv_maxpathlen" >&6; }
33103
 
 
33104
 
cat >>confdefs.h <<_ACEOF
33105
 
#define KDEMAXPATHLEN $ac_cv_maxpathlen
33106
 
_ACEOF
33107
 
 
33108
 
 
33109
 
 
33110
 
NEED_LIBGCRYPT_API=1
33111
 
NEED_LIBGCRYPT_VERSION=1.1.98
33112
 
 
33113
 
##libgcrypt is our generic crypto library
33114
 
#
33115
 
 
33116
 
# Check whether --with-libgcrypt-prefix was given.
33117
 
if test "${with_libgcrypt_prefix+set}" = set; then
33118
 
  withval=$with_libgcrypt_prefix; libgcrypt_config_prefix="$withval"
33119
 
else
33120
 
  libgcrypt_config_prefix=""
33121
 
fi
33122
 
 
33123
 
  if test x$libgcrypt_config_prefix != x ; then
33124
 
     if test x${LIBGCRYPT_CONFIG+set} != xset ; then
33125
 
        LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
33126
 
     fi
33127
 
  fi
33128
 
 
33129
 
  # Extract the first word of "libgcrypt-config", so it can be a program name with args.
33130
 
set dummy libgcrypt-config; ac_word=$2
33131
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
33132
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33133
 
if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then
33134
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
33135
 
else
33136
 
  case $LIBGCRYPT_CONFIG in
33137
 
  [\\/]* | ?:[\\/]*)
33138
 
  ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
33139
 
  ;;
33140
 
  *)
33141
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33142
 
for as_dir in $PATH
33143
 
do
33144
 
  IFS=$as_save_IFS
33145
 
  test -z "$as_dir" && as_dir=.
33146
 
  for ac_exec_ext in '' $ac_executable_extensions; do
33147
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33148
 
    ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33149
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33150
 
    break 2
33151
 
  fi
33152
 
done
33153
 
done
33154
 
IFS=$as_save_IFS
33155
 
 
33156
 
  test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no"
33157
 
  ;;
33158
 
esac
33159
 
fi
33160
 
LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
33161
 
if test -n "$LIBGCRYPT_CONFIG"; then
33162
 
  { echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
33163
 
echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6; }
33164
 
else
33165
 
  { echo "$as_me:$LINENO: result: no" >&5
33166
 
echo "${ECHO_T}no" >&6; }
33167
 
fi
33168
 
 
33169
 
 
33170
 
  tmp="$NEED_LIBGCRYPT_API:$NEED_LIBGCRYPT_VERSION"
33171
 
  if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
33172
 
     req_libgcrypt_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
33173
 
     min_libgcrypt_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
33174
 
  else
33175
 
     req_libgcrypt_api=0
33176
 
     min_libgcrypt_version="$tmp"
33177
 
  fi
33178
 
 
33179
 
  { echo "$as_me:$LINENO: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
33180
 
echo $ECHO_N "checking for LIBGCRYPT - version >= $min_libgcrypt_version... $ECHO_C" >&6; }
33181
 
  ok=no
33182
 
  if test "$LIBGCRYPT_CONFIG" != "no" ; then
33183
 
    req_major=`echo $min_libgcrypt_version | \
33184
 
               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
33185
 
    req_minor=`echo $min_libgcrypt_version | \
33186
 
               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
33187
 
    req_micro=`echo $min_libgcrypt_version | \
33188
 
               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
33189
 
    libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version`
33190
 
    major=`echo $libgcrypt_config_version | \
33191
 
               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
33192
 
    minor=`echo $libgcrypt_config_version | \
33193
 
               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
33194
 
    micro=`echo $libgcrypt_config_version | \
33195
 
               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
33196
 
    if test "$major" -gt "$req_major"; then
33197
 
        ok=yes
33198
 
    else
33199
 
        if test "$major" -eq "$req_major"; then
33200
 
            if test "$minor" -gt "$req_minor"; then
33201
 
               ok=yes
33202
 
            else
33203
 
               if test "$minor" -eq "$req_minor"; then
33204
 
                   if test "$micro" -ge "$req_micro"; then
33205
 
                     ok=yes
33206
 
                   fi
33207
 
               fi
33208
 
            fi
33209
 
        fi
33210
 
    fi
33211
 
  fi
33212
 
  if test $ok = yes; then
33213
 
    { echo "$as_me:$LINENO: result: yes ($libgcrypt_config_version)" >&5
33214
 
echo "${ECHO_T}yes ($libgcrypt_config_version)" >&6; }
33215
 
  else
33216
 
    { echo "$as_me:$LINENO: result: no" >&5
33217
 
echo "${ECHO_T}no" >&6; }
33218
 
  fi
33219
 
  if test $ok = yes; then
33220
 
     # If we have a recent libgcrypt, we should also check that the
33221
 
     # API is compatible
33222
 
     if test "$req_libgcrypt_api" -gt 0 ; then
33223
 
        tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
33224
 
        if test "$tmp" -gt 0 ; then
33225
 
           { echo "$as_me:$LINENO: checking LIBGCRYPT API version" >&5
33226
 
echo $ECHO_N "checking LIBGCRYPT API version... $ECHO_C" >&6; }
33227
 
           if test "$req_libgcrypt_api" -eq "$tmp" ; then
33228
 
             { echo "$as_me:$LINENO: result: okay" >&5
33229
 
echo "${ECHO_T}okay" >&6; }
33230
 
           else
33231
 
             ok=no
33232
 
             { echo "$as_me:$LINENO: result: does not match. want=$req_libgcrypt_api got=$tmp" >&5
33233
 
echo "${ECHO_T}does not match. want=$req_libgcrypt_api got=$tmp" >&6; }
33234
 
           fi
33235
 
        fi
33236
 
     fi
33237
 
  fi
33238
 
  if test $ok = yes; then
33239
 
    LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
33240
 
    LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs`
33241
 
    have_libgcrypt=yes
33242
 
  else
33243
 
    LIBGCRYPT_CFLAGS=""
33244
 
    LIBGCRYPT_LIBS=""
33245
 
    have_libgcrypt=no
33246
 
  fi
33247
 
 
33248
 
 
33249
 
 
33250
 
 
33251
 
 
33252
 
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
33253
 
TOPSUBDIRS=""
33254
 
 
33255
 
if test ! -s $srcdir/subdirs; then
33256
 
    files=`cd $srcdir && ls -1`
33257
 
  dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
33258
 
  for i in $dirs; do
33259
 
    echo $i >> $srcdir/subdirs
33260
 
  done
33261
 
fi
33262
 
 
33263
 
ac_topsubdirs=
33264
 
if test -s $srcdir/inst-apps; then
33265
 
  ac_topsubdirs="`cat $srcdir/inst-apps`"
33266
 
elif test -s $srcdir/subdirs; then
33267
 
  ac_topsubdirs="`cat $srcdir/subdirs`"
33268
 
fi
33269
 
 
33270
 
for i in $ac_topsubdirs; do
33271
 
  { echo "$as_me:$LINENO: checking if $i should be compiled" >&5
33272
 
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6; }
33273
 
  if test -d $srcdir/$i; then
33274
 
    install_it="yes"
33275
 
    for j in $DO_NOT_COMPILE; do
33276
 
      if test $i = $j; then
33277
 
        install_it="no"
33278
 
      fi
33279
 
    done
33280
 
  else
33281
 
    install_it="no"
33282
 
  fi
33283
 
  { echo "$as_me:$LINENO: result: $install_it" >&5
33284
 
echo "${ECHO_T}$install_it" >&6; }
33285
 
  vari=`echo $i | sed -e 's,[-+.@],_,g'`
33286
 
  if test $install_it = "yes"; then
33287
 
    TOPSUBDIRS="$TOPSUBDIRS $i"
33288
 
    eval "$vari""_SUBDIR_included=yes"
33289
 
  else
33290
 
    eval "$vari""_SUBDIR_included=no"
33291
 
  fi
33292
 
done
33293
 
 
33294
 
 
33295
 
 
33296
 
ac_config_files="$ac_config_files Makefile"
33297
 
 
33298
 
ac_config_files="$ac_config_files doc/Makefile"
33299
 
 
33300
 
ac_config_files="$ac_config_files doc/de/Makefile"
33301
 
 
33302
 
ac_config_files="$ac_config_files doc/en/Makefile"
33303
 
 
33304
 
ac_config_files="$ac_config_files doc/fr/Makefile"
33305
 
 
33306
 
ac_config_files="$ac_config_files doc/sv/Makefile"
33307
 
 
33308
 
ac_config_files="$ac_config_files po/Makefile"
33309
 
 
33310
 
ac_config_files="$ac_config_files src/Makefile"
33311
 
 
33312
 
ac_config_files="$ac_config_files src/icons/Makefile"
33313
 
 
33314
 
cat >confcache <<\_ACEOF
33315
 
# This file is a shell script that caches the results of configure
33316
 
# tests run on this system so they can be shared between configure
33317
 
# scripts and configure runs, see configure's option --config-cache.
33318
 
# It is not useful on other systems.  If it contains results you don't
33319
 
# want to keep, you may remove or edit it.
33320
 
#
33321
 
# config.status only pays attention to the cache file if you give it
33322
 
# the --recheck option to rerun configure.
33323
 
#
33324
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
33325
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
33326
 
# following values.
33327
 
 
33328
 
_ACEOF
33329
 
 
33330
 
# The following way of writing the cache mishandles newlines in values,
33331
 
# but we know of no workaround that is simple, portable, and efficient.
33332
 
# So, we kill variables containing newlines.
33333
 
# Ultrix sh set writes to stderr and can't be redirected directly,
33334
 
# and sets the high bit in the cache file unless we assign to the vars.
33335
 
(
33336
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33337
 
    eval ac_val=\$$ac_var
33338
 
    case $ac_val in #(
33339
 
    *${as_nl}*)
33340
 
      case $ac_var in #(
33341
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33342
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33343
 
      esac
33344
 
      case $ac_var in #(
33345
 
      _ | IFS | as_nl) ;; #(
33346
 
      *) $as_unset $ac_var ;;
33347
 
      esac ;;
33348
 
    esac
33349
 
  done
33350
 
 
33351
 
  (set) 2>&1 |
33352
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
33353
 
    *${as_nl}ac_space=\ *)
33354
 
      # `set' does not quote correctly, so add quotes (double-quote
33355
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
33356
 
      sed -n \
33357
 
        "s/'/'\\\\''/g;
33358
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33359
 
      ;; #(
33360
 
    *)
33361
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
33362
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33363
 
      ;;
33364
 
    esac |
33365
 
    sort
33366
 
) |
33367
 
  sed '
33368
 
     /^ac_cv_env_/b end
33369
 
     t clear
33370
 
     :clear
33371
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33372
 
     t end
33373
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33374
 
     :end' >>confcache
33375
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33376
 
  if test -w "$cache_file"; then
33377
 
    test "x$cache_file" != "x/dev/null" &&
33378
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33379
 
echo "$as_me: updating cache $cache_file" >&6;}
33380
 
    cat confcache >$cache_file
33381
 
  else
33382
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33383
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33384
 
  fi
33385
 
fi
33386
 
rm -f confcache
33387
 
 
33388
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
33389
 
# Let make expand exec_prefix.
33390
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33391
 
 
33392
 
DEFS=-DHAVE_CONFIG_H
33393
 
 
33394
 
ac_libobjs=
33395
 
ac_ltlibobjs=
33396
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33397
 
  # 1. Remove the extension, and $U if already installed.
33398
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33399
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
33400
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
33401
 
  #    will be set to the directory where LIBOBJS objects are built.
33402
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33403
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33404
 
done
33405
 
LIBOBJS=$ac_libobjs
33406
 
 
33407
 
LTLIBOBJS=$ac_ltlibobjs
33408
 
 
33409
 
 
33410
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33411
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33412
 
Usually this means the macro was only invoked conditionally." >&5
33413
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
33414
 
Usually this means the macro was only invoked conditionally." >&2;}
33415
 
   { (exit 1); exit 1; }; }
33416
 
fi
33417
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33418
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33419
 
Usually this means the macro was only invoked conditionally." >&5
33420
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33421
 
Usually this means the macro was only invoked conditionally." >&2;}
33422
 
   { (exit 1); exit 1; }; }
33423
 
fi
33424
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33425
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33426
 
Usually this means the macro was only invoked conditionally." >&5
33427
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33428
 
Usually this means the macro was only invoked conditionally." >&2;}
33429
 
   { (exit 1); exit 1; }; }
33430
 
fi
33431
 
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
33432
 
  { { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
33433
 
Usually this means the macro was only invoked conditionally." >&5
33434
 
echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
33435
 
Usually this means the macro was only invoked conditionally." >&2;}
33436
 
   { (exit 1); exit 1; }; }
33437
 
fi
33438
 
if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
33439
 
  { { echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
33440
 
Usually this means the macro was only invoked conditionally." >&5
33441
 
echo "$as_me: error: conditional \"include_x11\" was never defined.
33442
 
Usually this means the macro was only invoked conditionally." >&2;}
33443
 
   { (exit 1); exit 1; }; }
33444
 
fi
33445
 
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
33446
 
  { { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
33447
 
Usually this means the macro was only invoked conditionally." >&5
33448
 
echo "$as_me: error: conditional \"include_ARTS\" was never defined.
33449
 
Usually this means the macro was only invoked conditionally." >&2;}
33450
 
   { (exit 1); exit 1; }; }
33451
 
fi
33452
 
 
33453
 
: ${CONFIG_STATUS=./config.status}
33454
 
ac_clean_files_save=$ac_clean_files
33455
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33456
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33457
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
33458
 
cat >$CONFIG_STATUS <<_ACEOF
33459
 
#! $SHELL
33460
 
# Generated by $as_me.
33461
 
# Run this file to recreate the current configuration.
33462
 
# Compiler output produced by configure, useful for debugging
33463
 
# configure, is in config.log if it exists.
33464
 
 
33465
 
debug=false
33466
 
ac_cs_recheck=false
33467
 
ac_cs_silent=false
33468
 
SHELL=\${CONFIG_SHELL-$SHELL}
33469
 
_ACEOF
33470
 
 
33471
 
cat >>$CONFIG_STATUS <<\_ACEOF
33472
 
## --------------------- ##
33473
 
## M4sh Initialization.  ##
33474
 
## --------------------- ##
33475
 
 
33476
 
# Be more Bourne compatible
33477
 
DUALCASE=1; export DUALCASE # for MKS sh
33478
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33479
 
  emulate sh
33480
 
  NULLCMD=:
33481
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33482
 
  # is contrary to our usage.  Disable this feature.
33483
 
  alias -g '${1+"$@"}'='"$@"'
33484
 
  setopt NO_GLOB_SUBST
33485
 
else
33486
 
  case `(set -o) 2>/dev/null` in
33487
 
  *posix*) set -o posix ;;
33488
 
esac
33489
 
 
33490
 
fi
33491
 
 
33492
 
 
33493
 
 
33494
 
 
33495
 
# PATH needs CR
33496
 
# Avoid depending upon Character Ranges.
33497
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33498
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33499
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33500
 
as_cr_digits='0123456789'
33501
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
33502
 
 
33503
 
# The user is always right.
33504
 
if test "${PATH_SEPARATOR+set}" != set; then
33505
 
  echo "#! /bin/sh" >conf$$.sh
33506
 
  echo  "exit 0"   >>conf$$.sh
33507
 
  chmod +x conf$$.sh
33508
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33509
 
    PATH_SEPARATOR=';'
33510
 
  else
33511
 
    PATH_SEPARATOR=:
33512
 
  fi
33513
 
  rm -f conf$$.sh
33514
 
fi
33515
 
 
33516
 
# Support unset when possible.
33517
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33518
 
  as_unset=unset
33519
 
else
33520
 
  as_unset=false
33521
 
fi
33522
 
 
33523
 
 
33524
 
# IFS
33525
 
# We need space, tab and new line, in precisely that order.  Quoting is
33526
 
# there to prevent editors from complaining about space-tab.
33527
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33528
 
# splitting by setting IFS to empty value.)
33529
 
as_nl='
33530
 
'
33531
 
IFS=" ""        $as_nl"
33532
 
 
33533
 
# Find who we are.  Look in the path if we contain no directory separator.
33534
 
case $0 in
33535
 
  *[\\/]* ) as_myself=$0 ;;
33536
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33537
 
for as_dir in $PATH
33538
 
do
33539
 
  IFS=$as_save_IFS
33540
 
  test -z "$as_dir" && as_dir=.
33541
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33542
 
done
33543
 
IFS=$as_save_IFS
33544
 
 
33545
 
     ;;
33546
 
esac
33547
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
33548
 
# in which case we are not to be found in the path.
33549
 
if test "x$as_myself" = x; then
33550
 
  as_myself=$0
33551
 
fi
33552
 
if test ! -f "$as_myself"; then
33553
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33554
 
  { (exit 1); exit 1; }
33555
 
fi
33556
 
 
33557
 
# Work around bugs in pre-3.0 UWIN ksh.
33558
 
for as_var in ENV MAIL MAILPATH
33559
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33560
 
done
33561
 
PS1='$ '
33562
 
PS2='> '
33563
 
PS4='+ '
33564
 
 
33565
 
# NLS nuisances.
33566
 
for as_var in \
33567
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33568
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33569
 
  LC_TELEPHONE LC_TIME
33570
 
do
33571
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33572
 
    eval $as_var=C; export $as_var
33573
 
  else
33574
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33575
 
  fi
33576
 
done
33577
 
 
33578
 
# Required to use basename.
33579
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
33580
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
33581
 
  as_expr=expr
33582
 
else
33583
 
  as_expr=false
33584
 
fi
33585
 
 
33586
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33587
 
  as_basename=basename
33588
 
else
33589
 
  as_basename=false
33590
 
fi
33591
 
 
33592
 
 
33593
 
# Name of the executable.
33594
 
as_me=`$as_basename -- "$0" ||
33595
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33596
 
         X"$0" : 'X\(//\)$' \| \
33597
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33598
 
echo X/"$0" |
33599
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
33600
 
            s//\1/
33601
 
            q
33602
 
          }
33603
 
          /^X\/\(\/\/\)$/{
33604
 
            s//\1/
33605
 
            q
33606
 
          }
33607
 
          /^X\/\(\/\).*/{
33608
 
            s//\1/
33609
 
            q
33610
 
          }
33611
 
          s/.*/./; q'`
33612
 
 
33613
 
# CDPATH.
33614
 
$as_unset CDPATH
33615
 
 
33616
 
 
33617
 
 
33618
 
  as_lineno_1=$LINENO
33619
 
  as_lineno_2=$LINENO
33620
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
33621
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33622
 
 
33623
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33624
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
33625
 
  # line-number line after each line using $LINENO; the second 'sed'
33626
 
  # does the real work.  The second script uses 'N' to pair each
33627
 
  # line-number line with the line containing $LINENO, and appends
33628
 
  # trailing '-' during substitution so that $LINENO is not a special
33629
 
  # case at line end.
33630
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33631
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
33632
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
33633
 
  sed -n '
33634
 
    p
33635
 
    /[$]LINENO/=
33636
 
  ' <$as_myself |
33637
 
    sed '
33638
 
      s/[$]LINENO.*/&-/
33639
 
      t lineno
33640
 
      b
33641
 
      :lineno
33642
 
      N
33643
 
      :loop
33644
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33645
 
      t loop
33646
 
      s/-\n.*//
33647
 
    ' >$as_me.lineno &&
33648
 
  chmod +x "$as_me.lineno" ||
33649
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33650
 
   { (exit 1); exit 1; }; }
33651
 
 
33652
 
  # Don't try to exec as it changes $[0], causing all sort of problems
33653
 
  # (the dirname of $[0] is not the place where we might find the
33654
 
  # original and so on.  Autoconf is especially sensitive to this).
33655
 
  . "./$as_me.lineno"
33656
 
  # Exit status is that of the last command.
33657
 
  exit
33658
 
}
33659
 
 
33660
 
 
33661
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33662
 
  as_dirname=dirname
33663
 
else
33664
 
  as_dirname=false
33665
 
fi
33666
 
 
33667
 
ECHO_C= ECHO_N= ECHO_T=
33668
 
case `echo -n x` in
33669
 
-n*)
33670
 
  case `echo 'x\c'` in
33671
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
33672
 
  *)   ECHO_C='\c';;
33673
 
  esac;;
33674
 
*)
33675
 
  ECHO_N='-n';;
33676
 
esac
33677
 
 
33678
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
33679
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
33680
 
  as_expr=expr
33681
 
else
33682
 
  as_expr=false
33683
 
fi
33684
 
 
33685
 
rm -f conf$$ conf$$.exe conf$$.file
33686
 
if test -d conf$$.dir; then
33687
 
  rm -f conf$$.dir/conf$$.file
33688
 
else
33689
 
  rm -f conf$$.dir
33690
 
  mkdir conf$$.dir
33691
 
fi
33692
 
echo >conf$$.file
33693
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
33694
 
  as_ln_s='ln -s'
33695
 
  # ... but there are two gotchas:
33696
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33697
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33698
 
  # In both cases, we have to default to `cp -p'.
33699
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33700
 
    as_ln_s='cp -p'
33701
 
elif ln conf$$.file conf$$ 2>/dev/null; then
33702
 
  as_ln_s=ln
33703
 
else
33704
 
  as_ln_s='cp -p'
33705
 
fi
33706
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33707
 
rmdir conf$$.dir 2>/dev/null
33708
 
 
33709
 
if mkdir -p . 2>/dev/null; then
33710
 
  as_mkdir_p=:
33711
 
else
33712
 
  test -d ./-p && rmdir ./-p
33713
 
  as_mkdir_p=false
33714
 
fi
33715
 
 
33716
 
if test -x / >/dev/null 2>&1; then
33717
 
  as_test_x='test -x'
33718
 
else
33719
 
  if ls -dL / >/dev/null 2>&1; then
33720
 
    as_ls_L_option=L
33721
 
  else
33722
 
    as_ls_L_option=
33723
 
  fi
33724
 
  as_test_x='
33725
 
    eval sh -c '\''
33726
 
      if test -d "$1"; then
33727
 
        test -d "$1/.";
33728
 
      else
33729
 
        case $1 in
33730
 
        -*)set "./$1";;
33731
 
        esac;
33732
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33733
 
        ???[sx]*):;;*)false;;esac;fi
33734
 
    '\'' sh
33735
 
  '
33736
 
fi
33737
 
as_executable_p=$as_test_x
33738
 
 
33739
 
# Sed expression to map a string onto a valid CPP name.
33740
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33741
 
 
33742
 
# Sed expression to map a string onto a valid variable name.
33743
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33744
 
 
33745
 
 
33746
 
exec 6>&1
33747
 
 
33748
 
# Save the log message, to keep $[0] and so on meaningful, and to
33749
 
# report actual input values of CONFIG_FILES etc. instead of their
33750
 
# values after options handling.
33751
 
ac_log="
33752
 
This file was extended by $as_me, which was
33753
 
generated by GNU Autoconf 2.61.  Invocation command line was
33754
 
 
33755
 
  CONFIG_FILES    = $CONFIG_FILES
33756
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
33757
 
  CONFIG_LINKS    = $CONFIG_LINKS
33758
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
33759
 
  $ $0 $@
33760
 
 
33761
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
33762
 
"
33763
 
 
33764
 
_ACEOF
33765
 
 
33766
 
cat >>$CONFIG_STATUS <<_ACEOF
33767
 
# Files that config.status was made for.
33768
 
config_files="$ac_config_files"
33769
 
config_headers="$ac_config_headers"
33770
 
config_commands="$ac_config_commands"
33771
 
 
33772
 
_ACEOF
33773
 
 
33774
 
cat >>$CONFIG_STATUS <<\_ACEOF
33775
 
ac_cs_usage="\
33776
 
\`$as_me' instantiates files from templates according to the
33777
 
current configuration.
33778
 
 
33779
 
Usage: $0 [OPTIONS] [FILE]...
33780
 
 
33781
 
  -h, --help       print this help, then exit
33782
 
  -V, --version    print version number and configuration settings, then exit
33783
 
  -q, --quiet      do not print progress messages
33784
 
  -d, --debug      don't remove temporary files
33785
 
      --recheck    update $as_me by reconfiguring in the same conditions
33786
 
  --file=FILE[:TEMPLATE]
33787
 
                   instantiate the configuration file FILE
33788
 
  --header=FILE[:TEMPLATE]
33789
 
                   instantiate the configuration header FILE
33790
 
 
33791
 
Configuration files:
33792
 
$config_files
33793
 
 
33794
 
Configuration headers:
33795
 
$config_headers
33796
 
 
33797
 
Configuration commands:
33798
 
$config_commands
33799
 
 
33800
 
Report bugs to <bug-autoconf@gnu.org>."
33801
 
 
33802
 
_ACEOF
33803
 
cat >>$CONFIG_STATUS <<_ACEOF
33804
 
ac_cs_version="\\
33805
 
config.status
33806
 
configured by $0, generated by GNU Autoconf 2.61,
33807
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
33808
 
 
33809
 
Copyright (C) 2006 Free Software Foundation, Inc.
33810
 
This config.status script is free software; the Free Software Foundation
33811
 
gives unlimited permission to copy, distribute and modify it."
33812
 
 
33813
 
ac_pwd='$ac_pwd'
33814
 
srcdir='$srcdir'
33815
 
INSTALL='$INSTALL'
33816
 
_ACEOF
33817
 
 
33818
 
cat >>$CONFIG_STATUS <<\_ACEOF
33819
 
# If no file are specified by the user, then we need to provide default
33820
 
# value.  By we need to know if files were specified by the user.
33821
 
ac_need_defaults=:
33822
 
while test $# != 0
33823
 
do
33824
 
  case $1 in
33825
 
  --*=*)
33826
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
33827
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33828
 
    ac_shift=:
33829
 
    ;;
33830
 
  *)
33831
 
    ac_option=$1
33832
 
    ac_optarg=$2
33833
 
    ac_shift=shift
33834
 
    ;;
33835
 
  esac
33836
 
 
33837
 
  case $ac_option in
33838
 
  # Handling of the options.
33839
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33840
 
    ac_cs_recheck=: ;;
33841
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33842
 
    echo "$ac_cs_version"; exit ;;
33843
 
  --debug | --debu | --deb | --de | --d | -d )
33844
 
    debug=: ;;
33845
 
  --file | --fil | --fi | --f )
33846
 
    $ac_shift
33847
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33848
 
    ac_need_defaults=false;;
33849
 
  --header | --heade | --head | --hea )
33850
 
    $ac_shift
33851
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33852
 
    ac_need_defaults=false;;
33853
 
  --he | --h)
33854
 
    # Conflict between --help and --header
33855
 
    { echo "$as_me: error: ambiguous option: $1
33856
 
Try \`$0 --help' for more information." >&2
33857
 
   { (exit 1); exit 1; }; };;
33858
 
  --help | --hel | -h )
33859
 
    echo "$ac_cs_usage"; exit ;;
33860
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33861
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
33862
 
    ac_cs_silent=: ;;
33863
 
 
33864
 
  # This is an error.
33865
 
  -*) { echo "$as_me: error: unrecognized option: $1
33866
 
Try \`$0 --help' for more information." >&2
33867
 
   { (exit 1); exit 1; }; } ;;
33868
 
 
33869
 
  *) ac_config_targets="$ac_config_targets $1"
33870
 
     ac_need_defaults=false ;;
33871
 
 
33872
 
  esac
33873
 
  shift
33874
 
done
33875
 
 
33876
 
ac_configure_extra_args=
33877
 
 
33878
 
if $ac_cs_silent; then
33879
 
  exec 6>/dev/null
33880
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
33881
 
fi
33882
 
 
33883
 
_ACEOF
33884
 
cat >>$CONFIG_STATUS <<_ACEOF
33885
 
if \$ac_cs_recheck; then
33886
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33887
 
  CONFIG_SHELL=$SHELL
33888
 
  export CONFIG_SHELL
33889
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33890
 
fi
33891
 
 
33892
 
_ACEOF
33893
 
cat >>$CONFIG_STATUS <<\_ACEOF
33894
 
exec 5>>config.log
33895
 
{
33896
 
  echo
33897
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33898
 
## Running $as_me. ##
33899
 
_ASBOX
33900
 
  echo "$ac_log"
33901
 
} >&5
33902
 
 
33903
 
_ACEOF
33904
 
cat >>$CONFIG_STATUS <<_ACEOF
33905
 
#
33906
 
# INIT-COMMANDS
33907
 
#
33908
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33909
 
 
33910
 
_ACEOF
33911
 
 
33912
 
cat >>$CONFIG_STATUS <<\_ACEOF
33913
 
 
33914
 
# Handling of arguments.
33915
 
for ac_config_target in $ac_config_targets
33916
 
do
33917
 
  case $ac_config_target in
33918
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33919
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33920
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33921
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33922
 
    "doc/de/Makefile") CONFIG_FILES="$CONFIG_FILES doc/de/Makefile" ;;
33923
 
    "doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
33924
 
    "doc/fr/Makefile") CONFIG_FILES="$CONFIG_FILES doc/fr/Makefile" ;;
33925
 
    "doc/sv/Makefile") CONFIG_FILES="$CONFIG_FILES doc/sv/Makefile" ;;
33926
 
    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
33927
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
33928
 
    "src/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/Makefile" ;;
33929
 
 
33930
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33931
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33932
 
   { (exit 1); exit 1; }; };;
33933
 
  esac
33934
 
done
33935
 
 
33936
 
 
33937
 
# If the user did not use the arguments to specify the items to instantiate,
33938
 
# then the envvar interface is used.  Set only those that are not.
33939
 
# We use the long form for the default assignment because of an extremely
33940
 
# bizarre bug on SunOS 4.1.3.
33941
 
if $ac_need_defaults; then
33942
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33943
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33944
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33945
 
fi
33946
 
 
33947
 
# Have a temporary directory for convenience.  Make it in the build tree
33948
 
# simply because there is no reason against having it here, and in addition,
33949
 
# creating and moving files from /tmp can sometimes cause problems.
33950
 
# Hook for its removal unless debugging.
33951
 
# Note that there is a small window in which the directory will not be cleaned:
33952
 
# after its creation but before its name has been assigned to `$tmp'.
33953
 
$debug ||
33954
 
{
33955
 
  tmp=
33956
 
  trap 'exit_status=$?
33957
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
33958
 
' 0
33959
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
33960
 
}
33961
 
# Create a (secure) tmp directory for tmp files.
33962
 
 
33963
 
{
33964
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33965
 
  test -n "$tmp" && test -d "$tmp"
33966
 
}  ||
33967
 
{
33968
 
  tmp=./conf$$-$RANDOM
33969
 
  (umask 077 && mkdir "$tmp")
33970
 
} ||
33971
 
{
33972
 
   echo "$me: cannot create a temporary directory in ." >&2
33973
 
   { (exit 1); exit 1; }
33974
 
}
33975
 
 
33976
 
#
33977
 
# Set up the sed scripts for CONFIG_FILES section.
33978
 
#
33979
 
 
33980
 
# No need to generate the scripts if there are no CONFIG_FILES.
33981
 
# This happens for instance when ./config.status config.h
33982
 
if test -n "$CONFIG_FILES"; then
33983
 
 
33984
 
_ACEOF
33985
 
 
33986
 
 
33987
 
 
33988
 
ac_delim='%!_!# '
33989
 
for ac_last_try in false false false false false :; do
33990
 
  cat >conf$$subs.sed <<_ACEOF
33991
 
SHELL!$SHELL$ac_delim
33992
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
33993
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
33994
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
33995
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
33996
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
33997
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
33998
 
exec_prefix!$exec_prefix$ac_delim
33999
 
prefix!$prefix$ac_delim
34000
 
program_transform_name!$program_transform_name$ac_delim
34001
 
bindir!$bindir$ac_delim
34002
 
sbindir!$sbindir$ac_delim
34003
 
libexecdir!$libexecdir$ac_delim
34004
 
datarootdir!$datarootdir$ac_delim
34005
 
datadir!$datadir$ac_delim
34006
 
sysconfdir!$sysconfdir$ac_delim
34007
 
sharedstatedir!$sharedstatedir$ac_delim
34008
 
localstatedir!$localstatedir$ac_delim
34009
 
includedir!$includedir$ac_delim
34010
 
oldincludedir!$oldincludedir$ac_delim
34011
 
docdir!$docdir$ac_delim
34012
 
infodir!$infodir$ac_delim
34013
 
htmldir!$htmldir$ac_delim
34014
 
dvidir!$dvidir$ac_delim
34015
 
pdfdir!$pdfdir$ac_delim
34016
 
psdir!$psdir$ac_delim
34017
 
libdir!$libdir$ac_delim
34018
 
localedir!$localedir$ac_delim
34019
 
mandir!$mandir$ac_delim
34020
 
DEFS!$DEFS$ac_delim
34021
 
ECHO_C!$ECHO_C$ac_delim
34022
 
ECHO_N!$ECHO_N$ac_delim
34023
 
ECHO_T!$ECHO_T$ac_delim
34024
 
LIBS!$LIBS$ac_delim
34025
 
build_alias!$build_alias$ac_delim
34026
 
host_alias!$host_alias$ac_delim
34027
 
target_alias!$target_alias$ac_delim
34028
 
build!$build$ac_delim
34029
 
build_cpu!$build_cpu$ac_delim
34030
 
build_vendor!$build_vendor$ac_delim
34031
 
build_os!$build_os$ac_delim
34032
 
host!$host$ac_delim
34033
 
host_cpu!$host_cpu$ac_delim
34034
 
host_vendor!$host_vendor$ac_delim
34035
 
host_os!$host_os$ac_delim
34036
 
target!$target$ac_delim
34037
 
target_cpu!$target_cpu$ac_delim
34038
 
target_vendor!$target_vendor$ac_delim
34039
 
target_os!$target_os$ac_delim
34040
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34041
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34042
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
34043
 
CYGPATH_W!$CYGPATH_W$ac_delim
34044
 
PACKAGE!$PACKAGE$ac_delim
34045
 
VERSION!$VERSION$ac_delim
34046
 
ACLOCAL!$ACLOCAL$ac_delim
34047
 
AUTOCONF!$AUTOCONF$ac_delim
34048
 
AUTOMAKE!$AUTOMAKE$ac_delim
34049
 
AUTOHEADER!$AUTOHEADER$ac_delim
34050
 
MAKEINFO!$MAKEINFO$ac_delim
34051
 
install_sh!$install_sh$ac_delim
34052
 
STRIP!$STRIP$ac_delim
34053
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
34054
 
mkdir_p!$mkdir_p$ac_delim
34055
 
AWK!$AWK$ac_delim
34056
 
SET_MAKE!$SET_MAKE$ac_delim
34057
 
am__leading_dot!$am__leading_dot$ac_delim
34058
 
AMTAR!$AMTAR$ac_delim
34059
 
am__tar!$am__tar$ac_delim
34060
 
am__untar!$am__untar$ac_delim
34061
 
KDECONFIG!$KDECONFIG$ac_delim
34062
 
kde_libs_prefix!$kde_libs_prefix$ac_delim
34063
 
kde_libs_htmldir!$kde_libs_htmldir$ac_delim
34064
 
CONF_FILES!$CONF_FILES$ac_delim
34065
 
CC!$CC$ac_delim
34066
 
CFLAGS!$CFLAGS$ac_delim
34067
 
LDFLAGS!$LDFLAGS$ac_delim
34068
 
CPPFLAGS!$CPPFLAGS$ac_delim
34069
 
ac_ct_CC!$ac_ct_CC$ac_delim
34070
 
EXEEXT!$EXEEXT$ac_delim
34071
 
OBJEXT!$OBJEXT$ac_delim
34072
 
DEPDIR!$DEPDIR$ac_delim
34073
 
am__include!$am__include$ac_delim
34074
 
am__quote!$am__quote$ac_delim
34075
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
34076
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
34077
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
34078
 
CCDEPMODE!$CCDEPMODE$ac_delim
34079
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
34080
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
34081
 
CPP!$CPP$ac_delim
34082
 
CXX!$CXX$ac_delim
34083
 
CXXFLAGS!$CXXFLAGS$ac_delim
34084
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
34085
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
34086
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
34087
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
34088
 
_ACEOF
34089
 
 
34090
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34091
 
    break
34092
 
  elif $ac_last_try; then
34093
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34094
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34095
 
   { (exit 1); exit 1; }; }
34096
 
  else
34097
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34098
 
  fi
34099
 
done
34100
 
 
34101
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34102
 
if test -n "$ac_eof"; then
34103
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34104
 
  ac_eof=`expr $ac_eof + 1`
34105
 
fi
34106
 
 
34107
 
cat >>$CONFIG_STATUS <<_ACEOF
34108
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34109
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34110
 
_ACEOF
34111
 
sed '
34112
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34113
 
s/^/s,@/; s/!/@,|#_!!_#|/
34114
 
:n
34115
 
t n
34116
 
s/'"$ac_delim"'$/,g/; t
34117
 
s/$/\\/; p
34118
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34119
 
' >>$CONFIG_STATUS <conf$$subs.sed
34120
 
rm -f conf$$subs.sed
34121
 
cat >>$CONFIG_STATUS <<_ACEOF
34122
 
CEOF$ac_eof
34123
 
_ACEOF
34124
 
 
34125
 
 
34126
 
ac_delim='%!_!# '
34127
 
for ac_last_try in false false false false false :; do
34128
 
  cat >conf$$subs.sed <<_ACEOF
34129
 
WOVERLOADED_VIRTUAL!$WOVERLOADED_VIRTUAL$ac_delim
34130
 
HAVE_GCC_VISIBILITY!$HAVE_GCC_VISIBILITY$ac_delim
34131
 
unsermake_enable_pch_TRUE!$unsermake_enable_pch_TRUE$ac_delim
34132
 
unsermake_enable_pch_FALSE!$unsermake_enable_pch_FALSE$ac_delim
34133
 
USE_EXCEPTIONS!$USE_EXCEPTIONS$ac_delim
34134
 
USE_RTTI!$USE_RTTI$ac_delim
34135
 
CXXCPP!$CXXCPP$ac_delim
34136
 
NOOPT_CXXFLAGS!$NOOPT_CXXFLAGS$ac_delim
34137
 
NOOPT_CFLAGS!$NOOPT_CFLAGS$ac_delim
34138
 
ENABLE_PERMISSIVE_FLAG!$ENABLE_PERMISSIVE_FLAG$ac_delim
34139
 
LDFLAGS_AS_NEEDED!$LDFLAGS_AS_NEEDED$ac_delim
34140
 
LDFLAGS_NEW_DTAGS!$LDFLAGS_NEW_DTAGS$ac_delim
34141
 
KDE_USE_FINAL_TRUE!$KDE_USE_FINAL_TRUE$ac_delim
34142
 
KDE_USE_FINAL_FALSE!$KDE_USE_FINAL_FALSE$ac_delim
34143
 
KDE_USE_CLOSURE_TRUE!$KDE_USE_CLOSURE_TRUE$ac_delim
34144
 
KDE_USE_CLOSURE_FALSE!$KDE_USE_CLOSURE_FALSE$ac_delim
34145
 
KDE_NO_UNDEFINED!$KDE_NO_UNDEFINED$ac_delim
34146
 
KDE_USE_NMCHECK_TRUE!$KDE_USE_NMCHECK_TRUE$ac_delim
34147
 
KDE_USE_NMCHECK_FALSE!$KDE_USE_NMCHECK_FALSE$ac_delim
34148
 
GREP!$GREP$ac_delim
34149
 
EGREP!$EGREP$ac_delim
34150
 
LN_S!$LN_S$ac_delim
34151
 
ECHO!$ECHO$ac_delim
34152
 
AR!$AR$ac_delim
34153
 
RANLIB!$RANLIB$ac_delim
34154
 
F77!$F77$ac_delim
34155
 
FFLAGS!$FFLAGS$ac_delim
34156
 
ac_ct_F77!$ac_ct_F77$ac_delim
34157
 
LIBTOOL!$LIBTOOL$ac_delim
34158
 
KDE_PLUGIN!$KDE_PLUGIN$ac_delim
34159
 
KDE_CHECK_PLUGIN!$KDE_CHECK_PLUGIN$ac_delim
34160
 
MSGFMT!$MSGFMT$ac_delim
34161
 
GMSGFMT!$GMSGFMT$ac_delim
34162
 
XGETTEXT!$XGETTEXT$ac_delim
34163
 
LIBUTIL!$LIBUTIL$ac_delim
34164
 
LIBCOMPAT!$LIBCOMPAT$ac_delim
34165
 
LIBCRYPT!$LIBCRYPT$ac_delim
34166
 
LIBRESOLV!$LIBRESOLV$ac_delim
34167
 
LIB_POLL!$LIB_POLL$ac_delim
34168
 
FRAMEWORK_COREAUDIO!$FRAMEWORK_COREAUDIO$ac_delim
34169
 
LIBSOCKET!$LIBSOCKET$ac_delim
34170
 
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
34171
 
LIBUCB!$LIBUCB$ac_delim
34172
 
LIBDL!$LIBDL$ac_delim
34173
 
KDE_USE_FPIE!$KDE_USE_FPIE$ac_delim
34174
 
KDE_USE_PIE!$KDE_USE_PIE$ac_delim
34175
 
include_x11_TRUE!$include_x11_TRUE$ac_delim
34176
 
include_x11_FALSE!$include_x11_FALSE$ac_delim
34177
 
XMKMF!$XMKMF$ac_delim
34178
 
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
34179
 
LIB_X11!$LIB_X11$ac_delim
34180
 
LIB_XRENDER!$LIB_XRENDER$ac_delim
34181
 
LIBSM!$LIBSM$ac_delim
34182
 
X_INCLUDES!$X_INCLUDES$ac_delim
34183
 
X_LDFLAGS!$X_LDFLAGS$ac_delim
34184
 
x_includes!$x_includes$ac_delim
34185
 
x_libraries!$x_libraries$ac_delim
34186
 
QTE_NORTTI!$QTE_NORTTI$ac_delim
34187
 
LIB_XEXT!$LIB_XEXT$ac_delim
34188
 
LIBPTHREAD!$LIBPTHREAD$ac_delim
34189
 
USE_THREADS!$USE_THREADS$ac_delim
34190
 
KDE_MT_LDFLAGS!$KDE_MT_LDFLAGS$ac_delim
34191
 
KDE_MT_LIBS!$KDE_MT_LIBS$ac_delim
34192
 
USER_INCLUDES!$USER_INCLUDES$ac_delim
34193
 
USER_LDFLAGS!$USER_LDFLAGS$ac_delim
34194
 
LIBZ!$LIBZ$ac_delim
34195
 
LIBPNG!$LIBPNG$ac_delim
34196
 
LIBJPEG!$LIBJPEG$ac_delim
34197
 
qt_libraries!$qt_libraries$ac_delim
34198
 
qt_includes!$qt_includes$ac_delim
34199
 
QT_INCLUDES!$QT_INCLUDES$ac_delim
34200
 
QT_LDFLAGS!$QT_LDFLAGS$ac_delim
34201
 
PERL!$PERL$ac_delim
34202
 
MOC!$MOC$ac_delim
34203
 
UIC!$UIC$ac_delim
34204
 
UIC_TR!$UIC_TR$ac_delim
34205
 
LIB_QT!$LIB_QT$ac_delim
34206
 
LIB_QPE!$LIB_QPE$ac_delim
34207
 
kde_qtver!$kde_qtver$ac_delim
34208
 
KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
34209
 
KDE_RPATH!$KDE_RPATH$ac_delim
34210
 
X_RPATH!$X_RPATH$ac_delim
34211
 
kde_libraries!$kde_libraries$ac_delim
34212
 
kde_includes!$kde_includes$ac_delim
34213
 
KDE_LDFLAGS!$KDE_LDFLAGS$ac_delim
34214
 
KDE_INCLUDES!$KDE_INCLUDES$ac_delim
34215
 
all_includes!$all_includes$ac_delim
34216
 
all_libraries!$all_libraries$ac_delim
34217
 
AUTODIRS!$AUTODIRS$ac_delim
34218
 
include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
34219
 
include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
34220
 
MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
34221
 
KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
34222
 
KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
34223
 
DCOPIDLNG!$DCOPIDLNG$ac_delim
34224
 
DCOPIDL!$DCOPIDL$ac_delim
34225
 
DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
34226
 
_ACEOF
34227
 
 
34228
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34229
 
    break
34230
 
  elif $ac_last_try; then
34231
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34232
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34233
 
   { (exit 1); exit 1; }; }
34234
 
  else
34235
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34236
 
  fi
34237
 
done
34238
 
 
34239
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34240
 
if test -n "$ac_eof"; then
34241
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34242
 
  ac_eof=`expr $ac_eof + 1`
34243
 
fi
34244
 
 
34245
 
cat >>$CONFIG_STATUS <<_ACEOF
34246
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34247
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34248
 
_ACEOF
34249
 
sed '
34250
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34251
 
s/^/s,@/; s/!/@,|#_!!_#|/
34252
 
:n
34253
 
t n
34254
 
s/'"$ac_delim"'$/,g/; t
34255
 
s/$/\\/; p
34256
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34257
 
' >>$CONFIG_STATUS <conf$$subs.sed
34258
 
rm -f conf$$subs.sed
34259
 
cat >>$CONFIG_STATUS <<_ACEOF
34260
 
CEOF$ac_eof
34261
 
_ACEOF
34262
 
 
34263
 
 
34264
 
ac_delim='%!_!# '
34265
 
for ac_last_try in false false false false false :; do
34266
 
  cat >conf$$subs.sed <<_ACEOF
34267
 
DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
34268
 
MCOPIDL!$MCOPIDL$ac_delim
34269
 
ARTSCCONFIG!$ARTSCCONFIG$ac_delim
34270
 
MEINPROC!$MEINPROC$ac_delim
34271
 
KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
34272
 
XMLLINT!$XMLLINT$ac_delim
34273
 
kde_htmldir!$kde_htmldir$ac_delim
34274
 
kde_appsdir!$kde_appsdir$ac_delim
34275
 
kde_icondir!$kde_icondir$ac_delim
34276
 
kde_sounddir!$kde_sounddir$ac_delim
34277
 
kde_datadir!$kde_datadir$ac_delim
34278
 
kde_locale!$kde_locale$ac_delim
34279
 
kde_confdir!$kde_confdir$ac_delim
34280
 
kde_kcfgdir!$kde_kcfgdir$ac_delim
34281
 
kde_mimedir!$kde_mimedir$ac_delim
34282
 
kde_wallpaperdir!$kde_wallpaperdir$ac_delim
34283
 
kde_bindir!$kde_bindir$ac_delim
34284
 
xdg_appsdir!$xdg_appsdir$ac_delim
34285
 
xdg_menudir!$xdg_menudir$ac_delim
34286
 
xdg_directorydir!$xdg_directorydir$ac_delim
34287
 
kde_templatesdir!$kde_templatesdir$ac_delim
34288
 
kde_servicesdir!$kde_servicesdir$ac_delim
34289
 
kde_servicetypesdir!$kde_servicetypesdir$ac_delim
34290
 
kde_moduledir!$kde_moduledir$ac_delim
34291
 
kdeinitdir!$kdeinitdir$ac_delim
34292
 
kde_styledir!$kde_styledir$ac_delim
34293
 
kde_widgetdir!$kde_widgetdir$ac_delim
34294
 
LIB_KDED!$LIB_KDED$ac_delim
34295
 
LIB_KDECORE!$LIB_KDECORE$ac_delim
34296
 
LIB_KDEUI!$LIB_KDEUI$ac_delim
34297
 
LIB_KIO!$LIB_KIO$ac_delim
34298
 
LIB_KJS!$LIB_KJS$ac_delim
34299
 
LIB_SMB!$LIB_SMB$ac_delim
34300
 
LIB_KAB!$LIB_KAB$ac_delim
34301
 
LIB_KABC!$LIB_KABC$ac_delim
34302
 
LIB_KHTML!$LIB_KHTML$ac_delim
34303
 
LIB_KSPELL!$LIB_KSPELL$ac_delim
34304
 
LIB_KPARTS!$LIB_KPARTS$ac_delim
34305
 
LIB_KDEPRINT!$LIB_KDEPRINT$ac_delim
34306
 
LIB_KUTILS!$LIB_KUTILS$ac_delim
34307
 
LIB_KDEPIM!$LIB_KDEPIM$ac_delim
34308
 
LIB_KIMPROXY!$LIB_KIMPROXY$ac_delim
34309
 
LIB_KNEWSTUFF!$LIB_KNEWSTUFF$ac_delim
34310
 
LIB_KDNSSD!$LIB_KDNSSD$ac_delim
34311
 
LIB_KUNITTEST!$LIB_KUNITTEST$ac_delim
34312
 
LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim
34313
 
LIB_KFILE!$LIB_KFILE$ac_delim
34314
 
LIB_KFM!$LIB_KFM$ac_delim
34315
 
LIBGCRYPT_CONFIG!$LIBGCRYPT_CONFIG$ac_delim
34316
 
LIBGCRYPT_CFLAGS!$LIBGCRYPT_CFLAGS$ac_delim
34317
 
LIBGCRYPT_LIBS!$LIBGCRYPT_LIBS$ac_delim
34318
 
TOPSUBDIRS!$TOPSUBDIRS$ac_delim
34319
 
LIBOBJS!$LIBOBJS$ac_delim
34320
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
34321
 
_ACEOF
34322
 
 
34323
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
34324
 
    break
34325
 
  elif $ac_last_try; then
34326
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34327
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34328
 
   { (exit 1); exit 1; }; }
34329
 
  else
34330
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34331
 
  fi
34332
 
done
34333
 
 
34334
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34335
 
if test -n "$ac_eof"; then
34336
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34337
 
  ac_eof=`expr $ac_eof + 1`
34338
 
fi
34339
 
 
34340
 
cat >>$CONFIG_STATUS <<_ACEOF
34341
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
34342
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34343
 
_ACEOF
34344
 
sed '
34345
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34346
 
s/^/s,@/; s/!/@,|#_!!_#|/
34347
 
:n
34348
 
t n
34349
 
s/'"$ac_delim"'$/,g/; t
34350
 
s/$/\\/; p
34351
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34352
 
' >>$CONFIG_STATUS <conf$$subs.sed
34353
 
rm -f conf$$subs.sed
34354
 
cat >>$CONFIG_STATUS <<_ACEOF
34355
 
:end
34356
 
s/|#_!!_#|//g
34357
 
CEOF$ac_eof
34358
 
_ACEOF
34359
 
 
34360
 
 
34361
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
34362
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34363
 
# trailing colons and then remove the whole line if VPATH becomes empty
34364
 
# (actually we leave an empty line to preserve line numbers).
34365
 
if test "x$srcdir" = x.; then
34366
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
34367
 
s/:*\$(srcdir):*/:/
34368
 
s/:*\${srcdir}:*/:/
34369
 
s/:*@srcdir@:*/:/
34370
 
s/^\([^=]*=[     ]*\):*/\1/
34371
 
s/:*$//
34372
 
s/^[^=]*=[       ]*$//
34373
 
}'
34374
 
fi
34375
 
 
34376
 
cat >>$CONFIG_STATUS <<\_ACEOF
34377
 
fi # test -n "$CONFIG_FILES"
34378
 
 
34379
 
 
34380
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
34381
 
do
34382
 
  case $ac_tag in
34383
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
34384
 
  esac
34385
 
  case $ac_mode$ac_tag in
34386
 
  :[FHL]*:*);;
34387
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34388
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34389
 
   { (exit 1); exit 1; }; };;
34390
 
  :[FH]-) ac_tag=-:-;;
34391
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34392
 
  esac
34393
 
  ac_save_IFS=$IFS
34394
 
  IFS=:
34395
 
  set x $ac_tag
34396
 
  IFS=$ac_save_IFS
34397
 
  shift
34398
 
  ac_file=$1
34399
 
  shift
34400
 
 
34401
 
  case $ac_mode in
34402
 
  :L) ac_source=$1;;
34403
 
  :[FH])
34404
 
    ac_file_inputs=
34405
 
    for ac_f
34406
 
    do
34407
 
      case $ac_f in
34408
 
      -) ac_f="$tmp/stdin";;
34409
 
      *) # Look for the file first in the build tree, then in the source tree
34410
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
34411
 
         # because $ac_f cannot contain `:'.
34412
 
         test -f "$ac_f" ||
34413
 
           case $ac_f in
34414
 
           [\\/$]*) false;;
34415
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34416
 
           esac ||
34417
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34418
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34419
 
   { (exit 1); exit 1; }; };;
34420
 
      esac
34421
 
      ac_file_inputs="$ac_file_inputs $ac_f"
34422
 
    done
34423
 
 
34424
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
34425
 
    # use $as_me), people would be surprised to read:
34426
 
    #    /* config.h.  Generated by config.status.  */
34427
 
    configure_input="Generated from "`IFS=:
34428
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34429
 
    if test x"$ac_file" != x-; then
34430
 
      configure_input="$ac_file.  $configure_input"
34431
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
34432
 
echo "$as_me: creating $ac_file" >&6;}
34433
 
    fi
34434
 
 
34435
 
    case $ac_tag in
34436
 
    *:-:* | *:-) cat >"$tmp/stdin";;
34437
 
    esac
34438
 
    ;;
34439
 
  esac
34440
 
 
34441
 
  ac_dir=`$as_dirname -- "$ac_file" ||
34442
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34443
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
34444
 
         X"$ac_file" : 'X\(//\)$' \| \
34445
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34446
 
echo X"$ac_file" |
34447
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34448
 
            s//\1/
34449
 
            q
34450
 
          }
34451
 
          /^X\(\/\/\)[^/].*/{
34452
 
            s//\1/
34453
 
            q
34454
 
          }
34455
 
          /^X\(\/\/\)$/{
34456
 
            s//\1/
34457
 
            q
34458
 
          }
34459
 
          /^X\(\/\).*/{
34460
 
            s//\1/
34461
 
            q
34462
 
          }
34463
 
          s/.*/./; q'`
34464
 
  { as_dir="$ac_dir"
34465
 
  case $as_dir in #(
34466
 
  -*) as_dir=./$as_dir;;
34467
 
  esac
34468
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34469
 
    as_dirs=
34470
 
    while :; do
34471
 
      case $as_dir in #(
34472
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34473
 
      *) as_qdir=$as_dir;;
34474
 
      esac
34475
 
      as_dirs="'$as_qdir' $as_dirs"
34476
 
      as_dir=`$as_dirname -- "$as_dir" ||
34477
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34478
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
34479
 
         X"$as_dir" : 'X\(//\)$' \| \
34480
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34481
 
echo X"$as_dir" |
34482
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34483
 
            s//\1/
34484
 
            q
34485
 
          }
34486
 
          /^X\(\/\/\)[^/].*/{
34487
 
            s//\1/
34488
 
            q
34489
 
          }
34490
 
          /^X\(\/\/\)$/{
34491
 
            s//\1/
34492
 
            q
34493
 
          }
34494
 
          /^X\(\/\).*/{
34495
 
            s//\1/
34496
 
            q
34497
 
          }
34498
 
          s/.*/./; q'`
34499
 
      test -d "$as_dir" && break
34500
 
    done
34501
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
34502
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34503
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34504
 
   { (exit 1); exit 1; }; }; }
34505
 
  ac_builddir=.
34506
 
 
34507
 
case "$ac_dir" in
34508
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34509
 
*)
34510
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34511
 
  # A ".." for each directory in $ac_dir_suffix.
34512
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34513
 
  case $ac_top_builddir_sub in
34514
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34515
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34516
 
  esac ;;
34517
 
esac
34518
 
ac_abs_top_builddir=$ac_pwd
34519
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
34520
 
# for backward compatibility:
34521
 
ac_top_builddir=$ac_top_build_prefix
34522
 
 
34523
 
case $srcdir in
34524
 
  .)  # We are building in place.
34525
 
    ac_srcdir=.
34526
 
    ac_top_srcdir=$ac_top_builddir_sub
34527
 
    ac_abs_top_srcdir=$ac_pwd ;;
34528
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
34529
 
    ac_srcdir=$srcdir$ac_dir_suffix;
34530
 
    ac_top_srcdir=$srcdir
34531
 
    ac_abs_top_srcdir=$srcdir ;;
34532
 
  *) # Relative name.
34533
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34534
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
34535
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34536
 
esac
34537
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34538
 
 
34539
 
 
34540
 
  case $ac_mode in
34541
 
  :F)
34542
 
  #
34543
 
  # CONFIG_FILE
34544
 
  #
34545
 
 
34546
 
  case $INSTALL in
34547
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34548
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34549
 
  esac
34550
 
_ACEOF
34551
 
 
34552
 
cat >>$CONFIG_STATUS <<\_ACEOF
34553
 
# If the template does not know about datarootdir, expand it.
34554
 
# FIXME: This hack should be removed a few years after 2.60.
34555
 
ac_datarootdir_hack=; ac_datarootdir_seen=
34556
 
 
34557
 
case `sed -n '/datarootdir/ {
34558
 
  p
34559
 
  q
34560
 
}
34561
 
/@datadir@/p
34562
 
/@docdir@/p
34563
 
/@infodir@/p
34564
 
/@localedir@/p
34565
 
/@mandir@/p
34566
 
' $ac_file_inputs` in
34567
 
*datarootdir*) ac_datarootdir_seen=yes;;
34568
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34569
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34570
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34571
 
_ACEOF
34572
 
cat >>$CONFIG_STATUS <<_ACEOF
34573
 
  ac_datarootdir_hack='
34574
 
  s&@datadir@&$datadir&g
34575
 
  s&@docdir@&$docdir&g
34576
 
  s&@infodir@&$infodir&g
34577
 
  s&@localedir@&$localedir&g
34578
 
  s&@mandir@&$mandir&g
34579
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
34580
 
esac
34581
 
_ACEOF
34582
 
 
34583
 
# Neutralize VPATH when `$srcdir' = `.'.
34584
 
# Shell code in configure.ac might set extrasub.
34585
 
# FIXME: do we really want to maintain this feature?
34586
 
cat >>$CONFIG_STATUS <<_ACEOF
34587
 
  sed "$ac_vpsub
34588
 
$extrasub
34589
 
_ACEOF
34590
 
cat >>$CONFIG_STATUS <<\_ACEOF
34591
 
:t
34592
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34593
 
s&@configure_input@&$configure_input&;t t
34594
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
34595
 
s&@srcdir@&$ac_srcdir&;t t
34596
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
34597
 
s&@top_srcdir@&$ac_top_srcdir&;t t
34598
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34599
 
s&@builddir@&$ac_builddir&;t t
34600
 
s&@abs_builddir@&$ac_abs_builddir&;t t
34601
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34602
 
s&@INSTALL@&$ac_INSTALL&;t t
34603
 
$ac_datarootdir_hack
34604
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
34605
 
 
34606
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34607
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34608
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34609
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34610
 
which seems to be undefined.  Please make sure it is defined." >&5
34611
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34612
 
which seems to be undefined.  Please make sure it is defined." >&2;}
34613
 
 
34614
 
  rm -f "$tmp/stdin"
34615
 
  case $ac_file in
34616
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
34617
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34618
 
  esac
34619
 
 ;;
34620
 
  :H)
34621
 
  #
34622
 
  # CONFIG_HEADER
34623
 
  #
34624
 
_ACEOF
34625
 
 
34626
 
# Transform confdefs.h into a sed script `conftest.defines', that
34627
 
# substitutes the proper values into config.h.in to produce config.h.
34628
 
rm -f conftest.defines conftest.tail
34629
 
# First, append a space to every undef/define line, to ease matching.
34630
 
echo 's/$/ /' >conftest.defines
34631
 
# Then, protect against being on the right side of a sed subst, or in
34632
 
# an unquoted here document, in config.status.  If some macros were
34633
 
# called several times there might be several #defines for the same
34634
 
# symbol, which is useless.  But do not sort them, since the last
34635
 
# AC_DEFINE must be honored.
34636
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34637
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34638
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
34639
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
34640
 
# just an empty string.
34641
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
34642
 
ac_dB='\\)[      (].*,\\1define\\2'
34643
 
ac_dC=' '
34644
 
ac_dD=' ,'
34645
 
 
34646
 
uniq confdefs.h |
34647
 
  sed -n '
34648
 
        t rset
34649
 
        :rset
34650
 
        s/^[     ]*#[    ]*define[       ][      ]*//
34651
 
        t ok
34652
 
        d
34653
 
        :ok
34654
 
        s/[\\&,]/\\&/g
34655
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34656
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34657
 
  ' >>conftest.defines
34658
 
 
34659
 
# Remove the space that was appended to ease matching.
34660
 
# Then replace #undef with comments.  This is necessary, for
34661
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
34662
 
# on some systems where configure will not decide to define it.
34663
 
# (The regexp can be short, since the line contains either #define or #undef.)
34664
 
echo 's/ $//
34665
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
34666
 
 
34667
 
# Break up conftest.defines:
34668
 
ac_max_sed_lines=50
34669
 
 
34670
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34671
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34672
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34673
 
# et cetera.
34674
 
ac_in='$ac_file_inputs'
34675
 
ac_out='"$tmp/out1"'
34676
 
ac_nxt='"$tmp/out2"'
34677
 
 
34678
 
while :
34679
 
do
34680
 
  # Write a here document:
34681
 
    cat >>$CONFIG_STATUS <<_ACEOF
34682
 
    # First, check the format of the line:
34683
 
    cat >"\$tmp/defines.sed" <<\\CEOF
34684
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
34685
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
34686
 
b
34687
 
:def
34688
 
_ACEOF
34689
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
34690
 
  echo 'CEOF
34691
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34692
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
34693
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
34694
 
  grep . conftest.tail >/dev/null || break
34695
 
  rm -f conftest.defines
34696
 
  mv conftest.tail conftest.defines
34697
 
done
34698
 
rm -f conftest.defines conftest.tail
34699
 
 
34700
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
34701
 
cat >>$CONFIG_STATUS <<\_ACEOF
34702
 
  if test x"$ac_file" != x-; then
34703
 
    echo "/* $configure_input  */" >"$tmp/config.h"
34704
 
    cat "$ac_result" >>"$tmp/config.h"
34705
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
34706
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34707
 
echo "$as_me: $ac_file is unchanged" >&6;}
34708
 
    else
34709
 
      rm -f $ac_file
34710
 
      mv "$tmp/config.h" $ac_file
34711
 
    fi
34712
 
  else
34713
 
    echo "/* $configure_input  */"
34714
 
    cat "$ac_result"
34715
 
  fi
34716
 
  rm -f "$tmp/out12"
34717
 
# Compute $ac_file's index in $config_headers.
34718
 
_am_stamp_count=1
34719
 
for _am_header in $config_headers :; do
34720
 
  case $_am_header in
34721
 
    $ac_file | $ac_file:* )
34722
 
      break ;;
34723
 
    * )
34724
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34725
 
  esac
34726
 
done
34727
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
34728
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34729
 
         X$ac_file : 'X\(//\)[^/]' \| \
34730
 
         X$ac_file : 'X\(//\)$' \| \
34731
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
34732
 
echo X$ac_file |
34733
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34734
 
            s//\1/
34735
 
            q
34736
 
          }
34737
 
          /^X\(\/\/\)[^/].*/{
34738
 
            s//\1/
34739
 
            q
34740
 
          }
34741
 
          /^X\(\/\/\)$/{
34742
 
            s//\1/
34743
 
            q
34744
 
          }
34745
 
          /^X\(\/\).*/{
34746
 
            s//\1/
34747
 
            q
34748
 
          }
34749
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
34750
 
 ;;
34751
 
 
34752
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
34753
 
echo "$as_me: executing $ac_file commands" >&6;}
34754
 
 ;;
34755
 
  esac
34756
 
 
34757
 
 
34758
 
  case $ac_file$ac_mode in
34759
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34760
 
  # Strip MF so we end up with the name of the file.
34761
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
34762
 
  # Check whether this is an Automake generated Makefile or not.
34763
 
  # We used to match only the files named `Makefile.in', but
34764
 
  # some people rename them; so instead we look at the file content.
34765
 
  # Grep'ing the first line is not enough: some people post-process
34766
 
  # each Makefile.in and add a new line on top of each file to say so.
34767
 
  # So let's grep whole file.
34768
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
34769
 
    dirpart=`$as_dirname -- "$mf" ||
34770
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34771
 
         X"$mf" : 'X\(//\)[^/]' \| \
34772
 
         X"$mf" : 'X\(//\)$' \| \
34773
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34774
 
echo X"$mf" |
34775
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34776
 
            s//\1/
34777
 
            q
34778
 
          }
34779
 
          /^X\(\/\/\)[^/].*/{
34780
 
            s//\1/
34781
 
            q
34782
 
          }
34783
 
          /^X\(\/\/\)$/{
34784
 
            s//\1/
34785
 
            q
34786
 
          }
34787
 
          /^X\(\/\).*/{
34788
 
            s//\1/
34789
 
            q
34790
 
          }
34791
 
          s/.*/./; q'`
34792
 
  else
34793
 
    continue
34794
 
  fi
34795
 
  # Extract the definition of DEPDIR, am__include, and am__quote
34796
 
  # from the Makefile without running `make'.
34797
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34798
 
  test -z "$DEPDIR" && continue
34799
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
34800
 
  test -z "am__include" && continue
34801
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34802
 
  # When using ansi2knr, U may be empty or an underscore; expand it
34803
 
  U=`sed -n 's/^U = //p' < "$mf"`
34804
 
  # Find all dependency output files, they are included files with
34805
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
34806
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
34807
 
  # expansion.
34808
 
  for file in `sed -n "
34809
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34810
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34811
 
    # Make sure the directory exists.
34812
 
    test -f "$dirpart/$file" && continue
34813
 
    fdir=`$as_dirname -- "$file" ||
34814
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34815
 
         X"$file" : 'X\(//\)[^/]' \| \
34816
 
         X"$file" : 'X\(//\)$' \| \
34817
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34818
 
echo X"$file" |
34819
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34820
 
            s//\1/
34821
 
            q
34822
 
          }
34823
 
          /^X\(\/\/\)[^/].*/{
34824
 
            s//\1/
34825
 
            q
34826
 
          }
34827
 
          /^X\(\/\/\)$/{
34828
 
            s//\1/
34829
 
            q
34830
 
          }
34831
 
          /^X\(\/\).*/{
34832
 
            s//\1/
34833
 
            q
34834
 
          }
34835
 
          s/.*/./; q'`
34836
 
    { as_dir=$dirpart/$fdir
34837
 
  case $as_dir in #(
34838
 
  -*) as_dir=./$as_dir;;
34839
 
  esac
34840
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34841
 
    as_dirs=
34842
 
    while :; do
34843
 
      case $as_dir in #(
34844
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34845
 
      *) as_qdir=$as_dir;;
34846
 
      esac
34847
 
      as_dirs="'$as_qdir' $as_dirs"
34848
 
      as_dir=`$as_dirname -- "$as_dir" ||
34849
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34850
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
34851
 
         X"$as_dir" : 'X\(//\)$' \| \
34852
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34853
 
echo X"$as_dir" |
34854
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34855
 
            s//\1/
34856
 
            q
34857
 
          }
34858
 
          /^X\(\/\/\)[^/].*/{
34859
 
            s//\1/
34860
 
            q
34861
 
          }
34862
 
          /^X\(\/\/\)$/{
34863
 
            s//\1/
34864
 
            q
34865
 
          }
34866
 
          /^X\(\/\).*/{
34867
 
            s//\1/
34868
 
            q
34869
 
          }
34870
 
          s/.*/./; q'`
34871
 
      test -d "$as_dir" && break
34872
 
    done
34873
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
34874
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34875
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34876
 
   { (exit 1); exit 1; }; }; }
34877
 
    # echo "creating $dirpart/$file"
34878
 
    echo '# dummy' > "$dirpart/$file"
34879
 
  done
34880
 
done
34881
 
 ;;
34882
 
 
34883
 
  esac
34884
 
done # for ac_tag
34885
 
 
34886
 
 
34887
 
{ (exit 0); exit 0; }
34888
 
_ACEOF
34889
 
if test "x$with_fast_perl" = "xyes"; then    
34890
 
  perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS    \
34891
 
    || mv $CONFIG_STATUS.bak $CONFIG_STATUS    
34892
 
  rm -f $CONFIG_STATUS.bak
34893
 
fi    
34894
 
chmod +x $CONFIG_STATUS
34895
 
ac_clean_files=$ac_clean_files_save
34896
 
 
34897
 
 
34898
 
# configure is writing to config.log, and then calls config.status.
34899
 
# config.status does its own redirection, appending to config.log.
34900
 
# Unfortunately, on DOS this fails, as config.log is still kept open
34901
 
# by configure, so config.status won't be able to write to it; its
34902
 
# output is simply discarded.  So we exec the FD to /dev/null,
34903
 
# effectively closing config.log, so it can be properly (re)opened and
34904
 
# appended to by config.status.  When coming back to configure, we
34905
 
# need to make the FD available again.
34906
 
if test "$no_create" != yes; then
34907
 
  ac_cs_success=:
34908
 
  ac_config_status_args=
34909
 
  test "$silent" = yes &&
34910
 
    ac_config_status_args="$ac_config_status_args --quiet"
34911
 
  exec 5>/dev/null
34912
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34913
 
  exec 5>>config.log
34914
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34915
 
  # would make configure fail if this is the last instruction.
34916
 
  $ac_cs_success || { (exit 1); exit 1; }
34917
 
fi
34918
 
 
34919
 
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
34920
 
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
34921
 
  # And if so, warn when they don't match
34922
 
  if test "$kde_libs_prefix" != "$given_prefix"; then
34923
 
    # And if kde doesn't know about the prefix yet
34924
 
    echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
34925
 
    if test $? -ne 0; then
34926
 
      echo ""
34927
 
      echo "Warning: you chose to install this package in $given_prefix,"
34928
 
      echo "but KDE was found in $kde_libs_prefix."
34929
 
      echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
34930
 
      echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
34931
 
      echo "Then restart KDE."
34932
 
      echo ""
34933
 
    fi
34934
 
  fi
34935
 
fi
34936
 
 
34937
 
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
34938
 
  echo ""
34939
 
  echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
34940
 
  echo "was not included. Therefore, GCC symbol visibility support remains disabled."
34941
 
  echo ""
34942
 
  echo "For better performance, consider including the Qt visibility supporting patch"
34943
 
  echo "located at:"
34944
 
  echo ""
34945
 
  echo "http://bugs.kde.org/show_bug.cgi?id=109386"
34946
 
  echo ""
34947
 
  echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
34948
 
  echo "everything will continue to work just fine without it."
34949
 
  echo ""
34950
 
fi
34951
 
 
34952
 
if test "$all_tests" = "bad"; then
34953
 
  if test ! "$cache_file" = "/dev/null"; then
34954
 
    echo ""
34955
 
    echo "Please remove the file $cache_file after changing your setup"
34956
 
    echo "so that configure will find the changes next time."
34957
 
    echo ""
34958
 
  fi
34959
 
else
34960
 
  echo ""
34961
 
  echo "Good - your configure finished. Start make now"
34962
 
  echo ""
34963
 
fi